skysight-inc/HackerNews huggingface dataset:
"Accessing the null pointer is very dangerous, as it might crash your program. Always make sure that you are not accessing null pointers."

If you're going to read or write through an invalid pointer, the NULL pointer is your friend, and an immediate segfault is the best thing that could happen. The worse thing that could happen is that the program keeps chugging along and you never notice the bug.

"Always use memset along with malloc, or always use calloc"

That's a good way to defeat checkers like Valgrind. I'm not saying it's a bad idea, but not something a programmer should be instinctively doing without thinking about it. In fact, excepting stylistic stuff, "always" is a poor way to approach programming. You should do nothing which isn't deliberate and well thought out.
Sure, but knowing the actual IP address certainly narrows down which ISP to send a subpoena to in order to image the storage of that server.
The phenomenon of adding lanes not reducing congestion is generally a reference to the "Downs-Thomson Paradox"(http://en.wikipedia.org/wiki/Downs–Thomson_paradox) or "Triple Convergence" related research.

The general idea is that congestion dissuades some amount of commuters from using the road at congested times. When additional road capacity is added, those people will shift their commute time, or commute mode, or commute route to re-congest the road. (Time, mode or route is the "Triple Convergence" or latent/induced demand.) But in certain contexts like LA or London it's not possible to build enough road capacity to eliminate congestion. So building additional road capacity has the effect of (a) not reducing congestion and (b) reducing usage of public transportation. And (b) causes additional problems for the efficiency that public transportation.

The counter-intuitiveness is why it's a paradox. And the context probably matters for when this theory applies. But supposedly it happens to lots of developed cities. The original study on London was looking at when ~80% of commutes happened by transit. But LA is trying to improve its transit infrastructure because partly because this problem.
What an odd question. "If the government wants to do a bad thing, shouldn't they do it a good way?" Doesn't the willingness to do a bad thing kind of imply that they will be willing to do it a bad way?
BookLiberator Beta
(I work at Stripe.)

> It's an interesting idea but I can't see how it'd work cleanly in practise. The consumer won't even know what version they're using themselves, which makes documentation and API client updates more difficult than it should be.

To some extent, this is a design goal: most of the time, you should not need to know or care what version of the API you're on (your API's history is pretty irrelevant to a new consumer). Most API consumers just want to test out some calls, make sure they work at the time, and know that they won't break in the future. If you want to discover or set your version, you can do so easily.

> I don't see why it's so hard to chuck a version in the URL. There's no great need to update the version when adding new features, only when changing existing functionality.

It'd actually be much easier for us just chuck a version in the URL. But that would comes at the expense of ease for our users.

I think of our approach as making versions be data rather than code. It means that users using standard plugins can often upgrade without having to fork. (We also have many of our client libraries discover properties directly from the API, meaning that they very rarely need upgrading). It also means that new users never have to go and figure out "what's the current version of the API? hm, the guide I'm reading is telling me to use one that's 4 versions out-of-date — I guess I'll copy-paste the code and then modify all the URLs". (If you instead encapsulate the version in your client library, you may as well just make it a database setting.) As a general rule, a code change for a user is much more expensive than frobbing an account setting (given that it's possible to test).

[1] http://docs.aws.amazon.com/Route53/latest/APIReference/API_C...
I think the discussion here is about roads?
I had the impression (from talking to traffic engineers) that it was pretty much common knowledge in the field that newly constructed highways only alleviate congestion for a very short time (a year or two), after which it returns to previous levels on both the old and new routes.

A quick glance at Wikipedia found this reference: http://link.springer.com/article/10.1007%2FBF00166218 which appears to be a decent summary.
Very well-said! Finally doctors are realizing that not all prostate cancers require a "treatment" - so many men undergo unnecessary surgeries and so many women followed the advices from celebrities to part with their breasts as a "preventive" measure instead of, let's say, drink green tea, eat mushrooms daily, take vitamin D, glucaric acid, and a few other affordable supplements. I highly recommend the book "The Decision Tree" by Thomas Goetz, who's a former editor at Wired magazine.
The university I went to invested in skywalks to replace many if almost all cross walks within and on the edges of campus. It does require more energy to go up and down sometimes, but it means everyone is safer and everything still flows.
It is a bit frustrating to read this when you lack the necessary intuition. Why is a bond strong or weak, what do these atoms want to bond with and how is this all related to stuff blowing up?
No, we didn't have memory leaks, but I do remember we had to build GM from source because the version in the ubuntu rep was old and it DID leak.

For gifs, we used gifsicle, but we didn't support the full set of functions with it.
Until a DIY firmware projects start using safe languages, the nerds are only marginally more secure.
Ask HN: What long running task do businesses often need?
So I've built up an entire platform with celery to run any long running task. The user can login to the dashboard, submit a job and watch it run on the servers.

Would like some ideas on what I should be using this platform for. Basically it can run any long running task, I just need some ideas as to what long running tasks I should create. ex. sentiment analysis? video conversion? etc
> Regrettably this behavior appears to be protected by the first amendment,

Good. Free speech is far too important to restrict based on the actions of a few assholes.
Speaking to your question about "what the long term effects of these drugs are":

My wife put together a together a pretty interesting video about the "faustian bargain" which is IGF-1 (used as a proxy measure for growth hormone)... video is replete with examples of the effects of low IGF-1/GH or high IGF-1/GH both in animal models and humans.

One of the more interesting points in the video is the fact that people with polymorphisms that make their IGF-1 receptor experience some slight loss of function actually live longer (in general).

https://www.youtube.com/watch?v=AjSl4n_KdOY

The video also links to an article which has a bibliography if you're interested.
There are other articles on the E-Cat scattered around the net in the last few days/weeks. Long story short: a lot of experts (physicists and chemists) say it's probably bullshit, likely fraud.

Indeed, it would be amazing if it were true. But don't hold your breath.
> There's actually a ton of data to support the idea that making activities feel more dangerous makes them safer.

I'm not disputing the idea that people might respond to perceived safety by taking more risks or vice versa. It's almost a corollary to the efficient market hypothesis. However, that doesn't tell you anything about whether they will overcompensate or undercompensate in any given context.

And what I'm really objecting to is the idea that we should make people "feel" less safe by doing things that actually make them less safe if not for people [over]compensating for them. Because that's a very dangerous game if you're wrong and it's completely ignoring the possibility of solving the problem in other ways, which should on balance be more effective because you aren't running the wrong way with the ball.
I found this a little bit hard to believe. I managed to graduate from a state school with no debt at all (neglible scholarships, small amount of savings, worked as an RA for a bit and did a decently paying 3 semester co-op).

Surely my school isn't THAT expensive. Whoa. Turns out it is. My school estimates a total annual cost as $23k and this is a public university that's regularly listed as one of the "best value colleges." http://financialaid.ncsu.edu/cost-of-attendance/cost-of-atte... http://www.princetonreview.com/best-value-colleges.aspx

I have to think some of that has to do with the exploding cost of tuition and fees (I started 10 years ago), but I can't be exactly sure. Thanks for the post.
I love how HN continues to prove to be a place where only cargo cult mentality is rewarded. Anything outside of that is mercilessly down-voted by the 22 year olds that permeate this mono-cultural society.

It's OK, it's just funny. You still have a few years of reality before you actually get out of the cave and stop seeing the world through shadows on the walls, some of which were painted by your professors in college.

Tolerance is something most people love to talk about just to sound "right" and fit in. In practice intolerance and prejudice are far more common with people who preach it --and behave otherwise-- than in those who do not but rather choose to simply practice it.

Just the way it is.

On HN you can't have a viewpoint significantly opposite that of the underlying HN culture. You just can't.
For the Berlin track (Because it's level and close to sea level), and the average elite:

1.00 atm * 8.1L = n * 0.0821 * 331.8K

n = 0.30 mol, @ 32.00 g/mol = 9.5 grams 02
Ok, netboot your router off the network ... ;)
However if the government then claims that this server is owned by you, doesn't that then imply that your privacy rights were violated since they illegally hacked into your computer?

The government can't have it both ways. Either the server is owned by Ulbrecht and they violated his rights, or the server is now owned by Ulbrecht, and thus they can't prove he is the DPR.
As I understand it the main problem with the androgen anabolic drugs is aromatization. The chemicals tend to wind up as estrogen. Professionals using the drugs pursue careful protocols to limit aromatization; amateurs not so much hence the shrunken dick and bitch tit rumors about 'roids. Contrary to the popular understanding of estrogen as "the female hormone," estrogen compounds are more usefully thought of as dangerous stress hormones. This is why xenoestrogens from plastics and so forth are so problematic. Estrogen replacement therapy in aging women turned out to be a horrifically bad idea that resulted in high rates of cancer and heart attacks.

HGH is also essentially a stress hormone that for the most part you want to keep as low as possible. It can speed healing and recovery but is tied to cancer and aging in general. Lowering growth hormone in lab animals makes them live longer. I think HGH supplementation is maybe a popular myth that in practice isn't much used. This is what the Balko guy has explained post prison release. He says it's pretty much all about the androgens and HGH isn't very useful.

I don't know anything about EPO dangers. Presumably it leads to thrombosis, strokes, and heart attacks.
From the announcement:

We've always known that whenever people feel the effects of copyright restrictions directly, in their own lives, they inevitably start questioning those restrictions. The goal of the BookLiberator project is to enable people to encounter those restrictions more often, in more situations, so they'll ask the same questions we ask here at Question Copyright.

BookLiberator Beta is the early-adopter release of what will eventually be BookLiberator 1.0. Please note that the Beta version comes without cameras — the 1.0 version will have cameras, but first we have to learn which cameras work best, and that's where the early adopters come in. Any modern consumer-grade digital cameras will fit, as long as they accept a standard screw-in camera mount. Once the brave beta testers have reported field results, we'll be able to offer appropriate camera options for the 1.0 manufacturing run.

If all this sounds like something you want to get involved in, please see http://BookLiberator.com for more information. Remember, any scans you make now can be reprocessed as many times in the future as you want; as software improves and becomes better able to extract text from images, you can just rerun your old images through newer software.
Taking a quick look at the source, it looks like they're using Timeline Lite from Greensock
http://greensock.com/timelinelite
I don't know how you would possibly go about making suicide illegal, but punishing those left behind sounds like the worst possible "solution" to suicide.
One thing is that Stripe's documentation only shows the latest version, not the version of the API you are on. So for instance the API docs will show that the way you create a refund is charge->refunds->create(), but if your first request was before multiple refunds were a thing that api call would error since the api is expecting charge->refund().
I don't know why, but "Pay with Bitcoin" at the bottom made me laugh. I think it's because that really just completes the picture of a certain sort of kinda tactless bro who Has Lots Of Opinions.
Your Friday night sounds pretty awesome.
Generating Global IDs [pdf]
To be any good at WC3, you need major micromanagement skills: Blizzard games are what brought us concepts like actions per second after all. It's a bit easier in that respect than Starcraft, but still, it's really about multitasking and micromanagement.

You need a lot of knowledge to play Dota well, but you do not need that micromanagement: Pick a simple hero, like Wraith King, and you control a single character with a single active ability. Even top pros take less actions per second than an average warcraft player.

This difference in skills means that it's much easier to notice your own progress in DotA than in WC3. I watch a top DotA player, and I can see how I can get to be that good. If I look at a top RTS player, I realize I could not get that good if I spent a hundred years training.
By that argument, why don't we just pave everything and let people drive wherever they want?
Browsers should block this by default :)

