<asdfhjkl>
is this the primary comms location now days?
<wael_>
this is kiss community
<wael_>
we have uh
<wael_>
dilyn:
<wael_>
dylan has dissapeared i think
<testuser[m]>
Hi
<asdfhjkl>
ello
<asdfhjkl>
> dylan has dissapeared i think
<asdfhjkl>
AGAIN
<asdfhjkl>
Hope he's well
<asdfhjkl>
i love that this project just keeps going, that's how he made it to be
phinxy has quit [Read error: Connection reset by peer]
phinxy has joined #kisslinux
phinxy has quit [Client Quit]
phinxy has joined #kisslinux
rohan has quit [Read error: Connection reset by peer]
noocsharp has quit [Remote host closed the connection]
rohan has joined #kisslinux
asdfhjkl has quit [Quit: Client closed]
rohan has quit [Ping timeout: 260 seconds]
heartburn has quit [Ping timeout: 255 seconds]
heartburn has joined #kisslinux
aelspire has joined #kisslinux
<wael_>
linux 6.1 is out
<wael_>
which i assume means the bash patch is in position
<wael_>
testuser: why is gnu patch and gpu grep so much faster than busybox's
chomwitt has quit [Ping timeout: 256 seconds]
<testuser[m]>
cuz such programs are based heavily algorithms
<testuser[m]>
so it'll vary wildly implementation to implementation
<testuser[m]>
gnoo grep uses boyer moore string search and busybox probably uses something thats slow but compact in terms of code size
chomwitt has joined #kisslinux
aelspire has quit [Quit: aelspire]
aelspire has joined #kisslinux
<midfavila>
muh algoos
<midfavila>
need to learn more about them gosh
<midfavila>
phoebos you're like a math nerd or w/e
<midfavila>
let me eat your brain so i can gain your powers
fdkol3 has joined #kisslinux
<wael_>
what the fuck did i just read
<midfavila>
:3
sad_plan has joined #kisslinux
<sad_plan>
o/
<aelspire>
Hi
<midfavila>
hi
<aelspire>
After weeks of using less to read man pages on KISS linux I noticed that it doesn't support colors
<aelspire>
is it true?
<sad_plan>
gnu less does, but iirc busybox does not
<aelspire>
ah ok
<midfavila>
greenwoodsoftware less also does
<aelspire>
but considering fact it took so much time for me to notice lack of colors I think this is not needed
<aelspire>
but still I like my terminal to look christmasy
<sad_plan>
midfavila: btw, I found a patch to get cmus to work with netbsd-curses. if thats of any interest of you. iirc you were considering using that instead of ncurses
<midfavila>
i've been using it for a while as my curses implementation
<midfavila>
i don't use cmus, but if you pass the patch along i'll put it in my repos, assuming cmus builds with tcc
<aelspire>
is there any alternative pager that do not require many deps?
<midfavila>
aelspire: more or pg
<sad_plan>
aelspire: its not. but some users do want it though.
<aelspire>
I dont like more
<midfavila>
then you won't like pg
<aelspire>
I'm checking pg
<sad_plan>
aelspire: cat :p
<sad_plan>
and head and tail
<aelspire>
I've tried to use bat for it
<sad_plan>
isnt bat written in rust?
<aelspire>
it has nice syntax highlighters
<midfavila>
if it's any consolation, aelspire, i intend to write my own pager soon
<midfavila>
"least"
<aelspire>
yup bat is written in rust
<midfavila>
explicit goal is minimal dependencies
<midfavila>
(but also minimal features so)
<aelspire>
will it have colors?
<midfavila>
no
<midfavila>
featureset will be "it pages text"
<aelspire>
well
<midfavila>
although considering i intend to use curses it shouldn't be hard to add color support down the line
<aelspire>
unix way would be pipe output to some highlighter which will add colors and then pipe it to pager i think
<aelspire>
so if pager will not mangle escape codes
<midfavila>
considering colors are managed by the terminal emulator idk if that would work
<midfavila>
like, programs emit color control based on the contents of TERM
<midfavila>
and your terminal emulator interprets it
<midfavila>
and that's kind of the end of it
<midfavila>
at least afaik
<midfavila>
i'm no expert
<aelspire>
so if pager doesn't strip escape codes it should work
<midfavila>
perhaps! i don't know much about curses programming yet, or about terminals
<midfavila>
that's partially why i intend to write least
<sad_plan>
wut, sbase tar errors out on 'unsupported tar-filetype L' on latest python tarball. which is just a regular tar.xz file. strange
<aelspire>
well, I'm intending to write my own pinentry for gpg as the ones existing are quirky…
<wael_>
<aelspire> "unix way would be pipe output to..." <- one of those 'colorizers' was ccze but thats abandoned
<midfavila>
lmao holy shit
<midfavila>
i've just about got redirect working in the next apportate prototype
<midfavila>
like, http redirect
<midfavila>
i mean it's shit rn but it *works*
<midfavila>
i'm thinking of copying bearssl's idea of using OO in C to allow for cleaner code and easier extensibility
<aelspire>
how bearssl used OO?
<aelspire>
"parent" struct as first field in "child" struct?
<aelspire>
and then casting pointers?
<midfavila>
i'm not entirely sure of the technical details, as i've not looked at bearssl's source in-depth, nor do i have any experience with OO
<midfavila>
but I intend to research both before making a decision
<midfavila>
right now a lot of apportate's main routine is just branching based on what protocol is in use -- if i could use a function pointer to refer to a structure containing the necessary function and its associated data, i could eliminate basically all of those redundant branches
<midfavila>
which would make the program much easier to reason about, much smaller, and probably a little faster, too, although that's less of a concern
<midfavila>
it'd also make it easier to extend :D
<aelspire>
I'm looking into bearssl
<midfavila>
:+1:
<aelspire>
I was modifying modbus library in the past
<aelspire>
to support more instances than 1 global for our device
<aelspire>
and I feel my solution of casting pointers are less than optimal
<aelspire>
but C has its flaws so maybe threre is no better solution
<midfavila>
i can usually fit weird shit into my machine as long as it's not webshit
<midfavila>
but like, just use IRC
<midfavila>
bitreich does it, suckless does it
<aelspire>
forum for me
<aelspire>
I like search option
<midfavila>
forums or a mailing list are a good option but IRC is essential
<aelspire>
IRC is nice, I was missing much refusing to use it in the past
<aelspire>
I had minimal expirience with IRC untill now
<aelspire>
man, dbus again is haunting me
<aelspire>
there is only one software that I consider truly malicious in OSS space and this is systemd
<aelspire>
but dbus is close
<aelspire>
I'm usually stopping myself from bitching about other people having fun even if they are writting electron apps
<aelspire>
but man, who thought that JAVA like OO desing is required for message bus?
rohan has joined #kisslinux
rohan has quit [Ping timeout: 265 seconds]
midfavila has quit [Read error: Connection reset by peer]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 252 seconds]
rohan has joined #kisslinux
<phoebos>
damn i missed mid
<phoebos>
none of them are in, but noocsharp and dilyn are better mathematicians than i
rohan has quit [Ping timeout: 256 seconds]
midfavila has joined #kisslinux
rohan has joined #kisslinux
rohan has quit [Ping timeout: 256 seconds]
rohan has joined #kisslinux
rohan has quit [Read error: Connection reset by peer]
rohan has joined #kisslinux
<midfavila>
will release a maybe production ready beta of apportate later today
rohan has quit [Read error: Connection reset by peer]
<midfavila>
just ironing out a few kinks in the redirect following rn
<midfavila>
we're still at around 50% the size of hurl in terms of both source and binary, yet feature parity is just about there
<midfavila>
...actually, if I can find the link to it again, I might be able to say that apportate has more features
<midfavila>
yeah looks like it at this point
<midfavila>
most of the "features" of hurl just modify internal state, patching apportate to have all of those plus apportate's existing features would be trivial
rohan has joined #kisslinux
rohan has quit [Read error: Connection reset by peer]
rohan has joined #kisslinux
rohan has quit [Read error: Connection reset by peer]
rohan has joined #kisslinux
rohan has quit [Read error: Connection reset by peer]