skysight-inc/HackerNews huggingface dataset:
You should always endeavour to make your code easy to read. Since most people aren't aware semi colons are optional, omitting them can cause unexpected behaviour in certain cases, and having them there does no harm, it's surely best to stick to the standards (i.e. using semi colons). The only time to debate whether to omit them is when there's a good reason to leave them out. Also, I suspect (untested theory) that it puts more strain on the parser, though makes negligible difference to the download speed, so will be a hit on performance.
At my work, our web app is written in .NET with SQL server and we are slowly migrating away from it. Why?

1. Hiring (good) .NET programmers is hard. All of us except the founder were originally java programmers.

2. Windows is expensive. Licensing sql server and windows is much more expensive than nix servers and open source database options.

3. While people here are saying that .NET/IIS scales well, my personal experience is that an IIS server in general cannot handle nearly as much traffic as nix servers. As a result, you need more web servers than you might otherwise, leading back to number 2.

Personally, I enjoy learning new languages. We've been using coffeescript/nodejs extensively for the last few months and we've all been enjoying it quite a bit. We are tentatively planning on rewriting our web code in it in the future. So if I were in your situation, I'd consider the overall impact of ramp up now to learn a new language vs doing a possible rewrite in the future or sucking up the licensing/server costs of .NET.
As far as I understand, the field in which AAA and AA and B exist is defined by the stable dollar, among other things.
Once this axiom is invalidated, all ratings lost meaning, and therefore they can't account for this possibility in their rating.
That, or add a separate class. Which wouln't be useful.
The latest comment as of this writing indicates that removing iStat fixes the problem.

<quote>

Great news guys, in my case the problem has been solved completely, just uninstall iStat menus, it seems that this software installed modules in the kernel of OS X, these modules are giving problems after sleep mode.

UNINSTALL ALL I HAVE THIS SOFTWARE AND MODULES AND NO LONGER HAVE MORE FREEZING.

TRY AND SEE.

</quote>
It isn't our current debts that have people concerned. It's the combination of current debts and unsustainable future obligations, which are so large that they in fact can't be paid down by just raising taxes. Barring an adjustment in what they are, they grow to the point that they eventually consume 100% of the economy in something like 40 years in conjunction with interest payments, but of course they become completely unsustainable long before then.

There's no solution that doesn't involve cuts, and lots of them. That's not a political statement, at least to me it isn't... it's a math statement. We have obligations in excess of what we could possibly pay down even if we hypothesize a 100% tax that somehow magically draws from a perfectly healthy economy while its happening. The only questions are who gets them, how we do them, and when we do them. Failure to do them at all means we choose the default choice of economic collapse, at which point obligations will still not be paid. There's no solution where we simply honor all of our current "obligations".

(And I would point out that I can't emphasize this point enough. If we do nothing, the default answer is still that we default on everything when the economy collapses. If you value Medicare, Social Security, and everything else, truly value it and not just valuing it the way politicians do as a vote-buying mechanism, you ought to be leading the charge to turn them into something managable, because the worst case scenario doesn't come from Evil Repulicans, it comes from economic collapse. The "evil Republicans" are the only ones taking actions that may mean that Social Security still exists for anyone in 2050.)

Well, there is, technically, which is that some amazing breakthrough in technology suddenly makes us all a lot wealthier very quickly, which is such a long shot it's hardly worth talking about. (And still not worth planning for; should we become radically wealthier we can work out ways to use it when we have it.)
Yeah, it's a custom frontend on a vanilla OpenVPN binary, so no GPL issues. That said, I'm actually considering what would happen if I went ahead and open-sourced the client anyway. Probably the only truly interesting code there is the Obj-C code to talk to OpenVPN via its management port. The rest would seem specific to the Cloak service. But perhaps there are other useful bits too...
What are .NET's #starlibs?
I can watch these for just the music. The amount of work into these few kilobytes is just amazing.
What were the illegitimate reasons? I suppose the one about someone else accidentally taking my homework? I don't think I could have helped that and any reasonable teacher might have given me half credit.

I got a bad grade for lots of reasons. I hated the class. This was a teacher that tried telling me light travels at 300 meters a second. She also arbitrarily handed out grades, marking one of my answers wrong (0m/s^2) when another student got hers right (0m^2/s) when the correct unit was actually meters per second squared.

My original point was that if the Treasury was correct and S&P gave them a bad grade based on mistakes, then yes, the USA should be complaining since the bad grade does have a negative impact.
> All communication over HTTP / HTTPS

Why HTTP? And, for example, not BEEP? HTTP can't handle multiple concurrent logical streams, thus can provide you with one resource per connection at a time. Every separate HTTP (and HTTPS) connection requires a TCP (and TLS) handshake, re-authentication and so on.

Also, long-polling is a hack, born because of HTTP limitations. Is there any reason to do long-polling when you can just send a signal over bidirectional connection?

This could be a unpopular opinion (lots of web developers out there), but I believe, while it is perfectly possible to use HTTP, it is just plain ugly for such job.

> Stateless

Is wrong for protocols where you require a state (authentication, folder/label subscription and so on). How many stateless pub-sub protocols you know about? Be it lightweight Redis Pub/Sub or XML-bloated AMQP and XMPP - they're all stateful for a reason.

HTTP cookies do represent state. You're just taking a shortcut by re-authentication with a session token. The state you keep could be only auth data (so you'll end up re-sending, for example, what labels you're interested in every time), but it's still a state.
Best Free File Sharing Website to Share Large Files of Sizes up to 5 GB
"Note that the government is largely responsible for our education catastrophe. The government should be removed from education, like all other areas of human life. Allow people to have choices in a free market, and the revolutionary innovations would eventually rise to the surface."

Yet, the "superior" education systems outside the US are also public run and managed (top 5 OECD being S. Korea, Finland, Canada, N. Zealand, and Japan). So, it isn't as if the free market has spoken on behalf of the world against the US public school system. It's a breakdown of priorities and politics in the US, not the system itself.

When there are powers that vilify the teacher simply because s/he belongs to a union, that is not a fundamental breakdown of the public school system.

When there are systems that act simply as babysitters and prisons to the children of unwed urban teenage mothers, that is not a breakdown of the public system.

When there are politicians who decry those with PhDs and ivy educations as "elitists", media figures who scoff at scientific research by poking their head out a window and declaring "it's cold outside, there's no global warming", and a public who determines presidents based on beer-drinking compatibility rather than intellectual capacity or academic achievement, that is not a fundamental flaw of public education.
That's just a cached thought: "Windows CLI sucks, don't even bother". In hindsight that sounds a bit silly. And I know Bash better (along with sed, grep, find…). Anyway, thank you, I'll try this command.

Nevertheless, I think there is a reason for my erroneous cached thought: the overwhelming emphasis on the GUI.
Amazon EC2 EU-West is down
Nothing yet on the AWS service status but Twitter is going a bit crazy.

UPDATE 19.15 BST: now being reported as network issues by Amazon

UPDATE 19.24 BST: Can now see my ec2 instances again from the management console but can't ssh into most of them.

UPDATE 19.27 BST: From Amazon: EC2 APIs in the EU-WEST-1 region are currently impaired. We are working to restore full service. We are also investigating instance connectivity that we believe to be limited to a single Availability Zone.

UPDATE 19.34 BST: RDS and Route 53 also affected.

UPDATE 20.10 BST: From Amazon: The issues with the affected Availability Zone are the result of a power failure in that zone. We are currently recovering power and anticipate that instances in the effected available zone will start to recover within the next 30-60 minutes.

