ChanServ changed the topic of #kisslinux to: KISS Linux | https://kisslinux.org | logs: https://k1sslinux.org/irc#2.0 | please read: https://kisslinux.org/blog/20210711a
<Guest16> Ok
<acheam> iiuc
<acheam> not all platforms have /dev/fd/
<acheam> if you're just targeting linux though
<ang> just a heredoc without messing around with file descriptors should work
<Guest16> ok
<Guest16> acheam Were you talking about the one with paste
<Guest16> There's three snippets in that answer
<acheam> yes, the only i linked
<acheam> but as ang said pure heredocs should work?
<Guest16> acheam I solved it by putting parentheses around the while loop and echoing there
<Guest16> i didnt know about heredocs but it looks interesting
Guest16 has quit [Quit: Client closed]
mobinmob has quit [Quit: Connection closed for inactivity]
zenomat has quit [Ping timeout: 258 seconds]
zenomat has joined #kisslinux
zenomat has quit [Changing host]
zenomat has joined #kisslinux
<acheam> why tf does feh depend on libcurl
<rio6> I don't like feh, but haven't actually looked for alternatives :P
<msk[m]> sxiv?
<rio6> thanks, I'll try that
<msk[m]> If you were using feh for wallpapers, there's xwallpaper.
<acheam> just use xsetroot
<acheam> yeah I switched to sxiv
<msk[m]> you can use xsetroot for wallpapers? I'm trying xsetroot -bg "#000000" but nothing's happening
<msk[m]> same thing with -solid
<msk[m]> nvm it works when I kill xcompmgr
GalaxyNova has joined #kisslinux
<GalaxyNova> Hello
<acheam> hello
<testuser[m]> Hi
GalaxyNova has quit [Quit: Client closed]
<micro_O> :/ static kiss-find website goes from 250kb in 2 requests to 1Mb in 1 request. But 'usable' with no js
<micro_O> now also the search box will autocomplete package names, *without* javascript
gtms has joined #kisslinux
micro_O_ has joined #kisslinux
<rio6> how does that work?
micro_O has quit [Ping timeout: 272 seconds]
<acheam> datalist?
micro_O_ has quit [Ping timeout: 245 seconds]
konimex[m] has quit [Ping timeout: 245 seconds]
konimex[m] has joined #kisslinux
GalaxyNova has joined #kisslinux
<GalaxyNova> What's a sane backend web framework
<testuser[m]> netcat
<GalaxyNova> o k
<GalaxyNova> fr tho
<testuser[m]> For what kind of stuff
<testuser[m]> python bottle is good
<GalaxyNova> ah, thanks
<GalaxyNova> I'll look into it
GalaxyNova has quit [Quit: Whoooooshh]
barpthewire has quit [Remote host closed the connection]
barpthewire has joined #kisslinux
barpthewire has quit [Remote host closed the connection]
barpthewire has joined #kisslinux
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 240 seconds]
dilyn has quit [Quit: Connection closed]
micro_O has joined #kisslinux
aws has joined #kisslinux
aws has quit [Client Quit]
micro_O has quit [Ping timeout: 258 seconds]
gtms has quit [Remote host closed the connection]
yamchah2 has quit [Ping timeout: 250 seconds]
yamchah2 has joined #kisslinux
micro_O has joined #kisslinux
micro_O has quit [Remote host closed the connection]
konimex[m] has quit [Ping timeout: 245 seconds]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
yamchah2 has quit [Ping timeout: 256 seconds]
yamchah2 has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
konimex[m] has joined #kisslinux
konimex[m] has quit [Read error: Connection reset by peer]
<cot> acheam: to reply to your earlier messages, I did not
<cot> see the collapseos news, thanks for letting me know!
<acheam> konimex: you're bouncing
konimex[m] has joined #kisslinux
<acheam> cot: yep no problem
<konimex> yeah, the bnc server is having problem probably
<konimex> it's nighttime so will ssh to it tomorrow
<acheam> wait
<acheam> so konimex[m] is a bouncer
<acheam> and konimex is matrix?
<konimex> yep
<testuser[m]> lol
<acheam> thats not confusing at all
konimex[m] has quit [Client Quit]
<konimex> I'll shut down it for now
<konimex> alright there we go
<konimex> just have a look at /whois or even ctcp version to make sure if someone is connecting from matrix, don't know if matrix accepts ctcp though
<acheam> yeah i just whois
<acheam> shows @konimex:matrix.org
<acheam> it does accept ctcp
<acheam> interestingly ctcp-ing myself from my desktop client shows my phone client via my bouncer I guess
<konimex> a bouncer just forwards the request to the connected client if any (iirc), so if I ctcp version right now to you and you are connected to phone client and desktop client, it'll return both
yamchah2 has quit [Read error: Connection reset by peer]
yamchah2 has joined #kisslinux
<acheam> unrelated, but i've been thinking about building an SBC cluster
<acheam> probably 4 boards, 2 workers, 1 storage manager, and one entrypoint
<acheam> something that I could bring to college and not totally annoy a roommate with... I don't think my current rack-mount server setup would work well in a dorm room lol
<acheam> entrypoint could be combined with storage manager i gues
<omanom> i would keep them separate
<omanom> you run into weird things with SBC, like for example rpi3 uses the same bus for usb and ethernet
<acheam> oh thats weird
marw has joined #kisslinux
<acheam> i might use an odroid-c4
<acheam> hmm so that leaves the question: does the storage manager run ftpd, httpd, etc to serve its files directly, or does it just run nfs and then ftpd, etc, are run on the worker nodes
<omanom> in my opinion, those are fine to run on the storage manager. i just wouldn't want other traffic to be flowing through the device, which is what would happen if it served as an entry point
<acheam> hmm
<omanom> if you're looking to do a more realistic cluster then running stuff like ftpd/httpd/etc on the workers and only NFS on the storage manager probably makes more sense though
<acheam> thats probably what i'll end up doing
<acheam> given i'll be pxe booting off of it anyways
<omanom> bottlenecks will probably be bandwidth of your entrypoint device and then the write speed of whatever storage media you use
<acheam> storage media will likely be a sata ssd connecting via periodically backing up to the The Cloud(tm), so not too worried about storage speed. bandwidth of entry device will definitely be the issue
<acheam> might just be running off of college wi-fi
<acheam> so im expecting just a few megs up/down
yamchah2 has quit [Ping timeout: 252 seconds]
dilyn has joined #kisslinux
<dilyn> acheam et al: cha boi got the job
<acheam> woohoo congrats!
<acheam> what is the job again? some iot thing?
<acheam> did the ceo hire you on the spot?
<dilyn> associate field engineer for IoT things
<dilyn> he said I was okay lmao
<dilyn> he didn't say 'no' which is good considering how poorly the interview went xD
<acheam> how big is the company? seems like a relatively small role for interviewing with the CEO
<dilyn> it's ~700 people
yamchah2 has joined #kisslinux
<acheam> oh wow
<dilyn> interviewed with the CEO because the hiring manager just started last month so he wanted some feedback on the candidates he was looking at
<acheam> oof
<dilyn> big oof, big excite
<acheam> so what will you actually be doing?
<dilyn> it's like a pre sales sort of position
<dilyn> identifying the needs of clients and recommending how they can use our product to accomplish their goals etc etc
<acheam> nice
<dilyn> yeah i'm heckin' excited
<acheam> so when do you tell your current boss?
<dilyn> they offered me twice what I currently make soooooOOOOOOOO
<acheam> damn
<dilyn> I'll be letting him know next week after I get the a-okay from HR/finance/etc and have a firm accepted offer haha
<acheam> oh
<dilyn> yeah damn indeed. finally I'll be making money worth my degrees
<acheam> dont count your chickens before they're hatched
<dilyn> exactly
<acheam> an iot job worth your philosiphy degree?
<dilyn> still need to pay rent lmao
<dilyn> hey philosophy will carry you far ;)
<omanom> congrats! that's good news!
<dilyn> tyty :) it's wonderful news
Guest74 has joined #kisslinux
<testuser[m]> Nice
<msk[m]> testuser, I used kyxor's chromium package like your recommended, but now I get http://0x0.st/-4lp.txt
<acheam> lol recursive inlining
<acheam> what a time we live in
<testuser[m]> You're running out of memory
<testuser[m]> There's nothing failing
<testuser[m]> I hope you used ccache
<testuser[m]> Oh
<testuser[m]> Wait
<testuser[m]> Weird, never seen that one
<omanom> the rollercoaster of reading traceback XD
<msk[m]> should I report it to kyxor's repo, then? I thought running out of RAM was something like "g++: fatal error: Killed signal terminated program cc1plus"
<testuser[m]> Idk, nothing changed in their repo except for xorg flags so it should work
<msk[m]> then I guess I'll try again with -j1 just in case
<Guest74> ok
davidv7 has joined #kisslinux
<dilyn> let us know in seventeen days when the build finishes...
<acheam> you could try the chromium from asd
<acheam> i haven't had problems with it
<acheam> although actually it might not build with gcc
<testuser[m]> bruh j1
<testuser[m]> This shouldn't be related to it at all tho
<Guest74> Solution use Firefox
<acheam> you don't build in/tmp right?
<msk[m]> Firefox compiled fine but was really slow, also I don't like ~/.mozilla
<msk[m]> no I don't acheam
<acheam> KISS_DEBUG should also print the values of KISS_* variables
<acheam> would make debugging easier
<msk[m]> isn't that the same as `env | grep KISS`?
<acheam> yes
<acheam> grep '^KISS_'
<msk[m]> I don't use anything special http://0x0.st/-4l3.txt
yamchah2 has quit [Ping timeout: 240 seconds]
yamchah2 has joined #kisslinux
<testuser[m]> msk use bubblewrap to fix the ~/.pozilla problem
<testuser[m]> But ff is horribly slow compared to chromium
<acheam> putting .mozilla in ~/.config still isn't great
<acheam> better in ~/.local/share IMO
<acheam> what is ~/Downloads/firefox?
yamchah2 has quit [Ping timeout: 268 seconds]
<msk[m]> I have a script for moving directories before running a program, it's just annoying to need to worry about
yamchah2 has joined #kisslinux
<msk[m]> s/before/before and after/
<cotangent> <msk[m]> I have a script for moving directories before and after running a program, it's just annoying to need to worry about
<msk[m]> sorry for bothering you folks
<msk[m]> maybe I just need to find a new qt5-webengine browser, I have annoyances with falkon and qutebrowser requires too many py* dependencies
<Guest74> ang Hi again need help with POSIX sh. Is there a way to do case statement fall through. ;& is bash
<testuser[m]> acheam: just so i don't need to mount my whole downloads folder, create a subfolder there and Mount it instead
<Guest74> I can't find anything on stack overflow
<testuser[m]> you can do val1|val2 but idk if thats what you want
<testuser[m]> val1|val2|val3) something ;;
<msk[m]> fallthrough? like a default option?
<acheam> *)
<acheam> Guest74:
<Guest74> Well I have an if statement in a specific case and if it fails I want it to fall to the next option
<acheam> oh
<acheam> yeah i dont think you can do that
<Guest74> I could probably restructure it but was just wondering
<acheam> you can just use if's though
<Guest74> alright
<msk[m]> why not something like http://0x0.st/-4l7.txt
<Guest74> I was using the case statement because I did have a bunch of var1|var2|var3 stuff
<msk[m]> s/something like/something like (forgive the typos)/
<cotangent> <msk[m]> why not something like (forgive the typos) http://0x0.st/-4l7.txt
mahmutov has joined #kisslinux
micro_O has joined #kisslinux
<micro_O> thought this was a fun short read on configuration https://matt-rickard.com/heptagon-of-configuration/
<jslick> congrats dilyn!
<dilyn> thx jslick :)
<dilyn> Guest74: why not something like case foo) cmd || cmd_on_fail ;; ?
<Guest74> ok
Guest74 has quit [Ping timeout: 246 seconds]
Scarecr0w has joined #kisslinux
Scarecr0w has left #kisslinux [WeeChat 3.2]
jslick has quit [Ping timeout: 276 seconds]
<acheam> micro_O: interesting
GalaxyNova has joined #kisslinux
<acheam> i have a soft spot for using an interpreted language
<acheam> so sourcing a shell script if the program is shell, embedding lua into c programs, config.py for python programs
<acheam> etc
<acheam> even though its meh for security and can add weight
<acheam> that, or parsing an openbsd-format config file
<GalaxyNova> why
<acheam> why what
<GalaxyNova> oh nevermind
<acheam> ok
<rio6> what's openbsd-format
<micro_O> lua into c makes sense, it was super designed for that
<micro_O> theres a little bit of patterns around 'just use the damn language' instead of embedding dsl for javascript
<micro_O> i.e. instead of having app.config.yaml or app.config.json or app.config.dsl, just app.config.js
<micro_O> some languages have nice build-time-vs-runtime semantics (zig comptime comes to mind)
<micro_O> sourcing a shell script im meh on
jslick has joined #kisslinux
micro_O has quit [Ping timeout: 240 seconds]
mobinmob has joined #kisslinux
<acheam> app.config.json makes sense though
<acheam> it is the JavaScript Object Notation, after all
jslick has quit [Read error: Connection reset by peer]
jslick has joined #kisslinux
stilbruch has joined #kisslinux
jslick has quit [Ping timeout: 250 seconds]
jslick has joined #kisslinux
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 256 seconds]
<noocsharp> if you're using not using c preprocessor macros for everything, you're doing it wrong
<dilyn> write your entire program using CPP macros
<noocsharp> yes, then your entire program is done executing at compile time
<noocsharp> tbh i actually like the zig/jai compile-time code execution stuff
<GalaxyNova> Anyone got docker running on kiss?
<dilyn> there's a cpt repo for it somewhere
<dilyn> i think it's just under cem's github
<noocsharp> i wonder how hard it would be to get sign git commits with signify
<noocsharp> s/get sign/sign/
<cotangent> <noocsharp> i wonder how hard it would be to sign git commits with signify
<dilyn> probably not impossible
<dilyn> i think the easiest way, honestly, is to just slightly modify the code git uses
micro_O has joined #kisslinux
<micro_O> GalaxyNova I have a kiss-containers repo with podman working well
<micro_O> podman, buildah, podman-compose if you need that
<micro_O> two big benefits over docker: its daemonless, and rootless
<micro_O> there are a lot of knock-on benefits that come from those two
<micro_O> maybe i add 'similar to docker' in the description, so it shows up when you `kiss find docker` xD
<noocsharp> what do people do with docker on kiss out of curiosity?
<micro_O> some work stuff
<micro_O> build software in containers
<micro_O> test that my packages work in a clean root (probably could use kiss chroot for this, but sometimes i want to develop while i am on machines that dont have chroot)
<noocsharp> ah
<micro_O> noocsharp I use it in kiss-ci as well, which I have been meaning to turn into a github action
<micro_O> kiss ci builds binaries from packages for me
<micro_O> both as a test, and so i can use some else's cpu to build if i want
<micro_O> here is how the container image is built: https://github.com/jedahan/kiss-testing/blob/main/base.sh
<noocsharp> cool
<acheam> your script has a boston accent
<acheam> "buildah"
<acheam> ha someone made a github issue about that
<acheam> on containers/buildah
micro_O has quit [Ping timeout: 250 seconds]
kyxor has joined #kisslinux
<kyxor> :msk[m]: I have not tested chromium build (forgot to put on other rig), been too busy adding pikevm, to neatvi which is almost done now, 100% compatibility except the bracket lookahead feature. when I am completely done I'll get back to the repo maintenance, get everything tested, etc.
<kyxor> but if you desperately need web browser, webkit works fine, I tested it
GalaxyNova has quit [Quit: Whoooooshh]
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 240 seconds]
micro_O has joined #kisslinux
Guest24 has joined #kisslinux
<Guest24> WTF is wrong with shellcheck var=$(($var $1 $2)) SC1102 Shells disambiguate $(( differently or not at all. For $(command substitution), add space after $( . For $((arithmetics)), fix parsing errors.
<kyxor> just drop that extra parenthesis (idk what you are trying to do)
<Guest24> $(( )) for arithmetic
<kyxor> you are not doing any arithmetic ?
<Guest24> the $1 would be a plus or minus and the $2 would the value added to var.
<kyxor> well idk what $1 and $2 are
<kyxor> oh just write + or - explicitly
<kyxor> like if ("+") $(($var + $2)) else $(($var - $2))
<Guest24> oh ok more typing
<kyxor> don't make it overlycompicated, KISS
<Guest24> i know i thought i was simplifying it
<kyxor> yeah, it's easier to read an if statement than trying to figure out what the hek $1 is or will be
<Guest24> it was specified the line above
<Guest24> but i see what u mean
<kyxor> also if anything about shells performance, varible substitution is going to be the slowest. busybox's ash implementation is very slow (because they are trying to be efficient on memory)
micro_O has quit [Ping timeout: 252 seconds]
<acheam> ang: how can i create an alias that starts with concatenating two variables with spaces in them?
<acheam> because in order for the alias to work it needs to be in double quotes
<acheam> but in order for the variable concatenation to work it needs to be in double quotes
<kyxor> when in doubt or alias does not work properly just make shell function instead
<acheam> i figured it out another way
<acheam> typing it out helped me figure it out
<kyxor> what is it?
<acheam> I just set the variable on another line
<acheam> stupidly simple
<Guest24> so wait doesn't use variable if you don't have to?
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 256 seconds]
micro_O has joined #kisslinux
<micro_O> acheam lets request dylan make a video on how to pronounce KISS Linux, like this https://www.youtube.com/embed/YVk5NgSiUw8
<micro_O> ^^ for buildah
<kyxor> bruh
<micro_O> how many people use discord here? i'd like to start streaming ad-hoc and 'privately' when i hack on kiss stuff (especially the website) and thats really the only place I know that makes it easy
<micro_O> like 4 people join a room and only they can see the stream
<micro_O> well them and whoever makes Discord xD
<micro_O> if anyone has an alternative that would be cool
Guest24 has quit [Quit: Ping timeout (120 seconds)]
<acheam> micro_O i do, but im not a fan of it
<acheam> why not peertube?
<kyxor> I have not used discord in a year
<kyxor> I felt so much better after dropping it
<micro_O> i thought peertube was for VODs, not streaming
<acheam> you can stream on it
<acheam> just like youtube or twitch
<micro_O> yeah i stream on twitch
<micro_O> i want something more personal, and 2-way
<micro_O> like, if i am working on the website and want input, its way easier for people to use voice
<micro_O> also its realtime
<micro_O> unlike twitch which has a big delay
<micro_O> (unless you are partnered, then small delay)
<micro_O> maybe peertube is better for that
<rio6> something like jitsi works?
<micro_O> jitsi meet would work well, yeah
<micro_O> maybe with a bridge to this irc channel to show which people are in the jitsi instance
<micro_O> i'll try and set that up
<acheam> peertube doesnt have bad delay
<acheam> ddevault sometimes streams on peertube and uses irc for chat
<acheam> you can have a convo
<acheam> also owncast is a thing
<kyxor> depends on sysmted? lol