skysight-inc/HackerNews huggingface dataset:
Let's give anyone that wants a glass of wine a shot of heroin then, we'll save the world because we are giving them a chance to use a less dangerous drugs.
I'll be quite curious to see how it goes, as you say only 25% of heroin users might become addicted.
And of course more than 1/4 of the people that drinks a glass of wine is an addict, as you can see around you. :)
Classical literate programming involves you write programs in a radically different way. If you have to run all your code through WEB and then build it in PASCAL that is a problem.

Post-literate programming is about gathering together all the documentation that already exists, such as specification, issue tracker contents, javadocs, maven build data, etc, adding a little metadata and weaving it together with source code, tests and sample data to explain all kinds of software systems, especially legacy code.
WebTest – Automated Website Testing
Show HN: ChalkStory Social Media App, Live drawing mixed with flipbook animation
Ask HN: What do you do to achieve your financial independence/early retirement?
As US citizen, do you invest in 401(k) plan? Do you do any additional stocks or funds investing on your own (Vanguard, Fidelity)? How do you choose stocks or funds you are going to invest in?

How about European citizens, do you do any additional investing to achieve financial independence earlier than your country's pension scheme predicts? I have a feeling that phrases like financial independence and early retirement don't really apply for Europe, because most countries have pension scheme and citizens don't need to worry about it. The downside is that you can't really affect the amount and the time you are going to retire. Did you accept that or do you do any additional investing? Where do you invest?
Not much to see here. For the "How", the author encourages you to subscribe to an email newsletter for the details. Feels very internet-marketer, especially with the talk of the "Learn & Earn formula" for success and advice from millionaires. Probably safe to skip this one.
I just sync my 1Password via WiFi between my phone, work computer and personal computer. It's really not that much work either. Well worth keeping the vault of the internet.
s/relative/just subjective/
git-encrypt
This, for us too. We've moved on from LastPass for teams, 1password is far nicer.
I like that, especially given the perennial habit of some employers to mine Facebook for reasons to mistreat employees, and also to ask for prospective employees' Facebook account credentials. And there seems no reason to expect the same weirdness that comes from likening a web application to an abusive partner.

"I mean, imagine you're interviewing for a job, and the hiring manager asks you for the password to your Facebook or your email. Yeah, maybe you can say 'sorry I don't give that out' and still get the job - but at that point, do you want to? And what the hell is even going on that that's a question you get asked?"

Yeah, I think maybe you've given me my new metaphor. Certainly I look forward to trying it out. Thank you very kindly!
Good question, and what of doc generators like Sphinx that create web pages with those comments plus the method code it came from?
Moto G4 e Moto G4 Plus com traseira de bambu
What's interesting is how we now view what is 'mundane'. Pretty much my entire 'normal' life in 2016 - in which pretty much everything is mundane - is beyond what many fiction writers were capable of thinking of just 30 years ago. Instant/live audio/video communication with people around the planet - for essentially free (24/7!) - is now taken as 'mundane'.

I know most of us 'know' this at one level - well, many do, anyway - but given the infrastructure we build on, most of what we end up building is somewhat 'mundane' by comparison.

Lastly, I'm of an 'older' generation. Those younger than me do not remember a time when what's 'mundane' now was ever exciting/new/revolutionary. Much like having grown up with color TV, telephones and refrigeration and not being able to imagine a world without those, my younger family really can not imagine a world without near-free 24/7 access to info/communication.
Yes, that's why I removed the link, too.

Now I just have to wait a few days until it's not flagges anymore.

Did I mention how much I hate Google, and their "automate everything" stance, especially regarding flagging of content?
How do you manage service specific permissions or groups if Google Apps is the auth provider?
Gwern's page on nicotine is interesting reading[1]. The upshot would appear to be that nicotine is not particularly actively bad for you, and has some useful positive effects. Inhaling burning plant matter is probably a thing to be avoided, though.

[1] https://www.gwern.net/Nicotine
I tend to agree. Call me paranoid, but I can't help to see this type of questions (not this one in particular and not implying anything, I mean in general) as a bit of social engineering. Even when it is a genuinely innocent question, nothing stops third parties from benefiting from the information and making use of it.
Where did you read that heroin was less harmful than alcohol?

The post you reply to compares alcohol and LSD. The abstract of the linked paper says that heroin is one of the most harmful drugs, more so than alcohol to the user, but grouped with alcohol in terms of harm to others.
Yes, and now I have to deal with Google to unblock it.

One of the reasons why I hate automated systems judging things.

Thanks, Google...
These are all really good, valid points you are making. Thank you for that.

You are absolutely right about this. I've even thought of yet another rather elephant-in-the-room one: health insurance.
Email Templates for Performance Management Process
off topic:

I wonder what the "real" cost of this is across the world?
You know, things like minting cent coins and transporting them around, and other things I wouldn't even imagine!
I've been meaning, for the last couple years, to see if WebPasswordSafe (https://github.com/joshdrummond/webpasswordsafe) is a viable alternative to Secret Server for basic password storage functionality. Secret Server is reasonably nice, but a bit expensive for what it does.
How much of "modern" western societies are built on the reality distortion field of big corps advertising ? Felt like a sibling to VR and AR.
Look at enpass. I've introduced it to several people who've all been impressed.
Performance Management needs to better communicated to people.
Here are some email templates which you can use to communicate better performance review process.
Worryingly, the 2015 paper didn't seem to have anything about measuring the mass of the device before and after the experiment.

An old radar technician asked me to take a look... apparently "boiling" waveguides are a thing when it comes to high-power RF.
How difficult is it to preserve metadata when moving a file?
A careful and balanced response has been submitted here:

https://news.ycombinator.com/item?id=12397221
Is <insert whatever type of language /> programming harmful?

What question is that?! If you write malware with it, yes it is! Though not for you.
Well, if his actual intent was to help patients who couldn't afford his drug, then he could just sell it to them cheaply. I don't think people would consider that abuse. Instead he chooses make roundabout tax-deductible contributions to a "charity" that covers patients copay's in a legally questionable matter, dumping the cost on their insurer/US government. Is that just some clever money making scheme, or is that abuse? Depends on your perspective.

Also, the patients are hurt. Who pays for these drug price hikes? That cost is paid by patients in their higher insurance premiums and American taxpayers in their dollars to Medicaid. Companies that do what Shkreli did make healthcare more expensive for all Americans.

The underlying theme is that there are seriously perverse incentives issues in American healthcare that need to be resolved. Until then, some people will make a lot of money.
The most straightforward answer is not guaranteed to be the most implementable, especially when it relies on co-ordination power. However, various people behave variously, and there exist those for whom "a twenty mile run at night" is entirely within their power [0].

[0] Commentary on the differing preferred escape strategies of Frederick Burnham and Winston Churchill. https://read.atavist.com/american-hippopotamus
Ireland gave illegal tax benefits to Apple worth up to €13B
Protecting Your Identity Online Through Secured VPN
Let's distinguish redshift from (the more murky notion of) distance.

Astronomers usually just think in terms of redshift and might never convert into "X light years from Earth" until they write a press release. Red-shift is measured directly, because we have all kinds of ways of knowing about the spectrum expecte from various things, and we just see the expected pattern shifted.

The calibrarion from red-shift to distance is done by considering the brightness of objects. But here astronomers can just pick and choose those objects for which they have good models.