Well, that sucks.
I developed for Android some lightweight apps last summer as a hobby, got HTC Tattoo & I was dissapointed by the OS (1.6)..
I switched to iOS dev & I'm planning to buy 3GS or iPod Touch for testing.
Similar thread posted a few days ago http://news.ycombinator.com/item?id=2850156
Distinct and clickable "Top 5 Ports" has now been added :)
IM clients, anything that sends UDP, DNS requests are all possibly and probably leaking out.
That's a very good question. In my view, it's simply incompetent, populist, law making. How can it be that a country can even have such a rule on the statute books without getting downgraded on the spot?
The winning one is really impressive from an artistic point of view imho.
Verifying signatures under public keys is not an easier problem than encrypting data; it's actually a harder one: more things can go wrong, not less.
http://whatportis.com/index.php?port=%27

http://php.net/manual/en/security.database.sql-injection.php
I can SSH to some of my newer instances but not the older ones.
Vegas Strip Season 1 Episode 6
Vegas Strip Season 1 Episode 6
Um, you do realize the US government makes (and changes) those laws you seem to value so highly.
These demos are always so impressive.

I am always a bit disappointed though that such creativity is always restricted to demo comps while we are stuck with relatively mundane, static visuals in games.
note that I'm not advocating using nodejs/coffeescript, it's just what we are going with. Personally, I prefer strongly typed languages so I'd probably look at the scalability/reliability of mono very very closely. I also like GWT a lot.
That's not very accurate. The Daily Show has a history of calling people out on misrepresentation. Jon Stewart went on Hardball (or whatever it was called) and chewed the hosts out for destroying journalism and dialog in America.

If you want to liken it to The Daily Show, then all of Top Gear is much more like Stephen Colbert's and Steve Carrel's old bits.
can you tl;dr the article?

i gave up on making sense of the translation when it mentions "'K (K) -9' self-propelled artillery".
I suspect this won't affect many people. Let's not forget that XP is nearly 10 years old, and nobody liked Vista anyway. Windows 7 has been out for 3 years already and 8 is on it's way.

I'm not surprised that Apple wouldn't support a competitors old products beyond 10 years. Microsoft is ending support for some of these products as well http://windows.microsoft.com/en-CA/windows/help/end-support
VLC on my MBP (SL & Lion) is completely unable to play 720p MKV files. I don't understand why. I've scoured the Internet and Apple support forums. Seeking within VLC will basically halt the computer. Normal playback will slow the computer down to where it stops responding to user interaction after 20-30 minutes.

Also, all Flash audio has stopped in Lion now, as of a day or two ago. Just don't upgrade to Lion yet, in my opinion.
An AirBnB Psycho
This is why I think automation of even more complex jobs is a good thing. Usually (always?) automation of something means a lower barrier to entry. But if "automation" becomes so intelligent that it ends up replacing nearly all jobs, for who exactly does it lower the barrier to entry, if not for employees?

I think it lowers the barrier to entry for entrepreneurs. The trend is clear. Because of the Internet, there are more and more entrepreneurs, and fewer "employees". The impact is not that great yet, but the robot workforce revolution will accelerate this trend.

Imagine a future where almost everyone is an "entrepreneur". That future will be much like the past (think 100-200 years ago), where most people were actually entrepreneurs. Except this time an entrepreneur will be able to offer a service or product on a much larger scale, not just for his family.

But is that sustainable? Can everyone offer services to everyone else? I say yes. We already have a ton of services on the Internet that we don't necessarily think we all need, but many of us are using them to keep those startups in business.

If the last century was mostly about everyone being an employee and working in a large factory or for a large corporation, this century will be about everyone being an entrepreneur. The more "automation" we'll have, the easier it will be for everyone to start a business, and implement many of their own ideas, or sell their own skills as a freelancer, which I think is still a type of entrepreneur.
"by deliberately running out of charge"

Which they did in order to show the obvious problem in a safe and entertaining way. It doesn't matter if the battery was going to die in 10 more miles, or 40 more miles on a highway. It would be just as inconvenient and less safe.

"ignoring all of the warnings, and by concealing from viewers that they were ignoring all of the warnings"

What warnings did they conceal? They were talking to each other over radios about how their cars said they were almost out of juice.
> Since everyone...
Me too! First i really want to see the chart from 1900-1949. The chart as displayed seems cherry picked to support OA's theory.

