skysight-inc/HackerNews huggingface dataset:
The moment I finished reading OP's blog post I felt like I wrote it. However, for my case, I have some doubts about the ADHD claim.

For starters, I managed to play a new videogame for unhealthy amounts of time the last 2 weeks with such dedication. We're talking about waking up to turn on the PC and look what I have to achieve in the game for today then get it done. I never felt like something would make me get up other than food and toilet. Second, I managed to quit smoking cold turkey, after a decade of heavy smoking. I can't feel like I'm a victim of my own craves or I lack the power to just sit down and get things done. And yet, I do identify myself in the OP's blog post.

Would you suggest that I should still take the ADHD test? If yes, which doctor can I ask about it?
I am nearly done building my own. Had a couple of boards etched for me (16 Euro incl. shipping for 4 boards with holes pre drilled)
I will lend the soldering gun from my brother today and build it. Unfortunately I realized I am short 1 4.kO resistor...

http://emergent.unpythonic.net/01257868826

Too much for you? You can live with security by obscurity? Buy this thing:

http://www.entropykey.co.uk/

With both systems you can just feed the noise into /dev/random
You should make some tests from time to time to test reliability. Not sure you can use it with windows.
Do the smaller developers realize that the hardware manufactures pay development houses to do this? I've been paid by pretty much every AppStore provider to develop apps, which subsidizes me to undercut competition.

I feel like most app developers have a severe lack of business intelligence and the allure of easy money has kept them from thinking rationally about how to succeed in the market.

Provide a high quality cheap product at scale, while reducing risk of investment in every way possible. Companies like S2BB can replicate your cute app in days and provide it for free using carrier, oem, or AppStore provider subsidy.

I don't think smaller app devs even realize the uphill battle they are about to be playing.
I work in an industry where Gartner used to maintain a magic quadrant. (C/ETRM software) I worked closely with the marketing director to fill out the questionnaire that Gartner sent. Iirc it was about 20 questions that asked about key functionality and product road maps. It literally was about 2 days (8 working hours) of back and forth between marketing, myself, product managers and c-level employees.

They filled this sheet out, sent it off and forgot about it. From 20 pretty generic questions that ended up being answered with some pretty fluffy and marketing jargon laden bullshit, Gartner is able to tell if someone is a market leading software vendor or not. It's total bullshit. It turns out that it was just 1 guy doing this quadrant as when he left, Gartner stopped doing it(at least that is what I e been told)

The company I worked at even sent 8 people to the Gartner conference in an effort to boost visibility and hopefully quadrant status. I can't believe anyone would take it seriously, let alone base a purchasing decision from it.
John McAfee Wants To Make A Cheap Gadget For Decentralized Networking
Honest question:

How does one go about "getting checked"? What's the proper way to explain this to your doctor?

What you described is pretty much exactly how I feel the majority of the time, and I've been meaning to go to a doctor to talk about it.. but a part of me keeps putting that off since I really have no idea how to properly describe the whole thing. I've been putting off making an appointment for close to a year now.

Part of me feels like I'm going to sound like someone making up stuff (as many do) in order to get prescribed those ADHD/ADD drugs.
If you like that one, then you should have a look at this one too. The Lightning electric bike won the Pikes Peak race this year, including the gas powered bikes . 218 mph top speed. http://www.lightningmotorcycle.com/
Hrmph.

did one of these in 1993, working with pxn when we were both at Fringeware. It turned out to be nearly impossible to eliminate a 60Hz signal without going to pure (D cell) battery power, and a metal chassis.

I'd expect there to be all sorts of harmonics on a USB device.
I've been using dzslides (https://github.com/paulrouget/dzslides) and been pretty happy. I wrote my own tool to take markdown and emit dzslides and I've not been upset yet, but my slides tend to be very minimalistic.
Totally agree, I've done other jobs that are so many orders of magnitude worse than programming that it doesn't bear thinking about. For all its flaws, coding rocks as a career.
True that. Part of the walk of life is learning dealing with ourselves.
You clearly have never heard of Exit Bags.
> As seen at the top, it was necessary to annotate mod. It has the no-check flag on it, which is basically how you tell core.typed to just take your word on this one. That's something you can't do in Haskell, but I'm not sure whether or not that's a good thing.

Isn't the reason why you need to do it because you're importing a non-typed symbol? Wouldn't the only situation where you'd need to do that in Haskell be at FFI?

(and a nitpick: `putStrLn $ show` can be replaced with a simple `print` call)
The fatal flaw in this theory is:

"MI6 did not report him missing, however, until 23 August, at which point his body had decomposed, thwarting attempts to determine the precise cause of death."

His own spy agency failed to report him missing which is pretty suspicious all by itself. To me, this would indicate they're most likely involved. They also left out the fact the heat in the flat was turned up to speed decomposition and the reason the bag was in the bathtub was to make it easy for body fluids to drain.

Lots more details which indicate a professional hit:

http://www.trutv.com/library/crime/blog/2013/01/04/gareth-wi...
Leaving your desk and going for a stroll (outside or inside) is great for mental peace. Standing in a long queue with a horde of other people for 15 minutes is not. This is an elegant solution to the problem :)

(Disclaimer: I am a Potato.)
You could pivot this into a dating start-up: help people bond with others who share their prejudices.
this is nice, really good examples of base stuff that can be achived with bootstrap -- but I kinda feel like using these misses the point of bootstrap in that you should be able to piece together whatever look you're imagining in your head with bootstrap by hand. Learn the code/use the code & quickly build stuff -this cuts a corner that could be handy in a super rush but as always, learning the framework by building yourself can give you intimate understanding
tarsnap pretty already does what your example cites.

As for your overall point, I think it's artificial and only meaningful to someone who adopts a contorted definition of freedom. I don't follow how adding restrictions can make something more free.

> you'd essentially be giving away hardware. It'd also be illegal dumping in most regulated free markets.

What does this mean?
I agree. The problem to paid app sellers is that the extra value they provide - the difference between the free app and theirs - is low, not the absolute value.

Even if your app solved half of my life problems, it'd still not be worth a lot if the free competitor solved 49% of them.
Given your sympathies to Levchin's views, I'm surprised you're opposed to tools like this. How does one accept rigid cultural conformity inside an organization while rejecting employee-side culture fit analysis tools? If culture fit is a major requirement, and your company has a "bro culture" you obviously don't want to hire, or even waste your time interviewing, anyone who dislikes "bro culture."

And I'm curious as to why you (or anyone) should feel this tool is different than all of the other methods employees use to weed out employers: salary, benefits, location, job role, technologies used, company reputation, etc. This tool simply adds "culture fit" to that list.
Sounds like what WigWag is doing with device.js[1] only not as mature.

[1] http://devicejs.org/status/
<div style="position: absolute; left: -2000px;"> will definitely cause problems with screen readers.

These problems can be mitigated to some extent if you have multiple tests and allow clients to fail some of them. That's the approach I used in my latest project. There are approx. 10 tests. Some use CSS and JS. Some use random tokens and hashes. Some are based on assumptions about the target demographic, such as their location, preferred language, and browser capabilities. (e.g. If you're accessing a mobile site with an IE7 user agent, something's fishy.)

Fail any one of them, and your submission is accepted but flagged. Fail two, and your submission is rejected. Fail two X times in Y minutes, and your IP is banned for Z hours. (The fail2ban approach is useful when someone tries to brute-force your hashed field names.)

Occasionally, of course, you're going to run into a legitimate client who fails two or more tests simultaneously, e.g. someone who uses a screen reader with a crappy autofill plugin. But those cases should be exceedingly rare. In any case the rules can be easily adjusted.
Haha, are you sure you want that?!

Yeah, it's definitely possible. To launch, I was trying to keep the number of combination to a minimum.
PyTennessee 2014 CFP 10/1/2013
How I learned to Stop Feeling Safe in My Own Country and Hate Border Agents
I don't know how to configure my email client. I could Google it, but until the first time this appeared on Hacker News, I didn't even think that that was an option for web based Gmail (which is what I use). Even after finding that out, I still haven't configured it, because I just hate mailto: links.

