skysight-inc/HackerNews huggingface dataset:
But what does a typical American eat then? In my country (Netherlands) we eat fresh vegetables every day, we cook every day using many different ingredients and usually Rice, Potato of Pasta as the basis. Is it so typically American to eat highly processed foods? Don't you have a vegetable department in the stores? Here it would also be quite expensive to buy prepackage stuff as one gets peppers, cucumbers, zucchini etc for under 40 cents a piece, a bag of washed fresh spinach is about 1 euro, potatos costs less than 50 cents/kilo. Veggies are even cheaper now that we are not allowed to sell to Russia.

I have worked with Italian colleagues, they are even more puristic. Is this really a cultural thing or are vegetables just so expensive in the US? Are you not taking the time to cook? (about 30 min hands-on a day for preparing warm meals is considered normal here.)
You could try contacting directly active developers/startups who have released similar apps, they are the ones most likely to be interested (and they're definitely not checking flippa.com). I imagine it wouldn't take too long to find 5 of them and send them an email.

If your revenue is stable or growing you should be able to get at least $20k from the sale, and possibly up to $60k.
Sort of. Unlike gas motors which get part of their mechanical advantage from the angular momentum of the flywheel, electric motors have a torque that is strictly proportional to the current through the coils.

AC motors (like the ones Tesla use), work by pushing a sinusoidal wave around the "outside" of the stator, while a similar sinusoidal wave (at a retarded phase) is run inside the stator. This creates a magnetic field which is "ahead" of the stator's field (well in forward mode) which "pulls" it toward the field. The torque curve is "constant" and the speed is limited only by how well you can modulate that voltage. (and of course the mechanical construction)
Small thing but the favicon should be updated to look crisp on retina displays.
Yes, they do. I think that's the only one which is (normally) fortified.
My response to the podcast that unfairly attacked me – Vivek Wadhwa
I'm not sure what universe this statement is true:

> we refuse to change our eating habits in the ways that would actually protect us, which would require refocusing our diets on minimally processed foods that are naturally nutrient-rich

It doesn't seem to be the one I live in, where all the trends of the last decade or longer have been towards various "natural" food diets. Even Walmart sells organic food. "All natural" is an extremely common marketing slogan and has been for decades. I know many "health conscious" people, and none of them are obsessed with vitamins.

The facts about vitamins vs minimally processed foods may be true, but the article seems to seriously mischaracterize American food culture.
A surprising number of people either make N queries because they don't what their code is doing (really easy for a beginner to do with Django models when not using prefetch) or, more commonly, they make queries that get N rows back.

You almost never need N rows. N rows are bad because Python has to parse them. Odds are, there's a way to get a constant number of rows back for every query in every view of your webapp.
If tomorrow you wake up and find 10000000$ in your account and then go on a spending rampage what do you think will happen?

The bank will notice it, revoke the funds and then at best you will end up with a pile of debt and at worse will be charged with some financial fraud or another.

It's time that exchanges will develop the ability to reverse bitcoin transactions by extending the chain or by building their own transaction protocol on top of the current BTC chain. It's also about time that these establishments will get some private insurance if they want to play around as they were some private banks for oligarchs which are not tied directly to the central bank or insured by it.

With how BTC transactions work in general, and how exchanges seem to operate these days im amazed that people still use them.
I'm not sure I like the closure syntax, with the explicit return. Most modern languages (Swift, Rust, Python (lambdas), Lisp if I can call it modern) support implicit returns and it looks much better. Maybe it's just the juxtaposition with the JS code, but I was confused for a second by the word "return" inside the closure, thinking that it returned from the original function with just the first result.

(I really like Rust's take on this with the semicolons—just leave off the semicolon to return—it makes the semicolon actually useful.)
> For database code, you have exactly one technique to use in order to assure correct concurrency, and that is by using ACID-oriented constructs and techniques.

Actually no. And in the transfer example he listed it isn't even how banks do it in the real world. Mostly they use eventual consistency. And there are alternatives to ACID albeit far less simple. You can use something like Zookeeper to handle transactions. Or if you are using an eventually consistent database e.g. Cassandra simply set the quorum such that you are querying all nodes.
We normally use "normal" white flour for many things like cakes and pasta and stuff. But we have maybe more "real" bread which is not made of white flour?
Ask HN: Photo capture using HTML5 web app with file upload not allowed
I'm trying to find resources on whether this is feasible. I know you can access a camera via HTML5, but I want to know if it's possible to restrict usage to only taking a photo and not uploading something previously captured.

Thanks in advance!
Rousseau was not French but Swiss. http://en.wikipedia.org/wiki/Jean-Jacques_Rousseau
The key phrase is "where fortification and enrichment have occurred for so long that they’ve become invisible."

That is, if you suddenly stop doing it, you have a problem. In Germany, presumably, they are already finding other ways to get those vitamins.
It has width subtyping on type variable constraint sets. For instance, `forall a . a` is a subtype of `forall a. C a => a` and the compiler will automatically make the conversion by adding the unnecessary constraint. You also get the whole covariant/contravariance bit arising (solely) from function types.

This is a subtyping relation and you can treat it like one (and even abuse it quite a lot if you like) but since it's not key to think of it that way to understand Haskell's polymorphism then most of the literature just ignores it.
I suspect the trend is much more prevalent among higher-income and better-educated individuals (not necessarily the same group). It is also important to note that "all natural" is not an FDA regulated statement, therefore it is effectively meaningless.
> for some reason

I've typically found PL related articles do much better on Hacker News than Reddit, I think perhaps because of differing (but overlapping) target audiences. Always found it interesting what articles work here but not on Reddit (the converse isn't as interesting...)
Not sure where they host, but they might host it in some shady datacentre which is located in a completely different region than they are with no OOB access to it other than the public IP interfaces which is bad to begin with, but not that uncommon.
$140k is very typical in the Valley from what I have seen. SF salaries seem to be $20k less, for far more hassle (increased rent, poor commute, etc.).
আঠারো বছরের যুবতী নারীর গুদ চুদে আমি বুঝলাম আসলে স্বর্গ কাকে বলে?
Exactly.

Coinbase is the only company I trust in this space right now. They take security very seriously and have received several professional audits.
The problem is we don't know what we need.
Looking around, it sounds like they didn't:

The practice of putting iodine into food had been banned in West Germany since after World War II.

http://www.thyroid-info.com/articles/germanyiodine.htm

In Germany it has been estimated to cause a billion dollars in health care costs per year.

http://en.wikipedia.org/wiki/Iodine_deficiency#Deficiency

But, supposedly are in the middle of iodizing their salt.
Sure. But you aren't likely to be changing core business logic.

And believe me the cost of retraining, recoding and retesting all of your code is going to be significantly more expensive than buying better hardware.
Ah! Good to know, thanks. Somehow I missed that.
I disagree.

It is not analogous to cooperative multitasking, since Windows 3.1 dealt with different applications -- but asynchronous programming is targeting only a single (server) application.

I also would add, that asynchronous implemented server applications are doing oftentimes better than systems that primarily rely on threading.
It's really unclear whether explicitly initiated tests actually help for a SSD. The SSD has its own internal mechanisms to scan the flash chips which (I presume) is unrelated to SMART, since they are required for normal operation... primarily detecting weak cells before the bits actually go bad. Whole chips can go bad out of the box but after an SSD has been running for a few months there isn't much left that can go south other than normal wear or a firmware failure.

firmware issues dominated SSD problems in the early years. Those issues are far less prevalent today though Samsung got its ass bitten by not adding enough redundancy and having data go bad on some of its newer offerings. Strictly a firmware issue. Which is another way of saying that one should always buy the not-so-bleeding edge technologies that have had the kinks worked out of them rather than the bleeding-edge-technologies that haven't.

If it starts to bite me I may change my tune. But until that happens I put it in the wasted-cycled category.

-Matt
I tried that...about 10 times...
This sounds like an excellent use case for blood-level monitoring for personalized medicine (or in this case, vitamins). I'm not sure how viable the hardware aspect is, but there are sure a lot of things you could do in software with a real-time stream of that data.
A similar question was asked on the RE stack exchange.

http://reverseengineering.stackexchange.com/questions/1817/i...

My recommendation would be to check out radare2.
Really I am surprised that the EU hasn't mandated it or some one in Germany hasn't taken the government to court.
Reading the title I immediately thought these set of articles on procedural city generation. It's about the visual appearance of a city but very interesting nonetheless.

http://www.shamusyoung.com/twentysidedtale/?p=2940
You don't need QM for paradoxes... they come up in all kinds of classical systems with feedback loops. You also don't need QM to do a number on determinism. Look up the work of Ilya Prigogine.
Why not petition to change the standard if you think it's not ideal? If you change that then you don't have to argue with the compiler authors.
We're living in times of fakeness as our modus operandi - fake boobs, fake smiles, fake love skills (Viagra), fake friendliness, fake human rights, fake Eiffel tower (Vegas), fake everything. It's because people today lack class, are abusive materialists and consumerists, and lack any trace of philosophical thinking. And this will not end well!
Thanks, probably our player just broke. Huge oops.
Retrieve your wifi password (OS X)
Someone I know who works at Microsoft interviewed for a position at Google. This person is at a moderately senior level position at MSFT. He was recommended by his old manager who is currently at Google. Apparently, you can refuse the phone screen and you would be called on-site automatically. This person hasn't really written any code that I know of for years, but was able to get an ex-manager to fight on his behalf even after being (correctly) rejected by the Google interview process. Now I'm not sure how many have sneaked in..
It seems like the real character here is Graham, who I've never met, but I do have a story about his collaborator Bruce Rothschild, who was my professor for junior-level linear algebra.

In those days, you either gave your professors little self-addressed stamped postcards to tell you your grade, or went to their offices to ask them. I took the latter approach with Rothschild. "What grade were you expecting?", he replied. I confessed that I thought I would probably get an A. "You're getting an F", he said. "I'm giving everybody the opposite of what they expect."
Seven More Languages: Elm Day Two
There is visibly less competition for remote workers because fewer companies hire that way, so yeah, that could explain lower salaries at least in part.
Banks are hacked very regularly, probably a lot more than you'd think.

It's just much more difficult to actually extract money from them. With Bitcoin, all you need to do is copy 32 bytes (the length of the ECDSA private key) over and over and suddenly you're a millionaire. It was a little more complicated in this scenario, since the attacker exploited an application flaw and appears not to have gained access to any private keys, but they still gained permanent control of the coins in a simple manner.
People just like sharing that kind of thing. When I made this little page http://chrisdone.com/z because I couldn't be bothered thinking of a better name, there were dozens of people commenting and emailing me expressing concern that there is already a Z programming language and I should respect other authors etc.
Somehow the fact that this was accomplished by emulating a 32 bit processor with an 8 bit processor, made this less appealing to me. I'm sure it was technically very challenging, but I would have been more excited to see Linux somehow running natively on the processor. I wonder what the slowest processors running Linux natively are?
> This is exactly the "appeal to nature" fallacy.

The more dangerous "fallacy" is the idea that all food is equivalent until rigorously experimented and proven otherwise. This is the mentality that the food industry hangs its hat on to continue producing the worst possible products that still somehow meet FDA and public approval. It's dangerous because these foods are engineered primarily to appeal to convenience and taste sensibilities which give people an emotional connection to these substandard foods so that they will be more willing accept any evidence that said foods are acceptable.

The idea that eating whole foods which have traditionally been cultivated or gathered by humans is generally preferable to a manufactured alternative is not a bad or fallacious principle. It isn't "because nature", it's because we've been eating those things a long time with a good deal of success, and conversely, in the last 70-80 years of explosion of heavily processed convenience foods we've seen an explosion in diet related health problems. Waiting for conclusive scientific proof of the mechanisms of all these problems instead of using Occam's razor and some common sense is a phenomenally stupid thing to do.
> How do network cards fail?

All ways they can. I've found them with blown transistors, dead rats attached, no physical imperfections, etc.

Usually for me it's been some kind of hard failure, eg completely dead.
As I read about the subject, it sounds like they didn't have a good source of those vitamins, as most of the land that makes up Germany is iodine deficient- so even foods supposed to be high in iodine, are not. So the way they found was to iodize their salt.

The information seems to be spotty though.
Oh, that is evil.
Excellent question!

To me, rockstar does not equal to 10xer. Rockstar does not necessarily perform better, but they have gained enough (positive) reputation within their domain that they now have fans.

In other words, hiring rockstars means you get to hire their fans easier. It's a personal network thing.
Before clicking on the link, I thought for some reason this would be article explaining how Paul Graham had got his own number, much like the Erdos number http://en.wikipedia.org/wiki/Paul_Erd%C5%91s#Erd.C5.91s_numb....
Southern California native now living in Chicago. Most of the meals from my childhood were packaged TV dinners we microwaved. Nowadays I will slow cook a soup once a week in a large crockpot. Maybe cook 2-ish other times during the week and the rest is pre-packaged or eating out. Others probably do better, but to your point, people like me exist. :)
MLG PARKOUR
Ah, I get you.

