skysight-inc/HackerNews huggingface dataset:
Roth wrote quite a nice book about stable matchings:

http://www.amazon.com/Two-Sided-Matching-Game-Theoretic-Econ...

It is readable if you're interested in the problem. This book on the same subject is also good, although not by any Nobel prize winners:

http://www.amazon.com/Stable-Marriage-Problem-Algorithms-Fou...
> astonishment that such a thing is even necessary

It's necessary because there's a impedance mismatch between editing rich text and generating markup. Text editing works on text ranges while DOM manipulation works on trees. There's also behavior that you expect in an editor that isn't the default in markup like leaving empty paragraphs when you hit enter. Then there's the app-specific logic like what parts of pasted text you want to keep and what to pitch and what you want the markup to look like. Browsers also tend to toss in random <br> tags and style attributes. So that's why you want to start messing with the browser provided behavior.

If you don't go with simple markup and regexps for the fixup or you want to provide capabilities beyond what's available in the execCommand then you need to deal with the Range API.

Rant time!

The DOM 2 Range API which is far and away the worst API I've ever used in my life. You only want so many things from a Range api: the ability to select text, the ability to determine what's selected, and the ability to manipulate the selection.

For the first, you can do it but the offsets are dependent on node and offset which can be a text or child node offset and you must check the node type to distinguish between the two. This representation, naturally, does not persist when you're doing DOM manipulation. This is the best part of the API.

For the second. You can't actually get the selected DOM nodes. You can get the text using .toString(), you can extract or clone the nodes so you can mess with them in a doc fragment but you can't get at the live nodes in the DOM.

Next, determining equality of ranges–which is useful for figuring out when one range is in another so you can, say, invert the range–is tricky. See the illustration [1] in the spec. Ranges 2-4 in the illustration are, in terms of both visual appearance and text selected, equal but they do not compare as equal. It's actually possible for any permutation of the start and end points in the illustration to be what your users would consider an identical range. This illustration is simplified. In the real world, whitespace nodes in the DOM create an additional 4+ equivalent points that are identical. This isn't academic. They all happen in different permutations in different browsers depending on how the user selects text (start to end, end to start, double click, triple click, etc).

[1] http://www.w3.org/TR/DOM-Level-2-Traversal-Range/images/Rang...

The third part, manipulation, works mainly by inserting a DOM node in front of the startContainer, extracting the selection, and then sticking it in the DOM node. Requires special handling for selections crossing block nodes due to HTML containment rules. Generates wonderful stacks of empty nodes depending on where the range is when you slice. Breaks the browser's native history stack.

So that's why writing a quality RTE in the browser is harder than you might think. There are other issues like cross-browser normalization, bugs like webkit not displaying the cursor when the cursor is in an empty element but the Range API is the big one.
Term limits simply put even more power in the hands of unelected legislative aides, because they become the only people with the tenure to understand the issues involved, let alone the particular wording of the bills.

It's already the case that effective members of Congress are the ones who attract the best legislative aides.[1] Those who don't have high-quality aides rarely impact any legislation. If we enact term limits, our legislators will have even less room to impact the laws themselves -- either they'll hand over the whole way their office is run to great legislative aides, or they'll be irrelevant back benchers whose only role is to vote yea or nay on laws other people wrote. Whichever route they choose, the power of the legislators -- the people actually accountable to voters -- will be decreased.

[1] Put the arrows of causation wherever you'd like in that sentence.
They need to pump the growth numbers a bit more before the IPO.

