skysight-inc/HackerNews huggingface dataset:
> France has already instituted a rule that requires a minimum 15-minute wait before a service like Uber can actually pick up a customer.

Holy crap. And I thought the "Lang Law" was bad:
http://techcrunch.com/2014/01/10/the-anti-amazon-law-is-abou...

Apparently, France also fixes the price of all books to keep it 'fair' for small bookstores.
How to be irreplaceable: replace yourself
I'll be more than happy to work with you 1:1 to get clarity. Your medium of choice.

That goes for anyone else reading this. I love answering questions and helping people. It's like pure bliss, so don't worry about being a bother.
Nothing, when assuming it's being used for an appropriate use case. In the previously mentioned use cases it's likely the wrong tool for the tasks in question.
Fear of survival for yourself and your family? How's that meaningless? Perhaps misdirected, though clearly they're worried.
> A planet with 7 billion people that live forever and are still actively procreating is likely to quickly have overpopulation issues.

The weird part is that it might not make us slam into the inevitable planetary population limit much faster than we otherwise would. Somebody (one of the senescence nuts, maybe - sorry, I don't have a link) did a pretty convincing study indicating the average lifetime might not even double if we get rid of sickness and cellular aging.

You can see the logic: take into account all the things that kill people and aren't related to disease and aging and model around that. Accidents, crime, and war are still going to exist.

The mathematical model isn't perfect. It's interesting to speculate as to whether we as a race would become greater or lesser risk-takers after finding out aging wasn't a problem.
For me it was partly about providing type errors, but also very much about providing easy to write and easy to read type testing and sorting. Type testing in javascript can be a bit tough on the eye and this hopefully makes it easy to see what parameter types a function will accept.
Fyi, bash also has vi-mode (set -o vi).
I'm not sure what you're suggesting here.

It's up to the process running in Terminal.app to support the key sequences sent to it. I doubt that M-f would work if your shell (bash, zsh, etc) were in Vi-mode rather than the default of Emacs-mode.
What does it have to do with socialism? Stupid people do stupid things no matter what is their government.
The basic Emacs key-bindings should work in all Cocoa apps. For instance, the URL bar of your web browser, while text editing in just about any editor (maybe even in Office, but I have not tired in a while), etc. Basically, anywhere you have a cursor, the basic line-editing key bindings should work.

So, in practical terms, this means you have 1 + n clipboards[1]. The main global GUI clipboard (using the command key), and then an app-specific clipboard (using the control key with Emacs bindings). As a developer, it is extremely helpful to have two clipboards in TextMate, for instance.

[1] Technically, the clipboard in OS X maintains a history (not sure what the limit is), but the OS X GUI only exposes the last cut/copied item.
Design should not force the user to relinquish tactile control. I spent more time aware of the broken scrolling physics choppy animations than reading anything.
A new one for me I accidentally found the other day..

If you use Spotlight to find something and then want to see the file in Finder, Cmd+click the item in the Spotlight dropdown.

Edited from Cmd+shift+click due to note in child comment :-)
Useful when copy/pasting things to share with other people in email and such:

$ pbpaste | pbcopy

takes the current contents of the copy/paste buffer and removes color/font/background color rich formatting and puts just plain text back into the paste buffer.

And of course pbcopy and pbpaste are also very useful on their own.
set -o vi does the trick for vim. Most vi commands work, but when you type <ESC>v this will open vi to edit your command line, in case you feel any command is missing.
It's not emacs, it's GNU Readline (or likely some BSD readline given apple and the GPL) http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html.

The shortcuts also work in every text field in the OS.
JB: almost 50 percent increase in one year.
I was watching The World in 2030 speech by Michio Kaku in 2009, and I was thinking "wow, Larry Page definitely saw this a few times", because some of Google's objectives since then seem to have been born from this talk:

https://www.youtube.com/watch?v=219YybX66MY
Back in highschool, I wrote an Uno clone for a final project in Java. I ended up encountering a similar issue for when I was defining constructors for Card objects. At some point, I had to cast null as an Object to rid of some ambiguity. Still pretty embarrassed about it.
This was life changing when a co-worker showed me this last year.
More accurately, one should determine what one finds exciting. That is to say, is fun > work for them or not? (Because I certainly prefer screwing around with code or my Web projects than going out drinking or whatever :-) Though now married with kids, this is a good thing ;-))
Thank you for Django. We still of course, hope to see you at future DjangoCons' :D

> (But please, no more Django Pony. It's stupid.)

Hear, hear!
Your tone is unnecessarily abrasive.

Parent has a legitimate point: we defend the right to be spied on by corporations when it was that data that made this whole thing much easier to set up in the first place. For all the malicious intent assumed of government, we forget that private companies often have no such oversight rules set up for their clusters of data. And we do all this because we believe that freemium is a necessary evil.
I dispute the idea of it being a "huge commercial machine" just because people are creating themes for it and charging money for them. It's a blogging platform that has support from an ecosystem that builds themes—which is arguably a requirement for any modern blogging platform that wants to draw in regular (read: non-tech-oriented) users.

The average user wants a nice-looking site without a lot of work. Ghost wants to market itself to regular users. It just seems like common sense that they'd get theme-makers on board—especially since it played such a huge role in the growth of Tumblr and WordPress, respectively.

It's pretty easy to ignore and gets people excited about the potential here, and considering that Ghost is so new, I don't think anyone is getting rich off of it right off the bat.

It's seriously harmless and arguably healthy that people are interested in spending time creating themes for such a young platform already.
You can also use shift-option-cmd-v to directly paste without markup :)
bash uses GNU readline, while ZSH has it's own readline. IIRC the Emacs-/Vi-modes in bash are support from readline. (this is also why you configure some of these things via .inputrc for Bash rather than .bashrc).
what does this has to do with socialism?
Mobile app use jumped 115% in 2013, messaging and social category led the way
Chrome 31.0.1650.63 m on WinXP (don't ask)
I like checking the box in preferences to use Option as Meta, and then option + left/right will jump a word at a time, and option + backspace will delete the previous word, just like in most Cocoa apps.
The Friends Of My Friends Are Not My Friends
This comment from Paul Irish suggests that there was no keylogger: https://news.ycombinator.com/item?id=7048862
Also useful is Apple's support doc listing of keyboard shortcuts. http://support.apple.com/kb/HT1343
To be fair, Kurzweil has always said it will take about 10 years to develop the software for strong AI, after we have the hardware/processing power necessary.
SimCity Offline Is Coming
The second function sets bar to "default_value" if called with a falsy argument like 0 or an empty string.
IIRC, someone mentioned to me once that bash doesn't link against libreadline, but uses libreadline (the source is directly in the Bash repo), so it's possible that it's using GNU readline, while Apple's libreadline is a BSD flavour.
At least 2 people replied to you referencing the lossyness of the encoder, but that is actually completely irrelevant and unnecessary to answer your question, as it applies perfectly well to lossless compressors too.

See for example Zopfli and ZIP, which is obviously not lossy.

The situation exists because there are many alternative ways to represent a given, fixed output file, so that the job of the encoder is to seek through this search space and try to find a size-optimal solution, or a good approximation thereof.
isn't it just Cmd+click ?
Lovely, thanks. Also, is it common knowledge that CMD+click on a URL opens that URL in your default browser? Useful for the "Running on http://127.0.0.1:5000/" messages.
Tip: Real hackers don't use a mouse.

/s
Blocking ips from countries is not an exact science as network blocks are traded frequently and networks do not conform to lines on maps.
Or more accurately, define fun.

Locally it was defined as drunk driving, 18 years of child support payments, hangovers, restraining orders, addiction/detox, and one acquaintance who went to prison for weed distribution. I didn't participate in what they called "fun" and I don't regret it at all.
I wish there was a way to make the mouse cursor stand out more when (and only when) it's over the terminal. Maybe it's because I use a dark terminal background, I can hardly ever see the thing.

There's a system wide setting to make the cursor huge, but I don't want a huge cursor everywhere. And there's a terminal preference to make the insertion cursor different, but that's a different cursor, not the mouse cursor.

When do I want to see the mouse cursor? It's useful for things like highlighting a git hash or a few lines of text for copy/paste.
I am the Director of international non profit , located in Ghana,
We are looking for a volunteer to create and design a website for our NGO.
Any one who want to help us can contact us on this e- mail
address : seekpeace16@yahoo.com.
Thank you.
Theory: Google decided to have relaxed rules to play catch up with Apple's App Store.

After hearing from other Android devs and what they were getting away with I decided to stick to Apple for a while.
Nothing. It doesn't seem all that different from JS to me. I think people just dislike the IDEs.
expired link issue came from using a new lisp feature

I don't think this is the case.

This fix would have a low priority on my list. I would rather have work done on improving the quality of comments and unfortunate high ranking of middlebrow comments.
> How meaninglessly proletarian and small minded.

How meaninglessly privileged and small minded.

> France, where free market competition is second to politics and special interests.

As it should be. Free market is like a wind, and sometimes you have to protect yourself from it.
They are not completely different, they were made for a
purpose(blogging), and the fact that Ghost was something
that appear recently which is why it base features are
things that the trend of today doesn't mean that suddenly a
well stable project like WP can't whole a candle to it.

Yeah, we all love new a shiny things, but that doesn't mean
that at the moment that they appear they will going to be better that well established tools like WP. As i wrote
before WP is at 3.8(pretty stable) and Ghost at 0.4(early
alpha) the numbers never lie. But don't get me wrong, i
would like Ghost to success but still needs more time.
You cannot use 'set -o vi' to turn Cocoa text fields into vi-mode.
If they are on strike the Uber driver is a scab. https://www.youtube.com/watch?v=yo70qkxzelA
<Ctrl> X, <Ctrl> E to edit the current line in your default editor.
This is amazing. You have saved me countless seconds of frustration :-)
I'd say you reverse the causality.

