skysight-inc/HackerNews huggingface dataset:
New Array Implementation for Elm
Boy, we're pretty bent out of shape about our food. Before we can legitimately ask ourselves 'how can we waste less food', we first need to ask 'What is food for?'

The simple answer is that food provides us with the energy and nutrition we need to survive; but of course, if you take a look around it's pretty obvious we dedicate a tremendous amount of time and energy to eating that extends well beyond basic sustenance. We have all sorts of complicated but erroneous aesthetic and cultural reasons for eating, which, in a first world country extends several levels of abstraction beyond merely serving basic needs.

I mean, if optimizing only for sustenance was the goal, we'd all be munching hamster pellets or choking down some Soylent like hydrated paste. We certainly wouldn't be interested paying premiums to have exotic, perishable fruits (which are mostly water) shipped in from other continents only to throw half that in the garbage.
Just the text, for those of you unwilling to open PDFs from security researchers:

http://pastebin.com/rG3RD6hw
Stanford, SLAC Play Key Role in New DOE Battery Consortium
Emacs has dabbrev-completion and dabbrev-expand which, I guess, shows its age...
Deny search engines access to site – Robots.txt
6 Month Review of the Very First Tesla Energy Powerwall Installation
HTML Textbox force 2 decimal places with JavaScript
Discussion on earlier post: https://news.ycombinator.com/item?id=12229185
The Reuters report has some details about why they limited it:

>Apple said it decided to limit the scope of the program at the advice of other companies that have previously launched bounty programs.

Those companies said that if they were to do it again, they would start by inviting a small list of researchers to join, then gradually open it up over time, according to Apple.

Security analyst Rich Mogull said that limiting participation would save Apple from dealing with a deluge of "low-value" bug reports.

"Fully open programs can definitely take a lot of resources to manage," he said.

http://www.reuters.com/article/us-cyber-blackhat-apple-idUSK...
You claimed that "most ancient societies were blatantly misogynistic". I don't think the current evidence suggests this, unless by "ancient societies" you meant something like "ancient civilizations". I would define the term "ancient societies" as inclusive of pre-agricultural (hunter-gatherer) societies, and then one has to make a distinction. The established view is indeed that ancient hunter-gatherer societies were much more egalitarian than ancient agricultural societies. Exactly which features of agriculture led to the development of (more?) patriarchy is surely still being debated, though.
A pdf probably isn't going to be able to run JavaScript in your browser (the primary mechanism that this attack utilizes. Pastebin on the other hand... ;)
> Ermmm.. defense opportunity?

Yes. Multiple opportunities for the defense to expose its views and interview witnesses, both in congress and senate.

> A totally partisan-biased Supreme Court

The majority of the current Supreme Court has been appointed by in the Lula and Dilma governments and are strongly tied to their party, including a former lawyer of a party member who is now in jail.