Yeah, SICP, going from the 2nd Edition because my previous edition copies were tossed or whatever, is that too, but aimed at teaching different things. Except for the 4th Chapter, Metalinguistic Abstractions, which of course introduces the metacircular interpreter ... but if that's "The Maxwell Equations of CS".... That chapter has other treats, and ends with logic programming.

And per Wikipedia and my general knowledge: "Before SICP, the introductory courses were almost always filled with learning the details of some programming language, while SICP focuses on finding general patterns from specific problems and building software tools that embody each pattern."

But of course, even if we agree this is the way to teach introductory courses, there is much debate on what to teach, with MIT abandoning SICP in the post-doc.com crash panic including a crash in enrollment.

(More than halved after being a steady 2/5th of the undergraduate body for decades. It's gone back up, BTW, along with Stanford's. CMU only accepts 135 students into its program, and UCB, being a state school, probably also has limits, explicit or implicit.)
JS is like that Indian wonder kid who wanted to come up with a cure for cancer.

Then he was invited to London. Where he met C, C++ and Java, who made him become ECMAScript.

http://youtu.be/BSQf7SUxJVw
This confusion might be due to different meanings of the word 'natural'. You can get a certified organic frozen pizza, but it wouldn't be 'natural' in the sense the article uses. The best definition is probably 'everything that doesn't have an ingredients label'.
Asyncio isn't a good fit for classic web frameworks, like django. These applications connect to an excellent, fast and local database, maybe a caching server, and that's it. Their Http requests are designed to be quick and stateless.

