skysight-inc/HackerNews huggingface dataset:
Why the hate towards Canada? Please back that up with some actual reason.

I doubt Elon could have accomplished what he has in Canada, much of his support has been American. It would be unlikely he would have gotten as far as he has without being a member of the PayPal Mafia,and that was strictly an American affair. It is questionable if that business could have succeeded in any other country in the 90s (or was it 00s?).

Solar City I suspect would have had a very small chance of surviving in Canada as well, with too small a market of businesses likely able to install the solar cells.

Tesla could have a chance of being built in Canada, and may have actually been cheaper, but the idea of creating a convertible sports coupe just sounds a bit too strange.

Though their is a decent amount of rocket technology expertise in Canada, the risk and cost of the venture would require significant external investment, and again, it was likely easier to manage this in the US.
Towards an information-centric political philosophy
Why is web software given away for free (and is it bad or good)?
Playing with computers is awesome. Coding is awesome. It's always a huge boost to put something new out to the world. It's great.

But you know what else is awesome? Spending time with my wife, gardening, hiking, traveling, biking, eating, exploring, wine, beer, home improvement, etc.

So yeah, I will never come to the office just to hang out with someone...especially on a sunday. But I'll get my work done and help others get their work done and it will be good work. I just won't do it on a sunday.

- Ok, a year and a half ago I worked 43 straight 10+ hour days because I really believed in what I was doing. Chances of me ever doing that again voluntarily? Basically nil. Life's too short and spending so much of it in front of a screen...yuck.
> For comments it’s very fast to tell which comments you didn’t vote on, so the negative answers come back quickly.

Can you get into more details about how this is used? If reddit needs to display a page that has 100 comments, do they query Cassandra on the voting status of the user on those 100 comments?

I thought Cassandra was pretty slow in reads (slower than postgres) so how does using Cassandra make it fast here?
The article states the numbers are "based on new-vehicle registrations.", which would suggest they are not inflated by out-of-state purchases.
For Laid-Off Older Workers, Age Bias Is Pervasive
Yahoo starts handing out abandoned IDs to new users. (charges $1.99 to request)
Interestingly, in the D.C. area, you'll see large areas to the West (Virginia) with Asian/Hispanic mixes, large areas to the East (Maryland) of all racially Black areas, and North (Maryland) non-mixed densely packed blocks nearby for all races.

In the Western areas, there are very large Korean and Latin mixed population areas, so much so that most Korean restaurants are owned by Koreans, but all the cooks and staff are Latin American and the staff speaks Spanish and a little Korean, but no English and the owners are the reverse. In some ways, it's a little like K-Town in LA, known as "Korea town" but with large Hispanic minority groups mixed in. Also the home of the "Bulgogi Taco".

It's a very unexpected integration that somehow works pretty well.
Tesla should make trucks if thats the case :)
His comment is the second I've seen referencing mythical post downvote buttons. Very curious.
I think it's important to remember that each programming language is good at different things. You wouldn't ordinarily try and build your blog with C++ just as you wouldn't ordinarily try and create a new operating system in JavaScript.

I think PHP is certainly capable of building larger systems and in recent years things like Composer and frameworks like Laravel are putting a lot of the PHP ecosystem on par with what's available for most other languages.

But I view PHP's sweet spot as small web sites. If you're a small business that needs to add a form or two, some simple DB access, send a couple emails (a few dozen to a few hundred lines of code) PHP is your ideal choice to get something up quickly, get it up on virtually any web host out there easily, and get back to focusing on your business. PHP's lack of elegance doesn't matter all that much when you're talking about a small project.

I think that Ruby/Python/etc are much more elegant when you get to the point that you're building larger web apps, but PHP is a very practical choice for lots of simple projects.
Do BDD tests typically take that long to run?

My unit tests take 1-50ms to run (the majority of them closer to 1ms) and I can run a decent suite of them in a few seconds.
This is spot on. We use a lot of intrinsics, as we want to get at some of the underlying features of the architecture, but we almost never write asm. It's becomes obsolete almost immediately and is often far worse than the compiler's first cut.

We had a former performance guru who once put a huge #ifdef I_DONT_CARE_ABOUT_PERFORMANCE around the "naive" C version of a loop and had his favourite x86 asm version on the #else branch of the ifdef. Needless to say, much hilarity resulted when defining this macro improved performance. I suspect that the naive version may have been a bad idea at one stage (Pentium 4, perhaps) but became a better version from Core 2 onwards...

Ocassionally I'll get on a wild tear and think "Oh, I can do better than the compiler" after it generates some ridiculous-looking instruction sequence that seems to not be using enough registers (or whatever). I then find that hand-writing and hand-scheduling everything in accordance to what looks really good to me - actually works worse than the insane-looking code in the compiler. Put it down to stuff like store-to-load forwarding, dynamic scheduling, register renaming, etc.
50+ requests to load the page? This locked up my browser for a good while. I don't really want to even consider a css/less framework that takes 5s to load its dependencies.
That is solid.
What constitutes doing evil with it? Presumably you hope that God will exalt righteous believers and punish misbehavior, since you believe that his surveillance of people is important. I can't think of any motive for surveillance that does not involve acting on the collected information. Therefore, my question to you is, why do you care if your God punishes or exalts other people? Most of us don't believe in your God and are unlikely to change our behavior to conform to his norms, so even if God is watching and taking notes, at best he's meting out post-facto punishment for our sins, which is not going to make anyone act any nicer towards you in life. If you just hope that 'sinners' are going to 'hell,' I ask, why is another person's destination important to you? If your God is truly benevolent, shouldn't everyone just go to 'heaven' after they die? If your God is not benevolent, why do you worship him?
Any reason not to use, say, OCaml when working on a team? Its module system seems like it would make it well-suited to working with other people.
Oddly enough I never got an email, I just saw my rejection on the website.
There's less of an investment industry (in Canada there's an oligopoly of a few shitty banks). And of course, London, New York, and Silicon Valley are special places.

Also, very anecdotally, in the US and southeast UK you get more of a enrepreneur/go getter vibe. There's some of that in Vancouver as well. This is all anecdotal personal experience though.
I sure wish I was this clever.
It's not a matter of rating frameworks, it's a matter of purpose. Django and rails are designed to go from nothing to product as quickly as possible. Plus, thanks to better hardware and scaling techniques, it's easy and affordable to stick to frameworks longterm (instagram and github, for example). Sure, they could they rewrite their site in C++, Go or Erlang, but they would lose their ability to rapid prototype new features.
Startup culture also irrationally glorifies failure, to the extent that in places like Silicon Valley failure is viewed as a noble thing and in fact a requirement for success.

So yes, coddling may be bad, but so is being left completely to your own devices. There are a lot of parents who manage to hit the middle ground by exposing their children to failure while providing them with a safety net that society refuses to provide.
Have you heard of Google App Engine?

You can't use any python module that runs C, which rules out bcrypt and its ilk.
Don't be too expressive
It's interesting to hear that hiring is cheaper in Boston than in Silicon Valley. I have always had the impression that Boston is also up there in the "crazy expensive" list of places to live. Maybe it's a savings from Silicon Valley, but Boston must still be somewhere among the top 10.
Using a shared buffer list isn't very efficient in a language with concurrency since you have to synchronize to take from/add to the list.
You are overgeneralizing. Being front-end bound is true for some code but not for others.

We see our gotchas typically in terms of not being able to issue instructions due to data dependencies and filling up the RS with things that can't make progress (informally, a big tree of "ORs" where one source for everything has missed L1 and held everyone else up).

Other people will be hopelessly bound on cache or memory bandwidth, or floating point multiply, or whatever. Or disk access :-)

If one is curious about whether this applies to one's own code, you don't have to speculate - just bust out the Optimization Guide (http://www.intel.com/content/www/us/en/architecture-and-tech...) and go figure out where your bottlenecks are by looking at counters. VTune can do some of this stuff for you.
I use my real name and offer them an easy to use nickname in the same sentence. I've been doing it since childhood.
Timing is pretty important on the SAT math section; if you spend too much time on one problem you might not get through all the others.
I'm proposing something that's not quite as foolproof and automatic as generational GC, but more optimal and a lot quicker and safer than hand-rolling. Also something for which profiling is enough to "know how you're going to use the buffers and which buffers are going to be reused."

So basically, take something that's a programming problem and reduce it to "profile, then throw some switches."
I'm dual Polish/US citizen. Yes, that's true. However, you need to adjust for cultural differences. I.e. in the US people in general smile to you and pretend they don't mind you're gay. But then, Prop 8 comes up in "liberal" CA, and what happens? Yeah, right liberal. ;-)

You see, the US culture is very, very fake. Americans are fake. They'll smile in your face, tell you how much they love you, and then talk sht about you behind your back and hate just as much as a stereotypical Pole will. The only difference is that in Poland people will tell you stuff in your face while in the US it is all love, sensitivity, smiles and roses and everybody is just trained to talk the talk. But they never walk the walk. The problem with Poles is they had enough communists telling them what to say to be ignorant to the whole political correctness thing.

My guess is that if we could get into people's heads you would see they think probably the same stuff in both places. When for that example they see a gay couple kissing in public. The difference is that in the US they will pretend they're fine with it (and then show you their hate when voting), while in Poland - yeah - they'll openly tell you what they think about you.
Or F#. No particular reason, I/we just don't like them as much. (Haskell has many other unique qualities, e.g. proper STM.)
There's MediaWiki::Gateway for Ruby: https://github.com/jpatokal/mediawiki-gateway

Disclaimer: I'm the main author, and there's other implementations, but this seems to have become the most popular one.
A Beginner's Guide to Computer Science
Orwell summed up the psychological effect of total surveillance with Winston's insightful diary entry:

"Thoughtcrime does not entail death: thoughtcrime is death"

It starts with outward self-censorship and ends with the internal...

"He set to work to exercise himself in crimestop. He presented himself with propositions —'the Party says the earth is flat', 'the party says that ice is heavier than water'— and trained himself in not seeing or not understanding the arguments that contradicted them." - Chapter 4.
Here's mine: https://github.com/jpatokal/mediawiki-gateway
It's fortunate, since it made Intel able to encode the new XACQUIRE/XRELEASE of the Transactional Synchronization Extensions' Hardware Lock Elision using these short ancient prefixes:

"Hardware Lock Elision adds two new instruction prefixes XACQUIRE and XRELEASE. These two prefixes reuse the opcodes of the existing REPNE/REPE prefixes (F2H/F3H). On processors that do not support TSX, REPNE/REPE prefixes are ignored on instructions for which the XACQUIRE/XRELEASE are valid, thus enabling backward compatibility."

from http://en.wikipedia.org/wiki/Transactional_Synchronization_E...
Well no other tech has been demonstrated to last for literally centuries, other than paper.
> a former performance guru

I know a lot of folks who have not reacted well to compilers becoming smarter than they are. =)
Markets are a technology; like all technologies, it's important to use the right tool for the job, and to be aware of the surrounding contexts that influence its uses in the real world.
Bingo. That and business intelligence/insider trading. Surveillance is very profitable.
Tesla offers something these other luxury manufacturers can't: access to California's HOV lanes without meeting the occupancy requirement.
This is often one of my biggest complaints, hard to read text and color contrast. Question: The text is #fff and background #000. You can't get better contrast than that. Is the problem the narrowness of the font I used?
Facebook adds shared photo albums Prepare to collaborate photos
700K of the 1.2M mobile apps available are zombies
Coming at it from the teaching side there is definitely a high correlation between lack of foreign accent and good teaching skills. In school I used to help assign graduate TAs into math sections. We would go through and rate all the graduate students by teaching skill and then use that to divide up teaching and grading assignments.

The data showed unambiguously that TAs who lost their accent were much better teachers than those who didn't. It wasn't about not being able to understand the words of the TA; there was an English qualification test that weeded out anyone who couldn't be understood clearly. I think the lack of accent was a proxy for other changes, like being adaptable and willing to alter one's behavior. The bad TAs with accents tended to use ineffective teaching techniques and not change while the good TAs updated their teaching methods based on feedback.
Maximizing expected value. You make more profit even when you take into account all the false positives.

Profiling people (who have nothing to hide) gives banks and insurance companies huge advantage. It may look insane in personal level, but there is solid math behind many of their descisions.
Downvotes exist. You just don't have enough karma to see them.
Depending on how meta you want to get, you could consider going to work for http://www.meteor.com/.
Exfiltrate Data with DNS (With Source Code)
Show HN: Maintain identity without an account.
Sorry, are you being sarcastic?

I already stored all my data on Google server thanks to Android. And I use google maps and google now so they know more about me than my wife does.

In fact most of my apps on android and iOS like linkedin, facebook, twitter, instagram, mint etc are storing my data on their server.
Ask HN: Best IRC bot for open source project rooms on Freenode
For those of you that manage an open source project with a chat room on Freenode, can you provide a recommendation on the best bot for managing the freenode chatroom? Also, if you have any links to articles and other resources for best managing IRC for interacting with your community, that would be greatly appreciated.
I was way too ambitious with the game I was trying to build.

In the days of yore, I became one of the admin staff for a MUD I played, and you had to write an area. My proposal was for a vast frigid wilderness, and was 500 rooms big. I was significantly talked down in scale by one of the other admins, who'd written half the areas himself. The area ended up being 330 rooms in size (and the MUD prided itself on atmosphere) and it was quite a feat to write at that size.

At completion, I was very grateful to have listened to the other admin - the extra size wouldn't have changed the quality of the area, but would have meant 50% more work. It certainly made me more humble in accepting advice from more seasoned folks.

Also interesting at the time - I was going to school and working in a sleep lab. Semester break came at the time I was trying to finish the area. For a period of two weeks, apart from the sleep lab shifts (10-12 hours) it was a weird 'natural' cycle of 4 hours sleep, 4 hours awake and writing. I was glad I did it... and that I don't have to do it again.
There's a huge room for improvement in my automation code here and there, but there are also some hard improvement barriers presented from using selenium webdriver. In the future, I am thinking about moving all the selenium webdriver tests to use phantomjs. I am also still using ruby 1.8.7. I hope that upgrading to ruby 2.0 will have noticeable improvement in speed.
How To Remember Every Day Of Your Life
A terrible work from home policy
> Those are the relevant first principles according to you. As the linked writer indicates, others believe the relevant principle is something like "whatever policy will produce the best outcome, according to statistics such as firearm deaths, is the right one".

But that is based on an idea that life is more important than liberty, right? That statement follows from it.
I don't know which Rothbardian anarchist touched you as a child, but I'm really really sorry.
Pick an accent in English that sounds very extreme to you. Learn to speak that accent. For example, if you live in California learn to speak the difficult words as if you are from Texas or Georgia. Don't aspire to say "there" but go for "thar" instead. Example "can you hand me that book over thar?" Your goal should be to make people think, "this guy speaks good English. When he moved here he probably refined his English in Texas or somewhere in the South."

Once you have learned to mimic one accent you can quickly master another.

Source: I did this myself in Brazil when learning Portuguese. The words that were hard to pronounce I would say like I was from Rio. It was easier to mimic the accent from Rio because it was different from what I was hearing every day. If I were actually in Rio I would have probably found it easier to mimic a Paulistano accent.
Oh no she didn’t: Apple programs Siri to diss Google Glass
For comments, not for stories.
This is not question of credit ratingt agencies getting wrong results. They use these systems because they work. Big number of false positives is just collateral damage. Maximizing expected value is what banks and insurance companies want. It's like poker, you don't play to win every hand, you play to get more money.
> I think there will be people who just decide to live without fear of the NSA

The difference of course is that with religion I have the luxury of not believing that the surveilling entity actually exists. I have no similar comfort with the NSA.

I wish I didn't believe that the NSA exists, but I do, and there isn't any way for me to change that. I cannot simply decide that I no longer believe something exists.
I don't think that at all for a couple reasons.

First the article talks about the need to save honor and avoid shame.

Also full agreement is not needed, just seeking common ground would be helpful.

The problem with political arguments, to be honest, is that our parties, which don't represent our interests, have convinced everyone that they are good and the other guys are evil. I think exploring the common ground in the first principles will help people come together across political lines and clarify where we agree and where we disagree so that the narrow political consensus is not what the big bankers say it is but what the people say it is.
Introducing Arduino YÚN
We aren't talking about vehicle insurance, which does allow the use of gender, age, and happenstance.
What stops you from storing your data on your own server, or in LocalStorage?
> Having attended both a private high school as well as an Ivy League college

Me too.

> exposure to people from families that are tremendously committed to education and were raised with certain values.

That's to be had. You can also meet lots of cynical elitists who see themselves as superior human beings and exempt from certain moral codes regarding the treatment of their perceived inferiors. Of course, this is true at just about any school.
Ok, I'll bite...

In the article it mentioned that the tutor in question had a greater than 90% success rate.

What's the control group success rate? 95%? 85%?

If I start an SAT tutoring group and manage to limit myself (let's say, through pricing) to a group that is already quite likely to succeed, than I have effectively priced myself into a track record.

As long as the stats already look impressive, it should be relatively easy to ignore that part of the question, as long as I am not actively harming the chances of my students.

After that, it becomes a question of the intangibles mentioned in the grandparent post: look, dress, body language, etc.

I agree, however, that it's not like faking wine, but for the opposite reason. I would bet that it's much easier to uncover the wine fraud, since there will be some sort of paper trail, whereas there will never be a control group study between your SAT tutoring and no intervention at all.
Stop the Delay -- One Week to Save Gunnison Sage Grouse
For many consumers, their bank already knows their physical address since they have their home loan through the same bank.
The C++ standard places a number of requirements (ordered, stable iterators/references, logarithmic operations) on std::map which really only lines up with balanced binary trees. As another poster pointed out, C++11 introduced std::unordered_map (A hash table).
This makes Apple look childish. Tim Cook should really stamp out this kind of behavior.
He's now just backpedaling. Best to ignore it and move on.
Have you profiled the difference? Do you use these containers in places where it matters?
Why not be worried about both? Don't confuse palpability with severity!
I believe God is just, not necessarily benevolent.
this is being done by a completely unbiased computer program

And I'm sure the program was written by a completely unbiased computer, too!
Modern Intels also cache decoded uops to alleviate this. So if your (say) main loop is less than about 1500 uops, decoding performance becomes less relevant. This is particularly important for SIMD instructions, which are often quite large (> 5 bytes) and thus can easily bottleneck on the decoding step.
As do some twitchy credit card fraud filters!
It's not so black and white, if you don't actually need multiple versions of a data structure, then you are strictly copying more. There are scenarios where you do want versioning, of course, but this is why its good to have choices.