If there's any bias, it's in favor of the accused.
This is all true and it is even worse in many cases. Wonder what those "don't return this item to the store" notices are about? Most big box retailers have automatic refund percentages and penalties built in so every returned item gets placed in the trash compactor and the manufacurer eats the cost plus a penalty. Too many returns result in escalating penalties.
I mean the latter (other open windows in the text editor). TextMate and Sublime both operate this way, as opposed to IntelliSense style auto-complete where it only operates off of symbol definitions (class names, function names, properties and variables, etc). Which makes sense, because TextMate and Sublime don't really "understand" your code like Visual Studio historically does.
“Mr. Watson – come here” momemnt for command line slack open source project
Could you please explain how truth goes deeper than facts? I am missing something
Midtown Manhattan is a pretty solid refutation of the idea that rich people will flee from density.
They're basically saying that in RL sport, the skill level at that top level is so close that 'chance' has a significant impact on the outcomes. However, the skill gap between 2 random players of fantasy sport is so large that chance has very little impact.
Why can't we scan and use OCR with machine learning to automatically translate those clay tablets?
I wasn't clear about this, but in my experience with Visual Studio back in the day, IntelliSense only operates off of defined symbols (function names, class names, variables, etc). Whereas text editors such as TextMate and Sublime don't seem to "understand" the code as much, so instead they just autocomplete based on all word they find in the open project or Windows. But I actually prefer this more loosy-goosy style of autocomplete, so was just wondering if this new Visual Studio works that way (since it seems to be geared more towards dynamic languages such as javascript than VS was in the past).
Ask HN: Any nice quality JavaScript code one can learn from using Ramda.js?
I'm trying to find a code style to follow. Based on my understanding, I think Ramda.js is the way to go. If Douglas Crockford's way of object creation (something like this: http://stackoverflow.com/questions/27257397/constructor-pattern-by-douglas-crockford) is used, it would be even nicer.

Thanks in advance,

Liwei
This is interesting but I don't really understand because I've tried doing what you're saying. Maybe a side note: I'm very interested in learning algorithms but they are so inaccessible to me.
So basically, the first person who receives my email will lose relevant information. It's like they don't even know how email works. Often at a technology company.

Such blatant stupidity is hard do fathom.
purely by running (malicious) JavaScript inside the victim's browser

I've said it many times and I'll say it again: keep JS off by default and enable it only for the few trusted sites that absolutely need it. Interestingly, the authors mention disabling 3rd-party cookies as a countermeasure, but not JS.
https://www.foreignaffairs.com/articles/libya/obamas-libya-d...
AirBnB as well.
It's a troll.

You need to hang out here more often if this is the strangest comment you've found.
Those with deepest insights on this topic are least likely to post.
Hampton Creek are flat out dishonest. They have a product that is not mayonnaise, but they call it mayo. Furthermore, their product does not include any eggs but they had a huge image of an egg dominate their entire label. The entire product was based on a lie and I am not surprised they tried to mislead their investors and distributors as well.

I am all for removing animal products from the diet but that does not excuse lying to the consumer. If you think you have a great egg-less mayo like sauce, you should be proud of the fact that is egg-less and make sure the consumer knows it. Not hide it.

And no it does not taste anything like mayo. It has a weird spicy taste. Mayonnaise is not supposed to be spicy. Some people may like it, but the people that are expecting the taste of mayonnaise will be quite disappointed. I am willing to bet that a lot of food has been thrown in the trash because of this little marketing trick.
Perils of ORM caching
I am sure you can come visit and take the training, though perhaps you mean it's more expensive for non-residents of the US to attend.

It's more expensive for people living in other countries, certainly, but perhaps you could work out a deal where you become a certified trainer yourself and go back to your country to offer discounted officially-sanctioned training to folks in your region.

Look for opportunities rather than problems.
Yes, but there are two different kinds of autocomplete -- MS's "IntelliSense" style which actually understands your class/function/variable definitions and only gives you options it thinks are legit, versus more loosey-goosey style where the text editor just uses all words it finds in the open project or windows (regardless of whether or not they make sense in the context of the programming language).

Historically, Visual Studio has only done the stricter "IntelliSense" style, but I am wondering if this new version handles the looser cases like TextMate and Sublime do.
What I don't get is why the contractors didn't just claim the expense on their taxes to striaghten it out?
Came here to find if it had Vim bindings.. I guess I'll wait to use it :/
I haven't read the article, but I was at the announcement and your take is exactly how it was clarified in the room.

If you do good work and report it, you'll get paid accordingly.
checkout project UniK: https://github.com/emc-advanced-dev/unik you might will find it interesting.
> I similarly think it should be impossible for a word to offend someone. I think it's possible for meaning to offend and really only if you respect the person enough to provide some weight to that meaning.

This strikes me as curious, as offense is a feeling, and thus not much "thinking" must be involved. If by 'should be impossible' you mean everyone should not allow themselves to be offended, that is a very different thing (and certainly requires first finding oneself offended, and then thinking about it).
For those who are not very creative with their expletives, there are plenty of resources out there. A quick search led me to this...
http://foulomatic.hnldesign.nl/
I don't think it's that surprising, it's pretty much a truism that more features mean more complexity, chance for bugs, and attack area --- especially features which have yet to mature for a while in practical use.
Show HN: ServerlessFORM – no back end for a simple form needed
Those were not invented by Sublime. Lots of older editors have those things, including TextMate and even GNU Emacs and XEmacs. XEmacs had a package manager since the early 1990s.

What Sublime has going for it versus these other editors is ease of use and a much better looking UI. But VS Code has that too, and it's free.
I believe the researcher in question works for project 0.
I suppose if you were to ask several questions you could avoid this term. But none of the above questions, taken alone, captures the essence of clickbait. Not sure how many people would be willing to answer 2-4 questions many times over. And people who are familiar with the term clickbait might wonder "why are you beating around the bush—just ask me if it's clickbait already!". And as others have pointed out, clickbait creators might try to find ways to game the survey system to make it less effective.
I always thought it would be great to start a restaurant chain where you had smaller portions for a slightly smaller price, and if you wanted seconds of something, it'd be a reasonable add on fee. $2-3 maybe.

I'd probably call it "Seconds" too, and this is why I'm not in the restaurant business probably. :)
> I wish I could revert to pre-tabs file behavior

Adding the following to your User Settings should get you pretty close:

{
"workbench.editor.showTabs": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
// ...
}
As the primary author stated, MIT PR does not make these videos. I've seen plenty of dry, poorly-produced videos; what you're seeing reflects the dedication, talent, and charisma of the researcher more than anything else. Source: I was a grad student at MIT.
> Putting your "cover letter" in body of an email is anywhere from bad to worse practice

So, the onus is on me to put this information in a place that is less convenient to reach than the body of the email?

This is ridiculous. The onus should be on them not to lose information. Sure, if I need that job badly, I may have to work around their stupidity. Hopefully I have more leeway than that.
Ask HN: Developers – How did you learn to say NO?
Your boss comes to you with some highly improbably task and you say YES.

Your Project Manager comes to you asking if something could be done and you say YES. And then you have a unbelievable deadline looming over you for the next few days.

Your peers ask you for some help on a task that they had been struggling with - for days. You say YES and then you end up having to feel the burn for their complete workload.

Your subordinates ask you for help every five minutes and you always say YES and end up helping them and sometimes end up doing all the task yourself - veiled under 'mentoring'.

How do you say NO? How did you learn to say NO?
I don't understand how the deduction from giving X to a researcher and X to a charity is smarter than just giving X to the researcher?
Pretty sure it's been here the entire three years I have.
No. Every time an article in this form is posted, near the top is someone mentioning they're not a fan of the format.
I'm curious, what's the thought behind having an official company-wide text editor? The companies I've worked for usually take the route of "leave their choice in tools up to them", which I appreciate.
The title makes me think it's talking about Richard Borcherds, who solved the moonshine conjecture (and got the Fields Medal for that), and is now interested in TQFT (topological quantum field theory).

However it's about Iris Cheng. I'm not saying she's not good or anything like that, but how can the author call someone "moonshine master" while what happened is "She happened to have read a book about the “monstrous moonshine,”"?
I imagine if you find a good bug and aren't on their list, you could bring in someone who is to help out...
At 3.7GHz that's roughly 3700 clock cycles per row. With something that low, I'd be really interested to see a breakdown of how many cycles were spent doing what.
Funny comment. :)

But actually this is unlikely to make a big difference on battery drain. Pokemon GO appears to be built on Unity and Unity is pretty notorious for having poor battery management. Whether you're pegging CPU or not, Unity burns lots of power. So, the incremental battery life hit is likely to be low in doing image processing on top of a frame.
It's not just Reddit. Look at MacRumors, they are absolutely furious with Apple right now:

http://www.macrumors.com/2016/08/01/apple-new-ipad-pro-compu...
In a dynamic language like javascript, yes VS Code works exactly like this.
I never heard of aluminum being toxic to any extent, but a quick search showed this

http://www.nytimes.com/health/guides/nutrition/cooking-utens...

> Aluminum cookware is very popular. Nonstick, scratch-resistant anodized aluminum cookware is a good choice. The hard surface is easy to clean. It is sealed so aluminum cannot get into food.

> There have been concerns in the past that aluminum cookware increases the risk for Alzheimer's disease. The Alzheimer's Association reports that using aluminum cookware is not a major risk for the disease.

> Uncoated aluminum cookware is a greater risk. This type of cookware can easily melt. It can cause burns if it gets too hot. Still, research has shown that the amount of aluminum this cookware leaches into food from is very small.

