HNHacker News
TopNewBestAskShowJobs

frasermarlow

502 karma · joined July 5, 2022

submissionscomments
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
PS: There have been a few questions about the tiling system used. It's based on https://leafletjs.com/ and you will find it all in the Github repo. Its one of the more interesting parts of the project:

https://github.com/frasermarlow/middle-earth-map

The tiles were pre-generated from the source image using generate_tiles.py — a Python script that slices the big map into 256x256 JPEG tiles at three zoom levels . Leaflet loads them with zoomOffset: 2, so directory zoom 0 = Leaflet zoom -2, directory zoom 2 = Leaflet zoom 0 (the highest native zoom). Below and above that range, Leaflet scales tiles up or down automatically.

The satellite tiles were generated by generate_sat_ai.py using Stable Diffusion img2img. It assembles the zoom-2 tiles into a full image, processes 512x512 overlapping patches through SD, blends them back together, then slices into the tile pyramid.

frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Open to ideas on how more 'interactive' we can make it. But yeah, fair point. Maybe it's just more 'annotated'
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Ah. Yeah sorry. I could add a "spoiler alert!"
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Sure, it's public; https://github.com/frasermarlow/middle-earth-map
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Hey @pants2, I put something together for you. It's pretty rough, but if you take the time to respond here, that will be the motivation I need to clean this up and make it work properly. https://middle-earth-interactive-map.web.app/index.html?view...
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
LOL
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Yeah, for sure. Vibe coding has it's place, I think. It's the people who pretend to build production-ready systems that are just hollow shells that give it a bad name. It is what it is. I vibe-coded this game and I take pride in it: https://frasermarlow.github.io/vibe-star-chase/
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
If I can find the right source materials, then challenge accepted.
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Thanks. Being on Hacker News is fun. But it turns out to be expensive too if your project takes off and Firebase charges for downloads!
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
The source image is here if it helps - https://i.redd.it/r8403tg0wo5c1.jpeg.
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Good question. Check out Reddit - that is where I found the original. I understand it was made for the movies but I have not been able to locate the exact source or a place to order it from.
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
The original map was found here: https://www.reddit.com/r/lotr/comments/18fy0ga/middleearth_m... - give it a whirl!
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Well I included 13 Silmarillion events, but most are actually Second Age events that map perfectly fine. Three of them are First age so it's a bit fudgy. The project has no Beleriand events... they literally cannot be placed because Beleriand sank beneath the sea after the War of Wrath. Cuiviénen it tricky. The Sea of Helcar where it sat was reshaped when Morgoth's strongholds were taken out, so that is approximate. Would love to make age-appropriate (ha ha) maps, but I only had this one to work from.
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Honestly the hardest thing for this was getting the pins in the right place. I had Claude create a tool for me to get the location and have it correct placements. Even after a dozen 'pins' were on the map, it still had problems placing the next pin (relative to the ones it had). Claude has gotten better and honestly I had not figured out Claude in the browser when I built this.
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Yep, that zoom thing is a bit fiddly on mobile in particular. I will see what I can improve.
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Hey thanks. Good call, I will have Claude figure out the years for each event that can be pinned down.
frasermarlow··on Show HN: An interactive map of Tolkien's Middle-earth
Best use case I have found so far :-)
frasermarlow··on Show HN: A cartographer's attempt to realistically map Tolkien's world
There is a great (Free!) interactive map of Middle-earth (The Hobbit+ LOTR journeys) here: https://middle-earth-interactive-map.web.app/
frasermarlow··on So many em-dashes in Tim Cook's letter
Who's been using AI to do their writing?
frasermarlow··on St. Francis Dam Collapse
Flood one-upmanship: https://en.wikipedia.org/wiki/Johnstown_Flood
frasermarlow··on OpenCode – The open source AI coding agent
If you are doing data engineering, there is a specific fork of Open Code with an agentic harness for data tasks: https://github.com/AltimateAI/altimate-code
frasermarlow··on Some users have noticed settings that let Meta analyze and retain phone photos
If you're not paying for it, you are the product.
frasermarlow··on Illinois man has spent 40 years rebuilding a WWII-era B-17 bomber in his barn
"This restoration isn't just for show. Mike Kellner wants to fly the 'Desert Rat.'"
frasermarlow··on The metre originated in the French Revolution
Yes, this is a brilliant book, and well worth reading. Another other one in the same vein is "Longitude" by Dava Sobel: https://www.amazon.com/Longitude-Genius-Greatest-Scientific-...
frasermarlow··on Microservices
Are we digging up dirt on who to blame for the term?
frasermarlow··on Ask HN: Who is hiring? (February 2025)
Diagrid (maintainers of the Dapr Open source project) | REMOTE (global) | https://jobs.ashbyhq.com/Diagrid

Hiring:

1) Customer Support Engineer - Open Source remote position in India (or similar time zone) to suport growing Asian customer base.

2) Senior Site Reliability Engineer for our SaaS offering - likely North America or Europe

3) Senior Software Engineer - Dapr OSS - likely North America or Europe

4) Enterprise Account Executive - North America or Europe

frasermarlow··on Databricks is raising a gigantic funding round
Yep, my bad - this is probably the OG source of record: https://news.ycombinator.com/item?id=42442922
frasermarlow··on Coal generators learn how to shut down for solar in boost to renewables
“Our team desynchronised 20 seconds ahead of the 10am target and resynchronised within 50 seconds of the 3pm target. This level of precision on our first attempt is extraordinary and sets a new benchmark for our operations,”
frasermarlow··on Coal generators learn how to shut down for solar in boost to renewables
A critical step in further shifting from carbon-based to renewables.
frasermarlow··on Hurricane Helene barreled through a crucial chip mining area in North Carolina
Yes, it might take some days before we understand the true impact on the supply chain and whether current stock levels will sustain a prolonged shutdown of mine operations.
← PreviousPage 2 of 4Next →