Elektrine lite

← Feed

mort

mort@floss.social

<p>I&#39;m a computer nerd. I write software (some of it FOSS), I&#39;m working on a game (also FOSS), and I sometimes make music.</p>

Posts

  • View post

    Waking up to find that 1) PHP will drop a huge RCE today so I have to switch off @nextcloud for the day and 2) A CERTIFICATE AUTHORITY USED THE NUMBER 4 AS THEIR PRIVATE KEY so SSL is broken globally is certainly an experience #security #nextcloud #php

  • View post

    Runtime checking design, in case an ISO language needs it: * Build modes: debug, release, release_unchecked * New functions: std::check(bool) (runs in release and debug), std::dcheck(bool) (runs in debug only) * If check/dcheck is passed false, it throws std::contract_violation (which does not inherit from std::exception because it&amp;#39;s not an exception) There you go, better asserts. Does not solve ODR problems but assert() doesn&amp;#39;t either. Feel free to add to C++27 #cpp #cplusplus...

  • View post

    I hate how complicated it is to set which drive an embedded system &amp;quot;boots from&amp;quot;. There&amp;#39;s the drive the firmware loads u-boot from, there&amp;#39;s the drive u-boot loads the kernel and devicetree from, and there&amp;#39;s the drive the kernel mounts as the rootfs. These do not all necessarily align, and the default is usually that if you have an SD card *and* eMMC, installed, Linux gets loaded from the SD card and then mounts its rootfs from eMMC! #linux #embedded #op...

  • View post

    I wrote a blog post about various annoyances I have with SQLite&#39;s defaults, and a suggestion about how it could be fixed: https://mort.coffee/home/sqlite-editions/ TL;DR: SQLite should have a Rust-style edition system which lets us set a whole suite of more sensible defaults with a single &#39;PRAGMA edition = 2026&#39;. #sqlite #databases #rdbms #embedded