Install Guix

  • 25 Posts
  • 266 Comments
Joined 11 months ago
cake
Cake day: January 21st, 2025

help-circle

  • I don’t know anyone who works in tech (not IT) that is allowed to use Wangblows for development. If you’re a programmer/software developer, you’ll 1000% have to use Linux, either directly or indirectly. From small hardware devices, to automous cars, to simple web sites, all of that uses Linux. Lots of places give you a Linux laptop or at the very least give you Mac—because they consider Mac close enough to Linux. I’ve never needed to use Macroshit Office Suite for anything related to work. Zoom and Slack are the standard in Silicon Valley and both work fine on Linux.


  • Uff. That sounds like a nightmare. I’m glad my job doesn’t force us to us AI. It’s encouraged, but also my managers say “Use whatever makes you the most productive.” AI makes me slower because I’m experienced and already know what I want and how I want it. So instead of fighting with the AI or fact checking it, I can just do shit right the first time.

    For tasks that I don’t have experience in, a web search is just as fast. Search, click first link. OR. Sure, I’ll click and read a few pages, but that’s not wasted time. That’s called learning.

    I have a friend who works at a company where they have AI usage quotas that affect their performance review. I would fucking quit that job immediately. Not all jobs are this crazy.

    AI tends to generate tech debt. I have some coworkers that generate nasty, tech debt, AI slop merge requests for review. My policy is: if you’re not gonna take the time to use your brain and write something, then I’m not gonna waste my time reviewing your slop. In those cases, I use AI to “review” the code and decide to approve or not. IDGAF.


  • Yeah, I’m sure. It’s not something I would do frequently. My work had us on beefy desktops. But, I was totally fine with letting find+parallel+grep run for 30 minutes in the background while I searched docs or messaged people on slack. Depending on your team, getting a response from slack could easily take 24 hours so. Eh.

    The other thing I liked to do is directly edit the libraries in the monorepo! No need to figure out how hack some random decency manager. You have the code! Just edit and build!


  • On the other hand, using ordinary tools like find and grep are exactly what I like about monorepos! Yes, they may take a while, but at least I know I’ll find a file or code that I’m looking for!

    With multi-repos I’m constantly searching, but not finding where a particular piece of code comes from. Yes, it’s from library X, but where there heck does that live? Now I really can’t use ordinary tools. I have to rely on coworkers, docs, or GitLab to search for where a piece of code is actually defined.


  • AI coding tools definitely helpful with boilerplate code

    They’re really not. Just because they generated a starter template for you doesn’t mean you actually needed all of that mountain of slop. My coworker recently did a presentation where he generated a starter project for a Go project and most of it was shit and just not necessary. People assume you need mountains of boilerplate, but you may not need that. (Worse, AI is cementing bad practices at work.)

    But also, assuming your project does need to generate a ton of boilerplate, should you really be going to the casino and rolling for a fresh mountain of slop that is hopefully correct? We can already generate code: snippets (in your editor), templates (like cloning a template repo), and generators (like create-react-app) already exist. Aaand these are deterministic, debuggable, and fixable.


  • I started using Claude Code myself. I got kind of obsessed with it.

    Over the last several months, the GitHub username with the most merged PRs in Bun’s repo is now a Claude Code bot. We have it set up in our internal Discord and we mostly use it to help fix bugs. It opens PRs with tests that fail in the earlier system-installed version of Bun before the fix and pass in the fixed debug build of Bun. It responds to review comments. It does the whole thing.

    Seems like they’ve bought into the hype.











  • Harden your server first

    Do you have any tutorials or guides on this handy?

    Use your router/server to block some counties using geoip

    Yeah, definitely all my users are in the same town/region/country as me. So this could be doable.

    Configure rate limits in Nginx

    Hm, currently using Caddy as my reverse proxy. I guess there’s some module for this.

    only open ports in your firewall you really want to open

    The only port I need open is 443 for accessing Jellyfin and Immich. I can definitely block 22 from the public internet. And fuck it no automatic redirects from 80 to 443. TLS or bust.


  • GAAH! OK! I’M NOT CRAZY!

    The exact same thing is happening to my wife’s phone. We’re both on Pixel 8s, have the same VPN settings, but for some magic reason Tailscale breaks only her phone. She has to turn off Tailscale and reboot her phone to regain connectivity.

    These shenanigans is why I’m considering just exposing things to the public internet. I’m using Tailscale on several device types and Tailscale adds friction to all of my devices (except Arch where everything always works).

    I understand the friction is there for a good reason, but my family doesn’t. They just see that Jellyfin doesn’t work and that all of this is buggy and maybe they just should sign up for Netflix instead of dealing with all of these bugs.


  • “roaming” device is always connected to their “home” network by VPN

    Ah, right. Well, currently I do have my wife’s and my phone on the Tailscale VPN. The issue I’m trying to solve is that the VPN app on Android (and other environments) isn’t 100% bug-free. For some unknown reason, my wife frequently has issues with Tailscale. It’ll break her entire networking on her phone. The only way to fix it is by rebooting her phone. I have no idea why because we have the same phone and the same settings and it works fine on my phone. I’ve tried turning off Tailscale, logging out, and back in, and the network won’t recover. Sometimes the Tailscale app won’t even trigger the SSO page to sign in. So it just stays permanently logged off.

    The Nvidia Shield also has similar issues where I have to fuss around with the VPN.

    So at this point, I feel like I’m done debugging VPN apps and maybe it would be easier for users if I expose stuff to the public internet. Obviously, it makes management for me harder, but that’s ok if everything Just Works for everyone without extra steps or without having to reboot your phone every week.


  • i knew what i did and why i did it, two years ago, after which i never had to touch it again until now

    Hahaha, true. This is why I try to keep as many notes as possible, leave lots of comments, add READMEs, links, and otherwise document what I did and why.

    It’s not perfect, it’s often tedious, and I don’t always do it, but when I come back 2 years later wondering why I set some random option, it’s pretty nice having at least some hint.