skysight-inc/HackerNews huggingface dataset:
What how do you have to know about the implementation of the function? Think of something like quicksort or a partiton function (partition 2 [1 2 3 4]) => ([1 2][3 4]). How do you have to know anything about that functions implemantation. Sure if the function has a name like myfunction and no docs then you have to look at the code but thats the same with OO.

In clojure you can say (doc anyfunction) and you will get a description of what the function does and it does only that.

You describe the perfect case in OO where you have only objects that only have immutable members and pure methodes. :)

I n the realworld I you often see that something does not work anymore because im some other object some variable changed or that it worked first but after a variable somewhere changed it breaks. With inheritance adds to that a hole set of new problems.

I'm not saying you cant make a good design with object im saying with a FP stile its easy to do the right thing while with objects its harder to do the right thing.

Thats as good as I can argue in a comment.
The original reddit discussion: http://www.reddit.com/r/programming/comments/1aefl/picol_a_t...
Memo to crowdsourcing: Grow up
The amount of effort put into inconveniencing the user is really incredible.
How is Visa responsible for all this?

Because Paypal's general annoyance factor is (likely) the path of least resistance for compliance with Visa's rules for a person-to-person payment service.
The most precious gift
Twitter Users Congregate Based on Mood, Study Says
Every time I go to my bank it needs to re-authenticate me? It doesn't remember the sites I go to frequently? I need to login again every time I go to HN?

You can still let your browser remember your passwords. This reduces 'authenticating' to simply clicking a button. Or you could configure a whitelist of sites that are allowed to keep your cookies for a longer time.

And to 'remember' sites I go to frequently I have bookmarks (and my own memory). Then again, browser history did save my ass multiple times. It's the cookies that annoy me.
A third possibility is that blame is assigned to the operators for political reasons.
I've had a one-line bug-fix pull request rejected with the answer of something like "that's fixed in version 2". Well, I'm glad it's fixed in v2, but now I have to maintain my own fork until v2 is released and is stable enough for production use.

I have massive respect for Dmitry's pure abilities and the library as a whole, but trying to contribute is pretty frustrating.
I know you're joking, but from what Udo is saying, it seems like this is stopping the body from killing off corrupted cells. So if anything, this would actually be a step closer to super hero mutation.
Twitter isn't a "thing" any more than the telephone network is a "thing", it's a communication medium, and thus has a kajillion different forms.
Interpretation usually isn't as fast as speech. If you watch an interpreter you'll notice that when the speaker pauses the interpreter is often still going. Often it can lag by a few seconds or more, depending on what's being said.

If they didn't interpret the gestures, they'd fall out of the stream and be harder to understand. For example, if a professor says "You can see here [points at figure A on the board] that ABC and here [points at figure B] that XYZ..." you need to have those "points" in the right places to understand them.

Certainly not all gestures a musician makes are significant, but some probably are.
Disagree. Outside of a brewery itself, most free beer you encounter is the cheapest swill available.
A tool more frequently only used by professionals. I can't recall a single friend or family member using or even talking about RSS. How about you guys?
Definition in the News: Meltdown
Ah, I was hoping this was going to be about a stored procedure mechanism for Redis.
Titles and Promotions (Ben Horowitz)
Will it be near the Shibuya Eggman Nuclear Reactor? --> http://www.japanprobe.com/2011/03/16/fox-news-clueless-about...
Well, if this idea of "streaming" physical DVDs ever actually caught on, I'm confident the movie companies would sign a deal with e.g. Netflix to offer those same movies for streaming with a per-view fee. They'd have nothing to lose and would make more money.

You really think there won't be rational movie streaming licensing in our lifetime? I'll take that long bet.
Your friends and family use RSS every day.
A “Y Combinator For Education Startups”
No mention of the incredibly awesome socket.io?
I have a lot of criticism on the Max's conclusion:

The observation is right, and I think almost everybody in the HN know that.

Now, I don't get the "... event notification model is much more efficient than a poll model, both in programming and in the real world."

Efficient in what terms? energy? because what I am seeing in my micro-internet-world is that the mainstream news/links are more mainstream and the Internet exploration goes to the bottom. I see repetitions of repetitions of repetitions and it feels like TV.
looks smooth and slick ^_^
MyDLP on Earthweb
Ex-Rad, a radioprotective drug developed for the DoD
Bitwise operations coerce the value to a int32. If a value cannot be reasonably coerced to an int (e.g. 'foo'), you get zero. It's basically the same as parseInt(x,10) but is generally faster, you don't need to remember the radix, and you don't get NaN. The downside is that trying to coerce numbers outside int32 will give incorrect answers.

The other way to write it is 0|num which has the advantage of only applying one bitwise op.

These tend to crop up most often in graphics oriented libraries.
Curtis Warden: Don't Let Any Obstacle Stop You
The Font kills the whole thing for me.
Chip-Scale Atomic Clock
You can set up default private browsing/incognito mode if you want to. None of the major browsers have support for doing it through the normal options GUI as far as I know, but getting it working isn't at all hard.

In Firefox, set the "browser.privatebrowsing.autostart" about:config flag to true.

In Chrome/Chromium, append " --incognito" when starting to open an incognito window. Alias it or add it to your GUI shortcuts to start it that way by default.

In IE8+, append " -private".
Because Visa puts all the risk of fraud onto PayPal.
MyDLP Virtual Appliances Re-Freshed
There's always someone trying to make everyone out to be a hypocrite. It is not a conflict to both have a belief and not act within that belief.

It is only not a conflict if you are, in fact, a hypocrite, and do not bother to judge yourself by your own standards.

If the world suddenly started working the way he described and he still tried to sell things he expected others to give away then it would be hypocritical behavior.

This is the shelter that most hypocrites hide under, claiming that they can't possibly be expected to live by their own high ideals until all men are good and fair and wise. It is the claim of every communist dictator who hoards the wealth he denies his citizens, and every capitalist who colludes with government for protectionism and corporate welfare while crying for free-markets, and every cheap preacher who slinks around with prostitutes while bleating about the sexualization of our culture.

If you dedicate yourself to high ideals, then dedicate yourself to them, and show the world that they are ideals that humans can live up to. If you are too enamored of worldly ways to do so, then be willing to forgive others of the same.

The great Oz has spoken.
One-page article: http://www.washingtonpost.com/wp-dyn/content/article/2011/03...
The reasoning does seem a bit odd though:
Good reasons should be provided to change something, it's not as if the normal is to change material just because a related entity requested it.
A geek looking for a female geek for short/long term project partnership
True, but I think it serves well for a quick intro.
Maybe it's just the news I happen to read, but I've read a lot of "bubble" stories recently, and almost every one brings up the pets.com sock puppet; I don't understand it. Was it just the most memorable (however irrelevant) icon of one of the biggies that happened to fail in that era?
I haven't really thought about economics as a soft science. I suppose its more objectively measurable, so I wouldn't necessarily lump it in with fields like psychology. Good point to ponder though :)
Is that you Diogenes?
In case you want to use syntax highlighting on code in Keynote I've found that using http://gist.github.com to highlight and then copying the code into a text field in Keynote will retain the syntax highlighting and is a simple way to get syntax highlighting across a wide variety of languages.
Beauty, Through Pinhole or Plastic: Randy Smith's Custom Cameras
Bug Growth is Proportional to User Growth, and Bugs are not Technical Debt.
Oklo - Natural Nuclear Fission Reactor
Good-bye Google Gears, hello HTML5
All That Logging in Makes Dropping Out Much More Difficult
"Messaging" also means loose coupled. It enables things like Structural interfaces (you implement what you implement) like in Go, instead of declarative interfaces (you implement what you say you implement) like in Java/C++/C#.

"Messaging" and its loose coupling also means the ability of doing Method Lookup Alteration and Interception [1], such as those provided by Smalltalk’s doesNotUnderstand, Ruby’s missing_method and Python’s __gettattr__ method. This is crucial because it allows you to compose objects, as they are strippable down to the Common Lisp Object System system: an object is a function that takes a message specification (method name and args) and decides what to do with it.

Yeah. Messaging is really important and powerful. It also explains why Alan Kay also said: I coined the term object-oriented, and C++ wasn't what I had in mind.

[1]http://www.google.com/url?sa=t&source=web&cd=2&v...
Generalizations... For example is iTunes truly changing the face of the music industry? No, true music collectors, you know the ones that will remember a song for more than a week, seek high quality, both content and file format music elsewhere.

The same will happen to the non-braindead of the internet, sure garbage pushed information will become popular (like a G6) but truly good content will not disappear. It will however become harder to find, but that's a revolution for a later date.
Duh. missed that one.
"He says the enormous size of the social and mobile Internet market — tens of billions of people — dwarfs the markets for the fledgling Internet (billions) and personal computers (hundreds of millions), putting companies such as Facebook, Twitter and Zynga in prime position to strike it rich in IPOs."

Hm, I'm glad to know that aliens are joining the social and mobile Internet market! :D
3 Tenets for Implementing a REST API
Updated Amazon Linux AMI (2011.02) Released
Think of something like quicksort or a partiton function (partition 2 [1 2 3 4]) => ([1 2][3 4]). How do you have to know anything about that functions implemantation.

Well. I need to know that it accepts two parameters, first being an integer, the second being an array of integers.

In an OOP solution this would at least be exposed by type signatures, something you don't always see in FP solutions (often due to type-inference). Hence you need to check the implementation.

And this is for a simple example. What about more complex example? Where the input-data has a more complex nature? Take the following example:

var data = [ { id: 1, value: 2 }, { id: 2, value: 3} ];
var ordered = orderByValue(data);

Ignoring the "var data ="-line: Without checking the implementation, how would you know how the input-data should be formatted? What types and properties are needed, and in what format the function accepts the data? A seq? A list? An object with properties? You don't.

In C# the same function would probably be contained in a relevant class and have a signature akin to the following:

IEnumerable<ValueHolder> OrderByValue(IEnumerable<ValueHolder> data)

Now I know what it returns, what it expects and don't have to worry about that. The type-signature tells me everything. The types it expects tells me everything. Moreover, this is probably already implemented on a specialized collection class, so all I need to do is:

var data = new ValueHolderList();
// populate
var ordered = data.OrderByValue(); // notice -pure- implementation in OOP ;)

Again. The implementation tells me what I need to know. Details are blackboxed, abstracted and objects easy to work with. I don't have to worry about functions, context, what they expect and in which order the glue is expected. In FP you are more commonly exposed to the internals of things and need to figure these things out yourself.

I'm not saying I am 100% right and you are 100% wrong. I'm saying there is lots of grey here which this thread doesn't really seem to cover or acknowledge.

FP is not a silver-bullet and nor is OOP. FP has strengths. So does OOP. Lots of the "weaknesses" I see people complain about with regard to OOP here are what I consider weaknesses in FP and strengths of OOP.

I sometimes wonder if we are living on the same planet.
Book Review: Eloquent JavaScript: A Modern Introduction to Programming
Why would I want to be interrupted? That sounds annoying. I check Twitter and Facebook when I want to see updates. They aren't being "pushed" to me.
Not really. It's a step closer to randomly dispersed neoplasia/tumours popping up around your body!

step closer to have super hero mutant children, perhaps, if it's keeping your gonads alive but mutant.
I can't wait until the 70% transparent, white-fill gradient half-circle is no longer masked over logos and icons.
Nothing tastes better than a beer I brewed with my own labor.

Currently have a Dopplebock and a Belgian Pale Ale in the fermentors.
OK, I added the screenshots that show the adservers as well. When I was writing the article, I was told not to involve any party that has been defrauded and did not give explicit permission to be involved in the story. Since I see them mentioned in the WSJ article, I feel that I can put the relevant screenshots there as well.
Thanks for the replay.
I work at Ebisu so it's really close.

I might be able to drop by since I think I can get out of work early.
I'm new to the notion of the silhouette test (had to google it) so forgive my ignorance, but how does this logo pass that test? Isn't its silhouette just a circle...?
Entrepreneurship in China - Let a million flowers bloom
Japan Tsunami Aftermath (津波の余波) - video
Absolutely. I'm trusting these reports to evaluate something (nuclear facilities) I know nothing about. It's the best information I have.

On a related note, people seemed to be really focused on blame. The question of who (government, corporations, individuals) is to blame comes up all the time. Personally I don't see this as a very important question. I mean let's say we study the situation and decide to blame the operators. Then what? What have we gained? A scapegoat? That does nothing to help us make future decisions.

I think the focus on blame is a distraction from our understanding of the situation as a whole. The chain of causation never really ends. Even if you could single out a individual operator as the cause of an accident, who hired them? trained them? Why does one person have so much power without oversight? Why were their actions not noticed? What aspects of the culture of nuclear power allowed this to happen?
Don't presume that it's just DNA degradation per se that gives rise to tumorigenic cells. (Mis)repair can be a key cause of cancer.
He's lost all sense of scale. If there's anything that should set off bubble alarms it's this kind of blowing things out of proportion.
[New Video] Black Eyed Peas - Just Can't Get Enough - HD 720p & 1080p
Amazon Wireless Selling HTC Thunderbolt 4G Android Phone, for Just $179.99
Nice anecdote, but what exactly is prescient about it? Perhaps I read it too fast and missed it.
DjangoCon Europe: tickets on sale, submit your talks
Ask HN: Designers, what is the single book developers should read on design?
Huh, where did I even get the 300 number? I was sure of it! Kids, don't trust your brain, check the facts you think you know!
Indeed. A good yarn and an enviable experience, but not prescient of anything, or even relevant to the incident(s) in Japan.

tl:dr: nuclear reactors emit radiation.
Very nice project. I'd like to show it to every nay-sayer in the recent ``C, The Beautiful Language (tenaciousc.com)'' [1] thread.

----

[1] http://news.ycombinator.com/item?id=2325065
It's a sad day when you can't trust a porn site
Select 2 Buttons - An Alternative Way To Displaying Standard HTML Selects
Loved this blog——pithy, humorous, and offering a clear opinion. (I don't have to completely agree with the opinion to enjoy it; some of the rebuttals in this comment thread have been more convincing.)
Nuke anything ftw
https://addons.mozilla.org/en-US/firefox/addon/nuke-anything...
Windows Phone 7 Part Deux - Microsoft respond to developer
Well, to be fair, a step closer doesn't mean it's not still basically impossible... but you're right, children are a far more likely vector.
I agree that fine-grained assignment of blame may not be that useful, but that doesn't mean that finding out where things went wrong is useless.

Maybe companies always focus on profits over safety; in that case, maybe nuclear reactors should be state-owned or not exist at all. Maybe the governmental oversight failed; maybe anyone should be allowed to inspect the reactor, or the IAEA should be funded to do regular inspections. Maybe one operator did something wrong; maybe hiring practices should be revised, or maybe any important decision should be signed-off by two senior engineers.
Brushing Up on Computer Science Part 4, Algorithms
I don't think gender should matter for things like this.
Wait a second - attendance at SXSW really costs ~$1000?
When you have an expert parent (or other adult influence) you can, and frequently do, learn things in a "weird" order. Further study after study from teaching land shows that "the natural order" to learn things is not nearly as fixed as one would think, the order you learned in is not the only way. The order you were taught in is not the only alternative way.

I remember I started learning in C, reading security and working on perl all the same time. I didn't even know about SQL for a couple years after that. This was in the late 90's and early 00's tho, things were a bit different, but it isn't improbable nor impractical to have this learning curve in a semi-self taught way. It is even less improbably given that her dad probably taught what he knew best, C and Kernel stuff.

When I was a kid, my grandfather was an electrician. I grew up learning about house wiring, and how to do it properly and quickly. I learned how to solder and do stuff with wires long before I ever did basic electronic theory stuff. It never occurred to me that 120VAC was any more dangerous than a small fire. Imagine my surprise when in college I first encountered these professors who were terrified of wall current ('of course it will hurt you, just don't be stupid' is still how i think of both fire and electricity, the stuff isn't magic). I was confused when we went over stupid "this is how a dpdt switch works" and annoyed that we never played with any circuits more advanced than I grew up doing for over a year. I had never had any basic electronic theory at that point.

So: do you disbelieve me because I didn't learn in some natural progression as an electrician apprentice would? Because I didn't learn in the order the courses laid out in college?

tl; dr -- the idea of a "natural progression" in learning is just bunk.
Some guys like that bottled beer /
Some like it in a can /
Some say a keg's the best beer /
For a real beer drinking man /
Everyone has their favourite /
But on one thing they agree /
The greatest beer in all the world /
Is the one you drink for free

Free beer free beer /
That's my favourite brand /
If I didn't have to buy it /
It's the best beer in the land /
Warm flat funky /
It don't matter to me /
The greatest beer in this whole world /
Is the one you buy for me
Running translation of quake-related tweets from Japan
Related: http://news.ycombinator.com/item?id=2336008
> But just like I don’t use custom HTTP headers because of concern that proxies may strip them off

Is this an actual problem? HTTP headers are normally significant in REST APIs (well, in HTTP generally), so it seems unreasonable that a proxy would alter them.
That, unfortunately, I could not observe. My intuition says that he had a PPC feed for his parked domains and he was using the click.mygeek.com etc services to click on them.

Note that he was not always clicking on the links, to maintain a reasonable low clickthrough rate for the ads.
This.

I don't get why browsers allow long term cookies by default. Session cookies should be allowed by default, but "normal" cookies should be off by default. I've had mine off for years now without any noticably bad effect on my browsing...
Let's discuss: Will IE8 follow IE6 footsteps?
Microsoft left out XP users from IE9. 50% of population use XP. No ways to upgrade to better browser. What are your thoughts and development plans?
Homebrewed beer is surprisingly inexpensive, and easily beats any cheap beer.

Of course, I live in Michigan, and there's no shortage of good beer around here. My office is within spitting distance of the Founders taproom. :) (http://spv.yi.org/~scott/img/drpn!_mug.jpg)
Welcome to 1996. Pointcast anyone? Advertisers love the idea, people, not so much.
Google gives '20%' to Japan crisis; creates Person Finder
Please, please, please don't use the word "bubble". Ever. Even if there is a bubble going on, and there's definitely not right now, don't ever use that fucking word with regard to technology.

First of all, what we have now is something different. Getting venture capital is still incredibly difficult for most companies. As in, if you have a 4-person startup you'll probably have one or two people working full-time on the funding game, which puts significant drag on technical growth. Not fun. Moreover, most startups I know about describe a tension between true technical excellence (scaling, robustness, and correctness, all of which become critically important in the middle and end game) and chasing the more superficial features that appeal to VCs.

Facebook, along with a few other startups that have capitalized on this bizarre and silly "social" fad, is probably overvalued. Everyday startups are still severely undervalued. It's a different pattern than the one in the 1990s. In the 1990s, people were absurdly optimistic not only about technology, but about the economy and society as a whole. People actually believed, in 1999, that society had permanently transcended the idiocy (um, wrong!) that characterized the bulk of human economics and social relationships throughout history. They were loopy. In 2011, people are dismal and depressed and anxious and only a few of the perennial optimists are starting to perk up (they were always there, but people are now listening to them again; I have no idea whether that's a good or bad thing for peoples' money, but if it's good for smart people with ideas, we must encourage it).

Second, anything that pulls opportunity into the hands of the smart and ambitious, instead of the socially well-connected who usually monopolize it, must be encouraged, no matter what its financial implications are. Anything (except a war) that gives smart people a chance, which most of them haven't had for a very long time, must be encouraged.
C'mon! It's just a bit of fun!
Ask HN: why can't I downvote?
I've been on HN for a while now, at the time of writing my karma was 380 with an average of 4.25. But for some reason I still can't downvote - why is this? Everything I've read puts the limit to do so around 100 (although it seems like this can vary), is there some other criteria as well?
What I am not able to figure out is why aren't more robots or tele-presence units involved? I know a million gamers who would volunteer to do this stuff.