Posts by mid_kid@fosstodon.org
 (DIR) Post #B46uTmcU23wrAvSaRs by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       Once again tricked by a #ReverseEngineering project to reimplement an industry standard #encryption function I didn't recognize until I showed it to someone 🙃 https://gist.github.com/mid-kid/aabbde16d32f7b604dc29616b13b3ac3
       
 (DIR) Post #B4sf9ujxxR2IqQ6WP2 by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       If I had to summarize #amsterdam in a single picture
       
 (DIR) Post #B51Uycd1hs7qMoTTZQ by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       easter weekend more like "getting asked for help with proprietary shitware on relative's phones" weekend.Using technology relatively sanely has become a full time job, I can't recommend the alternatives I use either.
       
 (DIR) Post #B53GdafwlJmBBdpyzI by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       RE: https://social.treehouse.systems/@thesamesam/116329301584077283Woah, this was not on my bingo card. Really a testament to the versatility of #gentoo . Awesome work!RT: https://social.treehouse.systems/users/thesamesam/statuses/116329301584077283
       
 (DIR) Post #B5HSx2A4iHtXb8PFzc by mid_kid@fosstodon.org
       0 likes, 0 repeats
       
       @bagder If these bugs are so easily found by AI, it makes me worry that they're significantly more likely to already be exploited in the wild.
       
 (DIR) Post #B5HSx2wdnik81l82gy by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       @bagder Of course zero days are exploited in the wild! It's just not very common that they are apparently so well known that they get discovered independently 4 separate times while the public is waiting for a disclosure 🥲I fear that AI will make this more commonplace, at least in the current short term.
       
 (DIR) Post #B5QTvb2DvsiHYNFfYe by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       rm -rf ~/{,.car}go
       
 (DIR) Post #B5UuHBduOa9qc1fqds by mid_kid@fosstodon.org
       0 likes, 0 repeats
       
       @Rairii Sometimes I wish mastodon toots had an expandable section explaining the thought process behind a post :P
       
 (DIR) Post #B5YMpF4LXienH9wm9o by mid_kid@fosstodon.org
       0 likes, 0 repeats
       
       Most #gnu #linux package managers have the necessary metadata to "restore" or "reset" a system to a (previous) known working state without immutable or btrfs snapshots:- A list of desired packages, from which a full list of packages can be constructed using dependency information- A listing of every file that should exist in PM-managed locations like /usr and /etc- A hash of each of these files, allowing to check integrity and detect /etc modificationsOld design decisions prevent this.
       
 (DIR) Post #B5YMpFIWh001z8a6G8 by mid_kid@fosstodon.org
       0 likes, 1 repeats
       
       A few design decisions make this difficult.The biggest is post-installation actions. /usr often contains files that are dynamically generated after install. These are often caches that need to be regenerated when packages are installed/removed. Alongside this, some packages perform one-time initialization - moving some file here, enabling some service there. Many package managers conflate the two kinds of actions, making it difficult to know how to re-generate the files without reinstalling.
       
 (DIR) Post #B5YMpFe9ObIT4ChMxs by mid_kid@fosstodon.org
       0 likes, 1 repeats
       
       Some package managers, especially those geared towards "expert" linux distributions, keep the post-install initialization actions to a minimum, leaving it to the sysadmin, or moving it to a separate tool/script.Other package managers correctly distinguish the two kinds of actions, by providing a "trigger" mechanism, that fires a repeatable script whenever a package modifies specific directories. This can be seen in at least dpkg, pacman and alpine's apk.
       
 (DIR) Post #B5Z8LchBvn19fG3hqq by mid_kid@fosstodon.org
       1 likes, 1 repeats
       
       Just saw an IRC client implementing tiling chats exactly like a tiling WM would and I want to scream on the top of my lungs.Worst part is I can't just tell people to not reimplement the features BeOS shipped in its window manager over 20 years ago in every single application, all with different shortcuts and behaviours, because they'll go "well if you don't like it don't use it :)" while making it hard to open multiple windows of the app or split out the chats list into its own window.
       
 (DIR) Post #B5agpK79AiGyK3Ucm8 by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       Fuck it, fluttershy in a sweater
       
 (DIR) Post #B5cIBrEMcKpmrdR8tM by mid_kid@fosstodon.org
       0 likes, 0 repeats
       
       Wrote a silly script to showcase how to use unshare + chroot/pivot_root in order to manually enter a #linux #chroot / #container without needing #root privileges:https://gist.github.com/mid-kid/9293f4f0617052b9c3aa45422fb89f90I rarely see anyone mention how this can be done without needing to reach for #bubblewrap or systemd-nspawn, and I think it's important to see how you can leverage the primitives that drive container technology.The script can be simplified, but not without sacrificing correctness. I hope the comments help.
       
 (DIR) Post #B5jF1uO55PAo0EGXNA by mid_kid@fosstodon.org
       0 likes, 0 repeats
       
       @navi Honestly, I typically write my docs in the header file. It's perfect for the purpose.
       
 (DIR) Post #B6bRSVv1rIRjv3xwCu by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       As someone who's never purchased a streaming subscription, seeing influencers and publications wake up to "maybe streaming is bad actually" and act like it's a trendy lifestyle by driving up the price of iPods and PSPs, is wild.#streaming #enshittification
       
 (DIR) Post #B6gZnUs9C511XegUue by mid_kid@fosstodon.org
       1 likes, 0 repeats
       
       Sticking "caution! high voltage" stickers on my PCBs like it's a badge of honor