[2023-03-05T03:55:21Z] Hi

[2023-03-05T04:08:47Z] <testuser[m]123> Hi

[2023-03-05T05:58:18Z] <Ellowee[m]> Sleep $((RANDOM%86400))

[2023-03-05T05:58:36Z] No

[2023-03-05T05:58:42Z] <Ellowee[m]> Yes

[2023-03-05T05:59:01Z] <Ellowee[m]> Yeeeeeees

[2023-03-05T05:59:01Z] Nooooooo

[2023-03-05T06:09:47Z] Segmentation fault

[2023-03-05T06:24:49Z] <Ellowee[m]> Core Dumped

[2023-03-05T06:25:11Z] <Ellowee[m]> * Core Dumped

[2023-03-05T06:25:32Z] <Ellowee[m]> No inanity niceguy

[2023-03-05T06:25:59Z] <niceguy5000[m]> wael:... (full message at https://libera.ems.host/_matrix/media/v3/download/libera.chat/56a6503745f5df47262bd76fe2d9e2ab3ba80c71)

[2023-03-05T06:26:22Z] this will always echo :(

[2023-03-05T06:26:29Z] <Ellowee[m]> shellcheck is gonna complain to that

[2023-03-05T06:26:48Z] its not even shell smh

[2023-03-05T16:26:18Z] guess who's back to being a neet?

[2023-03-05T16:36:51Z] bruh

[2023-03-05T16:37:19Z] after some update

[2023-03-05T16:37:20Z] smh

[2023-03-05T16:37:20Z] I have to recompile everything linked to gtk

[2023-03-05T16:37:49Z] anything now is just gonna seg fault

[2023-03-05T17:18:57Z] one compiling latet

[2023-03-05T17:19:26Z] I advise anyone here to not update gtk

[2023-03-05T17:19:39Z] xawchads can't stop winning

[2023-03-05T17:19:49Z] can't break your toolkit with an update if your toolkit is never updated

[2023-03-05T17:19:53Z] :D

[2023-03-05T17:20:03Z] i advise anyone here running gtk to not update gtk

[2023-03-05T17:20:12Z] * midfavila cackles

[2023-03-05T17:20:35Z] whats a cackle

[2023-03-05T17:39:07Z] https://github.com/madlambda/nash

[2023-03-05T17:39:11Z] nash looks really interesting

[2023-03-05T17:39:22Z] rc is dead and lacking features and nash seems to be a good rc like thing i guess?

[2023-03-05T17:39:34Z] >rc is dead

[2023-03-05T17:39:37Z] since when?

[2023-03-05T17:39:40Z] its written in go so some here may not like it almost immediately

[2023-03-05T17:40:22Z] uh last time i checked ig

[2023-03-05T17:40:42Z] sounds like updooter rhetoric ngl

[2023-03-05T17:40:52Z] what?

[2023-03-05T17:41:23Z] plan9port last updated 2007

[2023-03-05T17:42:19Z] oh, you meant p9port's rc

[2023-03-05T17:42:27Z] 9base last updated 20090731

[2023-03-05T17:42:38Z] midfavila: ye obv im not talking about the literal rc (9front) but talking about linux ports

[2023-03-05T17:42:57Z] i thought you meant https://github.com/rakitzis/rc

[2023-03-05T17:43:02Z] like i said, its also lacking basic features i would expect

[2023-03-05T17:43:03Z] im looking for a new shell that is featureful yet again

[2023-03-05T17:43:12Z] define "basic features"

[2023-03-05T17:43:30Z] integrated test

[2023-03-05T17:43:52Z] ...now I have to ask why that's important.

[2023-03-05T17:44:11Z] if you shell script you can immediately understand why

[2023-03-05T17:44:22Z] basically all that test(1) can do but inside the shell

[2023-03-05T17:44:30Z] i do, regularly, and there's no real difference for me.

[2023-03-05T17:44:36Z] im sure rc did this for 'simplicity's sake but this might fuck up some checks

[2023-03-05T17:44:43Z] anyway, rc's ~ operator is usually sufficient

[2023-03-05T17:45:26Z] id also love to see variable, process substitution, arithmetic expressions, and word splitting

[2023-03-05T17:45:57Z] i dont think substitutions like ${foo##bar} are available in rc afaik

[2023-03-05T17:45:57Z] rc has the first two, and the latter can be solved easily with existing tools

[2023-03-05T17:46:06Z] rc has process substitution?

[2023-03-05T17:46:22Z] as in "use the output of this command as one of the inputs to this command"? yes

[2023-03-05T17:46:26Z] <{} or something iirc

[2023-03-05T17:46:31Z] bro wtf

[2023-03-05T17:46:37Z] wow cool

[2023-03-05T17:48:13Z] but yeah as for the arithmetic operations, just use expr or bc or dc or w/e

[2023-03-05T17:48:20Z] though i think the '{} is weird

[2023-03-05T17:48:25Z] midfavila: what about turnary

[2023-03-05T17:48:50Z] pretty sure you can set what base you're using in bc but don't quote me on that

[2023-03-05T17:49:42Z] looks like global variable obase controls that

[2023-03-05T17:49:55Z] yeah ibase and obase

[2023-03-05T17:49:58Z] for input base and output base

[2023-03-05T17:50:52Z] also it's not '{} it's `{}

[2023-03-05T17:51:04Z] even worse

[2023-03-05T17:51:18Z] '{} would require a lookahead parser to differentiate between subshells and string literals

[2023-03-05T17:52:09Z] are there more up to date rc repositories you know?

[2023-03-05T17:52:33Z] the rakitzis one or w/e is the canonical unix port as far as i'm aware

[2023-03-05T17:53:01Z] hm

[2023-03-05T17:53:16Z] rc looks really really cool but i really dont want to unlearn posix sh lol

[2023-03-05T17:53:22Z] you don't have to?

[2023-03-05T17:53:25Z] i use both

[2023-03-05T17:53:43Z] for

[2023-03-05T17:53:44Z] what

[2023-03-05T17:53:54Z] generally? the same thing

[2023-03-05T17:54:04Z] which as your interactive shell or scripting language idk

[2023-03-05T17:54:25Z] i prefer rc for more complex scripts because of its lower cognitive load i.e no "how many times do I need to escape this to get what I want" situations

[2023-03-05T17:54:51Z] but shell is better for portable scripts or those that are relatively simple, or in the case of me not being familiar with the requisite rc constructs to do what i want

[2023-03-05T17:55:01Z] as for interactive use, i prefer rc

[2023-03-05T17:55:15Z] https://codeberg.org/sewn/home/src/branch/master/bin/xs

[2023-03-05T17:55:21Z] can something like this be translated to rc

[2023-03-05T17:55:56Z] also is something like getopts available

[2023-03-05T17:55:59Z] you might run into trouble creating a construct like case

[2023-03-05T17:56:05Z] i don't think rc has case

[2023-03-05T17:56:15Z] you can just use a chain of if-elses though /shrug

[2023-03-05T17:56:22Z] and getopts can be installed as a standalone program

[2023-03-05T17:56:25Z] there are a few implementations of it

[2023-03-05T17:56:35Z] bleh

[2023-03-05T17:56:46Z] midfavila: hey wdym it has switch & case

[2023-03-05T17:57:31Z] that's why i said "i don't think"

[2023-03-05T17:57:39Z] i don't really use switch statements much

[2023-03-05T17:57:43Z] so i never bothered to look

[2023-03-05T17:57:56Z] ok wait, you use rc as your interactive shell, what do you use for scripts?

[2023-03-05T17:58:04Z] both rc and shell depending on usecase

[2023-03-05T17:58:22Z] if i'm familiar enough with rc to accomplish the task at hand i'll use it, otherwise i'll use shell - or if i need it to be portable.

[2023-03-05T17:58:32Z] if you were to write a simple script you would choose rc?

[2023-03-05T17:58:48Z] yes, assuming i was going to be the only person to use it

[2023-03-05T17:59:22Z] do you write mini scripts right in your terminal easy or is it difficult? for example making a complex for or while loop just for one thing you want to do very quickly right in the shell

[2023-03-05T17:59:37Z] rc uses less memory than even something like dash and considering i run a lot of small scripts in the background of my sessions, that's an important consideration

[2023-03-05T17:59:38Z] and no, i find that case to be particularly easy in rc

[2023-03-05T17:59:40Z] rc is less verbose

[2023-03-05T18:00:16Z] what is this in rc (example usecase):

[2023-03-05T18:00:16Z] for i in .png; do convert $i ${i##.}.jpg; done

[2023-03-05T18:00:45Z] oops i meant uh

[2023-03-05T18:00:51Z] dunno, i'm not as familiar with shell as you seem to be :v

[2023-03-05T18:00:55Z] for i in .png; do convert $i ${i##.}.jpg; done

[2023-03-05T18:01:16Z] ${i##.*}.jpg is unfamiliar to me in particular

[2023-03-05T18:01:20Z] midfavila: ok how do you convert all pngs in the current directory to jpg

[2023-03-05T18:01:22Z] while keeping same file name but removing extension for jpg

[2023-03-05T18:02:35Z] @testuser: do you know literally any shell other than mksh oksh and yash

[2023-03-05T18:03:38Z] bruh rakitzis/rc uses configure

[2023-03-05T18:04:33Z] for(img in *.png){ffmpeg -i $img $img.jpg;mv $img.jpg `{echo $img.jpg|cut -f1 -d.}} would do it

[2023-03-05T18:04:48Z] not elegant, but then again i'm not particularly familiar with either rc or shell compared to some people here

[2023-03-05T18:04:50Z] * midfavila shrugs

[2023-03-05T18:04:56Z] i mean it looks realistic for rc

[2023-03-05T18:05:01Z] and if you don't like that implementation of rc, don't complain, just don't use it

[2023-03-05T18:05:09Z] i'm not here to be a salesman

[2023-03-05T18:05:25Z] but is there really no like easy way to change strings with stuff like ## %% and globs with // replacement and :- :+ := stuff

[2023-03-05T18:05:41Z] i've already told you that i don't know, because i'm not as familiar with posix shell as you seem to be

[2023-03-05T18:05:44Z] midfavila: is there another standalone rc implementation that is up to date

[2023-03-05T18:05:44Z] somewhat

[2023-03-05T18:05:54Z] blehhhhh

[2023-03-05T18:05:57Z] oh my god, i'm walking away-

[2023-03-05T18:06:22Z] nooo

[2023-03-05T18:06:23Z] "up to date" means nothing as long as the program is feature complete. even if there's only a maintenance release once every couple of years, that's fine

[2023-03-05T18:06:29Z] you don't need a commit every five goddamn seconds

[2023-03-05T18:06:34Z] i have things to do

[2023-03-05T18:06:47Z] okay okay damn

[2023-03-05T18:06:49Z] hmm, i guess there is 9base or plan9port

[2023-03-05T18:49:15Z] bro

[2023-03-05T18:49:21Z] need some help here

[2023-03-05T18:49:25Z] i get back to kiss

[2023-03-05T18:49:38Z] now my fucking alsa dont work and i dont know why

[2023-03-05T18:49:53Z] still the same config when i used kiss months ago

[2023-03-05T18:50:04Z] aplay -L

[2023-03-05T18:50:44Z] dont have any cards

[2023-03-05T18:50:49Z] thats the problem

[2023-03-05T18:51:11Z] no kernel audio driver?

[2023-03-05T18:51:12Z] fr

[2023-03-05T18:51:12Z] kernel config issue it seems

[2023-03-05T18:51:26Z] yeah but is the same config i used

[2023-03-05T18:51:35Z] no changes

[2023-03-05T18:51:54Z] look at dmesg and config again

[2023-03-05T18:52:18Z] maybe not part of audio group

[2023-03-05T18:53:55Z] maybe

[2023-03-05T18:54:33Z] check /dev/snd permissions

[2023-03-05T18:55:32Z] thats right

[2023-03-05T18:55:34Z] my fault

[2023-03-05T18:55:40Z] forget audio group

[2023-03-05T18:55:46Z] lol

[2023-03-05T18:55:48Z] anyway

[2023-03-05T18:56:26Z] pipewire works with the repo programs like mpv?

[2023-03-05T18:56:42Z] or all repo use only alsa?

[2023-03-05T18:56:45Z] natively or alsa

[2023-03-05T18:57:16Z] with pipewire-alsa this is pretty much out of the equation

[2023-03-05T18:57:41Z] i mean

[2023-03-05T18:57:49Z] if i build pipewire and build mpv

[2023-03-05T18:57:58Z] mpv will use pipewire natively?

[2023-03-05T18:58:07Z] or still use alsa?

[2023-03-05T18:58:26Z] <testuser[m]123> rohan: jusy use pipe wire - alsa configuration

[2023-03-05T18:58:37Z] mpv has pipewire support so yes

[2023-03-05T18:58:59Z] good

[2023-03-05T18:59:32Z] dont wanna to change my cards everytime i connect HDMI on tv

[2023-03-05T18:59:46Z] fair enough

[2023-03-05T19:35:55Z] > midfavila> guess who's back to being a neet? | wha????

[2023-03-05T19:36:15Z] yeah my boss fired me this morning :v

[2023-03-05T19:36:29Z] rc is cool

[2023-03-05T19:36:35Z] oh

[2023-03-05T19:36:38Z] oh...

[2023-03-05T19:36:39Z] :(

[2023-03-05T19:36:44Z] too much sleeping at work?

[2023-03-05T19:36:48Z] i told him that i have a surgery coming up and my availability this month will be spotty so he was just like "well, here's two weeks' severance, see you" since i'm still on probation

[2023-03-05T19:36:56Z] also not quite

[2023-03-05T19:37:14Z] i have difficulty dealing with other people and with really dynamic environments, so fast food is uh

[2023-03-05T19:37:15Z] oh dude, weak

[2023-03-05T19:37:17Z] really not my gig

[2023-03-05T19:37:26Z] you were in fast food?

[2023-03-05T19:37:29Z] yeah

[2023-03-05T19:37:40Z] for... about two months, which lines up with my previous fast food jobs

[2023-03-05T19:37:41Z] why don't you do some mechanic type of job

[2023-03-05T19:37:50Z] like a redneck job

[2023-03-05T19:37:53Z] of some kind

[2023-03-05T19:38:07Z] because i have basically no formal education or qualifications and the only places hiring here want either wageslaves or intermediate/senior positions

[2023-03-05T19:38:39Z] surely there is something you can do to build your cv

[2023-03-05T19:39:35Z] being talkative is probably essential

[2023-03-05T19:39:46Z] build your network or whatever they call it

[2023-03-05T19:40:29Z] i just need to study and develop some software that i can show off

[2023-03-05T19:40:45Z] and then i can probably nepotism my way into a junior development position with the help of a few people I know

[2023-03-05T19:40:54Z] can you do that as a neet?

[2023-03-05T19:41:02Z] why not?

[2023-03-05T19:41:11Z] i have literally thousands of hours of free time right now

[2023-03-05T19:41:20Z] well, you took up a job

[2023-03-05T19:41:25Z] I guess you need one

[2023-03-05T19:41:36Z] kinda-sorta-technically-but-not-really

[2023-03-05T19:41:42Z] I see

[2023-03-05T19:41:52Z] i needed the job to pay for a bed and some other stuff but

[2023-03-05T19:42:09Z] that's all done now, and my expenses are low enough for me to survive off of other sources of income right now

[2023-03-05T19:42:10Z] * midfavila shrugs

[2023-03-05T19:42:30Z] worst case i fall back on my plan of selling all my shit and moving out west

[2023-03-05T19:43:18Z] gg

[2023-03-05T19:49:13Z] honestly as stupid of an idea as it might be, i kind of like it

[2023-03-05T19:52:21Z] hello

[2023-03-05T19:58:29Z] midfavila, sometimes those are the coolest

[2023-03-05T19:58:36Z] anyways shutting down the pc while i brb since theres power surges

[2023-03-05T20:07:33Z] >glenda

[2023-03-05T20:08:23Z] a fellow plan 9 aficionado hmm?

[2023-03-05T20:12:45Z] aw

[2023-03-05T20:21:50Z] gotta love netsplits

[2023-03-05T22:42:45Z] <sad_plan> hi

[2023-03-05T22:50:24Z] <sad_plan> midfavila sewn rc has case, and switch :p

[2023-03-05T22:54:45Z] <sad_plan> sewn if you wanna look at how the syntax is written, in posix vs rc, as an example, Ive converted some of my scripts here: github.com/hovercats/bin. they all work for their intended purposes atleast, but theyre probably open for improvements :p

[2023-03-05T22:55:14Z] <sad_plan> ive mostly only read the manpage, and some other doc from cat-v

Proxy Information
Original URL
gemini://gemini.ctrl-c.club/~phoebos/logs/kisslinux-2023-03-05.txt
Status Code
Success (20)
Meta
text/plain; charset=utf-8
Capsule Response Time
540.005953 milliseconds
Gemini-to-HTML Time
4.587628 milliseconds

This content has been proxied by September (3851b).