skysight-inc/HackerNews huggingface dataset:
I realize this will probably not be well received, but it’s quite interesting that these folks are by all appearances Chinese. China has been running all manner of intel and counterintelligence operations in the USA and all around the world. Reality is that it must be considered that these researchers are at the very least biased, if not operating on instruction to deflect and obscure and distract.

I find it some of the most interesting aspects of the technological developments and expansion of the Internet, that it has caused people to become foolishly naive and gullible about reality as the Internet and games and fantasy have created whole generations of people who cannot fathom a world where people don’t all just get along and that therebreally are adversaries and bad people and those who are lying about being friendly.

It’s a bizarre unilateral self-sacrifice and self-destruction and disarmament from a place of naivety and gullibleness that is seemingly as ill prepated to defend against being beguiled as native populations were genetically vulnerable to viruses that were introduced through contact. Western white liberalism suffers from pathological and psychotic altruism to a degree that will end up destroying the whole western world.

We’ll see what follows in its stead, but no indications would suggest that it is generally a better outcome for anyone. It doesn’t matter whether you think I’m right or wrong; this is happening and it will devastate humanity because regardless of whether racists think white people are evil in spite of parasitizing them and everything we have to thank the values and societies of Europe for producing, you must think totalitarian Chinese dictatorship or Muslim theocratic totalitarianism or African primitivism are all legitimate and more beneficial systems to today’s circumstances.
There's also the "embedded" style: no memory allocation. Throw away malloc() from your standard library and make all variables static globals. It looks odd and all sorts of things become unreasonably hard (such as networking and text processing), but it does guarantee you don't get heap-related bugs if you don't have a heap.
Using Meson Build System in C++
Hello everyone there.

I am fairly new to Hacker News but have been reading it for a few years :)

I am myself a computer guy and I have been using C++ intensively in my career. I have been using a build system called Meson for a while. I was quite happy about it so I wrote a few tutorials for whoever might be interested.

The blog posts are here (4 parts):

https://medium.com/@germandiagogomez/getting-started-with-meson-build-system-and-c-83270f444bee

https://medium.com/@germandiagogomez/getting-started-with-meson-in-c-part-2-58150354ff17

https://medium.com/@germandiagogomez/getting-started-with-meson-in-c-part-3-70b9bc419957

https://medium.com/@germandiagogomez/getting-started-with-meson-part-4-8bceec6149e1

I hope you all find it interesting. I am quite happy with this build system quite more than with CMake, so I thought it was a good chance to share my experience in the form of a small tutorial for those who are not happy with any build system in C++, as was my case before finding it.
An added benefit is you could power your air-tools with something like this without having to convert to electrical energy. As a former off-gridder, that's actually a really big plus.

