skysight-inc/HackerNews huggingface dataset:
Heroin should be legal for anyone to purchase aged 21 or over. Sell it off of liquor store shelves in clean, measured doses, with single-use needles. All sealed up with tamper-proof packaging.

Let the big pharmaceutical companies manufacture it. They can do it so cheap they'll drive the cartels out of business.

It's amazing that anyone could think that this could be a problem.
"What it almost perfectly aligns to is the S&P 500 chart."

You've displayed correlation and insisted causation. Of course, Ezra seems to have done so as well, but your correlation isn't any more impressive than his.
pfsense is using PF, and I'm not going to try and take any steam away from them.

ipfw is small, lightweight and fine for what I'm experimenting with.

If people want to include pf and send me a pull request with that as an option then by all means, please do!
Ask HN: How Do I Learn to Type?
I am a 23 year old software developer. Since day one in front of the computer I have been perfecting the hunt and peck method of typing while resisting all efforts made by others to try and get me to type like an adult. I feel like this has gone on too long, especially considering my line of work, and I think it is time to learn to type.

1)Is there any typing software (preferably windows or web based) that you would recommend? Most I have seen are designed for children (although maybe I deserve to be treated like a child at this point)

2) Is it too late for me/is this a worthwhile pursuit? I am pretty quick at hunting and pecking but I have definitely hit the upper bound of my possible typing speed with this method. Also, I haven't heard of anyone re-learning to type after using a computer for so long.

Any and all suggestion/advice/shame is welcome
dang or any mods, can you please change the url to:
http://www.theverge.com/2015/5/15/8611445/tesla-direct-sales...

The currently linked url is a bit of text and a link to the above url.
nope, it only builds inside freebsd for now. that's a bit of a sore point which I'd like to fix, but .. you know, ENOTIME.
Yup. A lot of people, myself included, were under the impression that signalfd takes over from the normal signal-handling pathway: it doesn't.

It's particularly bad because the only way to get notified on a child exiting, in an event-handling architecture, is to wait for SIGCHLD notifications. (You can't call wait/waitpid because that's blocking; at best you can call it in a separate thread.) So even if all you're trying to do is write a program that runs a handful of children asynchronously, you have to incorporate signals into your architecture. And signalfd taunts you by providing siginfo with each notification, so you think you know which child exited -- but in fact, those siginfos could have coalesced, so this data is useless.

A friend claimed to me that siginfo is only useful for so-called synchronous signals (SIGSEGV, SIGILL, etc. -- stuff that you can't handle in an event loop anyway), which I'm inclined to believe, the more I think about it. So there's no reason for signalfd to have included siginfo.
FreeBSD's older than freenode. Inertia is.. inertia. A lot of FreeBSD developers only hang out on efnet, so that's where a lot of stuff happens.
"Hang on, I just rode my bike to the office, let me plug it into my parking spot so I can discharge the capacitor and get paid for the ride up here and I'll come up to your office."
Celebrating Microsoft Solitaire
Will those unsuitable for narcotics production still yield a positive test result?

Also it highly interests me to find an edge case that various law-enforcement agencies haven't handled at all.
Xiaomi Starts Selling Accessories in the UK, US, France and Germany
What 145 Funny App Ideas Say About Today’s Tech Culture
Common crawl gives you the data, not the results for the keywords that you're interested in.
There's a directors cut on Steam as well that has Valve-style making of markers with developer commentary.

If your first play through involved killing people, try completing the game non lethally (except for the boss fights) for an achievement.

Also: Ceilings of Deus Ex http://imgur.com/a/FDAbV

Also: Michael McCann's soundtrack: https://open.spotify.com/album/4LuVQCHTgUZjuWgUQ7lQbl
I'm curious, has he avoided opium addiction or is it just that the effects of addiction are less bad than his pain?
> I hated being forced to do this so many times in my career, I started my own company.

It depends a lot on what your company is doing, but for the most part, you'll probably discover that cutting corners to save your short-term time is often the right thing to do.
Not one more day of NSA mass spying on our phone records
How do republican types who are pro protective action for dealerships justify all this is the context of 'free market'

Downvote? It was a serious question. The two views seem incompatible.
The fact that it so closely aligns, in both spikes and drops, over a 50 year period of time, more than proves the point.

I'm insisting that such an extreme coincidence is impossible.
> due to excessive abuses by lazy faculty, the whole system is likely to die a slow death.

That's true of a lot of systems; Tenure, unionization, welfare. It becomes easy to stir people in to a frenzy to eliminate the freeloader problem while the question of whether the institution is too important to care about freeloaders remains ignored. In all the cases, perhaps freeloaders are just part of the price for a valuable system, and we should accept it.
fwiw this is currently being discussed on the sks mailing list, but the overwhelming opinon seems to be that the current behaviour should stay. https://lists.nongnu.org/archive/html/sks-devel/2015-05/msg0...
I believe the "lower-stakes contexts" you mention are qualitatively different.

Rape, Violence, or War are related to traumatic experiences. You might not find it so controversial if it they were visceral descriptions of Arachnophobia, Acrophobia or fear of drowning.

Religion or Politics, on the other hand, are related to controversial ideas.

Discussing controversial ideas should never be shielded: at best it leads to enlightenment and new points of view and opinions; at worse it is a waste of time (perhaps because some ideas are poorly fundamented). So for example, the visceral passages in those books might have been safely replaced by an explanation of the results (for the students who find it traumatic only) without much loss. Of course, ideally one would separate himself from the situation and not be affected, instead focusing on understanding objectively the social and historical context for the book, or maybe the prose, and so on; but it's completely understandable some may find those experiences too traumatic.
Test performance of Cloud infrastructure from your location
Worse, hard to read since the contrast is so low. Also the author doesn't seem to know about em.
GeoOrbital Wheel
Is there some .NET platform / interop issue that requires F# to have null references? SML and OCaml have Option types and Haskell has the Maybe Monad. It seems weird that F#, being an ML-family language, requires checking for references to null.
It seems to decouple quite noticeably around 2008.
It pretty much is "when you feel comfortable and are productive working alone". However, there's a lot to unpack in that statement. In particular, it requires being able to understand trade-offs, knowing what to do when there isn't a clear "right" way to do things, and understanding that often the "right" way is situationally dependent.

If you're still focusing on the "how?" and "what?" of programming, you're still junior. If you're starting to look more into the "why?", "who?", and "when?", then that's an indication of a transition to a more senior role.
Reminds me of The Calorie Man which is quite good if disturbing.

https://www.goodreads.com/book/show/7805265-the-calorie-man
Pressure under water is not the same from all directions. Otherwise a balloon rise under water.
Yo don't really need any special tools. Just keep practicing. I would imagine that you have already have the keyboard layout committed to muscle memory. Its just a matter of retraining your self to use all of your fingers.
Senate Intelligence Chair to Constituents: I Don't Care What You Think
And the end-users's motivation for ever purchasing anything with is... off-setting short term costs with long term costs that make payday loans look like a fair deal?
Place a towel over your keyboard. Place your hands underneath the towel.

Fumble around slowly and have to press backspace constantly until you learn where the keys are.

>Also, I haven't heard of anyone re-learning to type after using a computer for so long.

It happens when you want to switch keyboard layouts, more common than you might think. I switched from QWERTY to Dvorak and very quickly from Dvorak to Colemak. I now use Colemak at home and QWERTY virtually everywhere else. So I've had to learn to type three times!

If you can't see your keys - you can't hunt and peck. You can also paint your current keys, scrape off the white paint, or buy a keyboard that lacks the characters.

I'd look for a cheaper model (if one exists) but the idea is to get a keyboard like this:

http://shop.daskeyboard.com/collections/products/products/da...
Computers are so amazing. This incredibly complex and mathematically intensive process we just read about? It happens 30-144 times every second. And this is just the logic to render the scene - there's the additional input logic, game simulation logic, sound logic, and I'm sure dozens of other things that happen once a frame to make a game run smoothly.
Very often in statistics the common sense answer is completely wrong. That's why we insist that correlation does not equal causation. Your picture proves STRONG CORRELATION but says nothing about causation. It can't say anything about causation, because that information is missing currently without an analysis.

Technically speaking (the best kind of speaking) you have demonstrated only that these two things are correlated, but you have not proved that one caused the other.

For example, the rise in CEO pay could have caused the stock increases, not the other way around. Or, both could be caused by another even more perfect factor.

Without a causation analysis to factor for error, we cannot know, and its simply wrong to assume that one caused the other.
I don't want to stray too far from the original topic, but your equivocation is unwarranted. Unlike religions, cryonics actually has evidence behind it. Modern cryoprotectants allow for accurate preservation of brain nanostructure. Axons and even synaptic vesicles are kept intact. In fact, Alcor's cryopreservation protocols have already been used successfully on small mammal organs, such as rabbit kidneys.[1] Kidneys are harder to preserve than brains, as they have less vasculature to allow saturation with cryoprotectants.

Does all this mean that pumping a brain full of cryoprotectants and cooling it to -196°C will preserve its memories? Possibly, but we don't know. Cryobiologists and cryonics researchers readily admit this, and they're working to find the answer.[2] If that sort of thinking is religious, then call me a zealot.

1. http://www.21cm.com/pdfs/12FahyORG5-3%5B1%5D.pdf

2. https://vimeo.com/22766034 Starting around 33:05, Dr. Brian Wowk talks about memory preservation. He's quite frank about the fact that there's not proof, just a good likelihood that current methods preserve memory and personality. Then he outlines some next steps for research.
From what I gather, the Bitcoin mining is really just a way to incentivize device and chip makers to include 21's tech, in the short term.

I can think of two longer term benefits that only kick in once they actually get their tech widely distributed:

1) A low-power hardware wallet in your smartphone, smartwatch, etc, allowing people to make Bitcoin transactions from anywhere to anyone without needing to go through a middleman. Finally, true digital cash.

2) A Bitcoin private key on every Internet of Things device, which means that you'll be able to use some sort of fancy multisig side-chain algorithm (I'm no expert here) to verify ownership of all of your "stuff." This will disincentivize theft in a big way.

It's worth noting that, to make mining a viable way to bootstrap this whole thing, they need to be at the cutting edge of Bitcoin ASIC tech for multiple iterations of Moore's Law. Which is probably why they raised so much money.
Why Tesla Won’t Be Able to Scale
I will tell you, as someone in the same position, that even when you get all of the time you need, and you write elegant, beautiful code, in five years that code will probably seem clunky and outdated, and someone will ask you what the heck you were thinking when you wrote it.
Most republican types aren't pro free market, only the illusion of free market with a healthy dose of regulatory capture.
Try http://www.keybr.com it worked for me.
So in the 1970s, CEOs were compensated at about 20 times the average worker's compensation.

In the late 1990s, the ratio zoomed up to about 300 times the average worker's compensation, where it remains today.

What can explain this? Why have average inflation-adjusted wages stagnated or declined, while compensation for top people goes up by an order of magnitude or more?

Globalization? Decline of organized labor? Private equity? Financial engineering?
Show HN: Cassandradump – Exporting tool for Cassandra inspired from mysqldump
"So really, your GitHub profile displays two things: how 'influential’ you are, and how easily you can be coerced into constantly working. It’s honestly about as relevant to a decent hiring decision as your Klout score."

...

"...Employers love to talk about passion. You must be passionate about problem-solving, or testing, or agile methodologies, or whatever this week’s 9-factor NoData cargo cult is. We don’t want to work with anyone who’s not passionate.

Now, I don’t actually know what people mean exactly by 'passion’, so I asked around, and the gist seems to be that it means you have an enthusiasm for your work that extends beyond your working hours. That you don’t switch off. That you can’t stop thinking about work because you’re just so gosh-darned pumped about it. In other words, that you will put in unpaid overtime on demand and without question, because your job is your primary source of emotional fulfilment."

Couldn't agree more.
Someone sees this code somewhere:

// this code accomplishes x
foo();
bar();
frob(42);

