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 12y ago · link · parent

I wrote much of the original BusMapper website and all of the iOS app. The only other person involved (other than Azmat, the CityMapper founder) was Mattias, who did all of the hard core routing algorithms - is he the guy on your team?

You can still get the BusMapper app at https://itunes.apple.com/us/app/busmapper/id431558152?mt=8, but CityMapper has come a long way since then!

comment 12y ago · link · parent

I've been on Breue since the start (thanks Zach!), and there have been some great products and some really interesting discussions. It'll be really interesting to see what shape this takes as the community grows!

comment 12y ago · link · parent

Absolutely!

comment 12y ago · link · parent

Yeah that's also a great service. It doesn't include the network organization or hostname though, which you may or may not need.

comment 12y ago · link · parent

Yeah, exactly that! I'll have to check out Wappalyzer.

The code is written in coffeescript, and some key npm modules are:

- https://github.com/caolan/async

- https://github.com/brycebaril/node-tokenthrottle-redis

- https://github.com/rs/node-netmask

I was at one point using https://github.com/tjfontaine/node-dns for the hostname lookups, but it was significantly slower that the built in dns module, so I ended up wrapping that with my own timeout logic.

comment 12y ago · link · parent

Thanks Zach! :)

comment 12y ago · link · parent

What's your IP, and (roughly) correct location?

comment 12y ago · link · parent

What's your IP?

comment 12y ago · link · parent

Thanks for reporting! You should see that we correctly detect this as a bogon, but we should definitely be pulling the correct IP from the headers. I'll look into this.

    $ curl ipinfo.io/10.0.0.1
    {
      "ip": "10.0.0.1",
      "hostname": "No Hostname",
      "loc": "",
      "bogon": true
    }

comment 12y ago · link · parent

Did you see http://ipinfo.io/pricing? What changes would you suggest?

comment 12y ago · link · parent

Definitely an interesting trend emerging here, with lots of different players entering the space. http://whisper.sh/ raised a $21M series B, and http://www.500strangers.com also recently launched.

comment 13y ago · link · parent

If you're after IP details via an API you should check out http://ipinfo.io, eg:

    $ curl ipinfo.io
    {
      "ip": "67.188.232.131",
      "hostname": "c-67-188-232-131.hsd1.ca.comcast.net",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "loc": "37.385999999999996,-122.0838",
      "org": "AS7922 Comcast Cable Communications, Inc.",
      "phone": 650
    }

    $ curl ipinfo.io/geo
    {
      "ip": "67.188.232.131",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "loc": "37.385999999999996,-122.0838",
      "phone": 650
    }

    $ curl ipinfo.io/org
    AS7922 Comcast Cable Communications, Inc.
    
    $ curl ipinfo.io/8.8.8.8/org
    AS15169 Google Inc.
More details available at http://ipinfo.io/developers

comment 13y ago · link · parent

The list of tor IPs is updated every 2 hours from https://www.dan.me.uk/torlist/ - presumably you're on that list?

comment 13y ago · link · parent

@prawn (sorry can't reply directly) - interesting, I didn't think this was a big deal at all. Can you explain your reservations?

The page is actually only there for SEO purposes, so that google indexes these IPs without me having to go to the trouble of building a site map. If there's genuine concerns or issues with that page then I'll kill it.

comment 13y ago · link · parent

It's a sample of IPs that have recently been looked up, which doesn't necessarily mean that IP visited the site or used the API.

comment 13y ago · link · parent

What do you mean by "people's" data? It's information about an IP address that is completely public. You could find it by going to ipinfo.io/<any random IP address>, or by using various tools or other websites to look it up.

comment 13y ago · link · parent

"Within the Internet, an Autonomous System (AS) is a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators that presents a common, clearly defined routing policy to the Internet", from http://en.wikipedia.org/wiki/Autonomous_System_Number

comment 13y ago · link · parent

Check out http://ipinfo.io too, which has both an uncluttered website and a simple API, eg:

    $ curl ipinfo.io
    {
      "ip": "67.188.232.131",
      "hostname": "c-67-188-232-131.hsd1.ca.comcast.net",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "loc": "37.385999999999996,-122.0838",
      "org": "AS7922 Comcast Cable Communications, Inc.",
      "phone": 650
    }

    $ curl ipinfo.io/geo
    {
      "ip": "67.188.232.131",
      "city": "Mountain View",
      "region": "California",
      "country": "US",
      "loc": "37.385999999999996,-122.0838",
      "phone": 650
    }

    $ curl ipinfo.io/org
    AS7922 Comcast Cable Communications, Inc.
    
    $ curl ipinfo.io/8.8.8.8/org
    AS15169 Google Inc.
More details available at http://ipinfo.io/developers

comment 13y ago · link · parent

Erm, looks like it's based in Germany to me:

    $ curl ipinfo.io/`dig +short devnull-as-a-service.com `
    {
      "ip": "213.95.21.200",
      "hostname": "o0.n0q.org",
      "city": null,
      "region": null,
      "country": "DE",
      "loc": "51,9",
      "org": "AS12337 noris network AG"
    }

comment 13y ago · link · parent

Also checkout http://ipinfo.io. Details of the API available at http://ipinfo.io/developers

comment 13y ago · link · parent

I'm actually working on that right now. You can see a very early (and currently completely free) version at http://snoop.io - would love some feedback!

comment 13y ago · link · parent

Very cool! I've been a long time Alfred user but hadn't upgraded to the power pack before. This finally convinced me. I just put together my first workflow (ip details - info at http://www.alfredforum.com/topic/3157-ipinfo-workflow-ip-add...). It's really simple to do and very flexible. I can see myself building more and more of these and them becoming a regular part of my "workflow".

comment 13y ago · link · parent

Non affiliate amazon link: http://www.amazon.com/dp/1597499579

I bought a copy a few weeks ago. I haven't read much yet, but so far so good.

264.

ShowHN: ipinfo.io - simple IP info site and API

2 points · by coderholic · 13y ago · discuss

comment 13y ago · link · parent

Yeah I was also quoted a flat fee of $100k, around a couple of weeks ago.

comment 13y ago · link · parent

My guess is that is to manipulate all of the app discount sites that scan the app store and report on apps that have recently been discounted. If the developers drop the app to $0.99 then all of those sites will report this as a huge saving, and possibly feature it more prominently as a result (I'm assuming those sites are all automated - and there are a lot of them!)

comment 13y ago · link · parent

I think he misread it as Batman

comment 13y ago · link · parent

I have the current time printed in my prompt, which means I can easily see how long commands took to run, eg:

    [start time] $ ./run_long_script
    [ end time ] $
My actual prompt looks like:

    [09:36] bmd-mba|bmd ~
    $ whoami
    bmd
    [09:36] bmd-mba|bmd ~
    $
Details in https://github.com/coderholic/config/blob/master/.bash_profi...

comment 13y ago · link · parent

Posted on April 1st, 2012

comment 13y ago · link · parent

That's only for the live feed, not any of the catch up content.
1
8910
13