skysight-inc/HackerNews huggingface dataset:
What I am trying to say is that that "if the program is memory-safe" condition is never satisfied in reality. You will be calling unsafe code no matter what you do -- not only will any non-trivial program itself have unsafe code as already called out, but because even a trivial "hello, world" would need to invoke a syscall which will not be written in Rust (until the time comes when we get a Rust kernel...) and hence not proven memory-safe. Does this make sense? Yes, if your program was secure then you wouldn't need to worry about security, but that's not the world we live in.
Got this HackerRank link from the company I applied to. Five questions from completely different domains (database query, graph algorithm, construct a regular expression, etc), 120 mins. Submitted blank solutions. You need cheap compliant robots, not humans - stop looking for them.
A simple fork invalidating coins originating from the double spend would be enough. You've just spent $2B to achieve something that the network can invalidate with a dozen lines of code. It would set a bad precedent, but it did cost you a lot of money.
One (totally unverified, bu) hypothesis that I have is that they drastically underestimate speed on roads that are rarely used by cars but frequently used by farming vehicles; they're using user data to estimate the speeds, they can see that the 'usual' vehicle going there is driving 30 kph but they can't see that it's a tractor pulling a wagon of hay.
The Bitcoin network doesn't do away with the concept of a middle man completely, it merely replaces one mutually trusted middle man (like the Visa card network) with several untrusted middle men (anyone that can afford a mining rig).

If one untrusted middle man produces a proof of work for a transaction request, the other untrusted middle men verify the PoW to be valid, if there is consensus §, they collectively agree to append the transaction to the next block on the blockchain. The untrusted middle man is then rewarded for their efforts by being paid the mining fee that was accruable for the transaction.

[§] If 2 or more untrusted middle men solve the PoW for a transaction request independently, i.e. they are competing to be rewarded with the same mining fee, then the untrusted middle man with the longest confirmations from other nodes on the network is the one whose block will be appended to the blockchain, the others will be discarded.

Would appreciate any corrections to my gross simplification.
I'm using it and can recommend. It works for me. Maybe it's broken for some configurations?
In contrast, often times a core design is created by one particularly brilliant individual, which is stable enough for others to build upon. For example, Linux (Torvald), Minecraft (notch), Redis (antirez), C++ (Stroustrup), Ruby (Matz), NodeJS (Dahl), Bitcoin (Satoshi), etc... I'd be interested to hear of examples of "great" software that started off in a collaborative fashion.
Half the point of Rust is to drive the amount of unsafe code as close to zero as possible so we don't have to worry about crap like that.

Based on the code I've seen, I think you're simply protecting your experiences and fears from C++. You are of course free to use an allocator that zeroes on dealloc in your own code.
Similarly cool as the web version of Google Earth: https://earth.google.com/web/
Yea, not exactly Pi-Hole, but the same concept. dnsmasq running on router, with a big list of ad-serving domains and hosts resolving to 0.0.0.0
You’re not alone.

I read the comments in the bug linked above. It’s funny that some of the rants mention “I’m switching to X” where X isn’t even around anymore today. TB still works after all this time.
Food and Beverages Suppliers, Wholesale Directory
Same. 25 years experience. (especially now that I have about a dozen obsolete languages under my belt). This is fine in daily practice, and does not interfere with productivity. But getting through that hiring filter; devastating.
Innovating is easier
> This is a natural process of any organically evolving system. It keeps what helps it and expels what doesn't.

I don't think it is natural, I think its a sickness. The goal isn't to improve things the goal is to have an enemy to destroy. There is no point where behaviour of the un-purged will be acceptable enough.

> Regarding shining light on the ideas... this is pointless

So you understand the arguments, learned that it doesn't hold water and are therefore in a position to speak intelligently on the issue but you don't want others to go through the same process? That doesn't make sense to me and leaves the biggest question un-asked which is who gets to decide what can or cant be discussed?
>much harder problem than uber
Respectfully disagree. We simply cannot compare the difficulty level of Uber and Coinbase to each other. But for the record, they faced many technical challenges..accurately matching you with a nearby driver and predicting ETA required a lot of technical work.. Uber's success wasn't only a matter of network effect.

Uber is known for efficiency and what personally fascinates me is that the bigger they grow the more efficient they become.

Uber out-mathed Google on ETAs..and to scale they hired hardcore mathematicians,rocket scientist, a computational neuroscientist and a nuclear physicist.
Their support from the first day I used it never took more than 24 hours.
An antenna company that helps elephants and rocket cars
> Many people don't realize why Google maps are so much better than anything out there.

Absolutely not true. I don't use Google Maps in Czech Republic at all as there is a solid local map provider[1] - (they offer whole world through OSM, so I use that on phone as well[2], but it's not that great). They lost some edge with Google going full-textured 3D few years back (actually the Czech map had it sooner, just not as useful). But other than that much cleaner rendering, equally good aerial or street view, better routing, POIs, richer layers ...

(edit: and two huge UX advantages over GM: no stupid random rotation - North is UP, and a very quick and precise zoom by holding control)

Anyway, I wouldn't be surprised if there were similar stories in other countries.

1. https://en.mapy.cz/

2. https://play.google.com/store/apps/details?id=cz.seznam.mapy or recently released as https://play.google.com/store/apps/details?id=cz.seznam.wind... (haven't tried it)
That they are not user replaceable is not under any dispute. The question is why.
Scan, index, and archive all of your paper documents
Related: If you have a Mac, you can check the health of an iPhone battery via the Console app when the phone is connected via USB. Search for the string "BatteryHealth", logged by the phone's Springboard process.
Well they're moving to WES7 for games now (museca/gitadora/nostalgia/maybe iidx 25), so they'll eventually move them all likely.
The Google Maps app on Android has offline maps.
Cookie law was the only major f*ck up from EU on privacy. And it will be fixed as soon as GPDR is active. On the other hand, we have many successful and useful regulations and court orders. I don't think cookie law alone is enough to discredit EU in this fight for privacy.
Sure. At which point, again, there is still a solution, just that Vec itself won't help here.

However, it's worth noting that at this level of "everything is unsafe" the problem is intractable. Just as you trust Rust's stdlib to have safely-crafted syscalls, you trust Rust's compiler to generate the right code if you tell it to do a volatile clear on a drop/resize.

You have to define your trust level somewhere. For some, it is "I have audited my small amount of unsafe code (if any), and I trust Rust's stdlib". The parent's comment was addressing that level of trust. If you're not trusting the stdlib, you also probably don't trust the compiler to generate the right code; at which point the most you can do is try to keep things safe, you can never succeed short of auditing the generated asm extensively.
I support this view because many will have justifications to explain : "well, since it's not FF, then well, it's ok, you know, not exactly like the hardware pipes...".

But on the principle, yep, FF shouldn't have a neutral treatment for everything. And that, of course, is impossible to define : what is "neutral" ?
> That sort of behavior has been the cause of so many network exploits

No, the thing that caused those issues was not that memory wasn't zeroed, but that the language was memory unsafe and the dirty memory was accessible again later due to a buffer overrun or other pointer messup.

Rust tackled the problem of memory unsafety thoroughly, so there's no reason to worry about it.

You don't hear people complain about Java or python not zeroing out memory as much since those languages, like rust, are memory safe.

There are places where you do need memory to be zeroed (cryptographic operations where secrets should not live in memory longer than needed for fear or local attackers), but network attackers / because there might be buffer-overruns is not one.
Disused or abandoned railway lines are still useful for old-fashioned map-based navigation.