An example is the type 1a supernova (https://en.wikipedia.org/wiki/Cosmic_distance_ladder#Superno...). These are stars that were actually growing until the tripped over a very specific mass threshold and went nova. Because they all had the same initial mass, they all have the same brightness.
KC is a growing metro area with a low cost of living. That means lots of people opening up new restaurants who couldn't risk doing that in a place where commercial rents are very high.

Same reason Portland and Atlanta punch way above their weight class in terms of food scene.
There were many inventors/scientists in that era who developed things in secret or patented the heck out of their work, such as Edison or Tesla.

The analogy is not quite right for General Relativity, but this EmDrive thing is not at the same level either.
I was hoping I could avoid getting flagged as phishing site if I'd make the form ignore all content and redirect back here.

Turns out I was wrong.
The standardized API for that is URLSearchParams. For older browsers, there is a polyfill available.
I hereby declare end of discussion (at least for me), spaces because most other programmers use spaces. Unless you are joining the project that consistently uses tabs, then use tabs. Otherwise spaces.
I've never trusted dropbox, cloud etc. They drive me paranoia. :/
D has a similar problem. There is quite some outdated material on D1 out there. :)
Or just use lets encrypt to get a certificate for accountsgoogle.com ?

That ensures basically no one will notice a difference.
https://news.ycombinator.com/item?id=12389296
Aurora massacre survivors sued, and four ended up owing the theater $700k
I suppose it's a question of balance; I am trying to include all that's relevant while at the same time keeping the list reasonably small. If I add too many items, the main ones will be lost in the noise. (I have an idea of how I could manage this, but including categories and filters in the future.)

Perhaps the inclusion of ring is a tad premature, but that's because I have very high hopes for this project. Brian is the only one taking a long-term view and doing what we're all supposed to be doing -- minimising the amount of C code we depend upon.
"Does writing a doc-string for each class/method/function and connecting to readthedocs count as literate programming?"

I don't think so. It's like comparing the Lord of the Rings, the novel, with the index that contains descriptions of all the characters in the Middle Earth.

I mean both tell you the same story, but from a very different perspective.

I am personally not a fan of (what I understand as) literate programming, unless you are writing a piece of educational code that is supposed to be read from beginning to end (like Jones Forth, for example).

What I think should be done instead, the code should be documented on several levels, each level more detailed by a constant factor. So each couple lines should have a comment, each function should have a comment what it does with what parameters, each class (or group of functions) should have a description of their purpose, each module should have a description of its architecture and interactions, and so on until you would get to the top level architecture. So it would be more like a tree of more and more detailed documentation rather than linear novel that you read from start to end.
How Mathematicians eat a cake? Do they calculate the optimal angle of fork, optimal mouth opening? Im more interested in to eat than to cut.
Anecdotes from African Startups
> Unique-per-service email addresses work pretty well

and they're so easy with Gmail - anything following a '+' character after your username (or alias, if using your own/company domain) will go to the same box, but keep the distinct address.

Unfortunately, depressingly many sites validate email fields, and get it wrong - thinking '+' is not allowed.

IMO it's not even worth trying to get an email regex (or other validation) right - you're probably going to send out an activation email anyway!
i'm waiting for a cubesat(-ish craft) with the device attached so NORAD or whoever can measure how orbital elements change over time, or more likely not.
Well, maybe there should be social engineering bounties then.

For things like this, or when you can engineer their support to gove you access to their systems.
The trend in programming lately seems to be less to no comments and less to no documentation; and it is killing the joy I take in programming. Without comments the only way the next guy has a chance to understand the code is if you stick to lowest common denominator patterns and frameworks. You can't do anything that hasn't been done before.

I think this is related to the proliferation of frameworks. I can't come up with my own pattern that best fits the problem, but I can select from a list of pre-approved patterns in our framework and shoehorn the problem into it. We only hire people familiar with the framework, so no need to document.

It really comes down to laziness. A literate program demands you put forth the effort to understand it and read the docs and code. Whereas a with a framework program you can copy and paste code from blog posts and stack overflow without any clue what is really going on.
I can't cite any research with authority, as I lack the academic qualifications to do so in this field — like most of us I depend on the insights of those who do to form an opinion — but studies like these¹⁺² seem to indicate that e-cigarette vapour are at least not devoid of carcinogens.

