Skip Navigation

Posts
0
Comments
452
Joined
1 yr. ago

made you look

  • It's a shame you're getting downvoted since you're actually right, and distros are in the process of moving to "kmscon", a userspace console, rather than the old kernel console (Which iirc isn't actually intended to be a general purpose console, it's meant for boot messages)

    That said, the fonts the kernel uses are old style bitmap fonts, extremely limited "attack surface" as they're not doing stuff like opentype/font shaping, it's just setting pixel values directly.

  • Yeah, I actually really don't like JSON. It looks simple but actually isn't, that's a bad combo.

    CBOR is much nicer, but annoyingly they made their human readable debug version of it similar enough to JSON that people assume it's just a binary form of JSON, it isn't.

  • The entire number and math system is just a straightforward implementation of IEEE 754.

    Yeah, but using doubles for everything is its own downsides e.g. it's why JSON "can't" store 64bit integers for starters.

    They did add the BigInt class recently, which annoyingly you can't use with JSON because it requires specialized handling (Because of the aforementioned issue with JSON).

    (So you "can" store 64bit integers in JSON, the spec just says not to, so people just ignore the spec. You just then run into silent truncation issues with clients that do follow it, like browsers.)

  • In basic terms, that means our planet is now reflecting less sunlight back into space.

    Sounds like it's your eyes absorbing it all

  • Windows Terminal is the terminal emulator that hosts the shell (cmd or PowerShell, or anything else really). It's the modern replacement for "conhost".

    It's also a fantastic app, some of the devs are on Mastodon too.

  • Pretty sure that's just high-frequency trading.

  • This behavior is actually in line with what I'd expect, as Unicode support in Windows predates UTF-16, so Windows generally does not handle surrogate pairs and instead operates almost exclusively on WTF-16 code units directly.

    So it's just straight UCS-2, and the software does enforce that, pretty much the opposite of "WTF-16".

    Edit: Pretty sure "modern" (XP+ I think) Windows actually does enforce UTF-16 validity in the system, but there's always legacy stuff from the NT4/2K era that might turn up.

  • Landrun as well, takes the restrictions on the command line. Can look messy, but does make it entirely standalone, so you can e.g. drop it into a service file as the readme shows easily enough.

  • Webp is a smaller file size than jpeg for the same image quality in almost all circumstances

    For lower quality images sure, for high quality ones JPEG will beat it (WebP, being an old video format, only supports a quarter of the colour resolution than JPEG does, etc.) JPEG is actually so good that it still comes out ahead in a bunch of benchmarks, it's just it's now starting to show it's age technology wise (like WebP, it's limited to 8bpc in most cases)

    It also doesn't hurt that Google ranked sites using WebP/AVIF higher than ones that aren't (via lighthouse).

    Edit: I should clarify, this is the lossy mode. The lossless mode gives better compression than PNG, but is still limited to 8bpc, so can't store high bit depth, or HDR images, like PNG can.

    Edit 2: s/bpp/bpc/

  • Anybody can argue anything, doesn't make it inherently valid.

  • Phones and tablets? They've displaced computers for a fair few people, and it's hard to consistently run a P2P client on those devices (And that's ignoring metered connection costs)

  • Well, all websites are written in JS (on the frontend)

    Not true anymore unfortunately, some sites are using frameworks compiled to WASM instead.

    e.g. X is apparently using Yew now.

    Edit: Ok the "apparently" is doing heavy lifting, since now I can't find the original source I read about it. Turns out "X" is a garbage name with no searchability, only an idiot would use it.

  • Lightning sensors are "relatively cheap", if you've got good coverage of an area you can triangulate a location.

    It seems the BOM do have a view into lightning, but it's outsourced to an NZ company, so it's another odd choice by the BOM.

  • There's things like the ESP32, and there's a bunch of RPi MCU based boards. There's actually enough competition that the non-arduino boards are often cheaper while being more powerful.

  • Backwards compatibility, it's never been valid to send a body with a GET, and software does enforce that (to varying levels)

    It's easier to create a new verb with the wanted semantics, than to change an existing one.

  • Musk has started talking about an ill-defined idea called “universal high wealth.”

    iirc Musk's whole idea was that every person on earth would buy a robot or two of his (or ideally rent them), send them off to work jobs while they stay at home, then split the combined income with Tesla.

    Of course, it's never explained why the companies wouldn't just buy/rent those robots directly.

  • That'd at least make sense, this is a (literal) black box. Seriously, my monitor takes long enough to wake that it's at the boot loader screen by the time it's ready.

    I found a post on Reddit claiming it's a RAM thing, and I should enable XMP to avoid it. But I've already got XMP enabled so I need to poke around it again.

    And also disable the 5 second delay in the bootloader, not like I'm ever using that fallback option.

  •  
        
    ❯ systemd-analyze
    Startup finished in 14.565s (firmware) + 5.778s (loader) + 2.920s (kernel) + 3.307s (initrd) + 3.972s (userspace) = 30.544s
    graphical.target reached after 3.926s in userspace.
    
      

    You're letting me down firmware!

  • Yeah, the Python equivalent would be something like this.

     python
        
    try:
        config = get_config()
    catch:
        sys.exit(1)
    
      

    It's possible to handle these things, but if you explicitly don't then you'll discover them at runtime.

  • I feel like forcefields and the biofilter would render them effectively harmless in short order

    But now I kinda want to see Data vs. a Yautja