frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tiny C Compiler

https://bellard.org/tcc/
70•guerrilla•2h ago•26 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
155•valyala•6h ago•29 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
84•zdw•3d ago•37 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
90•surprisetalk•5h ago•94 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
37•gnufx•4h ago•43 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
122•mellosouls•8h ago•249 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
162•AlexeyBrin•11h ago•29 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
869•klaussilveira•1d ago•266 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
117•vinhnx•9h ago•14 comments

Show HN: Browser based state machine simulator and visualizer

https://svylabs.github.io/smac-viz/
4•sridhar87•4d ago•2 comments

FDA intends to take action against non-FDA-approved GLP-1 drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
39•randycupertino•1h ago•41 comments

You Are Here

https://brooker.co.za/blog/2026/02/07/you-are-here.html
42•mltvc•1h ago•52 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
24•mbitsnbites•3d ago•1 comments

First Proof

https://arxiv.org/abs/2602.05192
84•samasblack•8h ago•59 comments

LLMs as the new high level language

https://federicopereiro.com/llm-high/
28•swah•4d ago•31 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
74•thelok•7h ago•14 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
256•jesperordrup•16h ago•83 comments

I write games in C (yes, C) (2016)

https://jonathanwhiting.com/writing/blog/games_in_c/
157•valyala•6h ago•136 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
539•theblazehen•3d ago•197 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
42•momciloo•6h ago•5 comments

Washington Post CEO Will Lewis Steps Down After Stormy Tenure

https://www.nytimes.com/2026/02/07/technology/washington-post-will-lewis.html
9•jbegley•23m ago•1 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
100•onurkanbkrc•10h ago•5 comments

Selection rather than prediction

https://voratiq.com/blog/selection-rather-than-prediction/
19•languid-photic•4d ago•5 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
220•1vuio0pswjnm7•12h ago•340 comments

Microsoft account bugs locked me out of Notepad – Are thin clients ruining PCs?

https://www.windowscentral.com/microsoft/windows-11/windows-locked-me-out-of-notepad-is-the-thin-...
58•josephcsible•3h ago•71 comments

72M Points of Interest

https://tech.marksblogg.com/overture-places-pois.html
43•marklit•5d ago•6 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
281•alainrk•10h ago•462 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
129•videotopia•4d ago•42 comments

A Fresh Look at IBM 3270 Information Display System

https://www.rs-online.com/designspark/a-fresh-look-at-ibm-3270-information-display-system
54•rbanffy•4d ago•15 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
660•nar001•10h ago•287 comments
Open in hackernews

Map To Poster – Create Art of your favourite city

https://github.com/originalankur/maptoposter
296•originalankur•3w ago

Comments

giuliomagnifico•3w ago
Nice! Thanks
doophus•3w ago
Why are big chunks of Sam Francisco missing (eg around the bridge) missing from the example?
Sajarin•3w ago
Those smooth chunks are all (mostly) public park land. Known as Presidio and part of the Golden Gate National Recreation Area.
originalankur•3w ago
You know your city.
originalankur•3w 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.

cinntaile•3w ago
It says there are examples but I can't see them?
originalankur•3w ago
Please check on desktop, the table is hiding images in responsive mode - You can see the images on X here https://x.com/getpy/status/2009255303775174684
cinntaile•3w ago
Thanks, I didn't notice there was another column that I could sidescroll to!
mft_•3w ago
I believe (from a quick code check on my phone) it should be possible to output the images to SVG with a little tweak, thanks to your use of matplotlib?

Is there a reason you’ve defaulted to PNG that I’m missing?

originalankur•3w 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.
Footprint0521•3w ago
Holy heck exporting to PDF/SVG for large cities is laggy, just patched the repo and did it for one over half a million people and it’s insanely slow lol
originalankur•3w 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?.
tianqi•3w ago
That's splendid. I've long wanted to make a jigsaw puzzle out of Sydney's road map, so I can familiarise myself with the layout of roads while having fun. That way I can reduce my reliance on nav app and become one of those old-school drivers.
bobnamob•3w ago
There's a reason Where 2 -> Google Maps happened in Sydney. The sheer number of one-way roads combined with the imposition of the harbour and the messy tunnel system make internalising Sydney navigation a life-long endeavour
simonebrunozzi•3w ago
The map of Venice seems to be the only one whose image is "squeezed" horizontally. Wondering why.
originalankur•3w ago
need to take into consideration the length and width of the city and choose distance appropriately. I haven't followed my own suggestion here - https://github.com/originalankur/maptoposter?tab=readme-ov-f... will fix.
hehe23•3w ago
Hi! I generated a map as well, but indeed, the map is squeezed horizontally. I have here a screenshot from a map and the poster: https://photos.diffop.be/apps/photos/public/h6JKMJImLZCXutcT...

I have tried adjusting -d, but it only affects the scale.

Here is the command I used: python create_map_poster.py --city Leuven --country Belgium --distance 4000 --theme sunset

emaro•3w ago
I tried it in a python3 venv, but the download data step is stuck at 0% unfortunately.
originalankur•3w 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.
originalankur•3w 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.
NoboruWataya•3w ago
The bar only updates once that entire step is complete (ie, if step 1 of 3 is downloading roads, it won't tell you what % of roads have been downloaded, but rather it will remain at 0% until all roads are downloaded at which point it will jump to 33%).
emaro•2w ago
Thank you, it worked with the help of your tips!
tomashubelbauer•3w ago
Three random themes for anyone who's Czech or likes Prague and doesn't want to set up the script locally: https://imgur.com/a/Ovg8mDW
originalankur•3w ago
Looks beautiful. The gold+dark color does justice.
xixixao•3w ago
What’s up with the Zizkovska tower highlight?
hyperific•3w ago
Also check out prettymapp

https://prettymapp.streamlit.app/

croisillon•3w ago
and https://anvaka.github.io/city-roads
stephenlf•3w ago
This repo is fantastic. The README should be the gold standard for OSS. Not to mention how stunning the outputs are. Thanks for sharing.
Kwpolska•3w ago
Pretty cool! It would be great if there was a way to set coordinates manually, since Nominatim can sometimes produce mediocre results. Also, would be nice to have a way to render the same map in all themes, not just one.
originalankur•3w 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.
arnavpraneet•3w ago
what are the blue dots? (not water bodies i think?)
thamer•3w ago
Yes, the blue and orange dots are from the water and parks Nodes and Ways in the OSM data.

It doesn't look like the orange and blue colors are part of the theme definitions, so the rendering library may be using some default values. This is why they are rendered in the same color on images using different theme files.

Footprint0521•2w ago
I was curious about this too and it’s actually a bug— these blue dots are random parks or park features. Most parks are polygons, but less than 5% or them are points from volunteer mappers who didn’t make them polygons and so these stray points seem to slip through and get plotted as the matplotlib default color…

If only I knew this before I printed it out and attached it all together with rasterbator lol

m-hodges•3w ago
Etsy sellers devastated
Helmut10001•3w ago
San Francisco looks nice, but there seems to be a problem with the projection in some of the sample images. It looks as if it isn't UTM but a global sphere projection, which isn't suitable for local renders. It's suspicious that the word 'projection' isn't mentioned in the Readme.
jasongill•3w ago
This is an artistic project to make a fun and artsy poster, so it's not at all "suspicious" that the map projection is not critical to the artwork.

It also appears to be open source, so perhaps you can open a pull request with your improvements based on your cartographical experience.

Helmut10001•3w ago
You are absolutely correct. Suspicious was the wrong word and I did not mean to criticize the author or the work.
jlarocco•3w ago
It looks like the final images have some kind of vignetting to make the corners and outter edges fade away. Probably grabbing OSM tiles and doing some image processing.

Looks neat!

nycerrrrrrrrrr•3w ago
Does anyone have recommendations for how to actually print a poster from images like these?
hirako2000•3w ago
A good print on demand that delivers ?
xnx•3w ago
In the US, I've had good results with Staples
dexterdog•3w ago
dotphoto.com
loloquwowndueo•3w ago
For something DIY, Rasterbator.net can make you a poster-sized print in multiple sheets. You’ll need some elbow grease to assemble the print.
jfengel•3w ago
For what it's worth, I use Vistaprint. That's not based on an extensive comparison, just that it always works for me and seems comparable in price and quality to other services.
fmajid•3w ago
El-co Color in New Jersey is known for its affordable 20x30" poster prints.

https://www.elcocolor.net/index.php/poster-special

1970-01-01•2w ago
I remember one of these had a service that made a 3D relief map (3D print) and then framed it, so you could hang it onto a wall.
7777777phil•3w ago
Very cool, thanks for sharing!!
japoneris•3w ago
Looks amazing ! In my free time, i play with my laser cutting machine. It will save me some design time. Thanks
dylan604•3w ago
What happens if there are multiple cities with the same name. Maybe this is a US specific problem, but there are many states with cities of the same name from another state. As a few examples:

Salem, OR and Salem, MA

Portland, OR and Portland, ME

Springfield, IL and Springfield, MO

Dallas, TX and Dallas, GA

MengerSponge•3w ago
Don't even get started on American cities named after world cities: Paris, Munster, London, Toledo, Memphis, Athens,...
tokai•3w ago
Every country has those. There was some that found it very funny when Russia occupied New York last year (or last year again?).
netsharc•2w ago
Even the name "New York" is a reference to an existing city...
MengerSponge•2w ago
But they had the decency to append "New". New Birmingham? New Athens? New Madrid? These are cyberpunk city names.
ornornor•2w ago
There is a Suisse in France, but no France in Switzerland afaik
originalankur•3w ago
lol, I didn't even think of it. May be I should start taking country too. Edge case :-p
fat_cantor•3w ago
If you just type "Salem" for the city, it just picks one and goes with it. If you type "Salem, Oregon" vs "Salem, MA", it gives the desired result (at least for the cases I've tried), and then uses your input text as the caption.
vivzkestrel•2w ago
there is also a salem in tamil nadu india
stanko•3w ago
There is a related project which I used several times:

https://github.com/anvaka/city-roads

Edit: it outputs SVGs and you can try it online. Anvaka (author) has other really cool dataviz projects.

sandos•2w ago
Kinda sad that maptoposter uses png. SVG is so much better in this case, if you want to actually print a poster!
PetahNZ•2w ago
It does support SVG, --format=svg
kingforaday•3w ago
Awesome! After I generate, where can I take that super res image and get a high quality photo print to frame?
giarc•2w ago
Really depends on country you live in. Just google local printers and email them.
colinbartlett•2w ago
These demonstrate just how car-obsessed our society is. Depressing.
Yash16•2w ago
Are you using a coding package or graph-based approach for this, or is it standard image generation? I’ve seen very similar results on https://picxstudio.com —it’s an AI image generation platform.
nl•2w ago
This really needs to be `uvx` runnable.
mvdwoord•2w ago
Great project! It takes a bit of fiddling to get the distance parameter right in some cases, and two possible improvements would be to allow for coordinate input rather than city name so I can point it at a specific spot as the center of the map. Another one would be to output all styles simultaneously so I can visually select from the generated images.

Anyhow, nice work. Thanks!

vivzkestrel•2w ago
- for those of you that dont want to install this locally, run this inside docker

*`Dockerfile`*

``` FROM python:3.12.10-slim-bookworm

RUN apt-get update -q -y && apt-get install -q -y \ build-essential \ git \ python3-dev \ && rm -rf /var/lib/apt/lists/*

RUN groupadd --gid 10000 python \ && useradd --uid 10000 --gid python --shell /bin/bash --create-home python

WORKDIR /home/python/app

RUN git clone https://github.com/originalankur/maptoposter.git

RUN chown -R python:python ./maptoposter

# 5. Switch to non-root user USER python

RUN pip install --no-cache-dir --upgrade pip && \ cd ./maptoposter && \ pip install --no-cache-dir -r requirements.txt

CMD ["sleep", "infinity"]

```

*`main.sh`*

``` #!/usr/bin/env bash

# https://github.com/originalankur/maptoposter # Read the documentation to change themes and settings for each city

# Get the directory where THIS script is located SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd) cd "$SCRIPT_DIR" || exit 1

# TODO: kolkata is done already, change to some other city both here and on that notepad.pw link in Chrome readonly CITY="kolkata" readonly COUNTRY="india"

readonly CONTAINER_NAME="map_to_poster"

if ! docker buildx build \ --file "Dockerfile" \ --progress none \ --tag "${CONTAINER_NAME}" \ --quiet .; then printf "Error: %s" "while attempting to build the docker container:${CONTAINER_NAME}" exit 1 fi

if ! docker container run \ --detach \ --interactive \ --name "${CONTAINER_NAME}" \ --tty \ "${CONTAINER_NAME}"; then printf "Error: %s" "while attempting to run the docker container:${CONTAINER_NAME}" exit 1 fi

container_id=$(docker ps -aqf "name=${CONTAINER_NAME}")

if [ -z "$container_id" ]; then echo "Container not found!" else echo "The ID for ${CONTAINER_NAME} is: $container_id" fi

docker exec -i "${CONTAINER_NAME}" /bin/bash << EOF cd /home/python/app/maptoposter python create_map_poster.py --city "${CITY}" --country "${COUNTRY}" EOF

mkdir -p "${HOME}/map_to_poster"

if ! docker cp "${container_id}":/home/python/app/maptoposter/posters "${HOME}/map_to_poster"; then printf "Error: %s" "while attempting to copy map files from container:${CONTAINER_NAME}" fi

if ! docker stop "${CONTAINER_NAME}"; then printf "Error: %s" "stopping container:${CONTAINER_NAME}" fi

if ! docker rm "${CONTAINER_NAME}"; then printf "Error: %s" "removing container:${CONTAINER_NAME}" fi

```

mindwork•2w ago
https://maptoposter.penk.in/

Using Claude Code and OP's library, I've put it on the internets. Web hosting is cheap(free) and generation takes some time

giarc•2w ago
I get an ambiguous error when submitting a request.

Error: Generation failed: ==================================================

mindwork•2w ago
yup, something to fix in the future. I suspect it couldn't find city coordinates