skysight-inc/HackerNews huggingface dataset:
Heroin is one of the most harmful drugs to the user[1]. Its usage should not be encouraged by anybody, but heroin should absolutely be legal, heavily regulated, but legal. The VAST majority of heroin related deaths are just that, related to heroin but not caused by it.

Heroin is actually a remarkably safe drug in a clinical context, it does almost no long term damage. The main problems with it are that it is highly addictive, users rapidly develop a very high tolerance and it is fatal in overdose. Heroin overdose is very easy to treat, there is a antidote to heroin called Naloxone. If administered in time, it will almost certainly save the life of somebody who is overdosing on heroin.

People who use heroin die because they share needles and contract diseases such as HIV/AIDS. People who use heroin die because they do not use clean needles and get sepsis when they inject. People who use heroin die because they do not have pure heroin.

Heroin can be cut with both active and inactive substances. Some of the inactive substances used are toxic, they make accurate dosing, which is critical to using a drug with such a low ratio between fatal dose and active dose safely. Active cuts such as Fentanyl are equally dangerous[2], they make it impossible for the user to accurately dose.

I am not calling for heroin to be sold in super markets or off licences. What I am suggesting however is that for anybody who wants it, they can go to some sort of health center, be lectured about the harms, taught how to inject properly and how to administer Naloxone in an overdose situation and then be given a licence to buy heroin. The heroin would then be dispensed by pharmacies, it would come with an adequate supply of needles, Naloxone. Most importantly the heroin would be pure and unadulterated, in solution already.

There is now a much lower risk of overdose as it is far easier for a user to dose themselves. The heroin does not come with dangerous cuts. They will have an adequate supply of needles so there will be less needle sharing and less infectious disease[3].

The obvious argument against this radical approach is that it would increase heroin usage. There is no precedent for this kind of program so I cannot refute that claim with any certainty. From intuition however, I do not think there are many people where the only thing holding them back from using the drug is the current prohibition. I have not met a single person who has said "If heroin was legal I might start doing it". What I do know is under our current system of prohibition heroin usage has increased, deaths associated from it our sky-rocketing in recent years and the politicians current answer to the crises is harsher punishment for users and dealers despite that in the past, heavier punishments do not correlate with either lower use or less deaths. It is time to try something radically different, I would love to see a trial of this sort of system somewhere in the world.

[1] http://www.sg.unimaas.nl/_OLD/oudelezingen/dddsd.pdf
[2] http://www.cbc.ca/news/canada/montreal/rash-of-fatal-overdos...
[3] http://www.who.int/hiv/pub/prev_care/effectivenesssterilenee...
Speeding is also a victimless crime until an accident happens.

I don't have a strong opinion about this, I'm just saying it's more complicated than victimless crime, war that cannot be won, etc. For each such talking point there's a counter-point. What will actually happen once you legalize a given substance I don't know.

The article I linked to has a lot of arguments against legalization, which, judging by the comments, the commenters didn't bother to skim through.
I understand your motives, but the problem with your argument is that youre telling us what a mobile phine shouldn't be (no internet, no TCPIP even, and reading a bit between the lines perhaps no GPS or Wifi even). But to usefully describe a thing you need to say what it is and what it does, not what it doesn't do.
Maybe this has to do something with search engines, but why ?
ARM: “Microcontrollers Are Better Because There’s No GPL”
I was composing a reply, but I think you've more than covered what I was adding. Though I also wanted to include the phrase "Drugs are bad, mmmmm'kay?" to cover the tone of the grand parent.

OT but your parent was down-voted for what I would say was a totally reasonable and constructive comment. I guess you didn't do it because you can't down-vote those that reply to you, right? I wish people would keep the down-voting for situations where a comment is offensive / destructive / mean, instead of something they disagree with. Anyways, I'm going to up-vote to counter it.
No cloud experience myself that sounds useful to you, but BackBlaze seem to be everyone's favorite around here -- but do note that they are purely a "backup" rather than "storage" service.

They delete stuff you have not backed up in the last 30 days. If you have a removable drive that you backed up to backblaze, it must go through their program again once every 30 days, or they will consider this abandoned.

Ask yourself this, now: Why cloud, when $70 buys you a 1TB portable hard drive with ~100MB/sec bandwidth (that you don't have at all unless you live in Japan or Korea, and that you don't get to Dropbox/BackBlaze even if you live there).
The US has seen a significant reduction in drunk driving which seems to be the only real anti drinking campaign. Low levels of drinking seem to be promoted both with direct advertizing and news coverage as both heathy and expected with a minor "be careful" undertone. So, it more or less seems like things are working as intended.

http://www.madd.org/drunk-driving/about/history.html
> I simply don't know how one writes that many lines ...

I think with a template get ide and a verbose language ... Think eclipse and Java ...
I'd be really interested to hear from someone close to the Apple Watch, or who understands UX better than me on how much this accessibility was by design and how much it just naturally follows from good UX design.
wow, i have not seen a post like this in ages, amazing that you still see people like this today, absolute hero. Mami is what symbolizes us as a website, this is more than just a comment it is a glue, binding us together as a family. I really appreciate this comment, thankyou so much for your kind words xoxo -A.E.
"Each generator is linked to a control unit. Boeing found that if the four engine generators were left on continuously for about eight months, a software internal counter would overflow and cause the control units to enter a fail-safe mode."
You can probably recover your playlist. (Instructions for Chrome)

On the computer you used grooveshark on: visit the website, open developer tools, open "resources tab", click on local storage->grooveshark.com. Now find the key called 'libraryXXXXXX' where the X's are numbers. Right-click it, "edit value" and copy/paste that data here: https://json-csv.com.

Source of instructions: http://www.reddit.com/r/Music/comments/34goss/meta_groovesha...
And an obvious double selection bias (HackerNews itself, and people with higher salaries)

Salary doesn't fit the whole picture. There should be like some salary index that factors in salary + living expenses + housing + commute + food prices ...
LOC is an accurate measure of quality, but it's an inverse measure.
There seems to be some sort of taboo on getting high for whatever reason. I have asked a few people opposed to drugs why they were opposed to drugs and their answers were mostly health related i.e. Cannabis gives you psychosis so you shouldn’t smoke it. I then ask if, hypothetically, there was a drug developed which produces intense happiness for one hour but had no side effects, caused no long term damage and was totally benign, would it be morally acceptable for a person to take that substance, the answer is usually a firm no. We seem to have some vestigial opposition to joy and happiness left over from Catholicism.
Distribute your applications with Docker Images
Use Docker to simplify the distribution of applications by creating a Docker Image with the required environment to run the application properly.
Please drink responsibly

https://www.youtube.com/watch?v=WrVLB3MtUjo
>The unlikely scenario that the unicorn will fail

Why is this the 'unlikely' scenario, and not the likely scenario?

I am really curious on what unicorn OP is talking about.
That attack was really uncalled for. I'm a Tesla fan, but it gets tiring how only enthusiastic comments are allowed in certain threads on HN.
Slovak Court Cancels Mass Surveillance of Its Own Citizens
This is also subject in this piece with John Oliver: https://www.youtube.com/watch?v=3bxcc3SM_KA
The banner shouldn't be in the DOM to begin with, anything in the DOM can be removed by client side Javascript.
TROJ_WERDLOD banking Trojan wild in Japan
It's been a while since I've done any redstone but from what I remember there were quite a few bugs/glitches. Large complex redstone machines (that served no real purpose in a game like Minecraft) depended on those. I'm really looking forward to going in and seeing how well my old contraptions run and building crazy stuff.
Did any of the remixes come from here? http://ocremix.org/game/135/ninja-gaiden-ii-the-dark-sword-o...
Decreasing perhaps, but it's being offset by natural gas, which is yet another hydrocarbon and comes with its own slew of hazards and problems.
Google's New Anti-Phishing Extension for Chrome Helps Users Stay Safe
How is a central has server, which could be blocked by an attacker or simply be down, better than having a central authority sign my certificate?
The Beginner’s Guide to Writing a Data-Driven Post
You don't know 'true' mathematics until you study 18th century books in German ... I sense some sort of logical fallacy here.

If you can work with frameworks, write loops, classes, know inheritance, side-effects, polymorphism etc but don't know functional programming, then you're still a programmer in my eyes.

It's a scale imo, everything is relative.
Right, that one pixel was 2B powerpack. Solar Panels are quite larger than powerpacks, but that still looks like a large number to me.
Artificial-Intelligence Experts Are in High Demand
Vim :w :q :q

Oh yes, click the red button in the top-left corner, of course.
anything that can be strictly defined can be simulated

but nothing can change the fact that the _first_ chicken always came from an egg
it isn't so much how many people charging, its the ability of people to charge where they live and the lack of ability to truly quick charge the battery.

As in, damn the kids left the car unplugged and I have to work. even thirty minutes at a super charger is not a good solution.

So it comes down to a compromise, a good range extender technology and batteries for the majority of driving. That until truly faster charging can be achieved with house hold wiring.
The economics of low wages: When what comes down doesn’t go up
First off, this is from 2002.

Second, the proposed solutions in #3, which use ls, are buggy. They don't work in the face of filenames with a newline in them.

% python -c 'open("ab\ncd", "w")'
% ls ab* | cat
ab
cd
Well done Tesla. Next project? I have an idea. How about standardizing battery packs for robots.
>Once you're addicted to drugs, you have to steal to pay for that habit.

How much does generic-brand sugar cost? A dollar per kilo? Two?

Cocaine should cost about that, definitely less than ten times that, if it was manufactured at scale by corporations in a competitive market, and one didn't need to compensate everyone in the distribution network for the risk of being arrested or killed.

Your stereotypical addict on the streets should be able to get as much as they "need" from panhandling for an hour a week. A tragedy, but a contained one.

Instead, they need twenty bucks for the next dose, precisely because of the war on drugs. Think about that.
Less funny when you consider that the Tesla press release submitted here for discussion says, "The Powerwall consists of Tesla’s lithium-ion battery pack, liquid thermal control system and software that receives dispatch commands from a solar inverter." The inverter, of course, converts battery DC current to household AC current so that people can continue to enjoy AC power in their homes.

http://electronics.howstuffworks.com/gadgets/automotive/dc-a...
Dealing with rogue drones: Copping a ’copter
Is flexi-schooling heard of in USA? It is using a mixture of school based and non-school learning. In essence it is using a local school as a service rather than adopting its regime wholesale.

Out-of-schooling or outschooling is called "education otherwise" (EO) in the UK following legislation referring to a parent's responsibility to ensure their child either attends school or gets a sufficient education otherwise than in school.

I'm glad they've made the distinction with home-schooling, which EO people in the UK usually use to refer to mimicking school at home, having a "classroom" and a parent acting as a teacher. Most non-school based learning is referred to as "home-schooling" or "home education" by outsiders it seems and very little of it is actually home-schooling; this leads to a quite wrong view of kids who're getting educated outside of school as being shut-ins locked away from other kids and feeds in to the "not attending school means they lack socialisation" fallacy.

We started flexi-schooling to some success but in the UK it's up to the individual headteacher (how's that for a centrally planned education system) to allow it or not and our's deferred to the governors who basically thought, and expressed, that the only way to learn anything is in a school. My wife and I are both graduates with science degrees working in our own creative business, she has a teaching qualification and we've both been leaders with kids organisations for many years; we work in a semi-teaching role and I've done IT education with individual adults. Apparently either of us could educate a class of 30 kids, we do on occassion (sometimes out of school), but educating our own child(ren) like that or a small group of EO kids is apparently impossible.

Anyway, we did flexi-schooling for a year (1 day in 10 out of school, we wanted 1 in 5) without authorisation with the eldest child [ie in opposition to the school's expressed desire] - tests showed he was excelling despite the schools anticipation of abject educational demise.

Then the government brought in fines for non-authorised absence from school. This has weighed heavy, if we had the funds we'd just continue - it's worth it - but we don't have funds and so we've been unable to continue with what we consider (and the evidence suggests) is the best paedagogical approach for this particular child. The legislation is intended to stop people from taking their children on holiday in school time and their is scope in the system to accommodate flexi-schooling - and legislative support in the Education Act (and to a lesser extent the ECHR).

Were our child physically disabled, or indeed mentally challenged rather than excelling (just bright, not 'gifted' incidentally) it seems the school would have given greater concessions. Catering for those with exceptional needs is an area in which flexi-schooling is often accepted and used to great effect.
I'm sorry but I gotta call bullshit on this. I see this opinion so much, on here and throughout pop culture, but I don't think it's true.

From my high school experience, popularity boils down to social awareness, and inversely, social ineptitude. It really has nothing to do with book smarts. It's not a zero sum game. You can be smart and popular. In fact most popular people are smart from my experience.

Most of the popular kids from my high school, 4 years later, are still popular, have really hot girlfriends/boyfriends, and are doing great things with their lives. The vast majority of the unpopular kids from my high school are still pretty weird and aren't doing so hot (although not nearly as weird as they were in high school).

I know it's not a popular thing to say but some people just get dealt a better hand than others.
It's also comparable to what the public school system pays per kid in many cities. It could be made easily affordable trough school vouchers.
> Once you're addicted to drugs, you have to steal to pay for that habit.

Not at all.

Of course, you could just get a job that pays enough to support your habit? Software Engineering works for me, for example, and has allowed me to maintain a twenty year heroin habit, almost.
Using JetBrain's ReSharper 9 to implement (and learn) Design Patterns
Don't feed the trolls. I don't think his contributions to this thread warrant further discussion.
Don't have kids yet but I'll bookmark this for when the time comes. Thanks! ;-)
Yeah, my kids went all the way through this at 5. It's amazing.
Sure, and the first egg layer was not a chicken.

PS: I never got the paradox on that one.
People blaming licenses and using "you (don't) have to" ... sigh
> Shame it's so big.

You're so entitled. There's nothing wrong with 'big' watches and the people for whom the watch is designed appreciate the size.
Is Cryptography a lost fight? (2013)
In 100 years from now the war on drugs is going to be seen as one of the most absurd, inhuman, draconian and misguided ways to deal with the problem.
Apparently it became so popular in Norway that it actually beat Angry Birds there. Granted, that was in 2012

http://archive.wired.com/geekdad/2012/06/dragonbox/all/
Oh I heard about this a few years ago, interesting this goes into more details what happen and the result of trying to kill of devs.

While they need devs now, I think they'll get devs back. I've seen people using machine learning on twitter to do some stuff and there are potentials with any large amount data.

But I wouldn't bet the bank on Twitter as a business or a startup. I was interviewed at a start up and their whole business relied on Twitter and creating a third party software with it.
Show HN: NimES – A NES Emulator in Nim, Compiles to JS
KA recently moved towards what seems like a far more game-ified system. Personally - in light of recent research - I want to down play the competitive and game-like scenarios and encourage an attitude of learning being its own reward of being fulfilling in itself. Being able to chart progress towards one's goals is good but following a course of learning motivated by gaining imaginary points seems like steering in the wrong direction.

Do you like the route that KA have taken?
Just tried it. It is nice, but I think that I've been spoiled by Menlo, which I am now going back to. Not a very high DPI screen but around 14pt Menlo just seems easier on the eyes.
>$9 - $11 / year for perfectly good certs

So long as you don't need any subdomains, right?
This is the issue with smart-watches ... When I buy a watch I really care for the size and not only the model. I didn't buy watches I fell in love with because they were too small/too big ...

The 2 standard size format will leave many people out..
This is more of an Amdahl's Law thing though.
Heh... I made it more than halfway through the article before I realized that it has nothing to do with the Eclipse open source software foundation.
But in a hypothetical real-time programming environment you could switch strategy at runtime (which of course limits your heuristics as it also has to be hard real-time; that is probably the hardest part). E.g. you could have different code path depending on "load" (which is probably a vague term) and switch to different GC's implementations on the fly.

What I mean is, that you always have hard real-time in the end. E.g. you could make your network service with a hard real-time limit of 100ms. On light load you serve all requests as you mentioned with ease, if load gets heavier you hit an uncommon situation (by definition, otherwise you would not be satisfied with soft-realtime) and everything changes, as you hit a rare situation. You could do different things, e.g. in case of a news page just serve plain text and get rid of images and while you are doing that you also change to a different GC that only guarantees 500ms.
Reverse engineering is legal in a large number of countries - I'm not so sure it's accurate to say it is "usually illegal".

There are exceptions, though, and it's worth people being aware of whether or not it is legal in their country, but the biggest risk with reverse engineering generally is not the legality of reverse engineering itself, but that it makes it harder to justify yourself if the newly written code happens to look surprisingly like the original code.

It is not unusual for people to come up with very similar structured code if the code is largely dictated by the same functionality and requirements, and then it's easier if everyone involved can truthfully say they have never seen how the original did it.
Chinese AntiVirus vendor Qihoo is cheating on AV tests
Life on Mars Destroyed Due to Extraterrestrial Pollution
Some platforms and environments don't have pip handy, or you might not have root access, or you can't install new software for any number of reasons, or the required libraries are not installed. curl and /bin/sh and openssl are more universal, so it's good to be able to do what you need to do without resorting to installing software.
The post has a point about a better onboarding experience. This is an analysis of Twitter's one http://www.useronboard.com/how-twitter-onboards-new-users/ (not my site)

About the main point of the post, I remember not having a good feeling at Twitter's strangling the 3rd party apps. It's possible that they already have all the people willing to chat in public about anything now (and the marketers) so they won't grow much more than this, but for sure a thousand companies developing business models on the top of a 140-characters messaging bus can have more ideas about expanding the platform than the only one controlling the bus. Problem: not all those ideas will benefit Twitter, some of them could even be detrimental to it. I think it's a sort of common dilemma, my platform or theirs, my vision or the one of customers? Historically both choices played well or badly. Twitter made their bet, let's wait another couple of years and see.
With proper regulation we should expect some of the negative consequences to go down. Heroin deaths (for example) are largely related to illegality - unknown quantities and ingredients, contaminated equipment etc. Cannabis is considered a less harmful alternative to alcohol by many people.

In a social system like the one in the UK, I don't think drug users should be penalised over anyone else - taking ecstasy has roughly the same harm profile as horse riding. Do we tell equestrians we won't treat them?