skysight-inc/HackerNews huggingface dataset:
Although it is a nice joke, CofeeScript has several issues.

I could explain why omitting an ending delimiter is an issue, or how easy it is to add a new line or space, but the image does a decent job.

http://img856.imageshack.us/img856/306/javascriptinasimplewa...

Now guess which of the three Javascript examples is generated by.

foo -> bar 'foo', -> 'bar'

The point, is that Javascript is simple in demonstrating what are and aren't functions because it has an ending delimiter.

CofeeScript isn't pretty very clear.
It's the flag link next to the submission.
While I don't disagree about the point regarding the relationship between line count and bug count, I'm very wary of this move because they still haven't solved the issue on how to debug CoffeeScript with all your error messages being reported back to you in terms of the compiled Javascript.
If you don't actively unscrew it up, it will screw itself up.

Reddit is already in steep decline even though page-views are up. It's attracting a different crowd now. They're just one Digg-bar moment away from disaster.
Under the assumption that it uses something like BitTorrent as its underlying protocol, how does it take into account different versions of the same file, and which of the versions will win? While multiple clients are updating their version of the same file?

I can think of some ways for this to work, but I wonder about how it's officially done. Does anyone have insight?
Languages, Verbosity, and Java
I think if there is enough demand for their content they can try to go it alone with their own streaming service. I suppose it is an experiment that has yet to play out for many content providers.
was getting tired of digg in the past, esp when its boss sometimes was shown as the headline there for no reason...
nice to see reddit is making it.
The twisted.web server is nice because you can both develop on it and deploy it with minimal configuration. Using twisted.web.wsgi.WSGIResource, you can use it to serve normal WSGI sites, too. It's handy for running multiple sites on different ports.

It doesn't automatically reload on file changes, but PyQuitter[1] can provide that functionality, so it's not a huge issue.

1. https://github.com/ludios/Pyquitter
It's still in shambles and probably serves as an example of how not to host your site. Amazon is causing me all kinds of grief lately and their AWS customer support is the worst in the industry, useless to the point of comedy.
I think you're misunderstanding "minimum viable" part of MVP.

"minimum viable" != "shitty", it means the bare minimum that is required to gain the validated learning in the product's market context. In a mature market, a product will generally have to be more polished to reach viability..
When I was a freshman in college the degree they warned us against pursuing turned out to be the hottest job market four years later.

My major where they predicted four jobs for every grad turned out to be four grads for every job.

So by contrarian thinking architecture is probably the best degree you could pursue.
Instead of a blackout, why not have a period of "IPV6" only?
"Every Briton flushes 17.6 kilos (39lb) of toilet paper down the lavatory every year, almost two and half times the European average, according to tissue industry figures."

From:

http://www.telegraph.co.uk/news/worldnews/1541657/Britons-le...
A Million Cups of Coffee
Thick Martian dust makes NASA pick sunnier locale for Mars rover
You don't make the same argument pivot yourself, but this is something that crosses my mind every time I read about SPDY too. All this stuff has been done before. It's not a new problem, and none of the old solutions caught on. What makes SPDY special?
This famous Zen Shaw talk is good (its not only about ACLs and leads on to surviving dead end jobs):

http://vimeo.com/2723800
I like how they focus on the revenues, as if to try and distract from the nets.
In America, insurance companies call that an "experimental procedure" and they wouldn't cover it either.

Meanwhile for every case you can find for someone traveling to America, there can be an identical case found for someone traveling to Europe.

http://www.kulr8.com/news/local/Cerebral-Palsy-Fundraiser-10...
Is that too long or too short? I would like to understand what you mean by this.
Your Fiefdom Doesn’t Matter (Or Get your Head out of Your Regional Startup Ass)
Thanks, that is really interesting. Plus I heard that fuel volume or density is affected by temperature changes between night and day.
Abc is a node in a doubly linked list.

I think function foo is supposed to insert a new node (n) into the list before node p, but it's not done properly (while n points to p and p points to n, n does not point back to the item before p).
everybody who's been on usenet for a nontrivial amount of time has experienced exactly what you describe, several times. expecting reddit to be different is like hoping for world peace. you should instead assume that degradation of quality will naturally happen as a community forum becomes more popular and either introduce moderation or fork off a smaller forum... and both of those happen, as you noticed.

this comment may be misplaced, but i've finally entered rant mode after reading the 5th or so comment saying "reddit is popular hence degrades" and misses (or stops short of) the point that all communities degrade with increase of their popularity - every now and then somebody writes that hacker news is not what it used to be.
Thanks for answering my questions. While the lifetime risk of ALS is (relatively) low, I feel that its high mortality rate should increase the importance of funding research.
WWII treated France pretty well on the brute destruction scale. France didn't even lose most of its sovereignty after the invasion, with the Vichy regime resisting German demands when it wished to.

They didn't go through anything like what Japan, Germany, or Russia did, with the cities razed by fighting (Stalingrad), fire-bombing (Tokyo or Dresden), or atomic bombs (Hiroshima & Nagasaki). If a French violin had survived the siege of Stalingrad - now that would be impressive. But just being in France? That's about as impressive as a random Englishman surviving the Battle of Britain.
One screenshot would've been worth half of the description.
This is what I don't understand. Are these companies so short-sited that they cannot see the potential of their own user base as a massive lobbying arm? Do they secretly support SOPA?

If the main stream media was threatened with a similar type of legislation they would mount an non-stop campaign through their editorials and choice of headlining stories so that their audience was aware of what was happening and how bad the legislation was. This is the reason Rupert Murdoch has so much power.
I don't think that is the opposite. Both are true in fact.
If you really used vanilla JS you would have used the typed equality operator :P. === fo' life.
Iran clamps down on Internet use
Congrats to our local HN'er kn0thing and everybody else at Reddit. 2B is quite an achievement.

Regarding below questions about the business side of Reddit, see the previous conversation here: http://news.ycombinator.com/item?id=2966628
i guess so too, but not by a huge margin. reddit must be on the very top of visitors/sysadmins ranking.
Get More Out of Google
I have less disdain for pre-interview development filters and have seen some companies do it pretty well. I think your assumption about people who would find it fun could hold some merit. But I do believe the parent poster is right, those really good developers are rarely going to bother. They are usually to busy in the first place. They may see your company and think oh cool I like these guys and then hit the pre-interview filter and decide it to much investment for just a chance and that's the core of it, on both sides it's a numbers game, we can say well they did not really want it or we are only getting the ones that really want it, but you just may be getting the ones that are not working the odds out in their head. Or you could be getting the ones that are desperate and will invest the time for a chance. There are a lot of assumptions in these type of tests.
A lot of Asia does this. It makes for great comedy: http://www.youtube.com/watch?v=NwJI_jwhub0

(For those who never lived in India: water has less than 50% uptime, so the empty bucket + water outage is the result of stupidity rather than bad luck.)
Iteration (in art)
Who's Hiring Where? Breaking down January's Who's Hiring by location
BitTorrent Releases New “Share” Application
You are right in not buying into that.

Henry Ford:
If you think you can do a thing or think you can't do a thing, you're right.
Where does your Node.js program spend its time?
Do "errands less than a mile away" exist for most Americans? I've spend the last decade of so living in major cities, so the vast majority of my errands are much less than a mile away, but where I grew up a single mile wouldn't even get me out of residential zoned areas.
Someone will solve it and replace reddit in at least some profound ways.

Doubtful. These are deep-seated patterns that have been playing out in online communities for decades, and every "oh we'll just build a new thing that won't have that problem" attempt has... had the same problems.

For examples, and some interesting thoughts on the issue, start here:

http://www.shirky.com/writings/group_enemy.html
Having spent many of my childhood years in Europe (and being of European origin), I agree that US exceptionalism is a problematic phenomenon, but I also think that lately it has become a thought-collapsing meme amongst intellectuals.

One cannot deny that America is unique in its global position, and that said uniqueness is not just of the special-snowflake variety that every nation has. It has an extremely high concentration of wealth, geopolitical clout, and intellectual/creative output (which, of course, leads to unfortunate and probably largely unintended cultural imperialism).

In this particular instance, it's not an unreasonable claim that the US has a large advantage at the highest end of medicine (research of new procedures, pharmaceuticals, and so on). Obviously, this alone wouldn't justify calling it #1 (whatever that means in a multifaceted problem like healthcare, especially given that other nations feed off US-based research in their socialized systems without bearing the development risks). But I think the "Disregard speaker due to US Exceptionalism" response is thought-dulling, rather than thought-provoking.
صورة تلحس المخ- صورة غريبة
I'm glad I'm not the only one who thinks this. I really like the energetic fluorescence of some open source communities, but the punning names, over-extended metaphors and religious devotion to novelty uber alles are really starting to take their toll.
FYI, Quixote (http://quixote.ca) provides a bunch of options too:

python -m quixote.server.simple_server
python -m quixote.server.medusa_server
python -m quixote.server.twisted_server
python -m quixote.server.fastcgi_server
python -m quixote.server.scgi_server

simple_server uses BaseHTTPServer and is thus single-threaded and blocking but works fine for development. I like FastCGI or SCGI with a dedicated webserver as a frontend for production.
Yeah, I wasn't referring to the quality problem (I'm in full agreement with you on that). I think they are in a better position that Digg at the Digg-bar point (even with low qual participation, engagement still seems deeper than Digg at that time), but the quality is decidedly Eternal September (lower, really).

This is a movie plot. Seriously. Condé Nast is the government. They are largely incompetent and mostly concerned about political infighting and palace intrigues.

The reddit team is the hodge podge group of geeks that happened to be (insert constrained environment here):

* on a cruise ship with the worlds top nuclear scientists (and a bomb!)

* touring an underground viral research facility on a school outing during which there is a "containment breach!"

* orbiting earth in an experimental space plane they built in their barn when the entire GPS sat system FAILS!

The government (condé nast) can do nothing to assist them other than sit uncomfortably on the edge of their chairs, wrinkling their expensive suits, waiting to see if our intrepid developers succeed.

Unlike a Hollywood production, however, we don't know if this plot has a happy ending. I'm rooting for our plucky team, but the clock is ticking.

Tick.

Tock.

(I'll leave the rest of you to imagine the movie poster)
"...Eric Kessler stated to industry leaders that HBO shows would not ever be available to non-HBO subscribers on digital platforms"

This is idiotic on HBO's part.

Look, it's pretty simple: I want to watch "True Blood", which is currently in Season 5. Netflix doesn't even have S4 yet. I'm willing to pay good money, say $20 for a season, but am not so crazy as to pay $$ for crappy supreme-whatever package from Comcast. The reason is not that I hate Comcast (I do) but I'm not interested in other channels (sports etc.) in the package, i.e. I want HBO only.
Mike Bloomberg Pledges to Learn to Code on Codecademy this Year
I thought that too until I got an account recently. There are really some excellent subreddits hidden beneath all the memes and reposts. Places like TwoXChromosomes, Seddit, DepthHub, TheoryOfReddit, and TrueReddit really have a great deal of value and sharp minds in them. As soon as you venture off the beaten front page path of pics and funny, you get to places that approach Hacker News level of comment quality.

The challenge I see is keeping the good subreddits good. The mods spend a good deal of time beating the new redditors to each subreddit into shape.
Read this for more:
http://www.reddit.com/r/Psychonaut/comments/o1zjo/ban_memes_...
i was exactly in your shoes. i sold a company as a single founder and after i sold it, it felt good and left a big void in my life that i tried to fill with other new ideas but was never quite the same. i think part of this reason is that, when you have a successful business, you know every little aspect of it to the point that other businesses doesn't hit it to your heart. but once your next business takes off, it'll be all the same. it's just a matter of time.
Yes, they do :) My nearest shopping area (starbucks/grocery store/dry cleaner) is 7 miles away and the nearest "city" with a Target, fast food and a small mall is a 45 minute drive.
In actual implementation, though, it probably was/is used as a hard filter.

It always becomes a hard filter, there is a lot of ego in development and test are an area where ego's shine through. It's my major beef with quiz exercises in interviews, they always become the hardest filter, no matter how much we try to contain them.
"Ford will only sell cars to people that own horses" would have been a great idea.
This is what I was thinking. I almost wrote a rant about how it's unfortunate that HBO, a network that makes some pretty awesome shows, isn't getting with the times etc etc. Then, I thought I should probably just hold my tongue and watch what happens.

I suspect the scenario you describe is correct, they'll defend cable up until they launch their own service.
20 Photoshop Tutorials To Design A Website
I was going for foo as 'dlist_prepend()', not dlist_insert(), but figuring out that it's putting a node into a list is good enough for me. (Edit: to me, 'prepend' implies that there are no nodes before the head of the list you're prepending to)

That should be enough for you to figure the last 2 errors, in any case.
My answer to the question was that a covers follow the shape of the hole underneath; the hole underneath is round because they are generally cut with rotating tools that create a circular shape. Cutting square holes is more expensive.
I browse Reddit but don't have an account or post. I think a lot if it is trash though I love AskScience and occasionally find value in the AMA and TIL stuff. But your note on the rage comic spam made me want to post that it seems they've made some adjustments in the last year or so that prevented that 'spam' from killing the site in the same way that Digg seemed to lose relevance.

I wonder if the next challenge for them is the strong representation from r/atheism on their frontdoor? I say that as a very irreligious person who guesses that discovering their new selves is exciting for (I imagine, predominantly) American youth. But some pretty bland ra-ra makes it through and I can see that being off-putting for religious types and "this again?!" for those for whom a lack of belief is the default rather than something new and outrageous within their community.

Yes, I know people can create an account to customise their experience, but some fair percentage of their traffic is going to come from people not interested in taking their involvement to that level.
Sorry I wasn't clear, I meant serving more than one request at a time, and apparently this is even possible without using multiple instances, use multiple inheritance with a threading mixin. This is not going to be properly concurent due to GIL limitations but it should be good enough -- http://blog.doughellmann.com/2007/12/pymotw-basehttpserver.h...

However this setup can lead to socket lockup (see picked answer) -- http://stackoverflow.com/questions/5693741/whats-difference-...
Ask: Xcode tweaks for Phonegap/HTML5 Development?
I'm working on an HTML5 app using Phonegap and I'm wondering if there are ways to tweak Xcode to not completely suck at this type of development (tabs, color, coding, etc are just awful). Maybe there is a preferred 'theme' or preference pack I can add? Or perhaps an update that allows the IDE to add autocomplete to Xcode?

I've played with Coda a bit, seems like decent choice for this type of development; however I'm not too happy with having my editor external to the rest of the project... maybe there is a better way to configure this?

Any feedback/advice would be greatly appreciated. Thanks!
http://www.hnsearch.com/search#request/all&q=show+hn works for me.
There is a supreme irony in criticising AT&T for not being a platform while predicting that it will be killed by a company that uses it and similar wholesalers as platforms.

There is a difference between Twilio, a telephony retailer, and AT&T, a telephony retailer an distributor. Twilio and the like may hack you away from the retail arms of the telcos' retail arms, but it does nothing against the distribution businesses. The latter can survive without the former; the inverse does not hold true.
Did the New York Times/WaPo just enter in a contract to get HTML meta tags?
Function should return n rather than p.
I'm not a big fan of auto-restart. It's slow for the server to crawl over all files and check if re-load is needed. Having individual modules reload themselves without reloading the whole server is error prone (e.g. you could end up using an old class).

With Quixote I have a Tkinter GUI that shows me the debug and access logs and lets me restart the DB or app server with a single click. When I'm ready to test I just right-click on that window and the app server restarts.
MVPs in Competitive/Established markets need to be exploring new solutions to the problem area, ideally with a chance of having a 10x+ improvement over established solutions. They shouldn't be poor replications of an established player with traction.

The point of an MVP is to learn about a market/problem-area. If there are established players, it's easier and less expensive to learn from them. The goal is to learn as much about the market/problem-area as fast as possible. In new markets, that usually requires a MVP. In established markets, that might require an MVP testing a new solution. If the goal is to compete in an already competitive market that demands a polished solution, anything less is likely to fail.
Get top 40 entrepreneurial books (AppSumo)
Its definitely generated. Just compared some files from the output from http://js2coffee.org

Its not even funny anymore.
Is there a way to create a customised frontdoor without having an account? I remember reading something about chaining subreddits in a URL, but never gave it a shot.

I'm also in the "embarrassed mentioning Reddit" camp, but I do like AskScience and anything like that.
A couple of suggestions: functions like rem look better infix:

x `rem` 3

this means the same thing but is more readable (I think).

Instead of folding, just map putStrLn over the list:

mapM_ (putStrLn . show') [1..100]

mapM_ is just a version of map for monads that ignores its result (it returns m () instead of m a). You can also use forM_ which is mapM_ with its arguments reversed.

Finally, I think this site lets you format code by putting four spaces in front of each line. I hope :)

Edit: One other thing. You don't need all those parentheses in the first line.

rem x 3 == 0 && rem x 5 == 0 = "FizzBuzz"
x `rem` 3 == 0 && x `rem` 5 == 0 = "FizzBuzz"

Both versions should work and I think they are easier to read. I could see (rem x 3 == 0) also being clear, but the outermost parentheses do not help at all.
Fantastic advice! I'll be implementing some of this for my app shortly!
There's a good deal of energy and emissions involved in building a $400 fixture from scratch, and also an ongoing cost in pumping the water. Proper carbon accounting might actually reveal bidet use is worse than toilet paper (also, tree farms sequester carbon dioxide as a side benefit).
Read the comments, and I've got to say: I'm not one of you guys. I don't write code, I build products (otherwise known as software), that human beings use.

I looked up Pascal's triangle in Wikipedia, so now I know what it is, and I could write the code tonight to handle the shit out of it, but I'd probably mess it up on a white board when commanded to perform like a monkey in front of guys in T-shirts.

I own and run a software company that I started myself. I built the first 5 successful products (not code, products - there's a difference [kind of a big one too]) myself, and I don't give a crap about Pascal's triangle. I'd probably fail every coding test on the planet, but when it comes to delivering finished, polished, working products, that 1000s of human beings will actually use without picking up a phone and calling customer support, I've got that covered.

Stay classy with your 'code' guys.
Auto Hacking Grows as a Threat
My current home is 2 miles from the nearest retail district, but I previously lived just under a mile from 90% of the places I shopped. Because of the road layouts, it was easier to drive for some things than walk.
That was the original purpose of the handkerchief. It's only since we started using dead tree for blowing our noses that hankys became primarily decorative.
To play devil's advocate: Does JavaScript have "several issues", in that it allows you to write your first example like this?

https://gist.github.com/1567793
WyattERP - A Non-Sissy ERP Application Development Platform in Tcl
This is the sort of thing that encourages piracy, too. It's not that I'm unwilling to pay for HBO programming, it's that I'm unwilling to pay for the things I do not want, or need, just to be able to pay HBO for their programming.

I just went to Amazon, though, to check the price of a Bored to Death DVD to add to my point (a show I enjoy, but I don't really want to own on DVD and would pay to stream) and it came up as available for streaming through Amazon Instant Video. Odd since that seems like a non-hbo subscriber being able to watch on a digital platform. I assume having Amazon Prime grants access to the show, too.
The digital realm does introduce remoteness[1] too though -and there isn't the possibility of immediate repercussions (as one can find in the physical world).

Additionally, the number of people who trespass digital properties are very few, relatively speaking and could be compared to scofflaws, drunk drivers, etc. but, and this is the big but, their impact is asymmetrical. They can have an effect on large numbers of people.

Despite that, I do agree that culture can be changed in a generation.

[1] It's impersonal and removed.