skysight-inc/HackerNews huggingface dataset:
It seems to be a fairly simple patch for 1.8 series, too:

https://bugs.ruby-lang.org/projects/ruby-193/repository/revisions/43776

just a few lines truncating input in util.c.

Break your ruby here:

JSON.parse("[1."+"1"*300000+"]")
TDD is overrated and overused, with no regard for the cost of developing/maintaining the test suite. You should join them -- you will probably learn something about building correct software, such as "automated regression testing is not the only way". Ironically, tonight I have fired up the RT I use for one subsystem because it needs work. ie, RT has its place, but the TDD crowd thinks every place is that place. btw, the idea that you would not join a group you like because they do not use TDD confirms what I have come to suspect from interviewing more than a few Rails folks: TDD is a bit of a cult, a tail now wagging the dog of how its adherents think about programming. TDD can be great, but it has its place, limits, and cost.
This is also not very interesting question. It was recognized ages ago that mechanical, manual labor, such as assembly line or McDonald's , should be organized in an open-space, while thinkers must have their private comfort zones (which is very expensive) and occasionally meet in a small groups to share ideas.

The balance is quite subtle, as usual. So-called brain-storming sessions (which in the language of normal people is called a discussion group) could be very effective (only if participants have something to be stormed) while meeting of committees of idiots is always a disaster. The first activity is centered around subjects and goals, while the second is dedicated to the action itself and a sense of self-importance.

In other words, for those who think of software development as an assembly line (which is very wrong) mass-production best practices are quite appropriate, while others, who think of it as a process of writing poetry, the best practices appropriate for a writers and thinkers should be considered.

Unfortunately, idiots dominate the world.
Just wait until somebody staples them to a sex-ed pamphlets and hands them out on a college campus.
We are currently working on exactly that. The idea is that we check your dependencies every time you push to GitHub. Here is the current status of that hook: https://github.com/github/github-services/pull/727. I hope to get it done next week.
Thanks for posting! The article from NEJM is at http://www.nejm.org/doi/full/10.1056/NEJMoa1307352#t=article. I didn't see a direct link to it in the Harvard Gazette news story.
Let me suggest a new law: You have to either factor this product of two 8192 bit primes or implement standard X. It's not incorporation, or is it?
Has a causal relationship been demonstrated from nuts to health, or is this only a correlation? Couldn't it be that health-conscious people are healthier on average, and they usually choose to snack on nuts instead of snacking on something unhealthy?

The line "individuals who ate more nuts were leaner, less likely to smoke, and more likely to exercise, use multivitamin supplements, consume more fruits and vegetables, and drink more alcohol" further reinforces my belief that there's just a confounder here, e.g. maybe being affluent and educated explains all of those. (Yes, including alcohol consumption: http://blogs.discovermagazine.com/gnxp/2010/05/people-of-cla...)
It doesn't. FF is my default browser. If I click on a notification from the NY Times, it opens in Safari.
According to the study made by SBU, it is very hard to get into a ketosis stage that is dangerous. You would really have to skip every nutrition and only eat fat - doing that is dangerous and not even recommended by LCHF diet. The amount of carbs you get from sallads are about 5% of a diet, this is the recommended amount that would keep you from going into a high-ketosis stage.
This is literally stating that correlation implies causation.
Recently Bill talked about making the whole world better. And now inventing condoms... Well, i'm scared.
Recent research shows that guilt is not a good motivator for behavior change. People are already struggling with their own health problem, obesity, and many feeling guilty about it. Adding guilt about poor kids dying of hunger on top of it seems a bit tough.
You are correct, diabetes type I should NEVER go on the LCHF diet - it's impossible.

I went on the LCHF diet in March, and have gotten rid of my type II completely - i also lost 10KG of overweight in about a months time.
Example: The law says that the pacifier must be made in such a way that it cannot be swallowed.

Your options are:
1. Develop your own way of ensuring that the pacifier cannot be swallowed and prove that it's effective
2. Buy the standard, follow it and prove that you are following it.

