Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Ollaya – Ollama for open-source, Jev-style decision models (ollaya.dev)
    85comments
  2. Revealing the details of how OpenAI agents hacked Hugging Face (swarmtraces.org)
    54comments
  3. Excel now supports multiple values in a single cell (techcommunity.microsoft.com)
    32comments
  4. What even is an OS now? (sockpuppet.org)
    34comments
  5. Show HN: Jev Plays Pokémon Red (jev-pokemon.vercel.app)
    56comments
  6. Platform-independent SIMD in Go (go.dev)
    132comments
  7. Ask HN: Who's still keeping a DOS machine up because the business depends on it?
    39comments
  8. Git-bug: Distributed, offline-first bug tracker embedded in Git (github.com/git-bug)
    94comments
  9. Tell HN: Codex Is Down
    13comments
  10. Gravity seems holographic. What does that mean for reality? (quantamagazine.org)
    94comments
  11. U.S. appeals court upholds designation of Anthropic as supply chain risk (cnbc.com)
    643comments
  12. First Principles Thinking (sunilsadasivan.com)
    92comments
  13. Initial DIY Cleanroom Experimentation (jefftk.com)
    2comments
  14. Remembering Johannes Doerfert (llvm.org)
    1comments
  15. An airport cooled by natural ventilation (theguardian.com)
    10comments
  16. Show HN: Make math automatic with Mathy (gmays.com)
    12comments
  17. Loopjacking in A2A Implementations: Hijacking Human-in-the-Loop Approvals (adithyanak.com)
    —discuss
  18. How video games inspire great UX (2019) (jenson.org)
    15comments
  19. Pentium II at 600Mhz with Voodoo 3 Emulated on 86Box with M6 Mac Mini (nyaa.sh)
    114comments
  20. Ink and Switch interactive homepage (inkandswitch.com)
    25comments
  21. Alan Kay: Shannon gave us a way of dealing with noisy channels [video] (youtube.com)
    22comments
  22. Issues with Codex – Identified – Full Outage (status.openai.com)
    7comments
  23. How we learned to stop worrying and love campus surveillance (fnl.mit.edu)
    41comments
  24. Bwbach, My Guardian Goblin (robertmay.photography)
    14comments
  25. What happens when you analyze your favorite college football team like the CIA? (cultivatelabs.com)
    17comments
  26. Amiga Screens: A Primer (datagubbe.se)
    36comments
  27. Show HN: I discovered roads in the US across > 1000 themes (pinedesk.biz)
    5comments
  28. Meta's Muse appears to use an OpenAI model labeled muse-special (mouse.dev)
    42comments
  29. Ask HN: Hypothesis: Cellular providers are deprioritizing voice calls?
    19comments
  30. Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design (github.com/devdotfast)
    128comments

Factorio that you can touch

297 pointsby 9h agofactorio.com
91 comments
8h agoHN ↗

I'm (hopefully) getting a G1X soon, so I think I'm going to put it to work printing this stuff out. I'm now excited for this as a use case and I kind of hope someone builds something to convert an existing factorio world into a 3d model, though it might be to big to actually print so maybe a way to take a section would be even better.

7h agoHN ↗

This project looks simple until you realize how much engineering went into it.

The original assets were never meant to be physical, so they had to completely re-engineer isometric tricks and floating geometry for 3D printing. Releasing the files instead of an expensive collector's edition is a classic Factorio move, and I personally love it. Now the community can remix these and build some awesome stuff that the original devs could never imagine. Awesome stuff!

4h agoHN ↗

What a good AI-generated summary of the article!

7h agoHN ↗

Remember that Factorio does not release its 3D models. Everything in the game is a 2D render of a 3D model, which is why the game uses so much VRAM.

7h agoHN ↗

As far as the game in concerned, the sprites are all just 2D assets. The fact that those assets came from a 3d model during development has no effect on performance. They also do manual post-processing on most of the 2D renders.

https://factorio.com/blog/post/fff-146

5h agoHN ↗

