skysight-inc/HackerNews huggingface dataset:
> it's quite possible to eat at a deficit and gain weight

> since fat has an energy content around 3500kcal/pound and muscle is, IIRC, around 750kcal/pound, that corresponds to more than a 2500kcal calorie deficit with no weight change

Feel free to ask a friend with chemistry or physics background why this is completely wrong and goes against everything we know about matter and energy.
Basis Watch: Dec. 31 service shutdown information
Sure: these may be things that CSS programmers believe but it is not generalizable to the entire population of programmers. At least not without links to Daily WTF.
It is not for me.
> I see a tendency to move from chaining hash tables to open addressing hash tables due to their better fit to modern CPU memory organizations. CPython recently made such switch

CPython recently switched to the naturally ordered maps suggested by Raymond Hettinger in 2012[0] (Pypy had already implemented it in early 2015[1]) but AFAIK it has never used chaining. In the latest revision of dictobject.c you can find a note/comment[2] saying:

> The basic lookup function used by all operations. This is based on Algorithm D from Knuth Vol. 3, Sec. 6.4. Open addressing is preferred over chaining since the link overhead for chaining would be substantial (100% with typical malloc overhead).

This is attributed to guido@1256[3], and if you follow the link you end up back in March 1993 in the commit "Generalized version of dictionaries, with compatibility hacks." when the file was created...

[0] https://mail.python.org/pipermail/python-dev/2012-December/1...

[1] https://morepypy.blogspot.com/2015/01/faster-more-memory-eff...

[2] https://hg.python.org/cpython/annotate/default/Objects/dicto...

[3] https://hg.python.org/cpython/annotate/7aa9613ffd36/Objects/...
> The reason open addressing is considered open is that it frees us from the hash table. The table entries themselves are not stored directly in the bins anymore, as with a closed addressing hash table, but rather in a separate entries array, ordered by insertion.

> Open addressing uses the bins array to map keys to their index in the entries array.

Am I wrong or is this generally not true? Open addressing is about storing the entries directly in the bins [1].

The new implementation is still open addressing, sure, but the bins contain an index to a separate entries array, presumably to keep the size of the bins array compact.

[1] https://en.wikipedia.org/wiki/Hash_table#Open_addressing
>So where's the public outcry to jail the traitor?

In the US? All over the place. Fox News on pretty much a weekly basis. It was all over the campaign trail this last election as well.
This is the problem with "news" stories like this... and why I hate them. We would have no way of knowing if this happened or not. It's plausible, but plausible isn't the same as "it happened". One could say at best its value is as a cautionary tale to other parents, but I'm willing to bet that if you're a parent you've probably seen the potential for this sort of thing develop in your child already... of course that's speculation, too :-)