Option (2) is generally cheaper. Hence the market for these standards.
I can read too, announced here https://www.ruby-lang.org/en/news/2011/10/06/plans-for-1-8-7... . However I do think discontinuing security updates after 2 years announcement for a product that even they say is "more or less" used by everyone isn't the best decision.
Apple must need to know who you are as soon as you log in for this to work. Presumably this only works if you have some kind of Apple account. Do Macs call home each time a user logs into a Mac? If so, are Mac users generally aware and OK with this?
I don't know why the three of you insist on trying to shift the argument to piracy, which I didn't even bring up. There, unfortunately, lots of people who defend the idea that 'there's nothing new under the sun' and therefore it's OK to appropriate the work of others for remixing or what-all else.

The fact that you're defending against an argument I never made in the first place strikes me as a classic case of 'protesting too much'.
In other words, the amount of nuts you eat correlates highly with the number of years you're alive.
"Risk of Death"... pretty sure it's still 100% :)
Do you also find it fascinating that, in this day and age, posting a link to this kind of thing can make you a lot of money?
"Because we lacked data on how nuts were prepared (e.g., salted, spiced, roasted, or raw), we were unable to examine the influence of preparation method on mortality."

Acrylamide forms on almonds when they are roasted ... not sure about other nuts. Its probably a safer bet that raw nuts are healthiest.
The title is a joke, again. "Nuts consumption reduces risk of death" hinting at direct causation, and later in the article "The authors noted that this large study cannot definitively prove cause and effect". Can journalists stop linkbait titles ?
There seems to be a misconception about LCHF, it means LOW CARB not NO CARB. I've been on the diet since March and lost 10KG and is now stable on 67KG weight and i'm 174cm long. I eat about 5% carbs each day, most from nutritious sallads, vegetables and berries. And i have NEVER been healthier in my life, even my doctor confirms this.
Laws tend to be general. For example a lay might say something like: Communication between two parties needs to be secure.
Now, what is secure, how do you define it? Like tomte said you have the burden of proof. One way is to say you followed a standard because standards are formulated by "experts" and thus your communication is clear.
An alternative is to develop your own secure algorithm - you might have to proof this at some point that it really is secure.

If a law says that all communication needs to be encrypted using technique x, then it will be outdated as soon as this technique is broken. Thus a law specifying that communication should be secure is something that can last much longer

Besides, this information is very technical and not in the slightest consumer oriented! After looking at the first document I certainly don't want to read further. That is why we have standard bodies, law makers and journalists to do this stuff for is. I don't think that a raw dump would help anybody
Why Technology Recruiters Fail
I agree the situation is not ideal, and I applaud any effort to try to show that the way the law and the standard are intertwined make for a de facto incorporation of the standard into law (which would mean the standard would have to be accessible for free).

It is not clear from the article that that's going on, and it's also not made clear why starting with a copyright violation is a good way to bring about this change. To me, this reeks much more of trying to get publicity than actually trying to change things.
WebRTC is not yet a standard, video codec is still being discussed, so not surprised Apple is being conservative. Google is much more experimental with Chrome.
And here is the manual for the T language http://web.archive.org/web/20060925104715/http://mumble.net/...
> I see C and I wonder if that's the best we can do for a systems programming language. Maybe C is just a local optimum that we have just invested too much manpower into to switch to anything else?

At this point the ecosystem around C is too big to justify the cost of switching for the domains it's used in. Any new contender is going to have to offer something new, without giving up any cost in performance or control over the machine.

With Rust (disclaimer: I work on Rust) we're shooting for safety to give us that edge—having the compiler reliably prevent use-after-frees and buffer overflows instead of discovering them through 0-days, without the traditional approaches that sacrifice performance and control over the machine (GC), seems pretty compelling to me. Even if we do succeed in getting enough new projects to use a safe language to make a difference, though, C will still be immortal; once a language has that much staying power it'll be around forever.
Based on the description I think we can safely assume the company name starts with a letter 'M'. ;)
I run a B2B business with 2 other people. Our monthly costs are sub-$100/month and we pull in a little over $10K/month in profit.

The business has only been operating for 4 months..and has been profitable from day one.

Although this was successful from day one, it was a result of 2 or 3 pivots over 3 years. All of the failures and successes from those pivots were fine-tuned and put into the current company.
Please don't just copy the S3 api outright. Improve upon the idea and make it simpler, then add an abstraction layer to support the S3-compatible API.

There's value in improving upon existing things. Stripe is a perfect example of taking an existing service and expending a lot of energy getting the APIs and developer experience just right. Prior to Stripe, many devs had implemented payments in their site/app, but it wasn't until a solution like stripe that they actually enjoyed doing so.
Why You Should Do Lunch With Leaders
Maybe I'm wrong, I'm not a tv producer:

1 - interviewer was on the phone too much, it was distracting.

2 - interviewee should be told not to look at the camera (it's an interview not a sales presentation or speech) - probably would be easier if not for '1'
Reverse causality is another possible explanation for our findings, because people with chronic disease and poor health might abstain from nut consumption. However, we excluded participants with a history of cancer, heart disease, or stroke at baseline, and we suspended further updating of all dietary variables when participants reported a diagnosis of stroke, heart disease, angina, or cancer. Moreover, the results remained significant when we excluded the first 2 years of follow-up and added a 2-year lag period between nut-intake assessment and each follow-up period.

Indeed, clinical trials have shown that nut consumption has beneficial effects on some intermediate markers of chronic diseases, such as high cholesterol levels,3 oxidation,6,7 endothelial dysfunction,13 hyperglycemia,6,10 and insulin resistance.11,12

The above quotes from the NEJM article imply more than simple correlation, but the conclusion of that article stops short of stating that, specifically, "Nonetheless, epidemiologic observations establish associations, not causality, and not all findings from observational studies have been confirmed in controlled, randomized clinical trials."

Source: http://www.nejm.org/doi/full/10.1056/NEJMoa1307352#t=article
Audio visualizer using Three.js
Wow, this is one of the worst threads I've seen on HN. Pretty much just /r/technology.
Show HN: An elegant profile for a more civilized age
Things not working out for MS has little to do with engineering and a lot to do with direction and product.
First off, when I say "maintaining" I meant the configuration. When I say patching, I mean patching, not just trivially installing software updates. Spearchucker was trying to make this a look like a huge disadvantage over maintaining a Windows system, which it obviously is not.

Oh and as far as I'm concerned "3 to 5 years" is still pulled out of nowhere. You aren't mentioning any sources, just describing a really vague process that you think is "common". If you have a working, flexible system with which you can harness a huge continuous effort in developing the technology behind it for free, you aren't going to kill it off just because your enterprise clock says so.
Ask those who work in fields that don't have a harmonized standard at their disposal.
These are also product philosophies, relating to how much you are willing to make life difficult for yourself to keep the interface to your product simple.

One thing my VP (at Google) said has stuck with me: "It's okay if the code is gross as long as it's hidden behind an API. If the problem's complex, that complexity should be captured in the code rather than forcing the user to deal with it."
Jumpkick: Get First Dibs on Great Kickstarters
One of the backers of my kickstarter just shared this with me... it is not going to do my wallet any favors.
The problem with any such rating system is one of intra-operator error. My five might be your ten and my ten might be your five.

The most valuable information is the long-form review, which would get them sued out of existence. Stars and ratings are worthless.

If this ever takes hold, I want to see an app that discovers if someone you are about to go on a date with posts reviews on such a site. It would be ironic if this app caused the women who use it to get less dates because they've been identified as a ratist.
I always wonder how much substitution benefit plays into studies of this sort. That is, does just not eating really unhealthy foods get you 85% of the way there (with little doubt that the healthy fat in eg almonds, and the protein benefit, add positive value).
And that's why I run my own mail server nowadays. Privacy, control over data, and at least I'm responsible for my own downtime without impacting more than a few people. Decentralisation for the win, in my opinion.

Also credits to my ISP for allowing hosting of my own server, running native IPv6 and of course opening port 25. Xs4all is a really cool ISP to have in the Netherlands :)
My ass, it is nuts we all need, Harvard says so!

