skysight-inc/HackerNews huggingface dataset:
We're "clean freaks" because we've learned that there are harmful microbes and parasites in the world. Millions die/have died of disease such as cholera and typhoid that are spread chiefly by poor hygiene. The parasites we don't get as a result of having clean water and sanitary sewers are on balance harmful to us.

I'm not sure I buy the "hygiene is harmful" argument or that we've gone overboard with it. I think a lot of other factors that have changed in the past 60 years might factor in, including a misguided government/agribusiness lead food pyramid that is way out of balance with our pre-civilization diets, as well as the introduction of highly processed and sweetened food that for many of us forms the majority of our diets.
JavaScript only supports pass by value, @ author: Nice quiz, I failed the last one, it would be nice to add more quizes and test users knowledge of function scoping, just like the commenter said, since functions can be passed around like objects, function scoping is another tricky one to master for beginners.
I don't understand the need for this. I'm still using a Palm LifeDrive. Sometimes I have to take a med. Right now I have to med cats. I simply add an alarmed event to my Calendar. Wouldn't anyone with an iPhone or other smartphone be able to do that too?
I just updated the pricing to $4.99 a month. Let me know if that's a more appealing price point!
setAttribute()?
That would be very interesting. Is this simply not a viable model without raising prices (in the case of Spotify) or are record execs really the fat-cats that we all think they are and would they be able to save themselves by simply being less greedy and taking out a smaller cut.
Which again brings us back to the "philosophy landmine" aspect of the question. If you ask people if the mind is a function of the body, most of them will emphatically say no. These same people will have no trouble accepting the existence of Alzheimer's disease.
>You're not really protesting anything.

Sure I am. I'm protesting giving money to people who campaign against my interests.

Nobody (save for you) has said that taking a stand has to be an exercise in self flagellation.
> There is no evidence of a link between the hygiene hypothesis and autism, which is what the article was about.

The article shows a correlation between the hygiene hypothesis and autism. A correlation, by itself, could mean anything or nothing, but it is certainly evidence.

Are you using "evidence" as a synonym for "proof", as in law? I ask because science doesn't work that way.

This correlation may simply evaporate with further work, or reveal some connection not now apparent, but saying there's no evidence for the correlation is simply false.
The right way is this :)

Array.prototype.forEach.call(document.getElementsByTagName('p'), function(el) {
el.innerHTML = 'Hello.';
});
Interesting TED talk on Automated Construction

http://www.youtube.com/watch?v=JdbJP8Gxqog&feature=playe...!
Learning Python by Mark Lutz is worth a mention for those who want to understand the "why" as well as the "how".
Since the topic of machine learning came up in this thread: what you've said is a special case of Bayesian inference, as applied to demographic groups.
I don't see any reason why this isn't a good idea. Getting internet access to more people can only serve to advancing America as a whole, I would like to think.

Any reason why we should be against this?
Why are languages so different—and disorderly?
They could, but only for a short while with small artists until the labels start seeing them as a competitor rather than something to be exploited. Once the labels start to feel threatened you can be 100% certain they will take their ball and go home. That and probably litigate against Spotify.
Yeah but we are also much less likely to die at 6 months due to chronic diarrhea caused by cholera.
Instant error correction and a solution for memory leaks: Just add water!
Two main reasons.

1. When you don't pirate, at the margin you'll give some of your time, attention, publicity, and money to the sort of producers you want to encourage, which would've gone to Big Content, except only for the money.

2. People rationalize. It's what humans do. When you have a reason not to pay, to what extent is it the main reason? You're both setting up a constant temptation to lie to yourself and clouding your motives to others -- they have more trouble telling how seriously to take your stated reason.

