skysight-inc/HackerNews huggingface dataset:
A multi threading system and a queue: it will be hard to explain all the algorithm here but sometimes you think that one thread can't affect others and it is not true I had to find an exception that kills no just the thread but doesn't allows the queue consuming to continue, I remember I went home something like 5am.
By us, people who steal stuff?
no need to bloat the shell

echo stop > /proc/$pid/ctl

echo start > /proc/$pid/ctl
Using firefox here.

Everything else seems to work ok, it's just the voting that is completely weird. What's even stranger is that it seems that I'm the only person currently experiencing this.
We Can Learn from NASA's (Crazy) Resourcefulness
These guys sure know how to turn a tight budget into innovative and efficient experiments.
well, GeoCities sure brought them a ton of users, and even if they were expensive compared to how Google or Facebook got their users, it was different back then, and buying a successful company may have been less expensive (and successful, at least) in the end than doing a lot of pointless tv commercials.

BTW, getting rid of Yahoo! Games, Yahoo! Shopping, Zimbra (given how poor the current Yahoo! Mail is) and del.icio.us does not seem very wise to me...
Thanks to the Boost.org developers the C++ pointer issues are mostly a thing of the past. Using shared_ptr et. al. for all but the most time-critical code has made memory-smashing, memory leaks, etc. so easy to avoid!
I have two words for you, my fine feathered friend: Paul Krugman.
I also got an acceptance email but the link says my application was rejected.

Did anybody get a rejection email?
Well, it is the same for me too. I noticed this behavior one or two days ago, but I dismissed it thinking that maybe someone downvoted the user I just upvoted more or less at the same time.
Though he is developing a bit of the old "Foot in mouth" syndrome.

Kanye West comment, Racial card and calling police "stupid" before knowing the facts, et cetera.

Bound to happen when you're in the spotlight and decide to have an opinion on something, but one of those was a public comment made directly to the press.
well, it's good to believe Reservella is not connected to TPB, but it must be run and owned by someone. TPB claims that the ownership was transferred to this company in 2006. Now how they can be continually discussing a sale of TPB if they don't own it? Anonymous offshore companies are useless under the scrutiny they get. Sooner or latter it will be known who controls it and in this case, I believe, to our major disappointment.
Back when text messaging capability was a rarity on mobile phones, which were themselves rare, I was testing an SMS-based weather forecast service that I had written on behalf of one of the mobile network operators.

The testing worked well on the emulator so I decided to test it over the public network to an actual handset. Only I forgot to advance a recordset through which I was looping, so the code never hit the end of recordset condition. It took me some time to notice there was a problem...

The fact that I crippled a national SMS network for a few hours was bad.

The fact that my company had to pay for each SMS, wiping out out profit for that month was worse.

The fact the handset was mine and on my first date with a girl later that evening (whom I later married) my handset kept beeping with incoming text messages (about 96,000 if I remember) was the ultimate.

The handset didn't have a silent-no vibrate function (either it beeped or it vibrated or it did both) and the SMS inbox filled up after 200 or so messages meant it took days for the inbox to fill up, me to clear it message by message, then fill up again ad nauseam.

Still, I laugh about it now...
So either they're civilians that have been arrested for crimes or they're prisoners of war. You have to choose and then play by those rules. Inventing new terms ("enemy combatants") isn't going to convince anybody but the most gullible.

The term is "unlawful combatant" and has the meaning of someone on the battlefield out of uniform. In the case of spies, they can be summarily executed perfectly legally - i.e. without breaking the Geneva Convention (which doesn't even apply in this case - it requires both sides to be signatories, and the Taliban aren't).
Please provide factual information the wars most likely relate to oil and revenge.

To me the wars are more of a response to America's high state of emotion after 9/11, judging by the amount of people (even in political positions) who at the time agreed to them.
Thanks, I don't write comments to harvest karma, but just to state my opinion. :-)
Actually I think it does. When chatting with my new barber he mentioned that his brother is a priest - and then quickly had to add the disclaimer that "but he is ok."

