skysight-inc/HackerNews huggingface dataset:
Yeah this post is really harmful. Antidepressants definitely have significant and varied effects, and those with depression should not be afraid to explore their chemical options, especially if it means lifting out of a life-threatening suicidal phase. Antidepressants affect various neurotransmitters in the brain, either blocking reuptake, or providing artificial analogues, etc. To say they provide mainly a placebo affect is just ludicrous, and suggests a lack of understanding of the science, or any significant practical experience with antidepressants or mental illness.

And at least here in the US, there was a little thing that happened in the 60's called deinstitutionalisation (http://en.wikipedia.org/wiki/Deinstitutionalisation). No one is locked up against their will for more than 48 - 72 hours at a time, and even then only if they are deemed to pose a significant threat to themselves or others. Not sure what the situation is like in Sweden, but i can't imagine it would be much different.

Luriel your personal beliefs are ignorant and harmful. Please stop spreading disinformation that could result it people dying or suffering due to not seeking medical assistance for a medical condition.
It is a mantra here that there is an enormous amount of timing and luck involved in creating a successful startup.

I would expect the majority of people with Musk's skill and ambition to lack his level of financial success. Certainly the percentages will be better than the general population, but it's not guaranteed or even likely.
I believe suicide is a right, but surely there is a difference between someone committing suicide with a clear mind and someone doing it out of severe depression.

I fully realize there is a circular logic set to trap you here: we can define severe depression as wanting to kill yourself, thus taking away that right completely.
Doesn't look like this has anything to do with an exploit. It is because some older web servers who don't support TLS also don't support compression.

See:http://code.google.com/p/chromium/issues/detail?id=31628
> We are sorry, but it appears that your browser does not support WebGL. Please download Google Chrome and try launching this site again.

Using google chrome 21.0.1180.89 on ubuntu 12.04
I'm not American myself but I'd have no problem letting every Russian who doesn't have a criminal record (and are able bodied etc..) immigrate to my country[1][2].

The fact that they're willing to pack up and move to a foreign country half way across the globe for the chance of finding work means they are already above average in their ambition & work-ethic.

[1] ideally every country would implement freedom of immigration like that, so they don't all end up in 1 place.

[2] incidentally I'm Israeli, and Israel has tons of immigrants from the former Soviet Union (over a million out of a total population of 7 million).
Ok, pardon my ignorance, and I know this is really getting out into the pedantry weeds, but that seems like a slightly bizarre post, at best misleading, at worst even wrong.

Why would anyone chose A in that example? Does using pre- and post- increment really result in different behavior for that example in C#? In other words, do these really produce different output:

for(int i = 0; i < 5; ++i) {
Console.WriteLine(i);
}

for(int i = 0; i < 5; i++) {
Console.WriteLine(i);
}

Answers to this question on StackOverflow indicate not: http://stackoverflow.com/questions/484462/difference-between...

It seems like the example might have been supposed to be:

for(int i = 0; i < 5; ) {
Console.WriteLine(i++);
}

Furthermore, is this even correct: "What is the order of operation? Declare, loop body, compare, increment, loop body, compare, increment, .... " Surely for loops in C# are the same in almost every other language, and the comparison happens once before the body is ever executed?

I don't know anything about C#, but I think the suggestion to use one over the other due to performance is pretty poor advice if applied in general. I doubt incrementing an integer is a performance issue in many programs, and if it is you should come to that conclusion after careful profiling. Granted, that post makes the point that based on the C# spec one may be faster than the other, but I still think there are more important things to spend time optimizing.
Appreciate the honesty in revealing that the biggest idea you've been pitched you can't actually talk about. But how about not taking the easy way out and instead answering what is the most frighteningly ambitious idea you have been convincingly pitched that you can talk about?
Everyone isn't moving towards "minimal" designs because they're a bunch of me-too-tools. They're moving towards minimalistic designs because that is the most pragmatic approach. In a world where apps have to routinely launch on 3 very different platforms; in a world where we are artificially constrained in even our minimal layout capabilities by old browsers; in a world where page size is becoming a premium again, skeuomorphism has an increasing cost.

And while graphic designers love it, UX designers often find the expectations raised by the metaphor conflict with the actual implementation. A great example of this is book apps, in which the notion of "pages" and "bookmarking" is presented in a familiar visual style, but the actual experience is radically different.
The person writing the article is trying to change the working conditions in that factory (also in other factories). They are doing this by finding out the conditions and pointing them out at an opportune moment in time. They are trying to get Apple to put pressure on Foxconn.

It's irrelevant if Foxconn is twice as good as other companies. Sounds like they could be 3 times as good and still need improvement.

HN is full of stories about how to get your startup into the media and about startups wanting to change the world. This person is trying to use media coverage of the iPhone 5 to help people directly. Good on them.
At least one rich guys says 'yes'.

I forget the exact quote by Dave Ramsey - who has been rich, then poor, then rich again, said something like 'People tell you being rich sucks. Nu-uh.'

One can be rich and unhappy, and poor and happy. This is not news.

But .. having been poor myself (and then middle-class) having money to pave over the small bumps in life makes it a whole lot easier to be content.
Updated list of free, high quality, online code schools
That's the major problem with system tests, but it shouldn't be a big problem for unit tests. In my experience system tests are so fragile that the cost of upkeep is larger than the benefit gained except in a few cases. Unit tests on the other hand are much more stable.
OK then, but in an iteration, you don't throw away everything you have and start from scratch. You use unit tests to check that those parts that weren't changed, weren't affected by the parts that were. Unit testing pays off especially in those scenarios.
I hypothesise user engagement would suffer in the face of down time. This, plus the added scrutiny this technical failure would place on their stock, means now is not a time when they can be careless about reliability.
Great point. And if you look at Elon's record, he's shown a pattern of setting increasingly ambitious goals after working his way through (relatively) easier projects -- e.g., going from two software startups into hacking hardware, going from trying to contract with existing Russian rockets to designing and building his own rockets, going from modifying an existing car into an electric to designing and building his own electric car from scratch.
I recently moved to vim as well. Everything I'm doing I'm pretty much aware that I could probably be doing it in some superdooper quick way...

I'll get there though. Eventually.
Doctorow: The Singularity Is A Progressive Apocalypse
SpiderMonkey should hopefully get a generational GC soonish: https://bugzilla.mozilla.org/show_bug.cgi?id=619558.

(Incremental GC was completed recently, for Fx 16: https://bugzilla.mozilla.org/show_bug.cgi?id=641025.)
Big Pharma's Hidden Business Model and How Your Company Funds It
To expand on your second point, if you have 3, then in many cases you also have the ability to intercept and modify non-encrypted traffic. Meaning, if the victim is using a secure web site and a non-secure site at the same time, the MITM can infiltrate the non-secure site and use it to generate requests to the secure site.
this...changes...EVERYTHING
As someone who came to Canada, then moved to the US because of visa restrictions... this is very interesting news. It sounds very much like the Startup Visa that has been proposed in the US but has never been enacted because of the insanity of the US government process right now.

For my fellow H1B-ers in the US and frustrated about the process of starting a company, this could be a very viable option. By weird co-incidence I was back in Vancouver just this weekend, and reflecting on how much I miss that city.
That's always possible, but why would the bug report linked from the code change be private then?

http://code.google.com/p/chromium/issues/detail?id=139744
Indeed, pagination us a particularly irritating decision. We get all the penalties (non-infinite view, poor visual seek, discrete scrolling) with none of the benefits (bulk age turn, navigate by physical feature, detachability).

The calendar app is a work of supreme laziness on the part of its designers, and the excuse seems to be that it is pandering to a class of user both looked down upon and considered unlikely to actually use the app.
No, I doubt that something closed in early 2010 has much to do with a new patch that has a rationale disabled from public viewing which implies it's a security emergency.
How to Fight Excessive Doubt
I think it would be fair to qualify it as a log scale :)
Critically injured Bald Eagle saved by 3D printed replacement beak
The quotation you refer to doesn't nullify Sacha's point. It says it's a "catch-all term for when objects retain ornamental elements of the past." Sacha says the blue leather texture example is NOT skeumorphic because the textures did not exist in past iterations of the product, since there was no original to begin with.

If I translate a physical object into a digital version and replicate ornaments that add no function in the digital version (ie. a leather texture), that's considered skeumorphic. On the other hand, if I apply a leather texture to my UI for random app X, that's not skeumorphic.
I don't get it. How often do you need to change between complete opposites? (should/should_not, true/false, &&/||) And what's the point of changing "predicate?" to "true and (predicate?)" or "false or (predicate?)"
I guess you're talking about http://skimfeed.com.

Imagine a table with a 3 course meal laid out...it's nice. Now imagine a table with a 100 course meal. You'll still eat only three plates of food before you're full but you'd still prefer the 100 course table.
Apple Iphone 5 event today may be broadcasted live here
...Which is why the first option in my philosophy is accepting the hypocrisy. I actually am totally fine with slave labor because it's much easier than the latter option: doing something about it.
Brain scientists somehow have ways of measuring unhappiness -- don't ask me how -- and one the biggest instances they ever find isn't divorce or even death, it's getting a big amount of money and then losing it. This may be related to start-up cultures.
In my experience, a prototype is never just a prototype. You crank out a prototype in an hour to demonstrate something. Then somebody says "add this and then we'll show it to the boss.". Your boss says "that's cool, add this and this and this and then we'll demo it to a potential customer". You do so, then play test the demo a few times, uncovering scenarios that need hardening. You demo to the customer, and they ask a few questions meaning that you add a few more features to the prototype for the next demo. Rinse and repeat.

After a few successful demos you're given an tight deadline to "finish things", so you have no choice but to polish up the prototype and ship it.

The moral: code that was written to be thrown away often isn't. You can still write code quickly, and take shortcuts (such as skipping tests), but recognize that you'll probably be working on that code for a very long time and may regret your decisions later.
Would have been fun if they called this the CPE1704TKS attack

That one was not cracked one character at a time in series, portions in the middle were discovered sooner. But, yeah, would have been a more appropriate, cooler name.
Zynga: forget games, let’s just do viruses
Thanks for saying we make you want to reboot project :)
The compiler I am using produces the exact same output for either variation of the aforementioned code. Perhaps it is a good habit to get into if you are jumping between different tools though.
>Anyone who has significant issues with this needs to stop buying anything marked made in China. ... That's not to make light of the conditions, just to say that we're all somewhat complicit and any outrage needs to be matched with action, not just against Apple but against anyone using Foxconn or their peers.

Not buying Chinese is very difficult and the amount of people with the dedication to do this is miniscule and won't make an impact. Shaming the most profitable company in the world into either switching to a more ethical manufacturing partner or pressuring its manufacturing partner to improve working conditions is more likely to succeed. Success with this will increase the odds of success with other Western companies indirectly profiting from bad treatment of workers.
I thought modal windows were a solved problem.
League of Legends For Mac ( Solution)
If anyone's interested in more entrepreneurship talks, I just launched http://tedocracy.com, which recommends TED videos for you based on talks you've enjoyed or disliked. We also have an 'Entrepreneurship' category under 'Business' on our homepage.
I finally was able to hunt down the actual clip they're talking about, "Innocence of the Muslims". There is a 5-minute trailer here:

https://www.youtube.com/watch?v=hBWkq2HPgoM

