💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-11-25.txt captured on 2024-05-12 at 16:01:25.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

[2022-11-25T04:33:31Z] <testuser[m]> Hi
[2022-11-25T05:01:46Z] <kqz> hey
[2022-11-25T05:01:46Z] <wael[m]> HI
[2022-11-25T05:01:47Z] <wael[m]> hi
[2022-11-25T05:01:48Z] <wael[m]> Hi
[2022-11-25T05:28:39Z] <testuser[m]> Hi
[2022-11-25T06:42:57Z] <wael[m]> anyone here has a fzy menu script?
[2022-11-25T10:08:50Z] <virutalmachineus> I just downloaded my first ever electron app. I got to say, it feels good to use. Is this a gateway addiction.
[2022-11-25T10:09:33Z] <virutalmachineus> * a gateway to addiction.
[2022-11-25T10:18:40Z] <illiliti> of course evil feels good to use.
[2022-11-25T10:50:14Z] <trunc88> lol
[2022-11-25T10:50:52Z] <trunc88> dang i totally forgot about kwort linux, i never even tried it. what is my problem
[2022-11-25T10:54:46Z] <trunc88> oh it comes with openbox thats why
[2022-11-25T11:05:42Z] <trunc88> hm i guess obarun it is then maybe. looking for something to replace this void installation but dont want to use kiss because its a core 2 duo lol
[2022-11-25T11:21:39Z] <aelspire> trunc88: I've checked how KISS works on one old laptop with i3 before installing it on my main one, I've lost motivation to check it carefully after compiling rust, so I can feel your pain
[2022-11-25T11:23:27Z] <aelspire> source based distro works poorly with old specs, but with relatively powerful HW  recompilation or update is quick
[2022-11-25T11:23:45Z] <illiliti> blame rust, not kiss
[2022-11-25T11:23:52Z] <aelspire> how people lived with gentoo 10+ years ago?
[2022-11-25T11:24:08Z] <aelspire> yeah, rust is to blame
[2022-11-25T11:24:33Z] <aelspire> but this wil be probably requirement for linux kernel in future
[2022-11-25T11:25:59Z] <aelspire> but llvm + clang is problematic too, and llvm is requirement for mesa
[2022-11-25T11:26:37Z] <illiliti> not for me
[2022-11-25T11:26:52Z] <aelspire> so I've thought about dropping gcc from my installation, not because I don't like gcc, but to have one less toolchain to compile
[2022-11-25T11:27:15Z] <illiliti> you can drop llvm dependency if you don't have amd gpu
[2022-11-25T11:27:42Z] <aelspire> but clangd as LSP for programming will still prevail
[2022-11-25T11:28:26Z] <illiliti> lsp is a distraction
[2022-11-25T11:28:30Z] <illiliti> i realized that i don't need one
[2022-11-25T11:28:32Z] <aelspire> I've heard about LSP for gcc but haven't checked it, maybe I should
[2022-11-25T11:28:52Z] <trunc88> yeah i use gkiss on my main computer, its very nice
[2022-11-25T11:30:43Z] <aelspire> illiliti: I'm still on my way to debloat my PC and workflow but living without LSP and autocompletion is still too much for me
[2022-11-25T11:36:37Z] <aelspire> Anyone have opinion on zig vs rust? I really like zig design, but rust's ecosystem is already thriving so I'm really torn between rust and zig as my main programming language.
[2022-11-25T11:38:04Z] <phoebos> i recently discovered gcc -fanalyzer, quite immature but somewhat useful
[2022-11-25T11:40:40Z] <illiliti> if I were choosing between zig and rust, I would choose zig. 
[2022-11-25T11:40:51Z] <aelspire> phoebos: looks cool, I usually enable "-Wall -Wdouble-promotion -Wextra -Wshadow -Werror" but it would be cool to throw "-fanalyzer" too for static analysis
[2022-11-25T11:41:03Z] <aelspire> I would too but that rust ecosystem…
[2022-11-25T11:41:48Z] <illiliti> you mean cargo crap and these micro dependencies?
[2022-11-25T11:41:49Z] <aelspire> on zig you are on your own, not much ready libraries, and std is still big unknown
[2022-11-25T11:42:03Z] <aelspire> yeah
[2022-11-25T11:42:14Z] <illiliti> dude
[2022-11-25T11:42:19Z] <aelspire> but shitton of dependencies is more culture problem than cargo
[2022-11-25T11:42:28Z] <aelspire> but I see the point
[2022-11-25T11:43:37Z] <aelspire> give "modern" programmers package manager like cargo on C and this culture will flow here too
[2022-11-25T11:44:10Z] <aelspire> and there will be special library with is_odd function too
[2022-11-25T11:44:17Z] <illiliti> you don't need libraries
[2022-11-25T11:44:24Z] <illiliti> especially many of them
[2022-11-25T11:44:59Z] <aelspire> I agree but sometimes You will need something, sqlite for eg.
[2022-11-25T11:46:10Z] <illiliti> you don't need 10 libraries for that. just 1, maybe 2
[2022-11-25T11:46:21Z] <aelspire> generally current ecosystem is extremly bloated, so I'm fleeing more in KISS linux and suckless
[2022-11-25T11:48:01Z] <aelspire> but I'm still pragmatists - computers and programs should solve problems and help humans, not create more problems
[2022-11-25T11:48:41Z] <illiliti> then why you don't use windows?
[2022-11-25T11:50:25Z] <aelspire> forcing You to buy new PC every year because now calculator requires 4GB of RAM doesn't have anything in common with helping user
[2022-11-25T11:50:40Z] <aelspire> and I'm open-source lover
[2022-11-25T11:51:22Z] <aelspire> And also I too belive that technology need permacomputing and degrowth
[2022-11-25T11:51:36Z] <aelspire> but my pragmatic nature is still there
[2022-11-25T11:52:23Z] <aelspire> if computer only creates You problems, why You need one? Sell it to somebody in need and your life will be easier
[2022-11-25T11:52:43Z] <illiliti> i find it odd that with such nature you're interested in suckless, kiss and stuff
[2022-11-25T11:53:09Z] <aelspire> so IMHO programs should solve problems in most efficient way (including developer time)
[2022-11-25T11:53:16Z] <aelspire> why?
[2022-11-25T11:56:13Z] <aelspire> I treat "whatever works, throw electron and tousands of node modules" to suckles as gradient, and place myself close to suckless but more to the middle than most of pure suckless guys.
[2022-11-25T11:57:38Z] <illiliti> you said that computers and programs should solve problems, right?
[2022-11-25T11:57:47Z] <aelspire> yeah
[2022-11-25T11:57:47Z] <illiliti> in my experience people who say that are either macos or windows users
[2022-11-25T11:58:04Z] <aelspire> well maybe I'm just werido
[2022-11-25T11:58:12Z] <illiliti> cuz they don't care how it should be solved
[2022-11-25T11:58:20Z] <illiliti> they just need it to be solved
[2022-11-25T11:58:20Z] <aelspire> but I care
[2022-11-25T11:58:27Z] <illiliti> ah okk
[2022-11-25T11:58:29Z] <aelspire> I care how
[2022-11-25T11:58:43Z] <aelspire> but still solving problem is the aim
[2022-11-25T11:58:51Z] <aelspire> goal*
[2022-11-25T12:58:35Z] <testuser[m]> https://sourceware.org/pipermail/libc-alpha/2022-November/143599.html
[2022-11-25T13:42:35Z] <aelspire> testuser: systemd… and go somewhere and tell people that systemd is not good solution and they will eat You alive
[2022-11-25T13:44:18Z] <sad_plan> wael[m]: cant you just create your own fzy menu script? it has actually been on my todo list tbh
[2022-11-25T13:45:56Z] <wael_> cuz its hard
[2022-11-25T13:46:12Z] <wael_> i cant make it more efrixient than dmenu
[2022-11-25T13:48:28Z] <sad_plan> was that even the idea? :p could look at 9menu, thingmenu, and xmenu though. can make your own menus with them. though not terminal based
[2022-11-25T13:49:20Z] <sad_plan> I wanted to make one with fzy, or w/e else I find simple enough, thats written in C. mostly to have one less thing outside the terminal
[2022-11-25T14:27:52Z] <wael_> ill take a loool
[2022-11-25T14:27:54Z] <wael_> look
[2022-11-25T15:01:52Z] <midfavila> >all these nerds talking about autocomplete and lsp
[2022-11-25T15:01:52Z] <midfavila> >mfw i'm over here programming in ed
[2022-11-25T15:02:34Z] <sad_plan> I dont get ed. Ive tried to use it when vis breaks on oasis, but I just.. cant. I end up using sed instead to fix the issue
[2022-11-25T15:02:34Z] <midfavila> also, illiliti and co, look at SPLint if you want a static code analysis tool
[2022-11-25T15:02:49Z] <midfavila> sad_plan, wdym you don't get ed? there's not really anything to get
[2022-11-25T15:03:06Z] <sad_plan> I dont get the controls. I dont know them at all.
[2022-11-25T15:03:13Z] <midfavila> it's just sed my dude
[2022-11-25T15:03:31Z] <midfavila> except you can make forward and backward line references
[2022-11-25T15:04:14Z] <sad_plan> maybe I just revisit ed, to do simple rings instead. I recall downloading a manpage for it or something, but Im not sure if I kept it
[2022-11-25T15:04:47Z] <sad_plan> I did
[2022-11-25T15:05:25Z] <sad_plan> http://0x0.st/oUJ7.sheet.tx this one
[2022-11-25T15:06:17Z] <midfavila> v nice
[2022-11-25T15:06:40Z] <midfavila> i would also unironically suggest reading TUPE
[2022-11-25T15:06:54Z] <midfavila> has sections on editing under unix that you might find useful
[2022-11-25T15:07:18Z] <midfavila> some of the information is a little dated, mostly in regards to *really* specific under-the-hood stuff about unix, but it's a very solid read
[2022-11-25T15:07:18Z] <sad_plan> got a link?
[2022-11-25T15:07:28Z] <midfavila> one sec
[2022-11-25T15:08:19Z] <midfavila> http://libgen.is/book/index.php?md5=AFE458B6FCFE968E58A040B30F5222B4
[2022-11-25T15:08:28Z] <midfavila> something something while i don't condone piracy...
[2022-11-25T15:08:39Z] <midfavila> oh, fuck it, i totally do. it's been out for almost fifty years
[2022-11-25T15:09:02Z] <midfavila> anyway yeah, link rel should be mandatory reading for unix users 
[2022-11-25T15:09:17Z] <midfavila> treasure of a book
[2022-11-25T15:15:12Z] <aelspire> this book remainds me about anecdote why there is bin lib etc in usr
[2022-11-25T15:18:06Z] <midfavila> root disk got full :p 
[2022-11-25T15:18:09Z] <aelspire> yup
[2022-11-25T15:18:33Z] <aelspire> I don't know if it's true or not
[2022-11-25T15:18:44Z] <aelspire> but it makes the sense
[2022-11-25T15:18:57Z] <midfavila> if you're interested in the history and development of unix, i also suggest reading esr's the art of unix programming
[2022-11-25T15:19:14Z] <aelspire> but if so linux distro are doint usr merge the wrong way
[2022-11-25T15:19:21Z] <aelspire> distros*
[2022-11-25T15:19:59Z] <midfavila> i've been thinking of trying to eliminate /usr/* from my root filesystem tbqh
[2022-11-25T15:21:19Z] <aelspire> yes that would be interesting idea, but I feel this would be problematic as usually it goes in opposite direction
[2022-11-25T15:21:41Z] <aelspire> so there will be probably a lot of patching
[2022-11-25T15:21:59Z] <midfavila> what, dumping everything in /usr? yeah, it'd take a small amount of work to get kiss and the software packages i've written to cooperate
[2022-11-25T15:22:14Z] <midfavila> packages would unironically just be a sed command
[2022-11-25T15:22:38Z] <midfavila> speaking of kiss, how's k coming along?
[2022-11-25T15:22:46Z] <midfavila> for anyone who's involved in that
[2022-11-25T15:26:36Z] <aelspire> I'm just newbie here but I like KISS Linux a lot, firstly I was quite scared but intrigued as I failed to install gentoo long time ago, but now I see how everything just works and I like it
[2022-11-25T15:27:09Z] <midfavila> yeah gentoo is far more complex on a mechanical level than kiss
[2022-11-25T15:27:22Z] <aelspire> maybe jumping from OpenSUSE to gentoo was not so bright idea
[2022-11-25T15:27:28Z] <midfavila> probably not
[2022-11-25T15:29:53Z] <sad_plan> nice. ill have a peak at it midfavila 
[2022-11-25T15:30:10Z] <midfavila> kk
[2022-11-25T15:30:23Z] <midfavila> i've been thinking of typing in and updating the implementation of hoc described in it
[2022-11-25T15:30:44Z] <midfavila> be nice to have a language that's a little more flexible than bc for mathematics
[2022-11-25T15:30:51Z] <phoebos> dc!
[2022-11-25T15:30:54Z] <phoebos> "flexible"
[2022-11-25T15:31:00Z] <midfavila> neither support non-integer exponents >:C
[2022-11-25T15:31:04Z] <phoebos> re: k, i don't know that anyone's working on it
[2022-11-25T15:31:08Z] <midfavila> rip
[2022-11-25T15:31:14Z] <phoebos> we (I) had some discussion here: https://codeberg.org/kiss-community/kiss/issues/103
[2022-11-25T15:32:42Z] <midfavila> >another big advantage of shell is that it can be read easily
[2022-11-25T15:32:43Z] <midfavila> lmao
[2022-11-25T15:32:46Z] <midfavila> lol even
[2022-11-25T15:33:00Z] <midfavila> but yeah the rest makes sense
[2022-11-25T15:33:19Z] <phoebos> lol. easily in the sense "less /bin/prog"
[2022-11-25T15:33:26Z] <midfavila> fair enough :p 
[2022-11-25T15:33:40Z] <midfavila> but yeah, i think an approach similar to alpine would be best for kiss
[2022-11-25T15:33:48Z] <midfavila> which is what i think you were kind of getting at
[2022-11-25T15:34:03Z] <aelspire> bc is dead?
[2022-11-25T15:34:04Z] <midfavila> e.g have a frontend script that calls backend driver programs in C or some other language for specific tasks
[2022-11-25T15:34:18Z] <midfavila> aelspire, no, it's just too basic for some of what i want to do
[2022-11-25T15:34:46Z] <midfavila> 'k' is dead/in hibernation, which was/is a conceived alternative implementation of the kiss package management spec
[2022-11-25T15:34:49Z] <midfavila> "spec" 
[2022-11-25T15:34:50Z] <phoebos> yeah. I'm not familiar with the implementation of apk though
[2022-11-25T15:35:02Z] <aelspire> I'm using qalculate in terminal for quick math but was interested in learning bc
[2022-11-25T15:35:12Z] <aelspire> as it's much simpler solution
[2022-11-25T15:35:12Z] <midfavila> qalculate is okay but it's also fuckhuge
[2022-11-25T15:35:18Z] <midfavila> isn't it C++, too?
[2022-11-25T15:35:38Z] <aelspire> yeah C++
[2022-11-25T15:35:48Z] <midfavila> blech, then it definitely wouldn't work for me
[2022-11-25T15:36:15Z] <aelspire> it's huge, so I was looking in bc direction
[2022-11-25T15:36:16Z] <raph_ael> wcalc
[2022-11-25T15:36:41Z] <midfavila> link?
[2022-11-25T15:36:47Z] <raph_ael> in most repos
[2022-11-25T15:36:52Z] <midfavila> yeah, link?
[2022-11-25T15:37:01Z] <raph_ael> https://w-calc.sourceforge.net/
[2022-11-25T15:37:54Z] <phoebos> raph_ael: in which repos?!
[2022-11-25T15:38:08Z] <phoebos> > kiss find w.\?calc
[2022-11-25T15:38:09Z] <phoebos> >
[2022-11-25T15:38:13Z] <phoebos> nada
[2022-11-25T15:38:18Z] <raph_ael> well mostly big distros
[2022-11-25T15:38:28Z] <midfavila> so... not kiss.
[2022-11-25T15:38:29Z] <midfavila> = w=
[2022-11-25T15:38:30Z] <phoebos> oh
[2022-11-25T15:38:30Z] <raph_ael> it's been time i haven't tried again kiss
[2022-11-25T15:38:55Z] <midfavila> wonder if I could write an Athena frontend to this
[2022-11-25T15:39:01Z] <phoebos> do it!
[2022-11-25T15:39:16Z] <phoebos> btw, i should have time to try out libsx today or sunday
[2022-11-25T15:39:20Z] <midfavila> i will *single-handedly* keep Athena alive if I have to-
[2022-11-25T15:39:24Z] <midfavila> phoebos, based
[2022-11-25T15:39:31Z] <phoebos> playing some music tomorrow, but then less busy
[2022-11-25T15:39:41Z] <midfavila> i found writing programs with it to be very comfortable, until you try to step outside its sandbox
[2022-11-25T15:39:48Z] <midfavila> at which point, you just... can't
[2022-11-25T15:40:03Z] <phoebos> ah i can imagine
[2022-11-25T15:40:09Z] <midfavila> yeah
[2022-11-25T15:40:24Z] <midfavila> 'cause it never returns a pointer to the application context or the toplevel shell widget
[2022-11-25T15:40:58Z] <phoebos> oh what
[2022-11-25T15:41:04Z] <midfavila> yeah
[2022-11-25T15:41:07Z] <phoebos> you can still get it from xlib though right
[2022-11-25T15:41:14Z] <midfavila> iiiiiiiiiiiiiiiii don't think so
[2022-11-25T15:41:30Z] <phoebos> huhhh
[2022-11-25T15:41:38Z] <midfavila> Xt only returns it once afaik, and that's at the start of your GUI initialization code
[2022-11-25T15:41:47Z] <midfavila> XtAppInitialize() I think
[2022-11-25T15:42:29Z] <midfavila> >build wcalc
[2022-11-25T15:42:29Z] <midfavila> >it segfaults immediately
[2022-11-25T15:42:32Z] <midfavila> i'm thinking based
[2022-11-25T15:42:48Z] <midfavila> anyway i'm off 
[2022-11-25T15:42:56Z] <midfavila> i need to order some things because weeeeeeeee consoom day
[2022-11-25T16:33:15Z] <sad_plan> wael_: sh -c $(find /bin | fzy) will launch your selection from fzy :p
[2022-11-25T16:33:26Z] <sad_plan> not elegant for shit, but it works though
[2022-11-25T16:34:04Z] <wael_> i kinda want the dynamicness of dmenu tho
[2022-11-25T16:34:11Z] <wael_> like the size
[2022-11-25T16:34:25Z] <wael_> i tried to make that today, but felt like it was ineffieciwnt
[2022-11-25T16:34:54Z] <wael_> it reads the stdin and for loop on if its width and height etc etc then adds it to an 'array'
[2022-11-25T16:35:14Z] <wael_> loops over all of them so i think its not good imo
[2022-11-25T16:38:16Z] <sad_plan> im sure one can figure out a more elegant solution to this. I was thinking if I fetch the content in $PATH, one should easily be able to just pipe that to fzy. one can even make a case statement, and i.e. if you have a script that would need to be ran in your terminal, automatically launch it for you. 
[2022-11-25T16:38:22Z] <sad_plan> shouldnt be too complicated
[2022-11-25T16:44:44Z] <wael_> im talking about the menu program not the fetch binaries one
[2022-11-25T16:44:51Z] <wael_> like dmenu and not dmenu_run
[2022-11-25T16:45:21Z] <sad_plan> aah
[2022-11-25T16:46:37Z] <sad_plan> theres a list at the bottom here, maybe one of them is what youre looking for? https://github.com/sgtpep/pmenu
[2022-11-25T17:06:32Z] <wael[m]> >>>>>>>>>>>>>>>>>>>its python
[2022-11-25T17:07:16Z] <sad_plan> nevermind pmenu, look at the bottom of the readme
[2022-11-25T17:07:31Z] <sad_plan> in 'alternatives'
[2022-11-25T17:07:56Z] <wael[m]> rtagr7e8uyghesdulhsdeg hsdGHKrweghyiwrbushgbnyhkcvhbnm,jyfghbJDGDHSYUGJSUYHGULXDKGDJDSl
[2022-11-25T17:08:02Z] <sad_plan> and obviously ignore those in python, ruby and rust
[2022-11-25T17:08:06Z] <sad_plan> what
[2022-11-25T17:08:11Z] <sad_plan> lol
[2022-11-25T17:09:01Z] <wael[m]> i had
[2022-11-25T17:09:02Z] <wael[m]> stupid
[2022-11-25T17:09:10Z] <wael[m]> without a comma
[2022-11-25T17:09:19Z] <wael[m]> i did not
[2022-11-25T17:09:21Z] <wael[m]> read
[2022-11-25T17:10:25Z] <sad_plan> I can relate to being a sloppy reader. and its painfull at times, as I often miss some vital infomatino I need later on, when things bork on me
[2022-11-25T17:12:14Z] <sad_plan> and then youre really frustrated as you dont get why things broke, and you reread the manpage or something, and youre like; oh....
[2022-11-25T17:13:27Z] <wael[m]> i agree
[2022-11-25T17:20:19Z] <sad_plan> yeah
[2022-11-25T17:21:50Z] <wael[m]> i agree
[2022-11-25T18:29:02Z] <wael[m]> <sad_plan> "im sure one can figure out a..." <- what do you use for menu anyway?
[2022-11-25T18:29:57Z] <sad_plan> dmenu atm
[2022-11-25T18:30:12Z] <wael[m]> shiiiiiiiii
[2022-11-25T18:30:30Z] <sad_plan> but it was on my todo list to initially drop dmenu, for some hacky script as I mentioned earlier
[2022-11-25T18:30:51Z] <sad_plan> mostly due to me wanting to practice shell
[2022-11-25T18:30:59Z] <wael[m]> idk just trying to make a fzy dynamic script just seems so fucking inefficient
[2022-11-25T18:31:22Z] <wael[m]> let me remake it cuz i deleted it
[2022-11-25T18:34:26Z] <sad_plan> well, if the only thing you have is what I wrote earlier, obviosuly, but theres nothing stopping you from creating something which is way better. like I said, specifiying what to do if certain packages is selected
[2022-11-25T18:35:04Z] <sad_plan> i.e. instead of me launching dmenu with 'st -e ytdl', I could initially launch just ytdl, as the script would automatically detect that, and launch 'st -e ytdl' instead
[2022-11-25T18:39:29Z] <wael[m]> https://termbin.com/j2k2
[2022-11-25T18:39:34Z] <wael[m]> quickly spun this up from memory
[2022-11-25T18:39:41Z] <wael[m]> this is what i tried to make earlier
[2022-11-25T18:40:52Z] <sad_plan> I cant decypher that. its beyond my skill level :')
[2022-11-25T18:41:05Z] <wael[m]> try uh
[2022-11-25T18:41:07Z] <wael[m]> echo yes no | fmenu
[2022-11-25T18:41:49Z] <wael[m]> basically, reads stdin, sets the array (like kiss), loop over that, check if the string width is bigger than the existing width (0 if none set already), which can set the 'dynamic' terminal width which is unused lol, and the height is the same, but adds one for the input area of fzy
[2022-11-25T18:42:09Z] <wael[m]> for fin, it adds a space to the fin variable if it had already been set, like if fin hadnt been set it would be fin=yes
[2022-11-25T18:42:20Z] <wael[m]> but because if it already has been set it would become fin='yes no'
[2022-11-25T18:42:34Z] <wael[m]> fmt is the same, but adds a newline instead for printf and fzy to recognize newlines
[2022-11-25T18:42:49Z] <wael[m]> im not very good at explaining but i hoep that phehpled
[2022-11-25T18:45:19Z] <wael[m]> personally i think this is absolute garbage and is very inefficient, which is why im afraid of using it 
[2022-11-25T18:45:55Z] <wael[m]> to loop over 1094 exectuables with find, piped to fmenu to 'choose' one, takes 2 seconds to process
[2022-11-25T18:46:12Z] <wael[m]> so clearly this is not going to work
[2022-11-25T18:48:03Z] <sad_plan> hm. I think i understand
[2022-11-25T18:48:10Z] <sad_plan> if its so bad, why are you even using it?
[2022-11-25T18:48:14Z] <wael[m]> im not
[2022-11-25T18:48:19Z] <wael[m]> i just wnated to see if i can make it a real thing
[2022-11-25T18:48:24Z] <sad_plan> ah
[2022-11-25T18:48:34Z] <wael[m]> i dont even use fzy in the first place
[2022-11-25T18:48:35Z] <wael[m]> i want to use it tho.
[2022-11-25T18:48:57Z] <wael[m]> just yet to find something like fmenu
[2022-11-25T18:49:14Z] <wael[m]> i could probably save time with fzy, but i wanted to make something like fmenu for use inside the terminal, and outside with a flag
[2022-11-25T18:50:16Z] <sad_plan> I see. so sortof like ytfzf works. it defaults to fzf, but with a flag, uses dmenu. it can also use other stuff too, if you just specify it. like bemenu and so on
[2022-11-25T18:51:36Z] <wael[m]> i dont want my menu program to be specific on the display server
[2022-11-25T18:51:42Z] <wael[m]> bemenu is like the only one that is wayland and x11
[2022-11-25T18:51:50Z] <wael[m]> but itd be nice to use it in termianl to
[2022-11-25T18:52:18Z] <midfavila> reminds me that i need to write a parser for a menu description language
[2022-11-25T18:52:27Z] <sad_plan> it doesnt have to, unless you choose something thats specific to X or wl
[2022-11-25T18:52:41Z] <midfavila> at some point soon i'd like to write replacements for xmenu and demnu using athena
[2022-11-25T18:52:56Z] <wael[m]> my guts dont want me to use it lmao
[2022-11-25T18:52:57Z] <wael[m]> the community and software around dmenu is really cool but idk
[2022-11-25T18:53:20Z] <midfavila> i think dmenu is a bit silly t b q h
[2022-11-25T18:53:53Z] <midfavila> ~1k lines of code to implement a line-editing widget that dumps its contents to stdout
[2022-11-25T18:54:35Z] <wael[m]> i think 1k lines is expected for that tho
[2022-11-25T18:54:41Z] <wael[m]> what is another 'menu' program like dmenu or fzy thenZ?
[2022-11-25T18:54:52Z] <midfavila> xprompt, but it has the same problem
[2022-11-25T18:54:56Z] <midfavila> it also just doesn't work
[2022-11-25T18:54:58Z] <midfavila> :v
[2022-11-25T18:55:08Z] <wael[m]> sounds p cool
[2022-11-25T18:55:14Z] <midfavila> i mean, it is
[2022-11-25T18:55:19Z] <midfavila> as is everything made by its author
[2022-11-25T18:55:27Z] <midfavila> (he also made xmenu, piemenu, shod, and more)
[2022-11-25T18:55:28Z] <wael[m]> by phillbush?
[2022-11-25T18:55:30Z] <midfavila> yeah
[2022-11-25T18:55:33Z] <wael[m]> midfavila: he what
[2022-11-25T18:55:42Z] <midfavila> his programs are quite hard to read though
[2022-11-25T18:55:45Z] <wael[m]> you forgot xnotify
[2022-11-25T18:55:52Z] <midfavila> i said "and more"
[2022-11-25T18:56:12Z] <wael[m]> XPROMPT IS FUCKING 
[2022-11-25T18:56:31Z] <wael[m]> 2300~ SLOC
[2022-11-25T18:57:22Z] <wael[m]> dmenu is ~1355 SLOC total
[2022-11-25T18:57:28Z] <wael[m]> dmenu.c being 1000
[2022-11-25T18:57:38Z] <midfavila> >mfw doing this in athena would be like fifty lines, tops
[2022-11-25T18:57:51Z] <wael[m]> do it
[2022-11-25T18:57:53Z] <wael[m]> bloody do it mate
[2022-11-25T18:57:58Z] <midfavila> fine then faget
[2022-11-25T18:57:59Z] <midfavila> >:C
[2022-11-25T18:58:23Z] <wael[m]> bloody 50 lines come on thats blasphemy 
[2022-11-25T18:58:45Z] <wael[m]> gotta need maybe 80K sloc library tho
[2022-11-25T18:58:51Z] <wael[m]> mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
[2022-11-25T18:59:00Z] <midfavila> athena is ~30k
[2022-11-25T18:59:06Z] <midfavila> drop in the bucket compared to what's already being pulled in
[2022-11-25T18:59:22Z] <wael[m]> 30k iss
[2022-11-25T18:59:27Z] <wael[m]> much
[2022-11-25T18:59:28Z] <wael[m]> more than
[2022-11-25T18:59:29Z] <wael[m]> 100
[2022-11-25T18:59:38Z] <wael[m]> 0
[2022-11-25T18:59:50Z] <testuser[m]> wael: lol you're running a quadratic algorithm on 1000+ inputs 
[2022-11-25T18:59:59Z] <midfavila> you seem to be ignoring the libraries that dmenu pulls in
[2022-11-25T19:00:01Z] <wael[m]> yeah idk whats better lo
[2022-11-25T19:00:17Z] <wael[m]> dmenu needs xlib 
[2022-11-25T19:00:20Z] <wael[m]> right
[2022-11-25T19:01:26Z] <testuser[m]> Lol why are u counting loc
[2022-11-25T19:02:04Z] <midfavila> generally, lower linecount means an easier to understand program
[2022-11-25T19:02:08Z] <wael[m]> BECAUSE HE IS 
[2022-11-25T19:02:08Z] <wael[m]> gDSYHGUIOEGHESIOBYPSDGBW
[2022-11-25T19:02:11Z] <midfavila> not always true, of course
[2022-11-25T19:02:26Z] <wael[m]> nnn is a great example
[2022-11-25T19:02:38Z] <midfavila> of it holding or not holding?
[2022-11-25T19:04:04Z] <testuser[m]> most of suckless code would probably fit that but it isn't easy to read
[2022-11-25T19:04:13Z] <midfavila> yeah, hence generally
[2022-11-25T19:04:19Z] <wael[m]> muh suckles noo
[2022-11-25T19:12:10Z] <illiliti> now look at busybox code
[2022-11-25T19:12:21Z] <midfavila> no thanks
[2022-11-25T19:12:40Z] <midfavila> 's part of why i'm writing my own userspace
[2022-11-25T19:13:17Z] <midfavila> brb
[2022-11-25T19:14:26Z] <phoebos> some of busybox is ok. it's just everywhere that they use ifdefs and their helper functions that I want to die.
[2022-11-25T19:15:02Z] <midfavila> i try to avoid the preprocessor as much as possible for that reason
[2022-11-25T19:15:21Z] <midfavila> the most i'll ever do is #include or #define, and the latter only in particularly worthy cases
[2022-11-25T19:15:53Z] <phoebos> the problem is they use it throughout the code, not just in headers or at the top
[2022-11-25T19:15:55Z] <phoebos> horrible
[2022-11-25T19:16:18Z] <wael[m]> whtas wrong with preprocessor
[2022-11-25T19:16:24Z] <illiliti> they also use typedefs
[2022-11-25T19:16:44Z] <illiliti> typedef considered harmful when
[2022-11-25T19:17:40Z] <phoebos> wael[m]: nothing in some cases, but try reading https://git.busybox.net/busybox/tree/archival/libarchive/get_header_tar.c#n265
[2022-11-25T19:17:50Z] <wael[m]> i cant read C but sure
[2022-11-25T19:18:02Z] <phoebos> that's a rather simple example too
[2022-11-25T19:18:24Z] <wael[m]> hey what's wrong with this
[2022-11-25T19:18:29Z] <wael[m]> looks fine to me
[2022-11-25T19:18:43Z] <wael[m]> maybe they wouldn't want to use configure variables at run time and this is better
[2022-11-25T19:19:35Z] <phoebos> it's mainly because it can be built with a large choice of which features are included, to make the binary smaller
[2022-11-25T19:19:40Z] <phoebos> but it's messy af
[2022-11-25T19:19:52Z] <wael[m]> well what can be made to make it clearne
[2022-11-25T19:19:53Z] <wael[m]> r
[2022-11-25T19:20:32Z] <phoebos> in their case, not much because they choose to pick certain specific features which are within functions
[2022-11-25T19:21:16Z] <phoebos> but in general, putting conditionals into headers or just separating different features into different files, makes everything more readable
[2022-11-25T19:21:25Z] <phoebos> s/headers/headers only/
[2022-11-25T19:25:56Z] <midfavila> and we're back
[2022-11-25T19:26:01Z] <midfavila> (had to swap out my phone's SIMs)
[2022-11-25T19:26:38Z] <midfavila> gonna have a real internet connection soon :D
[2022-11-25T19:26:49Z] <phoebos> :D
[2022-11-25T19:26:58Z] <midfavila> whopping 15mbps ADSL2
[2022-11-25T19:27:00Z] <phoebos> looking at libsx now :p
[2022-11-25T19:29:01Z] <midfavila> >new ISP's login page crashes my browser
[2022-11-25T19:29:08Z] <midfavila> the wonders of javascript
[2022-11-25T19:30:49Z] <midfavila> not only that, in loading it twice, it's taken up 13mb of my data plan :D
[2022-11-25T19:31:37Z] <wael[m]> what kind of data plan do you hve
[2022-11-25T19:32:00Z] <midfavila> i have one of the "fancy" ones this month
[2022-11-25T19:32:13Z] <midfavila> 50CAD for unlimited tax NA-wide, 12GB of 3G, and global text
[2022-11-25T19:53:46Z] <midfavila> okay, big-boy work is almost done for the day
[2022-11-25T19:53:57Z] <midfavila> internet will be a go-go on the second (hopefully)
[2022-11-25T19:54:20Z] <midfavila> interestingly the ISP mentions gopher in their ToS
[2022-11-25T19:56:35Z] <phoebos> > Generally this should not be a problem (if it is, you are probably getting beyond the scope of what libsx was intended to provide, i.e. you're becoming an X hacker :).
[2022-11-25T19:57:03Z] <midfavila> yeh
[2022-11-25T19:57:10Z] <midfavila> i posted about that in here the other day
[2022-11-25T19:57:22Z] <phoebos> fair enough. I like that this is just for people who don't want any of the mess of X, and it knows that
[2022-11-25T19:57:25Z] <phoebos> oh sorry lol
[2022-11-25T19:57:43Z] <midfavila> don't apologize, it's just a discussion :p 
[2022-11-25T19:57:52Z] <midfavila> but yeah, i saw that and was kind of distraught for a bit
[2022-11-25T19:58:04Z] <midfavila> 'cause libsx is *really* useful, even for developing "real" X11 software
[2022-11-25T19:58:16Z] <midfavila> it's like using boehm-gc instead of manually managing your memory i guess
[2022-11-25T19:58:24Z] <midfavila> takes a lot of busywork out of programming in C
[2022-11-25T19:58:33Z] <phoebos> it is. it's not as much of a change from just using xaw as i expected
[2022-11-25T19:58:49Z] <midfavila> yup, but I think that's honestly a good thing
[2022-11-25T19:59:08Z] <midfavila> you go from XtCreateManagedWidget(...) to MakeLabel(), but otherwise it's pretty much the same
[2022-11-25T19:59:10Z] <phoebos> it's just convenience functions; if i didn't know about the structure of xt with the main loop and callbacks i might be confused
[2022-11-25T19:59:21Z] <midfavila> mhm
[2022-11-25T19:59:28Z] <phoebos> I like it though
[2022-11-25T19:59:30Z] <midfavila> same
[2022-11-25T19:59:40Z] <midfavila> i think, long-term, i'd like to make, idk
[2022-11-25T19:59:51Z] <midfavila> libcx
[2022-11-25T19:59:55Z] <midfavila> convenient x
[2022-11-25T20:00:03Z] <midfavila> similar API/experience to sx but with slightly more freedom
[2022-11-25T20:00:07Z] <phoebos> heh
[2022-11-25T20:00:11Z] <phoebos> good luck
[2022-11-25T20:00:21Z] <midfavila> because I do *not* feel like doing shit like setting up callbacks just to have scrollbars move text fields
[2022-11-25T20:00:30Z] <phoebos> ^
[2022-11-25T20:00:40Z] <midfavila> like it's fine if it's a one off thing per program
[2022-11-25T20:00:45Z] <midfavila> but god
[2022-11-25T20:00:52Z] <phoebos> aye
[2022-11-25T20:04:03Z] <midfavila> still, i remain *committed* to using Athena >:c
[2022-11-25T20:06:36Z] <wael[m]> might as rename yourself to mathena
[2022-11-25T20:06:43Z] <midfavila> >not midnerva
[2022-11-25T20:06:52Z] <midfavila> disappointed in you
[2022-11-25T20:07:03Z] <wael[m]> mathena sounds more badass shut up
[2022-11-25T20:07:17Z] <wael[m]> midnerva sounds like a cod 360 youtuber
[2022-11-25T20:07:28Z] <midfavila> mathena sounds stupid >:c
[2022-11-25T20:07:54Z] <wael[m]> athavila
[2022-11-25T20:07:56Z] <wael[m]> maybe??
[2022-11-25T20:13:33Z] <phoebos> ew minerva
[2022-11-25T20:13:58Z] <phoebos> we strive to be a roman-free zone here
[2022-11-25T20:14:05Z] <wael[m]> whtas a roman
[2022-11-25T20:14:14Z] <midfavila> roman your mom's bed, HAH
[2022-11-25T20:14:27Z] <phoebos> > minerva
[2022-11-25T20:14:35Z] <phoebos> > roman goddess of wisdom
[2022-11-25T20:14:38Z] <phoebos> shitty version of athena
[2022-11-25T20:14:41Z] <wael[m]> midfavila: thta doesnt make sense
[2022-11-25T20:14:56Z] <midfavila> yes it does, you're just not old enough to understand
[2022-11-25T20:15:01Z] <wael[m]> YOU FU
[2022-11-25T20:15:15Z] <midfavila> phoebos i probably would call any toolkit i make minerva tbqh
[2022-11-25T20:15:21Z] <midfavila> >athena but not
[2022-11-25T20:15:36Z] <phoebos> well, if you want it to be shittier from the get go, then fine
[2022-11-25T20:15:45Z] <midfavila> hard to be shittier than athena :P 
[2022-11-25T20:16:19Z] <phoebos> i won't use it!
[2022-11-25T20:16:25Z] <midfavila> that's fine uwu
[2022-11-25T20:16:36Z] <phoebos> '_'
[2022-11-25T20:16:41Z] <midfavila> i'd legitimately be shocked if anyone used any software i wrote lmao
[2022-11-25T20:16:42Z] <wael_> Ahat the fu
[2022-11-25T20:16:52Z] * phoebos forks just to change the name
[2022-11-25T20:20:53Z] <phoebos> > BUGS: The function name is way too long.
[2022-11-25T20:20:56Z] <phoebos> I like this guy
[2022-11-25T20:24:26Z] <midfavila> yeah he seems pretty based
[2022-11-25T21:04:51Z] <phoebos> good good, i can reproduce a segfault from xaw
[2022-11-25T21:20:55Z] <midfavila> oh?
[2022-11-25T21:24:47Z] <phoebos> it's my fault (trying to set the text value of not a text widget), but that's the kind of thing i'd hope a convenience library would catch
[2022-11-25T21:25:00Z] <midfavila> aaah, yeah
[2022-11-25T21:25:13Z] <phoebos> ooh string entry widget
[2022-11-25T21:25:21Z] <phoebos> that doesn't exist in xaw, right?
[2022-11-25T21:25:26Z] <midfavila> it does not
[2022-11-25T21:25:33Z] <midfavila> looking at "a survey of widget sets"?
[2022-11-25T21:25:42Z] <phoebos> ye
[2022-11-25T21:25:49Z] <midfavila> there are some good ones in that list
[2022-11-25T21:26:02Z] <midfavila> look at the comp.windows.x11 FAQ on faqs.net too
[2022-11-25T21:26:08Z] <midfavila> there are lots of questions about finding widgets
[2022-11-25T22:49:47Z] <phoebos> > Using it on another type of widget yields undefined results.
[2022-11-25T22:49:53Z] <phoebos> weird thing for a library to say
[2022-11-25T22:50:25Z] <midfavila> tbf athena was never intended for production use, so error-checking might have been an afterthought
[2022-11-25T22:50:45Z] <midfavila> by the time people realized their mistake (assuming nobody would use a demo in production), it would've been too late to change anything
[2022-11-25T22:50:55Z] <midfavila> just a hypothesis
[2022-11-25T22:51:03Z] <phoebos> mm