Posts by mid_kid@fosstodon.org
(DIR) Post #AwbzMVuMIonHUnh116 by mid_kid@fosstodon.org
2025-07-28T20:42:23Z
0 likes, 0 repeats
The :Sex command in #vim is actually rather useful.
(DIR) Post #AwimCsHSFSoVKqNnQe by mid_kid@fosstodon.org
2025-08-01T09:10:55Z
0 likes, 0 repeats
Cursed shell snippet to print a string N amount of times:```N=10test $N -eq 0 || seq $N | xargs printf 'apple'%.0s```completely posix compliant :)#shell #gnu #linux
(DIR) Post #AwinNifMR1GSekIefY by mid_kid@fosstodon.org
2025-08-01T09:24:50Z
1 likes, 0 repeats
@lanodan aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaIt's really hard to keep track of what is and isn't posix, this has bitten me a bunch of times...(thanks for letting me know, lol)
(DIR) Post #Awv8ygTrx6eRWkuYu8 by mid_kid@fosstodon.org
2025-08-07T07:55:00Z
0 likes, 0 repeats
@bagder I have heard so little about HTTP2 and 3 that I thought they were still mostly experimental. I know curl supports them, but I have no idea if I'll have to update my dozens of python urllib scripts at some point.HTTP/1.1 has been the default for so long I barely ever considered anything else was necessary outside of specialized applications.
(DIR) Post #AySf7aqc3ykLRct6ky by mid_kid@fosstodon.org
2025-09-22T10:13:45Z
1 likes, 0 repeats
Someone recently tried to convince me that allowing native (i.e. outside of the ART) code execution on #android is the reason why #sideloading is so dangerous.They meant that only native libraries can escape the java sandbox and attack buffer overflows and such in system calls and other parts of the runtime.This perspective has thrown me for a spin.#security #linux
(DIR) Post #AySf7gS1EKdep5QYFs by mid_kid@fosstodon.org
2025-09-22T10:18:13Z
0 likes, 0 repeats
Because on a surface level I don't agree: All of the android API is reachable from the java code. In fact, native/JNI code has a *smaller* reachable API surface, without passing through java code to reach the appropriate APIs. All native code involved in an android app is contained within the same process - PWNing that doesn't get you a sandbox escape. One notable exception, however, is the linux kernel system calls.
(DIR) Post #AyT8LinoBK5yqBfIki by mid_kid@fosstodon.org
2025-09-22T14:23:47Z
1 likes, 0 repeats
We have an always-on web server in our pockets. Why can't we use it as such?
(DIR) Post #B0bYvUjLCRdAawOnmy by mid_kid@fosstodon.org
2025-11-25T13:08:07Z
1 likes, 0 repeats
I'm a bit saddened by how the #javascript #nodejs ecosystem is just like #java and #csharp, in that their package managers only ship the compiled form of the software, with no common way to build things from source without depending on more binary modules.I've been trying to package "copyparty", and finding out how it has a precompiled "hash-wasm" module, and rebuilding it depends on typescript, rollup, and their hundreds of dependencies which may or may not contain more wasm, who knows?
(DIR) Post #B0fbOLjWhr9fd6DEC8 by mid_kid@fosstodon.org
2025-11-27T11:38:06Z
0 likes, 0 repeats
TIL you can drag a URL from the #firefox address bar into #KDE 's dolphin file manager, and select "link here". It will create a .desktop file that's a URL link, converting any "/" into the "⁄" character in the filename.I wonder if this works with other file managers/browsers.#gnu #linux
(DIR) Post #B0nrCtkbYdMgBlxQxM by mid_kid@fosstodon.org
2025-12-01T11:28:04Z
1 likes, 0 repeats
@mgorny Crazy how fast things move in gentoo land when compilation times are involved 😅.Awesome progress to see, probably one of the better QOL features of recent times.
(DIR) Post #B1akAw0pGaMc9tS8Wm by mid_kid@fosstodon.org
2025-12-25T01:18:03Z
2 likes, 0 repeats
Anxious of the possibility I might not be able to access some of my data while abroad, I hooked all my old drives up to my home server. One day I'll have a proper NAS, but that day is not today. #39c3
(DIR) Post #B1he54nCTAqA2AcdqS by mid_kid@fosstodon.org
2025-12-27T20:28:05Z
1 likes, 1 repeats
@fristi noticed :D #39c3(Reposted to add the tag, sorry)
(DIR) Post #B23WjNCzZXCvdApCMK by mid_kid@fosstodon.org
2026-01-07T22:47:22Z
1 likes, 0 repeats
@movim @fosdem This image makes me wish #fosdem had a furry mascot of its own.
(DIR) Post #B24EKsp9HlokQanxPE by mid_kid@fosstodon.org
2026-01-06T16:37:33Z
0 likes, 0 repeats
In case anyone still believes #gentoo makes your computer run faster, I just spent a while noticing that my personal #firefox build functions way slower than the upstream builds, running benchmarks in a blank profile, recompiling with USE=pgo (w/ clang/rust LTO), and while it now gets closer, my own build is still consistently slower.I disabled USE=pgo on firefox in 2021 because it made the build time go x2 (4 hours, which isn't as terrible nowadays considering GCC/LLVM/Clang/qtwebengine).
(DIR) Post #B24EKtvDCiGHpgeJUm by mid_kid@fosstodon.org
2026-01-06T16:42:38Z
1 likes, 0 repeats
Of course saying something like this will get me people wondering "ok but what's the point of #gentoo then".The package manager and ebuild ecosystem is extremely flexible, extensible and hackable. Although I tend to show a bit of a love/hate relationship with them, I've yet to use a different distribution that is this simple to maintain while modifying from the inside out (USE flags and CFLAGS *really* barely scratch the surface). To me, it really embodies the open source hacker spirit.
(DIR) Post #B24EU3IXiEpFWEvS52 by mid_kid@fosstodon.org
2026-01-07T23:07:13Z
1 likes, 0 repeats
@xgqt Void's xbps-src and Debian's build tools have the concept of a "build system", which defines the default build steps, each of which are overridable. Guix allows you to derive an entire package and modify phases or insert new ones after/before existing ones.The core concept of ebuilds works great, but I think it could use at least a variable redesign, as I wouldn't be able to tell you the difference between $ROOT, $BROOT and $EROOT off the top of my head.I also have a wishlist for it :P
(DIR) Post #B26OdiHC75gx4hSatE by mid_kid@fosstodon.org
2026-01-09T08:00:51Z
1 likes, 0 repeats
Few things quite as trans-coded as the output of ffmpeg.
(DIR) Post #B2LVo98ci7RMKalvv6 by mid_kid@fosstodon.org
2026-01-16T14:52:08Z
1 likes, 0 repeats
In this household we need no "battery holders".#electronics #Stonehenge #39c3
(DIR) Post #B2whqNokvjRNn2vSbY by mid_kid@fosstodon.org
2026-02-03T13:31:25Z
1 likes, 0 repeats
Killing the network or ssh service on a machine I was using remotely is up there in the most annoying #linux blunders alongside that one time I accidentally uninstalled glibc on #slackware (trying to upgrade glib2)
(DIR) Post #B30fPVGngxbXoAwDtg by mid_kid@fosstodon.org
2026-02-05T11:33:02Z
1 likes, 0 repeats
With the first few I thought, "huh, someone is trying to see if they can get me to accidentally activate the account". Then this happened. I've very clearly been #hacked ... I've reset the password and closed all sessions, but now I'm wondering how they got hold of one of my session tokens or app passwords for this to have happened without a "sign in attempt from X" email.