💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2021-08-23.txt captured on 2022-07-17 at 03:08:55.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

[2021-08-23T01:02:28Z] <kyxor> Well I hate those guys who say "you may not run this program as root", like dude I believe in security by good design, not security by obscurity. If one is able to hack into a regular user, it is equally as bad as hacking root, it does not save my ass in any way, cause if he hacked the user - then hacking your way in further is just is level 2 defence. Level 1 defence should not be hackable by design.
[2021-08-23T01:05:27Z] <kyxor> user privilages in unix is the worst nightmare one may ever experience, probably a big reason for not being user friendly because of dumb complications put in by incompetent programmers not completent in their code design
[2021-08-23T01:06:42Z] <kyxor> *** rant end ***
[2021-08-23T01:12:44Z] <acheam> yeah thats annoying
[2021-08-23T01:12:53Z] <acheam> although your scenario only applies to single user systems
[2021-08-23T01:13:20Z] <kyxor> yep
[2021-08-23T01:13:23Z] <acheam> the main thing is just that its annoying. Put that info in the usage dialog and manpage, but don't stop me from running as root
[2021-08-23T01:13:36Z] <acheam> if you really feel compelled, then write it to stderr
[2021-08-23T01:13:50Z] <acheam> but please not stdout
[2021-08-23T01:54:15Z] <kyxor> oh god. this dude's site is laggy as hell https://camille.sh/philosophy/infinity
[2021-08-23T01:54:37Z] <kyxor> chrome is flexing that %100 core usage when scrolling
[2021-08-23T01:56:20Z] <kyxor> i don't really understand what causes that, it's like a hidden js crypto miner somewhere LOL
[2021-08-23T02:44:54Z] <akspecs> what are you all trying to run as root (and why?)
[2021-08-23T02:47:56Z] <kyxor> akspecs: everything
[2021-08-23T02:48:13Z] <kyxor> I don't even have user permissions built into my kernel
[2021-08-23T02:48:47Z] <kyxor> useless bloat, I don't run multi user server so it's pointless
[2021-08-23T02:48:57Z] <GalaxyNova> Here's an idea: Community maintained ncurses installer for kiss
[2021-08-23T02:49:33Z] <GalaxyNova> it would have an interface to add the core repositories, etc
[2021-08-23T02:49:39Z] <akspecs> GalaxyNova: who would want to maintain that?
[2021-08-23T02:50:47Z] <GalaxyNova> I don't see how it could be too difficult
[2021-08-23T02:51:03Z] <akspecs> kyxor: i've literally never heard that before (unix permissions are bloat)
[2021-08-23T02:51:05Z] <GalaxyNova> if making it in C is too much one could do what void linux does and just call dialog
[2021-08-23T02:51:15Z] <kyxor> why would you use ncurses though? just use write() systemcall into the kernel
[2021-08-23T02:51:16Z] <akspecs> kyxor: that sounds like something terry davis would say
[2021-08-23T02:51:46Z] <kyxor> Yep, Terry Davis is 100% right
[2021-08-23T02:52:58Z] <GalaxyNova> Eitherway I feel like an installer would make it much easier to just whip up a kiss install 
[2021-08-23T02:53:17Z] <kyxor> unless you wanna do some crazy utf-8 block art, ncurses is basically an unecessary abstraction
[2021-08-23T02:53:33Z] <kyxor> or some crazy other wierd encodings
[2021-08-23T02:54:19Z] <GalaxyNova> then just make it a shell script and call dialog https://linux.die.net/man/1/dialog
[2021-08-23T02:54:58Z] <GalaxyNova> it's going to be run on a live usb anyway so depending on dialog woudn't be a problem
[2021-08-23T02:55:15Z] <akspecs> you all ever hear of notcurses?
[2021-08-23T02:55:32Z] <akspecs> bloat, but pretty awesome bloat imho
[2021-08-23T02:56:15Z] <akspecs> https://www.youtube.com/watch?v=dcjkezf1ARY
[2021-08-23T02:56:46Z] <GalaxyNova> woah
[2021-08-23T02:57:44Z] <GalaxyNova> binary's probably 30 megabytes
[2021-08-23T02:57:46Z] <GalaxyNova> lol
[2021-08-23T02:58:13Z] <kyxor> hacker culture generally dislikes tuis. refer: http://www.catb.org/jargon/html/hates.html
[2021-08-23T02:59:41Z] <GalaxyNova> what is a "tui" anyway
[2021-08-23T02:59:59Z] <acheam> kyxor: you know the creator of camille.sh is a kiss user, right?
[2021-08-23T03:00:29Z] <acheam> not that that makes the website not laggy
[2021-08-23T03:00:31Z] <acheam> just cool
[2021-08-23T03:00:37Z] <acheam> GalaxyNova: text user interface
[2021-08-23T03:00:42Z] <acheam> a user interfaced created with text
[2021-08-23T03:01:58Z] <GalaxyNova> yes ik
[2021-08-23T03:02:05Z] <kyxor> acheam: yep I am collecting all personal sites, for bookkeeping on my site, so most links I can find on github from kiss users is where I look first
[2021-08-23T03:02:10Z] <GalaxyNova> but can you consider something like vim a text user interface
[2021-08-23T03:02:41Z] <kyxor> it is
[2021-08-23T03:02:47Z] <acheam> kyxor: nice
[2021-08-23T03:02:58Z] <acheam> acheam/armaanb/armaanb.net is me
[2021-08-23T03:03:15Z] <kyxor> yep, already got your site, acheam
[2021-08-23T03:03:21Z] <acheam> im honored
[2021-08-23T03:04:19Z] <GalaxyNova> love
[2021-08-23T03:04:24Z] <GalaxyNova> the bumper stickers
[2021-08-23T03:04:26Z] <acheam> kyryl.tk refuses to connect :(
[2021-08-23T03:04:39Z] <kyxor> GalaxyNova: I don't hate tuis, btw. It's just I will hate tuis that are badly designed
[2021-08-23T03:04:41Z] <acheam> GalaxyNova: heh thanks
[2021-08-23T03:05:19Z] <acheam> GalaxyNova: instead of a curses installer, a shell installer works well
[2021-08-23T03:05:23Z] <kyxor> and sometimes they are, espicially if they block your terminal text selection, or have no means to redraw screen
[2021-08-23T03:05:25Z] <GalaxyNova> perhaps
[2021-08-23T03:05:39Z] <acheam> i do like the openbsd installer
[2021-08-23T03:05:45Z] <acheam> which is just a shell script with some prompts
[2021-08-23T03:06:42Z] <phoebos> ^
[2021-08-23T03:06:50Z] <kyxor> basically tuis are substantially more complex ususally than just relular cli tools with flags
[2021-08-23T03:07:04Z] <phoebos> the mailx(1) interface is nice too
[2021-08-23T03:07:17Z] <GalaxyNova> I'd like to see a text editor as a non TUI
[2021-08-23T03:07:22Z] <phoebos> ed
[2021-08-23T03:07:25Z] <kyxor> ed
[2021-08-23T03:07:27Z] <kyxor> ex
[2021-08-23T03:07:33Z] <GalaxyNova> ok
[2021-08-23T03:07:37Z] <GalaxyNova> but is that really a text editor
[2021-08-23T03:07:45Z] <acheam> yes?
[2021-08-23T03:07:51Z] <phoebos> man -f ed
[2021-08-23T03:07:53Z] <noocsharp> ed is the standard text editor
[2021-08-23T03:07:54Z] <acheam> what makes it not a text editor
[2021-08-23T03:07:54Z] <phoebos> ed - text editor
[2021-08-23T03:08:06Z] <acheam> lol
[2021-08-23T03:08:13Z] <kyxor> well if there was a measure like "is it turing complete?" but for text editor I would say yes.
[2021-08-23T03:08:37Z] <phoebos> "does it edit text?"
[2021-08-23T03:08:37Z] <GalaxyNova> just barely though
[2021-08-23T03:08:48Z] <GalaxyNova> it's not much better than echo "text" >> file
[2021-08-23T03:08:54Z] <acheam> you haven't used it then
[2021-08-23T03:09:01Z] <acheam> its rather powerful
[2021-08-23T03:09:06Z] <GalaxyNova> perhaps that's also true xD
[2021-08-23T03:09:11Z] <acheam> and ex is pretty much just headless vi
[2021-08-23T03:09:22Z] <acheam> on obsd, it is exactly that
[2021-08-23T03:09:26Z] <phoebos> it's more like an interactive sed session
[2021-08-23T03:09:26Z] <acheam> on other OSs, its a bit more complex
[2021-08-23T03:09:39Z] <acheam> sed is derived from ed
[2021-08-23T03:09:45Z] <phoebos> aye
[2021-08-23T03:10:17Z] <kyxor> also my neatvi has ex mode too, I don't normally have a need for it, but ocasionaly I use it to test things out. Probably has some ed commands missing though. 
[2021-08-23T03:10:28Z] <GalaxyNova> `i only know basic write and read commands for ed
[2021-08-23T03:13:42Z] <akspecs> GalaxyNova: ed is the beginning
[2021-08-23T03:14:12Z] <kyxor> acheam: did you try my editor on BSD, I just wanna know if it builds with no errors or not
[2021-08-23T03:15:05Z] <acheam> no but i'll build it for you
[2021-08-23T03:15:49Z] <acheam> oh boy you're not going to like this
[2021-08-23T03:15:58Z] <kyxor> Thanks, cause for me to test it id have to configure vm support for my kernel, then figure out how to get bsd working, lots of stuff
[2021-08-23T03:16:19Z] <kyxor> what did it say? 
[2021-08-23T03:16:25Z] <acheam> https://envs.sh/mV.txt
[2021-08-23T03:16:40Z] <acheam> oops
[2021-08-23T03:16:44Z] <acheam> thats only stdout
[2021-08-23T03:16:58Z] <kyxor> hmm, what's the compiler error? 
[2021-08-23T03:17:16Z] <phoebos> SIGWINCH not defined
[2021-08-23T03:17:43Z] <acheam> https://envs.sh/mx.txt
[2021-08-23T03:17:55Z] * acheam has to look up how to redirect stderr to stdout every damn time
[2021-08-23T03:18:53Z] <kyxor> phoebos: send log
[2021-08-23T03:19:00Z] <acheam> same as what I sent, kyxor 
[2021-08-23T03:19:09Z] <phoebos> ^
[2021-08-23T03:19:18Z] <kyxor> ok i see
[2021-08-23T03:19:18Z] <phoebos> in fact you've got more warnings, acheam 
[2021-08-23T03:19:44Z] <kyxor> -Wsign-compare is harmless there
[2021-08-23T03:20:06Z] <acheam> because I compiled with "-W -Wall -Wextra -g -O0"
[2021-08-23T03:20:21Z] <acheam> my default development CFLAGS
[2021-08-23T03:20:38Z] <kyxor> yeah it's from -Wextra
[2021-08-23T03:22:20Z] <kyxor> i'll see if I can make that SIGWINCH portable
[2021-08-23T03:23:13Z] <phoebos> ah i was comparing two copies of your output lmao
[2021-08-23T03:23:15Z] <phoebos> https://envs.sh/m-.txt
[2021-08-23T03:24:31Z] <phoebos> looks like SIGWINCH is #defined in <sys/signal.h> for obsd at least
[2021-08-23T03:25:13Z] <acheam> wait whats a dual-panel UI?
[2021-08-23T03:26:03Z] <kyxor> try to add it at the top of hund.c #include <sys/signal.h>
[2021-08-23T03:26:27Z] <acheam> nope
[2021-08-23T03:26:43Z] <acheam> doesnt help
[2021-08-23T03:26:46Z] <phoebos> no <signal.h> includes <sys/signal.h> on obsd
[2021-08-23T03:26:56Z] <acheam> ew headers including headers?
[2021-08-23T03:26:58Z] <phoebos> and <bits/signal.h> on linux
[2021-08-23T03:27:08Z] <phoebos> acheam: literally most headers lol
[2021-08-23T03:27:27Z] <phoebos> but i don't see why it's not getting defined
[2021-08-23T03:27:29Z] <acheam> yeah I don't know why thats bad
[2021-08-23T03:27:33Z] <acheam> but the kcgi guy doesn't like it
[2021-08-23T03:27:43Z] <acheam> kcgi/bchs/lots of other cool obsd stuff
[2021-08-23T03:27:54Z] <kyxor> try #include <signal.h> ? 
[2021-08-23T03:28:08Z] <acheam> kyxor: doesnt help
[2021-08-23T03:28:35Z] <kyxor> damn where is it defined then? it should be supported, right? 
[2021-08-23T03:29:12Z] <acheam> signal.h(3) doesn't mention it
[2021-08-23T03:29:24Z] <acheam> signal.h(3) nor signal.h(3p)
[2021-08-23T03:29:57Z] <phoebos> kyxor: it's in there, probably some preprocessor crap getting in the way
[2021-08-23T03:30:13Z] <phoebos> grep -r SIGWINCH /usr/include
[2021-08-23T03:30:18Z] <acheam> oh yeah it is
[2021-08-23T03:30:21Z] <acheam> weird that its not in the manpage though
[2021-08-23T03:30:25Z] <dilyn> curl's build system has appeared to change a bit and now curl is no longer static? 
[2021-08-23T03:30:26Z] <dilyn> hmhmhm
[2021-08-23T03:30:30Z] <phoebos> oof
[2021-08-23T03:30:40Z] <kyxor> dilyn: hi!
[2021-08-23T03:30:42Z] <noocsharp> bruh are you serious
[2021-08-23T03:30:54Z] <dilyn> yeah needs LDFLAGS=--static now
[2021-08-23T03:30:59Z] <dilyn> o/ kyxor
[2021-08-23T03:31:01Z] <acheam> if you wanted to get really rough, you could #ifndef SIGWINCH \n #define SIGWINCH 28 \n #endif
[2021-08-23T03:31:01Z] <noocsharp> oh, well that's reasonable
[2021-08-23T03:31:10Z] <dilyn> it's better than what it was before lmfao
[2021-08-23T03:31:21Z] <acheam> dilyn: good to see you around here again
[2021-08-23T03:32:27Z] <kyxor> acheam: ok doen't sound too bad, if you do that any other errors you get? besides SIGTERM
[2021-08-23T03:33:06Z] <dilyn> :)  
[2021-08-23T03:34:23Z] <acheam> manually defining SIGWINCH leads to a succesful compilation
[2021-08-23T03:34:40Z] <testuser[m]> Hi
[2021-08-23T03:35:11Z] <kyxor> acheam: nice
[2021-08-23T03:35:16Z] <phoebos> yeah but why doesn't it work? all the __BSD_VISIBLE _USER_SIGNAL_H _SYS_SIGNAL_H are correct
[2021-08-23T03:35:19Z] <acheam> hi testuser[m] 
[2021-08-23T03:36:03Z] <kyxor> maybe -std=c99 -D_POSIX_C_SOURCE=200809L has some effect
[2021-08-23T03:36:20Z] <acheam> ah yeah it must be that
[2021-08-23T03:36:28Z] <acheam> as SIGWINCH isn't posix
[2021-08-23T03:36:46Z] <acheam> https://envs.sh/MD.txt
[2021-08-23T03:37:28Z] <acheam> I should have noticed that earlier
[2021-08-23T03:37:53Z] <GalaxyNova> is there any reason why the git package explicitly statically links curl?
[2021-08-23T03:37:55Z] <kyxor> sadly, ehh
[2021-08-23T03:38:13Z] <testuser[m]> How do you detect resizes on pure  posix systems then
[2021-08-23T03:38:17Z] <phoebos> whuttt
[2021-08-23T03:38:26Z] <kyxor> so removing -D_POSIX_C_SOURCE=200809L builds correctly without any C code mods
[2021-08-23T03:38:31Z] <kyxor> ? 
[2021-08-23T03:38:34Z] <phoebos> SIGWINCH *is* in vi.c after the preprocessor
[2021-08-23T03:38:53Z] <acheam> kyxor: yes
[2021-08-23T03:39:39Z] <kyxor> testuser[m]: good question... 
[2021-08-23T03:39:50Z] <akspecs> GalaxyNova: what have you against curl?
[2021-08-23T03:40:30Z] <phoebos> ah i wasn't `cc -E`ing with a _POSIX_C_SOURCE
[2021-08-23T03:40:33Z] <phoebos> nice catch.
[2021-08-23T03:41:04Z] <acheam> yeah I was trying to verify that it was included after preprocessing and couldn't find it
[2021-08-23T03:42:08Z] <acheam> I guess you can just poll tcgetattr?
[2021-08-23T03:42:11Z] <dilyn> galaxynova: so that git still works if you muckbang your libcurl.so
[2021-08-23T03:42:14Z] <kyxor> try replacing it with _DEFAULT_SOURCE
[2021-08-23T03:42:23Z] <kyxor> -D_DEFAULT_SOURCE
[2021-08-23T03:42:27Z] <dilyn> essentially, for the same reason you'd build any other thing statically 
[2021-08-23T03:43:14Z] <acheam> _DEFAULT_SOURCE doesn't help
[2021-08-23T03:43:30Z] <GalaxyNova> akspecs: Nothing, it's just that statically linking it seems wasteful from a storage space perspective
[2021-08-23T03:43:36Z] <phoebos> <sys/cdefs.h> is responsible
[2021-08-23T03:43:38Z] <acheam> actualy now SIGTERM isn't defined
[2021-08-23T03:43:38Z] <GalaxyNova> since curl is expected anyway by kiss
[2021-08-23T03:43:51Z] <GalaxyNova> dilyn: oh
[2021-08-23T03:43:57Z] <acheam> not if you're an axel-using chad
[2021-08-23T03:44:55Z] <GalaxyNova> is  axel smaller than curl?
[2021-08-23T03:45:53Z] <acheam> I never compared, but I wouldn't be surprised
[2021-08-23T03:46:10Z] <phoebos> kyxor: https://envs.sh/ME.h is obsd <sys/cdefs.h>, you need __BSD_VISIBLE to be 1
[2021-08-23T03:49:31Z] <kyxor> so -D_BSD_SOURCE should set __BSD_VISIBLE to 1 at some point? 
[2021-08-23T03:49:38Z] <phoebos> looks like you could define _BSD_SOURCE
[2021-08-23T03:49:47Z] <phoebos> yeah i reckon
[2021-08-23T03:50:21Z] <phoebos> yes! it worked
[2021-08-23T03:51:11Z] <kyxor> I wonder if I define _BSD_SOURCE, it won't break anything? 
[2021-08-23T03:51:16Z] <testuser[m]> GalaxyNova: curl performs much more than just downloads so axel is smaller
[2021-08-23T03:51:34Z] <phoebos> wrap it in #ifdef OpenBSD or whatever
[2021-08-23T03:51:35Z] <kyxor> I mean it seems like defining -D_BSD_SOURCE on linux does not break build
[2021-08-23T03:52:04Z] <acheam> phoebos: nah
[2021-08-23T03:52:11Z] <phoebos> no?
[2021-08-23T03:52:12Z] <acheam> then it breaks on netbsd, freebsd, etc
[2021-08-23T03:52:49Z] <kyxor> wow why are they so different in terms of header files omg
[2021-08-23T03:52:53Z] <phoebos> #ifdef OpenBSD || NetBSD || FreeBSD
[2021-08-23T03:53:11Z] <acheam> what about dragonflybsd, or sunos, or darwin
[2021-08-23T03:53:14Z] <testuser[m]> ifndef linux
[2021-08-23T03:53:18Z] <phoebos> lmao
[2021-08-23T03:53:29Z] <phoebos> linux or *BSD
[2021-08-23T03:53:54Z] <phoebos> kyxor: even musl and glibc drastically differ in header layout
[2021-08-23T03:54:10Z] <acheam> don't forget hurd, minix, solaris, aix, and hp-ux
[2021-08-23T03:54:39Z] <kyxor> yeah I know about glibc vs musl, but other bsds use different C libraries? 
[2021-08-23T03:54:48Z] <acheam> yes and no
[2021-08-23T03:55:04Z] <acheam> they're all forks of the same codebase, 25 years ago
[2021-08-23T03:55:21Z] <kyxor> forgot plan9
[2021-08-23T03:55:28Z] <acheam> well thats not UNIX-like
[2021-08-23T03:56:46Z] <testuser[m]> Windows
[2021-08-23T03:56:53Z] <acheam> lmao IBM is supporting AIX through 2035
[2021-08-23T03:57:11Z] <acheam> i mean, its nothing close to sqlite
[2021-08-23T03:57:21Z] <acheam> but still, can't enterprises move a /little/ bit faster
[2021-08-23T04:00:27Z] <kyxor> hmm I don't really like #ifdef mess I might just make a separate makefile target for BSD* then
[2021-08-23T04:01:52Z] <phoebos> it would be simplest to add -D_BSD_SOURCE for *BSDs 
[2021-08-23T04:07:41Z] <kyxor> ok wtf, probably not even worth bothering to try to do any kind of "automatic" os detection
[2021-08-23T04:08:25Z] <kyxor> like I could just do uname and then try to compare strings, but it's so awkward, not gonna do it
[2021-08-23T04:08:49Z] <phoebos> hund.c uses SIGTERM but doesn't include <signal.h>
[2021-08-23T04:09:29Z] <kyxor> ok I'll add it in too
[2021-08-23T04:09:31Z] <phoebos> but with CFLAGS+=-D_BSD_SOURCE and including signal.h in hund.c, it builds!
[2021-08-23T04:09:57Z] <phoebos> nice editor as well, imma use it now
[2021-08-23T04:10:09Z] <phoebos> been missing some colors too
[2021-08-23T04:10:44Z] <kyxor> fastest file opening times ever it has
[2021-08-23T04:11:10Z] <acheam> i dont think comparing strings is that akward
[2021-08-23T04:11:12Z] <acheam> https://git.causal.agency/pounce/tree/configure
[2021-08-23T04:11:17Z] <acheam> see how june does it here
[2021-08-23T04:12:14Z] <acheam> phoebos: noooo syntax highlighting will make you a weak programmer, and the devil will sell your soul to richard m. stallman
[2021-08-23T04:12:36Z] <phoebos> oh god no
[2021-08-23T04:12:40Z] <phoebos> :P
[2021-08-23T04:12:57Z] <phoebos> i don't use colors when writing software, only reading
[2021-08-23T04:13:57Z] <kyxor> does it though? It help me. The only problem I have with syntax hl in %99 of text editors is how it's implemented sucks
[2021-08-23T04:14:38Z] <kyxor> neatvi does it all under 700 lines of C
[2021-08-23T04:15:15Z] <phoebos> neatvi's way is really nice tbf
[2021-08-23T04:15:44Z] <kyxor> also read the readme, there are some cool stuff like if you do :se hww
[2021-08-23T04:16:17Z] <kyxor> that thing is a must have if you are reading source code, cause you can immediately see varibles and how they used in function of example
[2021-08-23T04:17:12Z] <phoebos> oh that's cool it updates when you move the cursor
[2021-08-23T04:17:25Z] <dilyn> so I *did* complain about ccmake a few weeks back, but ngl it's pretty fucking neat 
[2021-08-23T04:17:41Z] <dilyn> for instance, after about twenty seconds I got llvm to build statically
[2021-08-23T04:17:59Z] <dilyn> unfortunately it does not like netbsd-curses...
[2021-08-23T04:21:10Z] <acheam> hmm
[2021-08-23T04:21:13Z] <acheam> i should look into it more
[2021-08-23T04:21:31Z] <testuser[m]> What's ccmake
[2021-08-23T04:21:35Z] <testuser[m]> Cmake in C ? Lol
[2021-08-23T04:22:09Z] <testuser[m]> Oh
[2021-08-23T04:22:16Z] <dilyn> it's the curses viewer for cmake 
[2021-08-23T04:22:48Z] <testuser[m]> Why does a build system have a ui
[2021-08-23T04:22:51Z] <dilyn> so you can flip options in a nice little TUI instead of reading CMakeLists.txt for options or trying to remember what the command is to print all the options
[2021-08-23T04:23:09Z] <dilyn> have you every tried to configure something as big as LLVM? lmao
[2021-08-23T04:23:14Z] <dilyn> it can be helpful 
[2021-08-23T04:23:44Z] <dilyn> oh look dylan fixed curl not building statically XD  
[2021-08-23T04:23:47Z] <dilyn> hi dylan o/
[2021-08-23T04:46:14Z] <dilyn> https://github.com/sabotage-linux/sabotage/blob/9dd878aeddd3b8b2fd61c6d85584dce4be4c7de5/pkg/cmake#L56 what a line
[2021-08-23T04:50:59Z] <kyxor> wow din't know rofl0r was working on sabotage, cool stuff
[2021-08-23T04:51:38Z] <acheam> dilyn: lol
[2021-08-23T04:51:47Z] <acheam> kyxor: they used to hang out in here too
[2021-08-23T04:51:56Z] <dilyn> it's theirs!
[2021-08-23T04:52:18Z] <acheam> ?
[2021-08-23T04:53:36Z] <dilyn> didn't rofl0r make sabotage? 
[2021-08-23T04:53:46Z] <dilyn> butch is their baby
[2021-08-23T05:22:23Z] <acheam> No
[2021-08-23T05:22:39Z] <testuser[m]> what
[2021-08-23T05:23:08Z] <acheam> It was made by leah2 originally
[2021-08-23T05:24:25Z] <dilyn> f
[2021-08-23T05:24:27Z] <dilyn> sry leah2
[2021-08-23T05:24:31Z] <dilyn> didn't mean to rob you of your glory 
[2021-08-23T05:26:12Z] <kyxor> phoebos: I pushed bsd build fix on master, check if everything works, thanks ;)
[2021-08-23T05:34:04Z] <testuser[m]> the changes make your makefile non portable outside gmak
[2021-08-23T05:34:05Z] <testuser[m]> gmake
[2021-08-23T05:34:58Z] <kyxor> what isn't portable ? 
[2021-08-23T05:35:53Z] <testuser[m]> ifeq
[2021-08-23T05:36:21Z] <kyxor> ok that's suprising
[2021-08-23T05:36:33Z] <testuser[m]> Yeah it's too limited
[2021-08-23T05:36:37Z] <kyxor> so how do I portably do if statement ? 
[2021-08-23T05:36:43Z] <kyxor> or I can't
[2021-08-23T05:37:06Z] <testuser[m]> not sure, need to ask illiliti
[2021-08-23T05:37:19Z] <testuser[m]> I guess you would use shell syntax
[2021-08-23T05:38:59Z] <kyxor> damn, I have to write extra targets to get portable conditions
[2021-08-23T05:40:11Z] <dilyn> portable makefiles are bae :v 
[2021-08-23T05:40:50Z] <acheam> Damn your bae ugly af
[2021-08-23T05:41:05Z] <testuser[m]>  += isn't portable either right 
[2021-08-23T05:42:36Z] <kyxor> Yeah I sought so
[2021-08-23T05:42:47Z] <kyxor> I should stop looking at that GNU manual page
[2021-08-23T05:43:19Z] <testuser[m]> What good build system even exists then
[2021-08-23T05:43:51Z] <kyxor> shell script 
[2021-08-23T05:44:29Z] <kyxor> you can even do parallel compile, using the &
[2021-08-23T05:44:46Z] <testuser[m]> ninja seems good but the only generators for it are cmake and poogle gn both are meh
[2021-08-23T05:45:36Z] <kyxor> hm you know what, maybe I should just write posix shell script for build and call it a day, remove make. But I won't have the based on date/modification time compile
[2021-08-23T05:46:38Z] <kyxor> unless I can somehow emmitate that in script, using date, then checking and filter what needs to compile
[2021-08-23T05:46:41Z] <testuser[m]> Implement some make-like functionality in sh
[2021-08-23T05:46:45Z] <testuser[m]> Call it "shake"
[2021-08-23T05:47:13Z] <kyxor> I'll give it a try
[2021-08-23T05:49:36Z] <dilyn> nss generates headers for some god forsaken reason http://ix.io/3wIk
[2021-08-23T05:49:54Z] <dilyn> that whole build system is fuckery
[2021-08-23T05:50:09Z] <dilyn> http://ix.io/3wIl nss should be illegal
[2021-08-23T05:51:01Z] <dilyn> it bundles its own version of install that it COMPILES ITSELF, and then it uses that to put headers in the "right locations" during the build 
[2021-08-23T05:51:09Z] <dilyn> except it just creates symlinks to those headers
[2021-08-23T05:51:19Z] <dilyn> it's like... just move the headers to include/ or something smh 
[2021-08-23T06:10:17Z] <testuser[m]> Pozilla moment
[2021-08-23T06:13:20Z] <testuser[m]> Why does everything suck so much 
[2021-08-23T07:52:20Z] <testuser[m]> Oh the new site is up
[2021-08-23T07:59:25Z] <akspecs> kisslinux.org ? or are you talking about something else?
[2021-08-23T08:00:48Z] <testuser[m]> Yeah
[2021-08-23T08:04:48Z] <testuser[m]> https://kisslinux.org/wiki/ bruh he wrote pages for every package, huge effort
[2021-08-23T08:04:57Z] <necromansy> yeah mental
[2021-08-23T08:14:53Z] <dilyn> love the new website
[2021-08-23T08:15:04Z] <dilyn> what a cute little github icon
[2021-08-23T08:39:39Z] <akspecs> nice!!
[2021-08-23T09:13:26Z] <travankor> github icon isn't kiss
[2021-08-23T09:51:23Z] <testuser[m]> kyxor: https://github.com/kyx0r/neatvi/blob/62bdea93041d317eac0539431dbd175acc12c40c/vi.c#L1430 divide by zero here
[2021-08-23T09:51:33Z] <testuser[m]> clang-tidy
[2021-08-23T09:53:15Z] <testuser[m]> It'll always be atleast 1 tho, since lbuf_len wont return negative
[2021-08-23T10:03:16Z] <travankor> jedavies_: btw how is xkiss going to work?
[2021-08-23T12:22:40Z] <kyxor> testuser[m]: impossible
[2021-08-23T12:23:41Z] <kyxor> I mean that's why MAX is there, clang is dumb
[2021-08-23T12:24:16Z] <testuser[m]> Doesn't it make max useless if the other arg is always going to be > 0?
[2021-08-23T12:24:47Z] <kyxor> it can't analyze the program 100% completely to know that I guess, because of translation units i suppose ? 
[2021-08-23T12:25:34Z] <kyxor> it's this: #define MAX(a, b)       ((a) < (b) ? (b) : (a))
[2021-08-23T12:27:50Z] <travankor> macros are handled by the preprocessor so that's why it's not detected?
[2021-08-23T12:28:55Z] <testuser[m]> I'm saying your code on that line would be equivalent to MAX(0,1) atleast so why not remove the macro
[2021-08-23T12:29:23Z] <testuser[m]> Clang warns since it doesn't know  that lbuf_len() will always be >= 0
[2021-08-23T12:31:08Z] <kyxor> yeah not a bad idea
[2021-08-23T12:31:28Z] <kyxor> cause it doesn't really do anything there anyway
[2021-08-23T12:32:38Z] <kyxor> actually, no it does
[2021-08-23T12:34:31Z] <kyxor> that macro is necessary for some reason
[2021-08-23T12:35:23Z] <kyxor> cause if I just leave lbuf_len()+1 vi compiled with gcc thows arithmetic exception on empty file
[2021-08-23T12:35:38Z] <testuser[m]> It's hiding a bug due to double evaluation ?
[2021-08-23T12:36:13Z] <kyxor> nope
[2021-08-23T12:36:21Z] <testuser[m]> Weird
[2021-08-23T12:36:24Z] <kyxor> OHH, it's because of order of operations
[2021-08-23T12:36:29Z] <testuser[m]> Lol
[2021-08-23T12:36:31Z] <kyxor> division always comes first
[2021-08-23T12:36:44Z] <kyxor> so that +1 is not evaluated before division
[2021-08-23T12:37:48Z] <kyxor> yep, just gotta add parethesis
[2021-08-23T12:38:10Z] <acheam> Oof
[2021-08-23T12:38:28Z] <acheam> We need mid to come teach us math
[2021-08-23T12:41:37Z] <testuser[m]> I always use explicit brackets even if the result would be the same without em
[2021-08-23T12:42:22Z] <kyxor> I guess that max macro acted like parenthesis there, because if statement will happen first
[2021-08-23T12:43:08Z] <kyxor> so technically it was still non bugged code, i pushed the change though
[2021-08-23T12:43:49Z] <kyxor> and 1 sec forgot to remove debug statement, dammin
[2021-08-23T12:44:06Z] <kyxor> time to revert it (eh )
[2021-08-23T12:44:35Z] <testuser[m]> Just hard reset and force push if the commit is like 5 seconds old
[2021-08-23T12:45:04Z] <kyxor> yeah i do that sometimes
[2021-08-23T12:46:09Z] <testuser[m]> Do you use sanitizers?
[2021-08-23T12:46:44Z] <testuser[m]> Or valgrind
[2021-08-23T12:47:26Z] <kyxor> I do use valgrind
[2021-08-23T12:49:57Z] <kyxor> push done
[2021-08-23T12:50:22Z] <kyxor> testuser[m]: btw do you use valgrind? it does not work correctly on latest musl btw
[2021-08-23T12:50:35Z] <kyxor> well unless you patch it like I did
[2021-08-23T12:51:09Z] <testuser[m]> no i just use clang sanitizers since im on glibc, they dont work on musl yet i think
[2021-08-23T12:55:30Z] <travankor> i think sanitizers work on musl now
[2021-08-23T12:55:49Z] <travankor> clang 12
[2021-08-23T12:55:57Z] <testuser[m]> nice
[2021-08-23T12:59:24Z] <jedavies_> travankor: Started that it since I had trouble building GCC with the clang toolchain. Sorted that now so will bring that into glasnost and remove xkiss.
[2021-08-23T12:59:50Z] <jedavies_> Needed gcc since clang can't build arm firmware / uboot.
[2021-08-23T13:01:04Z] <travankor> you patched uboot for clang?
[2021-08-23T13:02:09Z] <travankor> or sorted compiling gcc with clang?
[2021-08-23T13:04:16Z] <jedavies_> Sorted building gcc with clang. Wanted to avoid having GCC but building the low-level stuff with clang is not easy right now.
[2021-08-23T13:13:21Z] <travankor> I see, thanks
[2021-08-23T13:14:13Z] <travankor> btw will glasnost follow upstreams/dylan's repo changes (wayland, mold, etc.)
[2021-08-23T13:48:42Z] <jedavies> Yeah, working on merging the package manager changes. Will push them soon, been busy with work.
[2021-08-23T13:48:50Z] <jedavies> Mold?  The linker?
[2021-08-23T13:49:05Z] <testuser[m]> yea
[2021-08-23T13:56:01Z] <jedavies> Interesting... can it do lto with clang/llvm?
[2021-08-23T13:56:15Z] <akira01> acheam: did you use wayland?
[2021-08-23T13:56:18Z] <testuser[m]> soon
[2021-08-23T13:56:24Z] <testuser[m]> doesnt do lto at all rn
[2021-08-23T14:04:23Z] <acheam> akira01: not really
[2021-08-23T14:04:37Z] <acheam> I toyed with it
[2021-08-23T14:05:26Z] <akira01> Maybe is the problem
[2021-08-23T14:05:30Z] <akira01> When i used xorg
[2021-08-23T14:05:30Z] <testuser[m]> what
[2021-08-23T14:05:36Z] <akira01> Webtorrent works great
[2021-08-23T14:05:46Z] <akira01> Now with sway i get segmentation fault
[2021-08-23T14:06:09Z] <akira01> Other apps like joplin had some bugs to
[2021-08-23T14:06:09Z] <acheam> Seems like an unrelated thing, probably something else in the build file
[2021-08-23T14:06:14Z] <testuser[m]> and the segfault is in lib what
[2021-08-23T14:06:14Z] <testuser[m]> gtk ?
[2021-08-23T14:06:14Z] <testuser[m]> webtorrent itself /
[2021-08-23T14:06:30Z] <acheam> Time to git bisect run an 8 hour browser build
[2021-08-23T14:06:57Z] <testuser[m]> gdb /usr/bin/firefox then type 'run' then crash the browser then type 'backtrace'
[2021-08-23T14:08:07Z] <kyxor> what do you guys think about using httpd from busybox as a webserver? 
[2021-08-23T14:09:07Z] <kyxor> it seems to have ssl/tls support out of the box unlike quark
[2021-08-23T14:10:44Z] <akira01> testuser[m]: dont know well
[2021-08-23T14:11:00Z] <akira01> is not gtk because is the cli version
[2021-08-23T14:11:05Z] <akira01> webtorrent-cli
[2021-08-23T14:11:21Z] <testuser[m]> then do the gdb thing
[2021-08-23T14:11:27Z] <akira01> Okay
[2021-08-23T14:11:27Z] <testuser[m]> replace /usr/bin/firefox with /usr/bin/webtorrent-ci
[2021-08-23T14:11:29Z] <testuser[m]> cli
[2021-08-23T14:11:57Z] <testuser[m]> Lol that name sounds contradictory
[2021-08-23T14:12:07Z] <testuser[m]> webapp - cli
[2021-08-23T14:12:13Z] <akira01> lol
[2021-08-23T14:12:28Z] <testuser[m]> the segfault is in nodejs i guess
[2021-08-23T14:13:02Z] <testuser[m]> that's what you deserve for running such heretic software on kiss
[2021-08-23T14:13:26Z] <kyxor> ok never mind I got busybox httpd confused with apache version. busybox does not have tls
[2021-08-23T14:13:26Z] <akira01> Pardon my man
[2021-08-23T14:14:20Z] <kyxor> I guess no choice, have to use another tunnel prog for https
[2021-08-23T14:15:23Z] <kyxor> there is also this: http://www.acme.com/software/mini_httpd/
[2021-08-23T14:19:07Z] <noocsharp> openbsd httpd
[2021-08-23T14:21:55Z] <konimex> jedavies: I don't think we can even build mold with an LLVM-only toolchain
[2021-08-23T14:24:28Z] <travankor> tbf lld is quite fast, so it's gcc setups that benefit the most
[2021-08-23T14:27:03Z] <travankor> and mold doesn't have ppc64le support
[2021-08-23T14:28:42Z] <akira01> testuser[m]: i had some errors with gdb
[2021-08-23T14:29:03Z] <akira01> First do gdb /usr/bin/webtorrent
[2021-08-23T14:29:35Z] <testuser[m]> what happened
[2021-08-23T14:30:35Z] <akira01> "0x7ffdce07eb00s": not in executable format: file format not recognized
[2021-08-23T14:31:23Z] <akira01> when i type run
[2021-08-23T14:31:39Z] <akira01> It start program and said no executable file specified
[2021-08-23T14:31:40Z] <testuser[m]> what
[2021-08-23T14:31:46Z] <testuser[m]> show ss
[2021-08-23T14:31:57Z] <akira01> one sec
[2021-08-23T14:33:05Z] <akira01> https://termbin.com/dgx5
[2021-08-23T14:33:24Z] <acheam> noocsharp: if your system has busybox, i would just use an ssl proxy
[2021-08-23T14:33:30Z] <acheam> oops sorry meant to tag kyxor 
[2021-08-23T14:33:46Z] <acheam> was thinking of you beacuse of your ssl tunnel software :)
[2021-08-23T14:33:56Z] <acheam> but yeah, I second the openbsd httpd reccomendation
[2021-08-23T14:34:03Z] <acheam> its the perfect balance of minimalism and features IMO
[2021-08-23T14:36:01Z] <testuser[m]> dilyn: This is the issue with chromium i asked you few weeks back, is it the same ? https://0x0.st/-tKr.jpg
[2021-08-23T14:36:07Z] <testuser[m]> it doesn't seem to be a chromium issue in specific, since it fixes itself whenever something prompts a redraw, eg typing `grimshot save area` from ssh, or just launching bemenu
[2021-08-23T14:36:34Z] <testuser[m]> dont mind the potato
[2021-08-23T14:38:15Z] <akira01> testuser[m]: had some solution?
[2021-08-23T14:38:29Z] <testuser[m]> oh sorry i didnt notice you sent the  link
[2021-08-23T14:38:29Z] <testuser[m]> wait
[2021-08-23T14:38:50Z] <testuser[m]> oh ofcourse
[2021-08-23T14:39:01Z] <testuser[m]> its nodejs crapware so wont be a binary
[2021-08-23T14:39:04Z] <testuser[m]> binary binary
[2021-08-23T14:39:23Z] <testuser[m]> `ulimit -c unlimited`
[2021-08-23T14:39:26Z] <testuser[m]> launch it
[2021-08-23T14:39:32Z] <testuser[m]> it should print a dump
[2021-08-23T14:40:19Z] <dilyn> konimex: yeah hopefully the llvm devs finish up their support for c+20
[2021-08-23T14:40:55Z] <akira01> I do on terminal and show nothing
[2021-08-23T14:40:56Z] <dilyn> testuser: mine is just black boxes that generate over the tab/status bar/bookmarks bar area
[2021-08-23T14:41:25Z] <testuser[m]> idk akira01 just get a better torrent downloader
[2021-08-23T14:41:29Z] <testuser[m]> aria2c
[2021-08-23T14:41:32Z] <akira01> i mean
[2021-08-23T14:41:46Z] <akira01> i even used webtorrent to download
[2021-08-23T14:41:51Z] <akira01> Just to stream
[2021-08-23T14:41:57Z] <akira01> can aria2c do that?
[2021-08-23T14:42:13Z] <testuser[m]> dont think so
[2021-08-23T14:42:26Z] <akira01> yeah so i pretty fucked up
[2021-08-23T14:42:42Z] <testuser[m]> what's the contents of /usr/bin/webtorrent-cli
[2021-08-23T14:42:48Z] <testuser[m]> you can launch it via node directly
[2021-08-23T14:42:56Z] <testuser[m]> and get the backtrace
[2021-08-23T14:43:10Z] <akira01> i can launch it in terminal 
[2021-08-23T14:43:15Z] <akira01> it launch okay
[2021-08-23T14:43:21Z] <akira01> but when i do some
[2021-08-23T14:43:34Z] <akira01> webtorrent 'magnet link' --mpv
[2021-08-23T14:43:36Z] <testuser[m]> oh just do `gdb /usr/bin/node` and `run /usr/bin/webtorrent-cli`
[2021-08-23T14:43:51Z] <akira01> node?
[2021-08-23T14:43:57Z] <testuser[m]> its a nodejs program bruh
[2021-08-23T14:44:04Z] <akira01> okay
[2021-08-23T14:44:41Z] <testuser[m]> oh you dont need to do it
[2021-08-23T14:44:45Z] <testuser[m]> i forgot
[2021-08-23T14:44:47Z] <testuser[m]> just check in dmesg
[2021-08-23T14:44:59Z] <testuser[m]> segfault at ffffaddress bla bla in libc.so.6
[2021-08-23T14:45:04Z] <testuser[m]> what does it say
[2021-08-23T14:47:24Z] <akira01> cant do
[2021-08-23T14:47:50Z] <testuser[m]> what cant do
[2021-08-23T14:47:57Z] <akira01> dmesg
[2021-08-23T14:48:07Z] <testuser[m]> why cant do dmesg
[2021-08-23T14:48:08Z] <akira01> it recognizes differents commanda
[2021-08-23T14:48:13Z] <testuser[m]> wat
[2021-08-23T14:48:16Z] <akira01> i mean
[2021-08-23T14:48:29Z] <akira01> webtorrent itself run okay
[2021-08-23T14:48:40Z] <testuser[m]> I know
[2021-08-23T14:48:47Z] <akira01> the problem is when i run webtorrent "magnet" --mpv
[2021-08-23T14:48:51Z] <testuser[m]> yes
[2021-08-23T14:49:01Z] <testuser[m]> have you got the segfault atleast once on your current boot?
[2021-08-23T14:49:29Z] <testuser[m]> dmesg | grep fault | nc termbin.com 9999
[2021-08-23T14:49:31Z] <akira01> Yeah
[2021-08-23T14:50:16Z] <akira01> https://termbin.com/wb0q
[2021-08-23T14:50:37Z] <testuser[m]> weird
[2021-08-23T14:50:42Z] <testuser[m]> do the gdb /usr/bin/node thing i said
[2021-08-23T14:50:50Z] <testuser[m]> segfault is probably in mpv
[2021-08-23T14:51:07Z] <akira01> cant to because the magnet uri is fucking big and buf the gdb 
[2021-08-23T14:51:13Z] <akira01> bug*
[2021-08-23T14:51:16Z] <testuser[m]> `gdb /usr/bin/node` then `run /usr/bin/webtorrent "magnet" --mpv`
[2021-08-23T14:51:21Z] <testuser[m]> pipe it ?
[2021-08-23T14:51:24Z] <testuser[m]> paste ?
[2021-08-23T14:51:28Z] <akira01> i past
[2021-08-23T14:51:31Z] <akira01> and bug
[2021-08-23T14:52:35Z] <testuser[m]> gdb /usr/bin/node -ex "run /usr/bin/webtorrent ... args"
[2021-08-23T14:52:40Z] <testuser[m]> paste it in the shell's prompt
[2021-08-23T14:52:45Z] <testuser[m]> no need to use gdb tui
[2021-08-23T14:53:01Z] <akira01> okay
[2021-08-23T14:54:12Z] <akira01> had some info
[2021-08-23T14:54:17Z] <akira01> i will send
[2021-08-23T14:55:22Z] <akira01> https://termbin.com/rp7r
[2021-08-23T14:55:43Z] <testuser[m]> type backtrace
[2021-08-23T14:55:50Z] <testuser[m]> or "bt"
[2021-08-23T14:56:44Z] <akira01> https://termbin.com/devb
[2021-08-23T14:58:47Z] <testuser[m]> do you know the C library this program binds to
[2021-08-23T14:58:49Z] <testuser[m]> https://github.com/bittorrent/libutp/blob/master/utp.h this ?
[2021-08-23T14:59:38Z] <akira01> dont know
[2021-08-23T14:59:48Z] <testuser[m]> how'd you install it
[2021-08-23T15:00:01Z] <akira01> npm install webtorrent 
[2021-08-23T15:00:10Z] <akira01> is in webtorrent-cli github
[2021-08-23T15:00:25Z] <testuser[m]> find /usr -name 'utp'
[2021-08-23T15:00:39Z] <testuser[m]> `find /usr -name '*utp*'` glob, idk if the prev msg sent properly
[2021-08-23T15:01:41Z] <akira01> https://termbin.com/q7zn
[2021-08-23T15:03:06Z] <testuser[m]> gyp files seem like compiled bindings to me so you somehow need to build a debug build of libutp and build that as a nodejs module
[2021-08-23T15:03:24Z] <testuser[m]> is X and wayland the only thing that affects this ?
[2021-08-23T15:03:35Z] <akira01> I mean
[2021-08-23T15:03:37Z] <akira01> whem 
[2021-08-23T15:03:42Z] <akira01> When i used X
[2021-08-23T15:03:51Z] <akira01> Works out of the box
[2021-08-23T15:03:52Z] <testuser[m]> what has changed since you used X
[2021-08-23T15:03:54Z] <akira01> no problems
[2021-08-23T15:03:56Z] <testuser[m]> when did you last use X
[2021-08-23T15:03:59Z] <akira01> yeah
[2021-08-23T15:04:08Z] <testuser[m]> yeah is not a timeframe
[2021-08-23T15:04:30Z] <akira01> the last time is like when dylan put sway in repo
[2021-08-23T15:04:52Z] <testuser[m]> Lot of stuff has changed since then
[2021-08-23T15:04:58Z] <testuser[m]> wait
[2021-08-23T15:05:01Z] <testuser[m]> let me check the source
[2021-08-23T15:10:14Z] <testuser[m]> idk man
[2021-08-23T15:10:25Z] <testuser[m]> strace it once
[2021-08-23T15:10:43Z] <testuser[m]> strace webtorrent-cli bla bla > log 2>&1
[2021-08-23T15:13:48Z] <akira01> testuser[m]: some solution?
[2021-08-23T15:14:14Z] <testuser[m]> Check logs
[2021-08-23T15:14:19Z] <testuser[m]> I asked you to strace it
[2021-08-23T15:14:54Z] <akira01> when i get see logs for node stuff?
[2021-08-23T15:15:26Z] <testuser[m]> what
[2021-08-23T15:15:52Z] <akira01> u mean i need to check logs for webtorrent
[2021-08-23T15:16:02Z] <akira01> i dont know where the logs are
[2021-08-23T15:16:10Z] <akira01> i tried to look yesterday
[2021-08-23T15:16:23Z] <testuser[m]> No 
[2021-08-23T15:16:34Z] <testuser[m]> I said, just strace it with the argumsnts that cause it to segfault
[2021-08-23T15:16:44Z] <testuser[m]> strace webtorrent-cli bla bla > stracelog 2>&1
[2021-08-23T15:16:44Z] <akira01> okay
[2021-08-23T15:20:23Z] <acheam> hi illiliti 
[2021-08-23T15:21:08Z] <mps> illiliti: I've built eiwd on alpine, works fine.
[2021-08-23T15:22:27Z] <acheam> any reason why it wouldn't? The alpine toolchain is very similar to kiss
[2021-08-23T15:22:33Z] <mps> only not sure should I patch it to use different paths (dirs) for /etc/iwd and /var/lib/iwd, to be co-installable with 'real' iwd
[2021-08-23T15:23:11Z] <mps> acheam: yes, didn't expected there will be any serious problem
[2021-08-23T15:24:34Z] <mps> my dilemma now is should I make iwd adn eiwd installable together or simply make them conflicting pkgs so only one can be installed
[2021-08-23T15:24:51Z] <mps> there are pros and cons for both idea
[2021-08-23T15:25:48Z] <omanom> my first instinct is to mark them conflicting.  is there any reason someone would have them installed at the same time?
[2021-08-23T15:26:52Z] <mps> omanom: well. strange but yes. sometimes I travel around and having iwctl working is useful thing
[2021-08-23T15:27:16Z] <testuser[m]> why would someone use eiwd though, if they don't have an issue with dbus
[2021-08-23T15:27:23Z] <mps> but mostly I use my boxes at home so eiwd is quite enough
[2021-08-23T15:27:39Z] <testuser[m]> if you have regular iwd installed anyway, then i dont see an advantage
[2021-08-23T15:28:17Z] <mps> testuser[m]: I don't like dbus and I don't like it to run always on my boxes
[2021-08-23T15:29:26Z] <mps> I'm 'fighting' for minimum software on machines
[2021-08-23T15:30:38Z] <mps> anyway, thought to write simple shell script to use 'iw scan' and get list of available APs in range
[2021-08-23T15:30:40Z] <omanom> how hard would implementing a iwctl for eiwd be?  does iwctl give you anything beyond an "easier" way to manipulate configuration files?
[2021-08-23T15:30:52Z] <acheam> iwctl heavily uses dbus IIRC
[2021-08-23T15:31:06Z] <mps> acheam: right
[2021-08-23T15:31:20Z] <omanom> sure, but the actual functionality of the tool... like what user actions does it expose and do those actions have a non-dbus equivalent
[2021-08-23T15:31:47Z] <acheam> idk, never used it
[2021-08-23T15:32:05Z] <mps> omanom: iwd 'exports' all data over dbus
[2021-08-23T15:33:12Z] <mps> I asked upstream to add option to control iwd over socket or something else but that idea is strongly denied by them
[2021-08-23T15:33:46Z] <omanom> is there another way to see the data needed to perform the actions that iwctl exposes?
[2021-08-23T15:34:03Z] <mps> afaik dbus only
[2021-08-23T15:34:41Z] <mps> and I don't want to fork iwd to have such option
[2021-08-23T15:35:58Z] <omanom> so like iwctl allows you to list wireless devices, scan for networks (and display the results), and connect/disconnect to networks.  
[2021-08-23T15:36:18Z] <omanom> the connect/disconnect can be done by manipulating configuration files, there's no need for dbus
[2021-08-23T15:36:19Z] <mps> omanom: right
[2021-08-23T15:36:28Z] <omanom> list wireless devices can be done
[2021-08-23T15:37:25Z] <mps> iw with some shell scripts can do these things
[2021-08-23T15:37:32Z] <omanom> what about scanning for networks -- is there any way on a machine using eiwd to see available networks?
[2021-08-23T15:37:56Z] <mps> no iiuc
[2021-08-23T15:38:54Z] <omanom> and that's probably the function of iwctl that's most useful when on travel
[2021-08-23T15:39:07Z] <mps> yes
[2021-08-23T15:40:59Z] <mps> omanom: fyi, there is also iwgtk tool, you guess it is gui for iwd
[2021-08-23T15:45:00Z] <illiliti> omanom: you need iw command
[2021-08-23T15:45:08Z] <illiliti> ssu iw dev wlan0 scan -u | grep SSID:
[2021-08-23T15:49:49Z] <omanom> can iw be used on a KISS Linux machine?
[2021-08-23T15:50:16Z] <illiliti> yes, why not
[2021-08-23T15:50:53Z] <omanom> so you can use iw in addition to eiwd and then you'd have wireless scanning capability right?
[2021-08-23T15:51:17Z] <omanom> so iwctl no longer needed
[2021-08-23T15:52:05Z] <illiliti> yes
[2021-08-23T15:52:46Z] <omanom> i like that "solution" better than installing iwd alongside eiwd just to get iwctl
[2021-08-23T15:55:37Z] <mps> i'm thinking to 'wrap' iw scan in perl script to print scan result in little nicely format
[2021-08-23T15:57:33Z] <mps> thank you all for 'brainstorming', I will make iwd and eiwd confliting pkgs on alpine
[2021-08-23T15:57:58Z] <illiliti> s/perl/shell/
[2021-08-23T15:57:58Z] <cotangent> <illiliti> yes
[2021-08-23T15:58:03Z] <illiliti> perl is overkill
[2021-08-23T15:58:19Z] <mps> I'm lot better in perl than in shell
[2021-08-23T15:59:04Z] <mps> but yes, shell with dialog looks 'atractive' to try
[2021-08-23T16:00:56Z] <illiliti> omanom: https://envs.sh/Md.tar
[2021-08-23T16:02:42Z] <omanom> is libnl the only depends?
[2021-08-23T16:03:31Z] <illiliti> +
[2021-08-23T16:41:13Z] <omanom> @mps got off my lazy butt and installed from that archive, can confirm it builds and works on my laptop at least :)
[2021-08-23T16:57:21Z] <acheam> hi jess 
[2021-08-23T16:57:29Z] <jess> good morning
[2021-08-23T17:02:27Z] <micro_O> really appreciate all the package documentation / readme stuff
[2021-08-23T17:03:04Z] <micro_O> I am slightly meh on the 'draw an ascii box around terminal stuff' as it sometimes includes commands to run, sometimes includes text to ignore, etc
[2021-08-23T17:03:45Z] <micro_O> but 100x to having local-first (in-repo) documentation, and making that documentation accessible via http, or filesystem/cli
[2021-08-23T17:47:09Z] <mps> omanom: didn't understood, you installed eiwd on kiss or you built it from the source directly?
[2021-08-23T17:48:25Z] <omanom> i already had eiwd installed, i downloaded the iw .tar you linked earlier and built iw from that and confirmed it allowed me to scan for wireless networks
[2021-08-23T17:53:04Z] <mps> omanom: I didn't linked this iw.tar, illiliti did it
[2021-08-23T17:53:31Z] <omanom> oof sorry, my fault
[2021-08-23T17:53:38Z] <omanom> thank you illiliti
[2021-08-23T17:53:50Z] <mps> np
[2021-08-23T18:17:15Z] <acheam> omfg I swear this headline isn't sarcasm
[2021-08-23T18:17:18Z] <acheam> "They’ve finally done it! Kali on WSL! Windows just keeps getting better."
[2021-08-23T18:17:33Z] <akira01> testuser[m]: 
[2021-08-23T18:17:36Z] <acheam> this is what I get for deciding to browse medium
[2021-08-23T18:17:40Z] <akira01> i get the logs
[2021-08-23T18:18:00Z] <acheam> then share them?
[2021-08-23T18:18:04Z] <testuser[m]> Send
[2021-08-23T18:18:09Z] <akira01> yeap
[2021-08-23T18:18:11Z] <akira01> just sec
[2021-08-23T18:18:13Z] <testuser[m]> acheam: lol how is it windows getting better if you're just gonna run loonix on them
[2021-08-23T18:18:13Z] <testuser[m]> it
[2021-08-23T18:19:50Z] <acheam> tbf that headline sounds like something I would have said a few years ago
[2021-08-23T18:24:27Z] <akira01> Gosh
[2021-08-23T18:24:48Z] <akira01> some pastebin option to a 35K lines file?
[2021-08-23T18:25:03Z] <acheam> envs.sh
[2021-08-23T18:25:04Z] <acheam> ix.io
[2021-08-23T18:25:10Z] <acheam> termbin.com
[2021-08-23T18:25:13Z] <acheam> 0x0.s
[2021-08-23T18:25:17Z] <acheam> 0x0.st
[2021-08-23T18:25:26Z] <akira01> 3 of these not give me the link 
[2021-08-23T18:25:37Z] <akira01> Or get segmentation fault
[2021-08-23T18:26:26Z] <akira01> yep now is all the links
[2021-08-23T18:27:01Z] <acheam> well how big is the file
[2021-08-23T18:27:19Z] <acheam> in *bytes, not lines
[2021-08-23T18:27:59Z] <acheam> cant hurt to gzip it
[2021-08-23T18:28:29Z] <akira01> 2.5M
[2021-08-23T18:28:47Z] <acheam> shouldnt be an issue then...
[2021-08-23T18:28:55Z] <akira01> yeah
[2021-08-23T18:28:59Z] <akira01> strange
[2021-08-23T18:29:11Z] <akira01> maybe is the number of lines
[2021-08-23T18:30:26Z] <omanom> how are you trying to post the files?
[2021-08-23T18:30:46Z] <omanom> what's the command that you're using?  the sites all give examples of how to use them
[2021-08-23T18:33:07Z] <akira01> the command how is in the website
[2021-08-23T18:33:15Z] <akira01> just cp paste
[2021-08-23T18:33:18Z] <akira01> all sites
[2021-08-23T18:33:25Z] <akira01> works with other archives
[2021-08-23T18:33:27Z] <akira01> not this
[2021-08-23T18:33:38Z] <akira01> and i gzip now
[2021-08-23T18:33:49Z] <akira01> how can i send?
[2021-08-23T18:34:06Z] <dilyn> 0x0.st supports uploading arbitrary files 
[2021-08-23T18:34:20Z] <akira01> okay
[2021-08-23T18:34:42Z] <acheam> if curl is too difficult for you, envs.sh has an upload button
[2021-08-23T18:36:35Z] <akira01> https://envs.sh/MF.gz
[2021-08-23T18:36:51Z] <akira01> strange, with buttom works and without it segmentation fault
[2021-08-23T18:37:28Z] <acheam> wowee
[2021-08-23T18:49:07Z] <mps> illiliti: I'm finishing eiwd for alpine, want to add https://github.com/kisslinux/repo/blob/master/extra/eiwd/files/iwd_passphrase to pkg. what about license in it and do you agree we can ship it
[2021-08-23T18:49:52Z] <acheam> noocsharp: congrats on finishing the summer of pinephone
[2021-08-23T18:50:15Z] <acheam> ngl I got a shock realizing that the summer is almost over when seeing the conclusion article
[2021-08-23T18:55:17Z] <illiliti> mps: LGPL - https://github.com/dylanaraps/eiwd/raw/master/iwd_passphrase
[2021-08-23T18:55:35Z] <illiliti> but i guess it's better to ask Dylan to clarify license status
[2021-08-23T18:56:49Z] <mps> illiliti: ok
[2021-08-23T18:57:23Z] <mps> dilyn: ?
[2021-08-23T18:57:49Z] <illiliti> dilyn != dylan :)
[2021-08-23T18:58:09Z] <mps> ah, sorry
[2021-08-23T18:58:40Z] <mps> anyway, eiwd is LGPL already, so I think there is no problem
[2021-08-23T19:00:05Z] <dilyn> dylan almost always licenses MIT so you can always just rerelease LGPL anyways
[2021-08-23T19:02:35Z] <mps> ianal so I'm always feared of such things
[2021-08-23T19:03:14Z] <dilyn> i mean it's certainly kind to get his blessing :)  
[2021-08-23T19:03:25Z] <mps> sure
[2021-08-23T19:04:41Z] <mps> (speaking someone whose works stolen some times attributed to someone else and never tried to force changes)
[2021-08-23T19:39:16Z] <akira01> forget webtorrent guys
[2021-08-23T19:39:25Z] <akira01> found new nodeshit
[2021-08-23T19:39:33Z] <akira01> peerflix do the work
[2021-08-23T19:42:22Z] <omanom> glad you found an alternative!
[2021-08-23T20:24:27Z] <Guest94> Anybody wanna tell me why [ -z "$string" ] and [ -n "$string" ] exist when you can just do [ "$string" ] and [ ! "$string" ]
[2021-08-23T20:25:39Z] <Guest94> :|
[2021-08-23T20:30:21Z] <GalaxyNova> posix is weird like that
[2021-08-23T20:39:36Z] <illiliti> -z and -n are more safer than just [ "$var" ] and [ ! "$var" ]
[2021-08-23T20:40:27Z] <Guest94> Why is it?
[2021-08-23T20:41:17Z] <illiliti> ... Unexpected results would occur if such a string expression were used and $1 expanded to '!', '(', or a known unary primary. ...
[2021-08-23T20:41:24Z] <illiliti> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
[2021-08-23T20:42:50Z] <Guest94> ok
[2021-08-23T21:24:57Z] <kyxor> Hi, I finally figured out how to make the stupid ssl tunnel work, god damn it and my mistake was trying to route it though the localhost, but for some reason that crap does not work
[2021-08-23T21:25:22Z] <kyxor> https://kyryl.tk/
[2021-08-23T21:25:46Z] <kyxor> this is very much under construction, but let me know if it loads fine for you
[2021-08-23T21:26:41Z] <kyxor> cause the weird part is that I can't open my own website from my server using https, but that's no big deal
[2021-08-23T21:28:19Z] <kyxor> I am running it on quark + hitch, very minimal in my opinion
[2021-08-23T21:30:14Z] <phoebos> lgtm
[2021-08-23T21:32:13Z] <acheam> looks good
[2021-08-23T22:07:14Z] <GalaxyNova> Oh cool
[2021-08-23T22:07:21Z] <GalaxyNova> the new website is out
[2021-08-23T22:07:28Z] <GalaxyNova> http://kisslinux.org
[2021-08-23T22:09:01Z] <micro_O> kyxor I think you can remove all the 'ws' classes by taking advantage of the word-spacing css property
[2021-08-23T22:11:25Z] <micro_O> something like @media (max-width: 1024px) { .hex { word-spacing: '-100%' } }
[2021-08-23T22:12:46Z] <kyxor> micro_O: thanks I'll try it
[2021-08-23T22:13:13Z] <micro_O> yeah it will take a bit of work since everything is inline
[2021-08-23T22:14:48Z] <Guest3> Need to redirect standard output to file which needs root permission. Tried sudo printf '%s\n' "text" > file buit didn't work. I know I can just run script as root but a lot depends on the user's environment so wondering if there's an easier way???
[2021-08-23T22:15:20Z] <Guest3> Err and tried doas too
[2021-08-23T22:16:22Z] <micro_O> Guest3 tee is your friend
[2021-08-23T22:16:46Z] <micro_O> it would be something like printf '%s\n' "text" | sudo tee -a file
[2021-08-23T22:16:52Z] <micro_O> if you want it to print to stdout as well
[2021-08-23T22:17:21Z] <micro_O> or `echo text | sudo tee file` 
[2021-08-23T22:19:05Z] <Guest3> ok
[2021-08-23T22:24:02Z] <Guest3> micro_O do you use sudo or doas
[2021-08-23T22:24:14Z] <Guest3> as a personal question, just wondering
[2021-08-23T22:26:49Z] <micro_O> Guest3 been using ssu
[2021-08-23T22:26:59Z] <micro_O> which had a better name back in the day but i cannot remember now
[2021-08-23T22:27:04Z] <micro_O> at least its easier to type now
[2021-08-23T22:27:09Z] <micro_O> i think it was sls before
[2021-08-23T22:27:13Z] <Guest3> Wondering if the tee command could be invoked without needing pass. Just for that specific file
[2021-08-23T22:27:23Z] <micro_O> with sudo, definitely
[2021-08-23T22:27:25Z] <micro_O> with doas, maybe
[2021-08-23T22:27:29Z] <micro_O> with ssu, definitely not
[2021-08-23T22:28:02Z] <Guest3> I tried doas but didn't get it working. The syntax is permit nopass USER cmd tee args [args]
[2021-08-23T22:28:24Z] <Guest3> The file from the script is shell variable so I am not sure...
[2021-08-23T22:28:25Z] <micro_O> if you need a user to be able to create a file in a particular directory, maybe its worth making that directory owned by a group that user is part of?
[2021-08-23T22:30:10Z] <micro_O> Guest3 have you tried making the tee command in doas.conf the full path to tee? something like /usr/bin/tee or whatever
[2021-08-23T22:30:23Z] <phoebos> ssu doesn't need a pass anyway :p
[2021-08-23T22:31:42Z] <Guest3> Ahh yeah in doas.conf I was putting the full path, but I guess it doesn't like the shell variable in the script so in the actual script I put the full path
[2021-08-23T22:32:06Z] <Guest3> Err the full path to the file not the command
[2021-08-23T22:32:17Z] <micro_O> sometimes i do a search like this to see what other folks do
[2021-08-23T22:32:20Z] <micro_O> https://github.com/search?q=permit+nopass+tee&type=code
[2021-08-23T22:32:42Z] <micro_O> looks like unbound has some scripts with comments on how to do it, thats nie
[2021-08-23T22:33:38Z] <micro_O>     permit nopass Guest3 as root cmd tee args /path/to/file
[2021-08-23T22:33:58Z] <micro_O> but if the script has argv[1] set to "relative/path/to/file" i am not sure if it will match
[2021-08-23T22:36:20Z] <Guest3> The command in the script in doas tee "${path}/file" but if I put the full path "/path/to/file" it works. 
[2021-08-23T22:37:56Z] <Guest3> Ok i got it working with the var too. It has to be exact with no extra slashes
[2021-08-23T23:06:32Z] <micro_O> cute youtube client https://github.com/pystardust/ytfzf
[2021-08-23T23:07:01Z] <Guest3> That's what I am using currently
[2021-08-23T23:07:26Z] <Guest3> Only issue I found was that thumbnail doesn't work with st if you have the swallow patch
[2021-08-23T23:07:44Z] <micro_O> #patchlife
[2021-08-23T23:14:57Z] <acheam> yeah images in the terminal are always shaky
[2021-08-23T23:16:19Z] <acheam> actually they're using ueberzug so not as shaky as w3m