Readit News logoReadit News
piebro commented on Carbon is not a programming language (sort of)   herecomesthemoon.net/2025... · Posted by u/todsacerdoti
Mond_ · 7 months ago
Oh hey, that's my post.

HI HACKER NEWS! Excited to see you!!! Ping me if you find typos.

(Also jeez, writing this took way too long and I spent too much time editing it trying to cram everything from Cpp2, the Google governance issue, member access operators as a case study, some historical bits, etc. into the post.)

EDIT: One of the most interesting things for me is that (so far) no one complained about the lack of Carbon code examples.

piebro · 7 months ago
Thanks for the post, I enjoyed reading it.

There is a small typo in this sentence: "As long as we’re willing to say that Carbon is is about reducing the reliance on the C++ Standard Committee ...". There are two "is".

piebro commented on Show HN: Factorio Blueprint Visualizer   github.com/piebro/factori... · Posted by u/piebro
pbronez · 8 months ago
It's cool that you support plotters. I don't have a plotter, but I DO have a 3D printer, and those can also do some pretty cool 2D visualizations.

There's a good ecosystem for Lithophanes [0][1] and maps [2][3]. This would be a cool addition to that.

[0] https://all3dp.com/2/how-to-3d-print-your-own-lithophane/

[1] https://www.youtube.com/channel/UCU13fzqAu4BTAhOSHJgHRqg

[2] https://blog.prusa3d.com/how-to-print-maps-terrains-and-land...

[3] https://map2stl.com/

piebro · 8 months ago
Oh nice, I didn't know one could print Lithophanes. If you mount a pen in your 3D Printer and the right settings it should also work as a pen plotter. But I don't know how practical that is.

The map2stl tool is also cool. I created a similar tool [0] for pen plotters using OpenStreetMap Data a while ago, which is fun to play around with.

[0] https://piebro.github.io/plotting-maps

piebro commented on Show HN: Factorio Blueprint Visualizer   github.com/piebro/factori... · Posted by u/piebro
naikrovek · 8 months ago
> Ported everything from Python to Javascript for simplicity and performance

ROFL

piebro · 8 months ago
The python code was running in the browser using pyodide before. It took a while to load and was kind of messy to use. But it worked well once loaded which was pretty cool.
piebro commented on Show HN: Factorio Blueprint Visualizer   github.com/piebro/factori... · Posted by u/piebro
bloopernova · 8 months ago
oh wow this is very cool, I can't wait to use it!

Does this work with mods?

piebro · 8 months ago
Not out of the box. The easiest way to add mod support is to fork the project and add the buildings from mods: https://github.com/piebro/factorio-blueprint-visualizer/blob...

The file is normally generated automatically with the get_items.py script and this data dump: https://gist.github.com/Bilka2/6b8a6a9e4a4ec779573ad703d03c1...

piebro commented on Show HN: Factorio Blueprint Visualizer   github.com/piebro/factori... · Posted by u/piebro
jvanderbot · 8 months ago
This is amazing.

I did a similar thing for the game Highfleet, until I ran into roadblocks with the dev team.

My ultimate goal was to have a "print poster" button that would generate the image and ship it off to one of those poster drop-shippers for a small fee. In that game, you can annotate the maps, and the world map with battle annotations is really special with lots of memories of victories and defeats. Alas, no dice.

I suggest you do this for blueprints! The first thing I'm going to do is take my favorite space platforms and outposts and make posters - the colored block imagery is really artful.

And, if you want a real challenge, you could parse the end-game uploads (galaxy) if available, or save files themselves.

Or, slightly less ambitious - a game mod that generates links to this site directly.

Very nicely done!

piebro · 8 months ago
I actually printed a few designs and hung them up in frames in my home. Maybe I'll add the idea and some links to the readme. Can you recommend a printing service?

I think it's not possible to access the actual file upload using the galaxy hall of fame (https://www.factorio.com/galaxy) or I just can't find them. Otherwise it would be pretty cool.

Oh yeah, I like the mod idea. That should also be quite doable, thanks.

piebro commented on Show HN: Factorio Blueprint Visualizer   github.com/piebro/factori... · Posted by u/piebro
grufkork · 8 months ago
Nice! I might actually try drawing our factory with a shoddy pen plotter I built, could give some cool results. Well-built factories are really pretty, looks like small ecosystems growths when zoomed out. All the draw settings should make it easy to generate some good outlines
piebro · 8 months ago
Thanks, pen plotting was my motivation for doing this as an SVG and not on a canvas. I never got around plotting an actual factory though, but I might do it this time.

u/piebro

KarmaCake day344November 27, 2021
About
Hey, I'm Piet, my website and digital life is here: https://piebro.github.io/
View Original