Your wording can easily be read as them shipping 3d models and rendering them as 2d at runtime. It's a weird way to say the game is made up of 2d assets.

3h agoHN ↗

I wish that were the case, then they'd have released the (original) 3D models!

7h agoHN ↗

Somehow the engineering behind this will help that fly and all his viewpoint windows

6h agoHN ↗

it does?

I don't have it installed now (lest I get tempted into a quick 2-hour session and end up being late for work 12 hours later), but IIRC it performed the same for me on iGPU and 4090, even on the big saves running below 60 FPS/UPS.

6h agoHN ↗

Do they really load so many spirites into memory it's heavier than 3D?

6h agoHN ↗

There are assumptions being made about texture resolution.

The high quality sprites are 64 pixels across per tile. With each tile being 1 meter, 1 pixel is 1.56 cm (About 0.63 inches) across. By today's standards, that's a very low texture resolution, though they can get away with it when your camera is so far away.

But if the game was 3D, you could expect players to put the camera closer to your objects. You'd need significantly higher texture resolutions. And you'd need a texture for each part of the object.

Meanwhile, consider a 3x3 object. That's 192x192 = 36,864 pixels. Assume it has a 60 fps, 2-second animation loop. That's 4,423,680 pixels. With 8 bytes per channel and 4 channels (RGBA), that's about 17.7 MB, which allows you to store 56 objects per GB.

Which doesn't sound like a lot, but we're making some huge assumptions. Not all objects are 3x3 tiles. Most don't have 120 frames of animation.

And as I mentioned in another comment, you don't need to store ALL the game's art in VRAM at once. Only what's on the screen. And you can certainly fit an entire screen's worth of animations in a 2 GB GPU.

5h agoHN ↗

Meanwhile, consider a 3x3 object. That's 192x192 = 36,864 pixels. Assume it has a 60 fps, 2-second animation loop. That's 4,423,680 pixels. With 8 bytes per channel and 4 channels (RGBA), that's about 17.7 MB, which allows you to store 56 objects per GB.

I am assuming that they are laveraging multiple compression technics like using texture specific compression on the gpu, or sub sampling the resolution directly. 8 bytes per channel seems rather large here as well.

4h agoHN ↗

8 bytes per channel seems rather large here as well.

That was a typo. I meant 8 bits per channel.

5h agoHN ↗

Yes. Several GB. I had to enable half resolution to play modded Space Age.

5h agoHN ↗

Hmmm... The Factorio team is famously performance oriented, and more scenes are often far less so. Are you sure the problem wasn't the mods? I have good memories of sending my Kerbal frame rates to hell with generous modding, both for graphics and the physics engine.

5h agoHN ↗

Reporting the issue with mods to the team will likely get them to fix something - they're that performance oriented.

4h agoHN ↗

I also struggled with performance in space age and mentioned it to a developer, but the solution was setting a setting which I had tested previously (no fog) and did nothing... on Nauvis. Turns out it's the difference between stuttering and smooth when in space platform view. They do still care but I guess there's only so much you can do if you also have other tasks to get to

6h agoHN ↗

?

The game doesn't consume that much VRAM. It plays on 4 GB GPUs just fine. The GPU only needs to keep resident what's currently on the screen. Even including every animation frame, that's 1 GB tops.

Hell, the minimum requirements are a GeForce 750 Ti, or Radeon r7 360. Those are 2 GB GPUs.

4h agoHN ↗

The game doesn't consume that much VRAM. It plays on 4 GB GPUs just fine.

Not everyone bought a GPU to run LLMs on. That is quite a bit of VRAM, especially for non-desktops

4h agoHN ↗

That's the amount of VRAM that has shipped in budget to midtier gpu's since at least 2016 with the RX470/480 from AMD. You can find even older & slower examples from Nvidia and AMD (ex. Nvidia 740GT 4GB edition)

Gaming hardware reviewers have been complaining about 4GB of VRAM not being enough since probably 2018 onward.

I have a weird setup with two very old 5:4 1280x1024 monitors I like to use for fun, and even playing Subnautica (2018 Release date) I can use up 3.4GB of VRAM at that low of a resolution on High settings. (playing on a single monitor)

3h agoHN ↗

That's the amount of VRAM that has shipped in budget to midtier gpu's since at least 2016

In desktops maybe, which will be somewhat popular still among people who play a lot of games but not a majority (IDC has laptop sales at a 3 to 1 ratio to desktops in 2022, but that's not specific to people who play games, much less (2d) Factorio players specifically). The system I bought before my current one was in 2018 and mid-tier then was 2GB. There was no craze for (V)RAM at the time, more a question of which setting you want to play games at (and with which render distance) than whether a given laptop works for games at all

As of last month, Steam reports that >15% of their customers still have 4GB VRAM or less: https://store.steampowered.com/hwsurvey/Steam-Hardware-Softw...

I'm not familiar with Subnautica beyond the name, is that known for being particularly efficient?

edit: meant to say 4GB rather than 2GB in the Steam stats reference, fixed

3h agoHN ↗

As of last month, Steam reports that >10% of their customers have 2GB VRAM or less: https://store.steampowered.com/hwsurvey/Steam-Hardware-Softw...

Steam having a massive collection of users with older hardware doesn't really make 4GB of VRAM any larger. My current main machine reports less than 1GB since its an iGPU. (But I've seen it use over 8gb of system memory as VRAM)

I'm not familiar with Subnautica, is that known for being particularly efficient?

Its a pretty well made unity engine game with a minimum requirement of Intel HD4000 integrated graphics. IDK if it would be consideredban efficient game vs other visually nice from this time frame like DOOM 2016 which runs really well on 4GB vram cards if you stick to 900p and below resoultions.

3h agoHN ↗

The system I bought before my current one was in 2018 and mid-tier then was 2GB.

Mid-tier laptop GPU in 2018 would have been a GeForce 1060, which came in either 3 or 6 GB variants. GeForce 1050 Ti came in a 2 GB variant, but I wouldn't classify that as mid-tier. The x050 variants (1050, 2050, etc) are budget tier.

2h agoHN ↗

at that point can't you just use the integrated gpu which definitely has access to more ram?

28m agoHN ↗

As of last month, Steam reports that >15% of their customers still have 4GB VRAM or less

4 GB is the recommended size, which manes >90% of steam-user are already in the optimal area. The lower recommendation is even 1 GB, which means >97% of steam user. Maybe if you play on a $100 mini-toaster, or some budget-laptot, it will get critical, but the vast majority of steam users are fine with playing this game.

17m agoHN ↗

As of last month, Steam reports that >15% of their customers still have 4GB VRAM or less...

Based on my testing (and the fact that Factorio officially runs on the OG Switch) Factorio fits comfortably in less than 4GB of VRAM. So, the relevant percentage is 9.6%... the slice of their customers that have 3GB of VRAM or less.

But, the slice is actually smaller than that! The minimum graphics requirement listed on the Steam Store page is

DirectX 11 capable GPU with 1GB VRAM - GeForce GTX 750 Ti, Radeon R7 360 or Intel UHD Graphics 730

Given that Wubi actively tested on hardware with 1GB of VRAM [0] and that they've proven themselves to be highly-technical people that sweat the details and talk about it both publicly and in-depth, I believe that to be an accurate minimum system requirement. Requiring 1GB of VRAM excludes 2.7% of those who chose to do the Steam Hardware survey.

Given that very few OpenGL/D3D/Vulkan 3D games [1] released in the past like ten years will run with 512MB of VRAM, 1GB of VRAM seems to be a fine cutoff point to me.

[0] <https://factorio.com/blog/post/fff-281>

[1] Yes, I'm aware that Factorio is a 2D game. The comment that started this discussion claimed that Factorio "uses so much VRAM" because it's a 2D game rather than a 3D one.

4h agoHN ↗

What the actual fuck are you talking about? This has to be a troll comment.

4 GB is nothing. Mid-grade GPUs from 2013 had 4 GB. Budget GPUs from 2016 (10 years ago!) had 4 GB.

3h agoHN ↗

You can play Factorio on laptops and other devices that don’t have dedicated GPUs. A mid-grade computer from 2013 would be a $599 laptop with a Core i3 integrated GPU that shared the 4 GB of system RAM.

3h agoHN ↗

Such a machine would probably benchmark favorably against the Nintendo Switch, which runs Factorio on downclocked tablet hardware of a similar era.

3h agoHN ↗

the "minimum requirements" aren't even the actual minimum, the game can definitely play on worse machines than that (just inconsistently). I know from personal experience that you can play factorio (at least the base game) on a crappy old 2009 toshiba laptop. Pretty sure it doesn't even have a GPU, just integrated graphics. It doesn't run well but it's not an action game, a little stutter isn't the end of the world and anybody playing on a system like that should not be surprised by it.

3h agoHN ↗

The most potato i've run it on was a CB131 chromebook, (which was about a hundred bucks in 2017) and even then, even though video was chugging at 20fps, the main update loop was locked at 60TPS. very impressive. (and helpful for a 9 hour layover on christmas eve, anecdotally)

3h agoHN ↗

If you play video games, it's basically nothing. I bought a 6 GB VRAM card for ~$300 a decade ago. Many recent games require a minimum of 8 GB VRAM and can scale up to 16 GB VRAM on higher settings.

3h agoHN ↗

Sure I play video games, but not usually the ones from the current year. Besides the price of the game itself, it won't run well on laptop hardware anyway and there's such an enormous collection of great games from past years. Factorio is an exception for me, I've played it since not long after the initial release in 2016 and actually got entertainment for so many hours that I thought it fair to buy it a second time ^^'

1h agoHN ↗

Sure I play video games, but not usually the ones from the current year.

So you're extrapolating "I bought a budget tier system in 2018 and it plays a 2016 game just fine" to "Nobody needs more than 4 GB of VRAM unless you're running an LLM"

3h agoHN ↗

If ONLY I had know to buy 16 GB of VRam on my cards. I have 12, but they struggle.

Hell if I had know that a 5090 would be worth 6000 USD I would have brought as many of them as I could for 2000 USD!

2h agoHN ↗

The 2D graphics are heavier than you might suspect. But Factorio is overall a very well optimized game, and it runs far better on my office notebook than any comparable game. This will work fine on any not ancient notebook with integrated graphics.

3h agoHN ↗

In fact, sometimes when your game lags too much you can speed it up by zooming in! (Only in some cases)

3h agoHN ↗

Everything in the game is a 2D render of a 3D model, which is why the game uses so much VRAM.

Surely from first principles one'd expect 3D models to be heavier than the 2D renders, due to the extra axis?

2h agoHN ↗

Purely from a vram perspective. A triangle is just 3 vertices and some edges. A few bytes of data.

A similar 2d image of a triangle would likely be thousands of bits of data.

The 2d probably uses a little less per pixel. Whereas the triangle has slightly more expensive compute per pixel cost. But modern gpu have dedicated hardware for that.

3d is probably more expensive compute but cheaper vram usage. At least to a point and a certain set of conditions. Barring things like textures and others.

1h agoHN ↗

This is such a wild take, I'm not sure where to start. Let's just consider this:

Barring things like textures and others.

Other than some really expensive stuff, it's not expensive. Who could have guessed?

7h agoHN ↗

Wube is such a unique game studio. They do a lot of very solid technical work and look like they have fun doing it. I particularly appreciated their recent post about porting Factorio to ARM64. They had a business reason to do it but it's clear the team was mostly just curious about whether ARM64 was a viable gaming platform now. And then shared the results with us. They seem like fun hacker guys.

https://www.factorio.com/blog/post/fff-446

6h agoHN ↗

I've never played a game where it was more obvious that the developers really played and enjoyed their game. It's just brimming with QoL features.

6h agoHN ↗

The modern doom saga gives me the same vibes. The team really poured their hearth in it!

4h agoHN ↗

Factorio is in that top-tier. I just tried Core Keeper and had the same feeling, gushing with QoL and thoughtful design. Refreshing to play sandbox-y games where mods don't feel mandatory.

3h agoHN ↗

IIRC, a number of the team members started as players.

8m agoHN ↗

brimming with QoL features.

I'm surprised they didn't find a way to further improve the belt system. I thought they had it solved pretty well but e.g. Shapez is leagues better (talking about belt placement only here).

4h agoHN ↗

It helps they don’t have a publisher to confuse them with quantitative and qualitative pattern matching. Just make the game you play and judge it honestly. Of course, the second part is a rare ability.

4h agoHN ↗

This is what being very successful (but still focused) gets you.

1h agoHN ↗

Success is downstream to passion, not the other way around.

3h agoHN ↗

Yes but they have fallen into a success trap. I have seen the same trend with Mincraft, KSP and Subnautica. An indi developer starts with a great concept and a true open world game. The player can progress through the tech tree how they choose but doing so requires exploration. All is good. Then the developer starts to tighten the reigns. The tech tree become more rigid. Exploration must happen in a more specific order. And then the graphics department takes over, adding more and more objects until a previously huge and open world is a tightly cluttered mess.

Think of how subnautica moved. The second game was very literally denser to the point that they slowed down movement to preserve any sense of space. And each step inthe tech tree required specific tools from a specific place. No more free explorations. No more alternatives. The player lost control over the story. Subnautica 3 is now so dense and linear I gave up after a week. It is more a decorated fishtank than open world.

I still play factorio (1000x) but I do not play the new planets. That whole rocket process is so locked down that there is little for me to enjoy. I get bored whenever there is only one way to do a thing and no room for a player to invent alternatives.

3h agoHN ↗

Do you play Space Age just on Nauvis or are you playing without Space Age entirely?

3h agoHN ↗

This is a weird perspective. The middle planets can be approached in any order. And mods allow near-infinite variety - especially those that build on the platform of custom planets.

there is only one way to do a thing and no room for a player to invent alternatives.

Sounds to me like you are caught up in trying to chase optimization and bemoaning the fact that there's only one optimal strategy. Do a no trains run! Or a no bots run. Or a 1000x science modifier run, or Lazy Bastard, or Death World, or... there are plenty of constraints, both programmed-in or self-imposed, that can push you out of the "standard" optimal strategy.

2h agoHN ↗

The system for moving between planets is locked down. It is rockets or nothing. And that system is deliberately designed to defeat scaling. What really killed me was the message saying I was only allowed one of a specific key building on each planet. That was very anti-factorio imho. As I said above, as an indi developer moves forwards they add constraints to focus and guide progression. I simply do not want that. So I disabled all the planet stuff and play like it never existed.

2h agoHN ↗

That restriction is needed in some way to prevent that building being a way of teleporting stuff across the planet. They did relax this in 2.1 and allow you to build extensions to that building where you can add inserters and use belts/trains.

50m agoHN ↗

I'm going to restrict my commentary to the base game, both because you're deliberately ignoring the stuff in the Space Age expansion, and because I've not yet gotten to the new stuff in the expansion. While the following might sound like a "gotcha!", it isn't:

I get bored whenever there is only one way to do a thing and no room for a player to invent alternatives.

There is only one way to process iron ore: put it in a furnace. There is no way for the player to invent alternatives. There are only three ways to make electricity, and two of them require you to boil water. There's no way for the player to invent alternatives. There are so many examples of places where stock Factorio permits you only one way to do a thing and prevents you from inventing alternatives.

The system for moving between planets is locked down. ... And that system is deliberately designed to defeat scaling.

All of the systems for transporting materials are locked down... it's hand-transport, belts, bots, trains, or nothing. Hand-transport's godawful scaling is why you build everything else. Bots are deliberately designed to scale incredibly poorly and belts to scale pretty badly, which is why you're -as it seems like you'd say- forced to use trains to transport materials over very long distances.

The tech tree become more rigid. Exploration must happen in a more specific order. And then the graphics department takes over, adding more and more objects until a previously huge and open world is a tightly cluttered mess.