(As an aside... who the hell decided that autoplay video/audio was legit?! Yeah, I'm an old guy... and once upon a time that sort of thing was avoided... but really.)
I would love to build more devices but the thought of installation always bothers me. I always hate having to hang things on a wall. It requires either finding a stud that is close by or using a crappy dry wall screw or molly screw.

I'm particularly unlucky because I live in an ancient house so studs are never ever close by and all the walls are plaster so that means 1 inch hole with a molly screw (with chips of plaster and dust and follow up vacuum job... god forbid you ever take the thing down because now you have to patch the hole back up).

There has to be better solutions to attach things to the wall (and yeah I have done the whole velcro command strip thing as well).
I am not sure I agree with the speaker that the data is safe and the tax administration follow best practices:

http://news.bbc.co.uk/1/hi/uk/7103911.stm
Great read. Did you look at etcd[0][1] when considering a distributed kv store/locking mechanism? If so, what were the pros/cons of each and what lead you to consul?

[0] https://github.com/coreos/etcd
[1] https://github.com/coreos/etcd/tree/master/client
Perhaps. You replied to my earlier comment, too, so let me answer that first. Your example was an excellent example of how many people can interpret the same event in multiple ways. I think that is fair. However, I think it's fair to subject that to the standard of deductive reasoning and prepositional logic (not all interpretations are valid). Ie, in your example, it's possible to ascribe differing motives to the UN vote since it's unknowable on some level... but it's not valid to deduce from it that Obama is a secret Muslim that wants to destroy America. Specifically to the point I was making, Bannon has spoken and written publically (as a sibling comment mentioned) about his objectives. It is knowable and not subject to unlimited speculation.

To this comment, we've digressed from the Facebook/Germany point. It's complicated. To your point, was Clinton supposed to pursue libel across ten thousand fly-by-night websites cross-sourcing libel (sometimes across jurisdictions where it was not practical to pursue them)? It is a judicial DoS, in a sense. A legal system is a hackable set of rules, and someone did that in the US election, and I think Germany is smart to try to prevent a similar result domestically (though I am not sure if fining FB $.5M per incident is effective or ethical).
And now some guy's about to poke y'all with a soldering iron (etc)... :-)
Methane is a carbon molecule
Thanks for this, I usually prefer smaller fonts when reading online but I do agree that the official Hacker News site is quite small. More than a few people have mentioned they would prefer having the ability to increase size/line spacing so I'm going to try to add this.
There is one very important thing here: FreeBSD != FreeBSD Foundation. FreeBSD Foundation accepts donations and pledges to support FreeBSD Project, but FreeBSD Project is an open source technical initiative that gets support from many sources, one of which is FreeBSD Foundation. Giving money to the Foundation with 'bad intent' has no influence on the FreeBSD Project, so, yeah, no stings attached here.
Economic liberalism i.e. lowered regulation and absence of tariffs. "Liberal" the way Americans use it is an Americanism, and "neoliberal" was a term invented to talk about economic liberalism in the US.
Hacker News' “Who is hiring?” 2016 in numbers
Well: the industry estimates that SSD for consumer laptops will have a marketshare of ~50% in 201-7-2018.

HDD are $45/TB while SSD at $170/TB(17 cents/GB). if we assume optane is 10x more expensive than SSD , it's at $1.7/GB or $27/16GB. So we're comparing HDD+optane at ~$72 with a $170 SSD. For the lower end of the market or for people who want large capacity , this seems attractive.

Also if the performance is nice enough, it might change the buying decision for some people - why settle for 1TB ?
Frozen Poop Pills Fight Life-Threatening Infections
Is there anything positive anyone who uses toptal can share about them vs other services? It seems others are concerned about the interview process and rate fixing
> why do you care if it needs to run on Windows? I would normally assume you don't want the license cost of the OS, but it's a tiny fraction of the overall licensing cost.

At my company we had a single Windows server for aaaaages that we kept around because of a legacy MSSQL install we needed. Only Windows box in the whole server farm. Was a bit of a pain.

Of course, MSSQL-on-Linux wouldn't necessarily have been the answer here... I'm sure we would have had to buy a new MSSQL license to run it on Linux.

Eventually we eliminated the need for it entirely, but had MSSQL-on-Linux been an option a few years ago we might have simply migrated it to Linux and paid the necessary license.
If you have the ability, I believe youtube lets you contribute subtitles (both for the transcript and the translation) directly to the video.

It might help if you are willing and have the time (and it's enabled).

I'm not sure how to go about it though...
As an upcoming parent, these are the things that scare me. Where my kids start exhibiting what look disturbingly like addictive behaviours. Is this just how kids naturally are, or are screens just so compelling?

I remember loving the TV as a kid but recall that somehow, magically, my parents kept me off it outside TV hours without use of a password. I need to figure out that secret before its too late!
The Muscle Behind Your Profits: 9 Sales Operations Best Practices
As mentioned within a very well hidden easter egg in their press release:

"We will take pride in our Lineage as we move forward and continue to build on its legacy."
Huh, I've actually never looked at them from that perspective, but it makes total sense.
It was a festival to fight a blight called "wheat rust" and it is an OS that promotes the use of Rust.
Delayed Effects of Stress and Trauma on Brain
I still think they should have tried to safely move to the shoulder like the other vehicles, although in their position they can keep their hazards on -- and traffic has already jammed behind them so they'll be visible. The best option would be to move and then go back with road flares, but very few people just carry those in their cars.
I disagree. Fingerprints are privacy locks, not security locks.

The lock in your bathroom isn't meant to secure the bathroom. It's just a way to ensure that people get the message, "please don't enter".

A fingerprint on a phone is a way of saying the same thing. This phone isn't meant for common use, please don't enter.
Hey guys,

I don't know if this has already been made, but I couldn't find anything like it so I thought I would put it together. I limited it to 10 people for right now to make sure my backend could handle it (free Heroku server) and to avoid people spamming large groups of people.

Let me know if you think this is useful or if you have any ideas for more features (I am currently thinking of adding the ability to send a message in the future).

Here is the source code:
frontend: https://github.com/benawad/nukool
backend: https://github.com/benawad/nukool-server
Journey into the Machine: An Optimistic Killer
Is this probing scheme better than cuckoo hash?

Also, Java hashmaps also used to use separate chaining but switched to using redblack tree for each bucket[1]. The main reason was to prevent attackers from choosing worst case inputs where everything gets hashed into one place and degenerate to O(N) search.

It seems like with the new change Ruby is still vulnerable to these hash dos attacks.

[1]http://grepcode.com/file/repository.grepcode.com/java/root/j...
So the single-thread, integer-only, no-branch performance (admittedly a niche, but an interesting one) is still a fair way behind what was possible with the Pentium 4 (which could clock up to 11GHz)? I get that these days performance/watt is what matters and losing 100-odd cycles when you mispredict a branch isn't great, but it's still sad to think we might never match the best-case performance of the older line.
That's a pretty extreme way to react to a false belief.

And there's no way it's not true at all. Harvesting cow feed uses fuel. So if you're saying the CO2 from that is negligible, what's the real amount?
This assumes the only motivator humans have for doing things is financial.

Religion has motivated billions for promises that are, IMO, complete fiction. Very similar to how we peddle the American dream of financial independence, despite this too largely being a figment of most people's imaginations.

It requires work. That it also requires money is a by-product of how our society works. We've gone from "doing it for God and country" to "doing it for the almighty dollar." These motivators are not static.

> A true hero would create an organization that spent their own money on research and development and then give out the results for free. This takes real sacrifice.

You mean like the American people have done for a generation now? Subsidizing the research and development of technologies and medicine... only to give it away for peanuts on the dollar?

The benefits of our efforts have been expropriated for generations. No one person is responsible for the access to all the technology and other resources they utilize to achieve in life.
My experience has been the opposite of yours.

I worked on a remote team for several years and recently migrated to an in the office job in a similar line of employment and was surprised how often such things occur. In your case it may either be that your work does not lend itself to such activities or you are potentially unaware that they are occurring.

Slack is poor replacement for face to face. It is good for communication for many types of projects and teams, but it cannot convey a person's facial expressions or emotions that otherwise might be present in their voice. My current organization, while onsite, has teams spread across the globe that we interact with. Attempting to solve complex engineering problems via email and chat is doable, but takes longer than throwing a couple of the engineers in a room with a whiteboard (and so the company pays for travel when that is needed).

In my experience, remote work is very situational. Certain jobs, tasks, and teams will lend themselves to remote work, but those items are not the majority of work yet.
Sounds like an excellent potential recruit for Team Rocket!
Achieving Polyglot Persistence in the Cloud
He means the thermal paste between the chip itself and the metal top (aka heatspreader). The metal top is the part the user-supplied thermal paste goes onto, and the cooler block sticks onto.

There's also another thermal paste sandwich UNDER that that you'd have to do some very delicate surgery to modify.
I'm not sure if there really is a best place to look for remote jobs. It depends. I personally don't like aggregators as it's so easy to overlook a job post. I prefer visiting individual job boards. As a side note, I do agree with some of the comments in this thread. The best way is of course to talk to people you know and have worked with in the past. Meetups and events can also be a great place. Perhaps it won't land you a remote job today, but it may in the future.

What kind of remote jobs are you looking for? Tech or non-tech? I've generally found weworkremotely and the HN hiring thread to be among the best. If you're interested in remote jobs at startups, AngelList have a special collection for you https://angel.co/job-collections/remote/

It might be worth your time to look through http://nodesk.co/remote-work/ for a collection of remote job boards (it's a list so visit them all and save the ones you find useful) as well as http://workintech.io/ (job boards specifically geared for tech jobs).

Let me know what you're looking for and perhaps I can help point you in the right direction.
"it has brought us an age of unprecedented equality and prosperity"

People say this, yet when I have traveled in some of the poorest countries in the world (Zambia and Nepal for example) they seem a lot more capitalistic than Europe / the US. It seems to bring some people wealth at the expense of others.
I know a worryingly large number of programmers that believe many of these things, and refuse to believe me when I tell them they are wrong. It may just be that you tend to mix with programmers who do know these things, and do read things like the Daily WTF and HN.

Many don't. Many, many don't. YMMV.
A collection of ReactVR experiments
"Man is born free, and everywhere he is in chains." --Rousseau

(Ties in with my previous point: To ask "Why should anyone have more power than anyone else?" is missing the point: people clearly DO have different amounts of power in the world.)
This is true in some organizations, but it can depend on the culture and assumptions that people have about remote working. There are many companies that are bought into having people all in the same place because it helps with "velocity", or whatever management are into at the time. The irony is that many companies producing collaboration tools to support remote work software fall into this category of employer.
This article must have been written in 15 minutes. Painfully lacking in detail. The juicy bits:

"A team of researchers looked at the structure of neuron fibers in white matter in 22 beginning Mandarin students. Those who had more spatially aligned fibers in their right hemisphere had higher test scores after four weeks of classes, the scientists found."

The terrible conclusion:

"What language aptitude really is and how it manifests in the brain are complex questions, touching on the nature of attention and even consciousness."
Not that I agree or disagree - the idea of the GUI can be considered a logical extension of hypermedia and interactivity.
What favor could they ask for?

On one extreme it's "add the secret backdoor" (haha. As if!). On the extreme, it's "add a device driver for foo".

Are you worried about the former? Are you concerned about the latter?
Maybe, but on the other hand, most people don't keep $250 in their wallets. Having an extra verification mechanism for expensive purchases seems appropriate.
Yip, yap, ya-hoo!
The Crab Canon is not literally a Möbius strip, of course. But the Möbius strip is a fabulous analogy that goes a long way toward helping people understand what is going on. I've used this in my teaching on that topic:

http://www2.nau.edu/tas3/MOcancrizans.pdf
The only possible outcome of punishment/retaliation is escalation in this case.

Doesn't make me feel better.
A Guide to Deep Learning
Yep, that's definitely the next thing I need to think about. I agree, this is something that needs to work with JS disabled.
Taking an oath/pledge of confidentiality would be interesting business strategy on privacy, especially if it could be used to defend against claims from authorities.
Parent here, of a toddler and a 1st grader, and based on my experience it's all about context. For example, if any of the following are true, the TV exists: TV is on or the children are inside and sedentary. Conversely, from the children's perspective, they tend to forget the TV exists or is an option if otherwise preoccupied indoors by activities like painting, reading, playing pretend, etc., or are in fact outdoors.

TL;DR - If kids can't see it, it doesn't exist.
"Show HN" implies that this project is your own personal work. Is that the case here?
How to Create the a Highly Comprehensible Guest Post
I've seen a crash that was very similar. A tiny car hit the rear bumper of a SUV, on the right half, not really even a hard hit. The SUV got turned to the left and hit the slightly raised center of the road (maybe 10 cm high?) and spun and slid on its roof. Everybody was okay in the end.
Russia -> Finland imports are missing: http://www.fingrid.fi/en/electricity-market/power-system/Pag...

Nordic power map: http://www.fingrid.fi/en/electricity-market/power-system/Pag...

Finland is currently building two nuclear power plants to provide more green energy. Wind & Solar, aren't that great options at all. Btw. I love the visualizations.
Encryption: RSA

Compression: JPEG or MP3
A Letter from the Ghost of Charles Darwin
> GPS isn't possibly tracking mechanism because it works via passive reception of a satellite signal.

That's only one component of the GPS system. It also pulls data from the network based on your location; look up Assisted GPS.

EDIT: I don't mind the downvotes, but someone please educate me and everyone else if the statement is incorrect.
I can see a bright future for JavaScript
> ordered 13 Pokemon gifts [...] was only allowed to return four of the items

What's up with that? Isn't there a law that limits liability for unauthorized purchases to $50? (And don't most banks and credit cards just make it $0?)
You know what's the difference between XML-RPC and SSH with regard to payload
encryption and client authentication? Only the fact that SSH has the two
covered by mandatory parts of the protocol, and XML-RPC has this part
optional (HTTPs and either HTTP authentication or client certificates).
Nothing prevents you from exposing procedures only through HTTPs and only to
authenticated clients. In fact, my xmlrpcd works exactly this way.

Security-wise, your advice to use something that makes building correct
system virtually impossible (because quoting issues, unnecessary features
enabled by default, and others) is simply stupid and dangerous.
PHP, and its multiple plugins/add-ons written by drooling incompetents, strikes again. When will people learn to just stay away from that cluster-fuck of a language/community?
Sales and Usage Data for Amazon Echo and Google Home
Depends how likely this scenario is. Adding security to a high risk, low occurence event can be seen as wasteful.

Also before this technology, people kept credit cards in their wallet, which suffered the same fate from house hooligans. And before credit, people did keep $250 in their wallet.
This theoretically seems like a good way to alert users, but what exactly would you even tell users? Most users barely understand past "make sure the padlock is there" – and many more technical users that I've observed don't even understand SSL warnings apart from "it's still SSL, make the warning go away" – so, showing a prompt about something even more obscure like static key exchange, will be lost on all but the most advanced security people.

There are already plenty of ways for enterprises to get around this, like having their own CA and deploying that as a trusted CA to their machines. Then they can issue certs that their proxies could use, and their machines would just trust those certs.

Why don't they just use that method?
Yes! It's an important difference. In Denmark for instance, the term "liberal" in politics denotes free-market enthusiasm and almost nothing else.
I can imagine this would cause some misunderstandings when read into an American context.
Live: Edward Snowden at 33C3 via Video Link
When you say stoplights, do you mean brake lights? Brake lights are on the rear of a car, stoplights control an intersection.
> Am I wrong or is this generally not true? Open addressing is about storing the entries directly in the bins.

Correct.

> The new implementation is still open addressing, sure, but the bins contain an index to a separate entries array, presumably to keep the size of the bins array compact.

Yes, the original proposal for CPython[0] also noted improvements in iteration speed since the iterator doesn't keep branching on the empty/full cells of the sparse array (it can just go through the dense one which is mostly or entirely full depending on implementation), and improvements to resizing performances.

Plus it also allows further gains e.g. pypy switches the size of the values in the sparse array depending on dict size (so under 256 (actual items) the sparse array will be 1 byte/item, then 2 bytes until 2^16, etc…)[1].

And it has the advantage of being naturally ordered (that is entries will be iterated in original insertion order) at no additional cost (modulo how removals are implemented) whereas in older systems you'd need an additional doubly-linked list for that, IIRC that was the case for both PHP and Ruby (the base Python dict didn't conserve or guarantee ordering).

[0] https://mail.python.org/pipermail/python-dev/2012-December/1...

[1] https://morepypy.blogspot.fr/2015/01/faster-more-memory-effi...
> There's too much to know about too many things in this world, and of the important things that people should know, this is pretty low on the list. It's up to the professionals (ie. us) to make decisions on behalf of those who can't ...

Agreed. That also is what government is for, to protect citizens from abuse and dangers, via regulation. Banks and automobile companies can't sell fraudulent or dangerous products to everyday consumers, for example.