Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)L
帖子
3
评论
290
加入于
1 yr. ago

  • That would have been a brilliant move with wav vs MP3

  • How would a new format be backwards-compatible? At least JPEG-XL can losslessly compress standard jpg for a bit of space savings, and servers can choose to deliver the decompressed jpg to clients that don't support JPEG-XL.

    Also from Wikipedia:

    Computationally efficient encoding and decoding without requiring specialized hardware: JPEG XL is about as fast to encode and decode as old JPEG using libjpeg-turbo

    Being a JPEG superset, JXL provides efficient lossless recompression options for images in the traditional/legacy JPEG format that can represent JPEG data in a more space-efficient way (~20% size reduction due to the better entropy coder) and can easily be reversed, e.g. on the fly. Wrapped inside a JPEG XL file/stream, it can be combined with additional elements, e.g. an alpha channel.

  • That doesn't help you if you want to get the result of something that happened in the function without capturing stdout, does it?

  • I didn't mean that bash has no local variables, but rather that if you want to use a function as such without capturing stdout, you need variables that are scoped across your functions, which is usually global or at least effectively global.

  • Bash has its upsides too, like the fact that it has arrays / lists and dictionaries / hashmaps. In my opinion, it gets iffy though when you need to do stuff with IFS; at that point one might be better off just using specialized tools.

    Not saying working bash isn't good enough, but it can break in very surprising ways is my experience.

  • Functions are definitely not subshells in Bash

    You're right, my bad, I got this mixed up with something else.

  • Not sure I'd call what bash has functions. They're closer to subroutines in Basic than functions in other languages, as in you can't return a value from them (they can only return their exit code, and you can capture their stdout and stderr). But even then, they are full subshells. It's one of the reasons I don't really like Bash, you're forced into globally or at least broadly-scoped variables. Oh, and I have no clue right now how to find where in your pipe you got a non-null exit code.

    It's not a big problem for simple scripting, but it makes things cumbersome once you try to do more.

  • In all seriousness though, the core of the technical stack has become very robust in my opinion (DNS being the exception). From a hobbyist's perspective, things work much better than when the Web was still young. I can run multiple sites (some of them being what are today called apps) on a domain with subdomains, everything fast, HTTP3-capable, secured via valid free TLS certs, reverse proxied, all of that running on a system deployed in minutes...

    If you focus on the part of the Internet that you have control over, it's a lot better than back in the simple days.

  • No issues here, but I haven't benchmarked anything and any improvement could be placebo. It's trivial with flakes

  • You probably know this, but you can even run the CachyOS kernel on NixOS. Currently doing exactly that

  • Similar story happened to me literally yesterday. Wanted a new vacuum, saw that a construction store chain that has a store nearby has some on offer, research them for a while on my phone, go buy it, use it.

    Then later, I get ads for that exact model and some others from that exact store on my phone while browsing for something completely unrelated.

    Yeah, not system can know that I already bought something offline, but still...

  • Finally

    跳过
  • You can actually invoke the binary inside a venv using πthon as an Easter egg as far as I know

    Didn't try it, but it's discussed in an issue

  • Oh, that's good to know.

    I think this is a huge release of just because of accessibility, that's always been a pain point (read: basically impossible) with LaTeX, I heard ConTeXt is better there but I never got into it. typst on the other hand is very approachable and makes a lot of sense.

    While I don't need accessibility very much nowadays, it's basically a requirement for usage in the public sector here as PDF/UA. Which I guess is the main motivation.

    Looking forward to trying it out when it hits my repositories, which should be soonish.

    Another option is docbook, but I never particularly enjoyed working with that...

  • Similarly here. Have an Odroid with that platform, it wasn't cheap but it came with several advantages:

    • 4 SATA ports on addition to the M2 slot
    • Intel QSV
    • 2 x 2.5 Gbit Ethernet (I only have gigabit at home though)

    Very powerful machine for the power usage, I ran a really old Athlon before though (from 2010 or so that I retrofitted with 16GB RAM) that did most stuff just fine. But I wanted some transcoding and also possibly a smaller case.

    I run everything bare metal though.

  • Luckily, it's not the entire Internet, just the unfun part.

  • It's too funny to me that Arch of all distributions attracts the thigh /Unix socks crowd (for lack of better word). Nothing about Arch stands out for me in that regard, there's no social statement or anything, and when I was more active in the community, it wasn't known for that.

    I was deep enough into Arch to run my own private repository using aurutils, but no thighs :(

  • Ah, Capcom U.S.A. Inc. v. Data East Corp. 2: Electric Boogaloo?

  • There is no effect that can be generated that could unboggle it

  • Funny @sh.itjust.works

    Random juxtaposition from my YouTube feed

  • Linux @lemmy.ml

    Stop Parsing (unstructured) Text

    pc-hass.de /blog/stop-parsing-text/
  • Linux @lemmy.ml

    Simple Home DNS using dnscrypt-proxy on NixOS

    pc-hass.de /blog/simple-home-dns/