Even if the track and ballast has been removed, there's still a narrow, graded path across the landscape, often easily visible from surrounding hills.
Html Fonts
My iPhone 6S CPU freq is now capped at 911 MHz, which is half the nominal freq. Battery settings say nothing about that.
As a hiring manager, that's just not a useful "initial screening test" for me.
Wow, this seems like a very painful restriction coming from the C++ side. Thanks for the explanation.
Connecting the Atom-IT Microservice for IoT to the Things Network
In the absence of evidence that indicates non-consent — signs of a struggle, injuries, presence of date rape drugs — evidence of sexual intercourse doesn’t need to be explained. Actually, even in the presence of clear evidence of non-consent, evidence of sexual intercourse doesn’t need to be explained — it’s the evidence that creates the impression of an assault that needs to be explained.

It seems wrong to take evidence of sexual intercourse alone, and a statement by a plaintiff claiming that the sexual intercourse was non-consensual, as a basis for a conviction. That amounts to just deciding to believe one side and not the other. If that what’s happening, why look for any evidence at all?
In Rust you can have as many const references to a thing as you like, but you can only have a mutable reference to a thing if there are no other references (mutable or not) to the same thing. Hence it's not possible to have an iterator over a vector while trying to mutate it.
I feel that in the long run the answer is going to be heavily biased towards automated driving - unautomated driving kills. Every year more than a million of people worldwide die for no good reason, just because we suck as drivers; currently automated driving isn't yet superior, but in the long run it will clearly be so.

I don't think that we'll ever justify that massive loss of privacy is more important than massive loss of life and health; especially if the bad consequences of loss of privacy is generally hypothetical and in the future; and the bad consequences of traffic accidents are obvious and immediate.
Language server protocol and DSL's
Unfortunately, this means you can use email, but not the calendar.

(In a slight twist of dramatic irony, we have had the same problem with Outlook 2016 trying to talk to an Exchange 2007 server... ;-) Upgrading the server is on our TODO list for 2018, but for the moment, we have to live with it.)
The reuse value of this kind of data is critically dependant on the methodology used to create the data. A lot of Google data tends to understandably be focused on their own products and lack quality in a more generic sense. Something as simple as a building outline can be represented in several different ways depending on what you need and require a completely different methodology. The building outline needed by law enforcement is different to what an architect or pizza delivery company needz.

When specific about the type of data there is a lot less competition than you might expect. And for commercial companies it makes sense to make as much money as possible front that.
Hi, Peter! Thanks for doing this.

I live in the US (green card) and I founded a US company with someone who lives in the UK. Currently, I take care of development in the US and he takes care of sales, which are mostly in the UK at the moment. We are also both directors of a UK subsidiary.

What would be good options for enabling him (and his dependents) to move to the US once we expand our customer base? We have been looking into the L visa for intra-company transfer. Does that seem reasonable? Are there other options for a young company with relatively small revenue and no outside investment?
Gemini is a nice exchange.
I saw that here on HN a few months ago! It's cool, but it needs to be interactive. One thing I like about the way I drew my map is that it's a static image that could be printed and posted on train station platforms.
For other exchanges that support large numbers of other coins, how are they able to do this and Coinbase cannot? I'm assuming there's some development and risk involved but what work is involved in adding a new coin?
Even back in August, specifying BCH-USD on certain api calls would return a 200 and a blank api response, rather than a 400 and {'message': 'not a valid product_id'}.

Seems like that's ripe for enumeration...
Handy. It didn't log "BatteryHealth" but other Battery infos. Do I miss something?

Stuff that I could see is the battery percentage, example:

```
default	08:44:30.015519 +0100	coreduetd	CDDBatteryMonitor:	received batterycallback, currentPercentage:94.555824!
```
I don't even cop to having a github, and I don't have anything useful on my "public" github.

But where I have public-facing projects' URLs on my resume - interviewers seem to be completely clueless about them. They'll ask me questions about a topic, and I'll point them to that URL on my resume as an example of how I know that area, or did that task.

