skysight-inc/HackerNews huggingface dataset:
Good points about trimming the fat. The main reason about going into depth was as a teaser for the next article.

You're right, I didn't spend enough time driving home the point about mining the data. I think more examples (as mentioned elsewhere) would have improved that.

Thanks for your feedback!
However, one should be aware of that "Note that insertion order is not affected if a key is re-inserted into the map".

Because of that, a timestamps update must do:

Cache.remove(key);
Cache.put(key,value);

Only doing the latter will not move the item to its correct location.

Also, I am too lazy to chrck it, but I do not think this will have the same big-O as the C++ code.
A project I've been working on recently arrived at a good milestone, so I shelved it for a bit. I was very surprised to see github's 52 week participation graph showing me I had been working on it for 3 months. If someone asked me how long it took me, I very honestly would have said 1 month. Not trying to dupe anyone, not even myself, it just felt that way to me.
Awesome doesn't begin to describe this! Sure it's completely useless but is a monster 10 on the cool scale. It's just perfect on so many levels...

Alas my Apple 2 has let its magic smoke escape, otherwise I'd definitely give it a try!

Way cool dude, way cool....
Yeah, that would be a bit better, then they'd pass 25 or 30 per hour.
This is a dumb story. She's paying for dial-up access, that she doesn't need but that she used to need. That's not AOL's fault.
IMHO, a key reason this works well for them is that their compensation package is really nice and well rounded: http://www.joelonsoftware.com/articles/fog0000000038.html

In short: they pay market rates based on a transparent internal system of scale, they have a generous profit sharing plan (thus motivating everyone to increase profits regardless of role) and excellent benefits (health and non-health related).

It's hard to argue against a system like that.
That doesn't explain why they created or supported PIPA/SOPA though.
That's a really good point. A service like this has enough potential business use cases where I'm sure a lot of users would be willing to directly give them cash to ensure this is a long term company, not a flash in the pan startup.

Makes you think about the true intentions behind a startup/company.
http://www.quora.com/Why-did-ccLoop-fail?

