skysight-inc/HackerNews huggingface dataset:
You could do this more efficiently with an iframe. Leave the connection open until there's an update and then send a meta refresh tag.
> But your assertion was that this was an easy problem solved with just a few lines of shell code.

Where did I assert that?

> I can't say that it is impossible to write a shell script to count words in a text written in Arabic script, but it doesn't seem easy.

Is there a definition of what counts as a "letter" in Arabic script? That is, which Unicode code points correspond to letters? And does Arabic share the convention that a "word" is a sequence of letters delimited by non-letters?

If the answers to those questions are "yes", then the extension of the algorithm already presented to handle Arabic is straightforward; it's just a matter of substituting the Arabic definition of "letters" for the ASCII definition. (With, as I said in my previous comment, the additional issue of determining the encoding of the input and output.)

If some of the answers to the above questions are "no", then you have an issue with the problem specification, not with the algorithm you're going to use to solve it.
> everyone wants to get stuff, lots of stuff without having to lift a finger.

We don't know how to make such a world exist. The claim is not, "if we could snap our fingers and make the world look like anything we wanted, the happiest world we could create would also be the world with the most massive profits". It's closer to, "if we want to optimise for happiness going forward from the world we have, then we should also optimise for allowing companies to make profits".

(Not to say I agree with the claim, but that particular argument is missing the point.)
It assumes that the user reads English fluently.
> live
Sorry - this is total security theater.

I download almost everything from the net - how else would I install? CD? Floppy? Telling me that it's downloaded from the internet doesn't do anything to identify that it's dangerous and so I ignore the warning.

Under what circumstance would I go "whoa, maybe it's dangerous this time"???

Mac's don't have auto-install .exe files. Yet we get warning for everything from JPEGs to TXT to DMG. Ridiculous.
The Pragma report [1] that the WSJ refers to investigated when a TWAP algo would need to "cross the spread". Ie, when the order book is really deep, then it takes so long for a passive order to execute that crossing the spread becomes necessary.

This effect has nothing to do with HFT firms. In fact, the referenced white paper doesn't even mention HFT at all! So it's odd that Pragma's CEO would make such a remark to the WSJ.

It's even odder that the Pragma paper doesn't mention the numerous other ways of executing a passive order, such as pegged orders, pro-rata venues, low-rebate exchanges, or even crossing networks. The authors describe a totally out-dated view of how liquidity is accessed for a stock like BAC.

[1] http://www.pragmatrading.com/research/research-notes
Yeah, you're right. I'm not fair to OTA broadcasts and I should have gotten rabbit ears. However, considering the following issues:

1. NBC cut short the open ceremony
2. NBC delayed the broadcast of the swimming
3. Online (from the BBC, and from NBC with commercials) you can get a stream of any event you want.

The online option, and the online option from the BBC especially just blows away an OTA broadcast. BBC has something like 24 different streams for live events. Vs. buying rabbit ears which gives me 1 channel.

And as for running circles around COAX, the only channels I can't get with COAX are CBS and NBC. Everything else comes through in HD either on it's own or if I'm touching it.
I have a qualifying satellite TV package and that is also broken. I related my experience this morning here:

http://news.ycombinator.com/item?id=4305905

NBC ought to be ashamed. Their online offering is pure crap.
It's possible to stream the olympics from the BBC iPlayer using a UK proxy only for requesting the page with the player (the flash player itself doesn't seem to care where you're located).

I just tested this using a free proxy. Any slow/unstable proxy will work just fine.
For sure, I expect that Google Fiber will be available throughout most of the US before the service comes to Canada, but prepending their arrival here the CRTC will have to restructure some of the laws that are currently in place. I feel it is best for Google to know that there is demand here sooner so that they can start having these kinds of discussions with Canadian lawmakers.
This is awesome. Do you have it written up in a blog post by chance? I'd love to link it to this answer: http://askubuntu.com/questions/27501/whats-the-difference-be...
If this is a justified belief rather than a faith-based belief, you'll need to offer a refutation of Thomas Rid's "Cyber War Will Not Take Place", which holds that cyber-war is contradictory because acts of cyber-war do not fulfill the definition of acts of war: http://www.tandfonline.com/doi/pdf/10.1080/01402390.2011.608...
This looks really interesting but I don't have the background to understand it. What is going on here?
Where are these torrents, with high quality video posted in near real time?

EDIT: I'm half serious, I wouldn't mind seeing Phelps lose, I missed it live. I'm an American, the NBC video website doesn't let me log in for some reason even though I have a valid account that worked yesterday (no error message, it just brings me back to the login screen every time), and they seem to be scrubbing YouTube quite well.
How to theoretically turn a sphere inside out
It's funny that we are advancing the science of OCR and computer vision by funneling grey/blackmarket dollars into the field to break captchas.

Makes me wonder what sort of social engineering opportunity this creates. What other fields could be advanced in a similar way.
Actually the Affective Computing group at MIT has been actively working on this since at least 2007. They had a fully functionaly prototype last year. http://www.newscientist.com/article/mg21128191.600-specs-tha... and http://theinstitute.ieee.org/people/profiles/rosalind-picard...
I disagree. Most HFT is market making (passive trading with limit orders only), and they make most of their money from short-term and impatient traders, who account for most of the volume and repeatedly pay the spread. Long-term traders, by definition, don't trade very often so they're a small fraction of the total volume.

And its the market makers who provide the liquidity (with limit orders) for the long-term traders when they do decide to trade, not the short-term traders (who take liquidity with market orders).
In terms of tags, my idea was to just allow people to drop any tag they want in (similar to tagging a post in wordpress) and have the system autocomplete their tags when they're typing. That way, if someone is constantly tagging "mom" and their mood is low, after a while, you'll be able to positively associate the tag and the moods.

In regards to your last bullet, yeah, compound insights are tricky. I still don't really have a solid system of doing these, but essentially you want some sort of rule-based system to pull it off. Please let me know if you find any resources on it, I'd love to help you with what you're working on.
I don't disagree, but what is your point? That one should never say "X is broken" without inventing a Y that is better than X?
GNOME 4.0, GNOME OS Coming In 2014 & Other Crazy Plans
Exactly. I just find this whole view ridiculous. The whole "cable is evil, I would never have that" or all the "cord cutter" stuff is just on a spectrum that ranges from sensationalism to Adbuster level hysteria against "the Man." It's like this weird, vague, sort-of-reverse-Luddite situation.
I had to hover over every link to find the few screenshots that that author was talking about.
I was going to say don't most modern sites limit multiple attempts in succession? Then I realized that spammers have thousands of computers at their disposal so the successive attempts would not come from the same IP. Shoot this is a hard problem...
Animations take time and get old fast.

Terminating inactive apps doesn't work right. Often you'll try to reopen an app (such as Preview) and it's stuck: finder thinks it's already open but it's not. So you have to force close it and reopen it.

There's a lot of ideas in Lion & MLion that clearly should never have passed if there was a tasteful gatekeeper at the helm, but now everyone's a UX expert and it's a sloppy, half-baked mess of random, unchangeable preferences.
I would expect long-term investors to be least affected by HFT. Can you provide a concrete example of how HFT would hurt a long-term investor?
Sometimes disruption is just a case of "meet the new boss, same as the old boss."
If the BBC changes their IP addresses and I haven't updated the IP list, you can simply adjust your VPN client settings to route all traffic over the VPN connection. Viscosity makes this easy. That will always work, but will cause other Internet services to think you're in England, and make things feel a bit slower overall.
The Machine and the Ghost
You can try http://esportes.terra.com.br/jogos-olimpicos/londres-2012/ao...
I had this reaction too. :) Although, I haven't had any kind of problem of the Adbuster type with NVC.
DDos 4 ~ Little HeZdeZfosheZ , Katy Perry's Boobs , Call of Pooty
A podcast worth it
> Almost everywhere, but not in the United States.