Not sure what "sealed" aluminum is nor what it would be coated with to prevent any kind of leaking. This is all new to me.
There's so many fanboys though :'(
Can you add noise to a CSS gradient?
How to always get a better probability of winning at Penney's Game – Numberphile
To Cut Down Poverty, Cut Down the Cost of Living
elm-mdl 7.0.0. This release marks a substantial achievement of elm-mdl: we have now ported every component of Google's Material Design Lite!

This maybe the single biggest (by loc) Elm-lang open source project.
So, work on getting your green card. If you're not from India or China you might be able to get it in about a year, 2 years tops.

After that you are free to go wherever.

You didn't say if it was L1 visa but I assume so. You will be able to skip the first step towards GC. So that saving about 6 months in the process.
Interesting that this has come up before, and Trump's phrasing hasn't changed much, but mysteriously absent this time are Hillary Clinton's comments that were fairly similar:
http://www.classicalite.com/articles/33770/20151218/donald-t...

"Hillary made similar arguments recently, claiming as The New York Times put it, "the only solution was to engage American technology companies in blocking or taking down militant websites, videos and encrypted communications." In an attempt to head off the standard arguments against interfering with free speech, she said "You're going to hear all of the usual complaints, you know, freedom of speech, et cetera. But if we truly are in a war against terrorism and we are truly looking for ways to shut off their funding, shut off the flow of foreign fighters, then we've got to shut off their means of communicating.""
Yeah but, they do take credit like that. And I'm one of their biggest fans.

Edit: oh, the downvotes, not because facts, but because dislike?

"He will go through a process of looking at my ideas and say, ‘That’s no good. That’s not very good. I like that one.’ And later I will be sitting in the audience and he will be talking about it as if it was his idea. I pay maniacal attention to where an idea comes from, and I even keep notebooks filled with my ideas. So it hurts when he takes credit for one of my designs."

Johnny Ive, on Steve Jobs. http://9to5mac.com/2011/10/24/isaacson-interviewed-jony-ive-...
As part of the Visual Studio Code effort, the .net intellisense was split into a stand lone server to be used from any editor. So I'm going the opposite way, hoping to do more and more in vim and less in VS.
Pre-agricultural societies certainly had a clear division of labor between the genders, but could still have had a high degree of equality in the sense that both women and men had roughly equal power in the communal decision-making.
I think your work (and your promotion of that work!) is awesome! Please take heart in all the appreciation and encouragement in this thread (and elsewhere)!
5 Must have Mac applications that are equally brilliant Product ideas
The paper goes on to describe why. The short version is a big part of HTTP/2's performance comes from header compression via the HPACK algorithm. Anything that compresses can be compromised if the attacker can inject data into the compressed output. This paper does a really nice job of concisely explaining BREACH and CRIME.
Well, I guess I'm glad I skipped this one in theaters.
This is ridiculous. The amount of time that went into this project is probably fairly large. In a more competitive world, making some short videos and a basic page seems quite obvious. If the people involved spent, I dunno, 8 weeks on the project, then spent another few days putting together some materials to explain their work, that seems totally obvious and helpful.

Why do you think professionals were hired? A basic microphone+blanket to damp echos, and a passing familiarity (perhaps a friend) with a video editor should be enough to put that together. (No offense to the team.) If you wanted to hire someone, I'm betting you could get it done for $50 on Fiverr. Another $10 for a domain, and a few bucks for hosting.

You're making it sound like this is some huge professional outfit with a coordinated marketing plan. It looks more like someone trying to show off their project that they spent a lot of time on.
"Experimental evidence of massive-scale emotional contagion through social networks" [0]

"Was it funded by the US army? First the university said yes" it's US led information warfare [1]

[0] http://www.pnas.org/content/111/24/8788.full
[1] https://www.theguardian.com/science/head-quarters/2014/jul/0...
Our two electric cars are powered entirely by solar.
A house older than three decades, but there was an interesting story (previously discussed on Hacker News) about some poor guy unexpectedly finding a huge lump, probably left over from an old heating system.

https://news.ycombinator.com/item?id=10357115
This article reminds me of http://www.bbc.com/culture/story/20151109-english-speakers-o...
Its funny how colloquiasm also applies to swearing in one languages v.s another
Hitchhiker trees: functional, persistent, off-heap sorted maps
This is about as severless as "the cloud". There are still server just other peoples.

That doesn't make it useless, just misleading.

Edit - I guess I should be clear, this was a short rant about the term "serverless", not the product itself, which looks quite nice for static sites.
how about you fix bugs that are already well known, like how the sd reader dies after a while in el cap?
How to hack someone's whatsapp
My username checks out.

Fuckin' oath swearing is good for you.

I'm British, raised by an ex-military Grandfather turned Civvy Engineer who ate his cornflakes with a side of profanity and then I. As a young adult, I moved to Australia. I swear alot. Even for fucking Australians.

It's the perfect stress release mechanism.

'Why the fuck doesn't that work? Why the fuck DOES that work?'
What happened to Neal Stephenson's plan to make a sword-fighting game? Did it fizzle out? Maybe he could make use of this.
True, but it's not like Apple doesn't have the resources to manage an open submission program.
they deserve all the bashing they are getting
One thing is just read all the standard advice out there from HN people, The Lean Startup etc. Also older stuff like The Mythical Man Month.

Not exactly sure what you mean by come up with an idea. I have dozens of ideas and come up with new ones all the time. If you're always in the back of your mind on the lookout for a business, and your mind is active, ideas will come to you.

Maybe you mean feasible ideas. I usually rank my ideas by how long v. 1 would take to make, and concentrate on the shorter ones. For example, I know Android, and wrote a stopwatch app in two weeks. It might be too easy to write, too competitive due to that ease etc. - but its just two weeks from my life. I've also written Android apps where v.1 took 2 1/2 months.

The main thing I'd say is think how long v. 1 will take. Something like one year would be too long.