Tibetans who never saw a tree in a whole life must be died away long ago without a proper nut supply.)

Yet another example of a meme-based science.
The whole point of the article is that encouraging condom use is better then discouraging it.
DIN is the German ANSI
He gives where he think it can do the most good the most efficiently. Specifically, his major goals seem to be global disease reduction and elimination.
Winamp isn't an idea.
Do you think Microsoft is offering AOL less than $1M? Selling to Microsoft would be an easier transaction and a bigger headline.

But I do think your venture is much more interesting! :)
Hah, yes, sorry - I'm not encouraging cannabis growing in the office. Pretty sure that's a standard name for a houseplant in UK English, didn't make the connection with the US term at all when I was typing it.
This "Learn X in Y minutes" snippet [1] showing a bunch of examples in Julia is the best starting point. I always return to this one as it is usually much faster to find what you're looking for than searching the docs.

1: http://learnxinyminutes.com/docs/julia/
Yes. It's optional, but most users use an iCloud account that sync their address book, calendar, etc.

Just like Microsoft and Google.
We opted to do it with ansible.

https://github.com/blueboxgroup/ursula/tree/master/playbooks...
Does that necessitate that in order to be batshit crazy/inspired, then you always have to be one level up beyond the minions? You have to be crazy enough so that most people don't understand/see/share the vision, but have indoctrinated a handful of skilled people to then spread the message?

This analogy is getting closer to prophets and priests... still, I'm inclined to believe that if a director doesn't inspire some sort of positive craziness, then what else does he/she do?
GPUs would make terrific network monitors
What kind of citizen thinks that required legal standards can be private property and uses the word "entitled" to refer to public standards?

The answer: a corporatist with no sense of the notion of public goods.

This generation scares the shit out of me.
You work at Salesforce? ;)
Very nice. I'm using it on all my projects

but

"All JavaScript configuration variables are now under_score instead of camelCase"

Is that a joke? Why did you do this?
I know there are no official guideline, however most of popular js projects stick to camelCase, why wouldn't you?
Oh, definitely. But then there are plenty of other ways of increasing programmer productivity which don't look like busywork so non-programmer managers won't have them. I guess try to get out of employment situations like that...
It's because we're adding a button to download the entire pack. Bad wording, we should have let it empty until the button is there.
Can we consider using "impenetrable condoms" as an intended pun?
Let's not get offensive, OK? I have been programming in University, learning on my own, both R and Python (and SQL, Javascript, HTML, CSS). I played in Python for 3 years. I am not a noob, I know what I am doing. My "problem" is a half assed github. And you know why is that? Not because of my bad programming, but because of lack of motivation. Really, we are not all ninjas here coming home from a 9-5 and then coding on side projects till 1am. Many people lack that kind of motivation and that is why we need people willing to mentor or at least being friendly.

Finally, if a push from a total stranger can mess up your code base, I wonder if you know what you are doing. We do test driven development for a reason.

P.s. I am giving you an up 1 so I make sure you read this.
As long as you're not doing anything heavy duty or sensitive, nor addressing large datasets you can squeak by on 1gb, but you might spend a little time tweaking the JVM settings for your app and datomic.

Easiest way to squeak by is to not actually start a real transactor but to use an in-memory instance, but that's obviously ephemeral and not going to guarantee your data doesn't go poof.
'We the Geeks' Student Startups Google+ Hangout Tomorrow • vlogg.com
Xs4all is a really cool ISP to have in the Netherlands :)

I heard they had gone downhill recent years, resembling more of the regular commercial ISPs, but good to see they still have something going for them.