A modern application may be designed very differently. Websockets almost require some kind of asynchronous concurrency, especially beyond simple push-notifications. Talking to remote databases, micro-services or even big-data frameworks is a very different ball game: Latency and processing time can quickly add up, making asyncio concurrency more attractive.

Finally, user input is very asynchronous and slow. Asyncio offers you to do stuff like "command = yield from interact(); if command == "start": ...", both in websockets and GUI frameworks like kivy.
US people in general eat a lot of processed, canned and frozen food. Even in the areas where fresh foods are available. I see even many immigrants who don't do it in their home countries do it when they come here.

I do think vegetables are overpriced in general grocery stores. The large asian grocery stores are pretty fairly priced.
The popularized/simplified version is http://en.wikipedia.org/wiki/Free_will_theorem . It's logically impossible for local hidden variables to produce results consistent with this experiment; either the hidden variable must be nonlocal (able to affect two spatially separated experimenters at exactly the same time), or the experimenters' actions must be determined ahead of time (and it's not a hidden variable so much as a hidden constant).
Huh, thanks for noticing. I have a retina display but on Linux Chrome and Firefox both ignore any kind of global font size settings for their tabs, so the icons are tiny and look crisp, didn't realise. That kind of thing bugs me too. The rest of the layout itself should be retina-friendly, though, as I developed it like that.
> "Today's science doesn't known the chemicals required in a healthy diet"