No. NBC is broadcasting the Olympics over-the-air all across the US.
WHAT THIS COUNTRY NEEDS . . .  the 3 F's
If Samsung is asking everyone for the same absolute (not percentage) rate and isn't demanding cross licenses then Apple should have to pay that rate (assuming the patents are valid). I'm not sure that contradicts anything that I said.

I think Samsung can raise invalidity issues in the case before the judge/jury. If Apples patents are deemed invalid then they will get nothing.

The Apple patents that I'm aware of are fairly basic but can be worked around. E.g. by stopping scrolling dead at the end of the range and requiring something other than a swipe to unlock.

FRAND is a commitment made in standardisation to prevent the standards group from being an illegal cartel. That commitment should be kept. But a single company making a patented feature desirable would not trigger antitrust concerns in the general case so they wouldn't have needed to make an FRAND commitment. The potential exception would be for the Microsoft FAT patent because FAR is effectively a standard and while not created by a group of companies Microsoft was a monopolist. This is a rare case when I think FRAND may be appropriate rule for MS to adopt even if not legally require.

Yes the patent system is currently ridiculous and needs to grant far fewer but that is a complaint against the system which I would like to see reformed but you have to play by the rules in force. As I've said in a few posts I don't remember any tech giants (even Google and Samsung) campaigning against the patent system or even software patents. If the rules as they exist are enforced maybe that will change and the big players will want to change the system.
Michael Phelps Falls at First Olympic Hurdle
5% Discount Till September 2012 for HDFC Bank's Account Holders
Recently i got a email from HDFC and read that you will get 5% discount on ebay.in if you pay via HDFC Net Banking or debit-credit card.This offer is valid till September.So if you are a customer of HDFC bank and buy things at ebay.in, pay via your hdfc bank account and enjoy 5% discount :) isn't it good?
Coupon Codes are:
Our VPN at https://www.privateinternetaccess.com also has multiple gigabits of bandwidth available through our two UK gateways. We have an app that provides one click setup on both windows and osx.
How did you get access to this data in real time?
CAPTCHA seems relatively pointless at stopping spammers since there are dozens of online services that use human labour to solve them for a dollar per thousand.

In tests on my own sites I've found that introducing reCAPTCHA during the registration process leads to a significant increase in people abandoning their registration when they fail at recognising the text the first time, without putting a significant dent in spammer registration at all. I've found it far more effective to do things like randomising form field names (instead of using names like 'username' and 'password') so the spammer has to scrape the site to figure out which fields he needs to submit for each and every account he registers, silently dumping registrations that don't use the correct field names, and then applying various heuristics to successful registrations to detect patterns common to spammers.

For instance, one particular spammer always seemed to use the same user agent string and didn't ever trigger any of the AJAX calls on the page. It was trivial to detect registrations coming from that one spammer and silently dump new accounts when he created them.
> I use Python because it balances getting stuff done with having that stuff not fall over as soon as I turn my back.

Uhh... Heard of automated testing?

It makes absolutely no difference what language you write your code in, whether it's PHP, Python or Brainfuck - reliability is dictated by your testing strategy, not the language. In the PHP applications I write, the only things that break are the things I didn't test.
Ok, so cyber-warfare is a shitty word. I know that, but people understand what it refers to, which is why I used it.

Would you be happier if I said I expect cyber-sabotage, cyber-espionage, and cyber-subversion to be important parts of future conflicts?
Anything you write for them is accepted. In fact of these captchas you only need to get one word correct (the non-maths one). IIRC the other is scanned from a book somewhere and the computer used to scan it couldn't figure out what word it was.
I didn't say gamers are unimportant to them. Microsoft is a huge company that's capable of simultaenously viewing a huge number of things as important. I think they'd be upset if they lost the gaming market (at least if it wasn't to their own Xbox division), but I don't think it would be a mortal blow for Windows. The enterprise market is much bigger than the PC games market.
I might add that if you make and sell your own products, then a degree is completely unnecessary for you given the amount of 'free' education that can be obtained via the internet today.

