skysight-inc/HackerNews huggingface dataset:
Interestingly, Python has the "with" statement for this basic genre of operation (executing a block of code while some particular resource is held), although it doesn't require that the third, "undo" step be automatically derived from the first step - it's just a protocol where a 'start' and 'end' method are called on the object representing the resource.

It sure makes it easy to be sure you're closing your file handles/database connections/mutexes, though.
Swimming pool builder in San Diego
Show HN: my book just published and now available in Amazon Kindle store
A lot of people are talking about finding an alternative to PayPal.

Does anyone have an opinion on Dwolla or Square?

I have also heard that Visa is getting into the P2P payment space, I suppose Google Wallet must have similar plans.
How convenient that they can pay themselves for an ad and circumvent the punishment anyway.
Learning Spanish in an easy way
As we know that popularity of Spanish learning is increasing day by day. Spanish is such a wonderful language. If you are very curious on Spanish learning don’t waste the money and time, immediately join Spanish school which is now found in every corner of the country this method is the fastest method of Spanish learning.
Google own a significant chunk of the GPL code in the Android kernel.
Pretty sure Ruby has this.

File.open(name, mode) receives a block, executes it, and then closes the file.
Right, because Google needs to have its claws around another academic bottleneck.
After copying style and design of iPhone/iPad,Samsung uses same actress in Ad
I don't "not accept your way of working" so much as "rue the fact that your way of working sets yourself up to get paid way less".

None of the rest of what you said has anything to do with hourly versus daily billing.
You're probably right. I think your hourly/daily billing idea is clever.
Not sure if you know this or not, but flagging an article as it first appears prevents all other HNers from seeing it. Flagging it later on causes it to sink rapidly off the top page.

This means that a very few people could prevent huge chunks of legitimate stories from being seen by fellow HNers by flagging.

Flagging, for whatever reason, is much more powerful than voting. If you flag, you not only note that the article is bad, you prevent others from having a choice. That's why it should be used sparingly. If everybody flagged 10 articles a day, it's not that lots of bad articles would get sorted out, it's that nothing new would appear on the front page at all.

Voting means "I don't like it" Flagging means "I decide nobody else should look at it" It's a completely different thing.

Also appropriate material for HN is material of interest to hackers, not just hacking or startups. If you're flagging it because it's not hacking or startups, you're actively preventing the rest of us from seeing material that might be considered pretty good if we had a chance to rate it.

You probably already know all of that. Just wanted to point it out for those who didn't.
You can resize the box in Chrome.
Agreed on all points.

Question is : what can be done?

I would say a property price drop would be a good thing because it would feed into lower rents for everything. But that, of course, would have damaging wealth effects for people who lose everything when their mortgage went underwater, and the banks would take massive losses on their oversized residential mortgage portfolios.

More economic growth might reignite property and job markets.

I was talking to a friend of mine in Sydney who earns 200k plus. He was struggling with the idea of buying an average townhouse in an average Sydney suburb because his mortgage + expenses would run over $3k per month. It's madness.

Are we to just stagnate our way out of it? Hold property prices and rents level for 10 years while incomes eke upwards? Or is Australia destined to be in the Norway/Switzerland/Sweden club forever more, and the cheap-as-chips country of my youth is gone forever?

I just can't get away from the uncomfortable feeling that whatever adjustment comes along will be painful.
Especially when the seller claims he had a professional appraisal done on it.
Google Apps: Gmail, Docs, etc.

http://gmailblog.blogspot.com/2011/06/our-plans-to-support-m...

[Update]

Firefox 3.6 is already unsupported.

http://support.google.com/a/bin/answer.py?hl=en&answer=3...
erm,no.Google still trounces it in quality imho.
I'm not the downvoter, but perhaps they were annoyed with "Would Google of" rather than "Would Google have." That particular error really gets on people's nerves.
Switching from one service to another is non-trivial if you've accumulated playlists or favorites. You basically have to either write it all down and re-do it by hand, or start over out of principle.

