skysight-inc/HackerNews huggingface dataset:
You're right, you were lucky. Kids who do stuff sometimes die. Life is a deeply, profoundly unfair thing, in ways that cannot be fixed. If you want to have a life worth living, you have to do stuff, but that entails risk that something terrible might happen. I was tempted to say "but that doesn't mean you should take stupid risks like playing with gasoline" but then I realized even that was wrong. We took away chemistry sets and only later did somebody ask a bunch of scientists what got them interested in science, and it seems like quite a few of them say things like "burning/blowing stuff up."

http://archive.wired.com/wired/archive/14.06/chemistry.html

"Vint Cerf – who became one of the architects of the Internet – spent months blowing up thermite volcanoes and launching backyard rockets. Growing up in Colorado, David Packard – the late cofounder of Hewlett-Packard – concocted new recipes for gunpowder. The neurologist Oliver Sacks writes about his adolescent love affair with “stinks and bangs” in Uncle Tungsten: Memories of a Chemical Boyhood. “There’s no question that stinks and bangs and crystals and colors are what drew kids – particularly boys – to science,” says Roald Hoffmann of Cornell University, who won the Nobel Prize for chemistry in 1981. “Now the potential for stinks and bangs has been legislated out.”"

Maybe you don't get these great people if you remove their freedom to explore in their formative years. But that freedom also meant a bunch of kids blew their hands off or worse, and if your kid dies in a gasoline accident, it's your fault as a parent and nobody says "well he just wanted his kid to be Nobel Prize material, valiant effort." It's unfair, but reality doesn't care. All you can possibly change is the societal attitude, not the actual fact that freedom means some unsupervised kids always are gonna die and it might be yours.
I made my point already.

A lot of the experts are on the payroll of the food industry. They work directly on it, or their research is funded by it. The same way there was tons of tobacco industry sponsored studies in the seventies, that said it was all OK. The same way studies on sugar were downplayed.

A university (research funds aside) doesn't have the kind of multi-billion interests a whole industry have. Their researchers have other shit that can interfere with their research (e.g the need to churn out papers to stay afloat, or the desire to write a controversial paper to make their names known), but nothing that trumps hard multibillion monetary interests.
I endured high school as a nerd. The city and state had years to convince me I could find respect, camaraderie, and love if I chose to stay, but instead they demonstrated how freaks would be treated and that nobody had my back. I have no loyalty for the place or the people.
Flight bound for the US Make sure your smartphone is charged and working
I miss some important stats:

- Your height. To calculate your BMI and contrast it with your Body Fat %. To be a runner, your BF% is high, but I cannot see whether it is because lack of muscle ("skinny fat") or excess of body fat. As you are not logging any weight training session, my guess is the former, but I am sure you are not logging all these data to end up guessing :)

- Triglycerides: I find this much more important than LDL/HDL. It as a proxy for excess carb (either you are eating too many of them, or you are exercising too little). Remember, triglycerides are produced in the liver from any excess carbohydrates that have not been used for energy. They have nothing to do with dietary fats.

- Total cholesterol. To be able to calculate the TC to HDL ratio.

- LDL/HDL ratio. With you current stats it is at 1,5 (average risk), but it should be handy to see it in the dashboard.

My suggestions:

- Do some weight training. If you goal is to be healthy, this is key. A couple of 30 mins heavy sessions per week will do it. No need to become a gym rat.

- Eat better.

- I see that you are running outdoors, but your D3 levels are mid-low. I guess you are running either too early in the morning or too late in the evening. Try to get some running with the sun right above your head (just bring more water with you)

Congrats for this herculean effort.
Except even frogs aren't that stupid and get out.
Even mean and median aren't that informative as the distribution is probably non-Gaussian. A distribution incentives or even deciles would give a much clearer picture.
At least here in the UK - and I believe the US is the same - our major supermarkets won't buy fruit that isn't visually flawless, even when it doesn't affect the flavor. They charge the farmers for disposing of it too. So a lot of effort - and spraying - goes into keeping as much of the fruit flawless-looking as possible.
Collection of CS paradigms, algorithms, and approaches written in JavaScript
This isn't related to the question at hand, but one of the most interesting ways to handle this was in a smalltalk app i saw, which turned the result into a custom NaN and stuffed the execution context into the variable so even if you restored it from the database, you'd know exactly where the divide by zero occurred. That's different from all the other languages where NaNs propagate but you don't know their origin.
Thoughts on Integer Overflow Handling (Rust Mailinglist)
Completely agree, especially since Chrome now offers to translate web-pages in other languages when the user opens them. It's far better to leave the decision to use machine-translation to the end user.
That's a great article, and the sequel on "Goldilocks" languages like Lisp & Julia appeared last week as well:
http://graydon2.dreamwidth.org/189377.html

An overview with excerpts also just appeared on LtU:
http://lambda-the-ultimate.org/node/4990
If you're using a language like C that makes terrible obsolete compromises, it's hard to definitively say any bug can't be exploited to defeat your security. Attackers are getting better because the consequences are getting more severe (and more rewarding for them).
Restaurant Watches Old Surveillance And Shares Shocking Results On Craigslist
Clicky link: https://github.com/kr094/perl/blob/master/golf/fi.pl
> One more idea I didn't see is to mark the variable as "invalid". A general "this variable doesn't have a value because the program did something bad", which carries a full stack trace with itself.

A simple way to handle exceptions like that (and I didn't see it mentioned among the answers) is to return 2-tuple from the function: result value and error information. The latter could be empty, but both could be present.

Though this might be overcomplicating things, given that OP targets the language at novices.
Yes, I personally met one startup that had turned down YC's offer. They've since went on to raise more than $1.5MM. They thought YC wanted too much equity.
the fascinating thing about those studies is the implication that many kinds of human knowledge are (normally?) distributed, and you can ask questions that's hard for an individual to get right but easy for a group (crowdsourcing). somewhat akin to how one brain cell doesn't contain knowledge, but a (large) collection of them do. it's like there's built-in fault tolerance. =)
It's not possible to syntax-highlight perl code perfectly without compiling it... but I'd expect a decent perl syntax highlighter to process that line correctly.
NaNs are an incredibly good idea, but it turns out we really need only one.

Also, two's complement signed integers have an asymmetry that INT_MIN < -INT_MAX.

Therefore, I were to design a CPU today, I would add arithmetic instructions that treated INT_MIN as a NaN, thus removing the asymmetry, and giving us an integer NaN.

16 bit int values would range from -32767 to +32767, with the bit pattern now used for -32768 being NaN. You would use it for everything that isn't representable as an int (overflow, underflow, 3/2 (as opposed to 3 mod 2), etc)

Yes, that CPU would also would have instructions for doing the regular modulo 2^16 arithmetic, but 'sane ints' would help not penalize programming languages that want to do sane integer arithmetic.
"reproducible development environments" - what does this mean?)
while i honestly answered all of the questions in the story, i have to admit i did a view source on the codeword because i didn't have the patience to work out the problems in the google doc before seeing how the story ends (disappointingly, i might add).
LD50 (acute toxicity) does not necessarily correlate with harmful health effects from chronic exposure. Can you cite studies that demonstrate harms from exposure at the levels used in organic farming?
Ateljee De La Musique – "I NEED 2" [Vocal House] (2014) New Release
The purpose is whatever the AI is designed to do. E.g. pass a Turing test, design things, whatever.
Fascinating - much quicker than I supposed.

For me there are three lessons - one humans still love cities for good reasons and will keep to them if possible. Two most major cities are coastal (fucked) or river (property close to the river is fucked the rest is salvageable) and three remote working and water rises will deal a double whammy to traditional commutes and workin practises, spreading city life to some combination of suburban and city

In short, I think i will buy land in Toronto and Greenland
The dykes needed would require massive civil engineering projects and expensive pumps as mentioned in OA (the bit about New Orleans). That needs coordination at a regional level and I gather from the OA that the required consensus does not exist.

I think you have a point in the sense that building a consensus may require a tacit agreement not to mention global warming, but simply to look at the frequency of flooding in specific areas (which will show a rise) and the inland creep of the 'potable water contour'. I'm saying agree about the phenomena and agree to disagree about the cause.
Open source Linux board with WiFi and many peripherals
But as a kid you probably didn't realise that this opportunity was for a limited period and if someone had tried to tell you, you might not have listened anyway.

What opportunities do you have right now? Can you see any of those slipping away? It's really hard to think outside of the box on this one.

Perhaps you'd like for someone to tell you what you should do - but if they did, would you listen? And if you did, would they be right?

There is a constant stream of opportunity. Looking back and looking forward can be useful, but not if it stops you looking in the present.
I think what "environmentalists" are angry about is the logic of "climate change is not man made, therefore climate change is natural / gods will, therefore we won't do anything, including dykes and infrastructure or like movin people.
That's a knee-jerk reaction and you know it. The answer is what it has always been: We, as a society, will figure it out as we go along. Right now, the collective says you can't drive over a certain speed, you can't build particular buildings in particular locations, you can't operate on people without training, you can't smoke indoors in several small pockets of society, you can't just broadcast RF at certain frequencies, and so on. No, we don't have central economic planning to the level of detail you sarcastically ask, nor do we have sociological planning like that (though, I do note, that arranged/forced marriages and the accompanying acts of procreation _were_ considered reasonable for hundreds of years).

Being told "no" by society doesn't imply any status of rightness or wrongness, nor is it a reason to get all petulant and start asking "illogically-extending-the-argument" questions.
I'd go with R and its shiny webserver, checkout some examples
http://shiny.rstudio.com/gallery/
In that case that's a nasty tracker image by a german "writers collecting society"...
Consider that like Chelsea Manning, at some point in the future Barack Obama may announce she has always been a woman. Also like Chelsea Manning, at that point you would be obligated to alter all past and present references to Barack Obama as "she," or else be guilty of a hateful and cruel misgendering slur. So as a matter of practicality it's probably easier just to use the singular-they in every case so you are being respectful. On the other hand, it still wouldn't be considerate to leave it at "they" if Barack Obama had clearly stated her preferred pronouns, so you might have to change it anyway so now I am not actually sure what advice to give.
Autoankauf duesseldorf
Laser helmet promises to curb hair loss
I guess it will smell bad.
I think the realtime microkernel will run on a different chip, so no, I don't think they've moved this way.

It's possible that the task switching overhead for a paravirtualized kernel is to great to make it worthwhile to save a chip on the board.
Reposting a comment from marcofloriano who seems to be hellbanned (you can see the whole comment by enabling the option "show dead"):

---

