skysight-inc/HackerNews huggingface dataset:
It's functionality that someone went out of their way to create:

def __bool__(self):
if self.second or self.microsecond:
return True
offset = self.utcoffset() or timedelta(0)
return timedelta(hours=self.hour, minutes=self.minute) != offset

http://hg.python.org/cpython/file/302c8fdb17e3/Lib/datetime....

Now that I look at the actual code, it makes less sense. It's not just midnight that evaluates to False. It's midnight UTC that evals to False. So if your timezone is PST, then 8AM evals to False. Since most datetime.time() objects are timezone 'dumb' by default, this distinction doesn't matter so much, but I can see this still biting some people hard, even if "Midnight is false-y" made sense.

Edit: Also, to the "explicit is better than implicit" crowd, notice this line (in core libs):

if self.second or self.microsecond:
return True

It's not:

if self.second != 0 or self.microsecond != 0:
return True

What could be more 'Pythonic' than the Python core libraries?

Edit: s/EST/PST/ ^^;;
Remember everyone, if you get the correct transaction ID you will not learn too much. It's widely known the vast majority of Satoshi's 1,000,000 bitcoin still sit in their mined blocks. So you might search back to a small set of addresses probably totalling a few thousand bitcoin but nothing spectacular like a giant 50,000+ address.
It's not. I don't watch TV. It's not relevant in my life.

I watched a little bit of the Olympics (my wife made me) and while the ladies figure skating was ok, the rest, and especially the commercials, made me feel dumb.

I had to go read a good book (Storm of Steel by Ernst Junger) to boost my mental processes back to normal.

Stupid TV.
I've been using DO for about a year, and I've been mostly happy with it but that's because the project I run http://www.mybema.com doesn't receive as much traffic or active users as I'd like it to. DO has gone down far too many times in the last year for me to be able to be completely confident in them with a 100x userbase.
While I'm all for the HN anti-expert contrarian commentary, let's take a moment to think about this. You, the owner of a failing business, have one view. Gordon Ramsay, the owner of one of the most successful high end restaurant empires in the world, after hearing your justifications, has another. With only this evidence, which view is most likely to be correct?
A Dark Room's unique journey from the web to iOS
Ask HN: Why is the Satoshi Story Deleted?
If Satoshi has been successfully doxed, we can't put the cat back in the bag. Is there another reason the Satoshi article is deleted?

It would be nice if we could at least have a thread where we can discuss the doxing.
"I am no longer involved in that and I cannot discuss it," he says, dismissing all further queries with a swat of his left hand. "It's been turned over to other people. They are in charge of it now. I no longer have any connection."

Seems like a confirmation?
Aye: javascript:void(delete window.console)
Here is a video of a Vulcan taking off - that "howl" is pretty distinctive!

http://www.youtube.com/watch?v=YzdtYU7i_jY

I have to assume that the secret UK war plan wasn't to drop H-bombs on the Soviets but to deafen them into submission.
As far as I understand from reading that whole thread, this is, ironically, precisely why local midnight evaluates to False. They left in an escape hatch to support the illogical idea of addition.
A more detailed account of the journey for those that are interested: http://amirrajan.net/a-dark-room/#adarkroomstory
The Avenger is probably overkill anyways for modern warfare. At this point its advantages over a lighter Gatling-style cannon were probably more psychological than physical - the enemy doesn't have tanks.

I could see the US military fielding a drone built around a 20-mm Gatling gun to fill the void left by the A10, if they really felt that bullets were better than Hellfires for the role.
>>And I think that would be especially true of the libertarians I have known. If I were to generalize about them, I'd say that on average they're unusually thoughtful and unusually principled. Most people don't even try for a coherent political philosophy.

Libertarianism will look like a "coherent political philosophy" only if you're a young white kid from an affluent family.
dazzle camo (razzle dazzle): http://en.wikipedia.org/wiki/Dazzle_camouflage
Don't write about the owner's golf buddies either.

https://vpsexperience.wordpress.com/

An odd experience, I would say.
In my opinion, I see unit test/integration tests as a way to refactor with confidence. It also gives the added benefit of allowing one to test your application with many different versions of dependent software.

My current project example is porting my Django application to multiple version of both Django and Python. I can now start to make my application work with python3 just by running tests. So yes, some of the tests may be testing things that should always be correct, but it helps in other ways.
The Dutch revolution in journalism: all newspapers behind one paydike
DO is great - I just wish features like adding extra disk space and monitoring bandwidth usage were here sooner.
> Or is it just to stroke my ego*

> *And I realize that's ironic coming from a guy who just wrote an 800-word blog post telling you how to think.

It's not ironic.
The point is that the GnuTLS code quality was obviously crap, the developers were obviously incompetent, and only a fool would trust GnuTLS with their system security. I pointed out numerous problems - more in private emails to the GnuTLS authors and Debian maintainers, not just those published on the list - all related to the sloppy programming practices and inconsistent APIs. This mixed-up return code semantics is just another consequence of those sloppy programming practices. How many ways do you have to see that "this software sucks and the developers don't know WTF they're doing" before you realize you shouldn't be trusting them?
> Yeah that's true in theory. But it can get out of control. It's like attending a rally about having too many strip clubs in your neighborhood, then chilling out after the rally in your local neighborhood strip club.

It's a strained analogy, as strip clubs are fundamentally about the thing people who are opposed to them find objectionable - the stripping. Most things government is about these days isn't the thing libertarians or conservatives oppose.

They generally don't oppose that education or the environment is being studied or recommendations are being created - they oppose that the government coerces people to pay for the study and follow the recommendation.