It is a shame that being a priest in the Boston area is now linked with being a pedophile
Quantum computing may be useful, after all
i'm hoping that's the case too... pretty cruel way to treat entrepreneurs if it's not a bug...
But it does devalue the institution of the Catholic Church as a whole. Just as this prize may devalue the Nobel Prize idea, but doesn't touch one bit what other individuals who received the prize did.
Functional Programming Fundamentals Lecture Series [video]
Django - Version 1.2 Features
Software start-ups should in particular note: If you're selling B2C and your target market is technically savvy, the folks who will pirate and distribute your work are considered heroes by many you've hoped to sell to.
No?

While scale wise it obviously wasn't, in the mid to late 90's it was the place that most people had their first websites and communities grow. People act like 'the wall' on FB is something new. Hello? Guestbooks.
Textfiles has been working hard to make an archive of Geocities. I need to call Jason and see how that went.
That's fine for /this/ example because find provides that as an option. But you might want to grep for something in many files of varying depths, or run some home-brewed script on them for which find does not provide a built-in. -exec works of course, but spawns grep (or whatever) once per file; using xargs saves considerable time since it passes lots of files to 1 command.

Or, you can use zsh.

rm **/*.o

grep foo **/*.{java,sql,xml}

# Where is that blasted IBM utility?
ls **/*pmt*(x.) # list e(x)ecutable files (.) that have "pmt" in their name.

# Show me all the "Setup" dirs in my project
ls -d **/Setup(/)
Krugman, as an op-ed columnist, is a complete and total wanker.

Krugman, as an economist, did a great deal to further the field (although he has since forgotten these things, apparently). Economists who I respect feel that his prize was deserved.
I hope all of that information was saved somewhere. Although I'm sure most of it turned into wikipedia pages.
Um.. what was that? Some autonomous vehicle navigation system?
http://news.ycombinator.com/item?id=870796

http://news.ycombinator.com/item?id=871236
Darpa Urban Challenge, top right of the video.
Had an obscure picking id wrap around because a table wasn't getting cleared for debugging purposes which resulted in excessive amounts of beer being delivered to unsuspecting customers at an automated gas station.

Here's a video of part of the result: http://www.youtube.com/watch?v=RUhLDtPnSuQ
I've been to far too many 'tech' events and conventions that the WiFi just falls over and dies. U-Mass Boston was completely unable to handle even the 500 geeks at Podcamp.

MIT's infrastructure has been able to handle everything that I've been to there (ROFLCon, Barcamp, etc). Seems to vary massively by venue.
Yeah I had 'fun' with an embedded bootloader that would corrupt a single byte in the image (at offset 2^20 iirc)
I think this would hold more weight if he hadn't backed down from the missile defense program and instead pushed hard to set it up in key points around the world.

What better way to encourage peace then to start building anti-nuke stations around the world to nullify that threat from all parties.
I guess I didn't think of it that way. I was thinking more of the barrier for a regular user to get started. From what I remember, the wizard for a casual user wasn't that great, so knowing HTML was a necessity. But I could be wrong.
I wonder if Obama was as surprised as I was.
that Gitmo is not yet closed is not Obama's fault. In the US almost nobody wants to take the prisoners. The whole thing is a total mess.

What the Nobel price really means: Obama needs more support and less obstruction. The old elites don't give up just because one guy gets elected. The struggle against the military-industrial complex, the neocons, the conservative lunatics, etc. will be long. Plus the US is not prepared for deep structural reforms (like getting rid of the two party system, getting rid of commercialized prisons, getting rid of a fake economy, really reducing the military budget, etc.).

It is a sign from the international community that his intentions are recognized as going in the right directions, now people need to work with him to get stuff done. Like the russians and the chinese leaders need to really reduce the nuclear arsenals. Other leaders need to understand how useless these weapons are today.
How to design a computer program (yacoset)
If they are going to continue this pattern, they should probably make a new medal under that title.
Moon plunder commences
The only advertising I've seen[0] for Android phones has been from T-mobile for the G1 and MyTouch. There is zero Android branding in these ads. The only indication that the two run the same software is a mention of "with Google" at the end of the ad.

