Hacker Newsnew | past | comments | ask | show | jobs | submit | piebro's commentslogin

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".


It's a hangover from the ill-fated Clinton programming language, where you repeat an operator (such as "is") to ensure there is no ambiguity about what your intention is.


Did you mean to write "there is is no ambiguity ..."?


Too early for that pun, it works better at the end as a punchline of sorts, "ensure there is not ambiguity about what your intention is is."


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.


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...


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.


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/


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


Plenty of people have taped a pen to their 3D printer. The main problem is the same issue for all plotters: they just aren't actually that useful. They're neat as hell for sure, they just don't solve a problem that most people have.


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.


https://github.com/R-O-C-K-E-T/Factorio-SAT is another codebase trying to tackle the same problem


This is the one from which most balancer books are made and if I recall correctly the first one that made SAT work for this problem.


The 4x4 with a 90 degree turn is a thing of beauty.


I wrote a website to do exactly this with your own data and Python in the browser using pyodide und plotly.js for visualizations: https://github.com/piebro/spotify-statistics/


It's not very fast but make the whole development process a lot easier because I can use pandas to query the data.

When I played around with the data, I also tried most skipped artists, but it was hard to interpret, because my most skipped artists were also my most listened to artists, because I get more chances to skip song from them if I listen more to them. If you download the dataset as CSV it's also quite easy to do your own queries with pandas or other software.

Yes, I think sharing and comparing it with friends is the most fun part. There is a download plot button at the bottom to download the plots and tables as images. That's the only way I could think of to make it easily shareable.


An other one that looks nice with some cool features from Sebastian Lague is here: https://sebastian.itch.io/digital-logic-sim


Here is a map to see where people affiliated with apple are contributing to openstreetmap: https://piebro.github.io/openstreetmap-statistics/#e19b it seems they use OSM data everywhere but in North America and most of Europe.


Apple Maps also credits TomTom as a data source, so could it be OSM > TomTom > Apple in terms of the data flow?


Accorinding to wikipedia they have many different sources (https://en.wikipedia.org/wiki/Apple_Maps#Features):

> The main provider of map data is TomTom, but data is also supplied by Automotive Navigation Data, Getchee, Hexagon AB, IGN, Increment P, Intermap Technologies, LeadDog, MDA Information Systems, OpenStreetMap, and Waze.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: