skysight-inc/HackerNews huggingface dataset:
Using min where I mean max and max where I mean min is my favorite classic mistake that I usually just make most of the time and remember to check for and fix afterwards.

The same thing with misusing "this" in JavaScript closures: no matter how hard I try to consciously avoid doing it, it's always the first thing I check for when code doesn't work as intended, because I still make that same mistake all the time.

Another source of confusion in code that Ben Shneiderman pointed out, is that the meaning of "and" and "or" are opposite to programmers and normal human beings, so languages like SQL and logical expressions in most programming languages are fundamentally confusing to many people, and the inconsistency can be an un-obvious blind spot.

Normal humans mean to union when they say "this AND that AND those AND these", while programmers mean to intersect when they say "this AND that AND those AND these". So that's a terrible source of confusion.

In other words, programmers think adding "AND" clauses narrows down the selection like "((user.age >= 18) AND (user.gender = 'F'))", while humans think adding "AND" clauses augments the selection like "adults AND women".

I'm not advocating changing the meaning of "AND" and "OR", just pointing out that it's a source of confusion you should look out for, and be aware of when talking with non-programmers.

I saw Alvy Ray Smith give a talk about 3D graphics programming, and he confessed that he and his colleagues would just write some code and then flip the signs around until it did what they meant it to do. That made me feel a lot less embarrassed about doing that myself.
It was hyperbole, I'm simply saying there are a hundred if not 10,000 times more jobs in PHP than Go and will be for the foreseeable future.

HN is a oracle of tech, but a lot of it gos nowhere. And Go's still in the early stages. I remember the 3 months or so everyone here was raving about how Twisted was the next big thing.
I think you look for anyone reliable (family, friend, social helper, counselor...) to help you get out of that, because you might not be able to do it just by yourself (or you'll have done it already). Just like any other long lasting abusive relationship.
> I don't complain about the presence of unrealistic space plot device in unrealistic space movie, but there it is.

Normally neither do I, except if the movie's marketing made it an issue. I never actually researched realism claims about the movie (as I said, it came up during a discussion with friends, two of whom cited two different articles where astronauts had testified as to the accuracy of the movie's physics) until now. I have to say that claims of realism are in fact mostly confined to headline writers and journalists quoting astronauts out of context, for example when an astronaut referred to "stunning realism" of the special effects, that got mangled into "astronaut praises stunning realism of Gravity".

