skysight-inc/HackerNews huggingface dataset:
We may also proceed by ordinary semantics: every number is special, as it specifies itself.
I feel a little sad that you felt you had to send a video to demonstrate passion. Don't get me wrong, I'm not saying it was the wrong thing to do and it does show you're making a serious effort, but your talk should stand up on it's own merit. FWIW A talk on how to use vi like a pro I would expect to be well received at a developer focused conference. If I was there I'd certainly attend the talk and no doubt I'd learn a lot.

We have submissions where the passion comes across in the content - in fact we've had some where people have said they really want to come and hang out at the con and this is the easiest way for them to do it (as we cover airfare and accommodation).
You mean the biting claim in an 8th grade fight and a fight with his sister (who appeared in court in his defense for this current infraction) for which the Police were called (so, a domestic incident in other words). Yes, quite the terrorist - off to Gitmo with him! :-|
He lucked out. Which is the whole point. You don't hear about all the other people who got a small bonus and were kept on at roughly the same salary. It works out decent-to-great for founders, but employee #3-10 not so much.

Although I'd be interesting in knowing. Granted, most people probably consider a acqui-hire to Google or Facebook a great medium term career move.
Yes, it's a VM. Note the title, "QEMU".
1) I use unittest since I ship code to others and I want fewer dependencies. I think if I was doing this only for myself I might look to nose. But I've been using unittest long enough that I know how to get what I want from it, so I haven't bothered to learn nose.

2) I don't know about Py3 issues like that.

3.1) I am not much of a believer about "SRP". What's your public/published API? Is it useful? It is understandable? Does your exposed module structure give a domain view or an internal organizational view that might change after refactoring. Behind the scenes you're more free to design as you wish.

3.2) In a small package like this, I would have everything in a single file.

4) I don't like the "import re" and other class attributes in ClippingsIterator. I prefer them as global variables, and prefix with a "_" as a hint that they aren't meant as part of the API. I believe this preference is the standard consensus.

5) don't know.

6) I'm not knowledgeable enough to judge, but it looks fine to me.

Minor points:

for c in clippings:
self.clippings.append(c)

is more idiomatically written

self.clippings.extend(c)

"(clipping['book'],clipping['author'])" should have a space after the comma.

In general it's best to have things like "import os" done once, at the top of the module. "os" is a builtin, is always present, and the "import os" has almost no overhead.

The jinja2 import is a bit more special. Do you want the code to work even if jinja2 isn't installed? In which case, what you have is good. I would add a comment, on the same line as "from jinja2 import ...", saying "available from <url>". This gives an additional clue should a failure occur.

But if your code doesn't make sense without jinja2 then I would put the import at the top of the module, to occur at import time. This is more like what people expect, so would be easier to diagnose should a failure occur.

It doesn't look like "import_clippings" is part of the exposed API, since it takes no parameters and always sets an instance variable that looks like it should only be set once. In that case, prefix it with a "_" to indicate that it shouldn't be called directly.

I would write ClippingsIterator() as a function rather than a class, in this rough form:

def read_clippings(source):
detected_encoding = _detect_encoding(source)
with open(source, mode='r', encoding=detected_encoding) as source_file:
while 1:
clipping_buffer = []
count = 1
while True:
if count > 5:
raise InvalidFormatException("Input file doesn't seem to be a clippings file, separators are missing or damaged")
line = self.source_file.readline()

if not line:
return # end of input
elif line != self.clipping_separator:
...
yield line_dict

where "_detect_encoding" is your current method, but written as a module function. (One hint that a method isn't actually method is if it never uses the "self" variable. In those cases, I nearly always write them as module functions.)
I would say - this is important. Important enough to get direct aid, either governmental (US, France), or even from those with deep pockets (Google, Apple, Paul Allen, Gates Foundaton). Why are they still depending on crowdsourced funding? Dr. Diakite is in Oregon, maybe they can get Intel backing?

In addition to securing the manuscripts, they deserve a home in a new climate-controlled institution to replace the one torched, once the situation stabilizes.

These documents ought to be digitized and uploaded/mirrored to the cloud ASAP, so that the information content can no longer be destroyed.
Since you are working for Greylock, which is a VC, your are directly vested into clueless/naive programmers accepting below market offers, working long hours for a false promise. It is usually the VCs and founders that make the most out of a startup. Hence your advice is misleading at best.

Also, as an engineer I'd like to see this cycle stop. It creates an exploitative environment akin to some of the bad stories you hear in the gaming industry, where young engineers are often taken advantage and burnt out the industry.
She recommends herb burgers made with "grass-fed beef or poultry."
If the story is about someone achieving a rare but desirable outcome, and there's a common perception that the outcome isn't rare, then it makes sense to post a comment like the GP's. It may help prevent availability-biased readers from improperly "confirming" their belief that the event is actually not rare.
You're pretending to be unbiased by starting your reply with "in all fairness". But you're the submitter. Please stop that.

Also you say "for the record" but neglect to cite a source. And you use the term "affiliated" which is somewhat vague.
Healing a Facebook addiction (hack)
Please don't let this stop you writing a kernel, I'm sure we'd all love to see what you do!

Make sure you're using git/incoming, that's the latest and most stable version usually.
The explanation that I liked the most was:

42

For-tea-two

Tea for two
If the feds were to audit the situation you are describing, I would wager they'd come after Google.

Google has a lot more freedom and track record for asking forgiveness instead of permission than Paypal (i.e. wifi sniffing in google cars). They are not a payment processing company.

This stuff is complicated. Never attribute to malice that which is adequately explained by stupidity.
It's not what you want, but, as perhaps a first step, there's an SGML sgrep (http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html). Perhaps one might combine it with programming based on Oleg's SXML (http://okmij.org/ftp/Scheme/xml.html) and similar.

EDIT (fixing formatting, and …): I knew something else was nagging at me. The idea of a structural grep makes me think of Rob Pike's structural regular expressions (http://doc.cat-v.org/bell_labs/structural_regexps). The Sam editor (http://sam.cat-v.org) is based on this, and I thought I remembered a more modern version called something like 'e'; but, of course, such a name is impossible to Google.
My impression is that people know they will get less money working at a startup than a big company (including the average payoff when things go really well).

They do it for the experience of working on something really new, and working in that kind of environment, not the money. The big tech companies try to be startup-like, but they can never truly emulate the startup experience.
Couldn't they just pay him once he turns 18? Or at the least reward him in some other way.
That sure seems to have been a kick in the pants. More specifically, it spurred interest in using the Android HAL in the underpinnings of a Weston compositor.

Having gotten that kick in the pants, I hope they can all just get along and resolve resource and schedule issues between two projects that look functionally identical now.
yes plz
The science behind this article (hat tip to DanBC for his top-level comment linking to the author's promotional website) is dubious at best. Much of what can be called in general "phytochemicals" (chemicals found in plants) and that the author specifically praises as "phytonutrients" (chemicals found in plants with nutritional benefits for human eaters) can be, depending on DOSAGE, "phytotoxins" (poisonous chemicals found in plants). The poison is in the dose. Agriculture was pioneered by human cultures all over the world,

http://www.jstor.org/userimages/ContentEditor/1320774798622/...

because people wanted a reliable supply of food later. In many different regions, human beings noticed that planting seeds not only made a crop for the future likely, but also allowed artificial selection of high yield (a crucial concern at first) and better taste. Plant foods from all over the world have been actively selected for centuries or even millennia. In quite a few cases, human beings selected plants so that they were loss toxic and more bearable to eat in larger doses. The author is writing from ignorance of an evolutionary perspective informed by the general biological fact that most plants produce chemicals to REDUCE being eaten by animals, not to be beneficial to human beings in a wild state.
Write a blog about it. That way you will have told them about it and also your prospective customers. So win-win for both. They get to fix it and you probably get more customers.

Obviously it can happen to you as well so be prepared.
I highly recommend Kerbal Space Program for this, by the way-- I feel like I've got some good first-hand experience of how normal and boring space really is.

"One of the interesting things about space is how dull it is. Staggeringly dull. Bewilderingly so. You see, there is so much of space, and so little in it. Would you like me to quote some statistics? They too are quite sensationally dull." - Slartibartfast
"I go to CrossFit 5-6 days a week and I am 100% paleo dieting 80% of the time."

Uh oh. Cool site, faddy workout routine.
You see this article has a catchy title with no actual content, and it did quite well on the HN that is sort of exposing. Next time I'll read the article before submitting it, sorry.
Sounds like something UNESCO should be involved with.
Why You Should Bootstrap Your First Startup
I was always curious, why they called this class as Calendar. It's actually date/datetime/time.
I was never quite sure whether the number (42) or the decimal representation thereof (4*10 + 2) was relevant. Your interpretation would tend to the latter…
http://youtu.be/-wbJTHkdBMc?t=38s

From his rap:
"Every day with a life of crime, and I'm always screwing up my life"

Yeah!! That's pretty accurate.
I always think of it a bit like the arc of Michael Jordan's career. At 23 he could fly and was very fast, but he couldn't shoot very well, and his game was unpolished. At 33 he was far wiser, understood the game a lot better, needed to exert less energy to accomplish as much or more, and he could shoot far better and had developed a lot of useful moves to get off a shot.

I feel like our mental capabilities follow an arc of that sorts.
Twitter proliferated on openness - they owe a large part of their success to it.

Part of me feels they have broken a promise with early users - now that they have their critical mass and revenue pressure they can turn their back on 'open'.

The free marketer in me would hope that a new open alternative would win over in the long term, but it doesn't look likely.
Crayola Color Chart, 1903-2010
Android is resolution independent. You must be thinking of iOS.
Is this advice really on a broken record? I recently saw a pitch from a bank marketing an LP stake in a prominent VC firm, and one of the first slides highlighted the willingness of Silicon Valley engineers to work for below-market rates in exchange for psychological benefits.
Retire in your Mind even if you Love your Job
It is intellectually weak to post a predictive piece that you wrote in 2009 after it's come true.
Trace and debug the Linux kernel functions
A few years ago I spent a couple hours prototyping a tool for retrofitting some of these ideas onto existing forums. I didn't get super far, but I had some nice ideas.

Here, for example, is an HN discussion (hopefully what is going on should be self-evident): https://twitter.com/taliesinb/status/338742471574040577/phot...
NetBSD: https://en.wikipedia.org/wiki/NetBSD#Examples_of_use

Agreed. The Debian developers should feel proud of the accomplishment.
Exactly. This is one sentencing I can completely agree with. People need to realize that there's a huge difference between having a bunch of pizzas delivered to someone's house and sending a SWAT team.
Who do you think legally owns the manuscripts?
I wanted to dislike it for that reason alone, but alas, the editing was so terrible, I didn't even get to that.
As far as I can tell, there are two diametrically opposed groups of people who love to repeat this.

1) People who say that Al-Qaeda is a bogeyman that is used to justify any expense in the war on terror.

2) People who say that Al-Qaeda is a held up as a few bad apples when the problem is that all followers of Islam are terrorists.

