HNHacker News
TopNewBestAskShowJobs

njs12345

1,175 karma · joined December 23, 2009

submissionscomments
njs12345··on Do rent controls work?
A land value tax ( https://en.wikipedia.org/wiki/Land_value_tax ) is an economically interesting alternative to rent controls that doesn't seem to suffer from the same perverse incentives that rent controls sometimes do.

FWIW, the housing market is pretty far from a free market, so well-implemented rent controls could be a good thing. I think like all government policies, really it comes down to implementation - I can imagine Germany doing a much better job than the USA here.

njs12345··on The time is right to re-examine the L.A. freeway
London, New York, Paris and Tokyo can't be replicated anywhere else then?
njs12345··on Coca-Cola Funds Scientists Who Shift Blame for Obesity Away from Bad Diets
I think the problem with processed food is that it allows combinations of nutrients which don't occur in nature, which our bodies are not well adapted to.

It's not so much processed foods - obviously you can have processed foods which are healthy too. But if people with very unhealthy diets cut out the kinds of processed foods they eat it would probably go a long way towards making them healthier.

And you're right that capitalism is the root cause - the incentives are skewed towards making foods more addictive and moreish, to help with sales, which leads to making them worse for us. Big food companies even have labs to help them optimise this: http://www.nytimes.com/2013/02/24/magazine/the-extraordinary...

njs12345··on Thomas Piketty: “Germany has never repaid.”
The Greek economy has shrunk by a quarter over the course of the crisis. Not quite a smoking crater, but not exactly a trifle either, and not incomparable to the impact of a war, I'd say..
njs12345··on Hedging Against Getting Paid in Stock
Even if hedging the risk directly is banned, you may be able to create a reasonable approximation by hedging shares of a near competitor. Apparently people in finance who get paid partly in options do this kind of thing all the time.

Also, how would you ever get caught if you just ignored what it said in the handbook?

njs12345··on London, it’s over, and it’s not me, it’s you
'per calendar month' - in the UK there's a bit of a tradition of quoting rental prices (and footballers' wages) per week, so it's best to specify which you mean.
njs12345··on Cloud Haskell
Haskell threads are pretty lightweight - 1000 would certainly be no problem: http://stackoverflow.com/questions/1900165/how-long-does-it-...
njs12345··on PostgreSQL: the good, the bad, and the ugly
Or, as a middle ground, JetBrains have a nice SQL IDE: https://www.jetbrains.com/dbe/
njs12345··on Debian Jessie on Raspberry Pi 2
The previous RPi did actually have hardware FP, see http://raspberrypi.stackexchange.com/questions/545/does-the-.... I think the arch support is probably the big issue - any standard Linux distro with an armhf port will work on the new RPi. Probably gets you access to a lot more interesting Debian packages than you did with Raspbian.
njs12345··on Debian Jessie on Raspberry Pi 2
And ARMv7 is a big deal, as the article points out..
njs12345··on Holy Shit, I Interviewed the President
Greece having PR is a big reason why Syriza has been able to do so well -http://en.m.wikipedia.org/wiki/Elections_in_Greece
njs12345··on I think I've solved the Haskell records problem
Here's the Trac page of the proposal: https://ghc.haskell.org/trac/haskell-prime/wiki/TypeDirected...

Also a bit disappointed that it didn't make the cut - it seemed like a good pragmatic solution!

njs12345··on Saving a Project and a Company
It's a little complicated - see https://en.wikipedia.org/wiki/Load_(computing)#Unix-style_lo...

Essentially, if (Load average / number of CPUs) > 1 (for CPU bound work) then your system is overloaded.

njs12345··on What happens to your bike after it’s stolen
or people who live in cities where you can cycle straight for half a mile without making a turn or running in to a stoplight

I think Amsterdam here is the exception rather than the rule - most other places I've cycled have bikes on the road with cars rather than segregated tracks. Then, a faster bike makes a lot of sense, both from a safety standpoint (being able to accelerate quickly can get you out of trouble sometimes) and because you can actually hit your higher top speed, to shorten your commute.

Obviously there are diminishing returns - going from a $150 bike to a $300 bike is a big upgrade, and going from a $300 bike to say a $1000 bike probably makes less of a difference. But certainly in London (and Seattle from my experience, and probably many places in the US) I don't think it's an exaggeration to say that a nice road bike can make a bigger difference.

For context, here are some of the roads I cycle down when I cycle to work:

https://www.google.co.uk/maps/@51.5110521,-0.0613274,3a,75y,...

https://www.google.co.uk/maps/@51.5106455,-0.0835212,3a,75y,...

https://www.google.co.uk/maps/@51.5118519,-0.0973481,3a,75y,...

https://www.google.co.uk/maps/@51.5091639,-0.1195712,3a,75y,...

https://www.google.co.uk/maps/@51.4853524,-0.1432872,3a,75y,...

njs12345··on Saving a Project and a Company
Nice article - this kind of retrospective is always really interesting. One little thing that caught my eye -

It turns out that postgres has an ‘auto vacuum’ setting that when it is enabled will cause the database to go on some introspective tour every hour which was the cause of the enormous periodical loads. Disabling auto vacuum and running it once nightly when the system is very quiet anyway solved that problem.

Often vacuum problems can also be fixed by running auto vacuum more often too - this means it has less to do per run, so should be able to keep up a little more easily. Loads of stuff on vacuum on the postgres wiki: https://wiki.postgresql.org/wiki/VacuumHeadaches#Perverse_Fe...

njs12345··on Announcing Docker Machine, Swarm, and Compose for Orchestrating Distributed Apps
If you looked at volume of commits it might tell a different story - I'd imagine commits by contributor would follow a power law, so you might well have a project where 5% of the contributors made more than 50% of the commits, for example.
njs12345··on Java Doesn’t Suck
The email serves at the cover letter, in my experience
njs12345··on Level Playing Field
I just use my domain registrar's mail server and forward my vanity email to a standard gmail address - then you can set your default From: to be your vanity address in your gmail and enjoy the benefits of having a completely standard gmail account.
njs12345··on Pgweb: Web-based PostgreSQL database browser written in Go
IDEA has some pretty slick database features, including some of the things you mentioned: https://www.jetbrains.com/idea/features/database_tools.html

Only in the Ultimate edition though, so quite pricey..

njs12345··on Hjson, the Human JSON
Typesafe have something similar, HOCON: https://github.com/typesafehub/config/blob/master/HOCON.md
njs12345··on China's 1989 Choice: the Paradox of Seeking Wealth and Democracy
4) and 7) were certainly factors in Korea becoming a developed nation too - lots of detail about this style of development in 'Bad Samaritans' by Ha-Joon Chang: http://www.amazon.com/Bad-Samaritans-Secret-History-Capitali...
njs12345··on Net neutrality
I don't know about the Openreach comparison being completely invalid - Openreach was only created in 2006, 12 years after BT was fully privatised.

Is there a reason why the FCC couldn't provide a similiar regulatory climate in the US? Even with subsidies if required?

njs12345··on Net neutrality
Well, when I looked (in E1, close to Central London) it wasn't available yet, and only about half the people in my office can get it. Hopefully things have changed in the meantime :)
njs12345··on Net neutrality
> I would love to see a world where the companies that own last-mile infrastructure are required to lease the lines to any ISP the end consumer wants; this would create a competitive market and mostly eliminate the problem. [2]

This is pretty much how it works in the UK; see http://en.wikipedia.org/wiki/Openreach

It does seem to work pretty well.. there are a wide variety of operators and prices are very low. If I had to pick out common criticisms, Openreach can take their time if you have to deal with them directly (getting a line installed in a new office or apartment can take a few weeks), and there seems to be very limited innovation in the last mile - even in London it's hard to get more than 20mbps, and many people in rural areas are stuck with a crappy DSL line at 2mbps or so.

njs12345··on Introducing a simpler, faster GitHub for Mac
Is there any way to revert a single hunk interactively in the client (like git checkout -p)?

I too use it for light code review, but often find spurious whitespace/brace placement changes that I want to revert to make my eventual PR a bit less noisy..

njs12345··on Android without the mothership
Not always. If you use maps, for instance, then calling getMap on a map fragment when Play Services isn't installed will give you back a null reference.
njs12345··on A SWAT team blew a hole in my 2-year-old son
Some countries have experimented with state supply of heroin to addicts - it's actually a really cheap policy and seems to work well: http://en.wikipedia.org/wiki/Heroin-assisted_treatment

Obviously, the taxpayer is footing the bill for this, but total spending reduces (through the reduction in drug related crime).

njs12345··on Ask HN: is there still a country without web censorship?
There is a system you can't turn off, although you're unlikely to run into it from day to day usage: http://en.wikipedia.org/wiki/Cleanfeed_(content_blocking_sys...
njs12345··on Ask HN: Who is hiring? (February 2014)
Citymapper (London, UK) - Help build the world's best transport app!

(Python, iOS/Android, JavaScript, etc)

We're looking for great people first and foremost, but here are some of the things we make:

* Client experiences that people love. We have iOS, Android, and web apps.

* An omnivorous transport data processor. We fuse together loads of data sources (of wildly varying quality) to give people the information they need in a growing number of cities around the world. We use a lot of Python.

* A fast, scalable stable of servers. We have a large user base which relies on us to give them snappy answers every day. We use Saltstack.

* A psychic city brain. We're digging up patterns in urban data to tell people the answers they need to know about their commute before they know the questions.

If you want to help us with these things and other yet-to-be revealed madcap schemes, we want to hear from you!

http://citymapper.com/jobs - or drop me a line at nicholas@citymapper.com if you just want to talk :)

njs12345··on What Happens When the Poor Receive a Stipend?
It's different in the US:

'The taxable income of the donor is reduced by 300 USD. If the donor's income was in the 35% income tax bracket both before and after the deduction, the donor's tax liability (amount of taxes owed to the government) is reduced by 105 USD.'

http://en.wikipedia.org/wiki/Charitable_contribution_deducti...

← PreviousPage 3 of 13Next →