Although www.w3fools.com has softened its stance.
> Am I reading this right?

Fortunately, no. The article explains it better than I could:

> That argument may seem like a Catch-22. If Ulbricht were to claim ownership of that server he would seem to incriminate himself. But Forrest writes that Ulbricht could have nonetheless claimed the server in a pre-trial statement that couldn’t be used against him as evidence. “Defendant could have established such a personal privacy interest by submitting a sworn statement that could not be offered against him at trial as evidence of his guilt (though it could be used to impeach him should he take the witness stand),” she writes. “Yet he has chosen not to do so.”
Comedy Clubs Are Using Facial Recognition Software So They Can Charge per Laugh
Upon reading of RWR and its delights, at least one part of me, the techno-dweeb, goes "weeeh!" ..

Another part, more of a hippy tree-hugger, goes "wish we were using this to figure out where to drop the water/medicine/books instead of BOOMB devices" ..

I mean, seriously. Tell us where to drop the books, and BOOM there it is: how it should be.
This article makes me genuinely angry for burying the explanation for why 12 foot traffic lanes are dangerous beneath many paragraphs of what the author clearly thought must have been clever banter, wasting my time. Note to authors: put the claim and the gist at the top, then defend it with more details. Don't burry the gist of the article with shitty and annoying writing, making the reader scan paragraph after paragraph of bullshit to establish if the article is worth reading in the first place. In this case, it wasn't.
Actually the parent should firewall off both sides of the router and turn off internal management, Samy has been p0wning routers from inside the network since 1989.
I think you'll find we completely agree -- the simplification seemed appropriate because it really is a question of how US law applies to objects located and plausibly operated by people who aren't Americans.

