skysight-inc/HackerNews huggingface dataset:
Bugs in time-based code are great. The most amusing example I've seen was an intermittently-failing automated test case which, I discovered after careful scrutiny of the results database, failed only on Sundays.

There's also the classic time zone unit test "convert this Europe/London timestamp to America/New_York time, verify that it is now 5 hours behind", which, due to Bush's pointless Daylight Saving shift, now fails for two weeks twice a year. Of course, two weeks is just short enough and the bug is just inconsequential enough (the time zone code itself is working correctly, after all, it's the test case that's broken) that the regression goes away before anybody fixes it.

I can only imagine how much otherwise robust code flips its lid when presented with, for example, a leap second. It's the number one argument for the use of mock objects in testing.
Regarding Clojure, while compojure is popular, a compojure centric view of web programming is misguided. Compojure is part of a growing ecosystem of libraries built on top of ring[1][2].

Firstly this ecosystem is not analogous to rails or django. The closest is that Compojure is similar to Sinatra i believe.

If you are looking at getting started with web programming in Clojure you need to get familiar with ring (the http abstraction) and look at Compojure and Moustache (routing and handler composition), and Enlive[4] and Hiccup[5] (templating/html generation). Compojure and Moustache are fairly similar, but Enlive and Hiccup are extremely different. A web application will consist of ring plus one of each layer.

As has been mentioned by others in this thread, the depth, breadth and currentness of documentation for these libraries varies. David Nolen has a great tutorial for enlive[6] that i would encourage anyone looking at these libs to work through. Enlive is one of the most compelling aspects of the clojure web ecosystem at present.

These libraries provide the core pieces you would expect to see in any web framework, but a lot of the smaller details are missing. Of note there is no ORM for clojure (for obvious reasons) - If you are looking for a good SQL abstraction you should look at ClojureQL[7] - and aspects such as form generation, validation and processing is still in early days.

My day job has me building web apps with Django. I wouldnt suggest that my coworkers and I jump to clojure / ring et al yet. The breadth of libraries and out of the box stuff in django is still a huge advantage for the day to day rapid web site / web app development, however clojure's story is improving rapidly and i think that the functional model is a particularly good fit for web applications.

I cannot compare clojure's story with the other languages and frameworks mentioned.

[1] https://github.com/mmcgrana/ring/
[2] This is true of compojure 0.4 and newer. compojure existed prior to ring (with hiccup as part of it).
[3] https://github.com/cgrand/moustache
[4] https://github.com/cgrand/enlive
[5] https://github.com/weavejester/hiccup
[6] There is a link in the enlive readme
[7] https://github.com/LauJensen/clojureql/
InPulse Adds A Smartphone-Like Experience To Your Wrist Watch
Good list. I think it would help to sort them by country first and then by city though.
That won't be a case of upbringing, so why are gay men more likely to like the colour pink than straight men?

Are they? I haven't seen any studies on that, and my anecdotal evidence certainly doesn't corroborate that idea.
I don't have a partner or a child, so what I think I'd do isn't worth much. I'm not even sure I'd have the courage to intervene as a single person. But I hope I would.

And I don't think having a partner and child would change that. Because I don't want my children to grow up in a world where someone would walk by them getting raped and ignore it. I would rather they grow up in a world where their father died to help someone.

The same applies to Applebaum. I don't want my children to grow up in a world where it's considered good and decent for them to be ostracized by people like you for making choices like Jacob's. I wouldn't want them to grow up with a father who supported that.
What? I'm just saying they haven't gotten there yet, so there's no use trying to evaluate whether Khan Academy will work on more subjective areas of learning.

I do see maths as being the easiest subject to use this method with and only time will tell if it can be extended successfully to more subjective subjects.
I'm assuming you're Jacob? I'm curious how accurately you believe the article portrays the harassment. It's hard to read between the lines, and the Stranger is biased to the left (not that this invalidates it). Have you consulted a lawyer about legal recourse? Is UW supporting you?

