• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2025

help-circle
  • Then you might be hitting some bugs in the router, and there’s not much to do :/

    It seems strange that it only happens when you run the updates, but I did see some cheap routers randomly restarting before when under heavy load, so it’s not impossible. You should have been hitting the same problem with other downloads or steam though.

    I’m unsure on what it could be, ans I don’t have many other suggestions other than “try a new router”, unfortunately :(


  • Is the connection with the router that drops only on your pc, or is it the whole router going down? You can check this by having your phone connected to the wifi, without 4G/5G data enabled, while your pc is running updates. Try browsing the internet on your phone while the updates are running and see if the pages load. If your phone loses internet at that point too, then your router actually crashes and likely has a problem. Not much to do here except changing the router.

    If it’s just the wifi of your pc that drops the connection it might be that the wireless card has some compatibility issues (I have an old macbook air with the same problem - I workarounded it by buying a USB wifi adapter…).



  • I don’t think I ever worked in a company doing real agile (involving customers early and directly, shipping frequently, gathering feedback, and changing the process if it becomes an obstruction). It always ends up being all about random metrics, velocity reports to management, and “”“requirements”“” dictated from high up. It’s always just chaos that names itself “agile” as a poor excuse for the lack of planning. You get the worst parts of waterfall (lack of feedback and validation) with the worst part of agile (lack of specs and medium-term plan, no project management). No estimations, no requirements, no plan, no coordination between teams, but the deadline is fixed anyway and the feature has been sold to a customer already. The customer is going to see the product for the first time after 6 months of development, after which the priorities shift immediately and no feedback is ever addressed. AI is not going to magically make management write good requirements and have a good planning session with everybody involved… it’s just going to create even more unreviewed AI slop documents that are just noise and will be ignored by most anyway.



  • At work claude code, at home zed+deepseek. I loaded up a few dollars in deepseek’s API and they are lasting a long long time (many months). I also tried qwen locally but it’s too slow for me (it runs on the CPU…). I use AI though only for repetitive and boring implementation tasks, or throwaway one-time scripts that I don’t feel like coding by hand. The point of coding at home for me is to have fun, and having the AI solve all interesting problems for me defeats entirely the purpose of why I’m coding. At work we are unfortunately being pushed to use AI a lot more, and the amount of slop code is increasing :(




  • Of all terrible proposals coming up in this period, I’m still more-or-less ok with this system because the administrator is still in full control to set whatever date they want, and the field is entirely optional.

    They call it “age verification” in the aricle, but there’s no 3rd party “verification” whatsoever. It’s just a field for the user birth date saved in the user metadata. This is IMHO acceptable because it doesn’t force anybody to provide IDs or personal information to some random shady company.

    I think calling it “age verification” is a bit confusing and will make people unhappy by default, but might be a smart move to make it compliant with the new laws coming out in this period (the user age was “verified” by the system administrator, after all).


  • I 100% agree with you. I think atomic distros are great for people like my parents, where they just need a browser and maybe libreoffice, and it’s valuable to have something that “just works” (now I need to just convince them to give linux it a try…)

    If you start getting into coding or customization then it quickly becomes clunky to use and requires knowledge beyond what a beginner would have, especially because most guides will tell you to use the traditional package manager, but that won’t work with immutable root.

    Containers, installing software to /home, changing advanced settings is in my experience way too much for most people.

    I hope though that this might be solvable in the future with flatpak. Maybe by creating some special category for “CLI tools” with less/no sandboxing but still installable and runnable from a normal user account, and shipping the whole dependency tree.



  • 8GB is not a lot to work with. It mostly depends on what crates you work with (unfortunately by default rust statically links all code in a single final step and that can be consuming a lot of RAM) Modern editors consume a lot of RAM, and if you have rust-analyzer running it’s going to use a lot more in addition to the editor.

    Tips:

    • trim down yout dependencies (check out cargo tree, cargo depgraph and the cargo build --timings ). Instead of enabling all features on crates, enable only what you need.
    • to free up disk space run cargo clean on the projects you are not currently working on, and regularly on your current project. If you change dependencies often it’s going to use up a lot of GBs of disk space. You’ll need to recompile all the dependencies every time you run it though, so don’t do it too often.
    • fully close other programs if possible (browsers, chat apps, etc). Look at your task manager to see what’s using up memory and kill as much as possible. Consider browsing from your phone instead, and using the PC browser just as needed.
    • emacs and vim have a very steep learning curve. I would suggest against that. If it’s still too frustrating to code like this, you can disable the language server (rust-analyzer), but it’s going to make coding harder. You’ll loose edit suggestions and error highlighting. It’s still possible to code without rust-analyzer but you’ll need to run cargo check very often and read up method names on docs.rs a lot more.


  • IMHO the power of gentoo is the customization, not the optimizations you can do when compiling. You can change the dependencies and config of software to get exactly what you want instead of a config somebody else has chosen for you.

    I used Sabayon back in the days for a few years and you are expected to accept the defaults for most packages and use it as a mostly binary distro, but you also have the option to use emerge(gentoo’s package manager) to customize only some packages via USE flags. It was working quite well as far as I remember.


  • It might be nice to use in some very specific cases (e.g. addition-operation is a binary-operation AST node which is an AST node).

    In most of the cases it just creates noise though, and you can usually do something different anyway to implement the same feature. For example in rust, just use enums and list all the possible cases and it’s even nicer to use than inheritance.




  • I like zram! It has pretty low overhead and usually compresses data quite well (~2/3x). I have it set to the size of my total ram and I can’t notice when it starts to kick in.

    Some small amount of swap is also nice to have, but it gets rarely used for me, because zram gets used first.

    One trick that might be useful is that you can create a normal swap file and enable swap to it in cases where you want more. For example recently I needed to load 64GB of data on a 32GB laptop, so I created a 64GB swap file on the filesystem and used swapon to enable it. (just disable it before hybernation if you use it!)

    It just takes a bit longer to run, but if you don’t need all the data loaded at once it’s much faster than moving the code on a more powerful pc (or fixing it)…