skysight-inc/HackerNews huggingface dataset:
If you're familiar with the linear time deterministic selection algorithm, this is straightforward to solve. It's usually taught in intro to algorithms classes. See CLRS chapter 9.

Incidentally, the algorithm is from 1973 and four of the authors went on to win the Turing award: ftp://db.stanford.edu/pub/cstr.old/reports/cs/tr/73/349/CS-TR-73-349.pdf
These tips describe a fairly "premeditated" approach to gaining reputation, but like anything that yields a reward, it's just reality that people look for optimizations.
I wonder what would happen if they added mentos to the mix...
Motorola L800t Unlocked
The Motorola L800t has a Li-Ion 1130 mAh battery that offers up to 5 hours talk time. It also features a 2-megapixel camera, Bluetooth 2.0 with A2DP, a ModeShift morphing keypad and 1.9-inch 176 x 220 pixel display.
Am I right in thinking that once a piece of ActiveSupport is pulled in anywhere in the codebase it will affect ALL Ruby objects, rather than having its effect scoped to just the module that included it?
Twitsurance
I still buy the real pseudoephedrine. It is a pain to do, involving secret databases and showing your Papers, but still possible.

This is a perfect reason to have a fake ID, BTW. Buy as much as you want, it's not your problem.
That's what self-control is for. Rats don't have much of that.

Neither do humans. That's why rats are such good test subjects.

The point of the study is that your brain gets the pleasure, but no caloric intake to go along with it, so you feel more motivated to get more calories than you would have otherwise.
he's an undemocratically elected leader

Care to explain what you mean by that?
He got a... telegram? Safe to assume this isn't a recent tale :)

(not that its age should detract anything of course, I just found the obvious historic reference amusing).
There was always a presumption of innocence which like a lot of classical rights has not been transferred to the digital realm. You do not have to say anything but your silence may be presumed as acknowledgement of your guilt.
If population control is the #1 problem/solution why do population rates decline following industrialization? Population growth is a symptom - not a cause of poverty.

An alternative view to the malthusians: http://www.juliansimon.com/writings/Ultimate_Resource/

Though from a policy/historical perspective with a bit more utility - Against the Dead Hand, by Brink Lindsey: http://www.amazon.com/Against-Dead-Hand-Uncertain-Capitalism...

And also - "The Invisible Hand of Population Control: The tragedy of the commons meets economic freedom" : http://www.reason.com/news/show/134136.html
Adults should be able to emotionally hurt whomever they want. If someone's parents are religious fundamentalists, by your logic, it should be illegal for the kid to become an atheist. Sorry, that is none of the State's business. That is a personal issue between three people.

Similarly, using meth is a personal issue for the meth user.

(The only reason people make it at home and blow up their buildings is because it's illegal to manufacture it safely. If you could go to Walgreens and buy your meth, you can bet that there would not be many exploding meth labs. This "problem" is caused by its "solution".)
I'm not sure if that answers your question but you may like to look at these desktop MVC frameworks for Python:

(1) http://dabodev.com/ - MIT license, using wxWidgets

(2) http://www.async.com.br/projects/kiwi/index.html - LGPL, pyGTK

(3) http://sourceforge.net/apps/trac/pygtkmvc/wiki - LGPL, pyGTK
i've been covering Facebook as a major wheelhouse for years, and I've noticed at least a dozen I could name if pressed. That means there's probably a lot more I haven't thought of.

Valleywag isn't exactly the best hard news source, but when it comes to corporate culture type stuff, which is what i'm referring to, they're generally not bad, particularly in their hey-day when Boutin, Owen and the rest of the gang were still there.
Beautiful Jquery Plugin, Moving Boxes Carousel with jQuery
Facebook's chock full of some incredibly brilliant people, and it hasn't been resting. It's evolving faster as a site than any other web site that large. It's cutting-edge both in terms of its design and functionality. It's not perfect, but it's very, very, very good.

I trust Facebook's developers to know what's best for their company, at the moment. I doubt they've missed thirty-plus possibilities for monetization without thinking very carefully about all of them. Meanwhile, Facebook's making money without letting more than a handful of users slip out of its walled garden, so I think they're doing a good job so far.

And then, of course, you see the posts at Valleywag and ATD showing them doing little more than playing ping-pong and video games all day, and I'm left wondering if this talent grab ploy over there isn't just turning good coders into good slackers.

Do you expect people to sit in front of a screen for sixteen hours a day, being constantly productive? I've got a limited work experience, but one of the things I noticed instantly going between jobs is that the better people are working at a job, and the more they're trusted, the less they're expected to spend all their time working. It's assumed that they know themselves how much time they'll need to get their work done. (As an anecdote, I'll provide the story of the people at the close-knit writing program I attended a few years ago. We were given eight hours a day to write, probably spent two hours writing at most and six hours on Youtube.)
Out of the 6 tips provided, "write relevant, detailed answers" wasn't one of them. Quite the contrary, in fact:

"1. Be the First to Answer. Even at the cost of quality."

Gaming a reputation system just means you figured out how to maximize a number determined by some arbitrary formula. Real life reputation works differently. People aren't going to remember the dude with 10k points. They will remember the person who guided them through one of their problems. Or the person who consistently shows up with quality feedback under a certain topic.

By gaming the system you're only making it harder for others to use the mechanisms the site provides for signalling quality. Fortunately most humans have the insight to not rely solely on a number.
It's bad governments - prior and/or current.

I agree with this. But what should the developed countries do about fixing African governments? Anything?

To go off the anti-PC deep end in another direction I pose a different solution. The past fifty years of African history has been an unmitigated disaster. The entire continent has been plagued by war, famine, disease, awful governments, and economic stagnation or decline. The years before that - the colonial years - were generally peaceful and saw rising economic prosperity. We have model B which is awful. We have model A which worked reasonably well. The answer to me seems blindingly obvious: figure out a way to bring back colonialism.
Interesting story but is this the biggest case of robbing Peter to pay Paul?

Your best hope is that by the time your bond matures someone else will "invest" to cover you but what happens if they finally reach a point where they can't borrow enough to pay their existing obligations?
Funny - the diet stuff always seemed too sickly sweet to me.

Of course, I've switched to seltzer with lime and black coffee :)

Haven't had a craving for "sweets" in quite some time.. no candy, no soda. And I feel much better for it. I don't know how it happened, or when.. but I just don't want sweet stuff anymore. The cravings left before I cut them out of my life.

I think it might have to do with the fact that the last five years of my life have been much more sedentary than the previous five (bad ankle injury). Not exercising as much = not needing as much calories, and since I hadn't tricked my brain with diet soda, I just don't crave sugar anymore. Of course, now that I've started exercising again maybe they'll come back.. we'll see!
They got in the black by giving up on being the social network for the world. They toned down and focused on music, because Facebook wiped its ass socially. MySpace now is not what MySpace wanted to be three years ago.

Facebook is more ambitious, more talented, and more successful than MySpace. Their goal is to make a web site that revolutionizes how the world interacts with itself, and they've been doing an astonishingly good job at it. When I deleted my presence online, I kept Facebook, because it was capable of adapting to the lifestyle I wanted to lead.

Perhaps one day Facebook will meet a challenge it cannot overcome. Until then, it hasn't failed with practically everything, and it's steamrollering every would-be competitor. It has every reason to expand.
Most of the article is about how dangerous the manufacture of the stuff is... who's fault is that, dumbass? There are plenty of things that are dangerous to manufacture that we manage to produce safely in massive quantities every day. Stop using force against people engaged in voluntary exchanges and the problem is solved. You don't hear about people's houses blowing up from bathtub gin operations anymore do you?
This is probably the end of over-the-counter pseudoephedrine. Why let people have a safe and effective nasal decongestant when a few people could make ILLEGAL drugs with it!?

