skysight-inc/HackerNews huggingface dataset:
Suicide is an interesting phenomenon with multiple causes, some short-sighted (rejection from lover), some circumstantial (not being able to pay debt) and some misguided (not getting admission in a good college). But what sounds to me the most _genuine_ reason for suicide is someone who has contemplated meaning of life for long and hasn't been able to find any inherent reason why he should exist. That person may have friends, financially secure and may love having fun. But internally he may slowly realize the fact that his existence in this world is pointless. How do you call such suicide attempt as stupid? The person has clearly thought through it and decided not to exist.

This doesn't mean I personally endorse suicide. I am a big believer in Absurdism http://en.wikipedia.org/wiki/Absurdism and think the whole point of life is to live in face of absurdity. The realization that you have to live (and it's OK even if you die because existence is pointless after all) gives you incredible power. You are no longer afraid of doing things like quitting your job, talking to girls in a bar, going sky diving and trying drugs. After all, no matter what happens, you have nothing to loose. We all are going to die one day, so why not die _after_ doing whatever your heart desires.
The number of available TCP ports is typically, but incorrectly, stated as 2^16 ports, but in practice, you can't use all of them.

That's mainly why I wrote “at most” instead of trying to compute the exact available number, yes.

You don't even theoretically need application-layer gateways to multiply the effective number of ports by a large factor for common loads, of course, as I mentioned; I just erroneously thought such technique was not in common use, per my reply to eggnet.
These kind of things are extremely rare. I guess, before they become a norm, every case deserves some attention.
Thanks this link works on iOS
Elevation Dock: The best dock for iPhone
Enginer,us/D
Yes I realize it. There is a no joke policy at HN?
Native apps have their place and so do web apps. One major benefit of native apps on iOS is consistent user experience. This is because a lot of apps use standard UI elements and navigation. I tend to feel more at home in native iOS apps than a mobile version.

I still don't understand how discovery is any worse for native apps. On the web most people use search engines to find an app? App stores have search too. Plus, search engines usually find apps on app stores. If anything this makes discovery better for the native app.
Did anyone else notice how good the copy is on the purchase page? Makes someone like me (who's been trying to get this right on my own projects) weep.
HTTP Status Cats - (Lol)cat images for different HTTP status codes
Catch 44 movie 2011
Catch 44 movie 2011
CANNES Neo New Trend gurgles out of the bayou in this elliptical machine ditty offering Bruce Willis.
It's good to know; but the only thing I found (note: it was a quick google session) that comes close to this for Android is when using PhoneGap to build a 'native app'.

Thanks for the info!
Facebook Vs. FTC
Definitely wouldn't use it. Even for server-side Java, there are better templating engine. I am not a web developer, so I am not fully qualified to speak, but in cases where I've needed templating, I've found Apache Velocity and Freemarket to be good options for Java (but most of the time, I am templating, e.g., code to be auto generated or configuration files, rather than web pages).
Just don't use it. I won't.
You are being downvoted because your accusation is entirely irrelevant to this discussion. Also, it is entirely unclear what your evidence is.
The amazing iOS 5 API nobody talks about
I bought In Rainbows and this, as well as Harvey Danger's album (one of the first experiments from an established band) and Saul Williams's 2007 "Niggy Tardust." This is not to mention lesser known pieces that I've bought from independent artists online.

What I will say is that I wouldn't have bought any of these had they not been promoted online or DRM-free -- that isn't because I wouldn't have heard about them, or because I needed to support a particular model, but because in each case the artist both presented a genuine interaction with the fan and because the work was good. To the extent that the artists showed their humanity, provided an appealing product, and supported values that aligned with my own -- that was what drew me in.

It goes back to being a human rather than a faceless corporation, and it's a great tool of marketing niche products.
Agreed, this seems like a poor attempt to ridicule a valuable effort by Dubner and Levitt. The authors come across as petty. The write hundres of words pointing out omissions by way of completeness or completely making up controversy (best way to have a child play in the world cup is an obvious exaggeration). Not something that is difficult when examining 7 years worth of work.
Try WebRTC now using GoCast's browser plugin
Installing Lighttpd With PHP5 And MySQL Support On CentOS 6.0
Bean Bag Chair
Bean Bags – Bean Bag Chairs, Kids Bean Bag, Outdoor and Indoor Bean Bags on affordable prices. Altbeanbags.com is a premier retailer of Bean Bags and Bean Bag Chairs.
Thanks for posting this, support has been overwhelming.
A bit of history: this syntax originally appeared in MacRuby and is used for the named parameters needed to call ObjectiveC methods:

person.setFirstName(first, lastName: last)

So, introducing it into Ruby 1.9 gave MacRuby the ability of hooking into valid ruby syntax to do its special thing.

As a wild speculation, it may also be used for named parameters, should they ever be introduced in Ruby.

Personally, i like it for exactly that case. I do not like it as a generic hash syntax for another reason: its easy to align the =>, but its hard to align the:.
Best jordan shoes
You have to already know how to study and research to get decently educated from the internet.
Really. In China, Symbian/J2ME developers usually gains much more than iOS/Android developers. And in the year 2011, Nokia's marker size crashes in China,so does Symbian/J2ME developers' income
Having spent quality time in the hospital for a suicide attempt, I really do embrace the idea that "suicide is a permanent solution to a temporary problem" except when it is not. Prolonged and painful cancer, Alzheimers, etc all make perfect sense to me as a suicide solution because there is no "future" that improves the situation.

Depression is defeatable on the other hand and sometimes you just have to grind through and get to the other side. I tried the suicide route due to it and I won't ever opt for it on a temporary situation again.
Novomatic Games
Players deciding to take their game play to the next level should opt for an Online Casino. Online Casinos are a great way to take advantage of the enormously competitive offerings available to them.
"To be sure, we pulled a sample of in-app purchase data from a set of top apps with versions on both iOS and Android, comprising of several million daily active users (DAUs)."

Did they only compare the in-app purchase data?
HAHAHAHA
An app so faithful to analog, it only allows 24 shared photos an album. Fail.
We are in the age where instant gratification is everything. People want everything now. While you may be able to provide that in the beginning it is nearly impossible to scale. And as sad as it may sound, I think most people just have "I want an answer now" mentality versus "I will wait a couple days to find out my compatibility"
Adidas F50 Adizero TRX FG Leather Black Green Soccer Cleats on Sale
That's a very intersting quote article you quote there. Just one thing : the article seems to claim that not caring to solve one's problems stems from the impossibility to solve them all in a forseeable future. Hence the problems create a "why bother ?" attitude, which in turn creates more problems. This pretty much nails the issue to me. But then the author goes on "The core of the problem has not been self-discipline or a lack of opportunity, my argument is that the cause of poverty has been poverty."

This is where I'm lost - isnt a "why bother?" attitute a textbook definition of lack of self-discipline?

I do agree with everything else in the article, especially with the idea of removing problems and roadblocks instead of simply throwing money at the issue.

So In my opinion there is a self discipline issue. Trouble is, the more you assist people in solving their problems, the more incline they will be to let their problems rot until you come and solve them again. The ultimate goal theere is to find a way to reliably restart the problem-solving circuit, once the people have been pulled back up to the surface.

AFAIK, no one has found a reliable way yet and unfortunately there is not much of a proposal in the article either.
Yes, nowadays you can easily record video and audio and edit both very comfortably on your home computer and if you know a bit what you are doing, you will get pretty good results.

Yes, nowadays there are a lot of ways of easily distributing music, especially online and yes, as the artist you will be keeping more per sold unit.

Yes, "surprisingly" your fans will want to pay for your albums - is it really so surprising? They also buy your merch and pay good money for seeing you perform live. So the whole "people aren't paying for music anymore" is nothing but propaganda.

Now here is the thing: this has been done a couple of times before, e.g. by Radiohead and then by Trent Reznor and NIN and probably a few others.

The point is: Reznor, NIN, Radiohead and Louis CK can do that kind of thing because they are ridiculously famous and successful. But for any other bands or musicians, I doubt they would have remotely that much success with a stunt like that. A lot of bands publish music online but come on, that is more a way of presenting themselves than it is a super easy and fast way to make half a million for them.
At no point ever this:

getUser = (id) ->
url = "users/#{id}"
dfd = $.ajax
url: url
format: 'json'
method: 'get'
url: url
promise: dfd.promise()

was unreadable to me. $.ajax+'\n'+indent instantly triggers nesting, hence call, in my head. The way I instinctively parse this code makes the added parentheses just distractive noise to me. Actually I would have written it this way, which makes things tick even more:

getUser = (id) ->
url = "users/#{id}"
dfd = $.ajax
url: url
format: 'json'
method: 'get'

url: url
promise: dfd.promise()

A single newline makes the whole thing absolutely obvious to me, including the possibly ambiguous meaning around the implicit return.

> It's not a case against using Coffeescript - it's a case against writing terrible code.

Actually it looked like a case of change refusal and confirmation bias. The author seems to be well-versed in JavaScript, trying hard - consciously or not - to write JavaScript in CoffeeScript, which in turn produces terrible code. Every itch gets scratched, producing terrible irritation.

> you can’t compress [whitespace]

gzip. rake assets:precompile generates .gz for you so it doesn't even incur a performance hit on your servers.

> The increase in debugging complexity is a fair point, and it does add an extra step in between finding a problem and fixing it. However, in practice, I'm not sure I've ever had this be a major problem

Me neither. In fact the mapping is most of the times fairly obvious. Besides, editor enhancements[0], though not essential, helps a bit to not have to pull stuff in the browser every single time. Anyway SMAP support (or something close) is on the way[1] but in the meantime it doesn't bother me the least with CoffeeScript, thanks to it being so close to JavaScript.

[0] http://esa-matti.suuronen.org/blog/2011/11/28/how-to-write-c...

[1] http://www.infoq.com/news/2011/08/debug-languages-on-javascr...
Reading the same code I also cringed, but for a different reason: the validity of `paths` is tied to the validity of `err`; you should never look at at `paths` without first checking `err`. We can solve this much better using sum types (also known as discriminate unions):

// Pseudo Go:
maybe_paths := filepath.Glob(dir + "/*.png")
case maybe_paths of {
Some paths: {
// Do things with paths
}
None: {
// Handle error case
}
}

This makes it impossible to use `paths` if `Glob` returns an error, as `paths` won't be in scope!

Furthermore, not having sum types forces us to include a distinguish value `null` for reference (pointer) types, as a way to communicate "no value". This is bad as now we cannot distinguish references that should never be `null` from those than can be `null`.
This is because the modern music industry honestly believes that it is going to go the way of a dodo.

When you think that your sources of revenue are dying, it makes sense to try and extract as much as you can from them on the short term, despite the damage it does to them long term.

Of course, this makes the prediction self-reinforcing.
I think that kind of thing is often also done with a twist: the artist whose content is put online for free (or very cheap) does not get a dime. After all, no money is made from selling his stuff. Meanwhile the company profits nicely in the way you describe, selling other stuff.
Not saying it worked that way for you, just that it is an old technique...
Google Buys a Virtual Assistant, But It's a Far Cry From Siri
Watch Rugby Online
Watch Live Rugby matches online including the Rugby World Cup 2011 in New Zealand, Watch live rugby streaming tv feeds online.
Watch Glasgow vs Montpellier Online
The Warriors, who beat Bath at home in Round One however and then lost to Leinster in Dublin
i don't care why this is on techcrunch. but hn? realy?
> for showing that you don't need a label,

you mean: for showing that Louis CK doesn't need a label.
Avoiding the "Brand partnership" trap
Tangent: how does developing for webOS compare to developing for the mobile web?
It's a great "experiment" but let's be honest - this only worked because it's Louis C.K.

If it was an unknown or less popular comedian - they would have had a fraction of the sales and lost money.
I wrote this for TextMate. Not nearly as good as built-in support, but I program 10 hours a day with it and it's saved me millions of keystrokes. https://github.com/philc/textmatevim
How does "education" equate to "grade system"? Are you mistaking credentials for education?
Looks amazing.
http://engineering.linkedin.com/nodejs/blazing-fast-nodejs-1...
Nothing had an impact in the course of 2011 like Android... now a cheap 100$ phones (often provided to customers for free by phone companies) can do 99% of what an iPhone 4s can do, and this is changing the world.
Opera mini browser for android
Also keep in mind it may not have "worked for him". He made $200k less than he would have using the traditional route. Who knows how long it will take to make that additional $200k from this offering (if he ever will) and I'm skeptical about counting "the long tail" because he would have probably had residuals on a traditional DVD as well.
For another perspective that I thought was pretty insightful:

http://viewonbuddhism.org/depression.html

Particularly insightful, I thought, was this pasted forum post:
"Having myself experienced extreme, regularly to the point of suicidal, depression, I think I can understand your point of view at least to a certain extent. But on the notion of self-centredness, I'm afraid I have to agree. From my own experience, coming through a massive clinical depression and coming through to the other end, cured, I believe self-centredness to be the very cause of depression. And not just depression, but every ailment in the world as we know it. The irony is, I can only see this NOW, with hindsight, looking back at my mindstate when I was depressed: "ego all the way, me me me, MY problems, MY depression, MY past, MY MY MY MY..." That very self-absorbed, self-centred fascination with my own ego and its agenda mindstate is exactly what kept me trapped in that depression for so long. It's only when I started to consider that maybe -- just maybe -- as one of the 6 BILLION people on this planet, other people had problems FAR WORSE than mine, that the clouds began to part. And when I realised that I was being very selfish and WASTING my life in a state of -- excuse me, but there are few better terms -- mental masturbation.
All I was doing was feeding my ego, indulging its little whims and woes, and feeling sorry for myself. What was I doing for humanity? Nothing. And yes, that is self-centredness in its highest -- or should I say lowest -- form.
Of course, the great curse of the ever-nourished ego -- the root of all depression -- is that when you're IN that state, you CAN'T SEE it for what it is. It's like the people stuck in the Matrix (the film). They wouldn't believe it if you told them they were living in a dream. You have to wake up for yourself, then you see it."
Joshua Bryer
Ah! I didn't know they were involved in book scanning as well. That makes sense. Thank you.
Just being curious, how's it compared to JSP or StringTemplate?
To save anyone else the googling: Reason 6 requires a dongle.
Two Amazon Kindles still Need Owners [Q&A Event]
Comment: Is webOS the new Plan B for mobile?
Sex & Meditation Are Same to Your Brain
I am also shocked by the complete lack of empathy. And you QEDed nothing in no way.
Thought experiment: what would be the societal effects of instant teleportation?
Wikipedia's new visual editor
WOOD R4 V1.42 Released on December 13
Wood R4 has updated to version 1.42, users can download the WOOD R4 V1.42 now. Please download for your R4i GOLD card (for Both R4i Gold 3DS and R4i gold Non-3DS cards) and R4idsn 3DS cards.
Midwest U.S., Indiana / Iowa

I'm an idea person with very technical background. Expert level C++, some Python, interest in algorithms and machine learning.

I have multiple ideas, but one is head and shoulders above the rest. It's a killer game app for Facebook, which would generate revenue through user purchase of game tokens through Facebook Credits.

I looked into approaching Zynga, but they don't accept unsolicited ideas. Imagine that, being so big that you can no longer innovate because you're worried about legal issues. Anyway, there is something special about this game that I can't explain here. Am considering YCombinator application, but time is of the essence and my idea shouldn't sit still. Can't apply at YC right now, have to wait, so I'm putting this out there. Am I impatient? You'd be surprised how patient I am, but suddenly I AM impatient because this idea is just too good (and no, it's not something I thought of yesterday: it's 5 years in the making). Maybe I sound like Ralph Kramden (Honeymooners). Well, I'm not a bus driver, I make pretty good money, and I could easily keep on the track I'm on. But this idea is just TOO GOOD. I'm talking potential millions, life-changing money, all possible because of Facebook.

Despite what I may sound like, I'm not a salesman. But I will need one because this idea has 2 separate but intertwined approaches: the Facebook app, plus actual game events around the world and even a World Championship event. Think World Series of Poker.... expanded way beyond poker!

What I need is someone expert in the business of making things happen, preferably on Facebook, who can help get this idea in the right hands to develop it. Either that, or you can jump start development for Facebook yourself, immediately.

The candidate will have to sign a very strict NDA. No messing around here, again, we are dealing with life-changing money; not guaranteed, but very very very likely. I can say that because I've done a bit of research and put a lot of thought and refinement into this idea. If you or someone you know is very high level in the field of turning ideas into reality, and putting ideas into the right hands, we need to talk.

More related ideas where this one came from. So it won't just be a one-shot deal. I'm extremely creative (in addition to being a software engineer, I'm an amateur musician and artist, I strive to exercise every aspect of creativity).

If I don't get responses, I'll have to be patient and go the YC route. And I am prepared to do that for their summer 2012 schedule. But if you or someone you know wants to circumvent that and be in on a life-changing idea, willing to sign strict NDA, respond quickly. Must have verifiable credentials, the higher level the better. I'm just a senior software engineer with an idea, you or the person you know should be way above me, very credentialed, and ready to make money. Face to face interview will most likely be required, not at my expense, which means travel to midwest should be a trivial expense for you or the person you know. Like I said, high level.

dysonsfear at yahoo dot com.
While it might not be relevant in practice, there's the possibility of data corruption if someone closes all filedescriptors (for whatever reason) and then operates on the newly generated ones. This implementation just checks for filedescriptor number 2, a more sensible implementation for sure should hook the stdio FILE or iostream mechanisms to restrict colorization only to the "standard error" case.

for(i=0;i<1024;i++) close(i); /* close a lot of fd /

/ open will yield the lowest free fds, here it's 0,1,2 /

f=open("inputfile",O_RDONLY);

g=open("outputfile1",O_RDWR|O_CREAT,0666);

h=open("outputfile2",O_RDWR|O_CREAT,0666);

read(f,buf,1024);

write(g,buf,1024);

write(h,buf,1024); / <-- data is colorized! */
Just downloaded Sublime 2 and it looks very nice at a glance. It will probably replace TextPad as my second editor (still Emacs as primary one).

The only missing thing would be Eclipse backed autocomplete and navigation. The first editor that get it seamless will be the one I'll use the most.

I know there is eclim project, but it feels slow and cumbersome to use.
Two questions pop in my mind. How does it compare to Solr ? What's wrong with Solr ?
I would say that 30% of Facebook's engineers are top notch, and 70% are just average php and javascript developers.

Pet peeve of mine: why is the word "engineer" thrown around so much on HN? Is it meant to distinguish a certain class of people from mere coders? Or is it just a fancy word of saying "coder"?

I've always referred to myself as a coder. Should I change this?

I am genuinely curious, not trying to put anyone down.
Apple founding papers sold at auction for nearly $1.6m
I don't think the author was particularly advocating DTDs over other schema systems. The real point is that schemas make XML workable with other tools.
'designed to influence public thought'

It's designed to make people laugh and it references topical news. I think you're confusing The Daily Show with Fox News.
>As browsers get smarter native apps will introduce new interaction models, hardware accesses and new features. Those will get folded into HTML 9, then HTML 10 and the cycle will continue.

So in other words, the latest web technology will always be lagging behind. Yeah, that's pretty obvious.

But the sad thing is we're comparing two already horribly flawed systems. No one in their right mind should be arguing in terms of a locked-down, Disney-fied, compartmentalized experience versus a slow, infuriatingly clumsy and intermittently-available simulacrum of the same thing. We need to own our own devices and create, modify, and deploy our own software on our own terms. (And please don't insult my intelligence by claiming that the ability to browse to any given URL can constitute these freedoms in any materially useful way.) To publicly ask for anything less is so lacking in imagination and ambition as to be criminal; it serves only to reinforce the pathetic productivity-destroying dichotomy seemingly being forced upon us.
the link is broken. something wrong with golang blog?
Open-source webOS is dead on arrival
Import MXF into FCE, how to convert MXF to Final Cut Express?