They want to do x, and they copy the whole block, and perhaps modify the argument. They have only a surface understanding of what foo, bar and frob do, if any. They don't know if there is an order dependency; they don't know if the behaviour is specific to the situation where the code was copied from, or whether it applies (or not) to the place the code is copied to.

This is blind copy and paste. It is blind because it is not seeing through the symbols to the workings underneath. Functions, classes etc. as abstractions are useful, but they're leaky, and to write good code, you need to understand things at a lower level. At the very least, you need to know about implicit dependencies, time and memory complexity, and have a vague idea of the heft - the constant factor - of what you're putting into motion.

If it's a codebase undergoing continuous development, and foo / bar / frob are grouped together in more than one place, it's a smell. The code probably needs refactoring and restructuring, and all the calling points need adjusting.

This is just a more concrete example to get across what I'm talking about, since it seemed to be unclear. I don't have time to watch a video before replying, sorry.

Also the only way I forget what I wrote a month or two ago is if I've changed jobs, and then it's a willing forgetfulness. It takes many years for me to forget my code, for better or worse.
Both wait() and waitpid() have a non-blocking mode (WNOHANG). So use SIGCHLD to decide when to check the status of the child processes, and waitpid() to actually do it.
I remember reading Krugman's article on CEO pay and just shaking my head. The reality is that he is an economic writer and not an economist any longer. I'm sure there are plenty here who will disagree but I think Krugman long ago lost his credibility as "a leading economist." Anyone who remembers the "broken windows theory and iPhone upgrade cycle" article couldn't help thinking, really?? This guy won a Nobel Prize?
Would love to read opinions on the 'access to resources' argument.

To me, it seems that EV require different/unique resources (like access to a giant factory of really good batteries), and not just 'brand' and 'cash', as the article says.

And, if that is the case, Tesla would be the car company most likely to succeed in this market.
Top 12 Super Components of a Killer Brand Strategy
In reply to a comment that listed the quality of the package repos as one of three major areas of concern, you said that "the all-around best choice is Exherbo's package management" and that "I'd like to think it has fixed all the problems Gentoo had".

If you can't be honest about its shortcomings, you won't be able to convince anyone to try out your pet project. It doesn't matter how reliable and trouble-free it is at managing the core of the system if it immediately degrades to "build it yourself" anytime you want to use something that's not popular enough to make the cut for a live CD.
This is the only story-based game I've played through twice in a row. The second time, I discovered plot elements that I completely missed the first time around.

I am really looking forward to the next one!
and yet ...

no remote opportunities for talented individuals living all over the world?
I had a nice time playing the original Deus Ex, explicitely because of its A.I.

But then IIRC I think I read somewhere that the A.I. was just scripted, and I probably lost some interest in it.

But does anyone know a bit more on that? Is it really just a scripted I.A. ?
Avery hasn't put much effort into sshuttle for some time - you probably want Brian May's fork, which is now https://github.com/sshuttle/sshuttle

In any case, since 2011 sshuttle has supported DNS interception via a divert socket, so although it might not work today I suspect it should be somewhat straightforward to fix. I haven't looked into this yet as my only use case for sshuttle involves running it on the end host itself (typically my laptop).
I disagree. If you want to use civil disobedience as a tool for changing bad laws, you have to be willing to accept the punishment for disobeying those laws. Otherwise you're not an activist, just an asshole.

If you'd rather not be punished for breaking a bad law, that's fine too. Just lobby for it to be changed without violating the law, like the rest of us.
At the very least, Microsoft wants/needs to have a seat at the web standards table, as well as influence at that table. While not a necessary condition, being a browser vendor is almost certainly a sufficient one.
Could you point me at the datacenter utilization article? I can't seem to find it, and it sounds interesting
I agree that it doesn't improve causation but it is more realistic to expect that their increase in pay strongly correlates with the S&P 500 as stock price is the underlying vehicle of their compensation.
That's nothing. Try this: https://www.youtube.com/watch?v=XtHXrSUOeSY
A somewhat more thorough asking of the same good question: http://www.reddit.com/r/Bitcoin/comments/36e8by/21dotco_a_bi...