This is quite ridiculous. We've mapped the nutrients required by our cells down to a molecular level. We've even got a thorough understanding of the interaction between the food we eat and how the microbial ecosystem in our digestive system breaks down our food as we digest it.

We have less understanding of the "natural" foods we eat. We've only mapped only a few genomes of the stable foods, let alone a complex break down of the exotic foods in the grocery store isle. The cocktail of organic molecules in the average fruit or vegetable is overwhelming, and many of them have been proved to be highly carcinogenic. Apples for example contain arsenic, amongst other poisonous chemicals. You get diarrhoea after eating too many fruits because of this. You also have pesticides, fertilisers, preservatives, and packaging contamination in 'natural' food.

I'm not against eating healthy, but the "we don't know if it causes cancer" banter is quite arrogant.

The concept of Soylent is great as it can be tailored for human requirements.
It might seem like that based on the definition, but read the whole article and you'll find it's the other way around.

Mill's number is shown to exist be showing that primes in certain ranges exist, and then building the number (somewhat like constructing a number from its decimal expansion).

So you don't use Mill's number to construct prime numbers, you use prime numbers to construct Mill's number.
[Opinions Wanted] New app matches runners, based on performance
That's just wrong. You sometimes see salt without iodine, but it's almost rare. Has been for as long as I can remember.
Hong Kong Bitcoin exchange disappears with at least $8.1M
Here's an excellent and brain melting expose of Graham's Number: http://waitbutwhy.com/2014/11/1000000-grahams-number.html
So does the VISA/MC take on any liability? If not, why is VISA/MC providing the 3-D Secure service and not banks themselves?

