Hacker News new | past | comments | ask | show | jobs | submit login

Is there a Factorio extension like "Scriptorio" that lets you put JSON on conveyor belts? With JavaScript or Lua function factories.

Then you could pass the b-trees themselves around with conveyor belts and inserters, as well as the objects to insert and search.

And write a recursive search function with a loop of conveyor belts running through factories, that just loops the tree around peeling off a level at a time until it hits the leaf, breaking the loop and outputting the result.

It's an interesting execution model, not standard JavaScript, more data flow. Should you allow "quantum tunneling" and "action at a distance" by allowing multiple references to the same underlying JSON objects from different conveyor belts / inserters / factories? That could be useful, but Factorio itself traditionally treats each physical item having a unique identity, so maybe it would be more "realistic" not to support multiple references. Or you can only make multiple references once you research "Quantum Tunneling JSON" technology, with the "JSON Reference Entangler Factory"!




Factorio is extremely mod friendly

If it doesn't exist you can probably wedge it in fairly easily.

I suggest that it would be worth your time to give it a poke just to see what a thoroughly excellent example of software engineering they've made there.


Oh I know, but normal Factorio is Programmer Crack, and going meta like that would be like Scarfacing Programmer Fentanyl for me!

First I'd use it to implement an email reader, and then ... more Factorio mods!

Then Terraform integration.

https://en.wikipedia.org/wiki/Jamie_Zawinski#Zawinski's_Law


Would you accidentally a scheme? Would you could you in a train? Would you could you with a plane?

If you go that route, let me know when your emacs implementation is complete. I'll replace my OS with Factorio.


steam tells me my play time is 2,779.2 hr

i got bored / sane after the first 10k SPM base, ~1,200hr. then i got into making "me" mods.


I'm at 6,251.5 but I leave it running all night long.

I used to play Factorio.

I still do, but I used to, too.

https://www.youtube.com/watch?v=VqHA5CIL0fg


I remember this guy on Comedy Central growing up. I never knew he died in 2005. Sucks.


I missed his entire career. head down working no time for TV, people said "you should check this guy out" and a few years later he wasnt there no more.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: