skysight-inc/HackerNews huggingface dataset:
How do you understand that a quicksort is faster than a selection sort at the core level without theory? I mean, I see what you're getting at. That does help you understand how to speed things up at a very low level and might be useful for embedded systems programming or kernel hacking. But most programmers work on a much higher level and need to understand a lot more concepts than that.

For instance, it takes a lot more to build a scalable and reliable system (especially one that must scale to multiple systems) than simply knowing how the circuits are designed. You need to understand network protocols, how things are stored on disk by databases, a bit of graph theory, how caching works, and a whole slew of other things.

Would it be beneficial to learn this all from the ground up? Probably. But I doubt many college students would be thrilled by the idea of spending 20 years finishing their degree.
This has been fixed in the just-released Tornado 1.1.1.
I was building an app that used pushState/replaceState recently instead of the hash bang syntax, but getting content navigation isn't easy. For example, when attaching the event handler to the links, you have to be careful not to make it trigger on middle or right clicks and you have to keep track of the scroll state so going back keeps the same behavior and also to take a copy of the previous selected text. Without all of that, intra-page navigation feels unnatural and uncanny.
Nokia should have bought Palm when they had the chance. The former has solid hardware and crappy software, the latter an inverse problem. It would have been a perfect match.
Security versus Flexibility - from 1995-1999 Microsoft, Flexibility frequently won out. It's better to have a monopoly on the world's operating systems, but be insecure, than to have the worlds most secure operating system, but have some other company be the market leader.
English, French, Hindi + Creole + Bhojpuri :p
Working on Norsk, along with others...
Why Startup America is a bad idea
Should spies spend more time on Twitter?
The owner did a pretty interesting AMA over on reddit about a month ago.

http://www.reddit.com/r/IAmA/comments/ev2zb/i_run_thathighco...
Ask HN: Anyone been in the T-shirt business?
Hey fellow hackers, have any of you been in the t-shirt business.(selling niche t-shirt online).
if so can you talk a little bit about 1) making deals with the screen printing company 2) how big were your margins(profit).
Marketing/Delivery is not a problem I have, I got that down.

thanks in advance.
English and Swedish.
Before I started developing Rails I always used JSON + client side templates which were constructed in pure jQuery and really tedious.

Then, with Rails, I asked myself, why would I want to have the template somewhere in the middle of a JS file where it isn't even recognizable as an HTML template at first sight? Why not have it, like all the other views, in one convenient place? Furthermore, often you have a partial you render on the server side and with some AJAX you send more entities of this partial to the client. Having this partial twice is really tedious if you wan't to tweak the HTML.
Epson color printers. Hands down. The technology blows everything else out of the water.
You are certainly not alone in this! The best way I've found to avoid burnout, even with things you enjoy, is to do things in a balanced manner and adopt good habits. Don't spend your life putting in tons of time squashing fires and then zonking out. Do your best to meet deadlines, but accept some consequences and transition towards a more balanced work ethic. Also, don't be too hard on yourself; that just fuels the paralysis. You are human like everyone else.

Read this:
http://www.tophatmonocle.com/blog/2010/12/20/avoiding-burnou...
Data: Charting Facebook's rise
You do not speak C++ fluently. If you did, you would know that ++C is faster in some circumstances and is generally to be preferred. :-)
C, objective C, python

Technically, I know java, but after this semester, I'm done being forced to use it.

oh, I'm also fluent in English.
Same here. Was an exchange student in Sweden for a year. What a great country!
Python (Django), definitely.
It seems like if this explanation were to make sense, whoever implemented the string-to-number conversion was careful enough to implement saturating addition, but careless enough to not use a numerical type large enough to hold every possible phone number. I don't know if I buy that.
Borderline my ass, this is pretty textbook stuff.
How Ignorance dooms Autocracy
I don't have any inside information on this, but my guess is that this is going to come down to confusion about 302/303/307 redirects. In theory, clients receiving a 302 in response to a POST are supposed to re-send the POST wherever the redirect leads; in practice, clients do all kinds of different things. This feels like just the kind of weird edge case that defeats fragile security mechanisms like crossdomain.xml.
Which of the three isn't (generally) true all over the world:

o Restaurants open at 11:00 AM.
o You check out of your hotel no earlier than 11:00 AM
o You can check in at 3:00 PM.

Certainly different hotels allow things like Early Checkin (I've checked in as early as 8:00 AM in hotels with a lot of vacancy), and late checkout (most hotels will let you check out at 12:00, and for a small fee, 1:00 is usually no problem). And yes, there are lots of restaurants that only do dinners, or breakfasts/lunches - but for a restaurant that does two shifts - 11:00 AM is usually a guaranteed time for it being open.

But, I don't think I've ever been to a country where the checkin/checkout/restaurant opening wasn't generally true.

Admittedly, I haven't been to the "One Time Zone China" - that might throw my theory out the door...
Ah, thanks for the lengthy description. Your reminder that usernames can only be 30 chars led me to a fix [1]. It's definitely monkey patching, but it works fairly well.

[1] http://stackoverflow.com/questions/2610088/can-djangos-auth-...
Japanese and English. Living in Japan for 10 years helps with your Japanese.
Prom Dresses 2011, Cheap Prom Dresses, Prom Gowns Blog
American living in NL
This does seem partially misguided - Tim Ferriss himself does say that he spends a lot more than 4 hours a week on projects, because he doesn't see that as work, instead they are projects he chooses to do because he enjoys them (similar to the author of this post).
From his reddit AMA:

My rent is $1050 / month, I live with two friends. Adsense pays me per click, but when I charge advertisers, I charge them CPM.

August - 150k uniques

Sept. - 100k uniques

Nov. - 140k uniques

organic = ~20%

referral = ~30%

direct = ~50%

I don't get direct advertisers often, but when I do, I charge them anywhere from $2 - $5 CPM (obviously it depends on the company)

Edit: I forgot to mention, the AMA title was "I run ThatHigh and it pays my rent in SF" so I guess it's safe to say that he makes at least $1050/mo from the site.
Def Clojure.

It's gaining immense traction, and I'm definitely looking into doing my next web project with it.
Can someone explain to me why a site like lifehacker even needs javascript at all, let alone so much? It's a blog, presumably it's value should come from the value of it's textual and pictorial content.

It's just nuts that I have to burn so much CPU just to read some text.
Groupon explains Super Bowl ads, highlights giving
"Before you ask, not all of them work at Microsoft."

This leads me to believe that 50% of the people you know who like their Windows phone do work at Microsoft.
Yup. If they were older, they'd realize just how little a deal y2k was.
Screwtape Letter #32: Is Go a Functional Programming Language?
> the Tea Partiers had their say.

That's a bit misleading: of the 111 "tea party endorsed", 96 voted for the extension, 12 voted against, and 3 didn't vote. This is essentially indistinguishable from the other Republicans, at 114/14/2.
some sites may switch because they want the browser to do more of the rendering work, such as rendering templates. Others may want to avoid the overhead with a full page refresh as users navigate the site

Both of these can be achieved using progressive enhancement. There is no technical reason to include it in the page itself.
Stack Exchange QnA site proposal: Beginner Theoretical Computer Science
Even though it will be more difficult for worms to spread over USB, this does NOT mean USB keys are no longer an attack vector.

For attacks targeted at specific computers, you can bypass the new restrictions with Teensy and similar devices.

http://www.offensive-security.com/metasploit-unleashed/SET_T...
that makes us two :-D
Fair. Would you feel the same way about a web application, as opposed to a content-heavy site?
Start with www.cafepress.com to produce your ideas and see what grabs people. Make no money, just float ideas as quick as you can.

End with http://www.295guys.com producing the popular shirts in bulk and try to make $5 - $10 per sale.

You will be fast. Very fast. Target the seasonal, local, and current events markets that traditional players aren't nimble enough to touch.

Its hard work to be sure but its fun and there is money in it if you run tight.
Actually, C++ is more likely to be faster than ++C, since C++ allows for greater instruction-level parallelism (the increment can be done later rather than being part of the critical path).
I think you come off as a bit elitist and arrogant about your major.
Genetic Algorithm Car Evolution Using Box2D Physics (v2.2)
why wouldn't it wrap around?
Furthermore, in my opinion, leaving autorun enabled for CD/DVDs was the right decision. Most people don't use CDs for transferring files anymore. Viruses wont be able to get much traction by spreading over CD/DVDs, because barely anyone inserts writable disks.
Galician (a variant of Portuguese -- or vice versa, historically), English and Castillian ("Spanish"), which I've never used much, but know better than 90% of natives, since I live bombarded with it in a diglossic country.
The thing is. I don't see a big traffic on this "community site". I call that a fair traffic that will maybe not last.
I also expected a poll on computer languages.

I selected "Other" for Hebrew.
Backbone.js Tutorial with Rails Part 2
Kevlar?
I probably shouldn't have phrased that so definitively: I don't have any evidence that Flash is to blame here. In fact, given that this problem required a framework-level fix (rather than, eg, a simple patch from Adobe) I suspect that this affects a lot of things.

In my tweet, I just meant to say that Rails checked for something very simple: a header that Flash's addRequestHeader() can trivially fake out. As Neal points out, that can't be the whole story — but I suspect it's part of it.
Video interviews with the homeless for $1USD/minute
A dollar saved is always easier to come by than a dollar earned. Very many companies start to spend their hard earned money foolishely once they become big or get funded. You should always treat the companys money as your own, or you shouldn't be allowed to make monetary decisions.

I always look to IKEAs founder Ingvar Kamprad for inspiration in these matters. He still buys schampoo in discount stores even though he is one of the richest people in the world (he doesn't show up in a lot of lists since his wealth is in funds and not in his name).
Which of those classes teach that you shouldn't store phone numbers as an int? Physics, logic or network theory?
And we are also fluent in Slovakian :)
The point of progressive enhancement is specifically to not maintain two versions. You have just one version of your code for all user agents, and then you enhance it for agents that have better features.

Now worrying about having to build your templates twice -- once in your back end language, and then in JavaScript -- is a valid concern. Code duplication is never good. However, mustache is supported by many many languages (http://mustache.github.com/) which means that you really can build your templates just once and call out to very similar code to populate them with data.

Yes, you would need to run tests against the site with and without JavaScript (or CSS or XHR or any other feature that you were using to progressively enhance your page, but how far you go is really up to you), but if that's automated, it isn't much effort on your part.

I'll be the first to admit that it's fine to cheat in the code to give your users a better experience, but I don't think it's a good idea purely to take development short cuts or cut costs. If our roads were built that way (and in India they are), you'd end up with potholes every six months (and in India we do).
How do you know who the people are? Presumably, the app would create blogs, facebook pages, linkedin, twitter, etc. Passing a phone interview would be harder, though not impossible. You might need really good voice recognition. Speech generation probably wouldn't be insurmountable.

In person, this might be trickier. This might require a robot mannequin. Alternatively, you could hire an actor with wireless ear plugs. Presumably, the computer would tell the actor what to do.
Lithuanian, English, Russian. I can understand Polish and speak a bit, but I am afraid this does not count as fluent :)
> But sadly, if you speak English, there are no languages that you get for free.

Scots.

http://sco.wikipedia.org/wiki/Scots

And that's it. :)
Locked Phones are the norm in Germany too. If this holds true for France too, the vast majority of mobile phones in Europe is being sold locked. I don't know the details about the "illegal" claim, but normally those things are governed by EU laws, making it somewhat hard to believe that contracts common in the UK and Germany would be considered illegal in the Netherlands or Portugal.
New in elasticsearch: Percolator - finds saved searches that match a document
I'm hoping that at least half of C.E.'s would be able to make that logical deduction given their knowledge on ints and the possible lengths of a phone number. :)
I'm not trying to compete with you. Nor am I trying to imply that CE majors can't build scalable web systems.

I'm just trying to explain that the interesting problems in CS are different than the interesting problems in CE, and therefore benefit from a different approach. My experience has been that the difference is simply that CS majors get told "This is how you create programs" while CE majors get told "This is how you create hardware that can run programs". No more, no less.
Great idea - hard to search, hard to cross-reference, almost entirely linear, slow to consume, much higher production costs. Yup. We need more of that.
"Over the past few years technologies such as in the U3 functionality found on many thumb drives has provided alternatives."

In my experience, U3 is nothing but crippleware. It should be killed with fire.
Yeah, and the first act of the Indian intelligentsia was against sati. It's easy to be against the most obviously wrong.

My point wasn't that reform hasn't happened, my point was objecting to the casual generalization of China as currently superior to the West in gender equality--by demonstrating the concrete sexism of the past.

Having ruled out the past since both West and China infringe gratuitously, what do we really _know_ about gender equality in China in the present day?

And I am the sort of person for whom a gender equality rating is strongly influenced by high ratings in tolerance for homosexuality and other non-gender-norm labels.
Of course it is. But still, what we get out of this is a renewed awareness that things are so. Sometimes, after decades of speeches, we forget that US supported democracy because it was usually helped its political interest and not the other way around.

Unfortunately from what I read it seems the ones to get the message least are the ones who'd use it most: the ordinary American ballot caster.
Didn't notice that in my regional Google site.

Well, that is what's meant by recursion, isn't it?
I think Nokia have repeatedly been making really dumb decisions about both their marketing and implementation.

Some examples include:

* Code-naming their phones obscurely, making it nearly impossible to remember and later buying a phone you like. Compare "Galaxy S" and "iPhone 3G" with "N6310".

* Not bothering to place the phone's name anywhere remotely visible on the phone, so you have to yank the battery out if you want to know your friend's phone model.

* Repeatedly implementing really dumb design decisions without ever fixing them: When calling someone, the "Speaker" button temporarily means "End Call" in addition to the "End Call" button. What possible purpose does this serve? It means you need to bother your eyes and hands with the phone when explicitly need an eyes/hands-free experience!

Many more of Nokia's decisions seem simply stupid. Does anyone see justification for these dumb practices?
The company with such "tests" deserves it.
I'd say it must be more of some creepy pleasure for the boss to ask that more than any test.
>Being dependent on perfect JavaScript

You're almost always dependent on perfect code to keep your site running, be it server side or client side. If code breaks on the server side you're just as screwed.
There's a progressive delay in showing the "reply" button on longer threads. This is meant to prevent long flamewars (and it certainly seems to help).
I've been following elasticsearch for a while now - it's a fascinating project. It's similar to Solr, but it's designed from the ground up for seamless sharded horizontal scaling (Solr is mainly designed for master/slave replication), speakers JSON/REST by default and keeps on getting more and more interesting features - geospatial support is baked in for example.

Percolator has really captured my imagination. Instead of storing documents and running searches against them, you can store searches and feed in a document and ask "which search queries would this match". It turns search upside down. I'm not a hundred percent sure what this is useful for (two examples would be a saved-search alert feature of some sort or something for firing off events based on an incoming stream of data, such as the Twitter firehose) but it's a fascinating ability.
James, i rolled part1 into an app(s). Merci. I'm building all my rails apps this way from here on out.
Apple's secret iPad advantage: The supply chain
> The news in this blog post is fantastic! But it sounds like the money is coming from Gold subscribers, not CN.

I doubt gold money is sufficient to hire 4 persons. But revenue has one important property, which the admins explained last time around, and the one before: when they have revenue and growth to show, they can make inroad with CN. The last pair of hires were not self-funded, they were based on Reddit finally demonstrating a way to make money.