In addition, given fraud, does VISA/MC incur any loses themselves with and without the 3D?
Ways Scrum Is Done Wrong
We will probably have to wait 30 years to really know.

FWIW, lots of hardware from ~30 years ago still works. I have a 27 year old Amiga500 that still boots fine (many of the floppy disks have become unreadable, though).

You can buy fully working vintage computers much older than that on eBay.
8 SEO Trends That Will Affect Your Website in 2015
I'd want data. The system I work on does in fact spawn a thread to handle each and every connection and in fact each connection thread spawns numerous child threads to exploit available parallelism within the request. The code is fully blocking and linear and anyone can read it and see what it is doing. The mentioned system is one of the largest public networks services on earth.

I am very skeptical of the idea that you must not handle thousands of connections with a thread per connection. High tens of thousands of threads per core is the minimum level where I would start to worry.
Yeah, it would go something like

"What are the applications of this?"

everyone gasps, stares at you

"...to the K-theory of arithmetic cobordisms."

everything goes back to normal, speaker answers the question
My experience has been similar to yours but in the Valley, and I have a strong set of GitHub contributions as well on top of a clearly sharply skyrocketing work profile chock full of engineering accomplishments & roles.

It is frustrating that startups do not want to pay anywhere close to what reflects what that quality of engineering may entail. Companies like Google will pay $100k more than what typical startups will pay for quality senior engineers as far as I can tell, and that too is even a bit of a bargain. Increased responsibilities do not justify a shortfall of that much when it means it is close to 33-50% of a potential candidate's salary that is chopped off for them.
And then there's THIS guy.
This has also surprised me. And it seems the main reason is that of indentation. I do not feel this is enough reason to use 'define' instead of 'let'.
> we eat fresh vegetables every day

that shit's very very expensive here.
Tests of what? The ability to read and write data without corruption? Ordinary usage with wear leveling takes care of that, and these SSDs are definitely being used full-time.