skysight-inc/HackerNews huggingface dataset:
100% free of original content, and much of what's there wouldn't qualify for an an anti-OOP "best of" list. I am really confused that he is an OOP guy who gave this talk at an OOP conference, because he seems quite sincere (not ironic) yet sounds like someone who is looking on OOP from the outside in or is being forced to do OOP against his will.

1: Nobody agrees on a definition for OOP, so it isn't clear what it actually is. Right, except that you have a clear enough idea of it to hate it, so...?

2: Hatin' on Blub. Many of those quotes came from fans of OOP, so I guess one of the things he hates about OOP is that OOP fans don't speak with proper reverence and/or community solidarity. What, should Bjarne Stroustrup consult the OOP marketing department before he makes a funny remark about C++? And the final quote from Stroustrup undermines his whole blog post. After reading that quote, I had to reread the whole post twice to see if it was tongue in cheek, but I don't see any irony at all.

3, 4, 5: It's legitimate to complain about classes, methods, and restrictive type systems, but within OOP you are able to embrace or eschew these things as you wish. Everyone knows this, right?

6, 7, 8, 9, 10: Not specifically aimed at OOP. These could all appear in a list of "10 things to hate about FP" if FP were popular in corporate software development.

It's especially ironic that he complains in #1 about the lack of a specific definition of OOP, but in 2-10 he paints a very restrictive, extremely overly specific picture of OOP. Programming with Java, UML, and design patterns and saying "I hate OOP" is like living in Los Angeles and saying "I hate California." LA is popular, but if you don't like LA, there's a hell of a lot more to see in California before you badmouth the whole state.
Heroku had launched initially with an online code editor though they phased it out. Not sure if it's available online anywhere now days.
Dup: http://news.ycombinator.com/item?id=1988562
I started learning C++ when I was a freshmen in high school with a copy of Borland Turbo C. I didn't get far.

In the summer I graduated from high school, I lived in Seattle and worked for my uncle who runs the King County Library System, doing basic Unix stuff. This is months before the WWW went mainstream. I got bored one day and started playing with Unix commands to see what they'd do (I had, let's call it, a "tfile's understanding" of Unix at that point).

I vividly remember C clicking for me the moment I figured out how to deal with system calls that returned structures (via pointers). C clicked for me with "getpwnam()". I started writing little utilities that printed out structures returned from system calls.

I learned design from Leendert van Doorn's NFS shell. Y'all are too young to remember this, but in the '90s, the NFS shell was the most important piece of offensive security code out there (try to imagine an Internet where the biggest security problem is the fact that 10-50% of your systems are exporting '/' to the world). NFS shell had a command prompt driven off an fgets loop and an array of string commands and function pointer handlers. Mind: blown. I started writing utilities with arrays of string commands and function pointer handlers. Then I hooked them up networks and made little protocols. Brief dark period of Perl. Back to C. Working at an ISP, wrote a program to scan arbitrary ranges of IP addresses for live hosts. My girlfriend at the time taught me recursive linked list delete. Got _C Interfaces and Implementations_. Shortly thereafter: first dev job. Off to the races from there.

Seebach had MUDs and curses games. I had security tools. Otherwise, similar stories. Helps to come up on Unix instead of DOS.
For $1, I can spin up a complete clone of my production environment in less than 10 minutes.

I can modify my chef recipes to do postgresql database failover and test it on the new servers.

Once I'm confident that everything works, I can destroy the new servers and move that configuration over to the production servers.

If I need 5 TB more hard drive space, it takes less than 10 minutes get it.

That's the value of EC2 to me. I don't really care if it costs $5,000 more a year (or whatever), my business can support that additional cost fine.
Yeah, there are a lot of characters in the full unicode set.
What surprised me the most is the apparent willingness of my representatives to share information and cooperate with the reprensentatives of the United States in a way that seems to undermine the sovereignity of their own country.

To me as a citizen the US is essentialy a foreign power and I would like it to have no say in the internal affairs of the country I live in without having obvious benefits for me. This doesn't appear to be the case and it isn't because US diplomats apply pressure to get concessions but rather because politicians yield even without pressure.
The MeFi moderation team is simply the best at their job that I've ever seen. Considering the shit they have to deal with (which gets way more heated on a daily basis than anything I've seen on Hacker News), the fact that they're able to consistently establish the center and keep MetaFilter welcoming to such a variety of people really astonishes me.

I don't know if the $5 is as significant as the quality of their moderation team. Perhaps it helps regulate the flow of new users. What really wins it for them is that the moderators are willing to respond to each member individually and talk them through the site if need be. I've never seen a Hacker News or a Reddit moderator do anything similar. (The Reddit mods are cool people but moderation isn't their focus at all.)
Thank You HN: Deals for Hackers is on
When I was 8 my classroom had a subscription to 3-2-1 Contact magazine. Every issue they would include a BASIC program that you could type in and play around with. Since I couldn't take the magazines home, I hand-copied the programs to note cards (and the first time, being a total noob, didn't differentiate the zeroes from the O's - my first experience with "debugging"). Those were the days...
I agree that corporations departing can cause (or be caused by) a bad economy. But neither of your examples are part of the chain of events you described:

Investment -> growth -> higher wages -> low-wage seeking investment leaving -> decline

I fully agree with all steps in this chain besides the last.

As you say, Nicaragua was a natural disaster and Venezuela was an unnatural disaster. I agree that both of these things can cause a nation to decline, and can also cause foreign corporations to flee the country. But I wasn't asking whether disasters can harm a country and also chase away foreign investment.
This is what I do on mine,

Control + Alt + T; ssh user host; emacs -nw
(clickable)

https://mozillalabs.com/skywriter/
Roaming the streets at night? Feh!

I live in a western suburb of Chicago and we've got 'em walking down the sidewalks in mid-afternoon. Much more civilized!

http://tinyurl.com/25ykr6e [picasaweb.google.com]
Wrong bird and wrong python. (The latter is meant in both ways!)
There is a lack of production in key industries though.

Yes, Americans have managed to purchase more stuff. There is a cost to this production of the items that we import that isn't currently being paid for. The damage to the environment is one notable such cost. It doesn't show up in the economic charts as a cost but it is a real cost nonetheless.

Also, a large part of our ability to purchase 'more of these items' comes in the form of a massive increase in our debt. At some point the party will stop. Our present system is not sustainable for much longer unless changes are made.
Exactly what we need. And it wouldn't hurt to throw a torrent of the leaked documentation out as well. Assange may be an egomaniac, but he's right about the scientific journalism stuff.
Some good lessons about PR can be learned here. For one, don't use your normal marketing tone/marketing speak in a candid Q/A session like this one. The IE9 AMA and this AMA have done more to make me lose respect for Microsoft than anything else I've seen from them (although, I should note that I'm not old enough to have been around in their true "evil empire" style days). If they would actually answer questions honestly and engage the people asking them rather than spewing out the typical bullshit, I'd have gained more respect for them. They aren't acting like they're talking to people here. I don't mind seeing this kind of tone in press releases and such, but don't pretend you're going to give an honest "Ask Me Anything" style Q/A session when it's just free marketing. I think they're shooting themselves in the foot here, mostly. Until the IE9 AMA, I was considering trying it out, but their tone completely turned me off of it.
There's a difference between not using the internet and not using hotmail.

I personally log into Hotmail twice a year, specifically to ensure that my account does not get deleted. I have enough things from my past that may or may not try to send me an email at my @hotmail.com address (or require it to get back in to their service) that it's just to risky to lose it.
I wish Kodingen was a little more focused on development and less on the "social" stuff. It has such amazing potential.
No, not entirely. A strongly typed language will help this a little -- at least I can know i have, say, an array of strings.

Suppose i have 2 properties in my class, 'start_date' and 'end_date'. They are private and have setters.

In a method that uses those 2 properties, I can trust that they are of the right type, that start_date is < end_date, that they represent a reasonable range based on my logic defined in the setters. All of this can be taken for granted.

In this procedural example, imagine some sort of hash or struct or associative array (whatever you want to call it in your given language) is supplied with those 2 keys.

The procedure cannot trust that the inputs are valid. It has to check everything. If you can rely on type safety, congrats, that's one less check. But there are plenty of others.
I was a Hotmail Fan, until (at 2005-2006) one time, I didn't log for 3 months or so. All my inbox was recycled. I have only 4 Mb of Emails. They are hosting emails, few conversations and accounts information.

It messed me up, as I lost lot of info; I decided not to use it again, even though I was happy with the experience (light Email user). I moved to gmail by begging random users to send me an invite. I was amazed with the storage and also with the experience and I still use the same inbox to that day.
The Hacker News community is awesome! Yesterday, I posted this question, Daily Deals for Hackers - Interested? (http://news.ycombinator.com/item?id=1988328)

The response was overwhelming - 81.2% of respondents said that they would subscribe to the email list if Deals for Hackers existed.

So, keeping with my Customer Development approach, I'm now going to try to close 5 deals. These should be deals that the Hacker community cares about - books, tech conferences, gear, cool startup stuff, etc.

If you subscribe to the list (and please do), you'll start to receive deals if and when I can close them.

Thanks again for your support!
Web Programming Is Hard
Apache quit JCP
I've seen that quote in a number of threads criticizing OO, and I don't think I fully understand it.
Could someone explain what the practical edge of his argument is here? Or is it just a theoreticians complaint, taking a (perhaps simplistic) definition of OO and declaring it unsuitable?
Everyone agrees in theory that proofs and generic code are great, but in practice it seems that most programs (at least, the ones that I've seen) aren't conglomerations of mathematically reasonable abstractions, but fairly monomorphic domain-specific actions that would benefit more from what OO offers than from proofs and generic regular types.
Depends on whose entertainment we're talking about I suppose.
Electrical Contractor
Find qualified union electricians and contractors in the greater St. Louis area on the Electrical Connection website.
Cloud9 IDE (http://www.cloud9ide.com/) is a neat looking project. It's Javascript-centric right now but I believe it will be more generally useful.
John Carpenter's They Live (1988) similarly draws the borderless-corporations/alien-invasion parallel.

Many of Stross's comments about corporations also apply to governments. (I think the future will view nation-states as a special case of corporation, moreso than corporations as a subordinate creation of governments.)

And if this is the dystopia, started in the 19th century and accelerating in the last few decades, created by these 'aliens' – well, objectively, many will prefer it to the alternatives. Life expectancy is up, war is down. The 'corporate system' has lifted a billion-plus out of poverty in the last 20 years, while the 'rival paradigm' of Communism that Stross notes once 'held [the corporate system] at bay' gave people none of economic comfort, social freedom, or political voice.
Ask HN: need your help optimizing substring MySQL query
Imagine we have this table with a million unique rows.

| id | url |
+----+-------------------+
| 1 | google.com |
| 2 | yahoo.com |
| 3 | reddit.com |
| 4 | digg.com |
| ...| ... |

I'm running queries like

SELECT id,url
FROM table
WHERE url LIKE '%hoo%'

When you have a million rows, this query is slow (around 2-5 sec depending on what you search for). I need to make it fast.

So far the fastest solution I found is to concatenate everything into one long string, and do regular sub-string searches in the app (not the DB). It's a horrible and ugly solution, and I have re-build that string every time we insert a new row.

So the string looks like

1|google.com#2|yahoo.com#3|reddit.com|4#digg.com ...

It's pretty long, but substring searches on it are pretty fast. I get the same results in around 70-200ms.

I would prefer to find a non-ugly solution.

thanks!
Companies with these locked down Win2K/XP/ie6 desktops wouldn't install that, because that would be work, which costs money. If they saw ie6 as a problem and were willing to put in any effort whatsoever to fix it, they would have done so long ago.
off the top of my head: dynamic dispatch is a great way to re-use code, assuming the subclasses really have a "is-a" relationship.

this makes for a double whammy in terms of extensibility, since not only is the code literally more conducive to later changes, but it meets developer's expectations, too.

encapsulation and inheritance go hand-in-hand in my book, though i suppose encapsulation, and the necessary concept of interface contracts, is an axiom of sorts from which many other good practices can result, especially if there is also a culture of "communicating for extensibility by new developers later."
How are you gentlemen !!

All your leak are belong to us.
I also do user-based browsing. It's a dumb heuristic for finding good comments, I know. But I don't have a better algorithm that won't waste much time.
The article is a little light on detail so here is what I found via Google.

They wrote what looks to be an interesting paper: Non-contact, automated cardiac pulse measurements using video imaging and blind source separation: http://www.opticsinfobase.org/abstract.cfm?uri=oe-18-10-1076...

Looks like they use an ordinary macbook webcam/matlab/opencv/software (to reduce noise) and are able to extract the pulse rate from it. I wonder what the implication would be for video in general. Could we determine the heart rate of someone off a news feed, presidential address, or movie??
Tons of forum members getting Google CR-48 Netbooks
The parent commenter has articulated the issue broadly and imprecisely but effectively. You're noting the imprecision and snagging on it. The issue is subtle. It's not a battle over the word "hacker". It's a complaint over the migrating center of gravity of a particular subculture. It bothers Eric that someone else is setting the standard for the (gag) hacktivist response to WL. Eric would like his (once relevent, always inessential) magazine to set that standard instead of teenagers from 4chan.

You can sum his "press release" up thus: "Kids these days...".

Apropos nothing: I love this particular story. It's a great litmus test. Is it important to you that the "editor" of 2600 has "condemned" "Anonymous"? Good to know.
railsforzombies.com used Skywriter. I don't really know how the guys at Envylabs integrated the code or if they modified it at all, but the end result was definitely awesome.
I'd make it two years since sometimes things are off by a week or two.

Additionally, they should not delete any existing mail, but instead move all new mail at that point to spam, which I think gets deleted in one month.

This way you never lose anything you actually know about. And you have recent email just sent to you. The cost of this should be very low.
The STL is by far the best thought-out algorithm and data structure library I've ever used. I miss it frequently when programming in Python, but in many cases where having optimal algorithms and data structures actually matters, the quantities of data I'm dealing with mandate C++ over Python anyway.
The problem with celebrity in this field is that very frequently celebrities are known more for their personality than they are for the things they say. You have the Asshole, the Motivator, the Snarky Sassplant... etc. They become famous not because they're intelligent or say smart things — let's face it, almost every person in this community is bright and most of them are well-spoken, yet plenty of them still struggle for recognition — but because they adapt a certain tone that's instantly and comfortably recognizable, so that when we see their name we can sink ourselves into whatever's expected of their writing without having to put in too much effort.

The celebrity writers always have a certain personality. Whether it's John Gruber or Paul Graham or Dave Winer, they've established exactly what sorts of things they're gonna talk about and how they're gonna talk about it. When we see their names, we know what to expect. Whether it's a good post or a shit post (and everybody has some of each), we still feel like we got our click's worth and are satisfied with that.

If I had a choice to see a new DaringFireball essay or another essay, completely unknown, completely at random, I'll probably go with the DF one. It sells me a certain level of quality, a topic that I usually am interested in, a writing style that I very much enjoy. The unknown essay might be more valuable or relevant, but I'm not as instantly willing to give it a chance.

...unless, of course, the author makes an effort to grab me, by titling his essay provocatively or writing in an entertaining style. But then once he finds success with that method, he's not going to want to drop the shtick and risk becoming unknown again. He'll continue with it. At a certain point he'll become a celebrity poster. Then we're back to dealing with the same old shit as we did before.

Part of the problem is that HN displays us both POINT VALUE and USER NAME before it even gives us the essay. There is no way to read a comment without seeing the author and the point value before hand. So we're unavoidably biased before we see a word.
Quora allows you to explicitly tag your posts as "Not for Reproduction". Everything not tagged this is assumed to be for reproduction.
Apparently a lot of people here did, as did I. But now that you mention it, it did seem completely freaking insane to me...
Quotes criticizing significance testing
While it's relatively easy to comment on the stuff that gets to the homepage that shouldn't be there, the actual stories/discussion that don't make it there are a loss to our community.

F.ex. I found the 7 comments and a brief appearance on a thoughtful article like the "Tracking all releases by Etsy" [1] disappointing. That would have been a great discussion, we all together didn't have.

[1]: http://codeascraft.etsy.com/2010/12/08/track-every-release/
(Couldn't find the HN article anymore)
1 year is still far too short (and only a touch longer than the current 270 days). 5 years is more reasonable. It costs them so very little to keep the data, and it costs people so dearly to lose emotionally important stuff over a technicality.
What's the point of PyPy?

Speed!

And who needs speed?

Scientists!

And what do scientists use most?

Numpy!

And what is Numpy written in?

C...
I think one of the main problems with celebrity/current events stories is that one article will rarely contain a good, complete overview. Weeks/Months/Years later, there will be great, in depth, interesting articles that cover all the fascinating aspects of a story, but the day to day news and blogs on a subject are more prone to shallow analysis of one aspect of a situation.

For example, the whole Wikileaks/Assange situation has many aspects that would be interesting to hackers: IT security failures, a paradigm shift in how effectively governments are able to keep things secret, calls for Internet censorship, small groups of people/hackers/script-kiddies DDoSing major credit cards in an example of asymmetric warfare, transparency vs secrecy, and (to some extent, but less so) the contents of the cables themselves. However, because these are being revealed over a course of weeks, HN instead gets flooded with dozens of articles about small facets of this event, rather than a larger and more in depth analysis.

Does this make sense to anyone else, or am I completely off target here?
ITunes 10 window buttons: Not all bad
Hello Bar a simple tool I love and gets eyeballs for sure.
Been using Hello Bar lately and I been loving it. Simple tools like this are definitely the most powerful web services, that can make a big difference in your online projects.
PlusConf: How to Start a Company When You Have a Full-Time Job
Refugees viz Albert Einstein & H1Bs viz Linus Torvalds contributed to the prosperity of America.
Talented Americans should now migrate and contribute to the rest of the world.
Essentially there are two rules here: don't post or upvote crap links, and don't be rude or dumb in comment threads.

Where there are no bright lines, your side of the road becomes mine. Rudeness banned (mostly). Condescension, upvoted. Dumb, downvoted. Groupthink, upvoted.

My favorite condescension indicator: Post that include the sentence "Sigh."
I think that the $5 fee is important to avoid burning out the moderators with a huge load of work. You can only manage/moderate a limited amount of work, not a tidal wave like noise on the "New" page on Hacker News.

So I think you need both: a high quality team, and a (rough) automated filter to restrain the amount of work put on the team.
Your RTFM strategy assumes...
What makes an industry a "key industry"? I did a search for broad categories of production (http://research.stlouisfed.org/fred2/search/industrial+produ... ), the only one where I could find a decline was mining: http://research.stlouisfed.org/fred2/series/IPMINE

I suppose I can see some strategic issues with mining, particularly given China's recent protectionism regarding rare earths. But on the other hand, if they really cause us problems, we can quickly make them capitulate by repudiating all their bonds and cutting off trade.

Also, I agree that the current "party" in which China taxes their citizens to lower the cost of goods they send to us will eventually stop. But it's unclear to me what this has to do with our increased production levels - in fact, such a move will likely increase our production levels.
Stepanov recently gave a talk at Stanford's EE380 about his book Elements of Programming.
http://www.stanford.edu/class/ee380/Abstracts/101103.html
http://ee380.stanford.edu/cgi-bin/videologger.php?target=101...
This will also be very useful for those of us with iPads, who want to code on the go. :)
http://news.ycombinator.com/bestcomments