Search results

  1. rbranco

    Scripting Desktop Installs

    Using Bash scripts is how Omarchy does it, so if it works for you, it's ok. I don't like YAML. Kubernetes had to come with KYAML. That's the other issue with Ansible.
  2. rbranco

    How is your prompt engineering?

    Fixed.
  3. rbranco

    Scripting Desktop Installs

    I sometimes feel like this. Translating ideas to Ansible is awful, but LLM's are good at it. My only issue with Ansible is the Python dependency. Scripts are nice for simple stuff but get messy after a hundred lines or so.
  4. rbranco

    How is your prompt engineering?

    I wouldn't mind LLM's destroying OnlyFans & the pr0n industry. And we had slop before AI in popular culture since at least the late 2000's. People will eventually appreciate man-made stuff again. And the real thing and not just bytes. When I settle I plan to own paper books and vinyl records.
  5. rbranco

    The upcoming death of setuid/setgid on Linux

    Try with find / -type f -perm /06000 -exec ls -l {} +
  6. rbranco

    The upcoming death of setuid/setgid on Linux

    https://www.thkukuk.de/blog/no_new_privs/ I wonder if we could achieve the same with mac_do(4). I haven't yet played with it. https://freebsdfoundation.org/our-work/journal/browser-based-edition/freebsd-15-0/credentials-transitions-with-mdo1-and-mac_do4/
  7. rbranco

    Other What's the go-to scripting language to learn for general purpose-scripting on freebsd?

    POSIX shell only for simple stuff. Bash if you want lists and associative arrays. But shell scripts spawn new processes and writing portables shell scripts is hard. It's better to use a proper scripting language like Python or Perl.
  8. rbranco

    Is the High Price of RAM a Good Opportunity to Promote FreeBSD?

    zram & zswap is a secret goal. The github repo mentioned in the wiki disappeared: https://wiki.freebsd.org/SummerOfCode2019Projects/VirtualMemoryCompression
  9. rbranco

    ZFS Downside of ZFS (over BTRFS and in general)

    Fair. But how is this related to ZFS, Btrfs, etc? Completion is something that shells can do depending on configuration. Adapt the one for ZFS to your needs.
  10. rbranco

    ZFS Downside of ZFS (over BTRFS and in general)

    Just install the bash-completion-zfs package.
  11. rbranco

    Which code editor do you use ?

    vim. I tried others like VSCode but they distract me a lot. I only want to see code and nothing else.
  12. rbranco

    Is the High Price of RAM a Good Opportunity to Promote FreeBSD?

    Life's too short to be sad about stuff like this. Regret only what you didn't do. Let others chime in on their experience with swap on FreeBSD.
  13. rbranco

    Is the High Price of RAM a Good Opportunity to Promote FreeBSD?

    When the system begins swapping, having too much swap makes it worse as the system becomes unresponsive. 2GB is the maximum for me. Wish FreeBSD supported Linux's zram to get away with swap partitions. I'm running Debian with OpenZFS on a Raspberry Pi with 8GB RAM using zram with no issues.
  14. rbranco

    BSD family of licenses and consumer rights

    This whole thread is pointless and just disinformation that will pollute any engine search.
  15. rbranco

    O_DIRECT - The Problem That Grew Up With Multi-Threading

    https://zazolabs.com/odirect-the-problem-that-grew-up/
  16. rbranco

    Other Hello world Golang script

    On FreeBSD, with go125 installed, the path should be /usr/local/go125/bin/go
  17. rbranco

    Other Hello world Golang script

    She-bangs are weird! The only issue is you can't use /usr/bin/env https://lorentz.app/blog-item.html?id=go-shebang TL;DR: /*usr/local/go/bin/go run "$0" "$@"; exit; */ package main import "fmt" func main() { fmt.Println("Hello world") }
  18. rbranco

    GMKTek Mini PC with Intel N97

    Don't purchase from the GMKTec store. They tell you they take care of VAT. They don't. It's a fucking mess and they don't send an invoice but charge your credit card nonetheless.
  19. rbranco

    Empty Filenames on NFS in Linux Emulation

    I could reproduce with NFSv4 & ZFS.
Back
Top