Better HN
topnewbestaskshowjobs
Log inSign up

coderholic

2,752 karma · joined Mar 1, 2009 (17y ago) · 378 submissions

British software engineer living in Seattle, previously 5 years in the SF Bay Area.

Founder at https://ipinfo.io. Formerly Calm.com, Facebook, Lightbox and Mendeley. Father of 3.

You can get in touch via ben.m.dowling@gmail.com or follow me at https://twitter.com/coderholic

    $ curl ipinfo.io/8.8.8.8
    {
      "ip": "8.8.8.8",
      "hostname": "google-public-dns-a.google.com",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "loc": "37.3860,-122.0840",
      "org": "AS15169 Google Inc.",
      "postal": "94035",
      "phone": "650"
    }
Submissions

comment 8y ago · link · parent

Here's a guide on doing exactly that - falling back to IP geolocation when browser geolocation is blocked (or unavailable): https://ipinfo.io/developers/replacing-getcurrentposition

comment 8y ago · link · parent

Of course IP geolocation is terrible for language selection, but that doesn't make passive rough location information useless in general. What if, for example, you want to show someone nearby flights? You could ask them to enter their zip, or you could save them a step and make suggestions based on their geolocation. They could update the location if they wanted information on somewhere else or if you got the location wrong, and that's worse case 1 step, and best case no steps - you improved your UX!

comment 8y ago · link · parent

Congrats on the launch and the HN coverage @jonathan-kosgei! Looks very similar to my service, https://ipinfo.io:

    $ curl ipinfo.io/8.8.8.8
    {
      "ip": "8.8.8.8",
      "hostname": "google-public-dns-a.google.com",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "loc": "37.3860,-122.0840",
      "org": "AS15169 Google LLC",
      "postal": "94035",
      "phone": "650"
    }
It also started as a simple geolocation API when I first launched it over 3 years ago. Since then we've built many custom data sets and expanded to more products, including IP to company details, carrier detection, reverse IP hosting data and more. See https://ipinfo.io/products. We've been lucky enough to signup customers like Dell, Tesla, eBay, TripAdvisor, Plesk and others. Happy to chat and share notes at some point!

comment 9y ago · link · parent

The example is useful, thanks. I see that there's $125k of cap gains to pay for a move to a property of the same price. You're calling that a loss though, and I'm not sure I see it that way. Sure, if house prices hadn't gone up you could have moved from a $1M house to another $1M house and paid nothing. But in your example you're still $875k "in profit", so it's not really a loss, it's just a cost associated with a lateral move in the same area. If you downsize you actually realize some of those gains - of course not all of them because tax must be paid, but there's no avoiding taxes :)

comment 9y ago · link · parent

Won't you only pay a % of the gain in price in tax? In that case you're strictly worse if it goes down in price. You'd pay less tax, yes, but as tax is % of gains you're net worse off. If this really isn't the case can you share some example numbers showing how you can be worse off with a house that's worth more?

comment 9y ago · link · parent

We have a company details API that does exactly that at ipinfo.io - get in touch at support@ipinfo.io if you'd like more details or see https://ipinfo.io/products

comment 9y ago · link · parent

Congrats on the launch! Looks very similar to my service, https://ipinfo.io :) I launched that around 3 years ago and at the time there weren't even any paid plans. It now handles close to 500 million API requests a day.

I'd recommend killing the unlimited plan - you'll lose out on revenue with that.

Good luck! Feel free to reach out to me if there's anything you think I could help with.

comment 9y ago · link · parent

Great guide.

On point 6, find the asn, my own service https://ipinfo.io can help you there. Curl ipinfo.io/ANYIP/org and you'll get the ASN info. Also see ipinfo.io/developers for more options such as geolocation, hostname, hosted domains, and more.

comment 9y ago · link · parent

Yes it was transferred from icb to affilias in July

130.

Tools we use: ipinfo.io(blog.opencagedata.com ↗)

1 points · by coderholic · 9y ago · discuss

131.

How to Reach Over 1B More Users with Website Localization(blog.clearbit.com ↗)

2 points · by coderholic · 9y ago · discuss

comment 9y ago · link · parent

Hmm yeah opensourcing it could be a good idea, I'd not considered that.

Latency.at looks great. Saw you on the HN homepage today, congrats!

comment 9y ago · link · parent

I'd rather give it away to somebody with the energy to put into it, but perhaps not the money to buy it. Passing it forward :)

134.

The Extremely Boring Thing That Will Make or Break Your API(blog.ipinfo.io ↗)

2 points · by coderholic · 9y ago · discuss

135.

Ask HN: Help me give away a site that's made $70k