Another non conventional way to store energy is using gravity power modules (example: http://www.gravitypower.net/)

Storing hydrogen from electrolysis via solar panels also sounds interesting. Basically once your batteries are charged you start making hydrogen.
The implication is clearly that you ought to pay for the products, so that you aren't the product. But if the incentives for paid and free products to monetize your data is the same, switching from one to the other doesn't help.

You have to specifically seek out products where your privacy and data is taken seriously. This can happen for both free (open source?) and paid products.
That's extremely uncharitable.
Rust forces you to formalize memory ownership, and for complicated usages it can become pretty scary, yes.

Have you tried to figure how the safe subset of C you're suggesting would look in Rust? If you're doing something simple, it shouldn't be that bad.

Do you have a specific use-case in mind? I'm curious what your requirements are in terms of performance and simplicity, that languages like Go, Java or even Haskell do not meet. Is it a platform thing?
Ask HN: What info do you wish every job posting included?
There seems to be a broad range of different approaches to job postings. Some have salary info, some don't. Some describe their interview process, some don't.

If you had it your way, what info would every job posting include?
Hi Brian! Thanks for taking part in the discussion.

But what part of GDPR was it that caused you to have to close off European Union users?
Does a tab necessarily bring the whole browser down when it crashes?
The Yahoo! one [1] is definitely in violation of GDPR, right? GDPR doesn't cover me as I'm neither in the EU nor am I an EU citizen, so I really hope someone lets the regulators know about this. The first major penalty will be example setting.

Which made me curious: could a service exist where citizens not covered by GDPR submit complaints, so that a GDPR-covered citizen could put the complaint in formally?

[1] Hidden opt-out is non-compliant, but Yahoo! went ahead and opted you in to a hundred different ad services automatically: http://gdprhallofshame.com/content/images/2018/05/ouch.jpg
So you're saying user's data is worth $23052 per year?
Just for clarification: are you saying this is how thing should be, or how this works legally?
Apple car rumors surfaced when driverless was not a trend and only done as research project by Google. I guess they thought they could leapfrog the established industry as they did with the iPhone.

But now EVERY major car manufacturer is hot for self-driving vars. Intel, NVidia, Waymo, Uber, Lyft, countless startups etc. I can’t see how Apple can contribute here something meaningful, or make money, I think they should drop the project.
When I did my comp sci undergrad degree, languages per-se was not part of what was taught in the classroom. Whatever language that class was using, be it assembler, scheme, C or some other higher level language, it was up to the student to figure out the syntax, how to run the compiler, etc. You got some help and basic examples in the discussion sessions but it was not part of the lectures. And there was no web, no stack overflow, no google at the time. You had a book about the language, some local newsgroups (and the larger USENET) and that was it.

If you didn't enjoy reading, puzzling, and banging your head against the wall you would wash out after a couple of classes.
Rust zealots: please read your documentation about unsafe memory.
And while you are there also about deadlocks.

The best safe C derivate is D, but there are also some minor offsprings, like safe-C or mscc or the popular cfi option, the Intel bounds-checking library or safeclib. Most C compilers let you track the buffer bounds nowadays, but rarely someone uses it.
I tend to disagree in that I use Apple Maps a lot when driving in the UK. Google is better in some respects, but not substantially. Siri is fine for what I use it for - playing music, setting timers, sending messages.
> "To become a better parent, one must become a better person."

I've met so many people that for some reason believed the moment they became a parent they also instantly became a better person.
It'll be interesting to see how the EU reacts to all of the companies like Oath that, by default, share your data with 300+ ad agencies.

After the GDPR hype has died down, hopefully new tech companies will think twice about data privacy
Yes but it's most commonly used in the medium of email as an indication of a reply.
Sorta, depends on your workload and if you are a solo hero dev or if you are an enterprise requiring shared data resources.

For 16TB you'll definitely get benefits if you are doing something embarrassingly parallel and processor bound over a cluster of a handful of machines. It's just parallelism, and it's a good thing.

I totally agree about the hundreds of Gigs - that is unless you are in a setting where many teams need to access that database and join it with others, in which case a proper data lake implemented on something beefy is a good idea. Hadoop has the benefit of distribution and replication, but another data warehouse might work better - say Oracle or Teradata if you are a small shop.
I might be misremembering, but I'm pretty sure the one in the Science Museum in London runs, too.
I agree. I read a discussion about this article on another forum and found the whole thing quite appalling. While I'm not rich, a 7 figure net worth is definitely above average and 8 is easily to the point where you would never have to work another day in your life if you didn't want to. Where I am is iffy, but at some point I am downshifting my career.

I have no idea how people like Warren Buffett, Nancy Pelosi, Henry Kissinger, etc. are able to have such long careers because 100% of the people I know who are that age are in terrible health and not all there mentally. Other than providing a legacy to their heirs, what is all that money going to accomplish for them? Nothing. Better to go out and enjoy life.
Exchanges need to be built with the fluid nature of blockchain conflict resolution in mind.

You can estimate the cost of double-spend attacks on each chain at any time, calculate your potential exposure, track where the related funds are now in your system, and mitigate your exposure by delaying the outflow of funds that have outsize exposure to double-spend attack potential.

In the simple case, you might allow withdrawal of a single $10 deposit after 2 confirmations but enforce a long 1000-confirmation waiting period on a million-dollar deposit, in order to increase the cost of executing a double-spend against your exchange beyond the point which you estimate it becomes infeasible.

It's a little trickier in practice because someone could split their million-dollar deposit into 1000 thousand-dollar deposits from separate addresses into separate accounts. But you can still track your exposure in aggregate, and you should design a system to hold all impacted funds as long as is necessary to make a double-spend attack infeasible.

You can be upfront with your clients about what's happening and why their withdrawals are sometimes delayed: it would increase confidence in the safety of honest customers' deposits while discouraging thieves from targeting you.
I also had to double check the picture wasn't just for illustration purposes of a hole. The structures really looks like dried mud.
Kafka has the opposite of bloated architecture. It's actually pretty simple architecture compared to a lot frameworks.
I think the instapaper one is just they aren't compliant yet, realize it, and are shutting down EU access until they reach compliance. There can be ways they are not compliant without necessarily selling data.
How is it obvious that conventional financial transactions are orders of magnitude more efficient than bitcoin? You can't use transaction price as a metric because it reflects a lot more than just the energy consumption of the system and even if you did, conventional transactions are not orders of magnitude cheaper than bitcoin transactions.
The problem is you won't get an Data Processing Agreement (DPA) from them. And since email and names are sent through the service the DPA is mandatory. If someone somehow manages to detect your are sending his data to a non-compliant service you can get sued.
Sorry, had to go up a few sizes on DigitalOcean
Bloom filters could do it. https://en.wikipedia.org/wiki/Bloom_filter
Why can't they comment on it? It's very suspect.
So... Then I guess that means it is safe then right?

The whole point of crypto is that you are relying on the fact that 50% of the network is honest.

So yes, you are correct that it relies on half the network being "benevolent". That's how ALL cryptos work.
I Said SMART not SHARED. That includes weak_ptrs and unique_ptrs
FIRST QUESTIONS
1. DOES IT DO WHAT I NEED TO DO, AS ELEGANTLY AS I DO IT?
2. IS IT WELL DOCUMENTED?
3. IS IT SIMPLE ENOUGH THAT I CAN PERFORM A SECURITY AUDIT ON IT?

SECOND QUESTIONS
1. IS IT SUPPORTED, AND IF NOT IS IT SIMPLE ENOUGH FOR ME TO SUPPORT?
2. IS IT PRESENTED AS PRODUCTION/GA CODE?

You won't need to bother about answering the second set affirmatively if you can't do so with the first. To make a good clean decision, the answers to all the forgoing should be in the affirmative.

If you ignore the attractive module names and apply this simple hueristic faithfully, you'll find that the pool of potential production modules is not only reduced dramatically but that in some application areas the selection will actually become quite sparse.

You might say that my hueristic is incomplete, and you might be right, so feel free to add a few conditions of your own.

Note that while we're all different and have different requirements, you should still direct your efforts toward keeping the hueristic as simple and concise as possible.
The EU Commission's very own website deserves an honourable mention at least.

Last time I looked (just a few days ago) it was the epitome of "What you're not allowed to do anymore according to GDPR.": Tracking and other cookies with no way to opt out, no privacy policy etc.

Then again, GDPR of course doesn't apply to them. The very least they could do in my opinion, however is to lead by example.
V8 is the JavaScript engine, blink is the rendering one. But yeah, that’s the idea.

Have you tried using 3 Electron apps simultaneously on 8GB machine?
51% attacks are mostly overblown. If a group decides to engage in a 51% attack, all they are doing is effectively revoking their own license to print money - which is what having a > 51% mining capacity in a major crypto translates to. Bitcoin is a public ledger and double spend transactions would be completely visible to all. All this means is that the coin would end up getting forked, similar to what happened when Ethereum screwed up - and it continued on with minimal fanfare. And in that case their screw up was of their own fault instead of something inherent - even fewer people would be inclined to stay on a Bitcoin line that has been 51%'d.

Rolling with the mine analogy, a 51% attack is equivalent our group that sent in a million miners changing the diamond mine into a 'glass' one. It becomes fake, and loses nearly all of its value and people move to the new 'real' mine. You do nothing except critically hurt yourself.
> DHL has famously chosen StreetScooter instead of VW to built their last-mile fleet and the top brass in VW were also famously upset about this.

Any reason this is substantial news? People choose other vehicles over VW all the time, it's normally down to price.

> perhaps because VW insisted on keeping diesels alive longer than it made any sense.

Anything to back up this statement? They seem to have been doing well lately [1](https://www.ft.com/content/6e31d4e2-fb5f-11e7-9b32-d7d59aace...)
Storage and Memory Characterization Data Intensive Workload on Bare Metal Cloud
There's a big difference between a 50Tb data warehouse and a data warehouse which has a number of 10Tb tables. Our data warehouse used to have 20k tables and 18Tb data. Our big data instance has 4k tables and 800Tb data
> There will never be "no firewall involved" because NAT functionality is implemented as part of the firewall in the real world.

So, you are telling me that, say, if you configure NAT on a Linux kernel, that necessarily implies some sort of firewall? (hint: it doesn't)
The only thing that proves is that the universe exists. Claiming that someone created it is only moving the question, because who then made the creator?
If it were something that simple and reasonable, they'd be happy to say so.

The fact of not giving an explanation implies that the real explanation is worse that you would expect.
It’s not ideal, but it should help. I don't think the processes need to communicate though.
"In three months"...there's a chance that a problem will be found by the people doing formal verification, but otherwise there don't seem to be any potential roadblocks. Client implementation is very simple, partly because most of the protocol is implemented by a smart contract, which is already done. Ethereum does a hard-fork upgrade a couple times a year.
That sounds like reasonable phone use to me whereas the article seems to hint at using a phone instead of engaging.
I think we should reserve opinion here until bthdonohue gets back with fiiv's comment of "But what part of GDPR was it that caused you to have to close off European Union users?"
Hi Brian, thanks for replying to my post. I apologise for my reactionary tone above, but do you understand how by declining to share specifics your tweet aroused suspicion?

EDIT: I've just read through your privacy policy and I wish other companies had a privacy policy as clear, straightforward and detailed.
Curious: what tier were you using and what tier did you move up to? In case I ever get to the frontpage, I'd like to be prepared :)

And usually, what is it that causes outages like HN/reddit's hug of death? Number of open sockets / file descriptors? RAM? CPU? Network congestion?
> People wouldn't stop using banks, but they would stop using that bank.

I'd really like to live in a world where that's true, but I don't see Equifax going anywhere. PayPal does a form of this as well, except it's the central system and not a rogue actor that locks your money away. Well informed users avoid PayPal, but there appear to be many more uninformed users.
https://github.com/jonschlinkert/is-odd/blob/master/index.js

Edit:

the original code, even before the float handling, was was a perf optimisation:

!!(~~i & 1);

Nobody wants to see that in code unless it has a name. Maybe isOdd(). Maybe we should put it on GitHub to save others time. Sure beats copy-pasting from StackOverflow.

Original:

Did you think of handling floats in your home built isOdd implementation? Thankfully Jon (EDIT: or one of his contributors - doesn't change the point) did. And they added tests.

The (flagged) article makes the staggering assumption that "we can't code" because we're not constantly reinventing the wheel. It talks about DRY being taken too far and talks about the functions being replaced as "one liners", when following a couple of links would show they're not. We can code, we're just coding on actual features, not rewriting the same poop.
I keep seeing this meme about Tesla and it keeps making me grumpy. Basic lane keeping is simple, and Tesla is only doing that. And they're doing it badly.

Tesla's autopilot is a PR move to try to raise more capital. They are not and will not be a serious player in driverless cars.

What they've got is a system doing object detection. Object detection is actually one of the easiest parts of driverless cars. Planning and interaction end up being much harder and requiring a lot of data, none of which Tesla has collected. (Also, in practice you need lidar and a fully mapped road, neither of which Tesla has; we're at least a decade from the top players who are actually collecting large scale urban / suburban data from dropping the map requirement, and there's really no reason not to use lidar as the price is dropping so quickly. Both reasons Tesla's "we've got lots of data" claim are BS...)
I don't have Spotify premium - so the quality is 128 kbps.

The app works pretty fine, but is absolutely slow on my (old and quite underpowered) living room PC. But on the other hand it is just a media player...

The quality was the deciding factor for me to use the Spotify app.
...so that you can be shown more ads.
You might not need homebrew
Do they? Non-aggregated data, I mean.
Nice! Talk about being a productive engineer! Kudos!
AxTrain: Hardware-Oriented Neural Network Training for Approximate Inference
I nominate Slate https://slate.com/privacy for a creative interpretation of GDPR article 7.3 "It shall be as easy to withdraw as to give consent" (the "consent" happens through an uncloseable window with no other options where a single click sets that cookie):

"The Right to Withdraw Consent. If you would like to opt-out at any time, please delete the “gdpr_consent_1” cookie from your browser window. You will have to opt-in again in order to view Slate content."
ReasonML – React as first intended
The article was about why testing for lead in depression is probably not a good idea or at least not a better idea than a million other things.
GDPR and policies like it are an existential threat to a Big Data future where so much can be possible if we are able to amass as much data as possible without fear of consequences.

GDPR should be resisted by as many companies and startups as possible.
I don't disbelieve you, but do you have a reference for this? `nm /sbin/launchd` doesn't show anything that looks like Swift. Searching ASCII WWDC turns up nothing. All I can find is you saying it a couple of times here on Hacker News. :)
And Bosch uses compressed air to keep motorcycles on track (experimental tech) https://www.youtube.com/watch?v=3ERowrZJyfw
There is also a language called zig[1], which popped up on hckrnews a few times in the past. I didn't have the chance to try it out, but am following the blog.

From what I can gather, it supports compile time code execution and reflection, so no preprocessor necessary. Furthermore it has a lot of safety features and optional checks, a nullable type instead of null value and manual memory management but also provides a `defer` statement.

[1] https://ziglang.org
In every email program, RE: stands for Reply. RE: is prefixed to a subject for showing that the current email is a reply to an earlier email. That is what is deceptive.

RE: is not Regarding in this context but appears designed to increase acceptance by lying about the recipient receiving a response to an earlier non-existent communication.
Mercury 13:the 1960s female pilots who passed the test but were refused by NASA
Back in the olden times game development studios used to do this. They would pre-estimate the maximum number of everything happening (explosion, ai, ammo, etc) and pre allocate everything. Then allocation and deallocations is just a fifo of spaced pointers built on a block of memory pre laid out in a structure in the binary.

If you allocate 2x the memory you need then there's no risk of overflows. It's riskier but it makes all of the code dead simple, extremely fast, and is a good middleground between embedded and normal.

You do get large binaries though...
Indeed.

A lot of people talk about the "Does it have enough sensors for Full Self Drive?" but my question would also be: Does it have the Compute?

As vehicles get closer and closer to full self drive the compute requirements have shot up, that's because a lot of the building blocks are just adding more machine learning models, pattern recognizers, and a more complete picture of the world. It is all well and good having a dozen sensors, if you can process their input.

A lot of the key cycles cannot be offloaded to The Cloud because of the tolerances (e.g. sub-second query/response for safety). One university project I happen to know of had $20K worth of compute sitting in the trunk. That will obviously come down as it is optimized but a vehicle sold in early 2018 isn't evergreen.
Oh come on...

> Nonsense dependencies are hard if not near impossible to manually audit due to the sheer number of them.

Why do you need to audit dependencies you don't use? Don't use `is-odd`, nobody is forcing you too.

If you aren't able to audit a 20 line file and determine it's worth to you, then maybe you shouldn't be installing any dependencies at all.

The existence of garbage doesn't mean the system is broken, or that the ecosystem is "chaotic and insecure". It means that it's inclusive, and anyone can make a package, no matter how terrible you might think it is.