We definitely need more ISPs like this.
We're adding a button to download entire packs in one click, in all formats. This should ease a lot the navigation. If you have photoshop you can also use our plugin to search directly from photoshop and insert any icon that matches your search in your project.
I nearly forgot: one of the strongest arguments for having a law in general, and a making the purchase side criminal is this: The selling side knows its own consent, but it can be argued that the buying side can not tell wether the seller is consenting (as claimed consent can't be given any value).

If one accepts that problem as real, then one could also say that while there may be both consenting buyers and sellers out there, there are no buyers that can claim they are actually dealing with a consenting seller.

The argument is powerful because it dismisses the whole "consenting adults" idea by stating that there exists no pair of consenting adults where the buyer can actually know whether the seller is consenting.
Affirmations and the law of attraction
Free queries modulo the degree to which all your queries touch the same data and you can store the entities you touch in memory.

You could hypothetically thrash the LRU by working with a large dataset and forcing the LRU to cyclically evict the data, but even the pathological case is at worst identical to how SQL databases work.
When It Pays to Prove Yourself Wrong
Hi, we will love to hear your ideas on how can we improve it, or more details into which parts are more painful. My email is my HN login @gmail.com.
More and more people are moving from projects like chef to ansible because people need a way to manage servers without the need of too much server dependencies, it is so obvious and I really can't understand why chef developers can't see the needs here.
Play through the Whodle: Doctor Who's 50-year anniversary Google Doodle
I've recently done a project with Semantic-UI, and there are still a lot of gocha's with specific nestings you'll have to follow and some ui blocks that don't mix wel, but the worst thing for me are the modals. If you have more than one modal, you will get both modals being triggered at some times, sometimes, you'll get the fade in/out animation 2 or 3 times, etc.

It's still a young project, and imho one of the best looking ones, but there are still a lot of quirks to work out.
Wouldn't TypeScript help a lot in handling these changes?

You break/change something and then the rest of your code wouldn't compile until you fixed it everywhere (and it would show you where). You wouldn't have to worry whether you forgot something since the compiler wouldn't let you get away with it.
Refactoring tools on top of TypeScript (like Resharper and Coderush) will eventually be able to safely do these changes quickly across the whole project.
I preferred the Guardian[1] piece on this, for it's lack of real content (who's heard of graphene?) and very entertaining comments.

[1] http://www.theguardian.com/commentisfree/2013/nov/21/graphen...
One defendant is in India, second is in the UK. How does this work- if they win, how will they collect from India?
so is there angularjs framework for google app engine + endpoints ?
Unfortunately, the encrypted notes (and the binary attachments) do not match very well with git inner working. Also, git is GPL-licensed and, you know, GPL and App Store don't play well together. A clean room implementation of git on iOS would be a significant project in itself.
Tediousness of hiring a contractor is exaggerated. I've had clients from many places, including USA. Signing the contract was as simple as putting my signature PNG file into PDF and sending back. Payment was done with invoices, through regular bank wire transfers.
And unfortunately totally doesn't work for a "Smart TV" where you want the TV to be able to browse YouTube but you don't want it to send the names of your local files to anybody.

We need much more capable filtering.

It seems that because of these immoral corporations (hm, aren't they by definition that way?) we as users have to implement the "Great firewall of China" for our own networks. Bad times.

And as Terr_ notes on this page, we should actually fight for the legal mechanisms to forbid such practices and punish the companies who invade our privacy.
As far as I'm aware, iCloud accounts aren't required for push notifications. The push notification system identifies devices by an opaque token that isn't tied to any user-identifiable information.

Edit: The Apple Push Notification Service documentation at https://developer.apple.com/library/ios/documentation/Networ... talks about the architecture and seems to match my recollection.
The irony of this is that I've seen Rands in action in management. And he really should listen to his own advice.

Rands's article sounds all nice and dandy, but he can't even apply it effectively in practice.