skysight-inc/HackerNews huggingface dataset:
The feeling stupid part got me here. Aftter that, I understood a little bit more. So thanks for that.

But I really believe, that it comes down to "how often" these chances come in ones life.

It can be seen in the gameshow "Who want's to be a millionaire". In Germany we have a fourth joker: people give up the savety-net at 16.000 for an aditional joker. till now everyone of the winners, who got the million, did not take this option.

16.000 is a lot of money, regarding, that you started with 0. on the other hand 500 (the second level net) is really not so much, when you are hanging at 125.000 and having to take a shot at the million. and falling down to 500 feels a lot more stupid. so people become risk adverse (risk of loosing a lot and feeling stupid) a lot faster and don't trust their answer when gambling for that million.
Here is my version. Took me less than 5 minutes and worked the first time:

def pascal(num)
return [1] if num == 1
res = []
prev = [0] + pascal(num-1) + [0]
(1..num).to_a.each { |i| res << (prev[i-1] + prev[i]) }
return res
end
Saying that everything the common man is able to create today is "LOLCats" is just as bad as the "culture will die if we remove copyright"-argument.

Good things, works of art, survive. Those LOLCats will still be there in the future, sure, and some people may even appreciate them. But for those who don't, filtering out the "simple" stuff shouldn't be an issue.

The music I've been listening to all day has been produced by people who love what they're doing. They don't want your money. For them, it's enough that you take time and listen to their music. That's why they distribute it for free. And I can tell you that out of the things created by teenagers today, there are things I will appreciate just as much, or even more, in 50 years. That's more than enough to make them art to me.
And with internet-connected TVs, Bluray players, and devices like the Roku, I can just add a new source of content. No big deal.
Fire And Security Jobs
The key to our success is our ability to offer complete cost effective recruitment solutions tailored to suit your staffing needs and specific requirements, whatever they may be. Our recruitment service includes Temps, contractors and permanent introductions of all types of fire and security jobs. Any body interested in fire alarm and security jobs. Just go through http://www.sfruk.com
A good test to see if interview questions are you are posing to a potential candidate are good ones is to allow the candidate to pose a similar number of interview questions to you. If they can also pose problems that by your own standards you should be able to answer, but aren't, then you are not doing it right (unless you yourself are not a fit for the position under consideration which may very well be because you are in a different position).

For some reason, some interviewers start with a belief that they are smarter than the candidate. While any reasonable person would feel that they do not fall in this category, think about how would you actually know if you do (this is not to say that you do fall in this category). The job of a good interviewer is as much to not reject a good candidate as it is to not accept a bad candidate; in both cases thinking of the position under consideration. If you start with this mindset, and by default subject yourself to as much doubt as you are subject the candidate to when her answer does not match your thinking, you are doing great.
Reed-Solomon and similar codes correct for bit errors in a particular block by transmitting extra bits in each block.

That's one way to think of it, but more generally they correct symbol errors by transmitting extra symbols. In some cases a symbol is a bit, but if you want a packet erasure code you just define a symbol to be a packet (or a disk block or whatever). A practical example of this is par2.
Standardized textbooks for standardized curriculum. What a novel idea. :)
Yeah, this makes me want to learn MongoDB instead.
Gray on black text. :~(

To make the page readable, pull up the dev console and run `document.body.style.color='black'`
That's because Kahneman gets the signs wrong in the OP.

Question 5a is: $900 @ 100%, or $1000 @ 90%

Most people choose $900 @ 100%

Question 5b is: -$1000 + $100 @ 100%, or -$1000 + $1000 @ 10%

Most people choose -$1000 + $1000 @ 10%

Written this way, the false symmetry vanishes, and we see that in both cases, people are risk averse when the payoff is low, and risk-seeking when the payoff is high. Which is to say, people value life-changing sums super-linearly as compared to insignificant sums.
It's still a LOT of work to get a J2EE app up and running... Java isn't going anywhere, but as far as the web goes, I see a move to lighter solutions like Grails.
I know there are lots of anti-patent folks on HN, but if anything deserves patent protection, digital fountains certainly do. This is useful, novel, and certainly non-obvious stuff. And really quite beautiful, IMHO.

Its always bothered me to read about inventors who discovered beautiful and amazing things, only to die penniless while powerful interests reaped all of the financial benefits. Hopefully the people who discovered these codes have been richly rewarded for their work.
I think for internships and early programming jobs, these such questions are are great idea. They show if you've learned anything in your CS degree.

My implementation in 15 min using javascript. BTW I'm a freshmen CS major.

function row(len){

if (len==1){
return [1]
}else{
var p = row(len-1),
arr = [];
for (var i=0; i<len; i++){
if (i==0){
arr.push(p[0]);
} else if (i == len-1){
arr.push(p[i-1]);
} else {
arr.push(p[i]+p[i-1]);
}
}
return arr;
}
}
The whole 'free speech/minimal moderation/no-censorship' is one of the core reason Reddit 'scales'. Unlike most sites, there's no sign out front saying you can't post there. No matter how terrible you are, someone will agree with you, and if you find the right sub-sub-sub-reddit, everyone will agree with you.

The other aspect is that voting systems are groupthink systems. Once the userbase gets large enough, the moderation system does not function in a way that encourages debate or questions common assumptions. It seems to be a terminal problem, which nobody knows how to fix except to escape to smaller fora.
Sometimes I have problems with runserver and IE. I forgot exactly why (probably multiple requests) but fixed it by using this:

https://github.com/ashchristopher/django-concurrent-server

Really nice module.
Beautifully said, truly. The problem isn't the language, it's the program.
unless they're in mobile form, in which case dhh likes windows[0] and hates linux[1].

0. https://twitter.com/#!/dhh/status/154998105379573760

1. https://twitter.com/#!/dhh/status/150677158078070784
I find it nearly impossible to wake up early.. it's been a problem my whole life.
They pulled a 180, and are no longer marketing the O.co but their original Overstock.com. I think people are just too conditioned to type dot com.
Perhaps a copyright law optimized to promote the arts could be crafted.

I'm not sure exactly what it would look like, but it could probably restrict ticket sales to licensees without requiring draconian enforcement.
> It is not true, however, that the continued enforcement of copyright laws in a hyper-connected world depends on having SOPA-style laws in effect.

This statement is true in that one can certainly continue to enforce copyright precisely as we do now, or to craft new measures that attempt to address the problem without creating so many new problems. The problem comes from the fact that none of these measures are likely to solve the problem from the studio's point of view.

As one might expect, they will continue to push for stronger laws as long as piracy remains rampant. And piracy will remain rampant so long as there are even a few people capable of piracy: thanks to computers, one unrestricted copy is enough for everyone in the entire world. Short of, say, outlawing computers, that isn't changing any time soon. There simply isn't anyone out there who can bear the weight of enforcing these laws at a level that would substantially reduce piracy, so it should come as no wonder that the studios have long sought to put that burden on someone else's shoulders. I simply do not see a technical solution to this as such. Piracy existed before the internet, after all, and there are no firewalls, filters or DRM on sneakernet. Without a technical solution, the law loses force. It's about like putting up a bigger "KEEP OUT" sign because we have no fence to put up.

That's not to say the artists are just screwed, though. I mean, iTunes still does a ton of business, even though you could get everything for free. So there are ways to survive in spite of rampant piracy. There are also ways to improve copyright law itself. William Patry's _How to Fix Copyright_ has some interesting ideas on that subject. But in the end, that means that the solution comes from redefining the problem: rather than ending piracy, one must find ways to succeed in spite of it. That may not be fair to them, but I certainly believe it's necessary.
Wouldn't this essentially just be WikiPedia? Granted, text Books have more of a narrative.
To Paul McCartney, it doesn't really matter whether I'm making a crappy metal cover of Hey Jude, or a parody of it. Why is one unethical, but not the other?

One could argue that I'm profiting from the original song either way--people are more likely to buy a parody of a song they've heard than one they haven't.
Casting the result of malloc isn't a good idea in C because it can hide the lack of a prototype if you forget to #include <stdlib.h>. It's also a redundant mention of the type name in question, making for more work / noisy diffs under code change.

Unfortunately C++ requires the cast.
You mean like /b/ was, by the end, supposed to act as a buffer on 4chan to keep out the new posters from the other boards while they were still adjusting to the local "etiquette"?
That worked for a while, and then when that board became so bad that even new users wouldn't find any enjoyment in posting in it, they simply stopped lurking and carried over their bad habits to other boards. It spread through the whole site at an alarming rate. You can't try to separate the good content from the bad, or at least not for a long time because the bad always finds ways to spread, and I doubt the separation into "sub-reddits" instead of boards has any meaning in this case.
A digital sheet music app/store is something I dreamed of creating even before the iPad was revealed (along with many other geek musicians, I'm sure). Congrats on succeeding with the idea. Since there's not much value left in keeping an already-executed idea to myself:

May 13, 2008

I want to make a piano music stand that integrates a 19" or 24"
widescreen LCD with built-in sheet music display software. This
would allow a pianist to access a large library of music without
having to store it all or risk damage to fragile printed music.
This display could also be linked to a MIDI or other playback
and recording system to evaluate the correctness of a
performance, quickly transform a performance into printed music,
or control the parameters of a synthesized piano. The stand
would be designed to accommodate printed music in front of the
LCD display. A reflective display from Pixel Qi would be the
coolest, with more of a paper look. It would be really cool to
work with Bosendorfer to have the system integrated into their
player pianos.

The display could serve as a useful educational tool by grading
performance as mentioned previously, by masking out parts of a
piece to aid memorization, and by presenting
video/animated/automated lessons to a student. It could also
include teleconferencing software/hardware to allow remote
education. If the piano includes a clutch to detach the keys
from the hammers, it might be able to be used as a software
synthesizer.

The system could also be used to provide prerecorded or
automatically generated accompaniment for a solo pianist.

But what should a person who wants to take a break and get some broader experience but is tainted with an engineering background do? Is the only option for me to just suck it up, gather the courage, and commit to striking it on my own with another idea? Have any of you ever been at a similar crossroads after exiting something?

Now... I almost never indulge in unprompted self promotion, but tongue-in-cheek and at the risk of sounding like an overconfident idiot (heck, I know this will make me sound like an idiot), you should work with me on my "big idea": http://www.nitrogenlogic.com/.
Comments I read from reddit have a lot more gays and transgendered people than I encounter in most places in my life.

In any english website, your going to mostly encounter english (which means probably white) cis hetero people. Gays and transgendered people are %10 of the population at most, and a lot of times, they're not talking about things related to their sexuality.
The GitHub example is the reason why I never wrote any code against GAE. The lock-in into their data store is a hard pill to swallow and was an early warning sign.

I am not familiar with the internals of Heroku and don't know how they solve the problems I outlined. Maybe someone else can elaborate.
Pragmatically, typing is for tooling first, catching errors second, soundness a distant third.

My tastes run towards a C#-like language (cough Gosu): statically typed with inference, simple generics (covariance), proper function types to fill in most of the covariant holes, and a dynamic type escape hatch, just in case.

But of course they would.
Yes, buffer size can have a significant effect on performance. You can quickly see buffer sizes used by "read" across your system with "dtrace -n 'syscall::read:entry{ @ = quantize(arg2); }'", which summarizes the output (in case you're doing more of these than you can reasonably see in the console) and has significantly less impact on the program you're tracing. Output for my system:

value ------------- Distribution ------------- count
0 | 0
1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1278
2 | 0
4 | 0
8 | 0
16 | 0
32 | 0
64 | 0
128 | 0
256 | 0
512 | 1
1024 | 0
2048 |@ 20
4096 | 2
8192 | 0
16384 | 0
32768 | 0
65536 | 3
131072 | 2
262144 | 1
524288 | 0

and if you want to know where, say, the 512-byte reads are coming from:

# dtrace -n 'syscall::read:entry/arg2 == 512/{ @[ ustack() ] = count(); }'

mdworker
libSystem.B.dylib`read+0xa
Foundation`-[NSConcreteFileHandle readDataOfLength:]+0x1d6
RichText`GetMetadataForURL+0x338
mdworker`0x100006a66
mdworker`0x100009ec1
libSystem.B.dylib`_pthread_start+0x14b
libSystem.B.dylib`thread_start+0xd
1
Banksy uncovered: The nice middle-class boy who 'became the graffiti guerrilla'
SOPA is an attempted transfer of wealth from the Internet Industry to the Entertainment Industry. The entertainment industry has out-lobbied the Internet industry.

SOPA will be incredibly destructive to a _vast_ range of internet properties, and it's not clear how effective it will be long term in protecting the entertainment industry.

Re: Game of Thrones on BItTorrent - Everything is available on Bit Torrent. People with money are typically honest, and turn to Torrenting only because they have no other avenues to purchase these things honestly.

[edit]: I used to think that Torrenting was unethical/immoral in addition to being illegal. Now that I pay for pretty much 100% of everything I watch - I think Torrenting plays an important role in motivating rights holders to make their material both competitive and broadly available. $50/Season for GameOfThrones is fine, as long as it's available (a) in a format I can download onto my MacBook Air, and (b) on a timely basis. HBO would have close to zero motivation to make this content available in downloadable format on a timely basis if there weren't alternatives.
Personally I don't understand how you can interview someone for a senior position without reviewing their prior work.

Or what they claim is their prior work. And it really isn't reasonable to only consider candidates with lots of code on GitHub.

I think coding problems are terrible for almost any interview because the candidate is going to be struggling to find the right answer that will please you.

To some extent that's going to be the case for any interaction during an interview. At least with a coding question there's an objective fact as to whether your solution works, as compared to trying to decide whether the interviewer wants an honest or BS answer for what your greatest weakness is.

And finally with intuition I like to throw up some source code of some problem I'm working on or interesting ones I've come across (and solved) in the past and discuss it with them. I give them an over view of the code, my expectations of it, and then ask them to read it. We walk through it and I get to see how well they can spot bugs, code smell, what they focus on when they see code.

That sounds like a fine approach, but it can suffer from the same drawbacks. For example it's very easy for a bug to be "obvious" to you and not to somebody else.
Weak References in Java
Canary is built every 60 revisions of Chromium. That comes out to be almost once a day. It doesn't go through a QA cycle.

Dev Channel runs through QA and ships about once a week.

Beta just gets the stable release before stable does. But it's not coming down from trunk on a regular basis like the other two.

The other important part is that Canary can run side-by-side with any of the other stable/beta/dev. So my preferred setup is running Stable and Canary side by side.

(Disclaimer: I'm on the Chrome team, fwiw)
Year 2011- A Time to Reflect
>But it isn't true on average.

From the statistics I've seen that's not true. The lowest 20% may have worse care than the lowest 20% in other developed countries, but the average American has access to the best health care in the world. Just look at American cancer survival rates--they are the highest in the world.

>The average hospital in the US isn't as good (well-equipped, well-staffed)

Now that's just plain wrong, the vast majority of hospitals in the US are incredibly well equipped.
Why is it harder to read the code than writing it?
PHP Profiler to optimize & speed up your applications
Yeah, that works. My left-to-right traversal would be also a little nicer if C had parallel assignments as in Python:

for i in range(n):
p = 0
for j in range(i):
buf[j], p = buf[j] + p, buf[j]
buf[i] = 1

Of course, you can also do this in C with a riff on the old in-place swap trick, e.g. buf[j] = buf[j] + p, p = buf[j] - p, but that's too clever by half, albeit kind of cool.
Building Contractors
The comment in 1 seems more about Android and Google's strategy than linux.
Sort and backup your music files using ID3v1 tag(php Script)
Google knows its a highly desirable employer so they can get away with it.
Previously submitted a month ago.

Discussion here: http://news.ycombinator.com/item?id=3317250
Custom PRS Deep Brown Electric Guitar
Price: $420.13.Save $20 off 2012 Sale. Free Shipping Worldwide. Wholesale Guitars From China. No minimum!
Discount Card Printing
Male celebrities as women
male celebrities as women
Cringely Predicts: Eric Schmidt may replace Steve Ballmer
Actually, I ran into a relevant discussion on the topic with a few choice quotes (from [1]):

When filing an algorithm patent, patent lawyer will tell you to remove every instance of the word "algorithm" and replace it with some other word. This seems to be necessary for getting the patent through.

[...] at some point you may find yourself pulling diagrams from thin air and thinking "why am I doing this?" (but then remembering that it's because of the bonus)

The complacency in the latter quote is (probably) why so many well-meaning engineers inadvertently exacerbate the problem.

[1] http://yaroslavvb.blogspot.com/2011/02/how-to-patent-algorit...
But I believe it is the duty of the ticket vendor to keep track of who bought tickets. In protest, I would not replace a ticket if I lost it, but if I lost $10 it is completely my responsibility. Is this not rational if I believe I can affect change through the action?
When Robert Metcalfe calls his ISP with a connectivity problem, they're still going to tell him to power cycle the modem first.
While I don't begrudge Luby his patents on the specific codes he invented, IIRC he has claimed that his patents cover the entire class of all possible rateless codes, which is trollish behavior. One startup that I know of has gone out of business due to Luby.
Hah really? Something Awful is site where everyone rehashes five-year-old in-jokes, has a weird cult-like mentality towards the rest of the internet, and makes money by repeatedly banning a small number of people over and over again. I'm a member there, and the place is clearly dying out.
Thanks for the explanation. The reason for the comparison is two-fold. First, there seems to be a section of GAE users who use it solely to host a blog, a need satisfied by a much cheaper service elsewhere.

Second, while I understand the value of high availability and not having to worry about Ops, I am talking about cost per HTTP request. Here, the $2 PHP host is a clear winner. As I said, that does not mean it is better. Your analogy with the oil tanker and a row boat is applicable: one is more appropriate if you just want to cross the pond. The other is better for going from Alaska to California, with the caveat that GAE exists in the world where there are vanishingly few cost-effective ways to use it.
Sure, but again, (1) JS engines can and do infer the shape at runtime using hidden classes, and they also get array lookups that way (and not hash table lookups), and (2) I suspect these lookups are not even on the critical path of typical performance-intensive code, but that's speculation of course.
The whole point of IP networking was that you could connect to an unlimited number of destinations in parallel using a single phone line. How is this still a mind-blowing concept?
Pardon me if someone else mentioned this but... have you thought of a free version with ads? You can use IAP, In App Purchase, to go to the paid version without the ads. This skips the App Store "no information" wall by not going to the App Store at all.