I'm absolutely appalled that this thing supposedly cost $5M to produce, though. If the trailers are any indication, this is the worst piece of garbage (quality-wise) that I've ever laid my eyes on. I've seen $20,000 movies that looked better than this thing. I'm not talking about the contents, I'm talking about the quality! I mean come on, the sound is lame, the bluescreen scenes are absolutely horrible... I could probably do just as well in my back yard with about $5000 worth of equipment and a﻿ few friends! Well, if I had 59 friends...
Show HN: Mango, a single-file wrapper for the MongoDB C# driver
If someone can take care of their depression without drugs, they should. The same way that if someone can take care of their depression with drugs, they should.
From Article: One of his friends is a 15 year old hacker who goes by the name of Cosmo; he's the one who discovered the Amazon credit card technique described above. And what are teenage hackers up to these days?

Adapted from the Evil Overlord list[1]: 12. One of my advisors will be a 15-year-old hacker. Any flaws in my computer security that he is able to spot will be corrected before implementation.

These kids should be paid to find and report these security holes, not arrested. They're producing very valuable information in their boredom.

[1]http://www.eviloverlord.com/lists/overlord.html
Fast integer compression: decoding billions of integers per second
When I visit the page, none of the videos show up (Chrome on MBP)
Personally, I find it interesting and relevant here for two reasons:

1. It shows how mainstream computer games have become. There's still a stereotype that gaming is not for serious people, but here we have an actual honest-to-god diplomat working overseas who was also a hardcore MMORPG player.

2. One can actually be a big deal as a diplomat in an MMORPG. I had no idea that EVE could get that deep. I don't know if his real-world diplomacy informed his EVE playing, or the reverse, or if it was just a matter of being interested in that activity, but I find the whole concept of a real-world diplomat who plays a virtual spaceship diplomat in his spare time to be fascinating.
> depressed people score higher on assessing the world accurately than non-depressed people

Citations? Chasing down this particular meme is a pet hobby of mine as I suspect the evidence for it is slightly fixed.
Can you script google docs? That's how I "played with my word processor" when I was a kid (I was a bookish kid and read every manual in my computer; turns out many were about VB scripting and the Windows API... I was intrigued). I suspect many more did. If people had access only to web apps, they couldn't have those kind of experiences; I think that's what the parent commenter points to. Now, I don't actually think these kind of things are becoming extinct, or anything like that: it's easier in many ways nowadays. But the web by itself still has some way to go to fully provide them, also because it is so huge. I've started to rant, so I'll end here.
Fine, weigh the risks. But don't dismiss it out of hand. I've used SSRIs off an on for years and can honestly say my life is much, much better for having done so.
Living with the Windows 8 Start screen
In case anyone missed the small blog link on the bottom: http://blog.automicrofarm.com

More information about the idea there.

Count me interested! As long as it doesn't involve entomophagy... https://en.wikipedia.org/wiki/Entomophagy
Me too, and I'm fine. :)
What will Apple release tonight?
This looks cool but I'd like filetype-independent definitions. For example, to convert a ruby dictionary pasted into a .js file.
Ask HN: Rails vs. Java?
My go-to framework for the past 5 years has been Rails, but I keep hearing about how - in terms of scalability and speed - you can't beat "Java" (but never any mention of the framework being used, and there are quite a few[1]). I'd like to see if the syntactical hassel is really worth the speed boost.

Is there an equivalent "Rails" for the Java community?

1. http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java_2
That's a tautology: users prefer a Web interface over sucky apps. Which says fairly little about what user might prefer when the apps don't suck.
Why don't you think they will direct most of their talent in squeezing as much public funds as possible, working inofficially in criminal or semi-criminal activities. That's what people in Russia do without immigrating anywhere, and those able to immigrate will be probably more talented in this regard.
I know within my own batch (W12) the highest a startup pitched itself at demo day was about a 2.5- creating a company substantially bigger than Apple. I wouldn't be surprised if you could find a 4 or 5 somewhere in in all of YC with something along the lines of creating the next version of the internet (especially from the startups doing hardware). The tradeoff there is the variance is even higher; doing a software startup is safe, relatively speaking!
I've gathered that selective publication of results is the main problem, actually.
Shebangs (#!) have been around for quite a long time. It's actually really handy to be able to write a script that you can execute as a command. See https://en.wikipedia.org/wiki/Shebang_(Unix)
Too quirky: 5 reasons why Honda’s car tech will scare away tech-savvy buyers
I remember seeing a different tool which takes care of all that for you so you don't have to write scripts, but I forget its name now. It's definitely a good idea (slotting software installs) but it needs more automation.
The best description I've seen of depression-induced suicde is "a permanent solution to a temporary problem."
And sometimes suppliers also save on fire safety with some disastrous consequences

http://www.guardian.co.uk/world/2012/sep/12/pakistan-factory...
Copyright to Class Notes: Do Students Own the Copyright to Their Notes?
I wrote a similar plugin called vim-cycle, it's a bit different but basically the same concept.

https://github.com/zef/vim-cycle

I really use it all the time and find it extremely useful, but not exactly in the way he seems to in the video. One of the ways I frequently use it is for CSS, where there are related words that can frequently change, like margin/padding, top/bottom, class/id, png/gif/jpg, absolute/relative, or in Ruby if/unless, present/blank, else/else if. Things like that...

The mapping I use is the same as is used to increment and decrement numbers in Vim, which is very natural to me so it's a really easy way to switch things much more quickly than typing them.

You can see the pairs I define by default in my plugin here:

https://github.com/zef/vim-cycle/blob/master/plugin/cycle.vi...
This is great news. Of course the details will matter e.g. how will the investors choose the startups (and thus the founders). It has being a journey to get here though looking at http://startupvisa.ca/blog
The original iPhone announcement (2007)
What I meant was that the browser must have some cookies stored to send to the target, cookies that the attacker wants to discover.
Nerf guns don't matter
I'm pretty sure Debian (my Linux of choice) can boot without /usr. And I love how on that page they bring up BS such as "well Fedora has 450MB (of crap) in /, so that's not minimal". I've got at least one Debian box packed to the gills with programming languages, scientific software and who knows what else, and it clocks in at right around 129MB for /. Maybe Fedora is doing it wrong; wouldn't surprise me, as I switched from RH to Debian over a decade ago because of dependency hell.

I'm not sure linking /bin to /usr/bin is a good idea; it may have merits, but many of the reasons they bring up seem dubious ("Solaris is doing it!", yeah like Solaris should be the gold standard; "hard coded paths!" - recompile). I'm not opposed to progress, but some change isn't progress. It's interesting to me that this initiative is being pushed by Lennart Poettering - well known for his work on PulseAudio and systemd, two other controverisal Linux subsystems. While systemd is still unproven (and quite frankly, Poettering's talk at Linux Plumbers about systemd subsuming more control scared me; it's like a hydra!), PulseAudio appears to have finally become stable and usable. I guess time will tell with both systemd and /usr-merging.

Another interesting point from Poettering's talk was that he wanted to take more after BSD, especially having the one "correct" way to do it. Me, I like having options, especially in the case of "what if the 'correct' way doesn't work?" (http://news.ycombinator.com/item?id=4409768).
In my opinion, if people really think timing and luck matter more than skill and determination, then they shouldn't be doing startups (unless their goals aren't to create an awesome/important company, but to have fun or something else).

Timing and luck (from what I have seen) really only seem to matter for things where it doesn't really require a lot of domain expertise. Of course, those are what first time entrepreneurs (at least of the Hacker News variety) are most drawn to, for what should be obvious reasons.

Perhaps it is just due to there being more information about Musk than other founders, but I haven't heard of any YC founders having the level of technical skills and abilities that Musk has. He is older than most, though, and has been at it for a while, so this shouldn't really be surprising.
"I believe suicide is a right, but surely there is a difference between someone committing suicide with a clear mind and someone doing it out of severe depression."

There is a difference, sure. However, the difference doesn't invalidate that right. Especially considering the subjective nature of the definition of "clear mind" and "severe depression".