skysight-inc/HackerNews huggingface dataset:
It does allow static linking---from section 4, paragraph d:

"d) Do one of the following:

"0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.

"1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version."

You just have to allow relinking in some form. Admittedly, this is easier with dynamic linking, but the LGPL doesn't restrict static linking per se.
There was such a warning originally, but it didn't wait to ask you if you wanted to continue. Now it does.

The problem with just automatically re-installing those is that npm 0.x only had a global install space, and that was typically used for modules that were loaded via require().

In npm 1.0, you put require()-able modules in the ./node_modules in your project (local install), and you usually want to install CLI apps globally, so that their bins end up in /usr/local/bin. The 'npm link' command puts packages in the global space, and then symlinks them locally.

See `npm help folders` for more info on the differences.

There's no way for the install script to know what you were doing with each of those. Just cat'ing the list to `xargs npm install` isn't very helpful, because that's going to just install them in ./node_modules.

What you really want to do is use your human brain to split that list into two lists, and decide where each item should go.
So what other (GoF) patterns can be 'dissolved' with first class and anonymous functions?

The following come to mind immediately:

- observer (a.k.a. listener/delegate)
- visitor
- command

What else?
This is not about memorization, but working memory is like the memory cache (or registers?) of our brains.

There are more theories correlating working memory to IQ, specifically look at the dual n-back brain game.
How does pricing based on database size work? It doesn't look like you're a hosted service which makes it feel like a really odd method.
If we look at the rise of easier and easier to use graphic design programs - Photoshop, Illustrator, and so on - we don't see a decreased relevance of experienced or quality graphic design professionals. Instead, the ability to get something, anything done that looks OK is much easier. The highest quality products are still produced by the highest quality individuals. The tool is an enabling device.

We can mirror this to programming, and IDEs. Visual Studio, for instance, takes a ton of the nitty-gritty details of programming out of the picture for a vast population of people looking to write software. The need for quality and very skilled programmers isn't any less relevant - they're just not needed for every piece of development like they used to be. This is how we're able to get way more software than before. The very skilled programmers are almost more important in order to facilitate more software to get pushed out, as there will require an increased expectation of quality from software and only a limited group who can produce or lead such a development effort.

None of this is a bad thing, but it's just a change in how things used to be done. As it used to be in the automotive world, not everyone has to be a full fledged mechanic to keep the car running - but for the big jobs, there is a definite demand for the higher skill. (Of course, computerization of the automobile is bringing this back around!)
I am surprised that O'Reilly's "Learning Python" hasn't received more nods. Granted it's long (1200 pages as I recall), but it takes the reader on the full journey through all of Python's multitude of features in a very structured way, with each chapter building on the foundations the other chapters lay.

I recommend "Dive Into Python" to people who want to start to get a taste of Python, but anybody that has developed a appetite for Python and wants to really, really Grok how Python works, I recommend O'Reilly's "Learning Python" and tell them to take the time to read it cover-to-cover.
How do you parse craiglist in realtime? Won't they block your server?
A "First Week of Testing Update" has been posted to the homepage - we've addressed some issues users have had. Check it out - http://www.domainhole.com/
TeenChat.com Chat Rooms
Mathematical formulas are not patentable, but use of mathematical formulas to achieve something still is. If this were not true, then one cannot patent anything at all since the laws of physics and mathematical formulas are both not patentable. That one can write the same code in Haskell or represent it with just mathematics is not a violation of the patent yet. Execution of the code, or the device executing it is still patentable. This allows for software patents.

Whether this is sensible or not is a different question. While I do see several issues with the patent system, I personally do not believe patents law should distinguish software and hardware. If its "really" an "invention" that meets the three requirements for being patentable, it should be patentable whether its software or hardware.

PS: IANAL
"I don't think the average janitor is really craving a daily massage." -- He/She is a human being and has as much right as the next person to want a massage (more so because he/she does physical work).

If I'm at home having a soda and the cleaning lady is in the same room, it feels awkward not to offer it to her. In this sense, the workplace is a big room with everybody in it.. it feels weird that some people have access to perks that others don't. So if I'm taking a limo home or getting a free soda and others can't... it just takes the joy of that luxury away. I would feel embarrassed about it and wouldn't want to use that benefit as often anymore.

At my work we've free sodas but I've seen people looking weird at the cleaning staff for taking sodas from the fridge. Why? I don't know and it's just disgusting.

Probably my mom is to blame for all of this thinking. Whenever I got a pack of Cheetos she would say "have you offered it to your friends already?".

We spent most of our time at work so, for me, it feels normal to extend to it the same "rules" I've at home.