The subscription model is the modern equivalent of the Columbia Music House. They'll send you music relentlessly even when you don't want it, only in this case if you cancel it all goes away and you've got nothing to show for it.

You'd have to be diligent to use those ten free downloads a month. You can't bank them, can you?
At first read I was getting all upset about what a short-sell of virtualization the definition was. Then I read it again and realized it was an intro, and how do you really introduce a concept that solves so many problems? I'm looking forward to reading what comes next.
Go team! Good to know.
Or, in my case, i've been screwed by MS so many times over the years tht it feels great to have excellent alternatves and watch the arrogant asses struggle. I won't buy their products again and they have earned my enmity. I hope they lose billions.
Google requiring default 'Holo' theme in Android 4.0 devices
Yeah trying. Can be challenging unless we are some sort of partner I guess. Thanks!
Startup idea: Offer insurance to protect sellers against PayPal's counterfeit item policy.
The Stop Online Piracy Debate
C++'s variant is RAII: http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initial...
The story is self-consistent and it's consistent with PayPal's ToS. It's consistent with the destruction of other "counterfeit label" products.

Given PayPal's long history of nastiness I don't think there are many people remaining who would give them any benefit of the doubt.
A similar pattern that blew my mind when I first saw it was ruby's scoped open().

instead of

f = open "test.txt"
print f.read
f.close

You can write

open "text.txt" do |f|
print f.read
end

The file is automatically closed at the end of the block, and it also handles exceptions and so on. I find it also lines up better semantically with how I think about opening handles to things.

I believe Python also added something similar via the 'with' syntax. Not sure about other languages.
Google Docs does not support Firefox 3.6
Second vote for Colemak here! I spent the first two of my high school years in Japan essentially being homeschooled. I had developed shoulder pain and a ganglion cyst in my wrist due to lots of typing and playing tennis, so I took the opportunity to try both Dvorak and Colemak.

I used to average 110 wpm on Qwerty. I started at 30 wpm Colemak and reached 80 in three months. After fourish years, I'm back at 110 wpm, with no more cyst or shoulder pain.