Reading the actual reviews, I still believe that misleading claims were made, but apparently experts were mostly quoted creatively.
I've been enjoying spotting the sunset. Can't actually see the sun setting where I live, but the sudden change in hue (blueish to reddish - I've set it quite red) is quite noticeable (pleasing to my eyes).
Oh god,

The worst thing is that this could be a ploy to force the real bitcoin founder to show himself/herself - implicitly their threatening to keep screwing-up random people's lives.
Making anything besides booleans "truthy" strikes me as asking for a lot of trouble for very little gain. For each of these cases, how hard is this to write:

x == 0
isempty(x)
x == nothing

How much clearer is the intent of that code than a truthy boolean test would be? This clarity is all the more important in dynamically typed languages without type annotations since the code itself doesn't give any hint what the type of `x` might be, so the programmer doesn't know what it is the test is really checking for.

Oh the other hand, the cost of truthiness is pretty significant. Each person reading or writing code in a language with truthiness must remember all the arbitrary truthiness rules that particular language uses – and they're quite different for each of Python, Perl, Ruby, C, JavaScript, etc. As this issue demonstrates, whenever you open the door a little, even in a generally sane language like Python, at some point some weird decisions get made and you find yourself with some strange corner cases like midnight being falsey. If you wanted to know if a date was midnight, wouldn't it be easy enough to just explicitly test that?
5 Things Learned at 25
Um, that's not the price tag. That's the amount of money they're going to spend now to keep working on it.
I'd like to talk to someone about the post RSA media blackout and spin by Time Warner. Someone influential, that would like to hear my well documented story about CNN/HLN and the syndication machine that led the public to believe that Colbert loves the NSA and Snowden is a war criminal. "justto commenta" on twitter and G+, because I have to.
I would not rule out that they have a way to build tools, assuming for a moment they exist. So earth technology is closely related to fire as a energy source. ( During the early development for smelting.) But this role could be filled by black smokers, or volcanic activity. But further development would of course be completely different, so I think it is entirely conceivable that we did not detect anything.
How to compete against data scientists charging $30/hour
>with any specific direction from Congress forbidden

The only way for a present Congress to bind a future Congress like so would be by way of a Constitutional amendment. That seems like overkill.

An alternative is giving NASA independence in the model of the Federal Reserve, FDA, or NIH. This is more workable. The problem is the public doesn't value space travel per se. There are sound economic reasons for maintaining an independent central bank. Voters understand the benefits of better medicine. But space travel is less accepted in itself. It is pitched as an article of national prestige, or as a way of encouraging other technological development.

At its core, NASA suffers from an asset-liability mismatch. Its liabilities, missions, carry decade-long terms. Its asset, Congressional funding, comes in election cycles. A myopic NASA, considering only projects realisable in the current election cycle, would be disastrous. Moving to locking in, each year, NASA funding for the next N years seems like a good first step. It avoids the messiness of NASA's year-to-year budget variance. It also side-steps the politics of granting NASA independence.
Interesting. Python support is provided by Heroku build packs?

To deploy Python applications to BlueMix, use
$ cf push -b https://github.com/joshuamckenty/heroku-buildpack-python

Also, I don't see any pricing, so that's a little nervous-making.

Nice that you get an 8GB memory allocation to play with, though, shared amongst your various apps.
Startup Employee Bill of Rights
So update it during the day time when its not active
Time/Warner/CNN/HLN/Newsy/Complex coverage of Colbert RSA
> I don't get it, who is angry?

I am, for the poor guy that may or may not be the author of Bitcoin but who, and whose family, is now being watched and constantly approached with questions.
Can you elaborate on "blacklisted IPs" for hosting content? For spam or compromised boxes, sure. For hosting a webpage that "embarrasses" someone?

At any rate, I have no way of knowing about this issue. It's just curious that DO would put embarrassment as a ToS violation. All sorts of stuff embarrasses all sorts of people. Might as well just put up "DO reserves the right to terminate your services, at any time, without reason."
This is a nice clean criterion, but it's still pretty unclear to me why the zero element of a monoid should be considered falsey at all.
I would go for the second job. I personally think that developing your overall skills takes precedence over company name and job safety, especially during the initial stages of your career. I don't think it would be that much of a learning experience if you are not allowed to make design decisions.
Just because you can use the complexity of C++'s full rule set to contrive vexing and ambiguous trivia, doesn't mean it's necessarily important to know all of it.
his coins arent on mtGox.

but yes you can see the blockchain - it's public.

he also is a loner with no friends.

the real guy also detailed how the best way to store them.
I wish something similar could work on an iPad. I use my iPad before bed and it often impacts on my ability to sleep.
When I said “go into politics”, I did not necessarily mean to become a politician. I meant to make political change – to go after the problem on the political level, however that may be. There are many kinds of “politicians”, just as war is merely a continuation of politics by other means.
Marlboro College in Vermont has an innovative approach to university studies
DigitalOcean grew faster on a month-to-month basis than AWS
> How can I take you up on that bet?

Creating the bet with Counterpartyǂ.

Step 1. Establishing 'Dorian Prentice Satoshi Nakamoto' trustless P2P betting feed

counterpartyd broadcast --help
counterpartyd broadcast --source='SOURCE_ADDRESS' \
--text='[BINARY] Dorian Prentice Satoshi Nakamoto is Satoshi Nakamoto, the creator of Bitcoin, by his own admission or indisputable evidence on or before June 21, 2014' \
--value='1' \
--fee-fraction='0.1'

Step 2. Placing bets

counterpartyd bet --source='SOURCE_ADDRESS' \
--feed-address='FEED_ADDRESS' \
--bet-type='Equal/NotEqual' \
--wager='10' \
--counterwager='10' \
--target-value='1' \
--leverage='5040' \
--deadline='6,21,2014'

[ǂ]: https://counterparty.co
> "An alternative is giving NASA independence in the model of the Federal Reserve, FDA, or NIH."

This would almost certainly be the best way forward.
There are ports of this for IOS and android.

On Android it's called "easyeyez".
Have you checked out Redshift? I love flux on my mac but it's quite buggy on linux in my experience.
I think this personalized approach is really important - showing that you're not a faceless corporation but in fact a team of people working towards the same goals is a great thing to strive for.
Well it's not the origin of Bitcoin itself, it's about which human individual or group wrote the initial paper and the initial version of the software. It's a side-issue that is mostly pursued out of curiosity.

Note that this doesn't mean that I agree that curiosity justifies the current witch hunt, but that's another matter.
That part about "distinctive name" actually sound like shoddy piece of journalism. It's like calling "John Smith" distinctive. But while "John Smith" means nothing for native speaker, Satoshi (if written like 聡) can be interesting pen-name, meaning "wise" (google translate won't help you this time, so check http://jisho.org/kanji/details/%E8%81%A1 ).
I don't know how I missed this. Looks like the local Redbox has it in, so I'll be checking it out!
I'm a current Braintree customer, where my start-up integrates to their services via our custom cart. I can't really compare them to their other competitors, but one of the things I really like is the ability to call them and ask questions about my business workflow.

Often times, I get their 2 cents before I change my business workflow, or I get crazy unexpected scenarios I need help on (mainly involving vendors getting new credit cards).

I appreciate them going beyond the call of duty with helping me with things outside the traditional technical api questions. I just hope the paypal acquisition won't change things...
The 5 Rules All Effective Online Communities Must Follow
It's not important because you should use it in your projects.

It's important because other people will use it, sometimes inadvertently.
True. But neither does it mean that you gain anything by being ignorant of it.
How The Syrian Electronic Army Hacked Us
Meetup.com Back Online After DDoS Attacks, Extortion
Do you have kids yourself? I don't want to be condescending but, this is one of those things where you have to be part of the target market to understand that the protective instinct you have over your own kids is so strong and so raw that it would be really hard to overcome inside an on-demand transactional marketplace.

You will also understand that kids up to school age (toddlers) generally only trust people they're very familiar with, it's a process that takes days, not hours or minutes.

No matter how good the checks and due diligence you have in place are - because the majority of parents will not entrust kids to a stranger at the drop of a hat. As codegeek said, trust takes time to build, especially so between the child and sitter. In the process of putting my 2 year old into daycare it wasn't just a matter of dropping them off - there was a month long process where either I or my wife were taking time off work to introduce her to her new carers, making sure she was comfortable with them etc and that was after vetting 4 different care centers.

With sitters, we'd only allow grandparents or my wifes older sister who has similar aged kids too.

[Edit: 2nd para - putting myself in my own kids shoes]
This is an important problem to fix, because the eyes adjust to the dark screen (your pupil opens up), and in fact switching quickly to a bright screen is extremely alerting.
I was just turned on to f.lux recently and I can't recommend it enough. I find the affects to be really noticeable and positive; working during the night is much less abrasive and I find the transition from screen to bed to be really smooth.

I love that something so simple can have such direct, physical ramifications.
> It's supposed to be tied to the time you turn your lights on (with their different color temp), not when you go to bed.

This assumes you work in a room exposed to sunlight during the day.
kPHP is not PHP, it's a PHP-like language.
I wonder why he doesn't outright deny it all, current and past involvement. He doesn't want to be involved, as far as we know, so why would he care if it's a lie that he has never been involved? Would he not lie out of integrity (assuming it is him)?

Or does he have some plan to out himself at some point, and is it just that he hadn't wanted it to happen like this? Hmm. Well this last part is only wild speculation, in my opinion this hunt and questioning of him and his family should stop right now, but I still wonder.

Curiosity killed the cat...
Unfortunately it may be very hard, or take a very long time, to either confirm or deny this claim. What is the standard of evidence for the bet to be won or lost?

For the record I strongly believe Newsweek got it wrong, and that he's the wrong guy.
What "linguistic analysis"? What "coding style"? Was any actual code written by "Dorian S. Nakamoto" presented?

Where is some evidence he even knows how to program?

From the links on Reddit, which are the only pieces of writing that can be confirmed for "Dorian", I see absolutely no similarity with the style of the bitcoin paper. None, at all.

> describes why the other Satoshis are not the Bitcoin Satoshi

Where is this? She says "Dorian" was the only plausible Satoshi, and proceeds to use interviews and the absence of any hard evidence as evidence. It's like a creationist saying "how come there are no fossils of the missing link"?

Here's why it's shoddy journalism:

The process also requires a good amount of math, something at which Nakamoto - and his entire family - excels. The eldest of three brothers who all work in engineering and technical fields,

The only "evidence" that the family "excels" in math is that they work in engineering or technical fields. No papers published, nothing except that a couple of them worked at Hughes aircraft (including Dorian S.).

My mom is actually an engineer at Raytheon and before that Hughes. She had to get national security clearance and her work there can be described similarly. I'm sure many HN users have had to get security clearance. It's not that big a deal. Though my whole family consists of engineers, and even some professors, I would not particularly describe us as "excelling" in math. That is probably true for a lot of HN users as well.

And even if you were to make such a claim, it is in and of itself no evidence that this Satoshi is the Satoshi. On the other hand, if he had been publishing cryptography papers or game theory papers or even CS papers for a while, or even demonstrated any interest at all in cryptography similar to his interest in model trains ..
I had the previous version installed on my mac, and kept seeing sporadic issues with my mouse cursor jumping a couple hundred pixels at once when moving it side to side. Finally disabled F.lux and the problem went away. Anyone know if the new release fixes that issue?
You can trivially check on play.golang.org
There is, if you're jailbroken, it's called F.lux :)
I think this is a pretty fun little quiz engine. I don't speak c++ very often, and was pleased to pass the medium difficulty with reasonable confidence. I looked for a difficult problem, but it looked too hard for me to care about thinking about it right now, but maybe one day.
Austin Heap is a fake. Never heard of him before I sent him all those links, when they were Youtube videos, via Twitter(@justtocommenta). He ganked the audio out and claimed he got it in some Super Secret way. I sent him the Youtube link to the full Colbert Q and A and realized what he was doing later. I called him out on it and he deleted all the tweets he could and removed the Q and A from his blog. Suspect. Way to share the truth, like you really care.

Not to mention Haystack and Iranian tanks. Total poser out to make a name for himself, and look FABULOUS! doing it.
Yeah that's what most people think (and sometimes it's the right approach).

For most SaaS apps your customer had a chance to experience the product on a free trial of some sorts.

If they are convinced enough to buy many will be ready to recommend.

Asking for it at that point only shortens the referral sales cycle (you don't have to schedule a separate call for this since you're already talking to them) and once you've closed the positive feedback loop they can start giving you more referrals (and at that point they've probably been a customer for a month or two).

Starting earlier just makes this gain a lot more momentum faster.
Graphene could deliver Internet 100 times faster
Holy fuck no freaking way.
I'm slightly confused, are there actually any useful updates to the Windows version or is this just for the mac?
It also assumes you don't work in a well-light environment during the 3rd shift.

Regardless though, I think these shortcomings should be resolvable by simply setting your location in flux/redshift "incorrectly". So if you work the 3rd shift and use artificial lighting to give yourself an 'artificial day', then you'd just set flux/redshift to think that you are a continent or so over.
can we please, PLEASE have an android port of F.lux. All the other apps make my phone erratic and lag, or flash the unfiltered screen at random intervals which is binding at night.

I would gladly pay for this!
Oh yeah, I REALLY liked what I saw when I looked into polymer. It looks like a radical shift in web dev that could actually happen, and would be amazing for reusability, and a whole lot of other things.

Hmnn so from what you said I gather that the items are:

- Trying to solve "I want to convey implicitly held information through images" rather than "I need some icons"
- Colors are cool
Seems like a 3d printing niche opportunity.
You may recall that one can use the quadratic formula to find solutions to a quadratic equation (polynomial with highest term being x^2). Did you know that (one) guy that proved there is no such formula for quintic equations (highest term x^5) died in a duel when he was only 20? [1]

There is a town with a particular rule when it comes to facial hair: those who do not shave themselves are shaved by the barber. But then who shaves the barber? [2]

The other poster mentioned different infinities. One "size" of infinity is called "countable infinity" and is the infinity describing the size of the natural numbers (1,2,3,...). Say we have a hotel with a countable infinite number of rooms. I've been travelling all day and I show up at the hotel, and talk to the clerk at the front desk. He tells me every room is full, but when he sees the sad look on my face he tells me not to worry - he can make room for me. He simply moves the person in room 1 to room 2, the person in room 2 to room 3, room 3 to room 4, etc... And then the first room is empty for me, and everyone still has a room. [3]

[1] http://en.wikipedia.org/wiki/%C3%89variste_Galois
[2] http://en.wikipedia.org/wiki/Russell's_paradox
[3] http://en.wikipedia.org/wiki/Hilbert's_paradox_of_the_Grand_...
https://lobste.rs/ , I'm assuming.
> Working for the government does not grow the government.

Working productively for the government, specifically when non-government alternatives exist, does.

Let's say you work in transportation, should you work for the DoT or the company that owns all the toll roads in the region?

Let's say you do a damn good job for the DoT and because of your work you drive the the cost per traveled mile per person (or whatever the applicable measure is) to a fraction of the same for the private toll roads. You've just justified that government is in fact better than the private sector. The local general assembly passes a law that the toll road should become public property and a forced takeover is instituted. Government is grown.

But you could work for the toll road company, drive their costs down while expanding their owned network, demonstrate that private road ownership, a pay-for-what-you-use system is the best. It beats paying taxes on roads you won't even drive on! Private road companies start taking over all the roads and the DoT becomes nothing more than a small regulatory body. Government is shrunk.

You have a choice, participate in government or not. If you believe the government cannot be effective, and you still take the government job, you become part of the problem and that's hypocrisy full stop. If you do a good job, you defeat your own argument. If you do a bad job, willfully (to try and prove government can't work) or not (just laziness and incompetence), then I question the need to retain you either way.

The U.S. at least has such a large private sector, it dwarfs the public sector, that there's very little excuse in going government vs. finding a commercial job somewhere.
I dislike people who conflate the median with the average ("It’s just not possible for 60 percent of the men in a room to be above-average drivers, unless you’re at a Nascar convention." -- it is certainly possible, its not possible for 60% to be better than the median driver, even if you are at a NASCAR convention.)
It's the nature of the quote that makes it seem like it comes out of a movie or something. It is still plausible he said that verbatim, but unlikely in my opinion.
That's the most obvious benefit of having tests for me. Documentation can be outdated and even if it isn't it very rarely contains examples of use. Passing tests are for me exactly that. An up to date example of how the thing should be used and what can I expect from it.