Lurker News

Comments (569) 298 threads

Earlier comments
lawrencewu1 reply#
I created Juicebox, which lets you listen to youtube/soundcloud songs with other people: https://www.juicebox.dj/

I have made no money off of this. In fact, I've probably paid hundreds in hosting/domain fees. But I love what I've built so far and use it everyday with my friends. Please check it out, I'd love to hear any feedback!

kermittd#
This is random but I saw you on reddit, great product!
kadirayk1 reply#
http://apimockery.com/ - API Mocking as a Service

I built it to learn React and brush up my Go skills. I occasionally add new features.
It makes $0 now, but I plan to earn 10$ a month before my amazon free tier expires :)

shime1 reply#
This is a great idea! Design could use some love, though.
kadirayk#
Thanks for the feedback! The text below annoys a good deal of people as well, I should add 'improving design' to my big pile of todos :)
albahk#
Free OpenStreetMap Data extracts (be kind, it is a rushed POC at the moment)

http://propdata.io
I have created a free site containing extracts from OpenStreetMap data. Unlike the metro extracts sites (Geofabrik, Mapzen), my goal is to extract specific datasets such as buildings, schools, hospitals, fast food restaurants etc from OSM rather than standard map/gis data.
My overall goal is to make the extracts available, and then to encourage people who use them and get value to actively update OSM to improve the quality of the data they are interested in. By doing this, the overall quality and coverage of data in OSM should (in theory) be improved.

preinheimer1 reply#
Global Ping Statistics - https://wondernetwork.com/pings We have ~240 servers world wide, we get them all to ping each other every hour, and record the results.

We've been generating them for years, they're a pain to store, we've made $0 with it. But I really like the data we're getting. We recently moved a lot of the legacy data into S3 to save our own backup & restore process ( https://wonderproxy.com/blog/moving-ping-data-to-s3/ )

iDemonix1 reply#
What makes them a pain to store? This looks perfect for something like Graphite.
preinheimer1 reply#
Well, we went with the datastore we knew, MySQL. So on the upside we've got full granularity forever. On the downside we were backing up the full dataset every night. Plus the large amount of data was slowing pages down (even on indexed queries).

Now that we've moved the data older than two weeks over to S3, and query with Athena our site is faster, and we're not treating our backup infrastructure quite as poorly.

exikyut#
I just did some back-of-the-envelope math.

The biggest ping time I see is just under 4 seconds. With milliseconds, that translates into a 7-digit string if you pretend the first 4 digits are the integer part and the last 3 are the fraction. The caveat is that you must store "42.32" as "0042.032", someone more advanced may be able to suggest a better system. The maximum 22-bit value is 4194304, which is a tad small. 23 bits is 8388608 - and I suspect you'd consider an 8388 millisecond ping time a bug. :D
64-bit time is a fad just because it's easier to do multiples of 8 than bitpack. However, if you use 33-bit time, you can count up to 8589934592, which is the year 2242.
I see you have 250 servers. Using a single int will only get you up to 255. Ouch. But using two bytes gives you space for 64000 servers you'll never use. Wat do?
Well, if you're okay with calculating the avg and mdev in realtime, that's (23*2)+33 (min+max+date), which works out to 79 bytes. So you could prefix _9_ bytes for the server ID, which gives you 512 servers.
So that's 9+23+23+33=88 bytes per ID.
At 88 bytes per ID, one year's worth of records for 250 servers is 192720000, or 183MB per year.
This is not a particularly fancy approach, and is likely inefficient in many ways. But it's definitely doable, both for long-term (full-resolution/granularity) archival and realtime querying. You could make a superfast server in Go that accepted simple queries and handled the on-disk format. You could export the Go server over the Web directly (Go is pretty concurrent, but requires 8K per goroutine, which adds if you have eg 10ks of connections...) or use a simple/low-level protocol from your existing Web framework.

Load more comments