Recent submissions

Comment · 10 years ago
That figure seems slightly exaggerated, Wikipedia states he had $9800 saved when he was 20. And that he made $175 a month from his postal route. If he started his paper route at 15 he would have made over $10,000 from just the paper route during those 5 years. And the article lists several more business ventures he was active in.

Few people start working as early as 13-14, but if we extrapolate the $175 a month (which would be almost $2500 in today's dollars), and you had no expenses you could save $150,000 by the time you were 20, today.

Must surprising here is how well paid that paper route was. Average salary was $200 a month in 1944. Today the average salary is $2500 a month, but you can't earn as much from such a simple job today.

Comment · 14 years ago
This is why I always walk half a block to pick up a cup of coffee rather than just get one in the cafeteria (also it tastes better). For some reason taking a ten minute walk every now and then and getting some fresh air might be frowned upon, but getting coffee / smoking is a socially accepted reason to do so.
Comment · 14 years ago
Apple does not provide any API for getting the state of the modifier keys on iOS. I really think this is something they need to loosen up about if they want people to go into the post-PC. We get the point Apple, you want users to be able to do everything an app offers without accessories. But that's orthogonal to replacing your PC with an iPad.

(Especially since the private APIs are already there, they just need to allow them)

Comment · 14 years ago
I think it's a great idea. But to be persistent over my entire life, there really needs to be an export option so that when smartphones are no longer around and we got neural implants or something I can still make use of the data collected now.

Also 1% of the world seems impossible considering the line of sight when walking around. Even 1% of most countries is impossible.

Comment · 14 years ago
The support for JSON is only validation, otherwise it's just like a plain text column.

A better choice would be to use a hstore column, which is sort of like JSON but we different syntax. Postgres supports indexing hstore subfields, querying on them etc.

Comment · 14 years ago
You can't click outside the page (ie. on the background texture) to close the modal. But it looks great!
Comment · 14 years ago
I would just write the code to compute it to arbitrary precision and then tell the interviewer that I would test how many iterations are required and hard-code it.

If they insist that it must be solved at runtime, I would check the size of the computed term (1/(1+2x)) and repeat 'til it's less than 10E-6.

Comment · 14 years ago
Google Music is a javascript app and works well on the iPhone, the remote etc. all behave properly and it can play while in the background.
Comment · 14 years ago
My bank is a lot more careful then this. I actually called them a few days ago to get a password, and they asked:

* SSN?

* Full name?

* How long have you been with the bank?

* How many accounts do you have?

* Do you have a business account?

* How many business accounts?

* What's the name of the business?

* Have you set up auto-debit?

* Have you set up electronic-debit?

* To what companies?

* What was your last charge on your credit card?

* Do you have any monthly transfers set up?

* For what amounts?

* Do you have any loans?

* Do you own any investment funds?

* Which?

* Have you reset the password before?

* <My security question>?

* How many two-factor auth thingies do you have?

* Serial number on your two-factor auth thingy?

* Model of the above?

Are the questions I recall. So at least not every bank is careless enough to only require you to name a recent transaction.

Comment · 14 years ago
I actually use it a lot for watching subscriptions.

However, it's in bad need of an update (it's ugly as sin). So I won't complain if Google releases a version on the App Store instead.

Comment · 14 years ago
That explains how you serve the same data to that user, but the more interesting problem is: how do you propagate the changes to the rest of the users over time?

Do you run some sort of backlog daemon that moves stuff between the different shards? And how is that faster than doing so immediately (the same data would be moved either way...)?

Comment · 14 years ago
With iOS 6 it's not necessary for updates, at least. Still required for installing paid apps though (which arguably it should be).
Comment · 14 years ago
While useful, it's very dangerous in that it's serendipitous to make a commit that breaks building the project, which in the future will break building the project when checking out old commits, or introduce some subtle bug, which breaks other tools like bisect.

Just a personal preference, but I strongly prefer being able to build (and test) every commit in the entire history.

Comment · 14 years ago
This is why I prefer services to be with different providers. Having storage with dropbox, mail with gmail, phone with Apple etc. etc. means one service dying won't kill your entire online persona. While if you use G-drive, gmail, android phone, Google everything like they want you're basically screwed if you violate the TOS of any service.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton