• 0 Posts
  • 342 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle
  • Memory safe languages that are not garbage collected are not all that common. Ada and Rust are two examples.

    With great care C++ and zig can be.

    I’m sure there’s a good reason a lot of the big players and the community at large have picked up rust though. Docs, error messages, cargo community etc.

    I would argue that Rust does bring a lot to the table. I certainly would never code in C for work but I’ll happily reach for Rust.


  • Similarly, translating from html/QML or js/py/rust is handy.

    Its still a pain because even good models like opus are hit or miss. The code still has to be reviewed and adapted. Can save time though.

    They are also very useful for mocking up a quick proof of concept.

    Is X doable? Will Y potentially solve the problems that my clients need me to solve? mock it up in two seconds with a few prompts and a language model and you don’t have to take a stroll down a garden path.

    The actual work I still have to do but that’s why I’m paid to do it.


  • Large language models are incredibly useful for replicating patterns.

    They’re pretty hit and miss with writing code, but once I have a pattern that can’t easily be abstracted, I use it all the time and simply review the commit.

    Or a quick proof of concept to ensure a higher level idea can work. They’re great for that too.

    It is very annoying though when I have people submit me code that is all AI and incredibly incorrect.

    Its just another tool on my belt. Its not going anywhere so the real trick is figuring out when to use it and why and when not to use it.

    To be clear VC was version control. I should have been more clear.





  • Grab an old Thinkpad and Install Arch from scratch following the wiki. It’s considerably easier than e.g. Gentoo and equips you with enough experience to debug things.

    Grab a note taking app like Joplin / Obsidian too.

    After that try writing a pkgbuild and configuring sway/Hyprland/DWM.

    Keep something simpler for daily driving so you don’t get warn out (eg EndeavourOS/Fedora/OpenSuse or something along those lines).

    IME Endeavour is a nice compromise between over engineered bespoke behaviour like eg Ubuntu and configuration pains like Void / Gentoo.











  • A collection of programs that will track your media directory and automatically start a torrent on a missing piece of media with a web interface that you can use to browse what you do and do not have.

    • lidarr – music manager
    • radarr – movie manager
    • sonarr – tv shows manager
    • prowlarr – torrent index manager (ie tell sonarr to check thepiratebay.

    So you basically start these programs, connect them with prowlarr so that they can find torrents, point them to a media directory, and then connect that back to a torrent client such as Qbittorrent. When a new TV show comes out, they will automatically download that into your downloads directory and hardlink it to your media directory, torrent keeps seeding, it’s filed away properly and no extra storage use until the hardlink breaks. So if you also have Jellyfin / navidrome pointing at your media directory, you will just see new media pop up each week.

    I recommend using qbitorrent in a docker container that enforces a vpn, then you can just drop a WireGuard profile in there. AirVPN Works well for this as it supports port forwarding as well.

    I personally manage the entire thing in a single docker compose file, and that’s what I would recommend, because then it’s set and forget.