And I'm a fucking programmer.
Researchers devise a way to mimic gravitational lensing that can be seen
The C standard only states that time_t is an integer (or floating-point) type, and POSIX further states it represents seconds since the epoch, so a 64-bit time_t is a good solution.

In order to find and change occurrences of time_t in ports more easily, they could use the Coccinelle tool.[1] The following semantic patch would find and replace variable declarations of type time_t:

@sys_types@
@@
#include <sys/types.h>

@time_t depends on sys_types@
identifier x;
@@
- time_t x
+ long long int x
;

Replacing printf format specifiers is more difficult, so the following semantic patch will find printf statements which use time_t variables, which can then be edited manually:

@sys_types@
@@
#include <sys/types.h>

@stdio@
@@
#include <stdio.h>

@printf depends on sys_types && stdio@
identifier x;
@@
time_t x;
...
* printf(..., x, ...);

These can be used as follows:

$ spatch --sp-file foo.cocci --dir /path/to/ports

where `foo.cocci` is the name of one of the semantic patches above.

[1] http://coccinelle.lip6.fr/
Great idea, I've been meaning to do something like this since forever and it always got sidetracked. Big plus on the ability to free-text search all the content (not just title/url/etc...). I am not sure if any other service offers this for free (though Google might). It's a big fail [for me] to have a bookmarking service that stores my URLs but doesn't allow me to search all of the text.

As someone who has been using the same bookmarking service since about 2006 and has several thousand bookmarks related to various development domains/langs/etc; this is very useful.
I disagree. Making the victim look like some kind of pervert or loner would appear to be common occurrence for British citizens.

Of course, all Brits might all be perverted loners!

Nicholas Anderson, former MI6 officer turned author, told
The Independent on Sunday: "I am on verbal record to my
own family, close friends and select lawyers that if
anything ever happened to me – a straight man and a
positive thinker – it would likely be made to look either
like a suicide or that I died dressed like a woman.

"Over the years, it seems to me a favourite way of
presentation. I, of course, am not suicidal in any remote
way nor do I like to dress so. When I read in the press
about Gareth Williams, women's clothes, and a wig, it all
fits the usual scenario."

N.B. The source of the above quote is not currently available:
http://www.independent.co.uk/news/uk/crime/curious-case-of-a...

Other suspicious UK deaths:

- http://www.mirror.co.uk/news/uk-news/mi6-dirty-secrets-why-d...:

- In 1983, 25-year-old Stephen Drinkwater, who worked as a
clerk at GCHQ, was found dead at his home with a plastic
bag over his head.

- In 1997 another worker, Nicholas Husband, 46, was found
dead at home dressed in a bra and panties – with a
plastic bag over his head.

- Two years later, Kevin Allen, 31, a language expert at
GCHQ, was found dead in his bed at home with a plastic
bag over his head and a dust mask over his mouth.

And a few more British perverts and loners:

- http://en.wikipedia.org/wiki/Stephen_Milligan

- http://en.wikipedia.org/wiki/Death_of_Gareth_Williams

- http://en.wikipedia.org/wiki/James_Mossman

- http://en.wikipedia.org/wiki/Jonathan_Moyle

- http://en.wikipedia.org/wiki/James_Rusbridger

Plus a couple of other deaths that were linked to the state:

- http://en.wikipedia.org/wiki/Hilda_Murrell

- http://en.wikipedia.org/wiki/David_Kelly

- Dr. Richard Holmes (Dr. David Kelly's co-worker) - http://www.dailymail.co.uk/news/article-2133201/Dr-Richard-H...

- http://en.wikipedia.org/wiki/Willie_MacRae

- http://en.wikipedia.org/wiki/Barry_Mannakee

- http://en.wikipedia.org/wiki/Lindi_St_Clair

Apologies about the "source" but:
http://www.dailymail.co.uk/news/article-2139799/Sex-spies-se...

In summary, many of these deaths were suspicious. None of them have been proved to be attributed to the British security services, but is interesting that the link (however tenuous) is there.

Look at it another way. If you are the security services and you need to get rid of someone, making a murder look like a suicide is a good move. However, a suicide normally requires depression or some linked emotional trauma. Without that, the suicide is suspicious. If the suicide is linked to an accidental sexual game then the victim looks like a pervert, is shamed publicly and the "suicide" is much difficult to question. QED, murders through sexual misadventures are much easier to pass off than depressive suicides or straight up murders.
Government can not kill indiscriminately and as a show of force its own citizens as that would upset a lot of citizens as the government is meant to protect them from violence. It has the potential to stir up civil war. It is only then, in case of civil war, that governments chose to display their power in that open way.

Its not the masses that are meant to be kept inline by this murder of a MI6 agent, its the people close to the victim - his colleagues and sympathizers.
Old enough to join the military, too young to be in a beauty competition. /apparently
and the only problem with this is that unless you can unequivocally prove that the public key you are encrypting with is for the intended recipient, you're stuck. Until we have an infrastructure that can allow truly secure proof of identity, you can be assured, email (end every other form of internet communication) is insecure. The only secure email is the one you never sent... or if you're using webmail, it's the one you never wrote. If you want truly secure email, only use a public key to encrypt it if you can prove beyond a shadow of a doubt that the public key you are encrypting with is for the person you intend to write to. Internet delivery of the public key by the standard methods aren't foolproof.
You certainly shouldn't use its output directly, but as I understand it, if you were to push the output into the OS's entropy pool, it will get automatically whitened, combined with other entropy, and fed into something like Yarrow.

The end result should almost certainly be at least as secure as the default entropy sources of keyboard timing, hard drive read/write latency, etc. If you're using a lot of random numbers, then /dev/urandom would become far more secure, and /dev/random would become far faster, since the entropy pool wouldn't drain as quickly.
As a counterpoint, an article[1] posted elsewhere in this thread makes it seem like the weight is not as big a deal as it seems due to how centralized it is. Interesting and I guess I will have to reserve judgement until I can ride one :)

[1] http://rideapart.com/2013/08/rideapart-review-2014-mission-r...
word2vec in yhat: Word vector similarity
I'm willing to contribute but I'm interested in details before doing so. I'm aware that lavabit obviously can't go into details of what they're fighting against, but some breakdown on what the money will be used for would be nice - is it all for lawyer fees or does it cover other costs? How far is the sum expected to reach, will the 40k be enough to fight until the last round or will we get another fundraiser in a year? What happens to any money that's not being used up for the defense?
Seriously? Do you think a few ninja bros cranking out vbscript in Dreamweaver for 80 hours a week are going to set the world on fire?

Whatever contrarian political angle you want to take on this, the primary use is for programmers to avoid being taken for a ride.
Developing Intuition about Special Relativity with Games
Yawn. I'll believe this is something other than a publicity stunt when they start going after Microsoft with the same zeal for making essentially the same privacy policy changes:

http://www.nytimes.com/2012/10/20/technology/microsoft-expan...

http://marketingland.com/microsoft-privacy-change-google-att...
Good to know adoption of so many GNU/Linux desktops. Though, Ubuntu is a bad choice because of the Amazon search bar spyware enabled by default which sends back search queries to Amazon. Perhaps they don't understand the underlying principles behind free software: something that gives the users complete freedom.
School districts have an enormous sense of entitlement. These are the same people who put zero tolerance disciplinary policies in place.
I can't imaging the savings if they had fused them with the police first and used the same software for everybody (even non-open source).
"I liked the presentation, didn't like the history-filling aspect." +1
Do you have a Mac or iOS device you can use this on? I ask because I was considering making something like this a short while ago. I was going to call it 'Mindful Day' and even registered the domain mindfuldayapp.com for it.

At the time I was thinking of either an OS X menubar app or an iOS app, or perhaps both (with iCloud sync). My own preference is for the former, because I use a Mac all day.

Roughly, the idea was for an app that would prompt you for your day's todo-list at the start of your workday, then remind you every hour to stick to the plan, then ask you at the end of the workday how much you got done. It got postponed because eventually I second-guessed myself into doubting how useful it would be.
> Rolling your own random number generator should be considered the same as rolling your own crypto: by all means have a play in order to help understand the concepts, but unless you are an expert in the relevant mathematics+electronics don't every use your own in production.

I'm not sure it's quite as bad as rolling your own crypto. If you have a RNG you can run it through statistical tests, e.g. NIST's DIEHARD tests. If you know the physical principles on which your device works, I can't imagine a scenario where you'd be getting randomly-distributed bits that aren't actually random. And if you add those bits to your system's entropy pool, rather than using them directly, then it should be fine. That said, I agree that you still shouldn't use it in a production environment!

Your suggestion for e.g. the RPi RNG is problematic because (last I checked) there wasn't information online about how that actually works. For RNGs, I'd much prefer trusting my own design than a black box which could be outputting an AES-encoded string of all 0s for all I know!
>These board creators just want to ease the path for most web developers to become hardware developers

Most web developers don't know javascript though. Even the ones who write javascript, I'd estimate fewer than 1 in 10 know the language even at a basic level. Most people are just grabbing messes of jquery infested crap and copy+pasting it. Then making random changes until it seems to work. That's why so much javascript out there is invalid according to the language spec, and doesn't work in less popular browsers.
Going to school or college is much more than just passing the tests. The human interaction, the relationships you form, the ideas you will be exposed to, the things you will learn to avoid... There's value in the education process that goes well beyond the final certificate.
Of course you can do this in Haskell:

http://www.haskell.org/ghc/docs/7.6.2/html/libraries/base/Un...
Reading some of the comments here reminds me of the Adam Smith quote:

"People of the same trade seldom meet together, even for merriment and diversion, but the conversation ends in a conspiracy against the public, or in some contrivance to raise prices."
"Fiat currencies have value because their issuing institution has a local monopoly on violence. Your phrasing is much more palatable."

It does not have to be violence, you know. It can be non-violent -- like a general agreement by everyone that they will abide by the rulings of courts, even when those rulings work against their personal interests. Most debt disputes are resolved peacefully, even when people are watching their cars being towed away and even when they need to leave their homes. Even here in the USA, where the police are soldiers and more people are in prison than anywhere else, the majority of legal disputes are resolved peacefully and the majority of people at least try to follow the law.

It is also false to claim that non-fiat currencies are not subject to this. A currency backed by, say, gold, is still a currency whose value arises because of the law -- a law that connects the paper money to gold in some way, and that requires some form of mandatory payments in that currency. If the US government decided to return to the gold standard, gold would be currency again -- whereas right now it is nearly impossible to trade gold for anything, even on the black market.

So yes, the government does and will always have tremendous power over currency. Currency and law are inseparable except on the smallest scales.
Whenever I hear an evangelist (and I label everyone dealing in absolutes like 'is X worth it?' without at least asking 'what?' and 'for whom?' evangelist), my gut reaction is to dismiss everything without even reading it.

I work in an unconventional setting, where my code runs for a potetially long time and where failure means trying again. This has led me to use a lot of assert statements, both in a pre-/postcondition/invariant checking and in a more general assumption checking style. I still use unit tests, but only to exercise portions of the code quickly - the tests are often devoid of assertions.

I find that this style gives me the best test coverage + internal code documentation for the time invested.
I like the idea of tagging links, it would make looking for bookmarks way easier.
The Future of PHPWomen
Car crash in a tunnel in Paris? ;)
Yet another instance of XKCD having an answer for everything. I expect many instances where I will reuse out the "Data is imaginary, this burrito is real" comment.
I'll be honest, this fact in and of itself is driving me to plan for a PhD. I have no interest in being a digital plumber. Zip. Zero. Nada. I want to solve fundamental problems that have never before been solved.
Just curious - why is this posted to pastebin? Is this to make it completely anonymous? Is this a thing now? I like it.
How would he lock himself inside a bag? I guess it's possible, but rather strange.
It's reveal.js, when I wrote my own presentation software I decided against hijacking the back button - it's pretty annoying :(
WP TogetherJS: Easily add Mozilla's TogetherJS to your Wordpress site.