I tried Dvorak for a week but disliked that 1) it emphasizes hand alternation (as opposed to Colemak's emphasis on finger mashes) and 2) it was so difficult to type "ls -l".
That's not a general op/inverse thing like J apparently has, though. Also, which lisp?
In another thread people were commenting that some people are refusing to upgrade to Firefox 3.6 because they don't like the new Firefox. I saw this link and thought that people should realize that FF 3.6 is already becoming unsupported.

People really do need to upgrade or find another browser that they like.
Well, at least they kind try to fix it, or, make it appear like so.

But yeah, it's like praising someone saying "ok, ill stop murdering people now", on a much lower level of course. (specially after being slapped on the wrist)
I suspect you are getting downvoted because it is obvious to programmers that because Google made the ranking system, it is possible for them to manipulate the rankings in whatever way they want.
I'm sorry but this is a complete joke. Matt, I know you read HN so I'd love to have an answer to this. How does demoting www.google.com/chrome improve the searcher's experience if they are in fact looking for information on Google Chrome? I thought Google was all about returning the best results possible. Also, why wouldn't you just devalue the link placed in the sponsored post? There's no way that one link was significantly holding up the ranking of that page.
You need to ban the entire domain! If someone else did the same thing, you wouldn't just ban that 1 page, would you?
I've heard several people complain to me about having
normal articles flagged

How do you know an article is flagged (aside from someone posting a snark about how they flagged)?

Does the OP of an article get notified?
That looks like Common Lisp, which also has a general version named unwind-protect: http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec...
I would invest in SiteBlackBox.
Played with the WP7 for an hour when we got it in the office. You are spot on about it being not that much better. It was nice and all, but at the end of the hour I was very much "meh" and had no reason to actually use it let alone tell someone that they would want it v.s. my iphone or blackberry.
What about machine stenography? It's harder to learn, but apparently has a much higher payoff in speed, accuracy, and ergonomics. http://plover.stenoknight.com/

The author of this program has a wonderful series on her blog about what steno is good for: http://plover.stenoknight.com/2010/03/how-to-speak-with-your...
Web Designing | SEO | Web Development IT Company
Web Designing, SEO, Web Development IT Company in India. Logic IT Solution Pvt. Ltd. offering service for Web development, Website Design, Open Source Customization and SEO Service.
If your "pointed question" doesn't sound nice enough, the community will punish you for it. There are also a couple sacred cows that you would be well-advised against questioning.
Here comes one of the most depressing posts I've ever written.

It seems that startup incubators are doomed to follow the same distribution as business and law schools or non-STEM PhD programs: unless you get into a top one (and by "top", I mean top 3 or 4) you should just go home. The connections that will turn your time and effort into something are not uniformly distributed, but clustered around a small (single-digit) number of hubs. The non-hub alternatives exist to take your money (or, for incubators, equity) and are unlikely to return on the investment.

This distribution isn't inevitable, but it's common. For counterexamples: from an economic perspective, there are two classes of post-graduate educational programs where it actually makes sense to go to a middling (i.e. respectable but not top-5) program. 1. Medical school, because the AMA puts a cap on the number of students the schools can take, limiting the number of doctors and keeping the pay high, so that those skills are in demand regardless of geography and connections. 2. PhD programs in STEM disciplines, where students gain marketable skills and therefore, even though the academic job market has been a cesspool for over 30 years, their graduates can get decent private-sector jobs.

Option 1 is not a credible model for incubators, so that leaves the second: some sort of objective and salable value-add. Unfortunately, this is hard to achieve in 3 months in the context of a no-name incubator. The only way to learn business is to do it (opportunity) and that requires serious capital and powerful connections, not a short runway and "mentoring" from someone of dubious credentials.

People learn best when they are in moderate power. Actually, that's the only time when most people learn. Being at the pinnacle or having infinite resources just spoils them, and no one tells the truth to monarchs or billionaires; but being at the base of the pyramid discourages and enervates them. What the connections and cachet conferred by YC acceptance perform is an elevation into this region of moderate power and high opportunity.

I don't think there's room for more than 5 general-focus Y combinators in the US. It would be nice if there were, but the truth is that opportunity and connections are not that abundant... or at least not in that way.
Probably not too much to ask, but more difficult than you'd expect. LaTeX is one of the best, most expressive ways to type mathematical expressions... and once you've spent several years in grad school doing so, it becomes second nature. You actually have to think about ascii-fying it instead of just typing $...$ expressions. :-)
Why didn't they call it the xbox phone?
"In response, the webspam team has taken manual action to demote www.google.com/chrome for at least 60 days. After that, someone on the Chrome side can submit a reconsideration request documenting their clean-up just like any other company would."

How can a site know if they've been demoted, manually or algorithmically? How can they find out why they've been demoted in order to clean up?
You have NO Market Differentiators – Deal with it. — Startup Desi
You could dispense with the 'you've never heard of'.
If people are down voting others based on grammar, then English-as-a-second-language folks are going to have problems.
Dvorak ain't so bad. I learned it and I'm not faster, but I do find it much more comfortable.

Emacs? The keys aren't arranged spatially so no harm there. Vim? It's not so bad -- H and L are under the index finger and pinky of your right hand, similar to before, and J and K are right next to each other on the left hand too.

Plus, it's absolutely hilarious to watch other people try to use your computer.
You should really try to appreciate how a musician relates to their antique violin.

Would you not understand peoples' sadness if a collection of great paintings were destroyed in a museum fire? The sickest part of it was that it was destroyed intentionally by humans for no good reason at all.

Sure, this was not the most valuable piece in the world but there are definitely a finite number of them remaining. My guess is a lot of them are moving to collectors in Asia never to be seen again in the West. Who would have thought that would be the safest place for them?

Oooh this makes me sick.
Clojure has it too.