I see this as a major branding fail.

[0] I don't really watch TV, so I haven't seen as much as most people.
Toto makes the most awesome toilets.
I'm dubious how well this functions in practice; won't the keys on the key ring be turned perpendicular to this one?
Non-strict comparator with the STL. Nearly impossible to identify when it's happening. It's happened once to me and once or twice to a coworker over the last couple years, and takes 3-5 days to debug every time.

Example:

struct FooSort {
bool operator()(Foo const& a, Foo const& b) const {
- return not a < b ;
+ return b < a;
}
};
I think it's nearly time to get one - maybe an HTC, as they're well into their second generation of phones. Hecl needs more attention on Android, and real live device is the surest way to accomplish that:-)
Trading In Your Old Threads on the Web
Aspen best ski resorts | Aspen condo rental
It might be the worst economy we’ve seen in years, but that’sgood news for skiers who want to book a last-minute vacation for record low prices. Super-cheap airfare, dropping gasoline prices, and ski resorts that are desperate to fill vacant rooms have inspired ski vacation package deals that are too good to pass up. And the really good news is a lot of these deals allow you to book last-minute. So if you thought you couldn’t afford to go on that ski vacation this year,think again
A bug that gives out free beer. Talk about a bug with a silver lining :)
Bummer. I was not accepted. I guess that is what I get for having a non-technical background (attorney). At least it is streamed!
I'm still trying to work out exactly what the UK gains from this "special relationship".