If you're a passionate researcher of things environmental, you probably won't be able to pursue your passion if you cut out government employment - and if you live near DC, most jobs will be "contaminated" by government. Nothing about libertarianism compels you to move to a less government-y place just so you can work a more ideologically pure job.
I worked at Target while in college. The people that were brought in as managers (execs) were not people I had ever met. They'd show up one day from some internship program, and bam 6 months later, they'd be in charge of everything. That said, the people typically were top notch... so I couldn't complain about their management abilities. We'd always say, "they showed up already promoted". It was college life for me though, so I had no illusions of ever wanting to be more than a minimum wage salesfloor guy for a couple of years. 15 years later, and I still have dreams that I still somehow am employed there, and I just happen to check the schedule... and CRAP, I have a shift this week!
What We Mean When We Say “responsive”
It's actually a guy named Nakamoto? I have to say that was not at all what I was expecting.
He used his real name. And a distinct name, at that. There are only 8 results on LinkedIn for "Satoshi Nakamoto", and at least one of them is a fake one. If he truly wished to remain anonymous. And despite this, it took journalists 5 years to find him. If he'd made up a name, he could have probably been anonymous for life. But he chose vanity over anonymity. And now he's an outed public figure. He can no longer sue for 'slander' and must instead argue the much more difficult case of 'libel'.
I happen to live with someone who watches these shows a lot (Kitchen Nightmares, Restaurant Impossible, Save my bar or whatever it's called, etc) and I can totally see how this stuff is pretty fake as each episode always follows the same script and the owners always resist at first, but give in at the end and praise the 'expert'. So I'm not sure if parallels with a 'reality' TV show are entirely in place and representative of what's going on in the real world.

That said the type of 'businessman' the author talks about is everything but fictional. In my 7 years running a web consultancy agency I've come across a lot of these wantrepreneurs who value their status and opinion more than value provided to their customers. I also have been trying to avoid this type of customers as the 20/80 rule applies here very much: 20% of your customers give you 80% of your headaches. My experience with a lot of these 'family' businesses is also that these people often get into the business by heritage and not necessarily because they want to.
> When you live in a system that coerces you into giving up half of your income it doesn't mean that you are in the wrong for working for it or even taking things like subsidies.

I'm positing that it does.

In fact, there's only one case where I can find working for the government while thinking it shouldn't exist is workable, and that's working for the government in a capacity where you can dismantle the government. Which is often what happens right?

Privatization of previously government run programs is one of the example methods for doing that. I'm not interested in discussing the politics of this method, or if it is good or bad. I'm interested in cases where somebody specifically holds a viewpoint, then does everything in their power to work against that very viewpoint.

You were perfectly capable of finding a job that wasn't with the government, yet you specifically chose to apply, interview, get hired and maintain employment with an entity that you didn't agree with. I bet you signed paperwork and everything and happily collected your taxpayer provided paycheck.

It's actually the very definition of hypocrisy to the letter. In fact you put effort into ensuring that you behaved as a hypocrite.

It sucks, and sometimes people do hypocritical things. I'm not condemning you for it. But I do think it's more useful to call a thing what it is and proceed from there.

If you say "I'm a hyprocrite, it sucks and I know it but...meh." I'm actually fine with that.

But saying you aren't when you explicitly, textbook definition, are, is silliness and no amount of explanation or word bending can change that.

It's this exact behavior, this lack of meta-cognition and self-awareness that I find explicitly curious. You haven't explained why you engaged in hypocritical activities at all. You simply said that you did it and that what you did isn't hypocritical and you should be free and clear from behavior inconsistent with your beliefs because...?
> You make a villain out of them, but when someone like Warren Buffet says 'the rich can contribute more' you applaud him ...

Good point on Buffet. Claiming the rich should pay more taxes but having an army of accountants and lawyers on staff to minimize your tax burden seems very hypocritical.
How do you suggest that they would proceed, considering that the DMCA forces them to "expeditiously remove or disable access to the allegedly infringing material", on the contingent of being liable themselves for copyright infringement?
The most fascinating thing about this for me is that it's nothing more than what many fishes do.
Sure. Drones are the future of air power, anyway, but the question is what do we use for CAS until the drones are ready? If the A-10 is mothballed, it's nothing but unsuitable fixed-wing aircraft until the drones are Good Enough. And if the last twenty years of hot wars have taught us anything, it's that air superiority and bombs dropped from B-52s is nowhere near sufficient.
Most of his fortune is directly traceable from early mining activity:

http://bitslog.wordpress.com/2013/04/24/satoshi-s-fortune-a-...
I doubt that. Akami runs a CDN. It's likely something built into Ubuntu.

But if you want to block it, just put this in your hosts file:

127.0.0.1 a23-57-235-27.deploy.static.akamaitechnologies.com
> Doesn't that imply then that those bits that shouldn't have been shrunk are therefore not part of what they think is "the government"?

No, what you are doing is demonstrating the fallacy of division. The proposition "we should shrink government" is not equivalent to, and does not imply, the proposition "we should shrink every individual component of government".

There is a legitimate case to be made that many people who would assert the need to shrink government in aggregate haven't actually considered things sufficiently and would not maintain that position if they considered things program by program, by it is quite wrong to argue that not wanting some particular programs to be cut, by itself, contradicts wanting the government cut in aggregate.
What a gorgeous app!
The only reason for midnight being a falsy value that I can think of is that someone thought that all objects should provide some functionality for __nonzero__/__bool__.

It was a bad idea.
In the interests of full disclosure, I'm a happy AeroFS user; we use it to sync normal corp files plus also larger files (.isos and VM images) across a small number of users and a larger number of workstations. It was a little annoying in the past having to get Mac Java to work, but now that everything is bundled I don't have any major complaints.

It's pretty much my go-to answer for small team file syncing. It probably doesn't make sense for individual users unless they're technically sophisticated with a lot of computers. For larger enterprise use, no one has yet asked me to set up file sharing, but AeroFS would be a top option I'd consider.

The biggest problem with AeroFS now is that there isn't a whole lot of adoption on the mobile API, so mobile apps tend to support Dropbox, iCloud, and maybe Box (if enterprise focused), but not "save to AeroFS".
I'm not sure I understand. Are you saying that light drinkers inevitably become heavy drinkers, and thus the benefits of light drinking are irrelevant?
> To put it another way: If I mounted a GAU-8 on my car, put the car in neutral, and started firing backward from a standstill, I would be breaking the interstate speed limit in less than three seconds.

More likely, you would have a cabrio in 1.62 seconds.
Or, it just means you have integration tests mixed with your unit tests.
Zoho Seeks To Disrupt IT Help desk Market with free servicedesk offering
Used for propulsion, the GAU-8 would run out of "fuel" after only 18 seconds, and would burn out its barrels after 5 minutes.
who should I listen?
That seems unlikely to me, why would Akamai be 'tracking you' and how?

# curl -v http://a23-57-235-27.deploy.static.akamaitechnologies.com/
* Adding handle: conn: 0x7fdd49000000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fdd49000000) send_pipe: 1, recv_pipe: 0
* About to connect() to a23-57-235-27.deploy.static.akamaitechnologies.com port 80 (#0)
* Trying 23.57.235.27...
* Connected to a23-57-235-27.deploy.static.akamaitechnologies.com (23.57.235.27) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.30.0
> Host: a23-57-235-27.deploy.static.akamaitechnologies.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: application/ocsp-response
< Content-Length: 5
< content-transfer-encoding: binary
< X-N: S
< Date: Thu, 06 Mar 2014 17:28:08 GMT
< Connection: keep-alive
<
0

That indicates that this is related to OCSP.
The DCT is analogous to the FFT.
Bitcoin Inventor Satoshi Nakamoto Outed By Newsweek - Slashdot
What cellphone app allowed you to buy and sell Bitcoins in July 2011? I didn't think QR codes were regularly used till late 2011/early 2012.
Sean Parker leaves Founders Fund
The following is a 'proof-of-concept' comment that will be taken down within 24 hours or at user arrrg's request, whichever comes sooner.

Extracted from user's own comment history:

Nationality: German, Caucasian

Location: In proximity to Bonn; possibly residing in an apartment within a zone with a higher than average ethnic population.

Occupation: Computer related

Educational background: possibly engineering / physical sciences

Siblings: At least one sister

Operating system: OSX or higher

Screen resolution: 1440x900, 15.4 inch screen

Primary and secondary education: possibly in Bavaria; victim of bullying.

Political affiliations: self-identified socialist

Police record: 1 traffic stop, no citation; 1 5 euro fine for jaywalking.

Age: 25 or older

Possible attendee of: http://events.ccc.de/congress/2013/Fahrplan/schedule.html

Possible mis-identification: http://events.ccc.de/congress/2013/Fahrplan/speakers/4144.ht... (video: https://www.youtube.com/watch?v=CBQ8xRM3jQk)

Living room audio: Airplay speaker

Mobile phone: iPhone 5s

Screenshot of user's google search results: http://imgur.com/a/Yco1R#0

Possible user of: Inkpad, iTunes

Apple maintenance record: In 2007, MacBook Pro battery suffered an unusual number of failures, requiring repeated replacement.

preemptive quotations from user's own comment history in response to possible responses:

quoted 47 days ago: "The only legitimate use case to me seems not displaying possibly sensitive information"

quoted 144 days ago: "Naming and shaming? What the hell are you on about?"

"Sometimes I hate stupid engineers. They are such assholes sometimes that just do not get it at all.
This fucking thing is some stupid fun. Nothing more. I’m not sure what this cynicism burning with the power of a million suns shit is all about."

"Seems pretty reasonable to me that on a page like this every piece of content deserves its own history state. At least it’s a completely valid view, nothing to go apeshit over."

Note: quotes are deliberately out of context.

Note 2: The above information is sufficient to personally identify the user if someone is willing to spend the research effort.

Note 3: Personal opinions about the user's personality/character have been avoided.
Dealing with interruptions and distractions while remaining focused on the problem at hand is a valuable skill that takes time and effort to hone.

Any hacker can write code while in a closed office, wearing headphones, shut off from the world. Great hackers can write code while E-mails come in, people drop by with questions, Julie over in BizDev is yacking on the phone with some vendor, and the PM is asking if you've filled out your TPS report this week.
This not a case of GnuTLS not being audited, or audited by the right/wrong eyes. Audits were done; the Debian maintainers chose to ignore the conclusions.
Spotify acquires music data firm The Echo Nest
Bitcoin is not and never was anonymous.
Sorry, I don't know how to automatically create a link that will bypass the paywall.

Text below:

------------------

Hold the Sean Parker jokes about $1bn.

It was Justin Timberlake, playing Mr Parker in The Social Network, who delivered the famous line: “A million dollars isn’t cool. You know what’s cool?”

Founders Fund has just raised its first $1bn fund – but Mr Parker has now officially cut his ties with the firm.

News of the new fund came late on Wednesday, in a deliberately low-key statement. But it’s hard to be too low-key about $1bn – or about the departure of an investor who attracts as much attention as Mr Parker.

It was while he was working as president at Facebook that Mr Parker introduced Mark Zuckerberg to Silicon Valley investor Peter Thiel, leading to the first outside investment in the company. It also led to Mr Parker and Mr Thiel working together at Founders Fund in a partnership that immediately put the firm in the Silicon Valley spotlight.

The most prominent – and successful – company Mr Parker has been associated with since then is Spotify, which attracted investments both from him and from the fund, and where he remains a director. But another social networking idea fell flat: Airtime, launched with a glitzy, celebrity-packed party in 2011, flopped almost immediately.

A spokesperson for Founders Fund tells us that Parker “has been winding down his involvement with Founders Fund over the last several years”, and adds: “He remains a friend and advisor to several members of the team, but he’ll no longer be investing on behalf of the firm.”

Another person close to the firm says that Mr Parker hasn’t been actively involved for several years. He told the FT himself two and a half years ago that he had “reduced his duties” at the firm to give him more time to devote to Airtime.

However, as of Wednesday evening, Mr Parker’s Facebook page still lists him as “executive general partner” at Founders Fund.

He was also still listed on the firm’s website as recently as Sunday, where he was described as part of the firm and “an entrepreneur with a record of launching genre-defining companies that reinvent ways to spread information online.” The last time it raised a fund, a little more than two years ago, he was listed as a part of “the team”, though he was not included among the partners.

As the FT’s Tim Bradshaw reported, Mr Parker has been spending much less time in the Silicon Valley recently. Since his controversial wedding among the California redwoods, he has been based mainly in New York, away from what he calls the Silicon Valley “monoculture”. This is what he had to say late last year:

Silicon Valley feels totally in the clouds. There is something so all-consuming about the tech world in San Francisco and it’s inescapable . . .

It looks like he has just taken one more step towards escaping.
None, because both have speeches written by the same writers.
Hadoop performance tuning best practices
That's the default, but you can, and should, use a serializable transaction isolation level where required by the problem domain.
This feels like just re-inventing the wheel again. The seedbank gem https://github.com/james2m/seedbank has been around for a couple of years and does a great job for managing seeds on a natural, more granular level, if that is what you need.
... and now the article put the photo of the house back up. I suspect Newsweek realized that removing it implied guilt.
Get query parameter from the current URL with JavaScript
I doubt that he even has that bitcoin anymore. I expect that he lost the coin and thus is bitter and doesn't want to talk about it.
It's quite instructive to watch the American and British versions of the same show.

The American version is like the British but with the volume turned up to 11 - more drama, more shouting, and more tears.

Also, everyone calls Gordon Ramsey "Chef Ramsey" which sounds wierd.
> Not necessarily. If I worked for the TSA or something, because that was the best paying job that was available, I wouldn't see it as remotely hypocritical to be concerned with politicians, who swore an oath to the Constitution, specifically passing bills to line their pockets.

If you worked for the TSA, you would also have sworn an oath to the Constitution.

> It's easy to say that a truly just person would not work in an industry that benefitted from tax dollars they would rather not have paid, but considering that the government tends to overpay, it is often the best position for one to be in.

So, some people who have sworn an oath to the Constitution should optimize their personal income even when that means benefitting from things they see as a contrary to the Constitution, while others shouldn't?
If they argued for bigger government because it directly benefits them, they'd be criticized for that too.
Cool. Can't wait to download and have a play