• 0 Posts
  • 77 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle
  • I think the author of the article just haven’t understood how to use the ? operator yet, and don’t think they deserve being called “utterly incompetent” for it. Whether something is a monad or not is not necessarily something a programmer should have to think about on a daily basis IMO.

    I just think of rust errors as a tagged enum with either a value or an error. And the ? operator as syntax sugar for returning if something was an error. IMO that simple understanding is sufficient to do error handling in Rust. I don’t think we should gatekeep programming behind some intellectual barrier of whether or not you understand category theory. I certainly don’t understand what a monad is, but I can still write working software and do error handling without unwraps.




  • Yeah the thought is that as long as my patch applies without error, I would get the latest kernel automatically built and can just update my laptop normally with pacman. And since I have a server anyways I might as well use it to compile the kernel at night. I’m also thinking of doing the same with some aur packages as well.


  • I use a custom kernel on my laptop. I just modified the PKGBUILD of the official arch kernel package, and added my patch as a file. Then I could build a proper package with makepkg. I’m planning on setting up my server to automatically build the patched kernel and serve it in a private arch repository, so I don’t have to compile the kernel on my laptop regularly. I’m waiting on forgejo (git forge I host on my server) version 9 to be released first, as it should support arch package hosting by then.




  • I wished tiling windows would work like snapping of floating windows, but more powerful. For example instead of snapping only to the edge of the screen, I would for example hold alt while dragging a window and would get a preview of where the window would snap to depending on where I’m hovering. And that it would resize the other windows accordingly.

    Having to remember or customize a billion keyboard shortcuts for switching between windows and rearranging the grid, makes tiling window managers DOA for me. I don’t have the time/energy to set it up or practice the shortcuts.


  • I tried it briefly. I like the idea of an alternative to VS code, that’s not some inefficient javascript electron app. But the focus of zed seems to be on collaboration in cloud and also pushing LLM tools. That’s not what I’m looking for. I disliked that it was impossible to hide the “log in to github” button (I don’t want to log into an editor). Irked me the wrong way.







  • Not 100% sure if it is the same issue as you linked to, but I have an early Ryzen 7 1700 that has a hardware error (google “ryzen performance marginality” to find info about it) causing it not to work properly with linux. I never bothered to RMA my CPU. I’ve made it kinda work anyways, by disabling cool and quiet or whatever it is called, and set a fixed overclock to compensate for the lack of turbo after that. The idea is that the CPU should always run at a fixed clock speed instead of clocking down to save power when idle. Haven’t had any issues with this CPU for a while now after I did that.

    BTW I upgraded my desktop with a 3900x and put the 1700 in a server. Never had any issues with the 3900x on linux, so getting a newer generation ryzen for you PC second hand or something might just fix it as well.