geoIP
Adrian Holovaty in a blogite thread about features that can be added to blogs:
Change the time zone. I’ve noticed a lot of blogs don’t specify which time zone they’re in, which pretty much makes the timestamp meaningless. I put “EST” on mine, and my about page explains my time zone further, but I think it would be convenient for the users to convert the times to their own zones. I did this in JavaScript on one of my old sites, but I’d rather do it on the server side for accessibility’s sake.
This got me thinking about how best to “guess” a user’s timezone. A search on Google for “country ip address” turned up GeoIP, an impressive looking open-source based database for looking up countries by IP address. The database updated yearly is free, while monthly updates can be had for a very reasonable $150 annual subscription.
More recent articles
- Weeknotes: Parquet in Datasette Lite, various talks, more LLM hacking - 4th June 2023
- It's infuriatingly hard to understand how closed models train on their input - 4th June 2023
- ChatGPT should include inline tips - 30th May 2023
- Lawyer cites fake cases invented by ChatGPT, judge is not amused - 27th May 2023
- llm, ttok and strip-tags - CLI tools for working with ChatGPT and other LLMs - 18th May 2023
- Delimiters won't save you from prompt injection - 11th May 2023
- Weeknotes: sqlite-utils 3.31, download-esm, Python in a sandbox - 10th May 2023
- Leaked Google document: "We Have No Moat, And Neither Does OpenAI" - 4th May 2023
- Midjourney 5.1 - 4th May 2023
- Prompt injection explained, with video, slides, and a transcript - 2nd May 2023