(My Big Content disclosure: a netflix subscription and a very occasional DVD or CD purchase -- the last one was Game of Thrones. Haven't been to the cinema in several years and I'm thinking of dropping netflix. Oh, I do still buy plenty of books, though the internet has cut into that. Also, I hypocritically pirate academic books sometimes and do the same for papers with no compunction at all (edit: barring evidence the actual author cares). Maybe that should've gone first, oh well.
I have a related question. When I try to do 'interview questions', I usually get stumped (I'm not really into math). In all the project Euler type problems that I've attempted, I find myself continuously using the Brute-force approach, only to find someone's very clever (and in hindsight, obvious) method to do the same. Or usually, I'll google the problem to find how someone else approached it, and only after I've studied it, or just 'took a peek', will I attempt my own solution.

Now, I've studied Algorithms and data structures, and it's not that I'm bad at algorithms. I can understand well defined (aka classic) algorithms just fine, but I find it really hard to find (or create!) patterns in numbers and to manipulate them in order to solve a complex problem.

Any suggestions on how can I improve myself?
The Googler Who Looked At The Worst Of The Internet
"Do you know that forgetting to take your pills can be unhealthy?" - seems a little condescending. If they didn't know that, why would they take them at all!? Also, as mentioned previously on HN, it'd definitely help if the Signup page was served over HTTPS. I know that payments made via Stripe are encrypted anyway, but I wouldn't have thought that the average user signing up to a "remember to take your pills" service would.
sorry off topic.. but can some one please explain this "It's(American football) more like playing chess than playing soccer."
I assumed from the original post that the degree was an undergraduate CS degree from the US.
So This is Democracy - Edcamp, the Unconference
When you don't pirate, at the margin you'll give some of your time, attention, publicity, and money to the sort of producers you want to encourage

Pirating from people who I don't want to encourage, and paying people who I do want to encourage are not mutually exclusive actions.

When you have a reason not to pay, to what extent is it the main reason? You're both setting up a constant temptation to lie to yourself and clouding your motives to others -- they have more trouble telling how seriously to take your stated reason.

For one, I don't particularly care what anyone else thinks of my media consumption habits. I state my reasons for pirating content - if someone disbelieves me, that is their prerogative.. the goal of not supporting people who campaign against me is achieved regardless.
Thank you. Nice to have them in one place and free at the same time.
Running a two-way git-Subversion bridge
I think your app should be for free and you can earn money from ads. You will have ideal target clients for many companies.
Nope. I'm sorry, but all the people I know have alarms on their phone for this purpose.
It's an interesting scenario and very likely, but I suppose FB engineers and shareholders are not too concerned about Facebook becoming a digital graveyard in 50 years because they will be dead themselves.
This does not solve the biggest problem with taking meds -- did I or did I not take that pill that I need to live but can't afford to risk an overdose of?
I reason about it this way, I observe that natural systems seek the lowest possible energy state. Selection forces on systems like these select for the most gain with the smallest investment in energy, which is an analog for lowest possible energy state. The rationale for this force on selection is that an organism is more successful the more food it gets vs the energy it expends to get the food. So any small change that increases net food energy returned contributes to the success of the organism, and an organism that is fed, reproduces to the next generation.

Is it optimal for all possible cases? We can't say, just like a rock rolling into a gully has achieved the lowest potential energy it can when considered as a section of terrain it sits in, may not have the lowest energy possible when you consider the whole planet. So for the carpenter ants, which have a worst case generation length of roughly 15 years [1] over a million years you have at least 67 thousand generations in which to find the lowest energy solution. So for the food gathering problem I would expect its pretty close to optimal.

[1] http://www.orkin.com/ants/carpenter-ant/carpenter-ant-queens...
Spotify already lets unsigned artists add their music through music aggregators like cdbaby: http://www.spotify.com/us/work-with-us/labels-and-artists/ar...

I suppose the music aggregators are a modern day take on record labels.
Oh an by the way this is solved with those special pillglasses that you fill withwhatever pills you need to take at specific times of the day/week.
This is pretty good for software. If anyone is interested in considering "the" solution to this problem in hardware, which involves a patent, please email me:

1) some proof that you have been involved in the successful monetization of a patented physical device in the past,

2) mention : "I hereby agree to the NDA located here http://www.yourfreelegalforms.com/item_1099/Non-Disclosure-A... as regards A SMALL PHYSICAL DEVICE INTENDED TO ACT AS A REMINDER TO TAKE MEDICATION" or words to that effect

3) your contact information and requirements

Please contact me at: yctechmgr@gmail.com and I will reply with a full brief.
Microsoft developed the "old" Surface (now called PixelSense) at the same time Apple was working on the iPhone. Both were released in very early 2007 after years of R&D work. Both had multitouch UIs of the type you seem to think are so innovative. Both arrived at these solutions at the same time because the wide availability of capacitive touchscreens (which neither MS nor Apple invented, mind you -- capacitive and multitouch tech was being done in lab environments back in the late-70s/early-80s by CERN, Bell Labs and others) made such UIs an obvious next step to anyone paying attention to the field.

Apple made billions off the iPhone while MS made peanuts off the Surface solely because of how each tried to bring their respective takes on the product to market. I give Apple all the credit in the world for knowing how to package technology up for mainstream use and bring it in at a price point the masses can afford, while Microsoft was dicking around with giant table size systems (primarily because being burned by the stylus-touch tablet market early, they had stupidly convinced themselves that general consumers didn't want touch at all) but you're totally wrong about this tech being completely innovative and non-existing before Apple came down from the mountain and presented it to us, because that isn't how it went down at all.

For someone who seems to have so little grasp on the real history behind all this stuff you should be careful about calling other HN readers out as you do in a post below this one.
maybe I'm mistaken, but I think this is more of "jquery programmer" problem. jQ really abstracts away from the nitty gritty of the dom api and also for any beginner / intermediate frontend guys the source is not very readable. In comparison dojo for example, requires you know what you're doing and also to have pretty extensive knowledge about js, the dom, etc. Also, in my opinion, its source code is very clean in comparison.
Signup pages (most definitely ones where the user is prompted to enter credit card information) should have SSL. I've trained my mother to look for the green bar. :)

You're using Heroku, it's quite simple to set-up: https://devcenter.heroku.com/articles/ssl
> superficially interesting.

"ESA Part 1 - Mirror1 https://gist.github.com/b4964a178363e17a3c7f Mirror2 http://pastesite.com/42466 Mirror3 https://privatepaste.com/31f9bd216f

> http://esa.ever-f.eu/page.php?edi_id=1
>> European Strabismological Association

"ESA.org - Mirror1 https://gist.github.com/66f000d8994fc19b7fbb Mirror2 http://pastesite.com/42471 Mirror3 https://privatepaste.com/118c4cd9b0

> ESA.org
> Ecological Society of America

> A story about a robbery, for example, would probably not be deeply interesting.

This would be like a robbery, as it does not show anything of value. What good is in 'hacking', generously speaking, the Ecological Society of America or the European Strabismological Association. Where they trying to sound hard by putting ESA there? Even though it's totally not the ESA.int we all imagined.

What a joke.
Ask HN:  Any non tech/non software Hacker News sites?
I like Hacker News but it is mostly software tech companies.
You are right, I should have written more explanations. Autism is quite special in that the symptoms are behavioral: impairments in social interaction and communication, restricted interests and repetitive behavior (this list is on Wikipedia). These are very different from aches and other simple physical manifestations. In fact, when we try to look for simpler symptoms, the set of symptoms becomes blur, in that no other symptom can be found always present together with to those core behavioral ones. The variety of more physical manifestations of autism hints at a variety of root causes. E.g., gastrointestinal issues are common but not always there. Cerebellar anomalies too. etc...

Sorry, I wrote that up fast, if you are interested you can write a reply, I'll try answering tomorrow, it's late for me now.
I am a c developer, now I want to learn jQuery , but its syntax seems so weird to me, Vanilla JS looks more comfortable to me , one questions, does it supported by webkit?
This is farcical reasoning. Apple chose to sue Samsung. They could have not sued them. Therefore, the problem is with Apple, who chose to be the aggressor in a bullshit rounded rectangle lawsuit.
Or magically sends you away from home without any of those devices.
Nit: is there a reason for the download to be in mkv format? I mean, it's simple enough to repackage with ffmpeg (-i ./file.mkv -vcodec copy -acodec copy ./file.mp4), but not everybody is going to be able to do that?

Otherwise, thanks! I usually find screencasts to be way too low-bandwidth for technical information, but these are very good. Cheers!
American football can be viewed as a chess match between the opposing coaches, with the players having the job of executing the coaches' strategies as perfectly as possible. Each play, both on offense and defense, is designed and planned. Here's an example play chart[0].

Soccer, on the other hand, is relatively continuous. The closest thing to an American football play would be how the teams prepare for Set plays such as corner kicks and free kicks, or their overall formation. It's not viewed as a series of "moves" like American Football.

[0]: http://www.wheelbarrowsoftware.com/images/fpd/fs5.jpg
I cringe in pain every time I read such posts. I'm almost entirely self-taught, but I was teaching myself for nearly twenty years now and am still learning, even faster now than ever before. And I will learn for the rest of my life. Hell, I'm writing a compiler now in my free time for fun (not that it's particularly difficult), I already did almost everything that average CS curriculum covers. Stop, please, assuming that being self-taught is in any way worse than being taught by someone else. Maybe it took me more time to comprehend certain concepts, but my understanding of them is just as good, if not better, than most of the graduates.

I know that what you really wanted to say is that people who lack motivation, passion and curiosity are worse programmers than those exhibiting these characteristics, but somehow you failed and instead wrote that being self-taught means that one cannot implement things as simple as binary search. And this is plain wrong, as is equating being self-taught with programming in high-level languages.
Bespoke touch oriented UI systems have been around for a very long time, some of them surprisingly sophisticated and innovative. A mate of mine used to do interfaces for touchscreen information kiosks, for instance.
All flash blockers let you cherry pick which flash you want to unblock. This means you can unblock content, but keep spam or other cpu wasters blocked.

This website does not let me do that. It redirect to a different page, and forces me to white list everything. Something I rarely do.
> If it's genetic, as you assert, then what hope is there?

Um... plenty? Tons of genetic diseases are treatable. This is where Genzyme, for example, makes most of its money. Cerezyme for Gaucher's disease or Fabrazyme for Fabry disease to name two.
Effortless Self-Tracking
He runs a company that charges for their product, why are you so wound up about this? He at least has some experience with the topic, and half of the article is quotes anyways.

No one is forcing you to read anything here.
I want to use vanilla.js, do you think I should minify it and serve with gzip compression? Anyone know if it will pass JSLint?
I agree in general, but I think most people are genuinely more at peace and happier when they have a permanent roof over their head at night, in which case it comes down to renting vs. buying. They can still have few material possessions at home. Some of my friends were mobile for years, living out of vehicles, but eventually decided that having an apartment or house is better.
For beginners, these are good:

- How to design programs (http://htdp.org)

- The Little/Seasoned/Reasoned Schemer.

- Code: The Hidden Language of Computer Hardware and Software by Petzold

- Coders at work by Peter Seibel

- The Pragmatic Programmer by Hunt and Thomas

- Code Complete by McConnell

For intermediate/experienced people:

- Structure and Interpretation of computer programs (http://mitpress.mit.edu/sicp/full-text/book/book.html)

- Software Tools in Pascal by Kernighan and Plauger.

- Programming Pearls by Bentley

- Smalltalk 80: The Language and Its Implementation by Adele Goldberg.

- Paradigms of Artificial Intelligence Programming by Norvig

- A Discipline of Programming by Dijkstra

While I've ommited some important language specific books, and ignored essential areas (algorithms, discrete math, hw arquitecture), I think this is a good starting point.
Functional programming has "design patterns" but few of them, and those design patterns make so much sense that you stop thinking of them as such and just think of them as the way to solve problems. Referentially transparent functions and immutable records for data are design patterns in the non-pejorative sense, but they simplify code rather than complicating it. These are the two design patterns of functional programming: Noun and Verb. For mutable state (monad vs. ref cells vs. message passing) and for the Adjective problem (type classes vs. inheritance vs. functors) there is less of a consensus.

Functional programming isn't always the solution, but it's amazing how often it is the right way of doing things. I just wrote some neural network code, because I'm developing AI for a card game, and I used mutable state because back-propogation feels "inherently mutable" and because mutable Arrays are fast (whereas Scala's Vector might not be). I regret doing so. If nothing else, I should have started with the immutable solution and only moved to the mutable one if there was a measured performance benefit. So many bugs are invited in when you start using mutable state.

My problem with Java-the-culture is that it seems to come from a hatred of mathematics and the reality of what programming actually is: solving computational problems, and using abstractions when they simplify solutions. Large-project methodologies with the weird design patterns seem tailored to make the programming process easier for people who failed Calc 2 to manage. To make it something that non-technical higher-ups can understand and commoditize: "We have 38 Java developers, 302 kLoC, 1973 Factories, and 714 Visitors, and we're going to double all these numbers in the next 6 months." (Never mind whether any actual problems are being solved.)
My fingernail works just fine, and with much finer control than my blob of a finger on an aPhone or iPhone. Apple added some cool stuff, but I definitely interact with my Centro's screen by touch, with very little error.
There are two primarily legal structures for an acquisition. The first is a stock purchase, where the negotiated terms of the various classes of stock all apply. The second, is an asset purchase, sometimes called an intellectual property purchase.

In an talent acquisition structured as an asset deal, the acquirer doesn't actually purchase the company's stock. Instead, the buyer gives the seller money for the purchase of the company's IP and other assets and the seller then lays off it's staff with a somewhat informal agreement that all of the employees will sign negotiated employment contracts with acquirer. The result is that the percentage ownership doesn't come into play directly for the employees.

Generally, the acquiring company has an interest in optimizing their position for the repeated game (ie. they don't want to piss off investors, so they keep getting deals like this). The minimal required to avoid pissing off the investors is to give them their money back, although smart entrepreneurs will push to get return for their investors (often at the founders' expense) to strengthen their own position if they ever plan to raise money for a future venture.

Now, since an asset deal isn't actually purchasing stock, they aren't really establishing a value for the company. There's this indirect valuation, which is somewhat advertised as the "total deal size". So when you hear about a X million dollar talent acquisition, you're often hearing about the total amount of money that the acquirer expects to pay to all parties over the vesting period.
A very very interesting point to think about... I don't see this original post as having a difficult tone or serious grammar issues. Would be interested to hear more of your thoughts about this issue...

I tend to feel that when someone gets angry and start calling names, it signals that either the person hasn't really thought things out or the person has difficulty seeing other points of view. There are multiple perspectives on many engineering topics.
are you serious, so initially Samsung copied Apple theres nothing you can see that Apple copied from Android ? Look at IOS5 and you will see a lot they copied.
Show HN - ICErepo: Sync your server files and Github repo's
>> Only Apple had the supply chain to build an affordable device

Don't disagree, but if you flash back to 2007, there was still a huge outcry over the "high" price of the iPhone.

People back then had forgotten that they had paid just as much for the first Razr.
SelfControl on OSX is game-changingly good --

http://selfcontrolapp.com/

Only one piece of the puzzle, but a big one.
Right, but then we'd be talking about the difference between a "directed tree" and a DAG...or a "rooted tree" and a DAG. But yea, I'm sure grand-parent gets the point by now
So he is a full-time blogger now? It's a shame to waste all this advice :)
As the link by lttlrck also advocates: throwing shit out can easily be a mistake. More usually, http://www.amazon.com/Working-Effectively-Legacy-Michael-Fea... + http://www.amazon.com/Refactoring-Improving-Design-Existing-... can get you further, faster. Stuff keeps working while you incrementally improve it.
These are different articles, Casseres. First one was MacBook Pro battery tests, this is a follow-up with MacBook Air tests.