Search found 278 matches

by pleegwat
Sat Nov 09, 2024 11:50 am
Forum: News
Topic: Friday Facts #408 - Statistics improvements, Linux adventures
Replies: 161
Views: 28338

Re: Friday Facts #408 - Statistics improvements, Linux adventures

The first argument to mmap() is the target address to map to. Of course, the kernel can only respect that if no other memory is in the way (and page alignment is met, but that should not be a problem in this case). Otherwise, you'd simply have to avoid pointers and use offsets instead.
by pleegwat
Tue Oct 22, 2024 4:00 pm
Forum: Ideas and Suggestions
Topic: Add more decimal places in assembler tooltip
Replies: 8
Views: 393

Re: Add more decimal places in assembler tooltip

Switching to per minute would allow more significant digits, but would not make comparing to other recipes (which are not shown in per minute) any simpler.
by pleegwat
Tue Oct 22, 2024 1:57 pm
Forum: Ideas and Suggestions
Topic: Change "Enqueue" to "Add to Queue" in english
Replies: 27
Views: 1680

Re: Change "Enqueue" to "Add to Queue" in english

As an ESL software developer, I am well aware of the words "Enqueue" and "Dequeue".
by pleegwat
Fri Sep 06, 2024 6:35 pm
Forum: News
Topic: Friday Facts #427 - Combat Balancing & Space Age LAN
Replies: 253
Views: 34376

Re: Friday Facts #427 - Combat Balancing & Space Age LAN

I was a bit taken aback by this, but I guess what you're saying is: Destroyed rocks won't drop stone. But mined rocks (and deconstructed rocks) still will. This makes sense in the context of the game, as destroyed trees don't drop wood and destroyed cliffs don't drop anything. Yes exactly, mining t...
by pleegwat
Fri Jul 26, 2024 11:48 am
Forum: News
Topic: Friday Facts #421 - Optimizations 2.0
Replies: 109
Views: 22022

Re: Friday Facts #421 - Optimizations 2.0

Regarding the electric network. My approach would have been to optimize based on groups, i.e. idle or full load. For these two cases there is no need to iterate through the entities, instead we just track the total power consumption. Then you track changes instead. All entities report when they no ...
by pleegwat
Fri Jul 26, 2024 11:18 am
Forum: News
Topic: Friday Facts #421 - Optimizations 2.0
Replies: 109
Views: 22022

Re: Friday Facts #421 - Optimizations 2.0

But what if a chunk is revealed by more than 255 radars?
by pleegwat
Sat Jul 20, 2024 1:26 pm
Forum: News
Topic: Friday Facts #414 - Spoils of Agriculture
Replies: 397
Views: 59325

Re: Friday Facts #414 - Spoils of Agriculture

Everyone talks about freezing, refrigerator cars, etc... ...no one's said anything about the original solution to this problem: canning. Canning (or rather the boiling afterwards which makes it actually preservable) changes the chemical makeup of the biological material. That's not (usually) a prob...
by pleegwat
Fri Jul 12, 2024 5:43 pm
Forum: News
Topic: Friday Facts #419 - Display Panel & Inserter pickup fixes
Replies: 119
Views: 21931

Re: Friday Facts #419 - Display Panel & Inserter pickup fixes

On showing quantities, something like

Code: Select all

[signal=iron-plate]
may be a good fit from the user side (compared to existing

Code: Select all

[item=iron-plate]
in rich text). Though of course I don't know if you can get at the numbers easily from the engine side.
by pleegwat
Thu Jul 11, 2024 3:37 pm
Forum: News
Topic: Friday Facts #418 - Space Age release date
Replies: 185
Views: 49924

Re: Friday Facts #418 - Space Age release date

Do we know what hour and timezone the expansion releases on? I find it entertaining to put countdowns to games on my phone screens, and I enjoy the absurdity of counting hours if possible. "102" days is just not as entertaining as "101 days, XX hours, XX minutes". I'd guess 1PM ...
by pleegwat
Sat Jun 15, 2024 7:22 pm
Forum: Implemented Suggestions
Topic: Quality of items in Factorio 2.0
Replies: 15
Views: 6196

Re: Quality of items in Factorio 2.0

Loewchen wrote: Sat Jun 15, 2024 6:34 pm
BrainGamer_ wrote: Sat Jun 15, 2024 6:22 pm Where did you get that last part from? Afaik you can have a vanilla + quality game, no SA.
The recycler is unlocked by mining scrap, scrap only exists on fulgora, fulgora requires SA.
Vanilla and SA have different tech trees.
by pleegwat
Sat Jun 01, 2024 7:10 pm
Forum: News
Topic: Friday Facts #413 - Gleba
Replies: 122
Views: 28569

Re: Friday Facts #413 - Gleba

CyberCider wrote: Sat Jun 01, 2024 4:57 pm
JustSmileMan wrote: Fri May 31, 2024 11:34 pm Ya'll really just named this planet a Polish slang term for "ground". 10/10 gonna buy for sure.
Well, the name of our own planet is also a word for “ground” :lol:
If a story wants to be posh, they call our world terra. Which is Latin for ground.
by pleegwat
Fri May 31, 2024 11:20 am
Forum: News
Topic: Friday Facts #413 - Gleba
Replies: 122
Views: 28569

Re: Friday Facts #413 - Gleba

Somehow, this feels like it needs its own building appearances. Anything you put down would be covered by something alive in no time.
by pleegwat
Tue May 21, 2024 4:34 pm
Forum: Ideas and Suggestions
Topic: Better Production statistics
Replies: 14
Views: 1606

Re: Better Production statistics

These stats would, imo, only be meaningful if you could select a section of your base and then get these stats from only within that selection. Allowing to do that dynamically would require storing statistics for every assembler individually. I highly doubt that'd ever be viable. Allowing users to ...
by pleegwat
Tue May 14, 2024 7:00 pm
Forum: Modding interface requests
Topic: Remove all simple forms of properties that are defined in table and simple form
Replies: 11
Views: 1273

Re: Remove all simple forms of properties that are defined in table and simple form

A less breaking version of this would be to normalize in data:extend(), so you can initially set either version but when reading you always get the array version. That would probably be more implementation work though.
by pleegwat
Mon May 13, 2024 4:48 pm
Forum: News
Topic: Friday Facts #409 - Diminishing beacons
Replies: 180
Views: 36257

Re: Friday Facts #409 - Diminishing beacons

Is a 1/sqrt(n) lookup table faster than doing the computation directly? Maybe if Lua I guess. Yes. Only the most simple functions will break even or be faster than a predictable memory load. But more importantly, having it as a table makes it trivially modable. I would rather say it depends. The bi...
by pleegwat
Sat May 11, 2024 10:54 am
Forum: Modding help
Topic: Can someone please count brackets for me? I'm serious.
Replies: 10
Views: 1019

Re: Can someone please count brackets for me? I'm serious.

I even recall having had to write extra code in a parser to reject trailing commas in array definitions.
by pleegwat
Fri May 10, 2024 7:07 pm
Forum: Modding help
Topic: Can someone please count brackets for me? I'm serious.
Replies: 10
Views: 1019

Re: Can someone please count brackets for me? I'm serious.

While I agree with your formatting preferences Fury, I suspect being blind to your own mistakes applies here as well.
by pleegwat
Fri May 10, 2024 6:58 pm
Forum: News
Topic: Friday Facts #410 - Rocket turret & Target priorities
Replies: 112
Views: 23960

Re: Friday Facts #410 - Rocket turret & Target priorities

JackTheSpades wrote: Fri May 10, 2024 11:30 am With turrets and artillery in the circuit network, all that is left is being able to send target coordinates to a artillery unit. Why? No idea but it could be fun :P
Automated deforestation.
by pleegwat
Fri Apr 26, 2024 4:25 pm
Forum: News
Topic: Friday Facts #408 - Statistics improvements, Linux adventures
Replies: 161
Views: 28338

Re: @raiguard RE: background saving

If the game engine uses 2 different memory pools for data that's "read-only" and data that changes every tick, then the amount of memory duplicated in copy-on-write can be minimized to less than "doubling the memory usage", but I don't know if Wube uses any memory management str...
by pleegwat
Fri Apr 26, 2024 3:22 pm
Forum: News
Topic: Friday Facts #408 - Statistics improvements, Linux adventures
Replies: 161
Views: 28338

Re: @raiguard RE: background saving

If it's possible, it might be worth exploring if the forked Factorio instance could unload essentially everything but raw entity data or similar. I don't know much about the internals of the game, even after reading all FFFs. If the fork() finishes and the forked process checks if it is the child a...

Go to advanced search