skysight-inc/HackerNews huggingface dataset:
Or if you're afraid, gem install gosh; wget http://uuner.doslash.org/forfun/sedtris.sed && curl http://uuner.doslash.org/forfun/sedtris.sh | gosh

https://github.com/sstephenson/gosh
:first-of-type is valid CSS3, though.
Maybe the question is better stated as: Where are the next Xerox PARC people?
As an Icelander, I think the link title is a little bit inflammatory. And very much an oversimplification.

I voted yes in the referendum, but I do understand the point of view of those who voted no. There has been a lot of FUD in the media - some believe these debts would cripple our economy, others think it's unfair to burden the general public with debts incurred by private companies.

And some of the no voters just think it should be settled in a court, not by negotiators and politicians who have failed us before.
Chile's Unidad de Fomento (UF), an inflation-indexed cost accounting
Ask hN:Is there any Startup Help in South Florida
We all hear of the Silicon Valley and New York. What about South Florida or Florida in general?
However, less funny is that curl doesn't work with https without a lengthy process of creating a CA bundle from Mozilla. This process happens to be much harder than installing a proper package manager that supports signed packages.
The point is to deter others.

(See my comment elsewhere in this thread).
Some subjects just cannot be taught from authority. The problem with math education, as I see it, is that primary and secondary school math teachers really can't answer too many 'why' questions (for a variety of reasons such as lack of knowledge or lack of time).

Teaching math from a programming perspective (or vice versa) should work since you must (as opposed to 'shall') model problems you care about in terms of math.
thanks man, good to know someone with a similar background.
import os.path as p

Renaming imports to single letters bugs me. I went to see where it's used, and it isn't. Binding pyflakes to Cmd+S in TextMate was the best thing I ever did, and it would have caught this. pyflakes is seriously awesome in that role, and pylint before committing.

I'm also surprised that simplejson is used, instead of the built-in json in Python 2.6 and up. A good solution is:

try: import json
except ImportError: import simplejson as json
You mean a "race condition", not timing attack.

There are lots of ways you can get bad data from a given server over curl, even if using HTTPS and the attacker does not have full control over the server:

* Typo in URL and typosquatter sends you whatever commands they want

* XSS in server-side scripts leads to injection of commands via unescaped tags

There may be others I haven't thought of. Perhaps a DNS glue record can be used to inject shell metacharacters where the server has an error handler that reports the client hostname? The fact that any of these are even possible shows how fragile this mechanism is.
Liked the presentation! I like the production quality with all the zooming. What apps did you use for the awesome picture-in-picture screencast?
It's not that simple. They signed a treaty agreeing to back those accounts (like the FDIC does) in exchange for having access to EU markets, even though they aren't in the EU. It seems they're breaking the terms of that treaty.
Здравословната Активиа
Ново от Активиа Закуска! Активиа Закуска с мюсли-
бърза, лесна и още по-полезна! Най-после можете да се
насладите на кадифения вкус на Активиа в комбинация с
вкусни хрупкави мюсли. Активиа ви дава още една причина
да се събуждате с усмивка
Dear Vic: Here's Your Google Bonus
It doesn't speed up. The sed program will wait forever for input, so it has no set speed.

The helper bash script gives it input once a second.

It uses the "read" command to check for input from you, and it will wait 1 second. If it gets no input it sends the sed program an enter.