I'd like to see this answered in some forum. It's very hard to get a more concrete sense of the vision without it being answered.
Following your example of using the most efficient miner available and ignoring heat, size, etc. restrictions:

Average cost of electricity for U.S. households is $0.12/kWh [0]

0.05 Wh = $0.000006 average cost

Net Profit = $0.0000008801 - $0.000006 = -$0.000005120

Net profit margin = -581.7%

[0] http://www.npr.org/sections/money/2011/10/27/141766341/the-p...
How We Created a Workplace to Cultivate Awesome Employees
Well I can't really see any benefit to force the wrapping all returned values in promises without a proper example.

The then() signature can be expressed in typescript and I suppose in alternatives like flow (using the union type): https://github.com/borisyankov/DefinitelyTyped/blob/master/e... .
doesn't work in safari though he talks about adding the safari prefix at the end.
This is absolutely insane. You're basically getting $0.00000001 USD for cutting your phone battery life significantly.
Developers chat group on Slack
Wride-Up iOS/Android Development: Report on Uber, Lyft Rides
A brief history of fighting spam at Pinterest
Well done Tom and team!
The graph you linked is very old. The hashrate is plateauing[0].

0 https://blockchain.info/charts/hash-rate?showDataPoints=fals...
The reality is that he's a political writer (a.k.a. pundit) trading on economist credentials.
Firewalls are sets of rules which culminate in a decision to accept or block a packet. The rules are easily expressed in predicate logic accepted by Z3. You can do all sorts of neat stuff then; check out https://github.com/Z3Prover/z3/wiki/Publications

Some general examples:

* Does firewall 1 accept a subset of the packets accepted by firewall 2?

* Does firewall 1 accept the same set of packets as firewall 2?

* Does this firewall accept some arbitrary set of packets?
(useful for proving implementation of security rules)

* Do any of the firewall rules overlap?

* Do any of the firewall rules conflict?

Z3 will also provide examples or counter-examples to the above true/false questions. I like to think of Z3 as an Oracle. You give it a bunch of statements describing what you're looking for, and it magically spits out an answer.
I've used signalfd before and consider it an improvement over normal signal-handling. Signal coalescing happens regardless of signalfd.

The only major thing you have to remember when using signalfd is to mask the signals you want to only receive via signalfd and then unmask these signals in any child processes before calling exec*() functions.
For me it's simple:

1. Lack of risk management
2. Poor project management
3. Allowing other to set my urgency (like deadlines but more psychological)
4. Not enforcing professional practises I know I should follow

3 and 4 are to all intents and purposes symptoms of 1 and 2
The corporate profit boom coincides with the vast boom in the global economy after the fall of the USSR and the liberalization of China.

If you check out China's historical GDP, and track it from 1988 forward, you'll see a radical acceleration in growth through the 1990s. From $300 billion to $1 trillion in about ten years; and then from $1 trillion to $4 trillion in another ten years. Many countries rode along with that boom (and were having their own booms), for example Australia, Singapore, Hong Kong, South Korea, etc.

The S&P 500 CEOs particularly benefited, since their companies were the most exposed to that boom of perhaps any CEOs on earth. In 1970, the percentage of S&P 500 profits that were foreign, was about 6%. By 1990 it was about 16%. Today it's about 22% +/-.
So how do we get there? More mandatory minimums? Less judicial discretion?

Since I think the solution is to get rid of the drug courts and move them into the medical system, and not to demand more accountability.

Plus, what of accountability for the politicians who set up the policies in the first place?
>stock price is the underlying vehicle of their compensation.

Would not company performance be the vehicle, and stock price simply one measure of performance? It's not like stock price and business performance are identical, it's very possible for a company to be over or under valued.

Could we not say that company performance causes both stock price AND ceo pay, thereby showing that stock price and ceo pay are NOT in a causative relationship, only correlated because both are caused by actual business performance?
sounds like these lads just came back from Mars.
Sure but the original argument was that the drug cartels have a tremendous potential for violence. That seems established and the "customer" part's a red haring.