This is an interesting read.
Nobody said you can't talk about controversial topics. They merely pointed out that this thread is not about a controversial topic, and that off-topic controversy tends to derail otherwise interesting threads. If you insist on trying to tie barely-related threads into a particular topic, that's called having an axe to grind, and it is an ideological thing. (Not that I mean to accuse meepmorp of this. He/she has agreed that it's not germane.)
Orange Bowl Live Stream
There is a very important distinction here: Pg's advice applies to situations where your effort is directly coupled to the company value. If you are a salaried employee, then it is a completely different value judgement. When the game or app or gizmo ships on time, and you don't really reap any tangible or intangible reward for that, then what's the point? Figure out your priorities, find someone who can give those to you, and move on.
Videos de Juegos
Encuentra los videos de juegos de tu consola favorita.
Facebook Announces Details for Its 2012 Hacker's Cup
You've really gotta be looking for something to disagree with if that's what you've decided to hang your hat upon. The words "right now" were emphasized in the original sentence for a reason.

If taking away commissions didn't hurt sales, why would reinstating them fix some hypothetical sales problem? This makes no sense.
Wow, I live in a small town in Canada and it had a news feed. Nice. You might want to think about geolocating the user by IP address, and displaying their local news without having to select a city.
Good to know. The actual remote for the TV has a cancel or return button to kill it, but the BluRay player remote we just picked up only has 5 TV buttons (power, source, volume up, volume down, and mute).
Google Hackathon winners: Wolfram Alpha & Minesweeper right in your spreadsheet
I agree that commissions can generally be corrosive (and are a hallmark of lazy management, generally speaking), but I have to wonder how this would work in larger teams.

In smaller teams (when managed well, and with the right talent), the focus is always on the sales number vs. the sales commission, which is properly considered as a byproduct of the sales number. If you dig deeper, many of the negative attitudes are associated to reps working to hit their sales number.

My assumption is that sales numbers still need to stand at individual levels (to avoid social loafing) unless the team as already proven themselves. I'd be interested to see what different problems this tactic floats later down the road.
One problem I have with the graph is that the height of the sections of data for each day does not have a clear meaning.

For instance, look at Dec 23 and Dec 24: the top orange section drops from 31k to 29k, but the visualization shows a thicker orange height on the 24th than the 23rd. In fact, the entire graph is significantly higher on the 24th, but it is not clear what this means either.
Charge to use it?

::GASPPPPPPP::
I remember a recent HN thread about that. I think Google has a $500 minimum for anyone who can show them a security flaw/bug.
Unless he was stealing actual source code from ed or bravo, or literally reprinting the manuals themselves, nothing described would run afoul of copyright.
It seems like most people here are jumping on this guy's throat about minor problems in what he wrote. Let me instead back-up one of his points with more evidence:

First off: I am a huge Google fanboy, I'm a full-time Android developer and Google scholarships even helped pay for my college. It seems that every time I say anything bad about Google anywhere on the Internet people call me an Apple fanboy so I just wanted to state that.

> Google's Weird Attempt At Social

Let's take a look at how many different ways I can do a simple chat with my friends using Google products on my Android Ice Cream Sandwich device.

Google Voice - My main way of text messaging.

Google Talk - My main way IM client

Google+ Messaging (Formerly known as Huddle) - A mobile only way to communicate with my G+ friends.

Here's where it gets weird:

Google Voice - Anything I can is instantly synched with the Google Voice app on my iPad, Google Voice on my browser, the third party Google Voice app I use on my computer and my phone.

Google Talk - Anything I do is synched up to Google Talk on my computer or any place I'm logged in, which also means all my Google Talk conversation logs can be found using the GMail app on my phone.

Google+ Messaging - Boom. Say something to any of my friends on here, unable to look back at the messages unless I get on my phone again. "Oh, where did Kyle say we're meeting up tonight? I should print directions" Oh, my phone's out of battery and charging. Well, there goes that plan.

The craziest thing is that if I want to do Google+ Hangout (worst name I've ever heard for any product) I have to either use the website or the Google+ Messaging app. That's right, if I want to do a Hangout on my phone (a feature they're really pushing with their ICS video ads) I have to do it in a self-contained application that will not reflect any changes on the website. How does this make any sense?

It's even worse when you think about it. If I want to do a video chat with my friends using ONLY Google products I actually have two different choices! I can either Google+ Hangout with them using the Messenger application on my phone (try to comprehend that sentence, seriously.) or I can use Google Talk's video chatting (the feature they were pushing very hard with Honeycomb). Why couldn't they just integrate group messaging and video chatting right into Google Talk? I already have a fully functioning video chatting application on my phone that doesn't require people to be on a website or their phones to use it! I can use Google Talk's video chat to talk to anyone using Google Talk anywhere!

I know that Google's Weird Attempt At Social is due to buying so many different companies and not consolidating them, but it's not anything close to an ideal user experience.

Sidenote:
As soon as my Sprint contract is done I'm switching over to an iPhone, iOS 5's text + iMessage all in one application is a wonderful implementation of what Google should be doing with all of their conversational products.
Whoops, forgot the quote. I was responding specifically to the line:

>So, the buyers would come with their own current violins and I would put my eBay specials AND my kid's $5,000 into the mix for the blind sound tests. The $5,000 violin was always one of the leaders but not always the winner.
I created Snapmarks- http://sm.sidlabs.com
Measurement & Leverage?

My experience in sales is tilted almost exclusively to real estate transactions, but I'll say PG's How To Make Wealth Essay offers an explanation (http://www.paulgraham.com/wealth.html).

There is large variance in skill when it comes to many jobs, but in sales it is huge. Fortunately we can measure and properly attribute the more skillful salespeople, and those people have a pretty clear impact on the firm's revenues. All the negatives mentioned in the post are certainly true, although in real estate the mitigating factor is that the biggest source of leads for good brokers are referrals from past happy clients (enterprise SAAS is probably less viral).

Sadly there is also large variance in programming skill, but it's far harder to quantify or justify or transport to the next employer. In real estate, if you suck and sold no houses in 2 years as a broker, or if you were awesome and sold 30 houses, that's easy for a future employer to notice and verify. When I interview for hacking gigs, no one really knows whether I did a good job, I can only say what I generally worked on and have them take my word for it as a 1/N contributor. Self-employed programmers seem to be able to sidestep some of these problems.
Everyone likes a bike ride
Why didn't they call this blog post "Why we don't pay sales commissions"?
Kodak prepares for Chapter 11 filing
I've used both Markdown and markItUp! I prefer the latter. I actually wrote my own reSTucturedText set for Pylowiki.

markItUp! allows you to build wysiwym (What you see is what you mean) text editor and apply it to all HTML textareas

Pylowiki
https://bitbucket.org/russellballestrini/pylowiki/src

markItUp!
http://markitup.jaysalvat.com/

Pylowiki Demo
http://www.foxhop.net
Oh I created Am I Beautiful too. Another iphone app just to help those women/girls who think they are not good at all and perform bad in their lives just because they think no one love them.

http://mib.sidlabs.com
What about IT - server and desktop repair/admin? That's what I do, and the job came with a healthy amount of Web work too, where I basically get to code as little or as much as I want.
I was very pro-comissions until I worked commissioned sales. Completely agree with the author.

I had extremely high numbers, but I hated the work environment. Suddenly every other salesperson wants a piece of you. Trying to stick their names in for a percentage of the sale. Screwing my long term clients for a very small short term sale. Even breaking into my desk to copy my book of business. Adding commissions = scorched earth among co-workers. Not even talking about how this affects training/new hires.

Without incentive my performance would have been equal or better. Commission sales specifically attracts sociopaths.

edit: Despite the above; I think hackers should try a real sales job at some point. It's empowering once you learn how easy it is.
All the WiST apps use GC to synchronize the start and bpm of music apps.
Ascendency of HTML5: 2011 Year in Review
The first two times I saw Ifttt on HackerNews I went to their website and just thought it was a mantra of how to share information on the web. I thought they were just telling me that I should use Dropbox to upload files from my phone and then upload them to Facebook when I get home.
IANA Marketer but this looks like a white-hat SEO opportunity for somebody -- say travel agent, tour package provider, guide book publisher. Write up a web page linking to the China consulate site, explain the frequent confusion over forms, maybe provide info to contact someone knowledgeable to help sort it out. Get AdWords for "china visa form" or some such, headline "Get The Right Form!". Bingo, traffic by people traveling to China. As their first experience with you is avoiding a common bureaucratic obstacle, they'll disposed to goodwill and belief that you grok something of travel in China.
Depends on your private insurance. If private is via the company the costs should not be more then your co-pay (few bucks). The baby bonus in OZ definitely helps.
What GPL rights? The GPL is a license, not a contract. If someone fails to grant you the rights it provides then your only recourse is a copyright infringement suit, and if you're not a copyright holder then you have no standing to enforce that.
In C# this is "using".
using(new something as something)
{
Do something with it.
} //it goes away now.

Typically this idiom is the function call itself. The act of sipping coffee is the point of the function, and picking up the cup and putting the cup back down are the whole point of the function call.
I also used to believe Unicode and UTF-8 were different types of encoding until someone corrected me. I just remembered why I had thought such a thing in the first place:

http://msdn.microsoft.com/en-us/library/system.text.encoding...
There's simplicity in this site:
http://teamtreehouse.com/

Watch one or two with him to get the ball rolling. It'll feel a lot less like work to him.
Be thankful atleast you made this one and still making it. I could not get the figure even in months!
20 Free and Frosty Winter Wallpapers
Just a Big List of Free Design Stuff
Implementing a square root algorithm is actually very simple:

def sqrt(x):
a = 1.0
for _ in range(100): a = (a + x/a)/2
return a

This is just Newton's method to find a solution of the equation a^2 - x = 0. For certain classes of jobs knowing Newton's method is definitely required, as it is the simplest and most widely used numerical method. And even if you don't know Newton's method I expect any programmer worth his salt to be able to come up with a bisection algorithm.
Yes, exactly. I'm just a little curious since, without knowing anything about the code at all, unsigned long doesn't seem like a great choice. I'm sure the Ruby devs would know this though so I expect there must be some reason for it.
Binary search is a pretty obvious algorithm.
My dad still pays so he can keep his old email address.
I know a few friends parents still doing this.
If you were up for it, you could automate this with something like X10.
Why Building a Business in a Boring Industry Can Pay Off [video]
How To Mend The Broken Startup Dream
I've had an interest in philosophy lately and I thought the last comment was fantastic. I'm on Heidegger at the moment and Sartre may follow. I loved 1984, so maybe I'll heed Orwell's criticism and substitute Kirkegaard for Sartre.
The possibility that earlier-to-report areas are not representative of Iowa as a whole should be examined properly, rather than mentioned and then discarded in favour of generating a pretty graph.
http://canberra.usembassy.gov/e3visa.html
http://www.theroadtosiliconvalley.com/moving/e3-visa-austral...

There is a way around it on E3 but also a high chance the consular officer will decline you. Best to get a green card on a H1B. Use E3 as a way in (for Aussies), then transfer to H1B and apply for Green Card IF you believe its worth it. Remember the US government can tax you up to 10 years after you have given your green card back should you want to go home..
Actually, Walmart has improved their produce offering over the last few years. They now source their fruits and vegetables from some of the same farms as Whole Foods (at least, their organics).

http://www.theatlantic.com/magazine/archive/2010/03/the-grea...
Apple Has Reportedly Poached An Adobe Exec To Run iAds
Even if you're not putting the RString struct on the stack, the embedded string optimization means calling malloc() just once instead of twice.
( Background: I was a professional musician in a past life and I was quite involved in sound reinforcement. )
No two ears, nor no two microphones have the exact same response curve. I'm not yet convinced that what you or the original comment I reply'd to can be explained by differences in curves which, AFAIK, are relatively flat in the sonic regions we're discussing. The mic I referred to earlier looks to be flat to within 3db from 200hz to 20k. Are we discussing signals outside that range or within it?
Facebook translations are crowdsourced. Doesn't excuse this particular case, but don't assume it was anything malicious on Facebook's part.
That summary appears to say there is a 2 year warranty from delivery:

"The seller is liable to the consumer for any lack of conformity which exists when the goods are delivered to the consumer and which arises within a period of two years from delivery. However, the lack of conformity cannot be accepted if, at the moment of conclusion of the contract of sale, the consumer knew or could not reasonably have been unaware of the lack of conformity."

But I'm pretty sure, and IANAL, that it doesn't really say that. My initial instinct is that if the goods can reasonably be expected to be of a class that may ordinarily fail within the 2 years then they are still in conformity with the contract of sale. Thus if you paid £50 for a TV then you'd kinda expect it to fail and so it conforms, if you paid £5000 then you wouldn't expect it to fail so early failure would lead to lack of conformity ...

Perhaps I'm too cynical.
I'm surprised Fog Creek kept commissions around for so long, considering that Joel has been writing articles about how incentive pay causes dysfunction since 2002 (Edit: 2000, even!)

http://www.joelonsoftware.com/articles/fog0000000070.html

http://www.joelonsoftware.com/news/20020715.html

http://www.joelonsoftware.com/items/2006/11/10b.html
> For that to work as it does in CPython, the file would have to know it has no name reference attached to it and that its scope is limited to the iteration and that it can close the file when the iteration ends.

Which will never happen and really has nothing to do with iteration (or the file object itself)

> I'd love to have this idiom supported under other implementations - it's beautiful.

I disagree on its beauty, but beyond that I can assure you it's never going to be a property of python-the-language.
Spanish Government Adopts Its Own Version Of SOPA: Sinde Law Approved
A valid point, commenters were just missing the point of the article. I doubt the author would have argued that the view coming in is wonderful.
Google Adsense - Is code against the TOS?
OMG, I'd almost cry of joy. One of the reason I don't use my faithful Apple //c is that it's so cumbersome to swap these floppies... but this is wonderful.
I also heart google translate.

http://translate.google.com/#ja|en|%E3%81%82%E3%82%8A%E3%81%...
https://qrustom.com was a big project for me, https://gitorious.org/stattr was another, and http://test.mine.bz was something I contributed to. I also did https://gitorious.org/mmake , though I don't feel like I really finished it.

I also did a really stupid javascript library: https://gist.github.com/1138419

Hopefully 2012 will be even better!
This sort of practice is very common. That's why companies dont automatically convert old customers to new plans/services when they introduce a new service. They can (and do) keep charging existing customers the old rate.
I once drew up some sketches of a two-legged robot with a head and a tail like a velociraptor. I theorize you could weight the head and tail to balance and make the walking a little more mechanical, so if you start to tip, there's a lot more leeway to regain balance. I guess I can afford more technology than I could back then, hmm, perhaps I might dust those off.

I bet this thing can pull of some wicked Dukes of Hazzard style jumping, though.
Here is another simple implementation in C++: https://github.com/albertz/grub-fuse/blob/master/include/cac...

Usage example: https://github.com/albertz/grub-fuse/blob/master/grub-core/f...
FDA Finds DEA Created Shortage of Attention Deficit Drugs
When I click an 'up' arrow, it disappears and doesn't seem to do anything. Why?
If it's all static content, have you thought about using Amazon S3 and cloudfront?
The most effective sales quota scheme in my corporate experience: 10% higher sales than your last quarter.

There are many more complicated systems, but this one was very difficult to game.
You've upgraded my weekend - big time. Nice work!
SOPA Track - Check How Congress Votes on SOPA
I read the title and thought that I was going to see some really stupid design decisions. To the contrary, it's vary clean and smart.

It's not that strings over 24 are slow, it's that strings below length 24 have extra optimizations.

It's a great article, but I really, really despise the linkbait title.
If you're interested in using org-mode more extensively then this is (imo) the holy grail of customization walkthroughs: http://doc.norang.ca/org-mode.html

I scheduled (with org-mode of course) going through and reviewing each section spread out over a week or two... certainly didn't adopt everything but learned plenty and ended up with a nicely configured org-mode setup with conventions I've been evolving ever since.
Then perhaps that helps to explain why Apple is unwilling to sort out coupons, etc. It sounds like it would be a very valid tactic to give out a ton of 'MyApp for $1!' coupons to get yourself in a decent position.
It's been my experience that even without the visa issue, US companies tend to shy away from hiring remote talent. I am a US citizen with a solid mobile development background, and have gotten great responses from companies that have reviewed my resume, until they realize that I currently live outside the US. It seems that while the visa process may be an issue, getting over the "hurdle" of hiring remote workers still seems to be a major issue also.
On Google's Cloud Robotics
If you're handy with simple algebra (and can remember that the derivative of x^2 is 2x) then you can remember the picture. If f(x) = x^2 - N, then you're looking for the (positive) zero of f. You take a succession of tangent lines and look at the zeros of those. So, you start with a guess (call it x_0), take the tangent line at your guess (so it has slope 2x_0 and goes through (x_0, x_0^2 -N)), then find the x-intercept of this line and make it your new guess. This is all Newton's method is. With square roots, it takes the form of averaging your previous guess and N over it.
If you have 1,000 users, I would turn to them to ask this question. Do a survey, offer an incentive to respond. Even try contacting several of your fanatical users directly and talking with them.
On the other hand, I can see a white van parked outside the US embassy lasting all of five minutes before being unceremoniously towed away.
Are You The World’s Best Programmer? Compete In Facebook’s 2012 Hacker Cup
I use cdargs (http://www.skamphausen.de/cgi-bin/ska/CDargs) for "bookmarking" commonly accessed directories. It doesn't automatically add entries though.
Namecoin is crowd-hosted in a peer-to-peer network.
Problem solved. Or it WOULD be solved, if everyone used it.
Other side of the coin:

Need my Dropbox access? Sure, here you go. Need my Gmail access, meh, why not?

I'm not horribly concerned with allowing them the access I've granted to Facebook, Twitter, Gmail, Dropbox, and Evernote.
I generally like TechCrunch.com mostly because of thier constant twitter updates.
Ask HN: Starting over from scratch.  Coding recommendations?
What frameworks, languages, and databases should I consider?

Scalability is a major consideration of course.