skysight-inc/HackerNews huggingface dataset:
I am an entrepreneur and have started and sold several successful businesses. Based on this experience i wrote the article and concluded that having life experience was much more valuable to my success than going to college. Hence the title.
Keystroke Logging Software
I seem to recall a story about this place, or a similar one, where a couple residents decided to sober up after "living the dream" (free booze for life!) and still not finding happiness. Many more tho drank themselves to death there.
Is open-source implementation of this data structure available somewhere?
Ask HN: Which model is more effective?
Hello there,

I was wondering, which model is more effective to attract users?

-A Freemium and Premium approach, in other words a premium Saas application

-Or, a completely free application using advertising as monetization.

What are your recommendations?

If you have any past experiences, please share.

Thanks everyone,
In which the police chief recommends that parents put keyloggers on their kid's computers.

For parents of clever children, that might give them ideas, and the parents computers might be targets of a reverse favor.
it's a known bug. everyone hates it. suggest an appropriate solution. maybe the arrows should straddle the reply link
Does anybody know how (if?) this was resolved? A quick google doesn't throw anything recent up.
U.S. Consumers More Likely to Purchase a Smartphone in 2011
Depends on your product and customers.

http://news.ycombinator.com/item?id=1907332

http://news.ycombinator.com/item?id=335514

http://news.ycombinator.com/item?id=1787533

http://news.ycombinator.com/item?id=302202

http://news.ycombinator.com/item?id=375417
Simulating cloth fall with Physics
Good point, but I didn't state otherwise. PayPal, having rolled out micropayments a lot earlier and being the de facto standard anyway, beats Google; at least in the circles I have access to.
It looks like it was a workshop paper, from the 7th Workshop on Distributed Data and Structures. I don't know much about that particular workshop, but workshops often aim for a more informal atmosphere, since one of their main roles is fostering discussion (incl. of works in progress) and bringing communities of researchers together to discuss things.
True story. Will post new video of our work/progress/lolz daily.
He clearly has some conflicting views here,"The walled garden thing can’t last forever...Apple and Amazon can be publishers within the universal system. But they can’t have monopoly channels."

This might be a nice idea, but aren't Apple and Amazon directly competing right now? How is it that they are both holding a monopoly on ebooks? People like choice, if there really were one massive distribution system I would worry that it would become the new monopoly.
Reddit has an appropriate solution: you can unclick the arrow.
Functional tests in Rails can be cheap integration tests. What happens when one of the models that is touched by one of this thin REST scaffolding controllers has an incompatible change introduced? The person making the change may no even know about the controller in question. Who's to blame when it blows up in production? Writing tests to cover every conceivable failure condition is indeed a time sink, but the first test is a very valuable sanity check that pays dividends over times.

Also, I have to question how much time you save by not writing tests for boilerplate. How much boilerplate is there really? Most business code isn't exactly novel or exciting, but neither is it scaffolding. Even if it is, you should just crank it out and be done with it right? It shouldn't be taking a large percentage of your time, and neither should the tests.
I'm with you if you simply take the 'ism' off capital. The ism part implies or at least condones extremism. Capital is a fine tool; one which can and is being abused. A little moderation goes a long way.
Here is yet another solution for this kind of problem.

Dev-Todo http://swapoff.org/DevTodo

If you use e.g. zsh then maybe you also like this for your rc file.

http://pastie.org/1585888
not bulletproof refactoring though.
Ask HN: Cross promotional videos?
Hello,

I just made a quick video of our daily life at my dorm room startup http://www.youtube.com/watch?v=VSZMn-s3NZs

I'm planning to do a daily video of our progress.. it takes up about 20 minutes of my day just to pick out a video and do really quick edits. My biz partner and I are pretty funny so the videos are pretty hilarious. Is this a good idea? Do you think it'll create buzz about out product UpOut.com

I know that Grasshopper has done cross promoted videos a la "New Geek" and "Entrepreneur Insprational" ... is this format good? Any suggestions?

