[2023-03-17T07:57:41Z] Hi [2023-03-17T09:04:41Z] giu [2023-03-17T09:04:41Z] hi [2023-03-17T17:11:03Z] jfc i hate that IBM's site demands JS [2023-03-17T17:11:09Z] all I want is a hypertext version of the CUA spec [2023-03-17T17:16:38Z] you must suffer [2023-03-17T17:17:21Z] i'll suffer through a lack of documentation, not a lack of specification [2023-03-17T17:17:27Z] that's one step too far illiliti [2023-03-17T17:19:46Z] email ibm and ask them for text version [2023-03-17T17:19:54Z] considering it tbh\ [2023-03-17T17:20:26Z] might also see if i can get a hardcopy version [2023-03-17T17:20:57Z] i'm certain that 95% of the reason Athena programs feel clunky and gross is that they have no consistent UI [2023-03-17T17:21:34Z] the toolkit itself isn't particularly sophisticated, sure, but no less so than its contemporaries, and those programs are perfectly usable, so... [2023-03-17T17:21:35Z] * midfavila shrugs [2023-03-17T17:21:38Z] big brain deducation at work [2023-03-17T17:21:41Z] deduction [2023-03-17T17:21:43Z] fucking [2023-03-17T17:21:44Z] aa [2023-03-17T17:21:47Z] i'm going to shut up now [2023-03-17T17:23:14Z] https://inv.riverside.rocks/watch?v=6ywXBNpc-To&listen=1 [2023-03-17T17:23:53Z] been listening to this and "dedication" played while i was typing "deduction" and my brain brain'd [2023-03-17T18:07:21Z] oh also sewn after looking at the output of the command you posted the other day (asking about name substitution or whatever in rc, you used the syntax ${var##.*}.ext) you can just do the following to get the same results: for(i in *.png){convert $i $i.jpg} [2023-03-17T18:07:21Z] my original response was overly verbose because it was my (incorrect) understanding that the shell syntax you used was replacing the .png extension with a .jpg, which was incorrect [2023-03-17T18:08:01Z] cat.png.jpg [2023-03-17T18:08:05Z] ${i##.*}.ext also seems to be equivalent (at least on a surface level) to "${i}.ext" so i'm not really sure what's going on there [2023-03-17T18:08:23Z] uh, yeah, what's wrong with that. running your command in bash, dash and oksh all results in that same sort of output [2023-03-17T18:08:27Z] I suppose . is used as a delimiter but this shouldn't happen [2023-03-17T18:08:38Z] 'convert' is part of imagemagick right? it's probably what's removing the extra extension [2023-03-17T18:08:44Z] yeah prob [2023-03-17T18:08:57Z] if you wanted to remove it in shell itself you would need to use cut [2023-03-17T18:09:05Z] not really a solution but a workaround lol [2023-03-17T18:09:10Z] uh, no [2023-03-17T18:09:17Z] what you're using is a feature of *imagemagick* [2023-03-17T18:09:19Z] not your shell [2023-03-17T18:09:31Z] can't you use %%.* to get rid of the extension in shell expansion? [2023-03-17T18:09:32Z] so its a workaround to a missing feature in the shell. [2023-03-17T18:09:37Z] instead of ##.* [2023-03-17T18:09:42Z] it's not a missing feature, it's *literally* the purpose of cut [2023-03-17T18:09:48Z] to split text based on delimiters [2023-03-17T18:09:51Z] mid [2023-03-17T18:10:55Z] %%.* does seem to get the job done, shokara_, but idk, it feels wrong to have the shell do that [2023-03-17T18:11:03Z] same with using it for arithmetic [2023-03-17T18:11:07Z] \_(:/)_/ [2023-03-17T18:11:15Z] idk just personal preference speaking there [2023-03-17T18:11:16Z] agreed for arithmetic [2023-03-17T18:11:38Z] the shell is a command language, not a mathematics or text manipulation one, so trying to shove all those extra features in there is just... bleeegh [2023-03-17T18:11:48Z] mhm, but it works [2023-03-17T18:12:00Z] barely, and it's hard to read >.>; [2023-03-17T18:12:15Z] just because it isn't correct nor readable doesn't mean it's not right :D [2023-03-17T18:13:04Z] oh huh hold on [2023-03-17T18:14:28Z] nvm [2023-03-17T18:14:28Z] but I do remember seeing % and %% used for removing or substituting text in my shell's man page [2023-03-17T18:14:42Z] last occurence* [2023-03-17T18:14:50Z] yeah it's either POSIX or a de facto extension [2023-03-17T18:14:58Z] I think it's latter [2023-03-17T18:16:42Z] nah they're POSIX [2023-03-17T18:16:43Z] * midfavila shrugs [2023-03-17T18:20:13Z] basic arithmetic is expected for a script language [2023-03-17T18:20:28Z] bc, dc and hoc are all superior to sh [2023-03-17T18:20:32Z] when it comes to mathematics [2023-03-17T18:20:34Z] but you can also just pipep to a separate calculator [2023-03-17T18:20:36Z] I said basic [2023-03-17T18:20:37Z] i.e. bc [2023-03-17T18:20:47Z] iunno i disagree [2023-03-17T18:21:02Z] i think that shell has an overly verbose and complex syntax and it's also kind of redundant [2023-03-17T18:21:17Z] I agree with the syntax parts [2023-03-17T18:21:23Z] i mean, why implement string manipulation and arithmetic operators when POSIX already guarantees awk, sed, bc and dc? [2023-03-17T18:21:34Z] also turnary [2023-03-17T18:21:55Z] i don't know why you're so obsessed with ternary, but bc can do arbitrary bases [2023-03-17T18:22:28Z] arbitrary bases for logarithms? [2023-03-17T18:22:54Z] my bc can, at least, it seems [2023-03-17T18:23:09Z] log(x, b) returns log base b of x [2023-03-17T18:23:11Z] * midfavila shrugs [2023-03-17T18:23:30Z] what bc are you using? [2023-03-17T18:23:36Z] gavin howard's version [2023-03-17T18:23:46Z] are you importing a bc file that containes definitions for these math functions? [2023-03-17T18:24:31Z] looks like it is part of its library, yes. [2023-03-17T18:25:33Z] just asking since gnu bc doesn't seem to include it [2023-03-17T18:25:41Z] (not on kiss at the moment) [2023-03-17T18:25:50Z] fair [2023-03-17T19:52:12Z] * sewn uploaded an image: (400KiB) < https://libera.ems.host/_matrix/media/v3/download/envs.net/7415fef2040e18eecf465bd68bfd797c8ef18ace/1679079605268711.png > [2023-03-17T19:52:14Z] midfavila: [2023-03-17T20:16:50Z] CDE port for KISS 2nite bby [2023-03-17T20:57:37Z] managed to get it to build and start dtlogin, just couldn't get to the actual desktop [2023-03-17T20:57:43Z] standalone applications run just fine [2023-03-17T20:58:05Z] one thing that's kind of annoying is that there are race conditions in the build because of the reliance on yacc/lex [2023-03-17T21:32:38Z] https://www.jwz.org/blog/2022/11/psa-do-not-use-services-that-hate-the-internet/