For 99% of people out there, a degree is a institutional stamp of approval that employers seek because it's what every other employer out there does. People get a degree because it is necessary for a BigCorp job, it's a self perpetuating cycle.

But it sounds like you want to learn and research to satisfy your a curiosity within yourself which is the only case I would say an academic degree is a good thing to strive for.
That doesn't sound anything like other companies you and I have worked at :P
Yeah. The actual problem as I see it is that people have been trained that you have to get captcha's "right", where with these recaptchas all you really need is a reasonable guess because there is no 'right' (and nowhere does it say that).

The assumption behind recaptcha was a novel one, but it seems pretty obvious that the OCR is really just about as good as humans anyway - the 'difficult words' that usually get served are most commonly either non-existant words (printing/writing errors) or scanning/cropping errors.
Works here with 20.0.1132.57 under OSX 10.8
And yet when I lived in Seattle around 2000 I had significantly cheaper and faster DSL than I got when I came back home to Toronto a couple years later.

Having compared two specific locations in both countries I feel as though my experience is anecdotal at best.
It's fine to say "X is broken", but I doubt you can find anyone on Hacker News who didn't read an article like this years ago and thus already knows X is broken. This article is beating a dead horse. The fact remains, captchas are the worst technique to prevent bots from filling out a form, except for all the other ones.
They do. I watched the swimming race in question today live in HD with NBC's iPad app. It's a shitty app, no true full screen (there's an ad) and I can't send it to my Apple TV, but it was free with my TV subscription and provides a dozen or more live feeds in very high quality.
jtm@socrates ~ $ cat ~/Local/bin/unquarantine
#!/bin/sh
for i in com.apple.metadata:kMDItemDownloadedDate \
com.apple.metadata:kMDItemWhereFroms \
com.apple.quarantine; do
xattr -r -d $i "$@"
done
Or you could sign up at https://www.privateinternetaccess.com for our VPN with two UK gateways for 6.95 for one month. Cheaper and much easier to setup.

And from what I remember flash does not follow the system SOCKS proxy settings: http://coderrr.wordpress.com/2009/07/29/how-to-force-flash-o...
The modern Kozmo.com -- though with a specialty delivery niche...

Will not survive - but, these types of attempts are interesting...

http://en.wikipedia.org/wiki/Kozmo.com
I'm going to assume you're being sarcastic, but in fact Google has already been shown to care about the internet in our little pond to the north.

http://www.cbc.ca/news/technology/story/2008/07/07/tech-crtc...
Yeah I'd sign this if it had even a snowballs chance in hell of making a difference. Telecom in Canada is such a racket right now I just see no real hope. My biggest hope for change right now is that Wind actually gets the government to agree to let them compete fairly.
"Without client side javascript"...

"using Backbone.js"

?
I would love it too, if it wasn't 8 frames per second on my machine! I love animations, but this one is ridiculously slow on my machine...
In-N-Out is in Fisherman's Wharf or Daly City. Either way, delivery to (eg) SOMA or the Mission is going to lead to soggy, nasty food.

Also, the first time I went to Shake Shack, it totally put In-N-Out in perspective. And there must be so many incredible burgers in San Francisco.

But kudos to TaskRabbit for some neat PR!
Randomizing the field names is a great idea but as you said they would just need to scrape the HTML each time they wanted to register. Have you considered sprinkling in random bits of markup to throw off the people using regex and other lazy parsing methods? That might make it a real pain to scrape your forms depending on how the spammer parses your page.
My private tracker has 720p recordings of events 10-15 minutes after they end.
The best anyone else has come up with is, "You've typed your password wrong one time. Your account is now disabled, please call a customer service representative at 1-900-TIME-WASTE between the hours of 10:30 AM and 3:30 PM Indian Standard Time. Please note that we are closed on Monday, Tuesday, Wednesday, Thursday, and Sunday, and that we have lunch between 11:00 AM and 3:00 PM."
"Man, I see in fight club the strongest and smartest men who've ever lived. I see all this potential, and I see squandering. God damn it, an entire generation pumping gas, waiting tables; slaves with white collars. Advertising has us chasing cars and clothes, working jobs we hate so we can buy shit we don't need. We're the middle children of history, man. No purpose or place. We have no Great War. No Great Depression. Our Great War's a spiritual war... our Great Depression is our lives. We've all been raised on television to believe that one day we'd all be millionaires, and movie gods, and rock stars. But we won't. And we're slowly learning that fact. And we're very, very pissed off. " - Tyler Durden
Or you could just download TunnelBear http://www.tunnelbear.com, set it to UK, and go to http://www.bbc.co.uk/iplayer/tv/bbc_one_london/watchlive

Why go through all that trouble?
As I've said in other comments. This is fun and hackerish but it's cheaper and simpler to just sign up for a VPN for a month that has UK gateways. Like https://www.privateinternetaccess.com/ for $6.95
This is spam. First step is a referral link to linode.com.
So when you said "this seems pointless", you meant "this seems pointless if you have access to some particular private bittorrent tracker". I trust you can see the difference there :)
Right now I think the best solution is no captcha. HN doesnt use one for the sign up form. Yes, the HN community is flooded, but for the most part I dont think a captcha would change that.
Node.js. Server-side.