We paid back the loans in full in 2004, can we start acting like a sovereign nation when dealing with the US now?
Flex Vs Ajax Vs Silverlight
> Support for non-relational databases: Tokyo Cabinet/Tyrant, MongoDB, Cassandra, Google Bigtable (AppEngine, #10192), Amazon SimpleDB, CouchDB, etc

Is the intent to create some-kind of common framework that will work with more than one DB? Or to somehow select/prioritize one particular DB and support that?
Untangling the Web with Mozilla Weave
The distinction between "news organization" and individual also makes very little sense to me.

The lack of a significant distinction becomes even more obvious when you consider a group of people sharing a blog vs. a media organization.
You might look into the possibility of a deploy-able version targeting corporations that don't want to keep data like that in the cloud.

While this might add considerably to support expenses, it might also be a pretty good way to tap into a niche market?
I need to learn Java for work and I'm looking for an interesting project to learn it with. Any thoughts on building an Android app for my first project? Would this be a good way to become familiar with the language?
Some users of a (shipped, fairly heavily used) web app we had deployed were getting kicked back to the login screen at random. Sometimes, very frequently.

Looking in the logs we could see that these users were somehow losing their authentication cookie and the application was correctly bouncing them to login. So how were they losing their cookie? Assuming it was a bug in the code we searched and searched to no avail.

Finally I discovered that the hardware load-balancer our CTO/'IT' guy' had insisted on was the culprit. The load balancer would buffer fragmented requests and re-assemble them before sending them on to the server. Unfortunatly the load balancer had a huge bug in its firmare.

If a user was using firefox, on windows, and their request was fragmented such that the first packet contained data up to the end of a header line including the \r but not the \n, so the next packet would start with a \n and then a header name, the load balancer would insert a \n\r between the two packets, thus effectively truncating the HTTP headers, usually before the cookie lines.

When I found this bug I couldn't believe that this was actually happening, I thought I was taking crazy pills, but you could run a sniff on the front and back side of the load balancer and see the request go in well formed and come out busted. We ditched the hardware load balancer and all was well.
Ask HN: OSX Package Management
Gmail Down? Backdoor Access Tricks (Lifehacker links reorganized)
The point was basically this: The US, while far from perfect, gives people a fair trial, in front of a jury of their peers to laws made by elected representatives that answer at least partly to their constitutions but a constitution and bill of rights prevent this from turning completely into a tyranny of the majority. This gives the laws and system of justice some moral weight.

In Iran you would be hanged simply because you don't believe in Islam, or think women should have equal rights.

This means that there should be no more respect for laws made by Iran than for the average street bully.
He is not a hacker.
Last time I looked this wasn't ads.ycombinator.com

(I say that as a happy repeat customer of VMWare's products, including Fusion).
That other people also think shoddily / fallaciously doesn't make it any more valid. Plus, that's not responsive to my point. If 50% of cops are corrupt, when meeting any given cop, there may be a 50% chance that they're corrupt. But if it turns out upon meeting this cop you find out she saved thousands of lives and is the model of virtue, the badness of other cops in no way diminishes her accomplishments. If anything, it highlights them because of their rarity for that population. Similarly, the Pope could be the Antichrist or whatever: it still doesn't diminish the achievements of one particular nun.

Einstein's Nobel has no tarnish on it because the Committee gave Obama one.
I tend to agree, though being on the #railsconf channel was the only way to make it through Tim Ferris's awful Railsconf keynote this year. Without Wifi there might have been violence.
Follow-up to my "Hell of Apple Video Adapters" blog post
Here's a question I haven't seen raised yet: how does this affect commenters on HN? Products and companies get plugged here all the time. It's hard to see how commenting is much different than a blog post.
So as I was reading the article I clicked on a bunch of the papers, queuing them up for a later purchase decision.

But they're all open! Yay Microsoft!

So much for my long weekend...
Why does google need to advertise to end users? Most of the savvy ones already know about Android and the rest probably don't care what their phone runs as long as it can do email, get map directions, etc.

If they are spending money on marketing, they are spending it on the handset manufacturers.
Thank you but I'm an adult. I'm perfectly capable of figuring out for myself if a blog is crap. I don't need the federal government to tell me.
Replying to you to test a theory.
Yeah, that makes sense.

Amazing then that nobody told him about how accepting that prize might constitute a pretty big case of hubris.
I think it just might be for the opposite reasons. Everyone in my circle likes Obama and voted for Obama but this is that moment in which everyone is "WTF".

This might be to make him lose credibility. Just my conspiracy theory.
You are responsible for Oracle 10?

We need to have a word.
I think that Android doesn't need advertising. It's something that people mostly don't care about. However, they do care about quality, which Android may provide for handset producers. So maybe, Google is not even trying to put effort in Android advertising (for masses), but lets thi job to specific device manufacturers. For example, HTC Hero is advertised quite a lot.
Osama is still making videos, but thank God we got Gary McKinnon, now our government networks are safe from aspies looking for UFO evidence!
One of my colleagues did this with our automated notification system. After his phone received about $60 worth of text messages, he panicked and shut down the server!

Then again $60 is only about 1200 messages.
Sure, the institution may be devalued, but that's not the claim being made. The claim is, "the others get devalued as well." Feynman's work in QED is no less amazing today than it was the day before yesterday, and the Nobel no more or less an appropriate prize.
Yes, it seems once you're responded to someone, you can no longer vote them up and have it stick.
I am not certain if you are being sarcastic here.

I very much doubt global warming is a hoax. A majority of scientists in climatology and related fields seem to believe in global warming (though there is disagreement over many of the details, most significantly the degree and that one can vary widely.) Even if they have gotten it wrong, which is a real possibility, I very much doubt that anyone did it with intention to deceive or create a hoax.

Note that I am not making any statements one way or another about "An Inconvenient Truth" or Al Gore or his receipt of the nobel prize. What I am saying is that from my layman's perspective it seems that there is at least some truth to global warming and that even if it is indeed not true then that would be a scientific error, not a hoax.
Could you enlighten me as to why the missile shields were a bad idea?
1 Billion Page Views A Day for YouTube
Cool, thanks !

So that means it is a display bug rather than a voting bug.

Those particular 'up' arrows should simply not be there.
She is wrong though: In Denmark we extradited one without even asking to see the evidence.

I just want to know what the hell the US has on those politicians.
Peter Seibel ask this question in all his interviews in Coders at Work: http://www.codersatwork.com It seemed like most were concurrency related.
Dalai Lama, the slave driver ..

Google Tibetan history and see what sorts of "religious order" he wants to implement in Tibet. Chinese are an occupying force there, sure, but the Dalai Lama, if he was no the leader of Tibet, would absolutely deserve a coup and summary hanging.

Earlier visitors to Tibet commented on the theocratic despotism. In 1895, an Englishman, Dr. A. L. Waddell, wrote that the populace was under the “intolerable tyranny of monks” and the devil superstitions they had fashioned to terrorize the people. In 1904 Perceval Landon described the Dalai Lama’s rule as “an engine of oppression.” At about that time, another English traveler, Captain W.F.T. O’Connor, observed that “the great landowners and the priests… exercise each in their own dominion a despotic power from which there is no appeal,” while the people are “oppressed by the most monstrous growth of monasticism and priest-craft.” Tibetan rulers “invented degrading legends and stimulated a spirit of superstition” among the common people. In 1937, another visitor, Spencer Chapman, wrote, “The Lamaist monk does not spend his time in ministering to the people or educating them. . . . The beggar beside the road is nothing to the monk. Knowledge is the jealously guarded prerogative of the monasteries and is used to increase their influence and wealth.”24 As much as we might wish otherwise, feudal theocratic Tibet was a far cry from the romanticized Shangri La so enthusiastically nurtured by Buddhism’s western proselytes.

http://www.michaelparenti.org/Tibet.html
Thanks for a short summary. But the post was a great read still!
The bug itself wasn't very interesting, just a brainfart. But it wasn't doing what it should, so I added debugging output - one line per pixel. (I was generating a png from a custom image format.)

Because there was so much output, I did a `| head` to keep it manageable. Saw what I was doing wrong, fixed it, reran the command, it seemed fine - but the output image looked exactly the same as it had before.

It took me about an hour to realise that once head had exited, the pipeline sent a signal to my program, killing it. The image wasn't getting written until after all the pixels had been processed, so it never got to that stage.
though he's not a wealthy man financially

Both his books have sold millions of copies. The Clintons are now worth well over $100 million, just from giving speeches.

Al Gore left office worth about $2 million and is now worth over $100 million from a combination of his global warming book, movie, and speeches and various board directorships, including at Apple and at Kosla's VC fund. Obama will scrape by somehow.
If anything, the money needs to go to advertising Android Market, which can attract both users and developers. Wireless company money will of course try to get people to buy the specific phones, which makes sense.
And what good did that meeting do? Did China's policy change? Are ethnic Tibetans better off?
Perhaps a better analogy is MySpace, on account of the "copy/paste" approach people with little technical skill used to do things like add templates.
If you're a customer, that's a feature not a bug!
> Then again $60 is only about 1200 messages.

You must not be in the US..
> People will be less willing to argue with him, bad press against him quiets down, and he's freer to do what he wants without the insane hostility he faces today.

So, basically you think the Nobel Peace Prize gives Obama the right to achieve his entire political agenda without any form of opposition? Right....

> I'd like to think this prize will help lead to the eviction of the Republican Party even more quickly than it was already.

Oh, I understand now. Thanks for sharing.
Parsing locations tagged with #socialgreat from twitter stream
I got the same problem today , I thought it is part of the karma rating algorithm and I can't give points because I don't have a high karma , but I guess it wasn't like that all the time
No it's not. It's usually massively saturated APs, an overloaded DHCP server, or too small a pipe, as the linked article said. That, and even one jackass can really hose a system if resources aren't hardened at all (to avoid spam requests, spam AP hopping, etc.), and often they aren't as it's "just temporary". BYOA has become the name of the game for me: thank god for wireless broadband.
I'm still loving my first generation HTC G1. it's a little bulky and can be slow at times (unless I kill the processes left from applications running the background, then it's snappy), but I really enjoy it.

I've heard really good things about the HTC Hero though, and would love to try one out.