Unfortunately "read" can not have timeouts less than a second (it doesn't support fractions of a second).

If you want, you could replace "read" with a different program that accepts shorter timeouts. And presumably you could have the bash script slowly decrease the timeout.
Interacting with the DOM is what's slow. It's especially slow if the native querySelectorAll method isn't available because any non-trivial selections necessitate iterating over the DOM tree. That's why you don't want to re-query a selection multiple times.

That's also why it's recommended that all selections start with an id. The size of the tree to iterate over can be quickly reduced using the native getElementByID method.

In the case of $(this), the DOM node is already passed to the event handler, so wrapping it in a jQuery object doesn't touch the DOM tree at all. Furthermore, I always cache it (var $this = $(this);) if I'm going to use it more than once.

Also, in your first example, you don't have to rewrap containers[index] in a jQuery object. All the elements in the selection are already wrapped.
I'm not sure I really agree with everything in his "Brainiacs vs Speed demons" chart. For instance, Power7s generally have higher performance than thread than 'Cores i's, and have about the same ILP. And given that Power7 is 4-way SMP instead of 2-way SMP like the Intel processors I'm not sure why the 'Core i's are listed as being more brainaiacish.

EDIT:
reference:
http://www.realworldtech.com/page.cfm?ArticleID=RWT040511235...
You bring up good points especially with getting speakers and getting angels. I do plan to leverage the groups by having them contribute in setting up speakers and finding qualified angels.

I'm more concerned about scaling this (that's the engineer in me thinking). At least five groups is somewhat manageable especially when it comes time to finding space to meet once per week.
First-Generation iPad Owners Hold Out for Something Better
I hate to pull a [CITATION NEEDED] but FedEx packages go through customs too. On what basis are they still allowed to seize drugs, money, counterfeit goods, weapons, but not an (alleged) terrorist's computer and cellphones?

EDIT: I used to work with a guy who had $300 worth of Made-to-measure shirts from the UK seized by customs. If they can do that, I'm sure they can find a regulation that lets them seize a laptop.
Ask HN: Help me open source my existing "Github for music" startup?
asarazan posted a now-deleted thread about an album he posted on Github. In the comments, I posted the following:

* * *

I actually had something like this built (before I started coding) as a startup out of Rails & Flex... but, after ~12 months of being unable to solve some UX problems and pursuing the wrong business model, it's now just sitting online.

URL = http://youphonics.com/login; username => hnguest; password => goodolyc

Since some of you actually seem to be into the idea of Github'ing music (ericb, baddox, asarazan, xpaulbettsx, mrspeaker, zcid, JoachimShipper, johnny22, beaumartinez...), it'd be neat if any of you want to help me package and open source the code base!

* * *

I hope that, even though the original thread may not have been appropriate... this is. :)

[Edited for formatting, added guest credentials]
Book hacker dojo in MV. (Actually, that's right beside YC)
What is interesting is that a social media presence influences your page rank, so all those sites citing SEM might be looking at a partial side effect of something that they don't consider important (not Facebook, but twitter, GetSatisfaction, etc).
All seriousness aside, how do we fed-ex ourselves across borders?
Weird, I posted this exact same link with the same title a month ago: http://news.ycombinator.com/item?id=2303109

Does HN use the URL as a primary key or something else?
> I'm also surprised that simplejson is used

2.6's json lacks simplejson's C accelerators [0] which makes it roughly 20 times slower than simplejson (2.7's simplejson is also ~50% slower than simplejson, as new performance optimizations were added in 2.1.0, as well as memoizations). Simplejson is also updated more often, which lead to it having less bugs, and interesting new features (the ability to natively serialize decimals was added in 2.1 for instance)

simplejson should be the preferred import, with json as a fallback if available.

[0] 2.6's json is simplejson 1.9; 2.7's is 2.0.9; the latest release of simplejson is 2.1.3 and 2.1.4 is in preparation
Or even simpler:

var collected = $('a').map($)

However, map as defined on jQuery objects takes a function that takes the index as the first argument, and the element as the second argument:

http://api.jquery.com/map/

So, what you actually want is:

var collected = $('a').map(function(index, element) {return $(element)})

However, jQuery.map has the element as the first argument, and the index as the second argument:

http://api.jquery.com/jQuery.map/

I would consider this to be the more intuitive way round, although I'd prefer it if both maps were consistent. So, you could write:

var collected = $.map($('a'), $)

which strikes me as the neatest version.
Well, I think I'm going to spend some time tomorrow looking at the jQuery source code to find out what really does happen but what I suspect is that using a selector is going to be a lot more expensive than creating a jQuery instance directly from an element - presumably using a selector means querying the DOM for matching elements (which could be quite complex) rather than simply wrapping a supplied element in a new jQuery object.

So if you do have some complex selector then I can see that avoiding re-running it makes a lot of sense - for DRY as much as efficiency. However, in an event handler you've been handed the element you want to work with and all you are doing is wrapping it in jQuery to make it easier to work with.

Or something like that :-)
Keep-a-goin'!

Start by reading all of these: http://www.paulgraham.com/articles.html

Then study all the YC companies, which I have listed on my site: http://ycuniverse.com/ycombinator-companies.php
TicGit-ng looks like it solves this problem (I haven’t tried it): https://github.com/jeffWelling/ticgit
Geek Nation: How Indian Science is Taking Over the World
'He' is a she: Rebecca Murphey

http://twitter.com/#!/rmurphey
http://www.rebeccamurphey.com/
This is for PyWeek - a one week long Python game development competition. This is one of about 50 entries in the competition.

You can see a screenshot, video, and diary entry for each of the seven days of work.

Here's a silent video of the last level in action: http://www.youtube.com/watch?v=jpITJNHLb6I
That's really nice. But why is it so hard to write a "console" in Javascript. You know, like a python interpreter. Enter python, press enter, next line prints the result.

Yeah, I know it's hard. I tried it myself, and it's a pain in the neck. Just asking that's all.
The TA teaching Calculus at college, learned that and the follow on Calculus II at his (european country I forget) equivalent of HS. He was amazed it was "college level" maths in USA. This was early 90's Univ Kansas.

The entire US education system, 1-12 through 4yr, is fucked.
Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On OpenSUSE 11.4
"Now That's What I Call Music" goes social (and digital)
How about creating youphonics as an org on github?
I'd look for something to help out with, given a public repo.
We actually keep pretty close to that, but have two implementational differences:
1. Namespaces are linked to a specific directory instead of just translated to a path
2. Our paths are fully lowercase

And I stand by those. The first allows for more flexibility when it comes to code organization and the second makes mistakes in classloading a lot less common. You can disagree with these but we have documented them clearly. Also it's quite easy to add another autoloader, ours won't even do a filesystem check when trying to load from an unknown namespace so it should add hardly any overhead to attach a Zend (or anything) compatible loader.
Personally, I'm trying to decide between the two.

I want the Google apps like Maps and Voice and Mail and really don't want to have Apple somehow deny me access to the partial access the iPhone has.

But also want things to just work and want apps to be curated. And I don't want to be stuck on a particular version of a platform just because the carrier won't let me upgrade.

So, thinking of the Nexus. I'm on Sprint and they're letting you switch to Google Voice w/o switching your number. Sort of waiting on that phone to be released.

But now I hear Android 3.0 got stability problems. Shades of things to come?
I had a short stint as a research assistant for a prof who's using programming to teach high school seniors and entering freshmen math skills [1]. I'd have to ask him how the research is going now, but the preliminary results were encouraging.

[1]: http://sites.google.com/site/computationalsystems/
GADT are really cool, but I would like to note three caveats:

1.

> in lines 13..21, an AVLTree type is defined -- with its invariants encoded in the type system

Its balance invariants are encoded, but its ordering invariants are not.

2. The code for manipulating AVL and red-black trees in GADT form is significantly more complicated that it would be if they were not in GADT form.

3. Sometimes, whether using GADTs or not, one ends up with code like this, from the AVL example:

> Nil -> undefined -- shouldnt happen

Needless to say, this negatively affects the comfort we might receive from the type system.

Having said all that, I think there are cases where GADTs are really worth the extra effort. Sometimes, they even simplify code when the alternative to GADTs is checking things at run-time!
There's an old saying "when all you have is a hammer, everything looks like a nail." A saying that often fits those enamored of HTTP tools....

Why do we have Spanish? Or English? Or any other language? Can't it all be said in one?

Similarly there are some things that get handled in one protocol that can't be as readily executed in others. Yes, you could do mail using HTTP transactions, but then you'd have to add all the layers that make up IMAP and SMTP actions. Wheel, meet your reinvention.
Is the future of music really a cross between a Tupperware party and a pyramid scheme (with a Facebook & Twitter integration)?

Being I never understood "Now That's What I Call Music" in the first place I feel I am unqualified to call it. I really hope that it isn't the future for music, though.
And :first-child is valid CSS2.1.
>Putting aside the flack Tumblr has gotten for their downtime issues of late,

I love how the author just brushes this off like it's not a big deal. I've tried to use tumblr because everyone goes silly for it, but I wasn't able to even set up an account because the site was down. That's fine for something like twitter but if using tumblr as a publishing tool for my business, what am I supposed to do when it's down?

Tumblr? No thanks. I'll take a wordpress site on my own servers all day long. If I really want some other platform to simply publish on, posterous is drop dead simple and doesn't go down.

But, that's just my .02...
I think your employers set you up for failure. Nearly all educational institutions make math seem like something only weirdos could enjoy, for their later employment as tools of industry.

I say that as someone who was once so motivated to learn math, I lied to a highschool precalculus teacher in order to take proof-oriented calculus at a university. (Though she thought she forebade me, I gained prerequisites in a summer-school, running as fast through the material as I was allowed, passing the maximum 3 tests per day — one test per chapter — once I hit my stride. This allowed me to take classes at a university with a highly regarded undergrad math program).

Yet... the university class was boring. Producing "rigorous" epsilon-delta proofs (and whatever else we did) was a tedious exercise which improved my abilities in no significant way. Probably made me dumber. I took only one more math class after that. All of it was a waste of time. Didn't "teach me how to think better" or any of that paternalistic claptrap.

I wish you did not blame your students for their "bad attitude." I sincerely don't mean to be rude, but maybe your attitude could also use some modification. In a better world, you might have been teaching an intro to enjoying one's inborn mathematical abilities, with a crack team of TAs from the psychology dept undoing everyone's damage from earlier schooling.
The rest of the entries for PyWeek can be seen here: http://www.pyweek.org/12/entries/
you can self-educate. you can educate in ways/venues other than college. further education is-not-necessarily-or-only college

however, college/university does typically take 4+ years, costs anywhere from USD$20-100k, and there's a lot involved other than actual learning. there are many ways in which we can improve upon it.
Spot-on about the "lower implicit price tag" bit.

When the EPA was trying to ban leaded fuel in the 1980s, the debate was largely over the increased costs from the switch (on the order of $1 billion a year) compared to the savings in maintenance from the switch to unleaded fuel. Health effects were factored in, but because of the uncertainty of the resulting benefits most of the cost-benefit analysis focused on measurable factors such as maintenance benefits.

It turned out that when you considered the neurological effect of high blood lead levels in children (decreased IQ) the savings was on the order of billions of dollars per year: http://www.meca.org/galleries/default-file/lead0103_(final).... (12)
Setting up a new site is trivial to do and allows you to mess around with it without modifying your main site... which may not be so simple as your example if it's based on a CMS or other framework.
Google Has Stopped Street View Photography In Germany
This is what I initially thought of doing. But, after seeking advice from 3 more senior developer friends, they recommended first going through the codebase and sectioning it out.

That said, I'm more than ready to prove them wrong. If at least 4 others ask for the same thing (through this thread, PMing, email...), it's on.

[Edited for clarity]
InPulse (YC W11) Adds A Smartphone-Like Experience To Your Wrist Watch
Gmail now works very well on Opera with no performance problems or browser incompatibility warnings.
I realized just what they were doing: wasting time more efficiently!

That sums up how I feel about a lot, not all, but a lot of technology that I use. Now instead of only being able to waste time on a couple things, I can waste time on many more things! Technology can multiply how "productively" I waste time.

Even HN allows me to waste time more efficiently. Instead of having to hunt down new stories, I can just come to HN and check out the stories on the frontpage. Then I can move onto another site where I can waste even more time.
Haha, I take it you're on Ubuntu? Ubuntu uses dash[0] as its default shell to speed things up. Funny thing is I've run into this same issue before in another context with sh vs bash on Ubuntu. In any case, updated.

0: https://secure.wikimedia.org/wikipedia/en/wiki/Debian_Almqui...
Actually we have something along those lines: using our command line utility you can install "packages" which should be a collection of classes for added functionality. Currently we have some well known libraries already available through the CLI by using "php oil install package htmlpurifier" for example, they're taken from Github and installed in the fuel/packages/<packagename> dir.
Of course if you don't want CLI you can just download them and copy them to the right directory yourself.

We intend to create a repository for packages and classes installable through Oil directly into your Fuel install.
At this time we are still using a single Github profile to fork any repo into that will be available through Oil package install: https://github.com/fuel-packages (install the packages without the "fuel-" prefix as their name)
Reminds me of the time we had a data encoding bug that only happened when the length of the data was a multiple of 57.

At first it appeared to be random then a colleague noticed the commonality in the lengths of the data that had the problem and after that replicating it and fixing it were relatively straightforward.
I've met these founders. They seem cool. InPulse is hosting a hackathon at Hacker Dojo next Saturday. See you there! http://hackinpulse.eventbrite.com/
The most pressing problem of our modern information society is the abundance of crap.

The service peer-review provides is the filtering of crap, so that not everyone has to do that by himself. This makes science possible, as not everyone can be a master of all trades.

Publication without review is called "journalism".

As a side note, I believe that Elsevier has acquired an extreme market dominance in the scientific publishing sector and is abusing it in alarming ways.
Sorry for being OT but does MLB.TV have condensed games anymore?
I take your point about RepRap not being a business. Do you still think it's not worth talking about regardless of being a business or not?

Last time I looked projects like Firefox and Wikipedia weren't businesses and they are still doing a sterling job competing with large enterprises like Microsoft and Britannica.
AnDevCon The First Android Conference Review
Is "is X the new Y" the new "10 incredible things"?
Judging by the number of entries following that patter in the frontpage, this is being overused. At least for me it seems that, paraphrasing the HN guidelines, "[...] you put gratuitous editorial spin on it [...]" with that structure.

Given that in most cases the answer is clearly no, could you please spend four more seconds thinking about the title? And orange is the new black, thank you.
I'm having trouble coming up with reasons that this isn't appropriate for HN.

A programmer, who just-so-happens to be a founder of noisebridge, is being harassed by the federal government for participating in an online newspaper.

He's effectively being harassed for participating in the types of things that programmers participate in. Since this is hacker news, most of the people here are programmers, meaning most of the people here are interested in it, meaning that it's appropriate.

tl;dr: programmers tend to be interested in news about programmers and how their activities as programmers can effect them.

A parallel might be a musician being harassed by their government for writing anti-war songs, and a story about it being covered on a music website.
I'm not normally one for these kind of lists but there is some real good advice in here.

For the HN startup community I would draw attention to:

39. Nothing produces results as much as taking action.
37. People do business with people they know and like.
25. You are a "brand". No matter what you do it effects your reputation.
19. If you are not knowledgeable about wine...Don't fake it.
16. Find a mentor.
15. Be a mentor.
18. Be-friend your competitors.
13. You do not have to be smart to be successful. Tenacity trumps intelligence.
10. Writing a book is hard work. Promoting a book is harder work.

and encourage you to read them as business (as well as personal) advice: read You as 'Your company', 'Wine' as 'any technical subject', 'book' as 'App/Product'.
I think people get tired of linking this.

http://ycombinator.com/newsguidelines.html
I'm flying back through Texas in a few hours from Serbia.

I wonder if this article or any of the others will change the way that Customs and the rest of the Federal Government treat me?

I'm guessing "no" - care to take any bets?
I think its ridiculous that we think that all brains are on the same development schedule.

Some people are ready for college level at 12, some won't be ready until they're 25.
There seems to be a major routing issue in CA right now, at least Fremont/linode
Status page wasn't updated yet, but lots of sites are down in Fremont, CA, at least those hosted on Linode. I suspect this affects a whole lot more than that though - the entire data center is probably affected.
Kindle dictionaries out of wikipedia articles
Generate a mobi dictionary out of wikipedia articles given a broad category for example: Physics or Biology