Searches on Google Scholar yield a number of papers that mostly seem to indicate that more study is needed to fully comprehend the toxicity of e-cigarette vapour, but that via second-hand smoke (or vapour) you are at least exposed to nicotine, and probably to some quantities of other toxins, possibly including carcinogens.

1: http://www.sciencedirect.com/science/article/pii/S1438463913...

2: http://www.nejm.org/doi/full/10.1056/nejmc1413069#t=article
Yes but the highend Android market might be there so they're taking a rest.
Ask HN: How do you manage per-service emails with aliases?
With recent leak of Dropbox, I wake up upon the reality to have per-service emails along with aliases. My current email provider allow me only 3 aliases.

How do you manage your aliases? Which email provider providing a lot of aliases do you recommend?
We use SmartCards which contain our private certificates.

The certificate on the SmartCard is encrypted by a passphrase.

The OS has been modified to support the SmartCard reader and use our individual certificates to authenticate and authorize us.

All our applications have been modified to authenticate and authorize us based on the decrypted SmartCard certificate and the roles we are in.

We can order roles through a centralized self-service web application. When a request is created, we get an automated e-mail with the request identifier, which acts as a file handle in the C programming language. The request then goes into the local security officer's queue, where it is either rejected or approved; if approved, it then moves into the role owner's approval queue. The outcome of the decision process is e-mailed to us automatically by the system. If approved, the access to the system or application in question is instantaneous.

Even SSH has been modified to use the SmartCards or soft token certificates for technical user accounts. It took us years working with Oracle to get their PKI fixed, since their in-house experts never saw a SmartCard reader, but eventually we got to the point where even the Oracle database uses the certificate on the SmartCard for authentication and authorization. Authorization from the web self-service application is translated into Oracle roles inside of the databases.

Even our source code management system uses SmartCards.

We run our own certificate authority. All of our relevant software is preloaded with the certificate authority's certificate by the respective engineering teams (component owners), so that the entire chain of trust can be verified. Our certificates use 4096-bit keys.

We do not use logins or passwords anywhere.
Whenever see a news about SpaceX it gives me goosbumps. I hope it will land successfully again.
I opened this ibtimes link with Chrome on an Android phone, and my screen was hijacked by a prize offer, asking me to press OK. I couldn't get rid of it -- not even by stopping and restarting the browser. Finally I stopped Chrome and deleted all its stored data. That worked.

Has anyone else experienced the same problem with this link?
I would not say so. (I would also not say you should stop doing that!)

In my relatively limited experience of literate programming, it adds unique value in two ways:

1. By embedding code in a narrative which, when lucidly written, yields context and understanding of what it does (and doesn't do) and why, which is far superior to what a later developer could derive purely from analysis of the code and whatever other artifacts exist around it;

2. By using capabilities like hyperlinks, folding, and TOC/outline generation to support much more fluent navigation and autotitration of complexity than are possible without.

Learning and using tools which support these capabilities is undoubtedly more work than not doing so. Especially in a fast-paced industry environment, doing so is often both hard to justify, and just plain hard - at least in my experience, to do it well you need to be not just a
good programmer but a good writer besides, and it is very hard to be that latter thing without the benefit of time to reflect and to edit. But my, again limited, experience suggests that the effort when possible can pay off very effectively.
In the abstract, sure, but the whole edifice of legislation of citizenship, visas, etc is as artificial as it gets.
Famous Hacks: Notable Hacker Groups and Hacks of All Time
If you prefer books, than I can recommend "Building Microservices" from Sam Newman [1]. You get some basic information and pitfalls you should avoid when building microservices.

[1] http://shop.oreilly.com/product/0636920033158.do
Android unit testing – it's not that hard people
Your list is inspirational although I could argue that it is flawed because those late starters actually had early practice.

Jules Verne is one of my favorite childhood writers thus I knew he had an early start.

Wikipedia concurs: By 1847, when Verne was 19, he had taken seriously to writing long works in the style of Victor Hugo, beginning Un prêtre en 1839 and seeing two verse tragedies, Alexandre VI and La Conspiration des poudres (The Gunpowder Plot), to completion.

Same deal with Bukowski, sure he had not written a novel but he knew he was a writer much earlier + plus he devoured the whole library ages 15-24.

Same deal with Fleming: His wartime service and his career as a journalist provided much of the background, detail and depth of the James Bond novels. Emphasis on being a journalist.

Still writing is indeed one of those fields where you can get by with not being fluent in your skill as long as you got a good editor.

Programming is the same thing, you can write a decently sized program without knowing the language and its idioms very well but it is oh so painful.

So yes you can achieve outside success in some craft without being really gifted/skilled but that's not the same thing as achieving proficiency and being in flow. Yeah you can fake being a modern painter but someone like Rothko or Pollack had the early classical training.

My lament is that past the age 40 you can not achieve proficiency in some new craft that you have taken up. There are no neurosurgeons who started at 40.

You have to settle for less, pick your battles very carefully and delude yourself with special prizes.
No. Docstrings are nice, but they only (hopefully at least) explain what the current function does.

Literate Programming is more about how everything fits together, in /one/ coherent explanation.
I'm a system admin with about 40 passwords for work I need to remember so this year I've been using keeweb to keep a encrypted password file/searchable file. This year I started throwing the dreaded htaccess passwords around company only sites we control incase a old employee wants to jump back in until we can decide on a better system/ clean up how we do things.
I predict this will fail as it is described today. Because it pays little and is meant to find people on the way already, 1) people won't be dedicated to driving people, 2) which will make it unreliable to get a ride, 3) which will cause people not to use it or at least not rely on it. Also, with little money, 1) whole segments of the (population (especially in the bay area) won't be incentivized by the money, 2) people will be less likely to go out of their way to pick anyone up, and 3) one or two annoying ride sharers will cause drivers to decide picking people up isn't worth the occasional annoyance.
Drie (drie.co) – a secure PaaS utilizing AWS best practices
> It's not the same category, but it IS a competing service playing on an unfair playing field.

It really isn't. Netflix isn't a protocol, and if you're using torrents as a drop in replacement for Netflix you're breaking copyright law in any case. You can't argue that you use torrents as a competing service without implying you're breaking the law.
Literary fiction readers understand others' emotions better, study finds
400K GitHub repositories, 1B files, 14 terabytes of code: Spaces or Tabs?
Stability of the sync should also be taken into account, to ensure the connection doesn't drop continuously at peak hours.
Required viewing for new college undergrads:  Back to School Video Playlist
They're just using a headline derived from Dijkstra's "Go To Statement Considered Harmful". As with Dijkstra it's a bit clickbaity i.e. they really mean use with care rather than harmful.

Making it a question just gives the extra benefit of making it likely to conform to Betteridge's law. So a meme win-win really.
Is that considered to be a robot?
Wow, didn't expect one of my rowing related articles to ever appear on HN. Thanks for posting, hope you found it interesting.

Also interesting if you like this: "Why There Are So Many Ties in Swimming", https://news.ycombinator.com/item?id=12282326
That's a much smaller list than I expected. I don't differentiate between those that sold and those that ignore unsubscribe (and a few that just have very contrived unsubscribe systems), but I have over a hundred per-service emails attached to disabled accounts (as aliases) to block them forever.

One that stands out in my head is Cadillac. I had requested a brochure for a CTS, and I got random unrelated spam just days later!
The most convenient option is to use gmail and to preface the email address with service name and "+".

So if your email is example@gmail.com, it becomes

dropbox+example@gmail.com

If you dont like gmail, just use it for signups, but as you can have 2FA on GMAIL it is reasonably safe for this sort of stuff.
No mention of Python, can't take this study seriously.