Time Nick Message 13:04 pgimeno how do you get it not to overheat? 13:04 pgimeno @cheapie ^ 13:37 cheapie pgimeno: Currently I have two selectable (via a CSR) clock options, 10Hz via conventional interrupts or 1Hz via lightweight interrupts. Both are well under the heat limit (on that server) of 30. 13:37 cheapie Both of them run 50 instructions per clock with the current settings 13:38 cheapie The newer version of the railroad crossing controller (with fixed string compare function and some other enhancements) is in production now, it enables lightweight mode when idle and automatically goes back to conventional mode when active 13:38 cheapie https://cheapiesystems.com/media/images/screenshot_20260507_195240.png 13:40 cheapie (really it's just been put in service there for testing, I have no plans to deploy it across the whole Bonnthalbahn system. Lua is fine for that) 14:25 crazylad wait today is 5.16.0, right? 14:27 sfan5 🤷 14:27 crazylad I just saw that the milestone is set for today 16:37 MinetestBot 02[git] 04cx384 -> 03luanti-org/luanti: Fix server list sort filter tooltip (#17152) 13f03874c https://github.com/luanti-org/luanti/commit/f03874c5252d9a181de2a5eabd31667a64c8d7cb (152026-05-08T16:36:48Z) 16:37 MinetestBot 02[git] 04appgurueu -> 03luanti-org/luanti: Refactor isMyChildren, getElementFromId a bit 1397102ff https://github.com/luanti-org/luanti/commit/97102ff00b8c61d1129bc91fa80991117c0c799f (152026-05-08T16:37:04Z) 16:37 MinetestBot 02[git] 04appgurueu -> 03luanti-org/luanti: Don't rely on `lua_next` iterating lists in order 13446e952 https://github.com/luanti-org/luanti/commit/446e95235e57d9d2497c2f411a5ef396c7865079 (152026-05-08T16:37:04Z) 16:37 MinetestBot 02[git] 04appgurueu -> 03luanti-org/luanti: Consistently use ipairs-like iteration for reading lists 13b7de147 https://github.com/luanti-org/luanti/commit/b7de147dd3020fb4ddf89d0e5799afe1ed38bd19 (152026-05-08T16:37:04Z) 16:37 MinetestBot 02[git] (3 newer commits not shown) 17:54 cheapie Ooh, just implementing the C extension alone (I say that like it didn't take me hours of debugging to get right) got me about a 25% size reduction on the railroad crossing program, and between that and using -Os instead of -O3 I can get about a 38% size reduction 17:55 cheapie It does run a bit slower when compiled with -Os instead of -O3 but I suppose that's exactly how it's meant to work :P 18:17 pgimeno cheapie: what about the string compare function? did you maybe expect it to work like memcmp? 18:18 cheapie pgimeno: I don't really know enough C to know what I'm doing for most of that :P 18:19 pgimeno strcmp compares strings up to the first null byte in either; memcmp compares selected ranges of memory 18:19 pgimeno incidentally, one of the infamous Wii exploits was caused by the use of strcmp when memcmp should have been used 18:19 cheapie Yeah, first null byte is what I was going for, and seems to be what the new version does 18:20 Ingar I learned in my first C program to use strncmp 18:21 Ingar (it could have been strncpy, but it was some decades ago) 19:02 MinetestBot 02[git] 04thierry-f-78 -> 03luanti-org/luanti: Fix joystick button toggle actions repeating indefinitely (#16807) 13c03d0e1 https://github.com/luanti-org/luanti/commit/c03d0e103fe0f7672414cf61c95b7f348c042fab (152026-05-08T19:00:53Z) 19:04 MinetestBot 02[git] 04sfan5 -> 03luanti-org/luanti: Reduce array_texture_max to 1000 (hotfix) 138bb0a0f https://github.com/luanti-org/luanti/commit/8bb0a0fefce223cbe757e819d9be1d734520241b (152026-05-08T19:02:11Z) 19:12 MinetestBot 02[git] 04SmallJoker -> 03luanti-org/luanti: Add missing language codes (Azerbaijani & Georgian) 139aa535b https://github.com/luanti-org/luanti/commit/9aa535b1573c3c40a62198e6483a39079d0a6299 (152026-05-08T19:11:36Z) 19:12 MinetestBot 02[git] 04Wuzzy2 -> 03luanti-org/luanti: Translated using Weblate (German) 130151cef https://github.com/luanti-org/luanti/commit/0151cefb8f769551c1696ec8a41258d365859b34 (152026-05-08T19:11:55Z) 19:29 MinetestBot 02[git] 04sfan5 -> 03luanti-org/luanti: Update credits for 5.16.0 13d11019c https://github.com/luanti-org/luanti/commit/d11019c197611bbf108b92bcdb395d85ad20fa40 (152026-05-08T19:26:57Z) 19:56 MinetestBot 02[git] 04sfan5 -> 03luanti-org/luanti: Bump version to 5.16.0 13750ae19 https://github.com/luanti-org/luanti/commit/750ae19568e88b49a6890ce2461e58e504aebdff (152026-05-08T19:30:52Z) 19:56 MinetestBot 02[git] 04sfan5 -> 03luanti-org/luanti: Continue with 5.17.0-dev 1338fb44a https://github.com/luanti-org/luanti/commit/38fb44a71818ea9cdf259cf131915761c424d4df (152026-05-08T19:30:54Z) 19:56 crazylad yay, 5.16! 19:58 MinetestBot 02[git] 04sfan5 -> 03luanti-org/luanti: Revert "Reduce array_texture_max to 1000 (hotfix)" 134765f03 https://github.com/luanti-org/luanti/commit/4765f035388a5f7c249f7c4c996242f3d78bbd7f (152026-05-08T19:56:26Z)