Posts by kristof@pleroma.marussy.com
(DIR) Post #ADEmCIbq2sEyYnNmfw by kristof@pleroma.marussy.com
2021-11-09T20:52:29.203466Z
0 likes, 0 repeats
@robby isn’t that a lot? the (elixir) process is consuming 110M (out of 4G) for me atm. that said, postgres`takes a lot more for all the connections pleroma has opened…
(DIR) Post #ADV3dnaJ5gaSRx1rn6 by kristof@pleroma.marussy.com
2021-11-17T18:14:10.488285Z
0 likes, 4 repeats
@striker @TransGal4872 […] you would set the front panel switches to a number and run dsw, which would then read that number of entries from the current directory, print on the terminal the name of the last one it had read, and crash itself, leaving a core dump. You could then, if you wanted, remove the file it had named by reexecuting the core file.This is legitimately terrifying. :blobfoxsipterrified:
(DIR) Post #AF2LdbmZ0V7VaUXYBs by kristof@pleroma.marussy.com
2022-01-02T11:42:54.841108Z
0 likes, 0 repeats
what is a good #matrix homeserver to set up a room for an FOSS project?I guess I could use my own, but 1. having my name as the homeserver domain name would be weird 2. it would give me undue control over the room as a server admin, and (most importantly) 3. I am way less confident of a server admin to guarantee any kind of availability at all(it very well might be the case that the most practical answer, at least for projects on gitlab or github, is gitter atm)
(DIR) Post #AG8koGUW6lgxMCfE5Q by kristof@pleroma.marussy.com
2022-02-04T17:26:06.682609Z
0 likes, 0 repeats
@catgirl @lanodan @dhfir @catgirl This could basically be achieved by a browser that forces the app frontend to be loaded from cache unless there is an explicit opt-in to update the web app. The cached assets could be hashed so that people can check whether they are running a known good version of the app with a hash published by the community. One way to implement this is, ironically, by repurposing electron into a browser with some custom network handling code (I doubt that normal webextension APIs are powerful enough), with a browser “tab” for each web app installed in such way.On the other hand, the backend could just decide to break compatibility with old versions of the frontend, thereby forcing and update. So it would require some cooperation (or at least the lack of outright hostility) from the app developers after all, unfortunately.
(DIR) Post #AG8nc8bftehlI6v9sm by kristof@pleroma.marussy.com
2022-02-04T17:57:58.653776Z
0 likes, 0 repeats
@catgirl @lanodan @dhfir @catgirl Agreed, just grabbing (proprietary) assets from the server is sub-optimal. But web app packaged by distros / ports would likely require the web apps to be free software. This is ideal, e.g., I use element-web as a matrix client is such way (from the element-web arch package), because I can’t be bothered to install the electron version. But something for proprietary apps could still be useful for harm reduction (e.g., when people are forced by their employer or school to use a webapp).Also consider something more like https://github.com/sonnyp/Tangram (WebKitGTK-based)Thanks! This looks really cool, and WebKitGTK is of course a much more elegant solution than essentially embedding chromium.Distros aren’t compiling it but just grabbing the binaries.I wouldn’t say that electron is practically proprietary because people grab precompiled binaries. It’s practically proprietary because only a select few (mostly with corporate backing) can maintain it due to the enormous sprawling complexity. Compiling chromium is mostly trivial (it’s a matter of having a bunch of cpu cores or the equivalent amount of patience), changing it usefully, on the other hand…
(DIR) Post #AHkJwhHyhUnuDNYyJs by kristof@pleroma.marussy.com
2022-03-24T18:27:55.125497Z
1 likes, 1 repeats
@lanodan @avery I guess there is https://github.com/mdn/content for that.yarn followed by yarn start seems to start a local copy of MDN with all the content (after running a boatload of javascript, of course).Granted, now they do have the perverse incentive to make access to downloads without subscribing painful.
(DIR) Post #AJoNQe0KySNu8unNoG by kristof@pleroma.marussy.com
2022-05-25T13:07:34.589641Z
3 likes, 0 repeats
@icedquinn @pony @xerz @lanodan the ‘fun’ thing is that most of his campaign was built on scaremongering that the opposition candidate would get involved in the war and conscript people, and now the moment he’s in charge again he changes the ‘solid as granite’ that his cronies wrote to declare a state of emergency due to… checks notes the war. :blobfoxfacepalm:at least they could have maintained some consistency to keep the story going, and drum up some other bs reason for the state of emergency
(DIR) Post #ALHogsJSVsvkCMfTGK by kristof@pleroma.marussy.com
2022-07-08T15:07:11.278283Z
1 likes, 1 repeats
a general purpose computer where you can’t replace microsoft’s root of trust keys with yours isn’t general purpose
(DIR) Post #AM1Moa7k3N0yz7pNh2 by kristof@pleroma.marussy.com
2022-07-30T15:14:14.357268Z
1 likes, 0 repeats
@TinfoilSubmarine @realcaseyrollins how was the pleroma -> akkoma switch? i’m looking at git log pleroma/develop..akkoma/develop, but can’t find a straightforward point of divergence. did you manage to upgrade without deleting the database?
(DIR) Post #AVKnT93RddyuFeMLeC by kristof@pleroma.marussy.com
2023-05-05T00:08:25.285812Z
0 likes, 0 repeats
maybe if I couldn’t get a nice laptop with an ANSI keyboard, I should get one with an ISO layout but with blank keycaps instead and remap \ <-> enter :blobfoxthinkanime: Cons:weirdly shaped \ keyPros:enter key close to the home positionextra big \ for LaTeXglances mildly disapprovingly at @tuxedocomputers for not including an ANSI option yet again in an otherwise perfect laptop
(DIR) Post #AWmfCSJ6XqwQCTFuS0 by kristof@pleroma.marussy.com
2023-06-15T13:15:36.392310Z
0 likes, 0 repeats
@tuxedocomputers @tylerwolf is this still on the radar?Is there any chance of an IBP 14 gen8 with an ANSI keyboard, or is this the final nudge for me to get into Colemak Mod-DH? :blobfoxcomputerowo:
(DIR) Post #AXkEqfLZZbxbOAer4K by kristof@pleroma.marussy.com
2023-07-15T21:44:05.083971Z
0 likes, 0 repeats
apparently, my EFI UKI building script hodge-podged together with objcopy stopped working, so i moved to building UKI with mkinitcpioso far so good :blobfoxcomfycomputer:
(DIR) Post #AXkaCT3057E8ePCx7o by kristof@pleroma.marussy.com
2023-07-16T10:25:19.154606Z
1 likes, 0 repeats
@reto it probably works – but i set up UKI and signing before systemd 253 (so no ukify) and never bothered to migratewhen my script finally broke, i was trying to fix my system that didn’t boot and just went with the first option for building a UKI from the arch wiki opened on my phone
(DIR) Post #AhqOM7kI5scTeQtiD2 by kristof@pleroma.marussy.com
2024-01-26T14:38:18.962189Z
0 likes, 0 repeats
@dalias i'll be something evil with sequence points, won't it? :blobfoxshocked:
(DIR) Post #Ahw8imxr5ierXdmsL2 by kristof@pleroma.marussy.com
2024-04-01T22:00:39.550436Z
0 likes, 0 repeats
Thinking about binding a key combination to restart services that tend to misbehave. First up, logid.service, which configures my mouse, but sometimes fails to do so (due to udev shenanigans I'm not patient enough to debug, probably)I can tell polkit that I don't need a password to restart this service:// https://stackoverflow.com/a/63729664polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.systemd1.manage-units" && action.lookup("unit") == "logid.service" && subject.isInGroup("wheel")) { return polkit.Result.YES; }});(NOPASSWD sudo would be equally effective, and I am not sure which is creepier between that and this javascript mess)Now I can bind a #sway key combo like this:bindsym $mod+Shift+s exec systemctl restart logid.serviceHa! if my mouse forgets how to scroll, I just have to punch Super+Shift+s :ablobfoxbongo:
(DIR) Post #AhwCtKPjyq7Bzr6yga by kristof@pleroma.marussy.com
2023-08-30T14:14:48.778432Z
0 likes, 0 repeats
so i just issued the command rm -rf ~ instead of rm -rf '~' :blobfoxfacepalm: good thing i have btrfs snapshots
(DIR) Post #AhwCtNLF61Id4m1vai by kristof@pleroma.marussy.com
2023-08-30T14:20:36.695422Z
0 likes, 0 repeats
@robby i accidentally rsynced something to my server into the directory named '~' instead of into my home directory, and i tried to get rid of it(a very poor man’s deployment solution when i work on the app at https://refinery.services – rsync the jar into my home directory, then sudo mv into /var/lib where it should live and restart the corresponding systemd service. the funny thing is that this project is sponsored by amazon science, but we have our AWS guy on vacation, and debugging research software on my own VPS is much easier)
(DIR) Post #Ai3MbCzfBreZPxdFya by kristof@pleroma.marussy.com
2024-04-07T19:32:59.146139Z
0 likes, 0 repeats
spent hours debugging a cryptic error thrown by yarn about not declaring the dependencies of my package properly. naturally, it referenced a package that doesn't exist at allturns out i had "type": "module" in my package.json, because i copied it from another package, but the thing i was trying to build only supports commonjs :blobfoxangrylaugh:
(DIR) Post #Ams8qkDKG768RQFVeC by kristof@pleroma.marussy.com
2024-10-10T18:54:18.330187Z
1 likes, 0 repeats
@lanodan @mario at our uni, erlang is the functional programming language to teach to students :blobfoxscience: it comes after half a semester of logic programming in prolog, so it's kind of an obvious choice, at least syntactically speaking
(DIR) Post #AmsJuLGw25ttjvr6Dw by kristof@pleroma.marussy.com
2024-10-10T19:25:05.439456Z
0 likes, 0 repeats
@lanodan @mario yeah, we didn't really get to the semantics besides immutability and recursion -- definitely no OTP, unfortunately. the whole course is about various kinds of declarative programming, hence logic and functional programmingthe more messed up way would be to do functional programming inside prolog, à la https://aphyr.com/posts/354-unifying-the-technical-interview(fun fact: the professor who created the declarative programming course is/was a college of the "demigoddess" (Hajnal) Andréka, prover of Turing-completeness of logic programming, invoked by Aisha in Aphyr's short story, as well as a contributor to an early commercial prolog implementation, and his son contributed the debugger to the CLP(FD) logic solver embedded into prolog)prolog gets even more fun logic if you combine if with residual predicates to do scary logic reasoning at a distance or even straight up with a SAT solver