That hasn't happened to Factorio in the thirteen years that Wubi has been working on it.

20m agoHN ↗

It's a deeply philosophical question in many ways - if you don't enjoy the direction a studio takes its game, is that their problem? Earendel who designed Space Age has a rigid take on game design that was absent from the original Factorio. In the base game if there was some aspect that you didn't like it was totally fine to disengage with it. In Space Age there is a lot of mandatory requirements down to the bizarre approach to prescribing weapons for particular maps (in hindsight it is actually a bit weird that they didn't make the use of flamethrowers mandatory at some point; they may change that eventually).

Space Age doesn't respect the people who played Factorio as a light a-la-carte design sandbox experience. But it isn't obvious that is worse as opposed to just different. Wube doesn't have to build games for those people, they have many players who clearly wanted different things.

7h agoHN ↗

I love this <3 Wube should be the example the game industry follows

7h agoHN ↗

Fun thing about taking Factorio physical is that the game already has a real scale. A tile is a metre, that's what the km/h readouts for vehicles are based on. So a yellow belt moves at basically walking pace, and the engineer runs everywhere at about 30 km/h all day without getting tired. The mining drill that eats a whole ore patch is a 3x3m box.

4h agoHN ↗

guessing the suit has an exoskeleton built into by default, and the exoskeleton equipment simply boosts the performance

5m agoHN ↗

I think my body would still be worn raw if it were moved at that speed for an extended amount of time.

6h agoHN ↗

Oh - but only touching them?

I was hoping for an iteration of a factorio belt that could actually move!

2h agoHN ↗

I thought you were going to taste them for a second.

5h agoHN ↗

Real-world Factorio, aka composable manufacturing, aka "factories building drones building factories", aka universal constructor, is the next trillion dollar company.

5h agoHN ↗

The entire planet taken as a whole is already a form of universal constructor ;)

5h agoHN ↗

Based on the title I thought this would be about adapting Factorio for touch controls, but this is way more interesting. The folks at Wube have such a unique sense of technical curiosity.

5h agoHN ↗

not me hoping for an official factorio board game

4h agoHN ↗

not you? Is that an expression I should know, meaning the opposite presumably?

4h agoHN ↗

yes, "not me X" means "absolutely me X", in gen-z form.

i typically interpret it as having a hint of embarrassment to it (e.g. "not me eating instant ramen for dinner for the 3rd time"), but not always.

4h agoHN ↗

Until then, there's Factory Fun, and Factory Funner.

3h agoHN ↗

There was an attempt, with a very well known board game designer. They got along well, but didn't find a board game in it.

2h agoHN ↗

I imagine it takes a football field and a small building full of pieces. Sounds like fun!

5h agoHN ↗

I love Factorio, but I can't play it - it's way too addictive. If I start on a Friday, I won't stop until Monday

3h agoHN ↗

You think Factorio its self is bad? Try the Space Exploration mod! It expands the game with a ton of fun new problems.

5h agoHN ↗

A bit like the old Bill Hicks joke: "I was a weekend drinker - I would start on Saturday, and then by Friday I..."

3h agoHN ↗

It's a great way to rebuild a sense of agency for me. I find the weekend binge a good way to feel like I can effect changes in the world.

3h agoHN ↗

Not sure if this seems too random but I think that's what I like about OpenStreetMap editing: it's only a few clicks to improve the map and thousands or more people will come across it. You're changing the world in one of the literal senses of the phrase, and can do it from an armchair (doing quality assurance or using aerial imagery) or use it as motivation to seek out places near you that you've not visited yet. Maybe that's something you'd enjoy as well

3h agoHN ↗

I still believe Factorio fundamentally rewired the way I think about software and engineering more broadly... prepared me better for my first software internship than any class I'd taken

The whole game really drills in what it means to "think like a computer scientist". Abstraction, encapsulation, modularity, etc

5h agoHN ↗

Omg, this is so my jam...

I'm looking forward to making a Factorio themed war game table. Star Wars Legion on the factory planet...

3h agoHN ↗

Now try to get a Factorio-Lego collaboration going.