Thanks in advanced
Dropping out of college -- or skipping it/putting it off -- does not guarantee one will acquire the kind of "life experience" that makes someone a good entrepreneur. I'm a college drop-out and my two sons chose to not pursue college. All three of us have plans to make it as entrepreneurs. I think we did the right thing -- for our specific circumstances. That doesn't mean it generalizes.

The title Skipping College makes one a better entrepreneur -- which is what you chose to use for purposes of posting it to HN -- is misleading and a poor fit for the actual content of the piece. It's also not the title listed on the actual webpage, which is Living Life is better than Dying in College. In other words it's a form of bait of the sort that isn't much appreciated on this forum since it amounts to "bait and switch": We will call it something we think people here would be interested in reading even though the article really doesn't discuss the topic suggested by the title which was made up specifically for this forum filled with wanna-be entrepreneurs.
Well, first, I'm not sure it is legal to jailbreak an iPhone, but to answer your question it's different because the US Copyright office said so.

There's a specific exemption to the anticircumvention provision of the DMCA for "Computer programs that enable wireless telephone handsets to execute software applications, where circumvention is accomplished for the sole purpose of enabling interoperability of such applications, when they have been lawfully obtained, with computer programs on the telephone handset."

http://www.copyright.gov/1201/
In a startup, you need to engineer to minimize the latency of validating features. Sometimes tests help with that (like when you're dealing with a complicated algorithm), sometimes they don't. I wrote a poker engine recently and I had many tests for the engine itself, a few tests for the tricky parts of the UI, and no tests at all for the system as a whole.

The challenge is that when you get into scaling, you need to begin engineering for throughput, which requires a completely different engineering style focused on higher throughput and reduced variance. This style is well supported by "test absolutely everything" TDD.

Oh, and then when you want to do a tangential experiment, you want to go back to latency-oriented engineering, but without destabilizing existing code.

In short, I'd say yes, it's plausible that overuse of TDD could be hampering a startups agility.
Me too. Our hackerspace has been involved with national events to promote science and engineering.
What people are addicted to, is a menu they know at a familiar place. Starbucks wins because it's familiar, not because it's any better; it's the brand, not the coffee.
It's a good idea. But its side effect could be that people are more encouraged to write replies instead of just voting (resulting in too many me-too comments). We will never know without trying it out though.

An alternative is to have the arrows straddle the top line of a comment instead. The down-vote button will be right beside the 'flag' link which may or may not have a desired side effect.

Yet another idea with possibly least side effect is to have them straddle '[x] points'.
You should look into typed racket.
I'm curious: have you read the DMCA? Why do you think it doesn't apply to geohot?

Just because you don't like what Sony is doing doesn't make it illegal, and just because you support geohot doesn't mean the law is on his side. IANAL, but I don't see how he can win.
The fact that this comes labeled "counterpoint" makes we worry that I've screwed up my writing. I think this was my point. ;)
If you are using TIOBE to make decisions on what to teach, I feel bad for your students :)
Hey sorry about the late reply, we have had an insanely busy weekend. Thank you very much for the insight, especially points 2 and 3 and will keep 5 in mind, sounds pretty scary :-p

We are going to give it a try. It seems like there is enormous potential in the market.

Thanks again for the comments!
3D Theory - Collision Detection
Thanks also for your comment. Since we are not going to match anybody this is going to be hard, but it may be interesting for notifications (ie. "messages")...

Thanks!
Yes. The question shouldn't be "have you ever?" but rather "How often do you?"
If you use the TIOBE index as a measurement for language popularity you shouldn't be controlling a curriculum related to information technology because it indicates you don't have high-school level knowledge of statistics. TIOBE is based on "searches for a given language", there are all sorts of factors that can skew the outcome pretty badly. See http://www.tiobe.com/index.php/content/paperinfo/tpci/tpci_d....
I see it like this:

I could read this article, about an interesting and unusual approach to a common problem. It seems to cost less than the previous solutions, and help those affected.

Or i could read:

\* 5 Amazing Vim tips (all of which are covered in your average vim tutorial)

\* Why I like $LISP_VARIANT (and you should too!)

\* Usability rant suffering from tragic flaw #1 (giving up power for instant understanding).

\* Some fluff piece about how "our startup is great and unique because we worked really hard and didn't like the big corporate structure!".

for the 10,000th time each. Which is more likely to benefit me?
Ask in person and keep on asking.

Be flexible in what you're willing to accept too, the idea is to get your foot in the door and either learn straight out, or make connections with people you can learn from.

Also make sure you're ready with the resume and everything else.
A bit of free advice from a consultant: if you get asked for a proposal, write a proposal which includes includes exactly what he needs to know to say "yes" and then ask for the "yes." That doesn't quite come across in that gloss. I don't know if I'd be angling for internships, though.

Do you know what the difference between you and the typical junior Python dev is? The junior Python dev gets paid for programming Python. Seriously. Apply for the freaking job. The worst thing that happens is you get told you have a hole in your engineering skillset. The likely thing to happen is that you will discover engineers are not hired for engineering skillset, because if they were there wouldn't be so many terrible ones still on the payrolls of corporations big and small.
"Shadowing" is asking them to do something for you and offers nothing in return. It's a net loss for the company. You probably need to be willing to do whatever -- get coffee, stuff envelopes, sweep the floor. I have not done an internship of the sort you are wanting but did arrange an internship I needed for a college class. I went and asked. The longer I was there, the more I shaped it to what I wanted to do for them. I initially did "whatever" but as I got to know people better, opportunities came up for me to say "let me fix x for you". When that went well, they were more willing to listen to additional suggestions and work with me. It had the potential to become a self-created paid position had I not left the area when I did. It was a non-profit, so I would have had to find funding for my own position but the interest was there from their side.
The public domain is actually a remarkably poorly defined IP space. Most countries don't actually have a legal mechanism to recognize PD. Places that have a recognized PD (the U.S. for example) are the exception.

Here's an example of this

http://arstechnica.com/old/content/2007/10/european-copyrigh...

The GPL, or CC (or some other license) sidestep this issue by working within the nearly universally accepted legal framework of copyright vs. the Public Domain. In Stallman's view, because PD cannot be guaranteed to use the force of law to maintain his view of freedom, it's unworkable for his purposes.
which you can't do with root domains as it affects all subdomains also.

rfc2109 disagrees:

A is a FQDN string and has the form NB, where N is a non-empty name
string, B has the form .B', and B' is a FQDN string. (So, x.y.com
domain-matches .y.com but not y.com.)
Get to know a professor with industry connections and demonstrate to him/her that you're smart and/or hard-working. Use that as an inroad to a programming internship. It'll take some time, but it might be your best bet if there aren't a lot of internships on the market.
To answer my own question: C++

http://www.cplusplus.com/reference/std/valarray/valarray/sum...
It has to be more than just a solution: it has to be a solution that requires close to zero coding from time-constrained PG.

I think adding a hover effect to the arrow would provide the most benefit per second coding. The following line of CSS can do it without requiring image editing:

a:hover img {opacity: .6;}

That gives a little feedback about what irrevocable action is about to take place – which is especially useful when mousing the area in between the arrows, where currently a single pixel of movement can invisibly turn an intended upvote into a downvote.

Other solutions are better, but this is an easy 80% one.
One of the automobile quotes is false[1]

[1] http://www.snopes.com/history/document/horseless.asp
At Least Half of Americans Diabetic or Pre-Diabetic by 2020
رمزيات بلاك بيري
The iPad and iPhone are especially dangerous when it comes to accidental downvoting. Separating or enlarging the arrows would help those of us with fat fingers.
Parrot Drone and Augmented Reality game
I setup a so-called naked domain and pointed it at an Amazon S3 CNAME just fine.

I believe the big downside is that I'll never be able to use email on that domain because of the CNAME. Which, for me, wasn't a big deal.
Just think - In this poll some folks may have clicked the wrong button too.
A crossbrowser translation bookmarklet for text selections
This is exactly right. I ended up in an awesome internship that didn't exist until I proposed the position and me as the best candidate for that position. Think of something that they could use or would be advantageous for them and then offer to do it as an internship for them.
I am also a university student and I just got an internship by talking to PHD students about their projects. I finally met one who was leading a super-interesting one. I asked about internships (+ bachelor thesis) and he got in touch with the company leading the project with the university, where I then applied and was just taken. It wasn't advertised, so just go and ask people with connections to the industry.
For stuff like string handling, text processing and even variable interpolation, Perl blows Python and Ruby out of the water (and despite criticizing Perl's regex, Python ended up copying it almost identically). Much of this power stems from Perl's much-derided use of sigils (e.g. $scalar, @array, %hash) and context.

Personally, I find Perl's
$header2 = "Dear $title $name,";

to be more readable than Python's
header2 = "Dear %(title)s %(name)s," % vars()

Another benefit to using sigils is that it's immediately clear when reading code what type of data is being referred to, while in other languages you often have to read back through the code.

On the other hand, Python has done a great job in positioning itself as the new BASIC (in a good way), and so of course Python gets much more exposure in the educational setting and thus has greater mind-share amongst younger coders.

Python is simpler and easier to learn well than Perl, but nevertheless Perl is a very powerful and useful language that takes a lot of undeserved criticism (e.g. see the comment of wyuenho in this thread).

Incidentally, I found the Google Trends link hilarious, as all the news snippets on the right of the page refer to people called Ruby and actual Python snakes (hey, maybe people are searching for things other than programming languages..)!
Ask HN: How to draw a single pixel?
This question is maybe an echo from the eighties, but I am interested to find resources so as to draw a single pixel on the terminal. If I could change the state of one pixel then it would be just math to go from pixel to lines and from lines to curves and from curves to shapes.

If I am not mistaken one of the important steps is to activate the so called video mode and not the text mode. Reading a bit about that I guess I have to access the memory buffer and modify individual chunks of memory. I cannot estimate how difficult this can be.

I know that there are libraries to let you do that on another window and of course to let you create images. Creating SVG pictures is rather trivial for example. I am interested to learn my self how to go in that level than to use a library.

I would be grateful to find resources for that and preferably in the following languages. Common Lisp > Python > C.

Feel free to ignore my question since it is driven by curiosity to hack and not from urgent need for productivity.
While we all click the wrong arrow from time to time in the grand scheme of things it's probably a small percentage of the overall clicks.

I've probably clicked two or three wrong arrows out of thousands of clicks, which makes it pretty much a non-issue.
like a shitload of times? Either should be harder to mis-click or there should be some way to undo.
Most programming topics are going downwards on Google Trends. Probably because more non-programmers are getting online, while all programmers are already using the internet. The exceptions are very new and hot programming topics.
Yes but when you really liked/disliked a comment, and for an error you click in the wrong way, it's a really bad feeling.
One more http://www.wolframalpha.com/input/?i=(x^2+%2B+y^2+-+1)^3+-+x...
No downvote open yet
It is legal to jailbreak an iPhone in the USA. Jailbreaking was added to a list of exemptions to the DMCA last year.

http://www.wired.com/threatlevel/2010/07/feds-ok-iphone-jail...
And when I'm there in person, what do I say? If I was qualified for a position, or it was an advertised internship, it's a well-worn dialogue on what to do and say. However, this is the first time in my life I've been passionate enough about something to be willing to ask someone what I can do to help with nothing to gain from it but knowledge. Looking for specific "talking points," I guess.
I don't remember ever upvoting by mistake, but sometimes I do want to save a link but not upvote. I think it will be useful if one can save a link without upvoting.
Yes, but then I remember that it's not really a big deal, and then I move on.
I recently did an exercise on cuckoo hashing at http://programmingpraxis.com/2011/02/01/cuckoo-hashing/.
The author is (evidently) referring to something well-known to those inside the Perl community which some call the Perl renaissance, a.k.a. the Modern Perl movement, a.k.a. the Perl enlightenment.

There are meta-modules which allow you to pull in all the goodies with a single line of code, e.g. "use Modern::Perl;" or "use Task::Kensho;"

At that point, you are effectively coding in a "modern" dialect of Perl and it's a definite break from the past.

If you are not already interested in Perl, it's arguably not enough to persuade you, but I find it really exciting.
it is legal to jailbreak an iphone http://www.wired.com/threatlevel/2010/07/feds-ok-iphone-jail...
You may not have been shot, but beyond a few 100's of thousands of people being a bit happier, absolutely nothing was accomplished. Nada. Zip. Zero.

Last year, 2010, 3 million homes received a note that they were in some stage of foreclosure. 1 million homes were repossessed by lenders.

Granted all those homes may not be occupied, but most likely were. Think about what a million families actually look like... homeless, in motels, in cars, at in-laws.

US citizens need to start addressing some of these issues.
I saw the $10 to $45 price listed as subscription charges in the article. I am curious as to how their membership subscriptions numbers are..

Also I have seen their ads on many sites and the ads had a AdultFriendFinder feel to it.
Cuckoo hashing has O(1) worst-case access time, and O(1) "average" (amortized, to be correct) insert time.
The best way to get their attention is to build something in Python that they would be interested in.

For example, do they have an API? If so, build off their API. Make a cool related service. Make a microsite. Develop a prototype of some technology/algorithm that would be useful in their business.

Forget resumes/shadowing/etc, just take the initiative to build something they will notice and love, and you'll have an instant connection.
Those numbers are inflated a bit by people searching about snakes, gemstones, coffee and Indonesia. Try adding "programming" to each term: http://www.google.com/trends?q=perl+programming%2C+python+pr...
How about this:

http://www.alexa.com/siteinfo/cpan.org+rubygems.org+python-e...

CPAN's popularity vs other language module distribution systems could probably explain why perl is a lot less searched for: most of the typical programming problems have already been solved, tested and smoked in perl. Writing perl these days boils down to integrating things from CPAN, and you don't need the funky characters to do that.
Be direct, honest and keep it simple.
That means, (1) be very clear on your abilities and expectations, (2) don't make them loose time, and (3) if you want to know whether they are looking for / would be interested in someone like you for an internship or not, just ask.
Facial recognition + Hunch API - custom playlist based on the tastes of people
You misrepresented my point. C# is far from my favorite language. He loses credibility however by making a statement which would appear wrong to any person with some knowledge of the programming language panorama. It's a red flag to either ignorance or intellectual dishonesty. Note that he didn't say, "C# is a language I don't like" or even "I find C# to be a horrible language", which would have been perfectly reasonable stances.
I would have no problem applying for a junior dev position, but the position they're advertising isn't for a junior dev. But you're right on just applying (read: being more confident). I am not sure I'm quite ready to forsake pursuing my degree, however. That's probably dumb of me.

About the proposal, the resources I found with a quick search were mostly for companies seeking interns. Do you have a pointer to some resources for proposal-writing for interns? (This is a new concept to me.)
Python's Mutable Default Problem
The linear time behavior of cuckoo hashing is not triggered only when the table has to be enlarged, like standard containers (say, std::vector or python list): a linear numbers of keys can be "cuckooed" out of their slots for an insertion even when the load factor is under the capacity threshold.

In standard containers if you pre-define the capacity (say with std::vector::reserve) all the insertions are guaranteed to be constant time. Cuckoo hashing can't give this guarantee.