Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samcrawford
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
samcrawford
7y ago
Our company provides network measurement devices and services (typically used on the internet). We benchmark internet connections, effectively. With some internet connections exceeding 1Gbps these days, we need hardware capable of measuring
92.
▲
by
samcrawford
7y ago
We use the Marvell Armada 8k SOC (quad core ARMv8, clocked at 1.6GHz) in an embedded board. We can sustain 10Gbps TCP throughout to the CPU on that with around 60% CPU usage on a single core. Bear in mind that these are all large packets (1
93.
▲
by
samcrawford
7y ago
I don't mean to nitpick, but exponentially? Really?
94.
▲
by
samcrawford
7y ago
I'm on their free plan and have never had an issue. They also send me warnings letting me know I'm at 50% of my free usage, which is a nice touch.
95.
▲
by
samcrawford
7y ago
I've used ns1 for a few years, they've been great!
96.
▲
by
samcrawford
7y ago
It's an expensive side project for sure, but it doesn't have to be anywhere near as expensive as that. My own side project uses a server with 20 cores (2x E5-2690v2 CPUs), with 256GB RAM and a 2TB SSD. This is a dedicated server I
97.
▲
by
samcrawford
7y ago
Whilst certainly not at Netflix scale, the BBC do have their own decentralised caching infrastructure called BIDI [1] that is frequently deployed inside large UK ISPs. This is similar to Netflix's OCA, Google's GGc or Facebook
98.
▲
by
samcrawford
7y ago
Check out Sao Paulo - it was over 500MB! Was very impressed that the map still rendered and was responsive on my 4 year old laptop too.
99.
▲
by
samcrawford
7y ago
In the UK, the cheapest way to pay for things abroad is to get one of the travel-specific credit cards. The Halifax Clarity card is probably the best known, but I see that there are others now. These give you better rates than even the best
100.
▲
by
samcrawford
7y ago
Their map is a bit misleading - they only cover North America and Europe well, which is not really "the whole internet". Their coverage in Asia, Oceania, South America, the Middle East and Africa is poor or non-existent. Level3 (n
101.
▲
by
samcrawford
7y ago
The tool in the screenshot is https://maps.openrouteservice.org/ . The greenery/noise filters are available there, but only for Germany. It is indeed an academic project, but is actively developed. Disclosure: Author of
102.
▲
by
samcrawford
7y ago
Author of trailrouter.com here. Your analysis sounds correct - I am indeed limited by the source data available, and you correctly infer that I rely on "features" available in openstreetmap (rivers, parks, etc). Nonetheless, would
103.
▲
by
samcrawford
7y ago
I am that software engineer! Thanks for posting here. I've been working on some significant algorithm improvements over the past couple of weeks (which have just gone live), and have a few more bugfixes to make, then I was going to pos
104.
▲
by
samcrawford
7y ago
In my app, yes, it's a binary flag. But in the underlying data you can get detailed elevation data for every section of road worldwide that is readily usable in open source routing engines. GraphHopper supports STRM and CGIAR (two diff
105.
▲
by
samcrawford
7y ago
You need a routing engine on top of the OSM data. Common projects that do this are GraphHopper, Openrouteservice, OSRM and pgRouting. I use Graphhopper and Openrouteservice - both are very actively maintained.
106.
▲
by
samcrawford
7y ago
Funnily enough, that is one of the features it already supports (avoiding unlit streets). Another one is avoiding especially hilly routes.
107.
▲
by
samcrawford
7y ago
Depends on the level of effort you want to put into it. I've been working on a hobby project with PostGIS recently, and I've found it very easy to get started (a few hours to get PostGIS running + import just the UK's dataset
108.
▲
by
samcrawford
7y ago
FWIW, I have been doing exactly this in the past few months, importing planet data using osm2pgsql. It takes about 18 hours to import the whole planet onto a E5-1650v3 server, with 256GB RAM and a 1TB SSD. 128GB RAM would certainly have suf
109.
▲
by
samcrawford
7y ago
I don't have experience of generating vector tiles myself, but I do have a lot of experience with osm2pgsql and PostGIS now. From a quick look around, https://sparkgeo.com/blog/vector-tile-server-using-postgis/
110.
▲
by
samcrawford
7y ago
I've been using OSM data for a side project I've been working on (an app to find "green" running routes, avoiding busy roads and preferring trails/rivers/parks, and optionally meeting some minimum target distan
111.
▲
by
samcrawford
7y ago
I'm developing a consumer facing service right now, and it's stories like this that steer me away from expending the effort to develop as an Android and iOS app. At least on the web we're not (entirely) beholden to a single c
112.
▲
by
samcrawford
7y ago
The heat map is a nice visualisation for the vast amount of data that Strava has, but I don't find it useful for planning runs as an individual. It pretty much just shows where the major roads are in cities (which ironically is what I
113.
▲
by
samcrawford
7y ago
I think Strava Local is curated, but I agree with the 'frankly, bad' part of your comment. For my home city of London it has a few of the major landmark routes, but doesn't have anything near my house, nor does it have any of
114.
▲
by
samcrawford
7y ago
I suspect you're referring to https://kurviger.de/en for motorcycling. This uses Graphhopper's builtin round-trip functionality (it was incorporated by the author of that motorcycling route planner). You can find
115.
▲
by
samcrawford
7y ago
Thanks, this is the best one I've seen by far! The fact that they let you build round-trip routes is a first. That said, the app would timeout if I tried to build a route over 15km long. Also, it doesn't seem to prefer scenic rout
116.
▲
by
samcrawford
7y ago
As a side project, I'm working on a route planning app for running. I'm a long distance runner and travel for work a lot, so I frequently find myself planning a run on one of the many existing apps at 5am in a new city whilst jetl
117.
▲
by
samcrawford
7y ago
Worse still, in six months times the requirements will change and your previously approved scopes will no longer be approved. I've also had to deal with broken OAuth verification forms on Google's site (400 errors from their backe
118.
▲
by
samcrawford
8y ago
SamKnows | Tests and Metrics Engineer | London, UK | Onsite, full-time SamKnows is currently recruiting for a full-time developer to join its team in London. Our company provides network measurement hardware, software and services to teleco
119.
▲
by
samcrawford
9y ago
SamKnows is working with governments, ISPs, consumers and academics worldwide to build the definitive global internet performance measurement platform. With over 100,000 hardware measurement probes distributed across 35 countries, and even
120.
▲
by
samcrawford
9y ago
SamKnows is working with governments, ISPs, consumers and academics worldwide to build the definitive global internet performance measurement platform. With over 100,000 hardware measurement probes distributed across 35 countries, and even
More ›