I think they're both wrong. I'm curious: What exactly do you call the organization that bin Laden ran? I'd maybe buy arguments that this organization is not as pervasive or cohesive as they have been made out to be, but not that they never existed at all.
Nothing new and in fact it's an extremely common hack to do a recursive find over the upper directory to see if there are any directories with the global write bit set, then drop a php file to get access to their file system. In general, you should never put anything on a shared server that you don't want to world to see.
Wow, that is awful timing... Anyone know if they'll be doing any refunds for legitimate transactions?

Just got a bit over 2k LR a few weeks back, who'd have guessed I'd lose more money keeping it in LR instead of immediately buying bitcoin.

edit: looks like if e-gold is anything to go by it'll be several years at best. sigh.
file to USCIS, you will pay est. of $1200. Talk to a lawyer, My mother is H1B she paid $1800 out of pocket including her lawyer cost to apply for an H1B.
How far can you overhang blocks?
When I read that in-context it seemed clear that the "us" in that sentence was Powerset. He said that at the time of the acquisition he wasn't even thinking about Boundary and he mentioned starting the company only in the next paragraph.
You can email into your Evernote account:

http://blog.evernote.com/blog/2012/04/20/quick-tip-friday-em...

Or if you don't like Evernote, you could use Zapier (https://zapier.com/) to email into almost any other Web service with an API.
'Most people will get that when you say “programmer,” you don’t mean that you just write code.' Anyone technologically literate yes, not sure if this applies to the population at large.
Start Up Idea - a little help plz
Hi all,

A little help please:
Would say this is a good idea?

From time to time we get in to, too deep and need help from the experts so we thinking of creating an web app just for that occasion, be great to here your comments.

A mobile app that searches and connects you to skilled local trades people.

In 3 easy steps:

1. Download the app (sign up at : http://tringlocal.launchrock.com/ )

2. Search Trades people you are looking for.

3. TringLocal will get back to you, with the best rated trades people, who can help you .

The best bit - TringLocal will connect you to the most highly rated trades people voted by your social network, so you know you've got someone who comes highly recommended.

It can work for burst water pipe, no show wedding photographer … well you get the idea? Piece of cake-

http://tringlocal.launchrock.com

thank for all your feedback

Jake
I'm confused as to when it became Google's job to "design a better transportation system." Isn't that municipal government's job? Shouldn't we perhaps be angry with them for not doing THEIR jobs?

Google is doing what's best for its employees. If there was a public transportation system capable of doing it instead, I'm sure the stockholders' money could be put to better use.
The government is just expressing the will of the citizens -- primarily older people who won the property lotto and want to keep the community in a permanent 1960s time-bubble.
He's my favorite math popularizer these days. This article's a good sample of why.
Is operations really going to be a competitive advantage for you? If my startup lets you hail cabs from your smartphone, is an extra 9 of uptime really going to help me beat Uber?
A little web app to help?
Hi all,

A little help please:
Would say this is a good idea?

From time to time we get in to, too deep and need help from the experts so we thinking of creating an web app just for that occasion, be great to here your comments.

A mobile app that searches and connects you to skilled local trades people.

In 3 easy steps:

1. Download the app (sign up at : http://tringlocal.launchrock.com/ )

2. Search Trades people you are looking for.

3. TringLocal will get back to you, with the best rated trades people, who can help you .

The best bit - TringLocal will connect you to the most highly rated trades people voted by your social network, so you know you've got someone who comes highly recommended.

It can work for burst water pipe, no show wedding photographer … well you get the idea? Piece of cake-

http://tringlocal.launchrock.com

Thanks for all your feedback

Jake
Why are you so sure there is another side? How many times does the US government have to harass innocent people and ruin their lives before you are willing to accept that this sort of thing is happening every day?
> There's no concept of "pull requests" within Git.

http://git-scm.com/book/ch5-2.html "run the git request-pull command and e-mail the output to the project maintainer manually."

http://www.wired.com/wiredenterprise/2012/05/torvalds_github... "Git comes with a nice pull-request generation module, but GitHub instead decided to replace it with their own totally inferior version."

> I think what those users mean is that they want the project on Github.

that would be even worse. luckily as zzzeek explained below, it wasn't the case.
It's a search form.

It seems quite possible that CSRF checks could have been omitted in not expecting this to be a source of woe. Just goes to show... :P
My friends have been working on an exokernel in D for years, so that's been our go-to for this kind of thing. It's only like 10 kloc, maybe we should port it for fun...
Integrating the I/O main loop with the scheduler and work stealing. The new architecture is designed for work stealing, so tasks easily migrate between threads on a demand driven basis to achieve optimum CPU usage. It also allows us to play a bunch of tricks with channel communication that have improved performance of message sends dramatically and pave the way to removing all the locks.
I am a sysadmin and developer by day/night; I am currently putting together my initial videos for http://makerops.com, which I hope to be the railscasts for bridging the gap between dev and ops, for individuals/startups/people who don't have a lot of money to spend. I'll also be doing some stuff for large companies looking to transition their organizational structure to a "devops" shop, which I hope helps me launch a consultancy. There are a lot of things that developers can do to ensure they can scale, stay up, and not lose everything. Worst case scenario, use a platform as a service (heroku etc) and outsource all of the add ons, such as mail, logging etc. Best case scenario, write all your infrastructure as code, and be able to deploy to N number of clouds, or even bare metal, either way, I hope can learn how to produce a screencast quickly enough to get this damn thing launched.
Steve Wozniak discusses his MacBook Pro and his affinity for transistor radios
According to linkedin, he worked at powerset for 3 years at "well below market rate". He got 240K in bonus money from the acquisition. So the question is, how far below market rate? If he was making 60-80K as you suggest, that's about 60-80K below market rate. Which would mean that he took a huge risk for very little actual gain, especially since the bonus was probably taxed as regular income rather than capital gains.
Sure. Here's a more complete version of his lyrics: http://www.bostonmagazine.com/news/blog/2013/05/23/a-methuen...

"[Bleep] a boston bominb wait till u see the [bleep] I do, I’ma be famous rapping, and beat every murder charge that comes across me!"

He's talking about beating murder charges too.

I love the 1st amendment, don't get me wrong! This dude was crossing the line though.
The standard hog has been leaned up considerably, based on the idea that less fat is healthier (also because lard is less valued, but still).

Edit: And consumers can choose healthier animal sources without triggering any breading, replacing beef with chicken is widely considered a healthy thing, fish even more than chicken.
Sounds better than Vista!
Ted Nelson is very quotable and I would highly recommend reading at least the freely available excerpt [1] from his seminal 1974 book Computer Lib / Dream Machines to anyone who frequents HN. For those who don't know, his most famous invention is the term "hypertext" and he also appears to have invented, though is lest often acknowledged for, the history stack with its accompanying "back" button in Web browsers.

Nelson's writings have a different sensibility from the mainstream of both his fellow computing pioneers of the 1970s and the hackers of today. An example of his thinking from before even UNIX was a household name is that Nelson decried hierarchy as a form of organization for data (e.g., in a computer's file system), instead emphasizing association [2], which he thought closer to how humans actually organize knowledge. He also argued that instead of dialogue-based computer instruction that was taking off at the time the best method to use a computer for learning would be to "motivate the user and let him loose in a wonderful place", that place being a hypertext knowledge base (see [1], p. 313).

It is disappointing that in spite of Nelson's books being incredibly influential (to the point where they were reprinted by Microsoft Press because of the company's fondness for the author) most of his ideas never saw a complete implementation in a popular product. I'd love to read a doctoral thesis/book on the history of Project Xanadu -- a hypertext Web project started in 1960 that was supposed to have content transclusion and microtransactions (!) -- with an in-depth analysis of the factors that led it to where it is now (i.e., still unfinished today). (Gary Wolf's article "The Curse of Xanadu" [3] is the closest we have to that but it has multiple problems, to the point where Nelson has published a refutation [4].)

Today Ted Nelson's background in art (the man has, among other things, a claim to writing the world's first rock musical [5]) and fondness for pure performance (which is what I believe his recent video "I Think I Know Who Satoshi Is" [6] to be) may be a factor that limits the appeal of his message to most "techies" (his term), preventing them from more deeply investigating his message.

[1] http://www.newmediareader.com/book_samples/nmr-21-nelson.pdf

[2] Nelson's alternative to the file hierarchy was associative "metadata" a-la the MEMEX (https://en.wikipedia.org/wiki/MEMEX#Associative_trails). With WinFS canned I'm still waiting for someone to implement something even close to that.

[3] http://www.wired.com/wired/archive/3.06/xanadu.html

[4] http://xanadu.com.au/ararat

[5] http://people.oii.ox.ac.uk/dutton/2007/12/10/the-first-rock-...

[6] https://www.youtube.com/watch?v=emDJTGTrEm0
I'm sure he'd be fine in Europe.