(Incidentally, you can't buy pipe anymore, since you could use it to make a pipe bomb. Oh wait, no. Doing that is still fine. Killing others is fine, but using drugs is just wrong!)

Also, does anyone have any data on how making pseudoephedrine a pain to buy has reduced meth usage? For some reason, I doubt it has.
I don't buy it. Adult's are not allowed to emotionally hurt their kids. Various child abuse laws cover this and our laws do indeed say that it is the State's business. You can't show me hard evidence that meth users usually act in emotionally (and financially) responsible ways; adults with dependents using meth is clearly wrong.

As for kids, well, kids simply don't have a developed enough brain to make proper decisions about a substance as addictive as meth. The argument here is purely biological and doesn't really need a defense. I'll preempt the usual counter argument by saying that if we could quantify decision making ability, I'd be all for using that instead of age. But age is the best we've got right now.

As I said before, if it doesn't affect anyone else I don't really care what you do. Parents can do whatever they want (drugs or otherwise) if it doesn't affect their kids or other dependents. In addition, anyone with a job needs to consider their responsibility to their company. But hey, if there's someone where none of these connections apply, s/he can do whatever they want. I certainly wont judge.
Some applications are really amazing!.

This year I came with http://www.planettoaster.com and this week end was really intense (doing solo).
In case you can't tell, I never said anyone should be sterilized. Lowered fertility and infertility are different things; basically, if you have to try N times as hard to successfully procreate, it will take you f(N) as long, and so you will, in all likelihood, have 1/f(N) as many kids. This is not the same as not being able to procreate at all, which, applied to the entire population, means effectively committing genocide. All lowering the fertility of developing cultures would do is concentrate each family's wealth (fewer children to feed means each gets a better chance), thereby creating more opportunities for highly-educated individuals to create this "good government" that is necessary to effect industrialization.

But frankly, I wasn't really talking about poverty. Overpopulation is a problem we will eventually face as a species, whether or not any one of us lives in poverty. There's only so much room on this planet, and [eventually] living on other worlds just isn't looking very promising as an alternative. "Social solutions" aren't; they're really social management of the problem by given cultures, and cultures eventually fall.

As I was saying, one of the main "problems" we have as humans is that we're just too good at breeding. When left to our own devices, without cultural mores in one specific direction or the other, we naturally produce too many more humans. When we figure out genetic engineering, and how to create safe, stable methods of delivering genetic sequence "alterations" to the entire species (retroviruses that won't mutate, etc.) one of the first things we should do is lower our own natural fertility rate. More sex, less babies, fewer complications all-around. (Also note that industrial cultures have below-2.0 reproductive rates, but that says nothing about their fertility, just their willingness to put their work before the goal of creating a family. A post-industrial society doesn't necessarily have work that is all-consuming enough to let you be diverted from creating a family.)

But again, as should be obvious from even the nature of my suggestion (involving technologies which do not yet exist) this isn't a solution to a problem we have today. It's a solution to a problem we'll have when we're completely different people with completely different cultural mores, who probably would think this is either wrongheaded in the archaic sense ("we have much more civilized solutions, involving technologies they could never imagine,") or too obvious to mention.
Wall Art Melbourne
Lume Prints brings canvas art photography prints to the home and commercial environments. Landscape Photography to Black and White, whatever your décor, style, budget, you’ll find inspiring canvas prints to suit.
Yeah, I do the downvoting thing from time to time. If there are few answers, and I think mine is slightly better, I will downvote them so mine goes to the top. This usually results in lots of points, since people see mine at the top and upvote, and see the others at the bottom, and downvote them. (The same thing works here, but I don't do it. My comments usually get upvoted anyway, for some reason.)

The funny part is that someone "noticed" this and complained to me about it. (There was a whole meta thread about it, which I thought was hilarious.) In that case, though, his answers were just plain bad, and I had to downmod his answer and answer the question myself just so that people would not be horribly misguided by his high reputation but wrong answers.

Anyway, I hate to "game" sites like StackOverflow, but there is no incentive not to. If I get banned, it just means people won't get my knowledge for free anymore. I have never needed to ask a question there; I have a social network for that (which can't be "gamed", btw).

(As to why I care about rep, I don't know. It just feels good to get a lot of points, I guess. It's like winning the lottery, except you can't cash in reputation for goods and services...)
So then what's your theory on why Facebook hasn't acted on these ideas?

EDIT: Read your other comment (http://news.ycombinator.com/item?id=784433). Well explained points!
"Do you expect people to sit in front of a screen for sixteen hours a day, being constantly productive?"

If I can do it, so can they. Perhaps not for 16 hours a day. I tend to cut myself off at 12 or 14 (call me a slacker). A smaller dedicated staff with an ethos of accountability beats out a large supposedly genius and top notch staff that has a reputation for playing games during the majority of their shift.

"It's evolving faster as a site than any other web site that large."

Constant change does not equal success, either in UX or fiscal reward. They've yet to be decidedly in the black, they've yet to find a solid business model, and they've yet to find dedicated evangelists in the tech blogosphere at large. They're simply growing because they're growing, and that momentum won't last forever (again, ask FriendFeed, Myspace, Friendster, Six Degrees of Seperation, Orkut, Yahoo 360, and the rest of the zombies beckoning from the graveyard).
Cheap fioricet online
If not done properly, exercise can cause muscle injuries. Fioricet is an effective means of treating muscle-related pains. You can get cheap fioricet online in many online drugstores.
Entrepreneurs Take to 'Big Easy'
Yahoo acquires Maktoob for 100M USD (largest Arab portal)
If not done properly, exercise can cause muscle injuries. Fioricet is an effective means of treating muscle-related pains. You can get cheap fioricet online in many online drugstores.
The Craigslist Revolution: click to join and raise ONE BILLION for charity
In other words, MySpace found a business model.

I'd be happy if half the social networks I love could do the same, so I could quit worrying if they're doomed to shut down as soon as the VCs get bored with them.
http://www.google.com/search?q=700+other+competing
http://news.ycombinator.com/item?id=784383
Use astericks to italicize. :-)

If I can do it, so can they. Perhaps not for 16 hours a day. I tend to cut myself off at 12 or 14 (call me a slacker). A smaller dedicated staff with an ethos of accountability beats out a large supposedly genius and top notch staff that has a reputation for playing games during the majority of their shift.

I'm not a programmer, but I'll tell you that this is a belief that's widespread throughout almost every industry and it's one that's very rarely accurate. The man who's most indicative of the flaws in this thinking is Ricky Gervais, the man who probably influenced highbrow comedy more than any man in the last 20 years. The DVDs to The Office include lots of behind the scenes showing Ricky dawdling during the writing process (he plays a rubber band, shoots it at his cowriter, spills coffee on the script, mashing napkins into his mouth and throwing them up), and then again during the process of directing/acting, essentially sabotaging things to have fun with the process. His work ethic is famously bad, yet the products he puts out are more tightly made than nearly anything else I've seen.

The creative process - and making a huge web site like Facebook is absolutely a creative process - is not one that can be forced out. Creative minds work to their own schedules. Some people are capable of churning out a dozen hours of work every day. Others procrastinate and still end up with great pieces of work.

(again, ask FriendFeed, Myspace, Friendster, Six Degrees of Seperation, Orkut, Yahoo 360, and the rest of the zombies beckoning from the graveyard)

It's not worth the time it would take to argue with you, but I've spent a lot of time in this particular medium and you are dead wrong comparing Facebook to these.
Guys, let's not down vote someone below 1 who is trusting enough to share some personal detail for the benefit of discussion. I think it's the right thing to do, regardless of correctness or lack of correctness.
I use this thing: http://www.bodumusa.com/shop/line.asp?MD=1&GID=3&LID... along with a Japanese-style water boiler. I grind the coffee (with a burr grinder; very convenient) directly into the filter, then I put it on top of a cup, then I press a button to dispense the nearly-boiling water. It is not instant, but it does not take long, and you get real coffee.
That is an entirely nonsensical argument. MySpace and Facebook both make money off advertising. They both appeal to different sects of people, and MySpace simply gave up on spending money to compete with Facebook.

Facebook, meanwhile, has no competition. None. They are free to expand as they see fit, and currently they're in the black and so can afford expansion.
You're spamming.
Also, what tastes good in a single sip for a blind taste-test can be different from what tastes good when you drink a glass of it. I think Malcolm Gladwell talked about this in Blink.
Homeopathy anyone?
Right, the government is responsible for the deaths of the people who die in meth lab explosions. That's pretty twisted logic.
The more interesting question, for me at least, is to consider what kind of tweaks StackOverflow could make to the reputation system in order to improve the quality of the content.

I'm a bit surprised that Atwood & Co. don't seem to be more interested in this. (I opened a question on meta.stackoverflow.com to discuss precisely this point, and got almost no response whatsoever....)
Unalone: I'm new to this particular forum as a regular user, so I'm not sure why I'm not immediately able to reply to your post, yet you're able to immediately able to reply to mine. I'm sure I'll figure it out in time, but in the mean time, I'll respond up here:

I'll simply let you have the last word on all of these threads since I'm not worth arguing on it. You're obviously much more qualified, and I unequivically accept your summary judgement that Facebook is superior to everything else ever.

Sorry.
and currently they're in the black and so can afford expansion.

Citation please. They owe a lot of people a lot of money.
I might need to invest in that, my coffee pot is too big for my average use case. Any recommendations on burr grinders? My blade grinder works fine, but was thinking about trying a burr grinder out.
Borland Turbo C++ version 4.5. I used it without prejudice; I was too inexperienced as a programmer to form opinions about programming tools, so I used all I had with great pleasure and made things.

It was good to be able to just start impossible to code projects without realizing their difficulty. Then, I felt like I could implement an OS "if only I finished this chapter"; I wanted to write my own everything. I read other people's code and copied it. I used to send thank you letters to people who published their code. I used to be a human being.

I used to look for problems to solve, now I find problems that stand between me and a solution and I look for the quickest shortcut; download it, hire someone, postpone it, you don't need it, etc.
Brain habits to remember when designing systems
"only massive difference between the two is the 3G chip and..."

http://www.teknobites.com/2009/08/24/nokia-launches-booklet-...
I'll see your anecdote and raise you a couple of years of experience.

I've worked as an ER nurse for 15 years in over 30 hospitals in 5 states. A lot of that work was contract work in hospitals in poor neighborhoods that had a lot of trouble staffing their departments. I now work in a very, very nice upper middle class neighborhood in Silicon Valley.

Absolutly, unequivocally I can say that if you're sick and want the best medical care, go to the hospital in the neighborhood where the rich people live. The difference in care is night and day. Well to do hospitals have patients with private insurance that pay a lot more than Medicare or public health insurance. They also tend to expect more from their medical care, and are usually a lot more educated and can be more proactive in their care.

One ER that I worked at in Chicago, I drove past a funeral home. And almost every single shift, there was a group of kids standing on the street corner outside of the funeral home "tipping a forty" for a friend that had just died.

I've worked in ER's that were so overcrowded, that when a patient died, we'd have to shove the body into a dirty utility room to make room for patients we could still help. That would * never * fly in a rich hospital.

In poor neighborhoods, people are used to dying young. They are used to the crappy care that's given them, and yes, they tend to have a lot more lifestyle diseases.

But, why do they have more lifestyle disease? In Silicon Valley, I can go to my local farmers market, and I can afford to spend money on organic produce. When I didn't have a car, and lived on the edge of the ghetto in Chicago, it was really easy to get my calories at McDonald's down the street or get crap food at the 7-11 down the block instead of walking 12 blocks each way to the grocery store.

Poverty does kill, for many reasons. Please dont just chalk it up to "they should stop eating crap and get some excercise."