I´m Brazilian. I have an online education startup for web designers and i´m working really hard trying to get education better here. My english is not very good, but we could meet at skype, if you want.
As a child, I had all sort of dangerous adventures. As a 5 year olds (I don't really remember this one), we built a bonfire and got caught. As nine year olds we snuck out and went canoeing on "borrowed" canoes. At 12 we played around a farm with petrol. We climbed barn rafters hunting pigeons.

At 15-16 I smoked a lot of grass. We misused it and smoked much more than I would now. I had deeply tripy experiences dozens of times. Some of them scary. I don't think grass is bad, but I think it's tricky for kids, especially as it is basically open criminal activity. It create a distance between them and the police/teachers/parents.

I wouldn't take any of those experiences back. I find I like people who had such experiences as kids and that when I meet 19-20 year olds without them, I kind of think it's impoverished.

OTOH, I can't imagine standing by and letting 15 year olds smoke large quantities of grass or 9 year olds go canoeing by moonlight unsupervised.

All those things take casualties.

Catch 22.
> Please don't use this unless you really have to

CORS is not fully supported in older versions of IE. So that essentially means that we need to resort to these hacks just for IE.
Or SimplyRain? http://rain.simplynoise.com/
For the life of me I cannot remember, it may have been in some DS9 episodes about Dr. Bashir. But I believe it was stated that eugenics had effectively eradicated a lot of social ills before the issue of genetically-augmented superhumans led to the Eugenics Wars.

Honestly the takeaway of this is that questions like "do you want to live in Blade Runner or do you want to live in Star Trek" don't work because Star Trek is more fantasy than science-fiction when it comes to how some of that stuff works.
The Structures of Growth
Especially, not exclusively.
AFAIK - PostSharp modifies your code based on annotations you specified on whole assemblies, namespaces or just classes during compilation to do stuff that otherwise would be impossible
> Isn't sending data "somewhere" pretty common. Unless this is middleware in python ecosystem, data is going to go a logger, database, console, web page, file. Am I misunderstanding it? It seems you are dismissing it as something one doesn't need to worry about, because it is not done much...

In my opinion, the high frequency of sending data "somewhere else" is precisely the reason why unicode strings make so much sense.

Yes, there's a processing overhead. Yes, there is a need to make sure that all strings that go into python are valid unicode. And yes, if you happen to live in a part of the world where you never need characters outside of the ASCII table, it is likely a massive pain in the arse.

I have never enjoyed the privilege of the last one. The single, most important thing about unicode - at least for me - is that conversion from unicode to any other encoding is in practice a well specified operation.

(It may be luck that I've never had to deal with strings that would use multiple diaresis variants. I've been informed that mixing those symbols gets particularly ugly in terms of string transformations.)
But why would you want to catch and handle division by zero? Seems like the normal thing an exception should do in that case is to kill the process.
It's proven to be far simpler to leave the radio's RTOS on a dedicated core and run the user facing OS on its own core(s) -- modern mobile SoCs are not starved for compute resources (not uncommon to see a single chip with a dedicated ARM core + DSP for the baseband, dual/quad/etc ARM cores for the "apps" processor running the user-facing OS, a GPU with additional compute, etc, etc.)
Same problem here. Windows 7 64-bit, Opera 12.17.
That is almost the final mile problem for this - doing OCR on handwritten notes.
The thing is, there's Amazon and Netflix which covers most movies and shows in the US.

Unfortunately it's JUST in the US. Netflix UK for example doesn't have Caprica. That was on Lovefilm ... then it's not Amazon prime now has it as Pay per view.

I was watching StarTrek TNG on Netflix last week. Started at the start of Season Three. Suddenly it disappears from my "Resume watching list". A quick search of it later only Season Four and later is available.

The Matrix, not on Netflix UK.

I could go on.

Studios need to stop thinking in terms of DVD sales, and regions and understand that the global market WILL NOT WAIT, and WILL NOT TOLERATE this behavior and look for other ways to watch movies/shows that they want to watch.
>The true innovators are entities like intel, nvidia, IBM, AMD, ARM, the IETF and IEEE who are able to create standards like USB, wifi or bluetooth.

You mean all those private companies? I wasn't talking about Kickstarter. Kickstarter is a toy service for funding toy products.

When I said a top-down vs bottom-up approach to the economy, I meant a single government-controlled bureaucracy vs. private enterprise. In this case it would be government vs. IBM, AMD, Intel, Microsoft, and every other private enterprise. I didn't mean Fortune 500 companies vs. startups.
2's complement (the binary representation of numbers in a cpu) has one awesome feature, if you add two signed numbers, even if one or both are negative, you get the right answer. This means that you can add two numbers without checking if one is negative, saving time and scarce circuit space. In order to add a NaN, you'd need a check for NaN. This would basically double the amount of time an add would take, and add more circuit paths to the core of the cpu.

If we use a single bit dedicated to signalling NaN, the overhead might be worth it. Of course, we lose half of our range in doing so.
Common Pitfalls with HTML5 Drag 'n' Drop API – Lessons learned
Sure...apart from that is not true. They had never been warned and the coffee was not particularly hotter than their rivals at all. They had settled previously but that is not relevant. Businesses settle things all the time they are not liable for; it's just easier and good cost-effective practice.

Coffee today is exactly the same temperature range as it was at the time of the case in question or hotter. No judge has ever ruled a similar judgement.

Might be wise to actually research your statements.

http://articles.latimes.com/1994-09-16/business/fi-39457_1_h...
If his path did lead to downfall, I'd say it was because he didn't fit into society's structure. In times past he might have become a great leader or warrior.
If I heard someone referred to as "Diamond" in this context, I'd immediately assume the very famous author Jared Diamond.
The User Experience of Code
>I dislike this attitude that sees people as pawns that we should move around for political goals rather than as people who are just living their lives.

While in this case I do agree with your conclusion, the argument that people should just be able to live their lives is what gave the suburban sprawl, which makes it costlier to offer good services, etc.
Show HN: ElgooG (Google Mirror)
Sounds to me like a language targeted at novice developers (and I suppose with that author means people with no programming background) should add a very strong emphasis on simulations and notifications.

Won't it be ok that program crashes if :

1. it was likely the error was catch during a simulation before deployment

2. author of code received a mail immediately to let know something bad occurred

Such a language should probably be much bigger than our usual programming language and include at core what is usually added by dev tools (tests and notifications).

There was a discussion on HN a few days ago on "test only development" (link has been marked "dead" since then, though), that is tests that produce code. It reminds me of what "programming" a holodeck looks like in star trek : you describe what you want and computer manage to produce code that achieves it.

Without getting so far, you could ask your users to describe what data looks like in input and what it should looks like on ouput, as a core feature of the language rather than on a separated and optional layer. Then, on build, you run a "simulation" (yes, that is just testing) to ensure code behaves as expected.

And you build notifications (by mail, for exemple) as a core feature of the language too, maybe even include version control (you have to think hard how to make that user friendly for your target) in order everybody has a idea of what changed before the crash (this could be reported in notification).

When you have all of that, it does not matter if division by zero makes program crash.
Clearly you have never had to deal with procrastination.
Absolutely. One watches people as they move through life and there are 'cusps' (catastrophe theory reference deliberate). Things can go one way or another.
>Do some weight training. If you goal is to be healthy, this is key.

Ignorant and sincere question: Why?
Since you are using go syntax... I don't think that this will work in go, because division by zero will cause the function to panic.
To be fair, this is also a function of the immaturity, immense peer pressure, and monolithic idea of social acceptability that exist at the high school level.

After high school (whether in college or as young adults living on our own), people tend to be more open-minded, plus we are better able to choose our own peer groups. So we tend to find more acceptance.

Sure, some cities may have a more tolerant regard for certain groups (which is actually likely more related to higher concentrations of those groups in the city), however, most of our acceptance comes from the fact that we are no longer in the immense social conformity pressure cooker that is high school in most towns.
Are Israelis really rude?
Spoofing a TCP source address is still pretty hard compared to UDP. And security should always be applied in layers, so if your risk profile is such, then relying on source IP protection alone might not be enough.
> You have to be smart about it and try not to hurt you or anyone else too much in the process.

So theft, destruction of property, driving under the influence, and arson are victimless crimes?

Maybe I'm a stickler for rule of law but when you start fucking with other people's stuff, that's not cool (understatement). Especially if it's just because you're bored.
Elon Musk's Futuristic Spaceport Is Coming to Texas
>Take into account that "during school hours" and "on school grounds" is a much bigger chunk of kids' lives in the US than it is in most other countries.

Citation needed, my experience has been the opposite (except for Germany). I was getting out of school at 2:45 in the US, 6 in France.

I know there are extracurricular activities, but still.
Oh and also what if everyone doesn't want to code in ocaml?

Then you'd probably be looking for Cloudius OSv, which is written in C++ and runs mainly JVM apps (but is essentially the same idea). http://osv.io/
Cities were built on the flat land and suburbs on the hilly parts. This created the unusual road layouts of many suburbs.