But, the answer is in the title Post War. WWII and few years after was time of supreme tech advancement and very austere public sector investment. I can imagine it taking 20 years to capitalize on that.
Why is all of this text images? :/ Also, ripe for SQL Inject

Web fonts > Cufon
A bunch of whining ....

Seems like the US always want to be treated specially. Tell that to Greece.
One of the best versions of Mona Lisa is the one engraved by Sanchez-Toda (Spanish bank note and postal stamp designer):
http://rsiqueira.postbit.com/mona-lisa
Same problem here. Has happened a few times when starting to play video but has also happened a few other times. Seems like something with the video card, hopefully Apple can fix it with a driver update.

I don't use iStat.
and ended the bbs era.
How to recover memory on Mac OS X Lion for free
One, one fill up basket
Yes, you could just add a semicolon in front of lines that start with punctuation (tiny percentage of all lines) or you could just stick them at the end of every single line...
Ask HN: Would you use this?
I'm looking for feedback on my weekend project - http://songsp.in/
It's a daily newsletter to help people discover new independent music.
It's targeted towards people who still love music but are maybe a bit older or too busy to go searching the web for new bands.
I would really like to know what the HN community thinks of this and if it is something they would subscribe to.
A huge percentage of normal-distance commuters are in homes with driveways. As for the rest, how hard is it to provide charging just like parking meters?

http://www.mnn.com/green-tech/transportation/blogs/californi...
The examples being put forth in defense of requiring semicolons are really weak.

// 1.
MyClass.prototype.myMethod = function() {
return 42;
} // No semicolon here.

(function() {
// Some initialization code wrapped in a function to create a scope for locals.
})();

There are at least two potential solutions here: 1) put a semicolon after every function declaration, and 2) put a semicolon before every self-executing function. Both work fine. Either way, you have to remember to put a semicolon somewhere, right? No difference in cognitive load. And if you say that #1 is easier to remember because it's more C-like, you've just blown your cover. You don't actually write C at your day job, do you? Because otherwise you'd realize that C does not require semicolons after functions.

[normalVersion, ffVersion][isIE]();

Same thing. Just put a semicolon before lines that start with arrays like this. Also this code is crap.

-1 == resultOfOperation() || die();

OK hold up, who really writes this stuff? Is this what code looks like at Google? Forget semicolons for a second and let's work on basic code readability. Explain the line aloud. "If resultOfOperation returns negative one, then die." Now write it.

if (resultOfOperation() == -1) die();

Sweet, now people can read our code without juggling operator precedence rules in their head. Minor side effect: the semicolon issue goes away.

return
{ foo: bar }

Really? Why oh why would you write such a thing and expect it to return the object?
I think we are moving to an economy that is made up of the very small aggregated to the large in a network and quite local - a new line on the old of 200 years ago.

Imagine several Fab labs in your community making things on demand - a food system where many small units say 300 hen flocks + a few cows, pigs, sheep on pasture also aggregated. Imagine every house and building collecting and distributing energy.

The automation enables us to do this as right now we can make movies etc at a fraction of the costs and so you and I can do things that before woud have taken a lot of capital.

Using the network effect a good local system can have a large infrastructure based on the aggregation at a cost we can all cope with

Do I make sense?
What do you mean? I thought if you eliminate any of the things I've mentioned previously all that is left is just checksum algorithm and some math. Note that the public key would come from the secure TLS channel, so there's no issue of obtaining and verifying one.
Cheers, missed out my SQL cleaner in a few places, should be a lot better now :) will give it another check soon.
Actually, that translation was accurate. :)

I found an English version of this article at http://english.hani.co.kr/arti/english_edition/e_business/48...

Basically, they put up this ad in a subway for a couple hours at night, filmed it, and then took it down.
Why canvas for rendering text?
Indeed, but for a technology to sell well, it doesn't need to work for everybody at once. There's a large number of people for whom EVs can work, but by the time that market is saturated, chances are that prices will have come down, battery capacity will have gone up, and fast charging stations will be more common.

Early cell phones didn't work for everybody either.
A large section of Apple bloggers are taking this whole Google vs. Apple thing as if monopoly of the iPhone was a divine, assured panacea that was unfairly disrupted by Google's misstep that was Android. It was as if something akin to their 'right' was denied and they will go to any lengths to restore it.

It is mind boggling how the vestiges of religious zealotry make a big part of technology evangelism! You would think that the technically inclined will take at least a tad bit logical approach to it but no - it's equally worse or more than religious zealotry!
Have fixed a lot of the SQL flaws thanks.

Not sure what you mean by the images? you want more? and less text?
You are delusional. Everyone here but you is discussing business plan viability and questionable accounting. Both of which are exactly what the article is about.
What makes you think I do not realize that? It's exactly why I took (small) pains to say "current law" and not just "law".

Under the rule of law, the government has to honor its own laws even though they can change them. They cannot make a law that incurs costs, take on debt, and then stop paying down their debt just because they could potentially change the law that caused those bills to run up in the first place.
“Ironically, the whole [Blu-Ray/HD-DVD] debate may well be pointless. There's little evidence that consumers are eager to upgrade their existing DVD collections, and by the time the latest format war is settled, most of us will simply download movies in our living rooms instead of hoarding them on little plastic discs.”

The above was a pretty accurate call, minus the surrender of the HD-DVD camp — and I love how Netflix, far from becoming irrelevant, became one of the top players in the streaming movie camp!
I agree with means testing, but think it would have to be something that slowly phased in over a long period, and proportionally to smooth discontinuities so that people could shift their behavior to match expectations.
Yes, you could put them at the end of every statement. Because consistency is a good thing.
There are two possibilities:

1. Prefix lines that start with punctuation, specifically [(-+/ with a ;. Then omit them everywhere else. Lines that start with punctuation are a tiny subset of all lines generally.

2. Postfix every line with a ;, "just in case"

I can't see how nr. 1 is harder. And in case 2 you don't actually put ; at the end of every line, you don't put them after {} blocks for example, so it's not like it's somehow easier to remember.

"Because we're used to doing it that way" is a reason I guess, but not a great one in my opinion.
Google's Vision for TV Proves a Turnoff
Any notion of HATEOAS in the GitHub API is purely experimentation. With the exception of the pagination links, the rest of them could change format or be removed at any time (until something is properly documented at http://developer.github.com/). I don't think the Link header is descriptive enough, so most of them will probably go away.
But using semicolons doesn't eliminate those edge cases. Those are just places where auto-semicolon-insert fails to standup to what humans perceive to be the "right" behavior. Semicolons or no, if you put a newline character between return and the retval, you will get the "wrong" behavior.
The design is 'temporary' and off themeforest just to get the hack/project live and on the web - I don't like most of TF's designs however this did seem more minimal than most.

Preferably I would like something with less javascript and a lot more clean, just need to find a designer :)
Low-level x86 code compression for 64k intros
Greatest demo ever, IMO, was Future Crew's Second Reality. That utterly blew my mind in 1993. http://www.youtube.com/watch?v=8G_aUxbbqWU
Not many people could get away with owning a plug-in electric as their only car. Even if it were half as much as a comparable gas car (rather than twice as much).

Why not? If an electric car was half the price of a petrol car, then there's no way I would not buy one, and then just rent a car those times i need to drive far.
My apologies if this is just rampant ignorance talking (including ignorance of American future obligations), but it appears to me that "The US has future obligations so large that even a magical 100% tax in a magically healthy economy cannot pay for them" is, as they say, an extraordinary claim requiring extraordinary evidence. Or at least some evidence.

And even were that proven (or at least were that to be slightly persuasive), there's still substantial arguing yet to be done, to argue that a refusal to raise taxes at all is an action in _favour_ of coping with debt (indeed, allegedly the only such action).