skysight-inc/HackerNews huggingface dataset:
The only thing I use Vim for is coding. I use gedit for taking notes and logging my hours. I use OpenOffice/LibreOffice for documents, spreadsheets, invoices, etc. I use the web for most every type of communication from blogging to email to HN comments.

But when I'm coding, I'm in Vim mode. Moving between the two is much easier because I'm so used to it.

Almost everything is about mobility to me. I want to be able to sit down at any computer and accomplish my workflow the same way I do at any computer I own. Thus, the web and plain text are my friends. This was also the reason I started using Vim in the first place - I know it'll be on any linux box I ever use.
Unfortunately this seems to be more a teaser for his Ted presentation than a substantial article. Never the less I found the subject highly interesting.
Thanks! We have some basic examples up on our blog. A good one is blackjack in Excel [1] - it shows off some of the versatility of Python as compared to VBA, like the ability to run a script in the background and have it respond to user actions.

[1] https://datanitro.com/blog/2012/07/31/Interactive-Spreadshee...
I have a much more interesting problem (I think!).

I wish Vim could read its configuration from a HTTP-URL passed in an environment-variable:

REMOTE_DOTVIM=https://foobar.com/dotvim

I'm dealing with many dozens of hosts and getting my precious dotvim onto all of them is outright impossible. Especially on accounts shared with other people.

There are hacks around it, but they are nasty (pasting a script, aliasing stunts).

I realize the chances for actually getting this feature are rather slim. But gosh would it make my day...
Two explosions are at 1:56 and 6:22. A smaller one is at 8:09.

Story: http://www.reuters.com/article/2012/08/10/us-usa-nasa-accide...

wiki: http://en.wikipedia.org/wiki/Project_Morpheus
How did you "try out CSS selectors"? $$ is supposed to do that (it's essentially a shortcut to document.querySelectorAll), does that not work anymore in recent versions?
When you see me half ask a question on IRC then quit, or quit repeatedly. ^^^ Switching context between vim & xchat & killing tabs. See also: jjjkkjkkgg
I'm pretty sure the right to bear arms does not give the people the legal right to violently overthrow the government, which appears to be what you are suggesting.
We use a Google Spreadsheet as a buffer for our tweets at work, hacking the ’sheet to post would be an awesome addition - and not one I’d’ve ever thought of.

This is a cool hack - and one that will make my co-workers lives a bit simpler.
I thing they use some kind of native addon (I don't know how FF addon works) to do this.

Unfortunately Chrome's native client(NaCl) does not support TCP yet! So I think something like this impossible in chrome? Any ideas?
I can't help but feel that the powerup_type change is short-sighted. In the new code, the enumeration of powerup types happens three times, in three different places. The first is in Powerup's constructor as a tuple of strings, the second is in Powerup.render as three paths of an if/else, and the third is in GameWorld.apply_powerup as the keys to a hash of functions.

It feels wrong that GameWorld should keep track of a list of powerup types independently from instances of the Powerup class, and that Powerup instances have no knowledge of what they do. It smells suspiciously like using strings as a substitute for object types. To me, that hints that there are stronger refactorings to be found that could take advantage of polymorphism or a strategy pattern, depending on your taste for inheritance hierarchies.
Better syntax highlighting? For what language? In all honesty, it's not super-tough to write your own syntax for any language. If you do it, release it on github and others will probably be willing to contribute.

Vim has support for scripting against Python and Ruby in addition to VimScript.

Better graphics? For what purpose? For displaying text?
Ubuntu Considers Replacing Nautilus File Manager
if you're switching to firefox for livehttpheaders, switch for firebug. ???
Social lags search and email in driving ecommerce conversions, revenue
> There's a useful shorthand: In the console you don't have to type "document.getElementById('blah')" to get a reference to the blah ID'd element. Instead you can just type "blah" in the console, and even though autocomplete doesn't show it, pressing enter will return the element with ID blah!

That's crappy, it's DOM0 aliasing. Use `$` if you're not using jQuery, it's an alias for document.getElementById. And there's $$ for document.querySelectorAll and $x for xpath queries.

See http://getfirebug.com/wiki/index.php/Command_Line_API for the rest of the command-line API.

> The Watch Expressions persist across tabs and I keep "this" as the top watch expression all the time. It makes for an easy quick check when debugging to make sure that you're in the scope you thought you were, and you can always use the dropdown to inspect all the properties of the current class.

An other good introspection method when debugging: expressions entered in the console execute in the current scope.
For the record, an AI altered my post. My submitted title was "Rocket-powered moon lander crashes, explodes in test today".
Are Olympic athletes mooches? Are students mooches? Are entrepreneurs who live off unemployment mooches? By your definition they are.

There are lots of "artists" that live off of welfare. Some of theme are mooches, some of them are just developing their craft and will later make millions doing it. How do you tell one from the other? You can't.
For a single developer tracking their own work this may be fine, because you can keep the entire spreadsheet and the details of the issues in your head. However, this doesn't scale. I recently worked somewhere that used a couple Google Spreadsheet to track around twenty people working on around ten closely related projects. Moving to Redmine, while resisted by the manager types that didn't want to learn new software, dramatically improved our ability to get things done.
In cases like this where the court's hands appear to be tied by a bad law, an appeal usually reaches the Supreme Court which will rule on the constitutionality of the law right?
There are stories of them having to interview for their own jobs.
would something like this not work?

curl http://url.to/vimrc | vim -u -
Untested assumptions are the cornerstone of many a failed venture. That should never be taken for granted.
Who do you think it was who brought the stock market out of the stone age? That would be the electronic market makers constantly pushing for innovation.

The old guard was perfectly content with eighths and fought as hard as possible to prevent decimalization because they were ripping investors off for billions a year.
MIT OCW has 18.06 Linear Algebra including lectures by Strang.
Sovereign Immunity, I believe.

I read the whole opinion from the 9th circuit last night because I was shocked that the 9th circuit (supposedly one of the most liberal) would hand down such an opinion.

From what I gathered, basically the US can break the law, but the government cannot be held responsible in the courts. The only people who can be held responsible are the office holders themselves (Barak Obama, Robert Muller, etc.). However, in this particular case, the could not be held responsible for damages related to the surveillance since they were just fulfilling their duties as officeholders. And the government itself could not be held responsible, as it had not waived sovereign immunity (a legal principle that says the state (or king!) can do no wrong).

https://en.wikipedia.org/wiki/Sovereign_immunity
First they came for the Muslims...

Is it too late to fight for the rights of the average Joe / Jane who might be white / European (i.e. "real American" in the eyes of the mainstream)?

It's all correlated, you can't advocate torture, bombings, drones, wiretapping, deportations for being here illegally (say, Latinos or Asians who who moved here a little after the Anglo-Saxons got done killing almost all the original Americans) for certain groups and then demand justice for some others.
> A China that leads the world will not offer the chance to be Chinese, because it is impossible to become Chinese.

I feel that this only applies for the elite, especially when there's a lot of political infighting; marrying an outsider will weaken the whole family which is really bad in a low trust society but that's another topic. This is not true for all social levels of China. China has practiced for what my international affairs prof terms as "reverse genocide". What is it? When an ethnically Han Chinese man or woman marries a non-Han partner, their children and their whole family are considered Chinese. To be fair, there are exceptions since China (and you can argue most of Asia) is still somewhat racist. If your children do no look "Chinese", they will not be considered as chinese.
if you care enough make a tutorial, you should care enough promote best practices, just sayin'.

I ignored pep8 for a long time, until I noticed more and more whitespace mess in diffs. Following pep just makes work easier.
Using tabs over spaces is a catastrophic misunderstanding of modern text editors. Spaces are the ONLY one-size-fits-all solution for a multi-developer environment. Text editors can be configured to SHOW a tab character visually as any number of spaces you want - without changing the code. If someone likes 3 spaces, they can see a tab character as 3 spaces; if someone else likes 8 spaces, they can show each tab as 8 spaces. Treating a tab as a "tab stop" is the mindset of a typewriter user.
Introducing Mongo Connector
I agree that the numbered offset is beautiful and interesting and perfectly appropriate for the numbers you'll see in a resume.
Wow. Good to know that you have a healthy respect for your users.
Very insightful article. I feel more worried about the Chinese housing bubble crash than anything else. You think the '07 US recession was bad? That'd be a walk in the park if China's bubble bursts.
vim can open URLs, so just opening the URL and then do :so % should do it.

I just tried it with http://dump.ninjaloot.se/hn.vim, and it seems to work.
Define able. Define subsidies.

I don't get food stamps, nor welfare, but I did enjoy substantial government subsidies on education (odds are, so did you). I also drive on government-subsidized roads, and enjoy government services such as the police and fire departments. My drinking water comes from a vast infrastructure built by government funds - not all of which was taxed locally. My electricity comes from similar government-subsidized infrastructure, and wouldn't even exist if the federal government hadn't poured enormous amounts of cash into the research of power generation and transmission technologies.

In short, my life story is one gigantic government subsidy, and odds are, so is yours. So is everyone's, to various degrees - nobody is even close to "clean" in this respect, unless you grew up in a monastery on a mountain top.

Also, it's funny that you mention health care, because by that definition every single person in Western Europe, Canada, and Japan is a moocher.

Ability is also a tricky notion because it is hard to separate from potential. Are we strictly talking about productivity, period, or are we talking about productivity commensurate with one's potential?

What is the morality of someone who, after receiving substantial government subsidization getting an education, who gets a dead end job? He's not on welfare or food stamps, but he sure as hell isn't the high-earning tax payer we hoped he would be, based on the considerable investment made. Is he a moocher of the system? After all, he failed to "pay us back" for the extra investment we made in him (sending him to college, say).

What is the morality of someone who, possessing a substantial intelligence, chooses not to apply himself in school, and ends up in the lowest rung of tax payers? Has he mooched off of us for failing to live up to his potential, or does he get a free pass? Does he have the "ability" to do higher level work?

What about people whose failure to realize their full potential is due to external factors?

This issue is anything but simple.

But let's simplify this grossly: you're referring to people who choose not to work (period) and whose existences require the constant intervention of government above and beyond what government does for "everyone else" (that itself is a tricky notion, but bear with me).

It turns out, we actually track these people, and they are an extremely small part of our society. The vast majority of people in our society work. The ones who do not actively seek to work. The percentage of people in our society who can work but choose not to, and lean on the government as a result is a rounding error. It's amazing how much libertarians and conservatives are willing to magnify this demographic by a thousandfold just to make their point.
I'd argue that it has nothing to do with how fast I can type or edit code. It has to do with how fast I can express ideas.

Just like I've learned to express ideas in various programming languages, I've learned to express ideas in Vim. Those ideas are within the domain of text manipulations. Even if I spent the same overall amount of time manipulating text (I don't) the process of getting from point A to point B is smoother and costs me less mental energy. That energy savings translates into better code.

One thing to note here is that, just as with any other notation, there is a learning curve. You must learn the essential complexities of the problem domain, as well as the accidental complexities of the notation. That learning requires deep understanding of fundamentals, memorization of idiosyncrasies, and practice, practice, practice. This is true in mathematics, spoken languages, written languages, programming languages, sheet music, and all the rest!
Rubinius debugging session
Is sovereign immunity a Constitutional right of the Government or something? Or is it just a law passed a long time ago? Because it sounds like something the politicians wanted to pass to save themselves when they overreach, rather than something that was actually done with the citizen's rights and security in mind.
>>I hope the Chinese are able to take criticism better than the west. Westerners can't get over their superiority complex.<<

Actually, most Chinese people I've met, especially those who were born and raised in mainland China, have a massive superiority complex. In every type of discussion comparing the West to China, they keep bringing it up the fact that China has thousands of years of history, and has invented things like gunpowder. Most of them view the West - especially America - with condescension and contempt.
It appears resolved now.
I am a Google Plus hold-out and it is sad to see that I am required to signup for Plus to read Yegge's blogs now.
I'm no Python expert, but the only reason I can think of is a combination of developer inertia and tradition.

In most IDEs, a TAB can be displayed as any number of equivalent spaces (8 being the common indent size), so if I switch back and forth between my big monitor (8) and my laptop screen (4), I can view the code with an indent relative to the width of the screen.

If that code uses spaces, I'm usually stuck seeing an indent of 4 on the big screen monitor - something I find irritating because it makes it harder to visually scan and parse code quickly.

So, even in Python, I always use TABs whenever I have the choice. It's just more flexible.
It merely receives proxied requests, does some stuff to it, then sends it back to the proxy, which returns it to the client.

You just described the majority of the web servers that we web developers deal with. Sure, it's a proxy, but the fact that the machine responding is connected via WebSocket and not a local network doesn't make it any less of a server, in my opinion.
I'm pretty sure that after the government has been violently overthrown there's really not much validity to what that government considered to be legal.

At any rate, the right to bear arms is associated with the concept of defending yourself from tyranny. According to some interpretations that's part of the intent of the right to bear arms, part of what it facilitates.

http://en.wikipedia.org/wiki/Second_Amendment_to_the_United_...
If you like reducing programs to basic expressions you should read into SKI combinator calculus and the X combinator.
Here is a paper that describes the construction of an efficient X combinator[1].
Reading the paper gave me insight in how simple yet powerful combinatory logic is.

[1]www.staff.science.uu.nl/~fokke101/article/combinat/combinat.ps
It seems like 75-80% of the card/board game projects are funded according to kickback.
Whereas most Asian men in Western countries get rejected by Caucasian females for not being Caucasian. (Source: OkCupid studies, anecdotes, Quora, etc.)
That is a shockingly high success rate. It seems like 75% when I would have guessed 20%
Tech Acronyms from A to WYSIWIG
I hear this rather frequently, but always sans numbers. What percentage of people on welfare are able bodied and able minded and do no work?

A friend of mine likes to throw out the assertion that 50% of the population doesn't pay taxes. A gross misrepresentation of reality. 50% don't pay income taxes, but if they have a job they pay payroll taxes. If they purchase anything they pay sales tax. If they rent or own a home or apartment they pay property taxes. If they have a vehicle they pay property taxes. How about the companies making record profits that reduce their income tax burden to 0%? In what world is it reasonable to expect the bottom 80% of the population, with about 16% of the country's wealth, to provide a greater percentage of their individual wealth so that the top 20%, owning or controlling 84% of the country's wealth, can pay a lower percentage?
Ask HN: Recommend an app to organize design inspirations.
I want to store and organize inspirational designs I encounter while browsing web, preferably on my desktop with a backup on cloud. It should have features such as categorization, tags, search etc.

Is there any good app(web app,linux desktop app,browser extension) for this?

P.S. : I wish evernote was available on linux.
You answered your own question: both satellites are in polar orbits. They pass the equator many times a day, but at a different longitude each time.
That is actually one of the primary purposes of giving the people the right to bear arms. If you are not successful, however, expect to bear the consequences.
Quikdraw: a revolutionary Lens Management System (LMS)
Show HN: Coolpoints - Creativity becomes currency.
I'm a bit ignorant into corporate law and taxes, but if one legal entity bought another legal entity for reasonable value, how is the sale of the company not capital gains to the previous owners? Unless the buying company vastly overpaid for the acquired company, I'm not sure what the IRS could do about this.

#edited to fix grammatical errors.
Why airlines still require your physical address when booking
I mean yes, you never know what it will be used for. It may not be anything by itself, but combined with a dozen other things it may be critical for something clever. That's what I love about the internet - it's a massive jigsaw puzzle.
Your discretion is admirable.
An astronaut plays with water in micro-gravity
Of course not, because it is not implied that it is impossible to do without, only that it is an advantage and that it is prudent to take all the advantages you can afford.
More secrets revealed: Galaxy Tab’s uninspiring U.S. sales numbers
Using 'Right Action' to Change Your Life
Dang, color me educated =)

I haven't had either of those features enabled in my UI, but that wouldn't surprise me as I've often had to ask them to re-enable basic features (like backoffice w/ MES) when they get accidentally turned off. I'm presuming these features need to be negotiated as part of the deal, and as I haven't needed them, they were never brought up.
Basically a web browser reaches the Node HTTP server and gets assigned a throwaway hostname on the Node server. The browser and the server have a bidirectional connection (probably WebSocket via Socket.io or something). The throwaway hostname can be queried, via an HTTP API, and will, upon request, query the web browser through the bidirectional connection then will relay the results back.
IMHO, INAL, but I doubt this case will reach the Supreme Court.

If you read the opinion, the 9th circuit court has basically declared that Al-Haramain has no standing to claim criminal damages against:

a) The US Government

or

b) Officials in the US Government

