HNHacker News
TopNewBestAskShowJobs

thecodemonkey

1,174 karma · joined June 29, 2012

Co-Founder @ geocod.io

http://github.com/MiniCodemonkey bsky.app/profile/codemonkey.io

Interests: DevOps, Entrepreneurship, Hardware, Laravel, Remote Work

submissionscomments
thecodemonkey··on What’s your API’s “Time To 200”?
Thanks so much for the feedback! I've considered checking the User Agent and rendering pretty-printed JSON if e.g. a webbrowser is used, but I am a bit worried that UA-dependent behavior could be confusing. Perhaps the downside to always rendering pretty-printed JSON is minimal? Would love some thoughts on this.

Good call on the changelog being front and center, moving it a bit further down now.

Thanks! UK/EU geocoding may or may not happen in the future :)

thecodemonkey··on What’s your API’s “Time To 200”?
I like to think that we’re doing okay with geocod.io, but I would seriously love some feedback. Should we automatically generate your first API key? Make docs more prominent? Anything else?
thecodemonkey··on SQLite the only database you will ever need in most cases
I've never experienced this within my 10+ years of working with SQLite. I've seen it a fair bunch with MariaDB though.
thecodemonkey··on We found and fixed a rare race condition in our session handling
Really interesting write-up. Curious how they do logging, and how they were able to get such a detailed look at the previous requests, including the HTTP response. Wouldn’t it be a massive amount of data if all HTTP requests/responses were logged? (Not to mention the security implications of that)
thecodemonkey··on Show HN: Alert yourself after a long-running task in terminal
This looks really cool! I recently built something similar, but for notifying you via text message instead.

Example:

./some_script.sh; curl https://nudge.sh/YOUR_TOKEN

Just need to register your phone number at nudge.sh to get a token (don’t worry, your data is safe and not shared with anyone or used for any other purpose)

thecodemonkey··on Ask HN: What NoSQL database do you recommend in 2020?
Why NoSQL?
thecodemonkey··on Show HN: Get notified when grocery pickup slots are available
Awesome! That’s great to hear. Hope this can help them out.
thecodemonkey··on Show HN: Get notified when grocery pickup slots are available
I think that is the ideal situation too. Closing down grocery stores and allowing no-touch curbside pickup (or delivery) only. I don't quite know what the economics of this is like though, and if it is a viable option across the board.

Edit: typo

thecodemonkey··on Show HN: Get notified when grocery pickup slots are available
Yes indeed! Feel free to check it out here https://github.com/MiniCodeMonkey/curbside
thecodemonkey··on Show HN: Get notified when grocery pickup slots are available
Thanks a ton for the feedback! Hope this could be helpful for your parents.

1. We decided to use geolocation because it removes one more form field. It also makes it easier to expand to additional countries (https://github.com/MiniCodeMonkey/curbside/issues) we may reconsider in the future.

2. Happy to explore adding additional ways to tackle the problem. For now, we just have a simple map of stores to visualize coverage: https://curb.run/stores

Fixed the typo. Thanks!

thecodemonkey··on Show HN: Get notified when grocery pickup slots are available
Hi there! Absolutely. This is why we are explicitly focusing on curbside pickup rather than delivery. It is not about snatching slots as soon as they become available, but more about being able to check across dozens of stores at the same time. We've found that there are actually plenty of pickup timeslots available -- if you just look a bit outside super-urban areas. Call it human-loadbalancing-as-a-service if you will.
thecodemonkey··on Show HN: Get notified when grocery pickup slots are available
Hi HN!

We realized that curbside pickups is a great compromise for everybody's health and safety right now.

We built Curb Run because we found it very difficult to get a curbside pickup slot at our local Wegmans. Willing to drive a bit further away to another location, I hacked together a little script that would check for pickup slots across multiple stores in a radius.

Fast forward, friends and family started hearing about this and asked if we could help them too. We ended up turning this into a web app for everybody to use -- and with many more stores and chains across the US.

We hope that this can help you as well!

thecodemonkey··on Show HN: Super simple notifications for long-running command line tasks
Source is available on GitHub for anybody who's interested https://github.com/geocodio/nudge.sh
thecodemonkey··on Show HN: Super simple notifications for long-running command line tasks
Love the idea of alternative notification targets.

The idea was to make the API curl as simple and short as possible, to the point where you could probably memorize it. Would be trivial to then add additional notification targets server-side, based on user preference.

I.e. sending a Slack message -- even in the simplest form requires a rather long URL with a JSON body that has a couple of fields.

thecodemonkey··on Show HN: Super simple notifications for long-running command line tasks
Awesome! Glad that I wasn't the only one who needed this. Let me know if you have any feedback while using it.
thecodemonkey··on Ask HN: What does your BI stack look like?
We're a small, bootstrapped company with 2 people. Some data is millions of rows others are billions.

Goal for us is KISS. Keeping everything as simple as possible -- both in terms of infrastructure, ease of use and cost.

Primary we're using Metabase in front of multiple MariaDB instances. Metabase is absolutely fantastic!

We also have a couple of additional small projects:

- A small Node.js app that receives events live via fluentbit, saves them off in MariaDB and sends text message notifications via Twilio when certain thresholds are exceeded

- A small "ETL" app that polls the Stripe and QuickBooks API to mirror data in a MariaDB database so we can easily access it from Metabase

thecodemonkey··on The Founding of Google Maps (2015)
Great read! I recently read Bill Kilday’s book: Never lost again[1] which is a fantastic read if you want to learn more about the pre-google-maps and google earth days.

[1]: https://www.amazon.com/dp/0062673041

thecodemonkey··on Tools I Recommend for Building Geospatial Web Applications
Great article! One thing that wasn’t mentioned was Geocoding — Converting between addresses and coordinates. This is also a very common need for geospatial web applications.

Here’s a couple of options:

geocode.earth -> Worldwide coverage

geocod.io -> US/Canada only, but supports spreadsheets, data appends and batch geocoding

smartystreets.com -> Ideal for USPS address verification

Disclaimer: I’m the co-founder of Geocodio

thecodemonkey··on The boring technology behind a one-person Internet company (2018)
Oh wow. This is scaringly close to how we run geocod.io - right down to the ansible provisioning wrapper that I put together :)

  > ./provision
  provision usage:
  ./provision environment role [hostname]

  This script will provision the given role in the specified environment using Ansible
  If a hostname is specified, provisioning will be limited to that specific server