The government does this because most mainlanders eat this up. Idiotic jingoism and military adventures are how you win the populace and build your legitimacy. War is the health of the state.

The fact that culturally most people seem to see neighboring countries as either outright provinces, historical vassals that should be in their sphere of influences, or monsters that deserve to be raped and pillaged to account for past crimes doesn't help things.

Not to say the same thing doesn't occur in my country. It certainly does, and half a million dead in an equally pointless, stupid war does make risible any moral posturing on our part.
That's not choice. You're saying I shouldn't be able to use unlicenced cabs because someone considers them unsafe. It's like saying I shouldn't be able visit websites a government considers dangerous, and if I don't like to read government approved websites, there are other ways to get information apart from the internet (which, incidentally, are more regulated).
The fear isn't meaningless, but the violence is. There is no reality where smashing the windows on a cab is going to change their situation.
I guess he had the money, the wife, and the disposition.
I just don't believe that OKR is not used for evaluation. Every report with “marks” is inevitably leads to evaluation.
Mobile News: HP going to launch a $200 phablet next week
yearslostcounter++;
I wouldn't worry about 7 billion people living forever. Cryogenic technology, nanobots and whatever else will probably remain a bit pricy for a while, so poor people need not apply.
> How meaninglessly proletarian and small minded.

You think this violence is representative of the working class? That's a pretty dismal view of a huge part of society.

I'm hoping it's just that you lack a full command of that word...
... so do they prefer a track ball or TrackPoint (or some sort of Minority Report gestures-based system)?

/s
Sweet, I might actually start playing this game again!
Japan has a hell of a military (ahem, "self-defense force), but the others...

India has some serious logistical problems, especially on its Chinese border, and it's having a hard time fixing it. The Chinese have been pushing into Arunchal Pradesh with impunity because they have the supporting infrastructure on their side of the border that India doesn't.

(India also has nukes, but we're a long way from that mattering.)

The Philippines sadly has little military capability to speak of. Other countries are effectively donating hardware to them (ships, mostly), but at the moment their best defense lies in their political ties, and the best help they can offer is to serve as a staging point for other nations' forces.

Korea is a funny one, though. They're friendly to the Filipinos (and Americans), but the people there share a lot of the anti-Japanese sentiment seen in China. I think the scope of any role they play will be pretty path dependant, mostly hinging on where things flare up first.
Or you can use vim editing mode directly in bash using:

set -o vi

this makes most vim motions available at the command line after hitting "esc"
Ask HN: Is there a development team that only takes the most difficult projects?
I have clients come to me with the craziest ideas for projects that require complex hardware setups...my company doesn't have the expertise to take on these kinds of projects. I was wondering if there are any teams that specifically do these kinds of very difficult projects? If this is not following HN guidelines I'm sorry, I'll take this down.
The OP tip is nice to have built-in now. If I recall correctly, this was an option that had to be turned on in Terminal Preferences in earlier releases.

Another fave of mine: Ctrl-w for deleting whole "words" at a time. Better than holding that delete key down.

The default shell for OS X appears to be bash (my favorite shell as a Linux user as well).

Just google for Bash shortcuts. Here's a place to start: http://teohm.github.io/blog/2012/01/04/shortcuts-to-move-fas...
Makes other people less likely to drive for Uber, eh?
This is one of the reasons that people don't cross picket lines.

Good people won't cross them out of principle. The unprincipled among us may encounter other obstacles. It is very likely this driver got his just deserts.
Adrian & Jacob built a great framework, but more importantly they helped oversee the building of an awesome community and ecosystem over the last 8-9 years. Thank you both!
mdfind to get Spotlight results in shell.

Also, iTerm is a great Terminal replacement, if you haven't tried it.
I was wondering how big it was, that completely blows away what I expected. That's really not usable for huge swaths of people.
Not trying to advocate violence here, but few broken windows works better than wearing black armband.

This is how it seems to work in this country. Nobody will ever pay attention to some quiet, peaceful and respectful protesters, but as soon as things are getting dirty, then medias are all in and people/politics are actually talking/thinking about it.

This is indeed unfortunate, but as a matter of fact it works
Yeah I think golang can get ugly. I think assembly is prettier http://www.tyrannus.com/asmexample.html
Is "Lean Startup" Right For Your Idea?
International shipping would shut down and oil would go up 20X. Domestic transport would be problem very quickly. The shock to the financial system would mean most people were broke and the food production/distribution system runs on credit, which wouldn't exist. A jackbooted rationing system would probably dole out enough gruel to keep people from starving.
I'd be interested to see the data of how Simcity sales did averaging out past the launch date compared to other sim city games. Or, since it's all online, a view of active players past the first few weeks of play.

I know I bought it because the articles about the game failed to mention the size issues or any of the faulty AI issues (like traffic). I was amazed the reviewers didn't find any of those faults because they happened pretty fast and ruined the game for me.

Offline or not, Simcity was a huge step back for me and not worth all the hype it got.
Protests and aggression are close friends in France.

For example, kidnapping the boss to prevent layoffs (or at least get better severances) is something that happens regularly.
> Good people won't cross them out of principle.

Can you explain why? I fully respect workers' right to unionize and strike, but there's no reason I should be bound by their strike.
Well, I can see the logic, that a wide adoption will make it "the value transfer system" rather than "virtual risky asset" but I can't see how this would happen from the state in which it is right now without a crash.
Nothing new, we had similar articles and discussion on HN:

https://www.google.com/#q=site:news.ycombinator.com+movie+co...

Movie director David Fincher uses computer monitors with a green/blue Screen, the computer graphic is added in post production. Check out the behind the scene footage of "Social Network" (2 disc DVD ed)!
Explain here:

- Pux uses simpler data structure (indexed array) to store the patterns and flags. (In PHP internals, zend_hash_index_find is faster than zend_hash_find).

- When matching routes, symfony uses a lot of function calls for each route:

https://github.com/symfony/Routing/blob/master/Matcher/UrlMa...

- Pux fetches the pattern from an indexed-array:

https://github.com/c9s/Pux/blob/master/src/Pux/Mux.php#L189

- Pux separates static routes and dynamic routes automatically, Pux uses hash table to look up static routes without looping the whole route array.

- Pux\Mux is written in C extension, method calls are faster!

- With C extension, there is no class loading overhead.

- Pux compiles routes to plain PHP array, the compiled routes can be loaded very fast. you don't need to call functions to register your routes before using it.
If this were indeed malicious, I doubt they'd be dumb enough to give the symbol a name with backdoor in it.

But maybe they're doing some clever reverse psychology
Regulatory capture which exists because, before it existed, taxi drivers used to riot and attack each other.

With potential supply consisting of "everyone with a car", either prices would be driven down to bankruptcy, or with prices fixed by law, demand would be smeared too thin, or (as actually happened) means of limiting the supply would be created (violence and mob links outside the law, or regulation inside it).
And for taxis themselves; people who destroy other companies cars are not my favorite drivers.
Thankyou for your hand in creating something I use every day

Jacobs post: http://jacobian.org/writing/retiring-as-bdfls/
I think that's not a problem with significant whitespace, but the problem with CoffeeScript syntax. I'm programming in Python and had been programming in Coffescript and I always found Coffescript code much harder to read than code in Python. I don't know exactly what causes this, but my guess is that indented blocks of code in CoffeScript can appear after any line, so you don't have visual anchors that will indicate where one block begins and other ends. In Python however, indentation is always comes after keywords like def, if, class, for etc... and those are always highlighted by your editor so your eyes can always catch the block start very quickly.
Bash, running in your terminal, understands both the Emacs and the Vi commands. By default is Emacs, so you can C-a (control-a) for beginning of line, C-p to go back in command line history, or C-r to search it.

I prefer the Vi mode, though. Add to your .bashrc

set -o vi

Then you can press escape to go from input mode to normal mode; there k will take you to the previous line in command line history, j to the next line, ^ and $ to the beginning and end of the line, /something will search something back.

Editing is really fast; move by words with w (forward) and b (backward), do cw to replace a word, r to replace a letter, i to go back to input. It will remember the last editing command, just as Vi, and repeat it when you press . in normal mode.
So much for all the excuses about needing the cloud to run the simulation engine, etc
I've always preferred, option + left/right for fast moving with left/right for fine adjustment so I don't have to leave the keyboard.
Hydro power is proven economical, but it can be, approximately, tripled worldwide IF you displace tens of millions of people. In North America only small increments can be added.
While i condemn the violence, i have hard time justifying uber as a new revolution or advancement of technology.

Medallion owners pay close to 1.0 M $ to get the Taxi license from the city (NY) and they are not doing that for charity. If a new middlemen like Uber try to take the market without paying single dime it is bound to cause issues who have played by rules and invested significant money to acquire the license.

Uber simply tries to aggregate the demand side and demand concessions from the supply side to get the leads. Portraying Uber as egalitarian is wrong in so many levels.
I suppose, I guess almost all violence then becomes meaningful too. I guess unnecessary would be the better word.

Though really I just don't want to live on this planet anymore.
How to create Presentation and Infographics in HTML5
Is this circumventable by shipping form another EU country? Amazon UK ships for free to most of Europe and is AFAIK not bound by these laws, so this is a really strange situation.
Yea, I was going to post that. The extra settings are great and a demo like this really needs to start with an example photo. Direct link: http://snorpey.github.io/jpg-glitch/

If you like this sort of thing, check out http://reddit.com/r/glitch_art/

Another amazing glitch art tool: http://larixk.nl/experiments/sort/
What's wrong with magical ponies?