skysight-inc/HackerNews huggingface dataset:
I have one possibility of what might be going on.

When you have multiple joins that aren't one-to-one mappings you get all of the different combinations in the result set.

Let's say that you have 5 people, each with 5 addresses and 5 phone numbers. The result set wouldn't have 55 rows (5 people + 25 phones + 25 addresses), but 125 rows (a row for each combination). The difference gets larger as the numbers get larger (for 100 addresses and phones per person, it's 1,005 vs. 50,000). Your ORM also needs to figure out that semi-mess and when you get to large numbers of rows, that's a lot of rows to process.

John | Address 1 | Phone 1
John | Address 1 | Phone 2
John | Address 1 | Phone 3
John | Address 1 | Phone 4
John | Address 1 | Phone 5
John | Address 2 | Phone 1. . .

So, you're potentially pulling back a ton of excess data. Phone 1 will appear 5 times in the result set and then the ORM has to de-duplicate that. Likewise, Address 1 shows up 5 fimes in the result set and John shows up 5 times in the result set and the ORM needs to deal with it. Likewise, it's a lot of excess data over the wire and a lot of excess data to even process into a hash.

Now, Hibernate has a way around this. It's been a while, but it's something along the lines of setting it to fetch related entities in batches (EDIT: doing slight Googling, but not checking it in code, it's the @BatchSize annotation and @Fetch annotation that you'll want to look into). In that case, Hibernate basically does a "SELECT * FROM people" and then a "SELECT * FROM addresses WHERE person_id IN (list_of_people_ids_from_last_query)" and a "SELECT * FROM phones WHERE person_id IN(list)". That way, Hibernate gets 5 people records plus 25 address records plus 25 phone records (55 rows in total) and there aren't any duplicates that need to be weeded out, etc. It's three queries which is more than 1, but a lot fewer than the looped queries without the cartesian product.

This is the behavior that Rails' Model.includes(:relation) and Django's Model.objects.prefetch_related('related_set') use. There was a discussion (possibly years ago) on the django-developers list about why select_related('related_set') didn't work on reverse foreign keys and this is the reason why.
Thanks @mikecane, i guess "Stick(er)" is good, i will balance the options and make a decision soon.
But the MS 4000 is the absolute best feeling keyboard, ergo or not (allowing for the fact that you can't in a normal situation use a model m or variant because of the noise). I defy anyone to name a better non buckling spring keyboard. Logitech? don't even suggest it.
If you're living inside the PHP world, I'd take a look at Phing ( http://www.phing.info/trac/ ). It's very similar to Apache Ant and uses a XML file to describe the build tasks (include/exclude files, copy, tar, SCP, run PHPUnit tests, etc.) and can easily be extended using PHP (we use the rsync extension). It takes a little while to get everything up and running, but once you've got it (and well tests) it'd pretty much bulletproof.

Also worth taking a look at WePay's blog post on how they do deployments: http://blog.wepay.com/2010/11/30/weploy-wepays-deployment-to...
I think the advantage Twitter gets from being archived is greatly overestimated here. How many people actually consider that when they decide to sign up for Twitter? I'm also skeptical that Twitter is an alternative to a traditional blog. The 140 character limit doesn't really let you replace a blog if that's what you want to do. I think most people who want to blog would have a blog in addition to Twitter. Likewise, people on Twitter who don't have a blog, probably just wouldn't publish anything at all in the absence of Twitter, so it's a net gain in that respect.

Finally, Twitter does have a corporate API, isn't most of it accessible through the open web any way? Any user's profile can be accessed through the website unless they've specifically restricted it.

And generally, I don't see the point in NOT archiving something if you can. Sure it's fine to argue that other things should be archived first, but if someone is going to archive something, why stop them? We only gain by having a more complete and accurate historical record.
Yes, Peasy is a bit of slang so there's no accepted spelling (Peasy, Peasey, Peesie?) which makes it tough if you want people to search for it.
> The other view, more common amongst long-time Googlers, is that John is a publicity-craving, lucky early Googler, whose public persona outstripped his actual authority and power at the company, where he was once a rising star – thanks to a bullying managerial style – but had become marginalized over the past couple years.

Nope, doesn't sound positive at all.
To ensure this gets the attention it deserves, I'd love to have this feature as well and would be happy to pay for a service like that.
Ask HN: Is this bad security? "Enter the second and fifth password characters"
When I log into my bank, it doesn't ask for my full password - instead, it asks for two randomly chosen characters from the password. I guess the idea is to make it more difficult for a keylogger to determine the password. But doesn't it mean that my password must be stored in plain text on the server? Isn't that far worse for security than having the user provide the full password?

Edit: Actually the bank requires more than just two characters. Here's their login screen:
http://imgur.com/ngRcB The bank is NatWest in the UK. And yes, it's over HTTPS.
Like all good looking, successful, smart and nice smelling people, I'm an ambivalent anarcho-capitalist, but Kessler is wrong on this one: Bain and the rest of the private equity pirates have destroyed far more value than they've helped create, enabled by access to too-cheap capital via the Federal Reserve system.
Augmented Reality Application Hits Public Beta
German Scientists Create Aerographite, the Lightest Material in the World
I used to bike about 20 miles a week, and I really miss it, since I moved to a more suburb area where it is no longer practical. Projects like these sound awesome, and make me wonder what it would take to get something like it started here in the US.
There are some excellent answers to this question on Quora: http://www.quora.com/What-are-the-most-important-qualities-t...

In my experience, approaching a mentor and asking them to be your mentor is not the best way to go about it. I found that a mentor relationship will occur naturally if you're ready for it and you have shown that you are insanely passionate about something enough to take action before ever approaching a mentor.

I guess one way to determine if somebody can or will mentor you is to simply ask for their advice on something that you are doing or have done. You have to show a lot of initiative though - it can't be conceptual in nature. For example, you wouldn't want to approach a rock star in your space and say "I'm thinking of doing this, would that work?" Instead, approach them and say "Check this out, here's what I have done. What do you recommend I do next?" If they get excited about what you have done, then you may have found a good match. Let that relationship grow and do not force them into being a mentor. I think a lot of the best mentors never consider themselves as mentors because they simply like helping out people and projects that interest them.
Personally, I split bills almost every day, and it's frequently a headache. But I can't remember the last time I thought about maximizing toothpaste usage.
Huh? They spend almost an entire page talking about DNB and WM training! (And BTW my points about DNB apply just as well to WM training in general.)

> Whether that method is effective or not is orthogonal to their point.

You are wrong. It is very germane whether it works.
This is a completely biased claim.
Just because you think that it doesn't mean it actually happens...
$1.6M of taxpayers money for a 40km bike route?
You could build almost 35metres of freeway for that!
Ignoring the fact that it's winter in some parts of the world, I think there's a simple explanation. Summer is probably when people are doing the most bicycling, and people have a tendency to write about what's on their mind.
SF was also predominantly RubyMine last I checked.
You are right, this comment makes me sound like an ass. Sometimes HN traffic excitement overpowers language control. Let me elaborate on the MQ point.

We do want media queries and it isn't too complicated, indeed. Like you correctly pointed out, we have some amazing designers on Scoutzie and many of them are familiar with responsive layouts. We could design a layout that looks great. More so, we could upgrade to the latest version of the Bootstrap and use their responsiveness to accomplish this goal.

Having said that, we have been been changing something on the site on at least weekly basis, tweaking the layout, occasionally flipping it on its head. With that, I track analytics and I know the percentage of users that come from mobile and I can guesstimate their behavior on the site; it's very similar to the desktop users, not better, but not worse. So, maintaining a responsive layout right now just doesn't make as much sense for us, if you consider the time tradeoff.

Furthermore, a responsive layout shouldn't just be smacked on top of the regular design. If we were to create a truly great experience on mobile, we should design it with mobile needs in mind. Just having object be smaller and wrap around is a good start, but I believe there is more to responsive design than that.

For right now, we'd rather focus on making a better overall (desktop, for now) experience, and once we got it down, we'll go ahead and revamp the responsiveness.
Deploying Sentry on Heroku
I did google, but I was thinking more along the lines of a keyboard that is already known to be good that has a braille option (Kinesis, Das Keyboard, an Apple keyboard even...). Though I suppose adding braille stickers myself isn't that bad of a plan.
I don't have a link to the paper, but I recall reading a whitepaper about it as far back as 2002.
Twelve Commandments Of Software Localization
Don't team up with a Diva CTO
"Push for Pinterest" gives you some nice alliteration, and I think it works well metaphorically - pins ("push-pins") are pushed into walls, and (more abstractly) the pictures are pushed to Pinterest's servers. I don't use Pinterest, so forgive me if this steps on their toes too.

(I'm a sucker for words ending in -ush. "Rush", "lush", "hush", "mush", "gush", they're all so evocative.)
The blog post that went viral after a tech God retweets it on Twitter.
A free trial is good for people to find the values of your product. However, whether 3-month trial is good or not depends on your product. For product which value will not increase with time, the longer trail will not increase the conversation rate. I think you can test the different trial period to see how it works.

It's not good to "charge from day one", but maybe it's not bad to think about "ask for CC info from day one". It will stop some users to use your product but will bring more serious users.
In other news, 90 people died in traffic-related fatalities yesterday.

Sorry, correction: that isn't news. Something which happens every day is, by definition, not news.
What does deployment look like on the device? If you like in the libraries, wouldn't your packaged app be significantly large?
Top Hat Monocle Closes $8M to Bring Gamification to University Classrooms
http://www.puma.com/javascripts/run_puma_run_packaged.js?134...
The Severity of Bugs: Are We Doomed (Infographic)
Google VP: Here's How to Get Bought By Us
Take a look at ultimate++
Maybe they also hash every character separately?
According to the document referenced on the al-qaeda wikipedia page (which, you know, may or may not be accurate), their goals stretched all the way out to 2020. They didn't intend for the US to change its policies or willingly withdraw, they intended for it to slowly destroy its own economy to the point of collapsing entirely (like the USSR).
Brazil Startup Awards: And the nominees are…
While you're correct that it's not a parody, parody is not the only form of fair use. From 17 USC § 107[1] "...purposes such as criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research, is not an infringement of copyright....".

1- http://www.law.cornell.edu/uscode/text/17/107
Two words: Bitcoin.
Yeah, any data to back this up would be great
That's interesting, haha. Would you or somebody be willing to give explanations for the instructions?
tinip? Just kidding. Here are some other names that come to my mind : EasyGlue, GlueIt, StickIt, EasyStick, peenit, peenrr, peenapp.
Actually, you guys can contact them directly. You could, however, post a project on the private shared board, in case you want to expose it to more than just the person you are going to contact. This way, you get the benefit of talking to the person you want, as well as (maybe) hearing from others who might like to talk to you.
Only if you buy into "because they hate our freedom". In reality OBL couldn't care less about US domestic civil rights and liberties. He cared about US presence in the middle east and support for Israel.

The "the terrorists have won"-notion is based on the viewpoint that terrorists are just evil and want "bad things" to happen to their enemies. So whatever unpleasant consequence for you means that the terrorists have won. In reality, terrorists have specific agendas and goals. None of OBL's goals have been achieved, so he didn't win. If anybody won it was the NSA, DHS etc.
Have you had actual objection to using a Model M? I've used my Unicomp Customizer (sort of like a Model M replica) at least four different developer jobs and not had any complaints.
I hate JNI too!! free hug
Well the ZNGA IPO wasn't all that long ago. Just prior to that was the move to the huge amusement park-style office complex in downtown SF. I have friends who work there and are constantly posting pics of the awesome food and all-expense paid trips. These are things employees should get for performing well and making boatloads of cash. If you went purely by appearances, you'd assume ZNGA was one of the most wildly profitable companies on earth as opposed to one that is losing $1.30/share. I for one wouldn't invest a dime in the company when you see how irresponsibly they spend.
I'll try, but I don't see how I can make it any simpler.

These "free market" schools receive payments from the government for each student they have.

The government mandates that everyone attend school between the ages of 7 and 16 (or 6 and 15).

This is not a free market. You cannot have the government create customers like this in a free market.
Service-Oriented Architectures with Apache Thrift
Secure or not? 10 spot checks will tell you
How rating affects ranking in search results and top charts across platforms
Minneapolis, Minnesota, a city of cold, icy winters, is arguably the number-one bicycle city in the United States,

http://www.bicycling.com/news/featured-stories/1-bike-city-m...

and one feature of bicycling in Minneapolis and its suburbs is an ongoing effort to make regional bicycle trails, some by converting old railroad railbeds into bicycle trails, including bicycle superhighways.

http://blogs.citypages.com/dressingroom/2012/07/midtown_gree...

http://en.wikipedia.org/wiki/Cedar_Lake_Trail

My wife regularly bicycle commutes (she is doing so as I type this) and our whole family takes recreational trips into neighboring towns along dedicated bicycle trails. We reduce our car driving by hundreds of miles per year by using the city trail system (combining mostly walkers, and in winter skiers, with quite a few year-round bicyclists) and the regional trail system (combining mostly recreational bicyclists with some year-round bicycle commuters and some walkers).

The regional trail system is becoming more and more extensive

http://www.minnehahamedia.com/gw/twin_cities_reg_trails/inde...

and is projected to ring the entire metropolitan area with dedicated bicycle trails in the next decade.
A Few Short Steps to the Gallows (Justice as Revenge)
"Despite Visa and Mastercard cutting off payments to WikiLeaks, we have found some ways around the banking blockade, at least for now. We currently have a way around the blockade with FDNN who are using the French banking system Carte Bleue to accept donations for us using your Visa and MasterCard."

AFAIK Visa and Mastercard still auth/capture the card and they've just changed their gateway provider. So if the US govt does manage to designate them as a foreign terrorist organization then it will be illegal for any US company to process funds for them.

From 2010 re trying to get wikileaks designated FTO:
http://news.cnet.com/8301-13578_3-20023941-38.html
AT&T set to sharply increase data service fee
Was this video critiquing, commenting on, reporting news about, teaching or researching the song? No. It still doesn't qualify as fair use.
Anyone know who made this?
What type of experience do you have and what do you like to do?

I keep trying to start a discussion about how horrible and inefficient the "small data" handling is (Excel, Power Point and the like) and how to fix it. But this more often than not ends up in nothing as I see most of the interest evolves around more consumer and facebook oriented stuff.

My take is that something innovative must emerge to deal with the pain that MS Office is (especially, again, the data handling part).
> I don't think you appreciate the damage those drugs cause.

We do.

We've banned crack and meth and yet there are still problems.

The relevant question is whether the "profit" of banning, the benefits - the costs under banning, are higher than the "profit" of legalization, again the costs - benefits under legalization. I agree that both numbers are negative, the question is which one is closer to 0.

Meth and cocaine are pretty much universally available even though they're banned. So, how much more use (and cost) do you expect if they're legalized? That's the extra cost of legalization. In return, we lose the significant costs associated with banning, such as no-knock searches that kill the wrong people, not to mention the war on privacy. (No, you don't get to ignore that.)
Apple’s iPad prototypes from 2002-4 pulled from Jony Ive deposition
I think the OP meant to make a quip about the relative unpleasantness of a bicycle commute in the winter.

In Denmark, it's not so bad actually. While winters tend to be miserable in their dark grayness, they're rarely very cold. The risk of rain is higher, but any day throughout the year could be wet. In other words, with a bit of gearing up, especially with a shower at your destination, year-round bike commuting in Denmark is completely feasible.

Not that cycling in freezing rain doesn't objectively suck.
My two Rosewill keyboards, and my Das Keyboard, will happily stand up to that challenge.

The key is the switches, and anything that uses mechanical switches will almost automatically feel better to type on than keyboards that do not.
Yeah I was writing a blog on long SQL queries and why a 200 line SQL query is a breeze to maintain compared to a 200 line Perl or C function. And not to mention your 200 line SQL query does a lot more than you can do in 200 lines in any other language.

What I concluded was that we debug most languages line by line, like moving through a linked list. SQL is much more efficient. A query, if it is well structures (no inline views or UNIONs) is a small set of sections, each of which is broken down further. So instead of reading through a query line by line, we figure out which section to look at, which relations are involved and debug that way. It's like searching a btree instead.
I suppose it depends on your work environment, but yes, one at a previous employer ended up being the server room keyboard because of the noise.
'Waldo' Finds Ways to Abuse HTML5 WebSockets
Right, except it's from Oracle.

No, thanks.
Then you haven't been here long enough. Give it time.
You risk losing your security clearance if you're in the US military or a contractor with clearance like Raytheon for example. You also probably won't get clearance if you ever apply for it in future if it's found out.

http://techcrunch.com/2010/08/05/u-s-military-bans-personnel...
From the article: http://messymatters.com/expectorant/#EXP

"A common complaint about stochastic schemes is that they’re “only fair if you do it repeatedly with the same group of people”. That’s true if you insist on ex post fairness. We’re usually happy with ex ante fairness. Consider selling me a (perfectly fairly priced) lottery ticket for a dollar. That’s guaranteed to be unfair, ex post. Either you sold me a worthless piece of paper for a dollar, or I got a million dollars and only paid a dollar for it. But the fact that none of us knew which would happen made the one dollar price fair. Same story with venture capital investment, for example. You may need a gambling mentality to be down with it, but it’s quite fair even if only done once. The fact that it averages out in the long term to be perfectly fair ex post is icing on the cake."
Why are you doing this?

This is not some gimmick to get you running Oracle Linux so that you buy support from us. If you're perfectly happy running without a support contract, so are we. We're delighted that you're running Oracle Linux instead of something else.

At the end of the day, we're proud of the work we put into Oracle Linux. We think we have the most compelling Linux offering out there, and we want more people to experience it.

Hihihihi. Sure you are.
For me: I played a little bit of jazz band in college, and every single semester 30% of the band was made up of engineer students (my comp sci friends were comp sci students/jazz band members).

Miles was one of my first loves in high school. RE this article, he praises some of my favorites, and slams some of my favorites, so the upvote is because I never knew his take on these songs and players, so it's very enlightening!
Is there any way to find out the statistics about number of "Oracle Linux" installations as compared to CentOS?
Goverify - Social Media Verification for Government
‘The Tyranny of the OR’ For Social Media Marketing
Oracle tries to do a Linux distro again? Also, that web page easily has the least appealing and professional looking layout I've seen in a long time.
> Of course, they won't have any of your data if you don't have an account

Facebook can indeed. Your name even without an account can be tagged into photos and status updates by other users. Those photos contain location data. And of course the accounts of other users in the same photo as you contain a wealth of data about their locations and interests and one-degree-further friends, statistically speaking much of which will also apply to you.

Whether Facebook has the ability to automatically aggregate such sparse data into something useful is an open question, but the data does exist. Unless you somehow never let yourself get photographed or mentioned by anybody else who does use Facebook.
I find backspace works just as well and can be remapped in Vim itself (unlike caps lock which must be remapped in the driver, affecting all apps.)
Oh yeah! Please lock me in to your crappy Red Hat knock-off so you can screw me royally if Larry changes his mind and wants to extract some money from its users.

IMHO, Oracle is certainly the LAST company you should use any product from unless you are absolutlely forced to (like Java, unfortunately, or their bloated DB if your are in the financial industry). Once you are dependent on them, no matter if you are a partner or customer, they will definitely find a way to screw you over. If you want supported Red Hat linux, just buy it from Red Hat.

[UPDATE]: Also, how nice of the to mention Ksplice in the announcement as a quick reminder how they like to screw existing user bases of their products.