skysight-inc/HackerNews huggingface dataset:
I've also written a fair bit of Go and have recently taken a full dive into Rust [1, 2] and it's been a ton of fun so far. I really love both languages. Their features and goals have a pretty small intersection, but I enjoy both a lot.

If you want to take a dive and are willing to put up with a little instability, now wouldn't be a bad time. The 0.10 release appears to be on the horizon and they just released binary installers, which should make tracking tip much easier: https://mail.mozilla.org/pipermail/rust-dev/2014-March/00922...

[1] - https://github.com/BurntSushi/quickcheck

[2] - https://github.com/BurntSushi/rust-csv
A bit OT, but I'm interesting in going through Euclid by drawing it with a compass and ruler.

Is there any good guide to doing this? I have Byrne's copy of Euclid. But I found there were multiple points I got stuck when trying to draw it myself.
Last I checked 2048 states that it is inspired by threes. I know this because the bombcast would talk about threes with reverence and I remember having a moment of understanding why when I read it on the 2048 page. Anyway this guy seems to be against what open is for, if threes was open from the beginning would they be in place of 2048? Who knows, but I love the fact that Numberwang2048 and doge2048 now exist, which wouldn't have existed without 2048.
Show HN: GrumpyPoll – Ask the Internet a question; get results on a map
Thanks! It doesn't have to be 'huge' image, I just recommended it as it gives better results. Small text tends to be more distorted.
I wrote a workshop paper last year, but it wasn't very deep. Actually, incremental parsing, at least the way I do, doesn't really involve any special algorithms, here are the three points:

* making your lexer incremental first, memoize tokens between edits so you have something to attach trees to that will still be there after the next edit!

* Match braces (or determine indented blocks) separately before you even bother parsing. This makes incremental parsing more robust, and it is really easy to do without parsing information (unless your language overloads brace lexemes, like Java generics do! Scala didn't have this problem however). Also, autocomplete braces even if your users really hate that, because otherwise you won't have anything nice to reason about 99% of the time (indented languages are really better here for obvious reasons). Tell them to just use emacs if they don't like it.

* The last thing to do is just memoize parse trees (by attaching them to your memoized tokens) and then replay parsing on trees whenever their parses could have changed. So if their is an edit, invalidate the inner most tree, or multiple trees if the edit occurs at a boundary. If a child tree parse changes, invalidate its parents. Log your symbol table additions so you can undo them when they are no longer done on a parse (or the parse tree is deleted); trace your symbol table references if the symbol binding for the name being looked up changes, and don't worry about type checking in a separate pass, because you can just replay the parse multiple times if necessary.

The last point is quite fascinating and something I'm working on right now to turn into a more general programming paradigm. Check out:

http://research.microsoft.com/apps/pubs/default.aspx?id=2112...
Can't help you for Typescript, but for Coffeescript I've implemented a basic rewriter for JSX-in-Coffee:

https://github.com/jsdf/coffee-jsx-transformer
Saving your YC application
If, like me, you want to save the text of your Y Combinator application at the last minute, but CTRL-A + CTRL-C doesn't copy the text of input / textarea fields, here's a quick-n-dirty "one-liner" for the console that will convert all the input fields to `<pre>` elements:

[].slice.call(document.querySelectorAll('input, textarea'),0).forEach(function(elem){var p = document.createElement('pre'); p.textContent=elem.value; elem.parentElement.replaceChild(p,elem)})
Thank you so much for taking the time to write this comment. This is effective actionable advice for the OP with a positive attitude. HackerNews comments from low karma kids aren't dead!
One other way to possibly interpret this is the substitutability going on: maybe Chrome users are switching to Firefox (or hell even Safari); also Win 8 is growing pretty rapidly.

Sidebar: I find IE 11 pretty usable these days -- give it a try if you're open minded. You might be surprised =)
A good way to test your site's security
Valve open sources Mesa fork from SteamOS
RIAA Demands Personal Details of Pirating YouTube Users
yep. i'd venture a guess that the screen will be plastic, and it won't have a built-in flip-cover, and no micro usb port so you can't manage the contents from a computer
I think we must distinguish sharply between marriage as a legal institution and as a cultural/religious custom. The former is a matter of equality and civil rights, but it can be satisfied by the institution of civil partnership. As for the latter - cultural customs and rituals are not rights and don't have to be inclusive.

It's not discrimination to have a custom specific to celebrating the relationship between a man and a woman, which is what marriage has been in our culture until now. Indeed, even in past cultures in which homosexuality was considered completely normal and wasn't discriminated against at all, such as ancient Rome, marriage was considered a heterosexual custom and gays didn't want to take part in it any more than Christians feel excluded from Bar Mitzvah, for lack of a better comparison.

And if that seems too distant an example, then how about the 1980s? Some of the earliest gay marriage advocates (was it Andrew Sullivan? I'm not sure) were met with criticism in the gay community itself, because some of its members didn't like the idea and considered it contrary to their identity. It is all a matter mindset and I feel like it's a legitimate cultural dilemma - not an issue of equality.

I can empathize with people who are attached to the traditional definition of marriage and its symbolism. I don't think you have to carry any ill-feelings towards gays in order to want preserve it and I think it's the case for a significant proportion of gay marriage opponents.

This point of view seems quite obvious to me and it's unfortunate that almost no gay marriage supporters recognize it, as it causes unnecessary polarization of the debate. It is a disservice to both the LGBT community, who feel more threatened than they should, and to some of the defenders of traditional marriage, who are undeservedly labelled bigots, ostracized, and even - as in the instance of Brendan Eich - disenfranchised for their cultural/religious beliefs.
Daft Punk’s “Get Lucky,” explained using music theory
You drive in a city at night and see all these office floors fully lit, and you wonder how many employees are having their office computers on mining bitcoins?
UserTesting pays members of their plan to take the test in the hopes some people find it useful enough to try out their enterprise offerings.
From the comments I'm trying to work out who you are, struggling tho!
That's a paragraph not a 'section to unbelievers'. The chapter is titled "We Agnostics". Theism, agnosticism, and spirituality are not synonymous. It's sad that you find AA to be such a threat that you created an account exclusively to 'refute' the comments in this thread with vitriol and militant secularism.
The problem is dark backgrounds rarely work well unless if you have nice OLED display. I know they are cooler, and its the current hotness among young people whose eyes haven't started to give out yet...but dark themes really are limited by current LCD displays. Not to mention, everyone has a different display as well as eyes, and you can't really predict how the text will bleed from one viewer to the next!

This is what I get from being married to a visual designer.
AVX-512 does not seem to have PMOVMSKB, which is how I assume it is being done with SSE2. There are other ways to skin that cat, but it's unclear whether they have any advantage over using AVX2 with VPMOVMSKB.
Try writing a sudoku programmer with constraint based programming.

You 'teach' the computer the rules of the game and the computer works to figure out allowed values.

https://en.wikipedia.org/wiki/Constraint_programming
Yes, the testers are paid and understand/agree that the videos can be shared publicly.
Polyamorous marriage is a good argument that the campaign for marriage equality is a sham.

We should call the campaign for gay marriage exactly what it is, a single-issue campaign for gay marriage, and not a campaign for marriage equality.

It is clearly wrong to talk about civil rights and human rights when the campaign clearly excludes minority groups who don't fit into the two person heterosexual/homosexual category.
As a bemused European looking at this situation. Did a new U.S. manufacturer, just agree to sell cars in mob town?
'Palo Alto' by Radiohead (1997)
Goat (https://github.com/mediocregopher/goat), which isn't especially well known, does a lot of this in a more palatable way. I prefer using it when I don't need to edit/tweak my dependencies.
Any specific examples you could share?
It's on the way. The beta was about for 9mths or so
The whole ethical/unethical thing makes me shake my head. It's not ethics that keeps people in line, it's laws.

License your software appropriately. If you get wronged, take action. But DO NOT complain about people not doing the "ethical" thing.
this is why i prefer reddit comments to hn - sure, they can be rambunctious and troll-heavy, but the insightful comments are mostly free of that overlay of sneering cynicism. here's the top reddit comment on the story, pointing out that the idea is not new:

http://www.reddit.com/r/geek/comments/21la0q/14_yr_old_stude...

but with no trace of sneering - it congratulates the kid on a good idea, and points out that ecofont does it and better.

contrast this hn comment saying exactly the same thing

https://news.ycombinator.com/item?id=7487637

but with a far more condescending tone.
Google: 80% of news organisations are targeted by state hackers
While it does flex, I won't be spending that kind of money on something like that until it folds up in my pocket.
Yeah, the extensions have really helped. The main problem there is that the extensions keep on falling out of compatibility. I have half a dozen extensions that used to work well and provided critical functionality, now they don't.

No signs of anyone fixing them either, it's been 6 months since my Pidgin extension broke :(
Why the World’s Biggest Brands Sell Experiences and Why You Should Too
Wal-Mart Sees $3 Billion Opportunity Refilling Empty Shelves
Contour – A flexible D3 visualization library
We think everyone should be using D3.js, and we created an easier way for people to start using D3.js. Forio Contour provides the basic framework for you to start hacking D3.
The situation you describe is the exact reason I read the comments less and less these days. I still like the content that floats to the Hacker News front page, but the fact that the term, "top dismissive comment" exists, and is damn near ubiquitous with the site is a pretty big problem. On Hacker News, rather than simply writing "First!!!" in the comment box, people seemingly write why OP is an idiot for trying, how X was solved years ago, and nothing their start up solves things better.

It's a sad state and annoying of affairs.
Tratando de concebir: La infertilidad
Por lo general en promedio, todas aquellas parejas que son sanas llegan a tener que esperar un año para poder concebir. Debido a estas circunstancias se pueden lograr obtener estrés del tipo emocional y que los profesionales no pueden dar con el. Para una pareja, el momento de tomar la decisión de quedar embarazada es uno de los momentos más emocionantes dentro de la relación.
Had to close the account? I thought it was pretty trivial to nuke your old keys and generate new ones on AWS.
Sigh, poor Kodak. I was in their offices 3 years ago giving a presentation and the place was a boarded up ghost town. It was surreal to see how many floors were simply closed off.
Sad the "jumping the shark" theory for Happy Days doesn't really hold up against the data: http://graphtv.kevinformatics.com/tt0070992
I said 52% of Californian voters. Obviously things like this skew to extreme opinions. I'm just curious if the people who believe that donating to the cause make Eich untenable as a CEO also believe that the 7million other people who voted for the bill are equally impossible as candidates.
Ask HN: Do I need a degree?
I'm 22 years of age, and live in New Zealand. I left school at quite a young age to pursue a career, and I now work as systems engineer for a successful technology start-up (~100 employees) where my team is responsible for scaling the platform as the company grows.

I had never considered getting a degree until about a year or so ago, when a family friend who works in senior management for a large hydro-power company told me it would be invaluable later on in my career, he described it as a 'ticket'. Since then I've been working towards a BSc in CompSci part time at a local university. It will take me another 6 years to complete.

I think I would be better of learning in a self directed way as I have up until recently. I used to spend my evenings exploring whatever seemed interesting at the time, and I attribute a lot of my success to this. Now when I get home from work I have to study, and by the time I'm done I have no energy left for self-directed study.

I've been considering withdrawing from the bachelors program, however I'm worried there's something I'm going to be missing by not having a degree. I'm particularly interested in start-ups, and would love to work in the bay area, or a similar environment at some point. That said, I'd also really like to work on my own business ideas, and think that my evenings would probably be better spent pursuing things I'm interested in rather than slogging away for a piece of paper.

Ultimately I'm concerned that if I don't get a degree I'm going to need it one day. Perhaps to get a MBA, or work in the US (visa requirement), or something else that I haven't thought of.

So HN, how important is a degree?
> The downside is that you can leak memory if you have circular references. The programmer needs to take care to not let this happen.

Not entirely true[1]:

> CPython currently uses a reference-counting scheme with (optional) delayed detection of cyclically linked garbage, which collects most objects as soon as they become unreachable, but is not guaranteed to collect garbage containing circular references.

The "most object" and "not guaranteed" refer to[2]:

> Objects that have __del__() methods and are part of a reference cycle cause the entire reference cycle to be uncollectable, including objects not necessarily in the cycle but reachable only from it. Python doesn’t collect such cycles automatically because, in general, it isn’t possible for Python to guess a safe order in which to run the __del__() methods. If you know a safe order, you can force the issue by examining the garbage list, and explicitly breaking cycles due to your objects within the list.

Note that this is Python 2 thing; in Python 3, the behavior has changed, and cycles with __del__ methods get collected. I include it because many people still use Python 2. As for Python 2, however, I believe this case is rare, and requires both an object to be involved in a cycle (a bit rare) and have a __del__ method (I've never written such a method in many years of Python).

> Objective C offers weak pointers

Python also offers weak pointers.

> Finally, I believe it has been shown that reference counting can be slower that a well-implemented garbage collector

My understanding is that this is true, but workload dependent. I think this mostly comes from being able to quickly allocate memory, because your heap is just allocating by moving a pointer the required number of bytes through the heap. (Allocation is just an addition, mostly.) When a collection happens, objects not collected move to a different heap (the next generation), and the heap used for allocation is emptied out. The amount of work and moving depends on the number of objects remaining, which tends to be low, since objects are short lived.

The advantage to pure refcounting, in languages such as C++, is that collection is deterministic. In the rare case that you have a cycle, then you do have to handle it manually (that's the tradeoff), but I find these are extremely rare. Memory management in modern C++ is a non-issue most of the time. And prevents bugs like:

data = open(filename, 'rb').read()

I see this bug far too often. One could argue that in Python, it'll get collected via refcount, but this isn't guaranteed by the language. I've seen the same bug in Java/C# code, and there are no refcounts to save you there. (Of course, these languages have a with/using/etc. block, and it's an easy fix, yet nonetheless, these bugs are frequent.)

[1]: http://docs.python.org/2.7/reference/datamodel.html#objects-values-and-types
[2]: http://docs.python.org/2/library/gc.html
Actually it is well known that already current manufacturers make it hard for non dealer shops to obtain service manuals.

Electric vehicles require much less maintenance (for example the routine checkup you need to only do once a year, no oil changes etc).

Second thing is that Tesla has a belief that car repair should not be for profit. Currently majority of profit on cars comes from dealers servicing them. It incentives manufacturers to crazy things like requiring to remove a wheel to replace battery, or remove from bumper to change a light bulb.

Tesla cars will basically generate less profit for mechanics due to those two things alone.
Doesn't Ruby need to break compatibility with its C API to get a good result here?

To get a copying, generational GC as in Java, it would need to stop handing out raw pointers.
You're welcome. Like the author of the story that prompted all of this, I've come to the conclusion that we need to be more honest and open about these things. If nothing else, just telling my family and a few of my friends got me past a lot of hurdles. I could stop faking things so much, I didn't have to hide from them. That required an immense amount of my already very limited energy to pull off. But, it's also helped some of my friends and people around me to realize that, yes, they could in fact go to therapy or talk about their problems and not it didn't mean they were bad people or something.
Made myself something way more complex to scrape the page...this is nice.
That's certainly one version of what can happen. Another version is that none of the equity transfers to the new company. The acquiring company will offer you a modest boost in salary and similar new stock options. If you don't take the offer because they're low balling you or you don't like the new company, your old company will terminate you at the end of the week without any severance. Or the new company will offer everyone on the team 3 months consulting contracts. Either way, better start familiarizing yourself with COBRA.

Employees in the acquired company are put under heavy pressure to take whatever deal is offered. Who wouldn't want to keep working with their friends? The CEO's/senior team will keep the employees out of the loop so that rank-and-file don't move first and take any negotiating power away from the CEO.

Not every acqui-hire is a payoff for the employees in the acquired company. It can also be a face-saving gesture when money runs out to make a shutdown look semi-successful for the founders.
It seems that it's not so much about pre-1989 "code," but rather Makefiles. ANSI C preprocessors like yours will convert tabs to spaces, and Make doesn't like that. It seems reasonable to let this use case be handled the way it always has been: by using an old tool that still works.

The other major area of difference seems to be that pre-ANSI people used foo//bar to paste tokens (whereas now we use ##). If we're talking about C, that's easy to update; apparently some Haskell folks can't do that for their own reasons. Again it's a use case which is not preprocessing of C or C++, so it seems OK to ignore it if you're implementing a C preprocessor (as opposed to a generic macro expander usable with Makefiles and Haskell).
Brigade 3.0 preview
The issue of whether our political system's dependence on campaign finance seems a bit irrelevant to me on this. He had money and he did something with it that he had power to do.

As for the rest, are you saying the difference is because its public? So hypothetically, supporting prop8 privately would be different and more acceptable than supporting it publicly? Or its not acceptable but he just wouldn't be getting lynched for it?
Mining a popular coin that doesn't have ASICs yet ... maybe $5/day, very rough estimate.
Fortunately, I'm neither buying nor selling Bitcoins, so this doesn't apply to me.
Just say the game is to create walls and poke holes in them and call it a day! I would buy it!
The main thing that springs to mind is that the only way to get a half decent desktop is through extensions. I installed a whole load of useful ones about a year ago, but currently only about 1/5th of them are still working due to gnome version incompatibility.

One of the most noticably broken parts of Gnome Shell for me is that my Pidgin notifications/alerts seem to be broken. They neither flash the item in the taskbar, nor give me a popup to let me know that a new message has arrived. I had an extension to fix this, but that has since broken upon Gnome version change. There is a messenger integration into the user account menu in the top right, but there is no way of changing the client from the default to Pidgin.

I only use Gnome on my travel laptop, so I get little snapshot peeks at how it's going. I've had these problems I've mentioned for quite a while now (and many more besides), it only seems to be getting worse. The Gnome devs seem to be completely ignoring the community and charging off down their own path of weird unusability.

For my main desktop I just run AwesomeWM, which is almost completely pain-free and gets the hell out of my way.
It's always been bigotry not to support it, just a bigotry that was more widely held and socially acceptable
It's not optimal, but Adobe does have a single-app plan, so you could get InDesign CC for $20 per month, every month, for the rest of your life…

I wonder if you've tried TeX and family. XeTeX has full OpenType support.
This is why I've started migrating all of my cloud services to open-source applications running on my VPS. OwnCloud, TT-RSS, SimpleID, etc.

The SaaS model is deeply flawed, and once people start to realize the implications for security, privacy, and ongoing availability, there'll probably be a shift back to running your own software on your own system.

Whomever comes up with a good consumerized VPS platform with an app store is probably going to win big.
A security assessment toolbox
Spider Robinson(?) has a classic short story about how infinite copyright terms with perfect archiving) will destroy the human psyche when we discover that there really is nothing new under the sun and all creativity is rehash.
It's not a nitpick. But whatever, it's not my app store that's affected.
> People are still typing the same Unix commands into 25x80 terminal windows.

I'm using 120x40, thank you very much
Here's a great analysis of what made The Simpsons good and why it started to decline after season eight:

http://deadhomersociety.com/zombiesimpsons/