It seems like they only read the "skills overview" blurb at the top, that we put there to get through the search filters - and they don't read the work history.
Search would be fine (for my needs at least) if they'd just (add an option to) do one thing: Skip that stupid search tab and go straight to "open email as list". I don't want full email text sorted by "relevance" (whatever that means for a search on a couple of keywords). I want a list of email threads that match.

This is pretty much the only fly in my Thunderbird ointment. Otherwise it's been a great client for years and I look forward to using it for years more.
Dr. Hait's Life Work
It’s probably my fault for adding the EDIT and providing the room to claim a personal attack. Still, it was a disappointing exchange.
If I recall correctly, some of the reference implementations of .NET were somewhat like this; I remember a story about how the GC was pretty naive, because the real one was patent-encumbered, or something along those lines.
To expand (hopefully correctly, I'm still learning Rust): You can have a single "mutable borrow" in a single lexical scope where you can mutate the vector _and its contents_ to your liking, but you can't pass a vector mid-mutation to another scope to read the vector while that borrow is active. It is safe to mutate the vector and its contents, as the vector owns the items inside it and there is only one active user of the collection.

If you don't have a mutable borrow active, you can immutably borrow it as many times as you like and iterate over it to your heart's content in as many scopes as you like, but you can't mutate it.

These borrows are lexically scoped.

This is a start to explaining ownership:
https://doc.rust-lang.org/book/second-edition/ch04-01-what-i...
I'm pretty sure some cpp vector implementations use three pointers instead of length and capacity.
Coal Rolling is an automotive subculture where people modify trucks to create large clouds of dark exhaust smoke under acceleration and then expel said smoke onto vehicles they deem inferior. Common targets include small cars, hybrid/electric vehicles and two-wheeled vehicles.

It's as dumb as it sounds.
They can simply ask a friend or buy them anonymously. I don't see how this rule could be enforced in practice.
"small groups of mostly related people" still bully and harass each other which is case of grandparents childhood. Why would hunter-gatherers not? Especially since victim leaving his group makes him vulnerable to all those other tribes that would "tried to kill" you (plus your old)?
They did (partially) use OpenStreetMap at the start of their mapping efforts: https://blog.openstreetmap.org/2012/10/02/apple-maps/ . No idea what their current involvement is though.
Knowing them, knowing him, having been there at the time, I can only confirm that they designed the entire rise of Facebook using the principle of exclusivity to build interest in users 1) outside Harvard, 2) outside the ivies, 3) outside colleges, etc. Zuckerberg was right (edit: correctly saw he was able, not morally right)toun with their ideas, and deserves credit for executing them to perfection.

At the time I thought they were foolish for not having a contract and for not having built up enough technical skill to understand that Zuckerberg was taking them for a ride. This is definitely true, but they corrected the problem and have recovered brilliantly.
I’m not sure that they’ll announce the next one. I think BCH was a bit of an anomaly i this regard. At the time of the fork, Coinbase announced that they wouldn’t support BCH, and then in response to the outcry, changed course and said that they would.

I’m not so sure they’ll do the same with upcoming additions. I do definitely see the merit of trying to guess their next move though, as there seems to be a lot of money in Coinbase just chasing whatever comes up in hopes that it will also go to 20,000/coin
CFE futures are for 1 bitcoin and seemed reasonably liquid for small trades.
This is very enlightened. As a consumer, I personally do not care so much for a modular phone, yet I do pretty much care about maintaining the same level of performance for my current device. Swappable batteries to increase performance is/could be a good selling point for modular phones.
It's actually not that painful.

C++ has a bit of a different safety model that somewhat relies on move constructors to work. Rust builds this in, with some crucial changes.

For one, all C++ values are forced to have a zero state; e.g. when you move out of a unique_ptr (in certain ways, not all of them) the old one must be zeroed, because the destructor will still be run on it. Use after move leads to unspecified but not necessarily undefined. Rust OTOH does not have null as a valid value for its pointers. In case of conditional moves Rust will use an extra bit on the stack called a "drop flag" to track whether or not the destructor needs to be run, but only when needed, and usually it isn't so this complexity is abstracted away and also doesn't impact the runtime for the majority of times it isn't necessary.

99% of the move constructors in C++ are focused on making this work correctly. It's not necessary in Rust.

There are the 1% that do stuff like the small string optimization. Yes, you can't do this as neatly in Rust. But it's worth noting that move constructors have a significant cost, both in runtime (things like vectors need to deal with this correctly -- in particular vector<smart_object<_>> can't memcpy on resize anymore), and in compile time -- if you want to build good generic abstractions you have to guard against the fact that moves (and copies) can do anything. This would completely destroy Rust's ability to easily compartmentalize safety because now you have to worry about arbitrary code running every other line of your generic code. In C++ you don't care about this as much; since compartmentalizing safety is more of a best-effort thing and blame is harder to assign, whereas in Rust your generic datastructure must be safe when you throw any (safely implemented) type at it.

So yeah, sounds painful, but not really, and from a Rust POV what C++ has in this space is really painful.
Show HN: Explore tech products with Techsource
Postbox also has an old enigmail addon (based on v1.2 from 2011).
If everyone is exposed, no one is.

¯\_(ツ)_/¯
it's amazing how people of different companies just come together to discuss issues and how to solve them online. One of the things I love about the Internet
Delighted to see we'll be getting ready access to AN Whitehead's publications but why is he down as a Nordic author?
This Choir Had to Perform After Eating Ghost Peppers, and I Can't Stop Laughing
Context is everything in 24x7, 365 economy, and External data provides Context
Join our LiveGirl community and make $100+ for just 2 hours
I just tried checking my house on Here. It says there's a McDonald next to me and there most definitely isn't. Also my entire apartment complex is completely blank on there (and I'm in Silicon valley, not some rural town). Seeing that Google Maps also has offline mode, I don't see a single reason why you'd prefer that over Google Maps.
I somewhat agree, but I think the author/creator should have ownership of their works as long as they live to allow them to support themselves.

However, if the ownership is transfered to another person/organization/company, definitely a 25-50 years limit before entering public domain is better.
Automatic translation has also already reached the low-hanging statistical fruit, meaning it has been stuck at 70-80% performance/accuracy for the last couple of years (i.e. you can use it to get a general idea of what a text written in a foreign language might mean, but you can't use it for day-to-day language interactions without sounding unprofessional or even stupid).
>The citation that it works is in the article.

What worked in the article?

It only says the battery supplied less than 2% of the lost power for about 5 seconds before regular power generators took over.
I have tried aquaponics pretty hard about two years ago. I found the idea super interesting ( and still do).

After a while my plants started decaying over time. Getting black spots, very white. Started having holes in them, ...

After further reading, I learnt that plants need more than just nitrates. They also need manganese, calcium ...
A whole bunch of elements you can't get in a closed system (nor in the fish food directly).

I went back to growing outside.

I would definitely recommend aquaponics, but for people that can setup their system outdoors where rain water will bring all those needed additional elements.
EMPLOYEE'S CHECKLIST OF ISSUES TO BE CAUTIOUS OF EMPLOYER GPS TRACKING
Encode Decode URL
> You could give millions or billions to TomTom, which is what Apple has been doing, or you could pour the same amounts into creating your own datasets, allowing you to do a lot more than navigation, i.e. anything.

It is rumored that TomTom and Apple have a data deal. Apple gets maps from TomTom (for free, or a strongly reduced price), TomTom gets Apple maps user location data which they use for their traffic service.

How the deal works exactly isn't known (financial details are not public). But it's quite clear Apple doesn't pay a lot to make use of or improve TomTom maps.
Depends where you are. I’ve heard there are certain countries where Google Maps’ data isn’t actually very good.

For street data and navigation. Apple Maps in Australia is pretty much the same as Google Maps, so I mainly just use Apple Maps because I can command it via Siri while driving.

Google Maps has better search though if you don’t know the address, and the building outlines and street view are nice.