It says that (presumably in Newark?) you were handed over to a US Army official. Are you certain the individual worked for the Army?

Wikileaks and the Federal Government's response to it is fascinating to me. I'd love to hear more details than what little teaser of an article offers.
Usually don't see these blogspam "32 Great Links About [keyword]" on HN.
I'd absolutely contribute to that, it's an awesome design.
There are plenty of good reasons to take a more cowardly route. I know plenty of good people who have decided that this isn't a good battle for them to fight. I still respect them, but backing down from this is a cowardly thing to do. If you have a lot to lose it is indeed much much harder to stand up for what is right. That does not mean Jake chose the wrong word. It does not mean you are not a good person either, it just means you're in a bad position to take a stand.
Mixminion: Design of a Type III Anonymous Remailer Protocol [pdf]
If you want a challenge, and want to read some really dense academic deconstruction of gender and gender roles, I recommend Judith Butler, specifically "Gender Trouble" and "Undoing Gender".

And hopefully someday Kahn Academy will do a video series explaining her work in laymans terms. :)

EDIT: Can't reply, so I'm responding to the comment below here:

Symmetry: no room for the reality of Gender Disphoria or cases like David Reimer's

Actually, Judith Butler's book, "Undoing Gender" is specifically about the case of David Reimer.

I'm definitely not going to say that her work is without flaws, there are many, but she's one of the foremost gender theorists out there, so I think her work is worth exploring.
I prefer Eliezer Yudkowsky's take on it,

Ignorance should not be celebrated in the first place; I've made this point before. It is a corruption of curiosity to prefer the question to its answer. Yet people seem to get a tremendous emotional kick out of not knowing something. Worse, they think that the mysteriousness of a mysterious phenomena indicates a special quality of the phenomenon itself, inferring that it is surely different-in-kind from phenomena labeled "understood". If we are ignorant about a phenomenon, that is a fact about our state of mind, not a fact about the phenomenon itself.

http://lesswrong.com/lw/kj/no_one_knows_what_science_doesnt_...
Despite falling under the LGBT heading myself, I don't have any special insight here either, but as far as I can tell it's really just a signaling behavior. We've been conditioned to see pink -> feminine, blue -> masculine, and I believe that translates beyond just the pastels we're used to seeing small children in. When I think about a real "man's man", one of the first things to come to mind is a guy in blue jeans -- I can't help but think that that's related.

Again, unscientific, but it makes a good bit of sense I believe.
Thanks for the reply, I get what you're saying and agree to an extent, the question was rhetorical though.

> Your map function (which has the arguments reversed fyi)

Oh god, jquery is php.
I highly recommend the film "Trumbo", about the Oscar-winning screenwriter Dalton Trumbo, who was blacklisted for refusing to say whether or not he was, or ever had been, a member of the communist party.

It is extremely relevant to all of this discussion, including the question of whether one should sacrifice the wellbeing and safety of one's family in order to promote a cause that's somewhat secondary to them.

Lots of people lied under oath, or turned other people in in order to protect their families, because they didn't want to "risk it". But Trumbo and several others stood up for their right to free speech and paid dearly for it.
The cost for health insurance varies a great deal from state to state. I don't want to sound like my dad, but anyone who thinks they don't need heath insurance is kidding themselves. If you do something as minor as break a leg you can go through $20k pretty quickly (i've had a friend or two who did that). Too many twentysomethings think that they won't hit a major health issue, and for the most part they're correct but there are exceptions that happen every minute of every day.

For advice on other issues like setting up your won payroll or doing a 401-k plan talk to your accountant for advice.
Yup, just like chatroulette

Message received from 858-XXX-XXXX at Sun Apr 10 2011 21:59:46 GMT+0000 (UTC)
What nonsense do you speak of? The humanity!
Reply received from 724-XXX-XXXX at Sun Apr 10 2011 22:28:29 GMT+0000 (UTC)
8========================D
Isn't that just semantics? Is a master woodworker not an artist?

Do you mean a highly skilled crafts-person, i.e. an artisan? Or do you mean someone who creates experiences that challenge one's understanding and perception of themselves and their world?

I have seen some really beautiful furniture in are galleries (functional furniture too).

So have I, but I've yet to see any furniture that created an experience for me similar to to that of seeing certain works by van Gogh or Delacroix or Duchamp, or hearing works by Tchaikovsky or Reich.
A is for Atom
Maybe you're solving a different problem, but I'm not sure emitting one key-value pair per line is ultimately the way to go:

$ echo '[{"a": [{"b": {"c": ["foo"]}}]}]' | jsonpipe
/ []
/0 {}
/0/a []
/0/a/0 {}
/0/a/0/b {}
/0/a/0/b/c []
/0/a/0/b/c/0 "foo"

In my own work, I've built up a suite of stream-based nested record processing tools that accept & produce JSON, protocol buffers, and a unix tab-delimited format. For the unix format it's been more useful to stick to the standard one-record-per-line thing, and let the user specify what fields to extract and their order.

Here's a depressing example of the fun you can have with new media and old unix tools, to give you some idea:

$ mill io -r json -w texty -W fields=in_reply_to_screen_name < tweets.json | \
grep -v -E '^(None|)$' | sort | uniq -c | sed -e 's#^ *##' | \
sort -k1,1 -nr | head -5
258 justinbieber
248 ddlovato
184 gypsyhearttour
164 Logindaband
145 Louis_Tomlinson
I can see where you're coming from because you've already determined that you don't have anything to lose by standing up for yourself. However, the folks that distance themselves from you undoubtedly have things to lose, and can't afford to share your fight. You could certainly label those folks as cowards, but I think it's a bit disingenuous.

As you are finding out, the government can take a lot from you when you piss them off. In the case of people who otherwise share your sentiment, it's simple risk management to protect your loved ones from similar treatment, particularly if you're raising a family. Not many employers will stick with you if you get this kind of harassment in your personal life, because it will eventually affect them too; that cuts right into feeding your family, which is high on my list of things I will not sacrifice. Putting my family above an ideal is not cowardice, particularly when my family isn't even aware of the reason for an ideal and definitely doesn't share it.

It's also dangerous to assume that a given outcome is unlikely for any set of circumstances. Continuously, we read about things that blow our mind when governments abuse power, and there are probably far more things that we are not lucky enough to read about; if they really wanted you gone, you'd be gone tomorrow and none of us would ever know. It stands to reason that you haven't disappeared yet because they want Assange. Planning for the best from your adversary is a dangerous path, I think, but I know that you're far more familiar with your own circumstances than Mr. Internet Commenter here is.
There's a difference though, at least if your fedexed laptop gets pulled for examination, the customs agents don't get to play their sadistic "make you pee your pants" game while they look at it...

I'm seriously surprised the customs agents keep getting away with that. I'd like to think any Australian customs agent responsible for those sorts of tricks would very quickly be without a job and paying for his own defense lawyers... (And yeah, I'd probably be sadly disappointed in my own countries response to customs abuse of power too...)
I'd also highly endorse reading Johnny Got His Gun.
Shouldn't the second one be:

var d = $('div'),
a = $('a');

a.each(function(i, el){
d.text(d.text() +' '+ a.eq(i).text() );
});

Using eq(i) rather than index(i)?
Great list, I figured I'd give you a few more for the corner of the world that I do know:

Toronto also has "Basecamp Ventures"/Mantella Venture Partners (http://mantellavp.com/), which is focused on early stage companies. PushLife (which just last weekend sold to Google for a reported ~$25M) was a graduate of that system.

There's also the Waterloo Accelerator center (http://www.acceleratorcentre.com/), which is part of the Ontario Center for Excellence, and is loosely affiliated with the Toronto counterpart, MaRS (http://www.marsdd.com/)

edit: removed the Velocity accelerator, I saw you have them mentioned under university affiliated :)
Can’t Build A Real Startup? Play The ‘Startup Fever’ Boardgame
If I where under 32, healthy, and single, I would go with a Major Medical plan where anything under 5K is out of pocket. I would put 5K away in a savings account and then be done with it. In the long run it would be cheaper.

Being that I am not and that I have a family I must carry a plan. After I left my last position I carried COBRA until it ran out. It was the best plan that we have ever had and we kept it until we cold no longer. After that, we picked up a policy via our accounting firm. Our Accountant's firm manages a lot of small business, consultancies and start-ups and acts like the accounting department for each of them. It is like timeshare accounting (and HR). Anyway they can negotiate group policies because they represent a larger pool of people which works out well. I always tell people a good accountant (and lawyer) are worth every penny, it is the people who most believe that they can't afford an accountant that usually can't afford to not have a good accountant.
With that in mind, is there ever a legitimate reason to seize all electronics, up to and including gaming consoles[1], from a security researcher (warrant had to do with MySpace, not anything console related)?

Sure! A court would never convict the guy of anything, but Someone still thinks the guy should be punished. "Hi, we stole all your possessions again!" can be a good way to persuade people to interest themselves in a different field.

(I have to think this is intentional. If the government didn't want seizures to be punitive, then there would be a law that every device has to be paid for or returned within 10 days. But this is like the bill of rights for the government; a convenient way of circumventing "oppressive" laws when necessary.

Oh. I made myself sad...)
"If you think that a language that is lazy (or worse, unspecific) about types lets you write code faster, I think that you have some fundamental problems with how you approach development.

The whole dynamic languages = faster code production is an unsettling school of thought, in my opinion."

Well, that's what I used to think too. The million dollar question is ... have you tried it?

I did a heavy Javascript project recently, and I was amazed at how much faster I could go from a vision of a complex solution to having that solution implemented.
Killing Products, Finding Product People & May Visions
Largest bitcoin bounty paid for animation about the system (8500BTC, ~$6000)
I might add: especially to entry level jobs. These jobs are hard to judge candidates for- you can't evaluate their past work, you have to evaluate their potential for future work.
Animation that got the bounty: http://www.youtube.com/watch?v=Um63OQz3bjo
Physical education is the new math. Students don't like to be trapped in stuffy classrooms. They want to be outside and run around in the fresh air and sunshine. Over the semester, not only have my students improved markedly in physical fitness, but they've learned critical problem solving skills. We're playing football. They've developed increasingly sophisticated plays, analyzed defenses and developed counter-strategies. They fluidly execute novel strategies informed by planning and an awareness of the evolving whole-field situation. Clearly, PE is the new math.

WTF? Math has specific content and method. A proof is not a program. A for loop is not an integral. Your vaguely technical subject is not a substitute for math just because your students seem more engaged. Teaching people to think logically isn't the point of math, any more than it is the point of history, biology, literature or, yes, even programming. If your students have fuzzy feeling when problem solving, they probably have fuzzy ideas about math. They haven't been taught clearly. If they're uncomfortable with reasoning in math, they haven't been forced to develop intellectual independence. And foisting of "check the steps" on a computer won't help. And don't get me started on how naive an ideas of correctness that is.
Http://www.addthis.com/bookmark.php?v=250&username=xa-4cebc5316e1c4ac8
Your first premise is flawed: I have not determined that I have nothing else to lose.
Good point, but in any case "I'm never going to use this" is hardly ever a valid excuse. Its consistent application would rule out almost everything we call education, save the narrowest vocational training. It's also self-defeating: if you don't learn it, then indeed you'll never have the opportunity to get a STEM-related, well-paying job for using it.

I could never understand some people's obsession with only learning things of immediate and obvious use. You should study math for much the same reason you study Shakespeare: to learn to think about things you had never thought about before, in ways that you had never imagined to exist.
This is a pretty cool idea. I'm sure DJ's and artists creating remixes would find it really useful. I don't know how much help I would be specifically but sticking the project on GitHub sounds like a good way to get some traction.

If you get it going I know I would definitely use it (and if I can help with any of the coding I will).
Sure, no doubt. You'll never hear me speak against having sales skills or any other kind of skill. I'm for having as many skills as possible. There are no "mutually exclusive" skills, so people who think gaining sales skill causes hacker skill to magically disappear are wrong. And there are those -- also wrong -- who think having programming skill automatically means you can't be good at communication.
I agree. Sorry that you're being harrassed like this. We have got to stick together and stand up to this.

Need any help?
Sokoban in sed: http://aurelio.net/soft/sedsokoban/
We've just graduated from the first intake at an Aussie program called StartMate (http://startmate.com.au)
I can see where you're coming from because you've already determined that you don't have anything to lose by standing up for yourself.

What? That sounds insane. In what sense does he have nothing to lose?

Bowing to bullies is cowardice, no matter how rational it is. The reason "cowardice" is a perjorative word is that usually seeking your own rational self-interest by accommodating thugs ends up hurting other people, and I believe that's true in this case, as well. If you don't associate with Jacob because you think it risks your own livelihood, you are providing a clear incentive for the government to pursue this kind of harassment in the future; you are the mechanism of their attack.
For what it's worth, you're paying too much; if you don't need much CPU or RAM, just a network connection, you'd be fine with a cheap VPS or EC2.
You are confusing the term "value added" with "value for money" (or "a good value").

Value added = quality of students after education - quality of students before education.

The amount of money put in does not affect this.

Value for money = value added / money spent.
and they are? ...
You know I almost specified my distribution but thought 'surely that wouldn't make a difference'. lol
Lissn.com reminds me of a far more polished "chatroulette for text" except I was able to talk to a lady in Japan for half an hour about the recent tragedy on Lissn, and I didn't have to disclose my cellphone number to anybody or get billed for using the service.
> In what sense does he have nothing to lose?

Based upon my quick reading, it sounds like he has nobody that depends on him. All of us have to consider that if we were to suddenly disappear from the face of the planet, who would suffer as a direct result?

> If you don't associate with Jacob because you think it risks your own livelihood, you are providing a clear incentive for the government to pursue this kind of harassment in the future; you are the mechanism of their attack.

Yeah, I detained him at the border. Good one.

You give the government a lot of credit for being extraordinarily clever. I have serious, serious doubts that people distancing themselves from inviting similar harassment (which means aiding Jacob, not necessarily knowing him -- I never committed on that point) is something that the government would consider a win. "We have succeeded by limiting new acquaintances!" That's hysterical.

This is the government we're talking about here, the world's legendary bureaucracy, the same government that can't even find bin Laden after how many years. They want Julian Assange, and they'll procedurally harass anybody they can to get to him until they get him. Assuming there's a shadowy evil plot to decrease Jacob's LinkedIn connection count is patently silly, and accusing me of furthering the government's attack because I don't want to risk my family for a cause is a pile of disrespectful and stupid.
The reason they do this is because dropouts hurt their ranking, while indefinite leaves of absence don't.
Nobody needs THAT much liquidity. The difference between trading in 1 millisecond and 1 second is negligible for all practical purposes.
This is not the solution for $5 of a poor mother in middle Africa. This is a solution for a <put a industrial country here>'s senator who wants to spent some millions for human activities. Believe me there are some. And these guys are maybe 50 or something. They use Microsoft Phones or Black Berries. They don't download apps in the Android App Store.

Thinking realistically that might really be a lot better solution Over the time I saw some projects that where really smart and really cheap for the people who need it, like water bottles, which could be used for building houses, or which could clean the water by itself. I never was in the poor regions of Africa, but I guess they still build their houses with different parts from plants and mud. I hope so much that this phone will work.

And just as side note, I'm really jealous of these hackers. Man, I'd also like to spend my time doing something meaningful like this.
Localstreamer mobile, avaliable now on iPhone / iPad as html5 web application