thecodemonkey··on Ask HN: What do you do with your Raspberry Pi?
Tesla. I probably don’t have to say much more.

Here’s an older video with some interesting details: https://m.youtube.com/watch?v=KX_0c9R4Fng

thecodemonkey··on Ask HN: What do you do with your Raspberry Pi?
I’m using an Ubiquiti gateway but not for access points (yet). So that’s not currently a problem. But that’s good to know!
thecodemonkey··on Ask HN: What do you do with your Raspberry Pi?
Boo! Might have to reconsider then. I used the Pi Zero W for FullPageOS for a while but performance was absolutely terrible, recently switched it out with the Raspberry Pi 3.

The Pi Zero really has an awesome form factor, but many of the projects I come up with either require more performance (i.e. needing a Rasperry Pi 3) or are simply better suited for a microcontroller such an ESP32 or ESP8266.

thecodemonkey··on Ask HN: What do you do with your Raspberry Pi?
1x Raspberry Pi 3 installed in my car within the internal network as a bastion box and to run software that let's my interact with the entertainment system

1x Raspberry Pi 3 running Home Assistant with a Z-Wave USB Dongle (Home Automation)

1x Raspberry Pi 3 running OctoPrint (Host/remote-control for 3D Printer)

1x Raspberry Pi 3 running FullPageOS (Full-screen Chromium in kiosk mode) displaying a server statusboard in our home office

Next project: 1x Raspberry Pi Zero W to run Unifi Controller

I have a couple of original Model B+ sitting around unused right now - just not powerful enough for any of the above projects.

(Update: Formatting)

thecodemonkey··on HAProxy 2.0
Proper Layer 7 retrying is huge. I’ve been waiting for this for a while.
thecodemonkey··on A list of the biggest datasets for machine learning
/r/datasets on Reddit also has some surprisingly interesting datasets.
thecodemonkey··on Show HN: A browser extension which blocks chat/helpdesk widgets
I totally agree that the chats popping up can be annoying. We've been using Intercom for a while now at geocod.io, and changed the settings last year to not have automatic messages. The icon is still hovering in the corner, but you have to actively press it to reach out to us.
thecodemonkey··on Migrating away from Google Maps and cutting costs
We've put together an (objective) comparison tool here: https://www.geocod.io/compare/
thecodemonkey··on Migrating away from Google Maps and cutting costs
Thanks for posting this! Here's the result of geocoding the above list with geocod.io for anybody interested:

Forward Geocoding (Converting the addresses to latitude/longitude): https://gist.github.com/MiniCodeMonkey/13c02d45089478182c3d1...

Reverse Geocoding (Converting the lat/lon to addresses): https://gist.github.com/MiniCodeMonkey/13c02d45089478182c3d1...

Based on the above definition, geocod.io's accuracy for reverse geocoding of this list is 95.2%

Putting this together with dbatten's original findings, the list would look like this:

Google: 97% ($4 per 1,000)

Geocod.io: 95.2% ($0.50 per 1,000)

Mapbox: 95% ($0.50 per 1,000)

TomTom: 73%

thecodemonkey··on Migrating away from Google Maps and cutting costs
Do you have the random list of parcels available by any chance? I would love to compare against Geocod.io. I suspect that we might able to achieve high 90's as well.
thecodemonkey··on Ask HN: Did any Show HN posts turn into successful startups?
We posted our side project as Show HN almost 4 years ago: https://news.ycombinator.com/item?id=7095228

As of Monday, both co-founders are working on it full time as a fully bootstrapped business.

← PreviousPage 2 of 7Next →