An important point you made, though:

> The rights are really limitations on the American government [...] It's no imposition on the sovereignty of Iceland for the US not allow itself to hack into servers there.

This is pointing in the key direction I was trying to go. I feel we _should_ hold ourselves to a higher standard, and I suspect there is no substantial barrier legally. But judges are rarely in the business of "should", otherwise we wouldn't have rule of law. Hence my comment about him seeming to just do his job in this case.

Anyhow, you got my upvote. :)
If I understand it correctly, it's that higher wages in China could end poverty in other places too. Because China will import more things from those countries, and factories will move there to the lower wages.
because you're sharing your 'ride' (def. 1) http://www.urbandictionary.com/define.php?term=ride
Yes, your pre-trial statements definitely constrain your options during the trial. Your pre-trial statements guide how your opponent prepares and presents the case against you. You don't get to suddenly shift your ground halfway through the trial because you don't like the way that your first approach panned out.
> Effort also introduces time lag. If the next episode of Walking Dead takes 24 hours longer to show up on TPB, I'll probably see a bump in legitimate streaming and rentals.

Popular TV shows are available on TPB within minutes, not hours or days.
Germany does give human rights to non-Germans. And you can sue the German government for not upholding them. (They only give citizen's rights to Germans, though.)
http://en.wikipedia.org/wiki/Falcon_4.0

Falcon 4.0 is nothing short of amazing. It has been under non-stop development by the official developers and the community (thanks to a source code leak) since 1984.

Many of the community developers are former pilots and avionics techs.
I probably ratched up 100 hours or more on F-117 Steal Bomber, for DOS, back in the day. There is no reason not to play it even now, still today: consider the pixelation more of a consequence of "HUD"/"IFR" and be done with it. Fact is, those old games still run, and still work for simulating the death cult and its machines ..
Thanks! This appears to be the same guy though.
http://en.wikipedia.org/wiki/Analogy
I don't know what this guy is talking about.

Maybe I'm lucky enough to have these friends, but this week I asked multiple friends and one person who I don't know that well about my current situation and they told me things like "You are really stupid you did that!" or "Get your shit together!", or "Do something already you idiot!". (Not joking or something, these were they actual, serious answers to me on the topic.) I don't know how could I get more honest opinion than these.

Also I think your best friends care enough to tell you the truth, and your responsibility should be also to tell them if you care enough! Yes, sometimes it's hard.
One of my best friend says me things all the time which hurt my feelings very badly, but he always adds "I don't say this because I want to hurt you, but because I want the best for you.". He shouldn't say that because I know his intent and he is one of my best friend for more than 10 years now, even though he is brutal. :)
Another example when I complained years ago to another friend about something, she told me how I dare to feel that way, I should feel lucky, I have a lot of friends and that's just stupid to worry about something like what I told her. She shocked me with her opinion but the more I think about it, the more I think she was right and I never heard an opinion like that before. We were very good friends at the time also!
Bad news for Mozilla.
I think it was the nitpicking instinct.

It's easy to get the first digit if you ignore the decimal exponents. If you have the 3 * 10^? part of 3 * 10^? dollars, then you have 3 * 3 * 10^? * 10^? = 9 * 10^? dollars. Perhaps $90, perhaps $9000, perhaps $9000000, ... something that starts with a 9.

Now, if someone tells you that the amount is close to 10^9 then it's easy to complete the information and realize that you have $9 * 10^8.
The site could be renamed to be "The Computer Language Implementation Benchmarks Game", since it's not testing the language speed (best approximated by the fastest known implementation), just certain implementations, some of which are designed with priorities above speed in mind (e.g. cPython).

> Java does not get JIT warm-up time! Please stop making up misinformation!

Oh, sorry! I must've been misremembering something someone told me. (Although, how does `Cold` differ from `Usual` there? It's not clear from the text what the difference is.)
I think we're missing the joke here:

this is an update on the concept of "my 2 cents", with the difference being...

...he has adjusted for inflation, with a markup.

http://www.usinflationcalculator.com/
> I'm not a fan of the defendant here, but I am a fan of holding the authorities to the rules. You know it's their job to uphold the law.

Yes, evidence is inadmissible based on how it is obtained. However, there are rules and procedures for how you get evidence excluded from a trial. This is why you pay good money for good lawyers: they know the rules for excluding evidence. I recommend watching the 1992 moive "My Cousin Vinny".
> the smartest people in Silicon Valley

It helps not to put them on a pedestal as well. It is highly unlikely that they are the smartest people in Silicon Valley by any measure you can come up with.
Dude, what a troll comment.
Shit, I've been giving this away on facebook for free.
The theory is that people will drive more carefully if they perceive the roadway to be more dangerous. That is not the same as it actually being more dangerous.

Moreover, road safety is not fixed but rather dependent on the speed at which drivers drive on the road. Thus, if a roadway design causes drivers to drive slower on road B as opposed to road A, road B may be safer even if it would be less safe than road A if people drove the same speeds on both roadways. There is nothing particularly counter intuitive about this type of theory at all.

Also perceived danger to oneself doesn't take into account the risk one poses to others. This issue of externalities is what makes these 12 foot lanes so dangerous. As noted in the article, if drivers are driving slower, they are far less likely to kill or seriously injure pedestrians. And since F = (.5)mv^2 this is exactly what we'd hypothesize. Pedestrians are a non-issue on the rural highways that the 12 foot lane and other state road design measures are based on. But in the middle of a dense city, higher speeds, even if they aren't any less safe for the drivers, are far less safe for pedestrians and cyclists, not to mention far more unpleasant to be around. It is this concept, more than anything else, that traffic engineers are so often obtuse to.

And driver-less cars will have to be able to navigate the existing 10-foot lane roads anyways to be commercially viable, so I don't see how that is an issue.
how many of u actually paid this retard for a opinion.
If non of u, why is he getting so many upvotes.
An article with a bit more detail:

http://www.networkworld.com/article/2824558/infrastructure-m...
> Fast and looking nice when solving something like a real problem. Benchmarks can demonstrate that. Manuals and references typically not.

They certainly can. The actual "specification" documents probably not, but guides and tutorials (like Rust offers) can and (some of them) do.
Yes you have to love working with something that can set sand on fire!