If you want to abstract the pattern out even further, then all you are doing is running a function within a certain context and then getting everything back to normal. Using under in J, scoping it out with ruby, or using with-open in Lisp are all examples of the pattern, just different ways of thinking about it.
But that's the thing. What does this number mean? Does it matter to you?

Are we celebrating their social media skills? :P
RIM chops all PlayBook prices to $299
True, but the question isn't whether or not they can afford it, as there's obviously very little that they can't afford, but one of whether it makes sense.

I'm assuming their bean counters have decided on an acceptable user acquisition cost, and likely won't bid above that. If, for example, they're willing to spend $1 on that spot, and somebody else is willing to give them $20 for it, I'm pretty certain they'd sell it out in a flat second.
As far as I can tell the signature applies only to the date header. Which means that if an attacker can intercept a signed request they can swap in any request of their own without having to change the signature at all. And the server will interpret it as a legitimate signed request.
It's doubtful at best. Email PG or another site admin, they are exceptionally responsive.
I've got htns mapped to the direction keys, too, and it works great. I think it's even easier than qwerty's direction keys because you don't have to move your right hand at all; you have to move the forefinger left to hit 'h' on qwerty. It's a happy coincidence that the 'unmapped' keys aren't used very much, except for 'n' and you can remap that to the Dvorak j, k, or l.

Playing QWOP is impossible on Dvorak, however.
> This seems very un-Googley to me.

And the bundling deals Chrome had with Skype and has with Adobe seem "Googley" to you?

I really doubt Google would be doing the grey-hat SEO thing myself, but mostly because they have more effective (if more expensive) ways to push Chrome that they've been using already, not because I think Google is incapable of behaving in a completely scummy way. The fact that installing Skype for a while (until Microsoft bought it) defaulted to installing Chrome and making it your default browser pretty much sums up what you can expect out of "Googley" nowadays.
I learned dvorak. After doing this for ~2y, I'm much (twice?) faster in Dvorak than QWERTY presently, and am slightly faster than my old QWERTY typing speed.
Auto Logos Utmost Need For Automobile Industry
Auto logos are invariably the most alluring piece of work for the viewers; everywhere you can see them due to the

drastic increase in the automobile industries globally with a good increase in healthy competition.
The only problem with your classification is that nerd and academic social groups do not have a high enough social standing with normal people to count as elite. Just try bragging about being a Linux kernel hacker at your next party and see how well that impresses people.
Sorry to hear that. I did put a disclaimer on my personal blog because I don't want to use a persona but I still have things to say ;-)
No, I think they demoted the URL, no matter what the search term; the initial searchengineland article was written while the demotion was still propagating, and "chrome" was still ranking. Now:

'In fact, the page no longer ranks for “chrome” or for “chrome browser,” either.'

http://searchengineland.com/google-chrome-page-will-have-pag...
need add one more line:
npm install stylus

plus, as a quick test, it did not work for me, i.e. after I enter a category, then press 'add', nothing happened.
Microphone Turns Any Surface into a Touch Screen Input Device
Free, online courses Stanford is offering this winter (Complete List)
There are 16 courses total, including one by Berkeley. They look to have a similar format to AI Class, Machine Learning, and Databases from this fall.

I couldn't find a list anywhere so these are linked and sorted by start date.
I believe c# has something similar too, "using"

using (FileStream fs = File.Open(path, FileMode.Open, FileAccess.Write, FileShare.None))
{
Byte[] info = new UTF8Encoding(true).GetBytes("This is some text in the file.");
// Add some information to the file.
fs.Write(info, 0, info.Length);
}
While I realize that it involves different business units entirely, but a company paying itself for its own products seem a bit weird to me, doesn't it?
So cdist requires python on the target server, or does it somehow roll its own once hooked in? Or is Python only used for the front-end?
From Google's statement:

"While Google did not authorize this campaign, and we can find no remaining violations of our webmaster guidelines, we believe Google should be held to a higher standard, so we have taken stricter action than we would against a typical site."

http://searchengineland.com/google-chrome-page-will-have-pag...
The sad thing is he could have bought a $5 piece of junk at the pawn shop smashed it to bits then showed Paypal a picture of that.
Thank you. I'm a programmer too but I didn't get it. I figured that could be the case but then I wonder how? I, first of all, naively assumed they couldn't do it because they say they can't (shame on me for being so trusting), and then figured that if they changed the algorithm then there'd be collateral damage. I dont really get into algorithms much so I didn't know they could target a single page like that. The smart programmers would probably say I was a yellow belt compared to their black belt. Anyway, thanks for the answer.
They are using TLS to assume that the client authenticates the server is who it says it is -- if you can man in the middle TLS, there are lots of other possible exploits besides this signature one.
Terminologically speaking, Scheme is a Lisp. And ELisp is a Lisp. And Autodesk VisualLisp is a Lisp. And Clojure is a Lisp. And Arc is a Lisp.

But Common Lisp is Lisp.
Must be cool for Colin to have Tarsnap featured there (as secure backup provider Tarsnap puts it, "[b]ackups are supposed to be a tool for mitigating damage — not a potential vulnerability to worry about!")
I got that notice too recently, and I've had no activity in my Paypal account for more than 6 months, so I'm not sure what their rationale is...
Adding support for if/while/do while, to a simple compiler and vm in Php
C#'s 'using' statements allow this kind of pattern for types implementing IDisposable. It looks something like this (might be a little off):

using (var file = File.Open("foo.txt"))
{
...
}
Extensions exist that convert LaTeX to images on-the-fly.

And in a lot of cases (∄ comes to mind) there's just no good ASCIIfication, so inline LaTeX is almost as good as anything else even for people without those extensions.
Delivery
Van Courier delivery services London and UK. We offer cheap and reliable courier delivery service and Free Instant Online Quotes
FunnyGames.nl | Bubbles, Mario, Happy Wheels, Monster Maniak, Paarse Pluisje
Windows Phone is failing because the seeds were planted elsewhere
Regardless of what actions Google decided to take, this was going to make the news. They could either do this in a positive way by showing that they themselves are not above the law of PageRank, or they can do nothing at all and have Google Naysayers saying, "See! Their own rules don't apply to them."

This sends a strong message to the rest of the Internet: We won't stand for even the perception of impropriety when it comes to our money maker: search (well ads, but you know what I mean)
I understand what the author is trying to say! But the title is so different from the content. Its great and its a compromise? its neither here nor there?
Trinity University in San Antonio. One of our profs has been working on J for decades.
Not really. unwind-protect is just Lisp's version of Java's "finally" statement.
It isn't as satisfying as arguing about vi vs. emacs or K&R vs the One True bracing style.
Is there a programming languages where functions have inverses?

How about a computer architecture where every instruction has an inverse, and therefore all functions and even programs are invertible? (Quantum computing, for example.)

http://en.wikipedia.org/wiki/Reversible_computing
I was about to put this down. Although, the C# world requires an IDisposable interface and implies that you're operating on a resource.

Ruby has similar concept when you open a file and pass in a block to operate on the File object.

I'm pretty sure the author is just excited about the language and failed to recognize that this pattern is everywhere in different programming languages.
Also, what if Google had asked the bloggers to put rel="nofollow" on the links but they forgot to add it. Would you guys still penalize the page that received the link?
Regarding "All software downloads should be provided only over HTTPS", this is very expensive to provide, but is allowing users to compare a checksum an equally secure option?
Sorry, this is a Twitterism and I thought that it would translate quite well to Hacker News. Apparently not. Will look at docs to change title. Am fairly a new participant in the community (have been lurking for a few years) though and am not sure if that's possible.
Schema (SQL) and Data (JS) Migrations for node.js (for PostgreSQL and MySQL)
It would also be unsuitable for movies! How can you watch a movie with the sound leading the video by 400ms!?

Then again I see a surprising amount of people watching stuff with the aspect ratio set wrong. And a surprising amount of broadcasters broadcasting things in the wrong aspect ratio, so maybe people would just be oblivious...