For this case to move forward, Al-Haramain would have to re-establish his standing to sue. To re-establish his standing to sue the US government, he would need to demonstrate in a higher court that the US has in fact waived its right to Sovereign Immunity (see my other post on this thread). To re-establish his standing to sue officials, he would have to establish that they acted maliciously or took some action that made them personally liable, as you can't really sue an office holder of the government for doing their job.
I'm a London olympics volunteer. I took some time off work. (I contract so its not hard to do). Its fun and makes a change to normality.

I think that what you really get out of it [apart from access to some of the events] is a change of scenery and a break from the routine by doing something 'different'.

Plus we get special pink oyster cards (london transport) .
If you think using Sharepoint is an overcomplicated mess, you should try having to develop for it sometime.
Niance's Nina is only available to large enterprise organizations, not general consumer apps, per their sales rep.

For the mobile app SDK, go to NDEV Mobile:

http://dragonmobile.nuancemobiledeveloper.com/public/index.p...
Forget Dull Indoor Offices, Let’s All Go Work Under Bridges
This is unreal. Great find!
Looking thru http://www.thekickbackmachine.com/browse/all/ it appears the projects are overwhelmingly successful. In the first 163 project, just under 75% were successful. Am I interpreting this incorrectly, or are projects funded successfully an overwhelming majority of the time?