Not the profit numbers, mind you, but the user numbers.
I recommend installing the refocus skin (sadly it's not in the repo but you can grab it here: http://xbmc-focus.googlecode.com/files/skin.refocus.release-... and install via USB), it gives me around 10 extra FPS over the stock Confluence skin. Have you overclocked yet? If you run at 900MHz, i swear it feels like a whole new device. You will need to mount your /flash partition as rw though (mount -o remount,rw /flash), because it's set as read-only normally.
What Eight Million Livestreams Really Means
Growth hacker is the new 'rockstar' or 'ninja'.
Before Googling the URL, I initially thought this was for Wander (http://onwander.com/), which, while it hasn't officially launched yet, also deals with travel and has a huge following already in the design community (http://blog.onwander.com/). You might have already known this, but it may pose to be an unfortunate branding issue down the road.
I've got to agree with this. I had a small collection of classical and jazz CDs until I arrived at college in the mid '90s where I encountered physical and later digital music sharing. My musical horizons expanded dramatically then, and then again in the last decade as even more obscure and more interesting music has become more browsable.

Services that try to tell me what my Facebook "friends" like or what is "popular" are deeply uninteresting to me. I would never pay money for them.

At this point, I mostly avoid commercial music except for a few artists that I know well (mostly early '90s "electronica"). The risks around file trading are too great. Instead, I stick to music that I've found on Soundcloud, youtube or in the various music production forums I hang out in.

As soon as you sign with a major label, I don't want to hear from you. If your idea of customer service is suing your actual and potential customers, then you can go fuck yourself.

If you are thinking about starting a music discover startup that tries to shove the same crap down my throat, I also don't want to hear from you. There are plenty of people who apparently do, but I don't.
"Implementation-specific behavior [..] which might very well vary"

In other words, the very definition of undefined behavior; You cannot reason about how the program will behave. This topic has already been covered fairly well on SO: http://stackoverflow.com/questions/949433/could-anyone-expla...
I’m always mystified how people could interpret it that way.

Your achievements do count, but they happen in a context. To ignore that context is foolish.
run siri, run!
They crossed the finish line in the same direction: past to future.
Thanks for giving us the information on "what's actually going on". But that makes it seem worse, even when you apparently can't see it from working in the field.

Apple continues to give apps access to the UDID; the recent leaks were apparently not as stark a reminder as some people thought.

The "Limit Ad Tracking" option seems wholly useless; another "X-Do-Not-Track". In this case, the user even expresses the wish to not be tracked, and Apple just continues to provide the data while telling the apps you checked a meaningless box. Apple is in no position to control what app developers do with the data after the fact; the only possible way here is to not disclose that data at all.

(Also, Google does just fine without a globally unique "advertising number". It can do so because people get actual value for the advertisements, and the advertisements are targeted. Apple is just providing this trove of data on the cheap to every hinterland app developer. Thats a huge mistake.)
That's why we have a federal court system, right? If areas outside of Arkansas have a problem with what Arkansas is doing to their air, they can produce evidence in a court of law and put a stop to it.

If the areas outside of Arkansas have a problem with what they teach their students (and it's really that damaging), well, just let a clear winner emerge over time.

(Not sure why we're picking on Arkansas)
2012 Election Mood Meter
I'm a Firefox user so I couldn't try it and went on to read the comments instead, especially since the linked website didn't explain anything.

It may be interesting to you that I didn't really understand what this is doing until I read the following comment from citricsquid (http://news.ycombinator.com/item?id=4656462): "Yeah, I save lots and it's always the ones that I don't save that I want after the fact, heh :("

So, this extension allows to search through all the stuff user clicked on from HN? That's great!

If that's true, I'd change the title to this: "Share, rediscover and keep track of everything you find on HN" and also do a better job of describing what it's doing on the website.

P.S. Does it also search the content on all those pages linked from HN?
Wasn't there a section in Kahn's The Codebreakers telling of how at least one of the Polish fellows joined the codebreakers at Bletchley, but was put off onto menial tasks for the rest of the war?
Yes, average user wants to do visual programming.
I agree with the fact that there's lots of opportunity anywhere, although... there maybe more opportunity in US than in Russia, for example.
Anyway you got to try and to do something - no matter where you live, that's true.
The answer is D, D a thousand times D.

Firstly, from Wikipedia

A sequence point defines any point in a computer program's execution at which it is guaranteed that all side effects of previous evaluations will have been performed, and no side effects from subsequent evaluations have yet been performed.

-----

Secondly from Annex C of the C99 Standard:
Sequence Points

1. The following are sequence points described in 5.1.2.4

- The call to a function, after the arguments have been evaluated (6.5.2.2).

- The end of the first operand of the following operators: logical AND && (6.5.13); logical OR || (6.5.14); conditional ? (6.5.17).

- The end of a full declarator: declarators (6.7.5);

- The end of a full expression: an initializer (6.7.8); the expression in an expression statement (6.8.3); the controlling expression for a while or do statement (6.8.5); each of the expressions fro a for statement (6.8.5.3); the expression in a return statement (6.8.6.4).

- Immediately before a library function returns (7.1.4).

- After the actions associated with each formatted input/output function conversion specified (7.19.6, 7.24.2).

- Immediately before and immediately after each call to a comparison function and also between any call to a comparison function and any movement of the object passed as arguments to the call (7.20.5).

-----

Now onto this statement

i = ++i + ++i;

lacking in sequence points between the double assignments is undefined and has been undefined for the life of the language. It is as undefined as all of it's ugly brethren and should be left to die.

Why does this question keep popping up?
TDD: Is There Really Any Debate Any Longer?
Tried the CSS inspector in Aurora. As of today, there is still no keyboard nudge support (Click on the value of a CSS rule and then press keyboard up / down keys to adjust it +1 / -1).

Sticking with Firebug until this feature is added.
> I wonder what is the PCI DSS audit committee doing?

Creating a racket. PCI is designed to control merchants and extract money, not for security.
related question - if I wanted to, what'd be the best method to post tech job ads to my site http://hackerbra.in ?
Addendum:

It is explained (from the developers point of view) in the WWDC 2012 session "Privacy Support in iOS and OS X".

https://developer.apple.com/videos/wwdc/2012/?id=710

The old UDID is splitted into three new API:

1. Application ID, which scope is the app and lifetime is till uninstallation of this app.

2. Vendor ID: scope is developer and lifetime is till uninstallation of all developer's apps.

3. Advertising ID (identifierForAdvertising or IFA): scope is the device and a new ID is created by "Erase all contents/settings" and it is not restored across devices (practically lifetime is lifetime of the device). This means when you start to use a new iPad it will have its own Advertising ID and not use that of your old iPhone, because the ID is not tied to your Apple ID account, but tied to a device.

It is noteworthy that after Apple banned the usage of the UDID some developers and ad networks started bypassing Apples privacy rules and made their own open source ID replacement:

https://github.com/ylechelle/OpenUDID/blob/master/README.md

But I don't know if this will be permitted in the future or you have to use Apples provided ID system (I would assume the latter).
Esri Acquires Location Platform Geoloqi
Ask HN: what explains this bug?
If I search for "53000/60" from my iPad (1, so iOS 5) using the Safari search field, Google shows a URL http://www.google.nl/search?q=53000/60&ie=UTF-8&oe=UTF-8&hl=en&client=safari that shows a calculator claiming 53000/60 = NaN

For many other searches, for example 530/6, the calculator shows the result of the computation (88.3333333333)

Obviously, there is a bug in Google's calculator or in the way iOS sends Google a query. That is interesting, but what intrigues me is what triggers the bug. I cannot think of any logical bug causing this. Any ideas?

(and Googlers reading this: please don't fix this too soon)
It's not legal in the US, but looks like this is a job posting in Iran.
Flightfox + AirBnb + Vayable
In my case, I keep finding discs with flaws in them that fail during ripping but not during playback. (And no, not intentional defects introduced for copy protection; unintentional defects introduced by playing them way too often. Should have ripped them when new.)
$25 bounty: create an open source syllable counter in Ruby
For those that didn't catch it, this is in Iran, not in the United States. They may have different customs there with regard to age. I am completely ignornat on these details.
Votes.io - Instant Polls and Feedback
If the cooke is set to secure it won't be sent in a non https request.
Interesting—personally, I find filesharing to be a really crappy discovery mechanism these days. It's ok as a "this was recommended to me by a friend, do I actually like it" vetting mechanism, but Youtube has surpassed it for that for me. Someone can drop a youtube link on a page or in a forum post, and I can click it and get the music streaming to me right away. Filesharing was the new radio thirteen years ago, when the alternative was MIDI downloads or nothing, but I'd say Youtube serves that role today for the majority of listeners.

(Well, actually, if we're talking the population as a whole, radio is still radio—it and traditional TV are both still doing far, far better than internet pundits predicted five or ten years ago.)
I have worked for several ISPs that sold design services. Something the good ones had that I didn't think was obvious is project management via a dedicated project manager (one manager to many projects). I assume you tap a global market of online designers -- if not you should.

Why was this helpful? A friendly arbiter between the parties is often useful. Good designers are not always good communicators and planners. Many small businesses have very little experience in marketing, and a project manager helps with expectations and requisites for a timely conclusion to the project.
JTaches: Guard for Java developers
How disappointing for us old guys!!
Pearson takes down 1.5 million teacher/student blogs with a single DMCA notice
TC W13 folks:

http://wwpgd.com/?q=dinner

> Organic Startup Ideas
I'm glad you agree that they're wrong, but they aren't practically non existent, at least in my social circles. I won't say they're a majority (they aren't) but they're definitely a presence.
How a single DMCA notice took down 1.45 million education blogs
I'd be writing from the Moon right now if obvious-to-state were the same thing as obvious-to-achieve. Even if we accept your unwarranted assumption that strict rationality is unilaterally superior to experiential and intuitive modes of being, which is not at all a given: how do you propose we induce a widespread emotional investment in living life like a Vulcan, something that runs counter to the instincts of many/most people?

Edit: sorry that came out quite jerk-like. Point is, why is rational always better than intuitive, and how could anyone hope to create such a massive emotional investment in an intellectual concept.
Researchers found ways to manipulate particles without disturbing them.
I don't see what's much different about this than Stripe giving you a token for the customer/card and storing it in a cookie.
Clickable: http://www.google.nl/search?q=53000/60&ie=UTF-8&oe=U...
this; I think that as people are using their phones more than their traditional PCs, they see apps as starting places for their searches, rather than Google. I'm not sure where Siri will fit in..
Plasma Active 3 Released
That's where private trackers like What.cd shine. Discovery is incredible. I can see what's new and popular from the last 24 hours, I can see all the similar artists for a specific artist, or I can download a curated starter 'collage' (as they call them) of a specific genre.
They do this in Japan too.
It is the "hacker new singularity". I saved this story just for my interest on the HN comments!
What, exactly, is flickr doing?

Best answer I have is: coasting.
China's YY Files For IPO For Its Voice And Video Platform
It might be interesting to see a video where each frame is one photo of this, and over time it goes through the different X-positions. Effectively swapping the horizontal and time axis in a video.
Expert Crystal Reports experience and under 40? That's a hell of a Venn diagram.
There is no content in this post. At all.

I wish him/her the best of luck, but flagged.
We're planning on having options for things like maintenance mode on a per deploy basis with project defaults. We're also looking into supporting the Heroku preboot labs feature.
Agreed 100%. How did this end up on the front page? Flagging as well.
Show HN: jQuery Folder-like Collapsible Lists
The content is that Atebits 2 exists, which is exciting. Atebits 1 created some much loved software.
Actually, even if I end up with ads when I wasn't at least sort-of looking for them (say, opening Yellow Books, doing a search), then I'd rather if they're not targeted — the less information they have the worse they are at hacking my brain.
Face first is what matters here.
If Apple wouldn't provide an ID then developers would code their own device identifiers. This here is crossplatform for iOS and Android:

https://github.com/ylechelle/OpenUDID/blob/master/README.md

Or just read the MAC address:
http://stackoverflow.com/questions/677530/how-can-i-programm...

> Google does just fine without a globally unique "advertising number". It can do so because people get actual value for the advertisements, and the advertisements are targeted.

I don't understand, can you elaborate? How can advertisements be targeted without tracking?
When I lived in the middle east, this was common. Another, less palatable phrase was 'must be western educated'. Which seemed to be shorthand for 'no Indians or Pakistanis please'.
Google to start showing Gmail Results Within Its Main Search, Adds Google Drive
What is their perceived benefit of hiring young? They can pay less?
There is also http://tarpipe.com which is similar to ifttt but with a gui more like yahoo pipes.
Fuck This Jam
Want a free ticket to #TwilioCon? Here's a chance to go with Hackbright
<pedantry>
You're confusing pessimism with cynicism.

Pessimism is about what is going to happen; like its opposite, it deals entirely in possible futures. A pessimist can say, "Call me a pessimist, but Akin is going to join the Science committee because he's got an axe to grind." Or "Call me an optimist, but Akin was false flagging all this time and when he joins the Science committee, he'll do great things on behalf of science."

</pedantry>
Air Force Engineer Takes on General Over Controversial Osprey Crash
As of the time of this writing, there are 4 Portugese universities among the top 10. I would've expected tech-heavy universities to place among the top 10. Is this the case with these schools?

2	Universidade Técnica de Lisboa	3694	8298 points

6	Universidade de Aveiro	2244	4812 points

8	Universidade do Porto	2060	4538 points

9	Universidade Nova de Lisboa	1943	4079 points
Do you really want to be doing this when you're 50?
This is why, at a minimum, you rebase (yes, rebase) your development branch before merging your changes onto the common branch on the shared repo. You catch conflicts in your work area without having to grind everyone's work to a halt while a fix takes place. Ideally you should rebase after every successful merge of changes to the common branch but that might not be practical depending on the change you're working on.

Branching often means not having to worry about the impact of making an experimental change: it may not go anywhere but you want to be able to try something out. You don't have any heavy lifting to start or to clean up.

And establishing good branching strategies are essential for any project that has any kind of parallel development. It doesn't matter if it's one developer or 200.
I believe Pure uses LLVM JIT https://code.google.com/p/pure-lang/
In response to the "There is NO way a person can become a productive programmer in 10 weeks"

Programming and software engineering are about solving complex problems. Most of the people who get into these programs, start with the skills required to program, ie, curiosity about solving problems with technology. Also, the goal of the program isn't to graduate soloist-rock star programmers, it is to graduate super smart well grounded personalities who can be super-atmospherically-high quality apprentice's, which is totally plausible. There is like a 10:2 engineering to all other jobs ratio that probably won't go away. Spending a small chunk of time/money (I spent 10k for DevBootCamp) versus getting a traditional 4year CS degree, which is in no way shape or form proven to be a great path to becoming a solid engineer, is a no brainer.

Tony who is one of the teachers at Catalyst taught me a bunch at devbootcamp. He is incredibly smart and patient, does an extremely good job of instilling in people that they can themselves solve complex problems. I myself did devbootcamp this summer, it was a great experience and forever increased my impact as a person and technologist.
Probably. Also, this is Iran. There are pretty heavy social and political differences in the under-40 demographic that the employer may desire. For example: perhaps they have female coworkers or managers out-of-country, which is far less likely to be a problem with that age group.
Here is another one - ideal age: 20 - 30
http://www.irantalent.com/home/Linux-Security-Expert-jobs-in...

This one here - 30-38 - strange... really strange :)
http://www.irantalent.com/home/C-Programmer-jobs-in-Tehran-I...
And now at Facebook. The best designers also code but creating your own programming languages and VMs... respect.
My guess at a contributing factor is that Person A shares a song illegally with person B. Person B likes that song, finds more from that artist/album and then makes a purchase.
Thanks you, Open Sans is a beaut and it feels more "adventurous" than Helvetica.
I find it interesting that the job is posted in English. Do they conduct IT business in English or are they specifically trying to recruit out of state talent?
Red Bull Stratos: Why Didn’t Felix Free Fall for 5 Minutes?
A Fresh Solution for Organizing Infinite Content