I expect the same thing for this round.
Discount Watches - Buy Brand Name Designer Watches Online
Strategy is sound in what? In hiring people willing to clean bathrooms?
I like the idea, but it kind of feels like taking advantage of the homeless. Sure, some money is better than none, but only five bucks for a 5-minute interview? It almost feels demeaning.
Serbian, Croatian, Bosnian, Montenegrin... :)
If you're a native English speaker, it's hard to find the motivation to learn another language. You can get along almost anywhere just on English and foreigners will usually be more interested in practicing English with you ahead of helping you practice whatever foreign tongue interests you.

Nevertheless I think it was worth it. I acquired Spanish fluency as an adult and the experience continues to enrich my life.

Spanish is a good choice for English speakers because it's the world's second most widespread language. It's also fairly regular and overlaps some English vocabulary.

But you should, if you can find the time, try to learn at least one foreign language in your life, even if your first is the world's new lingua franca.
Hrm... I suppose the C++ FAQ lied to me: http://www.parashift.com/c++-faq-lite/operator-overloading.h...
"Please press 1 now." Then, after a while: "Press press one now. If it is a person and not a computer calling, press 1 now.". Then, again after a while: "Press one of it will disconnect."
If you've had a guy spend 18 years building bases for conference tables, his brain is mush. Even adults have to be exposed to new ideas and challenges in order to continue to grow mentally. So he's not loyal -- he sticks around because he's become useless for anything else and probably doesn't even notice.

I know developers who've written basically nothing but RPG for 18+ years. Same principle. Mush.
Already There: The Story of the Kwoncok Project
That has absolutely nothing to do with the language.
Gili Island
English, Russian, Hebrew, Spanish
Server side code runs on one machine. Client side needs to run on many OS/Browser/Plugins combo.
I am familiar with the site because I saw it on Reddit. When I saw the headline on HN, my initial thought was "Wow, those stoners actually figured out which came first, the chicken or the egg!"
there are technical problems with progressive enhancement, the latency between page load and progressive enhancement being applied being a fairly obvious one, the other is the providing full html fallbacks combined with progressive enhancement can be very complicated and time consuming, its very easy to see time when time to live wins out over semantic correctness

hopefully html5 pushstate will alleviate a lot of the complications with providing full fallbacks
The Riemann Hypothesis - one of the outstanding unsolved problems in math
Popular Brands - Bounce Pro - TrampolinePartsCenter.com
Security Guard
A security guard is usually a privately and formally employed person who is paid to protect property, assets, or people.
It won't perform allocations, but since the structure has been built from multiple disjoint allocations, you're likely to get worse spatial coherence. (I.e. more cache misses)

And yes, for an ordered map RBL is not a bad choice. "I object to std::map being ordered" would probably have been the better wording.
:D - true
Great! Lets hope they remove the "functionality" that blindly executes all files ending in .exe next.
There's a thing called "usability". A web application may need javascript; a website presenting documents and information has no excuse not to work in pure HTML.

Typical crap : you can't access nvidia.com anymore with lynx/links. When your goddam nvidia proprietary driver doesn't play well with your kernel upgrade, you have no way anymore to download a new one without running X11, though it used to work not too long ago.
This is interesting, but wouldn't a move to say Android or Windows make them "just another Android or Windows phone".
I understand the reasoning behind this but it seems to me that they would also lose something here.
Pico de Gallo: My lightweight Twitter client for Google Chrome. Ya like?
I started working on this a while ago but just had time to update the backend significantly. Just curious as to what the few HNers who will spot this post think.
It was a joke (and judging by the reaction, apparently not a good one).
Thinking of Cancer as an Ancient Toolkit
Because it makes it so that the number four has another meaning that, for whatever reason, people can't get past.

I've tried to explain it to people before, but we never manage to count past four without someone laughing.
The web is evolving to provide media experiences that are lower latency and much more exploration oriented. No page reloads and greater interactivity are the first step.
Thanks for the nice post. as an aspiring startup guy, will definitely inculcate this attitude.
Is it obvious to everyone that he is preparing Nokia for a transition to Windows?
well ?
English and Marathi (guess I'm the only one)