jQuery('h2:contains("Successful")', 'div.caption').length; //successful
jQuery('h2:contains("Unsuccessful")', 'div.caption').length; //unsuccessful
Royal PITA
It is a matter of judicial law that was inherited via common law of England. The US government now takes the place of the king -- the 'sovereign'. This has no place in a democracy, and is not supported by the constitution, in my opinion.
Saying "best practices" makes my brain turn off. Call it 'dogma', it's more accurate because it lacks the subjective boolean people like to slip behind 'practices'.

I get it. PEP-8 is rad, and pretty well accepted... but:

1. It's a blog post. It's subjective opinion.
2. Whitespace alignment is rad, and some of the PEP-8 whitespace rules are pretty unfortunate.

I guess if it were me I'd at least have called out that the alignment violates PEP-8 as a warning to folks.. and I wouldn't have led the tutorial with it, so that I'd at least be dealing with trolls that make it through the entire post.
CouchSurfing is rewriting the whole codebase and db schema
Bad choice of words maybe, but that is what it feels like. Recent reports show that almost 50% of the country is on some sort of government benefit / entitlement. That's absurd and it's a tipping point.

Agree with you on your other points as well ... entitlements aren't the only thing that need to be reformed in this country and crony-capitalism is alive and well on both sides of the aisle.
I knwo<Esc>xio<Esc>A exactly what you are talking about.<Esc>ogot iy?<Esc>hrt
That seems to be a trend which is improving however (more Asian Male/Caucasian Female couples) At least in California among professionals.
Academic Paper On Acqui-Hiring
Would love to see an option as well if the campaign included a video