All that's required on the client is this:
<img src="/online.png" />

And you're up and running.
Or you could just use the unlimited TunnelBear VPN for $5 a month.
AFAIK, the software interface used with PATA (and SATA in legacy mode) dates backs to the WD1003 used in the original IBM PC/AT!
study economics, read history, learn the truth my friend.
No. You need to be able to execute in your area of interest.
I do not see any issue here. They are broadcasting the Olympics when the majority of people can actually sit down and watch them instead of in the early hours of the morning when most of us are sleeping. Some people could probably DVR what they want, but not everybody can (the majority?).

I have not looked thoroughly, but from what I have read and seen briefly, NBC is working hard to make it easy to view and access online streams of the individual events if you know what you want to watch. I could be wrong though on actually how easy it truly is.

Also, the argument about money. They are a company that is in business to make money. Is this not the one of the main reasons for going in business? To make money. Why would they spend all that money on exclusive access if they were going to lose it all?
After you setup your proxy, you can quickly enable it from a script using this:

networksetup -setsocksfirewallproxystate Ethernet0 on

And disable it using this:

networksetup -setsocksfirewallproxystate Ethernet0 off
Backbone.js can be used server-side with node.js.
Both H (Bill Hewlett) and P (Dave Packard) were at Stanford prior to WW2. And Silicon Valley pre-dates the Internet era. See Fairchild Semiconductor, The Treacherous Eight, etc.
It's not really meaningful to try to say whether a single item is profitable, since they are so interrelated, but the fries and soda are certainly very high margin.
It seems wrong that in a country that (supposedly) champions free speech, you have to get approval for quotations. The obvious repercussion if you publish unapproved quotes is that you lose your source, you won't be welcome to interview campaign officials, and a reporter who loses a source will most likely lose a job.

It's really unfortunate how dirty politics has become.
Show HN: Harbor - An unofficial AppHarbor client for iPhone
Wouldn't that be accomplishing the same thing— since M-JPEG keeps the connection open— except you're forcing the client to send another request when they refresh?
I don't get it.

Some long term investors are placing passive orders to squeeze out an extra penny on their investments. I.e., they are running a strategy that's a mix of long term speculation and market making.

Unfortunately for them (but fortunately for the purchasers of liquidity), they are getting crowded out of the liquidity selling market by people who focus solely on selling liquidity.

What's the problem here?