Recent submissions

Comment · 8 months ago
Automated generation of comprehensive Agents.md for Agents, driven by the DSPy Recursive language model implementation.
Comment · 9 months ago
lol, I didn't even think of it. May be I should start taking country too. Edge case :-p
Comment · 9 months ago
The initial version were coordinates actually but then realised people mostly love their cities more than anything and it's easy that way. Will add this feature back as optional parameters.
Comment · 9 months ago
There is throttling in the code when making api request to respect the map provider as per their terms and conditions. Can make few thing parallel but it's a hobby project how many posters would one person want to generate?.
Comment · 9 months ago
Looks beautiful. The gold+dark color does justice.
Comment · 9 months ago
Also note that as per their terms and conditions I need to give a user agent, so multiple users will be sharing same user agent right now.
Comment · 9 months ago
It will work, give it time. Also default distance is 29000. Give distance of 10000 to see faster results. It certainly is working as many users have generated maps.
Comment · 9 months ago
Comment · 9 months ago
Valid Point @mft_ plt.savefig(output_file, format='svg', facecolor=THEME['bg']) should do it. I will add a --format parameter and make the change.
Comment · 9 months ago
Comment · 9 months ago
You know your city.
Comment · 9 months ago
python create_map_poster.py -c "San Francisco" -C "USA" -t sunset -d 10000

-d should be approx. 10k to 14k given the size of the city. You can give it a shot.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton