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/)DE
Posts
0
Comments
104
Joined
1 yr. ago

  • What I don't like about Go's error handling is that it's built on returning a tuple of result/error instead of enum/union/variant/whatever-its-called. Which means that on error path you have to return something for successful result too (usually a "zero-initialized" struct because Go doesn't have optionals). You are not returning result or error, you are always returning both. This is just wrong.

  • That's also true, but I have experienced an occasional issues when it would be stuck on downloading some package at 10 KiB/s because of bad mirror. Parallel downloads likely wouldn't have helped in this case since it would select the same mirror. Obviously both issues need to be fixed though.

  • I’ve got a problem with port forwarding I can’t get working, never had that problem before and I don’t know network stuff well enough to figure it out.

    Docs says that CachyOS has UFW firewall enabled by default. You can search how to configure it, it seems quite easy.

    The updates are the winner for me- I don’t know how long this has been a thing with arch but downloading multiple packages at the same time. Game changer. I love Tumbleweed, but a 2gb “zypper dup” downloading package by package could take me 30 - 60 minutes.

    It's usually the issue with automatic mirror selection. If you interrupt zypper using ctrl-c (only when it's downloading, not installing of course) then it should select a faster mirror next time you run it. Zypper devs really should work on this though.

  • I actually installed it recently out of curiosity, but I'm hesitant about learning its advanced features like that. At least jq is a standalone tool that's more ubiquitous than nushell, so you can rely on it even in environments that you don't fully control (e.g. CI like GitHub Actions). And if you use it in some public code/scripts then other people will be more familiar with it too.

  • Fish is a replacement of bash that's a bit more user friendly (has some cool auto completion features out of the box and more sane behaviour like handling of spaces when expanding variables). I personally started to use nutshell recently but unlike fish it's very different from bash.

    Starship is a "prompt" for various shells (that bit of text in terminal before you enter the command that shows current user and directory in bash). I haven't used it but AFAIK it has many features like showing current time, integration with git, etc.

  • I use it occasionally but every time I need to do something a tiny bit more complex than "extract field from an object" I have to spend half an hour studying its manual, at which point it's faster to just write a Python script doing exactly what I need it to do.

  • AFAIK kernel itself doesn't send any signals to processes on shutdown/reboot, it just stops executing them. This is a job service manager (e.g. systemd) that terminates processes using SIGTERM before asking kernel to shutdown.

  • Even if a file manager doesn't have this feature, you can probably get around that by adding a new .desktop file in ~/.local/share/applications that accepts specific MIME type and runs a script on "opened" files.

  • Even it wasn't Google, you can't self-host RCS backend. So it would have been carrier's servers or someone else's. Given that end-to-end encryption is not a part of the standard yet (and it won't be mandated anyway), having an open source client would offer no privacy benefits.

  • Both Germany and Japan were defeated in war (that they themselves started) and occupied by foreign forces. Their "denazification" was enforced by occupiers. You are arguing against your own points (not that you have any, except "war is bad and America is to blame for Russia's actions").