By the way, I'm not saying people should have the same salary even though they do different work. Everybody should be paid according to his/her skills. What I'm talking is about the amenities that try to make the workplace a better place. They should be offered to everyone or no one.
The data all comes from the 3taps api (http://3taps.com), which is who is sponsoring this hackathon.
The Ghost that is Haunting Lego Land
I'm going to dodge the "should" word and instead talk about whether those algorithms would be patentable based on Supreme Court precedent.

I'll walk through the three tests, all of which must be passed for the claimed invention to be patentable.

Statutory subject matter: The algorithm is not. The general-purpose robot is. The relationship between the algorithm and the general-purpose robot is.

Novel: Doesn't matter for the algorithm, since it didn't pass the first test. I'm reading between the lines that the general-purpose robot is not. The relationship between a robot and the algorithm that runs it is not.

Non-obvious: The question is moot for the invention as a whole, since no novelty was found.

The invention would not merit patent protection.
بث مباشر لمباراة مصر ومالي 1/5/2011 كأس امم افريقيا للشباب
Tell PG: The HN down-vote feature is broken.
The Hacker News down-vote feature is broken with this new "not showing the votes" thing. There's no indication of the number of up-votes, but down-voted items automatically draw negative attention by changing color. The changing color just creates a mob mentality that results in more downvotes. I'm certain that if a down-voted item didn't change color that it wouldn't draw attention that results in additional downvotes. Right now, the only remedy is to copy the down-voted comment, delete it, and then paste it as new to avoid the different color.
D'Nealian is not efficient -- it's yet another form of looped cursive (which I already spoke a bit about in another comment).

Italic is far superior to any kind of looped cursive.
An economy is based more on the trust between the actors within it than on its medium of exchange or the goods and services being exchanged. Bitcoin doesn't address this aspect. Because fraud and collusion are still possible in a Bitcoin economy there exists the possibility of both currency instability and the creation and enforcement of monetary policy.

An irrational public can be just as damaging to a currency's value as an unwise central bank or government.

Regardless, I find Bitcoin to be a very interesting system and I'll keep tabs on its development.
> When discussing something with some one there are occasions when I'm genuinely curious as to why they have a certain line of reasoning. I want to ask "why do you think that?" but it always comes off condescending.

The degree of condescension perceived here is going to be a function of /how/ you ask; but also realize that people often don't have good answers for their reasoning or can't articulate them well.

If I'm going to delve in to someone's reasoning, I'll start with "that's interesting" - said as genuinely as possible. I want someone to think I'm asking because I'm /interested/, not because I'm trying to prove them wrong. I'll normally then start to ask them questions about their reasoning, rather than ask them for the reasoning straight out: "So does x mean that y is also true?" or similar. A small amount of prodding like this, and they will usually start to talk. People fundamentally consider their views and opinions to be both important and interesting - if you can /show/ interest in them, rather than worrying them that you've about to prove them wrong, then you'll get traction.

> Is there a method/statement for suggesting an attempt at becoming friends with some one? "Hey, want to be friends" is unutterable for me. No matter how I imagine saying that line it feels pathetic. If I don't drink beer or coffee is there anything else to ask someone out to do in order to have some bonding time?

I always use "Hey, are you on Facebook?" Facebook is a great way of making low-pressure bonds with people, although you'll have needed to build sufficient rapport first. Invite people to come to an event that you want to attend, that you think they'd be interested in. After the first few meets, it'll be way more normal to "just hang out" but people often want an excuse at first, so they're not worried it'll be awkward.

> How to accept a compliment. Thanks or agreement feels egotistical. Trying to act as humble by playing it down doesn't seem to be received well either.

Big smile, and "you're very kind". Then people don't know if you agreed, or you were being humble! Social win through obscurity :)
I think Keep talking is the most important one on this list.

In my interviewing experience, I don't feel like I ever misjudged a candidate because they felt their X years of experience was more valuable than knowing what binary search was (a common theme which you mention as well in your post), and I didn't. Nor do I think that I misjudged somebody because of the quality of code they were writing in a shared doc. I have seen a lot of people write code, and believe I have pretty high confidence ranges for what code looks like for good candidates and what it looks like for bad candidates (the ranges do overlap a little bit in the middle, in which case you have to fall back on the other items in the interview).

However, I do feel like there were some really talented candidates who just wouldn't talk their way through a problem, which not only made it difficult for me to judge them, but I think it also made it more difficult for them to solve the problem. Some people just like thinking quietly when solving a problem, and while that might work great in working life, it is not good for interviewing. The interviewer has a fixed amount of time to judge your thinking process (which is basically the main thing Google cares about), and candidates who are too quiet just don't give the interviewer enough data to really judge a candidate.

I also don't think there is much to lose either for the candidate. If you are a poor candidate and you somehow trick your way past the phone interviewer by being strategically quiet at the right times, you are going to get exposed in the on-site interviews, which are 5x as intensive. However, if you are a quality candidate and leave too much uncertainty about your talents by being too quiet, you might get unlucky and never make it to the next level.
I've been using objective-c since 2001, when I made the switch from BeOS to Mac OS X. It's not horrible. I don't have any real problems with it. But I think its replacement is long overdue.

Given that Apple has a long history of ditching huge swaths of its technology in favor of more modern alternatives, no matter if their userbase screams bloody murder or not, I'm surprised it hasn't happened already. This would be a good project for those billions they've got sitting in the bank.

I think it would be great if they would anoint some successor as their new systems language, then port Cocoa to it. Programmers could use either objective-c or the new systems language for a few years, just as we used to decide between Cocoa and Carbon. Then objective-c could gradually fade into the past.
I don't know the difference between (“x” == x) vs. (x == “x”), and googling isn't helpful (hah!). Anyone?
My sentiments exactly: I would love to have a reasonably up-to-date PyPy around to try things in, but I'm not yet so invested in the project that I'm willing to watch for release announcements and download source-tarballs (or binary tarballs). Having a reliably updated PPA is pretty much exactly what I'm looking for.
RVM + Rails 3 + nginx + Phusion Passenger | Big Rock Software - Hacking Life
why not hire the people that are expected to be doing work for your company for years to come? why they need to be "long-term temps"?

It doesn't make sense. It feels like this is a poor excuse for hiring cheaper labor and get away with hiring as few perm employees as possible.
(x = "x") vs ("x" = x)

see http://stackoverflow.com/questions/214031/is-constant-compar...
recent college grad here

the conundrum is this. i spent my time learning the academics and theory of programming, design, and business. jobs want experience.

i am an extremely fast learner, but cannot get a chance at a full time job after being successful at a paid internship for over a year.

everyone is looking for experience, i feel like if you don't know Exactly what you are doing day one, then you can't get your foot in the door.

yes, i have a website up, resume tuned, and a portfolio of what i have done.

thank god for unemployment checks... =/
They did try to replace Objective-c with Java and that showed a lot of areas where a framework built for a dynamic language fails on a static language. I think Objective-C is a decent tradeoff of C and Smalltalk. I like the selector syntax as opposed to the C++ syntax.
eh, but I thought that was the point of a merit scholarship? Rich children pay big money so that they can go to school at good (as determined by average quality of the pupil) school. I thought the idea of a merit scholarship was to get the high-achieving but not rich children in to the school?

I mean, the quality of a school, I thought, was largely determined by the quality of the students admitted, and if you are letting rich kids in regardless of ability (and let's be honest, you are. someone has got to pay for the new football stadium.) you are going to have to be pretty damn selective with everyone else to get a good average.

I wasn't good enough to get a merit scholarship, and my parents weren't rich enough to send me to a reasonably good school anyhow, but I don't see how I got any more screwed than in a system where all schools are mediocre; I mean, that's what you get when you let guys who perform like I did out of high school in; a mediocre school, and I had plenty of opportunity to go to a mediocre school as-is. Hell, for good portions of my life, my employer would have paid for the venture.

If anything, more merit scholarships (rather than just filling those slots with the next class down of rich kid) seems like a net win to me. Hell, people like me probably wouldn't get as much out of college as someone who, you know, actually did the homework anyhow.

From the article:

"57 percent of first-year students — more than 150 in a class of 268 — have merit scholarships."

Personally, I think that's wonderful. Those are all kids who would otherwise have been too poor to go to that school; so the best and the brightest of the poor get to go for free, on the backs of the rich kids who want to go to school with smart kids. Seems like a good deal all around.
The device executing software is statutory subject matter for a patent, but is only patentable if it is also novel and non-obvious. An algorithm implemented using a general-purpose digital computer can't be patentable under existing Supreme Court precedent for that reason. That isn't to say no software could ever be patented, just that every specific patent we've ever talked about on HN should rightly be invalid, if precedent were followed.

I think distinguishing software is sensible, because patent protection is not necessary to promote progress in this field. Patent monopolies are a cost that is expected to reap benefits in increased innovation, and whether they do this or not depends more on the human processes that arrive at the invention/discovery, which differs between software and hardware.
Aren't metrics such as "seconds on an ec2 instance" not particularly meaningful because you get highly variable performance per instance based on who else is using the actual hardware? Am I correct to assume that m2.2xlarge instances are shared like other instance types?
If I find something I want to buy on Craigslist my incentive is to hide it. On HN it's the reverse.
The Party’s Over for Buffett
how many times are you going to post this??
They didn't actually try to 'replace' objective-c with java, though. It was just an alternative.

In the early days of Mac OS X, many programmers were seduced by it, but they complained loud and long about having to learn this weird new language that had practically no adoption outside Apple. My guess is that Apple decided to give them java to quell the complaining. It wasn't adopted widely, so that was that.

What they should be replacing objective-c with is something that looks more like, say, Python.
The New York Times home page sucks
Ask HN: Did you get a confirmation for your ImagineK12 application?
We submitted our Imagine K12 application yesterday, but did not get a email confirmation. We are still able to edit the application. Did anyone get a confirmation after submitting?
Sex Sells, 50 Creative Sexual Advertisements
It's beautiful. I don't know if Craigslist is the optimal medium, but I like looking at it. Nice work!
The real toy story: inside the ruthless battle for America's youngest consumers
I understand the sentiment, but I actually like how the fading of down-voted comments functions at present. Morbid curiosity often causes me to highlight severely down-voted items to see what was said.

Plus, I'll sometimes up-vote a down-voted item simply because I share your distaste at what appears to have been a harsh mob reaction. Absent the fade signal, I'd not have known my vote was required to help in some small way rebalance the scales of karmic justice.
What are the strategies to follow to become a good open source developer?
I always hear that involving with open source projects is good for career and the more (good) open source you release, the closer you will be to getting your dream job before you've even had an interview.<p>I am expert in Java and I am trying to become fluent in Scala. I always think about getting involved in open source development in Java/Scala but the following confusions stopping me to do so<p>* How/where do I start in open source development projects in GitHub etc? Or How to find active/busy open source development projects?
* How to find an area where improvement is required or enhancement required in such projects? It looks too complex in the first analysis or its pretty hard to find such opportunities.
* What are the common strategies to follow if I want to become hobbyist/free time open source developer?<p>People who have experience in open source development please share your learnings/expertise from scratch.<p>Thanks in advance.
Amazon Outage: Explained By Employee [Plain Words]
I feel for you. In college I was the lone CS major living in the fine arts dorm! When I did try to get a group together (no reason they can't work on sketches or whatever while I code, right) it always descended into me trying to help people with their homework.
The Simpson Season 22  Episode 19
Not any but basic things like eating equally and transportation shouldn't be hard to arrange.

When you have a person being prevented from enjoying the same benefits of others.. and this person can witness this daily, how do you think they feel?

Large companies have forgotten the human side of work. That doesn't mean it doesn't matter.
It's rather sad that Apple Dylan went nowhere. It would have been a terrific language to pair with Cocoa.
WE WON! WE WON! hip hip hurray! hip hip hurray!
Where does it say that?

By the way, I purchased a Toshiba T135 last year from Amazon and updated the BIOS several times. I can't find any trace of the CompuTrace backdoor, but I must say that my trust in Toshiba, DELL, and other laptop manufacturers has been severely shaken. This is infuriating.
With early iOS they were talking about a pretty serious use of JavaScript. I wouldn't be surprised if they pushed that more in the future...

I've heard there is a lot of work being done to make Haskell play nicely with Xcode [1]. I don't know if Apple is experimenting with that, but they're probably kicking a lot of options around.

[1] http://hackage.haskell.org/platform/mac.html
Where are you located? I have a contracting client who's looking to bring someone on full-time, and I'm not in a position to leave my current full-time position.
Contribute to open source, and start your own projects. Show your passion for what you do.
I doubt any automated process would work very well. This is a good candidate for "crowdsourcing" though.

Create a simple tool that "hands out" an episode and allows you to create timestamped tags. Predefine the the most important tags. Announce on HN. I'd do a couple episodes.
What skills learned through playing StarCraft are useful in life?
that's fine, but what would they replace it with?

Java? C#? not likely. C/C++? well, you can use them already

I think MacRuby is the closest we have atm to something being groomed as a successor to Obj-C. It's got a way to go yet, but it's already at the stage where it's viable for smaller projects and there's a (small) number of MacRuby apps available on the OSX app store.
Well, Apple has been funding a lot of the development of MacRuby, possibly as an exploration of what it would take to anoint a popular scripting languages as a "nicer" alternative to Objective-C.
I think a virtual one sounds reasonable. It might not be the exact same effect as in person but I imagine it would still be motivating. I'm also in an area without many nearby programmers so shoot me an email if you're interested in giving it a go.