4 points · by coderholic · 9y ago · 5 comments

136.

Why you should build your company on APIs(medium.com ↗)

2 points · by coderholic · 9y ago · discuss

comment 9y ago · link · parent

His profile at https://news.ycombinator.com/user?id=moflome links to https://moflo.me/ which has a contact link and a phone number

comment 9y ago · link · parent

Simplicity. You had to signup and register for an API token for the others, and then read the docs to figure out how to parse the response or work out what field you wanted. Can't get much easier than:

    $ curl ipinfo.io
    {
      "ip": "73.222.35.113",
      "hostname": "c-73-222-35-113.hsd1.ca.comcast.net",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "loc": "37.3885,-122.0741",
      "org": "AS7922 Comcast Cable Communications, LLC",
      "postal": "94041"
    }
Of course it's now evolved past that point. You can signup for an access token, we offer additional data sets (carrier detection, hosted domain details, ip type etc), and we've done a ton of work on infrastructure to handle over 300 million API req/day at very low latencies and without any stability issues, but simplicity and really focusing on developers is what I think helped with the initial growth.

comment 9y ago · link · parent

Great article here: http://www.bbc.com/future/story/20130604-why-we-turn-devices...

Also good: https://en.wikipedia.org/wiki/Mobile_phones_on_aircraft

comment 9y ago · link · parent

I launched the first version of https://ipinfo.io a few hours after having the idea - but it was just a super simple webpage at the time. I added the API within a few weeks I think, and that's when it started to take off. It was probably around a year before I added paid plans though, and another year before it started bringing in decent revenue, and then another year before I started working full time on it. See https://getputpost.co/from-side-project-to-250-million-daily... for some of the story.

I've worked on tons of side projects before this (most unsuccessful, some with some success - busmapper.co.uk, donothingfor2minutes.com). My advice would definitely be to launch early and improve things over time.

comment 9y ago · link · parent

> If your investments make more money than the interest you pay on debt, then conceivably you're making more money than you are paying in interest on the debt correct?

Yes, you're making money, but you're making less than you could have without the loan.

In the original example there was an investment that returned 7%, and a loan was available for 3%. You can choose to invest your own money (let's assume it's $100,000), or to take a loan. If you take the loan you're making $4000 a year (4%) from the investment, and if you didn't take the loan you'd be making $7000 a year (7%). You're worse off!

But you have still have your original $100k, so you can now go and invest that. Say you find another opportunity that returns 4%, and invest your money there. You're now making $8000 a year ($4k from the investment with the loan, and $4k from this new opportunity) You're better off!

But what if you can only find other opportunities that return 2%? If you were to invest your money there you'd be making $6000 a year, so you'd still be $1000 a year worse off for taking the loan!

My point is that it doesn't always make sense to take the loan. There's a trade off - you're taking worse returns in exchange for having additional capital available to you. If you can invest that capital in something that returns more than the delta between what the original returns would have been and the interest on the loan only then does it make sense. If you can't get better returns that the delta you'd be worse off - at least in terms of returns, perhaps that's something you're ok with to have additional capital available.

comment 9y ago · link · parent

Some great points, and I totally agree with all of it. The parent implied that it always makes sense in general to borrow if the return is greater than the interest:

> If your investments make a better return than you'd pay interest on debt, it makes sense to take out a loan

Which doesn't quite add up!

comment 9y ago · link · parent

Surely that's only if you can make more than the delta by investing the cash is something else? So in your example it'd make sense if you could invest in something that returns more than 4% (7 - 3)? Otherwise you could make more money by not taking the loan.

comment 9y ago · link · parent

Great advice. This is pretty much what I did when working on https://ipinfo.io on the side (now fulltime).

For support tickets I use and highly recommend helpscout - it's cheap, and works well. The android and iOS apps need some work, but it's possible to do basic issue management from mobile.

comment 9y ago · link · parent

Curl ipinfo.io seems simpler, and provides a lot more information! If you do just want the ip then curl ipinfo.io/ip

comment 9y ago · link · parent

Yeah Google does, and we take the first public IP from x forwarded for, so we'll show your actual details in that case.

comment 9y ago · link · parent

Curl ipinfo.io gives you a lot more information!

comment 9y ago · link · parent

Yes, it's profitable. See https://ipinfo.io/pricing for details of our paid plans.

comment 9y ago · link · parent

Oh it generates revenue, and we have a lot of big customers! See https://ipinfo.io/about https://ipinfo.io/customers and https://ipinfo.io/pricing

150.

How I Took an API Side Project to 250M Daily Requests(blog.ipinfo.io ↗)

494 points · by coderholic · 9y ago · 159 comments

1
456
13