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

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

[2021-08-06T00:00:27Z] <Guest16> Ok
[2021-08-06T00:00:28Z] <acheam> iiuc
[2021-08-06T00:00:45Z] <acheam> not all platforms have /dev/fd/
[2021-08-06T00:00:55Z] <acheam> if you're just targeting linux though
[2021-08-06T00:01:17Z] <acheam> https://unix.stackexchange.com/a/639752 works
[2021-08-06T00:01:35Z] <ang> just a heredoc without messing around with file descriptors should work
[2021-08-06T00:01:50Z] <Guest16> ok
[2021-08-06T00:03:56Z] <Guest16> acheam Were you talking about the one with paste
[2021-08-06T00:04:12Z] <Guest16> There's three snippets in that answer
[2021-08-06T00:04:54Z] <acheam> yes, the only i linked
[2021-08-06T00:05:03Z] <acheam> but as ang said pure heredocs should work?
[2021-08-06T00:14:02Z] <Guest16> acheam I solved it by putting parentheses around the while loop and echoing there
[2021-08-06T00:14:18Z] <Guest16> i didnt know about heredocs but it looks interesting
[2021-08-06T01:36:41Z] <acheam> why tf does feh depend on libcurl
[2021-08-06T01:47:38Z] <rio6> I don't like feh, but haven't actually looked for alternatives :P
[2021-08-06T01:48:01Z] <msk[m]> sxiv?
[2021-08-06T01:48:34Z] <rio6> thanks, I'll try that
[2021-08-06T01:49:32Z] <msk[m]> If you were using feh for wallpapers, there's xwallpaper.
[2021-08-06T02:01:22Z] <acheam> just use xsetroot
[2021-08-06T02:01:42Z] <acheam> yeah I switched to sxiv
[2021-08-06T02:20:59Z] <msk[m]> you can use xsetroot for wallpapers? I'm trying xsetroot -bg "#000000" but nothing's happening
[2021-08-06T02:29:40Z] <msk[m]> same thing with -solid
[2021-08-06T02:31:23Z] <msk[m]> nvm it works when I kill xcompmgr
[2021-08-06T03:17:58Z] <GalaxyNova> Hello
[2021-08-06T03:18:17Z] <acheam> hello
[2021-08-06T03:51:37Z] <testuser[m]> Hi
[2021-08-06T04:15:00Z] <micro_O> :/ static kiss-find website goes from 250kb in 2 requests to 1Mb in 1 request. But 'usable' with no js
[2021-08-06T04:16:32Z] <micro_O> now also the search box will autocomplete package names, *without* javascript
[2021-08-06T04:43:03Z] <rio6> how does that work?
[2021-08-06T04:52:44Z] <acheam> datalist?
[2021-08-06T06:38:30Z] <GalaxyNova> What's a sane backend web framework
[2021-08-06T06:39:29Z] <testuser[m]> netcat
[2021-08-06T06:40:24Z] <GalaxyNova> o k
[2021-08-06T06:40:26Z] <GalaxyNova> fr tho
[2021-08-06T06:40:55Z] <testuser[m]> For what kind of stuff
[2021-08-06T06:41:19Z] <testuser[m]> python bottle is good
[2021-08-06T06:43:13Z] <GalaxyNova> ah, thanks
[2021-08-06T06:43:17Z] <GalaxyNova> I'll look into it
[2021-08-06T15:46:23Z] <cot> acheam: to reply to your earlier messages, I did not
[2021-08-06T15:46:34Z] <cot> see the collapseos news, thanks for letting me know!
[2021-08-06T15:46:54Z] <acheam> konimex: you're bouncing
[2021-08-06T15:47:06Z] <acheam> cot: yep no problem
[2021-08-06T15:47:31Z] <konimex> yeah, the bnc server is having problem probably
[2021-08-06T15:47:43Z] <konimex> it's nighttime so will ssh to it tomorrow
[2021-08-06T15:48:26Z] <acheam> wait
[2021-08-06T15:48:31Z] <acheam> so konimex[m] is a bouncer
[2021-08-06T15:48:34Z] <acheam> and konimex is matrix?
[2021-08-06T15:48:42Z] <konimex> yep
[2021-08-06T15:48:47Z] <testuser[m]> lol
[2021-08-06T15:49:02Z] <acheam> thats not confusing at all
[2021-08-06T15:49:45Z] <konimex> I'll shut down it for now
[2021-08-06T15:49:56Z] <konimex> alright there we go
[2021-08-06T15:52:12Z] <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
[2021-08-06T15:53:17Z] <acheam> yeah i just whois
[2021-08-06T15:53:22Z] <acheam> shows @konimex:matrix.org
[2021-08-06T15:53:52Z] <acheam> it does accept ctcp
[2021-08-06T15:54:47Z] <acheam> interestingly ctcp-ing myself from my desktop client shows my phone client via my bouncer I guess
[2021-08-06T15:56:21Z] <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
[2021-08-06T16:09:20Z] <acheam> unrelated, but i've been thinking about building an SBC cluster
[2021-08-06T16:09:40Z] <acheam> probably 4 boards, 2 workers, 1 storage manager, and one entrypoint
[2021-08-06T16:10:42Z] <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
[2021-08-06T16:14:58Z] <acheam> entrypoint could be combined with storage manager i gues
[2021-08-06T16:20:53Z] <omanom> i would keep them separate
[2021-08-06T16:21:32Z] <omanom> you run into weird things with SBC, like for example rpi3 uses the same bus for usb and ethernet
[2021-08-06T16:22:14Z] <acheam> oh thats weird
[2021-08-06T16:34:15Z] <acheam> i might use an odroid-c4
[2021-08-06T16:41:12Z] <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
[2021-08-06T16:42:27Z] <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
[2021-08-06T16:43:45Z] <acheam> hmm
[2021-08-06T16:45:06Z] <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
[2021-08-06T16:46:07Z] <acheam> thats probably what i'll end up doing
[2021-08-06T16:46:17Z] <acheam> given i'll be pxe booting off of it anyways
[2021-08-06T16:46:19Z] <omanom> bottlenecks will probably be bandwidth of your entrypoint device and then the write speed of whatever storage media you use
[2021-08-06T16:50:06Z] <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
[2021-08-06T16:50:18Z] <acheam> might just be running off of college wi-fi
[2021-08-06T16:50:27Z] <acheam> so im expecting just a few megs up/down
[2021-08-06T16:54:52Z] <dilyn> acheam et al: cha boi got the job 
[2021-08-06T16:55:10Z] <acheam> woohoo congrats!
[2021-08-06T16:55:16Z] <acheam> what is the job again? some iot thing?
[2021-08-06T16:55:28Z] <acheam> did the ceo hire you on the spot?
[2021-08-06T16:55:30Z] <dilyn> associate field engineer for IoT things
[2021-08-06T16:55:40Z] <dilyn> he said I was okay lmao 
[2021-08-06T16:55:53Z] <dilyn> he didn't say 'no' which is good considering how poorly the interview went xD
[2021-08-06T16:55:55Z] <acheam> how big is the company? seems like a relatively small role for interviewing with the CEO
[2021-08-06T16:56:19Z] <dilyn> it's ~700 people
[2021-08-06T16:56:24Z] <acheam> oh wow
[2021-08-06T16:56:38Z] <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 
[2021-08-06T16:56:45Z] <acheam> oof
[2021-08-06T16:56:52Z] <dilyn> big oof, big excite 
[2021-08-06T16:56:54Z] <acheam> so what will you actually be doing?
[2021-08-06T16:57:03Z] <dilyn> it's like a pre sales sort of position 
[2021-08-06T16:57:17Z] <dilyn> identifying the needs of clients and recommending how they can use our product to accomplish their goals etc etc
[2021-08-06T16:57:30Z] <acheam> nice
[2021-08-06T16:57:37Z] <dilyn> yeah i'm heckin' excited 
[2021-08-06T16:57:46Z] <acheam> so when do you tell your current boss?
[2021-08-06T16:57:47Z] <dilyn> they offered me twice what I currently make soooooOOOOOOOO
[2021-08-06T16:57:51Z] <acheam> damn
[2021-08-06T16:58:06Z] <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
[2021-08-06T16:58:14Z] <acheam> oh
[2021-08-06T16:58:16Z] <dilyn> yeah damn indeed. finally I'll be making money worth my degrees
[2021-08-06T16:58:21Z] <acheam> dont count your chickens before they're hatched
[2021-08-06T16:58:26Z] <dilyn> exactly 
[2021-08-06T16:58:32Z] <acheam> an iot job worth your philosiphy degree?
[2021-08-06T16:58:33Z] <dilyn> still need to pay rent lmao
[2021-08-06T16:58:47Z] <dilyn> hey philosophy will carry you far ;)  
[2021-08-06T17:08:51Z] <omanom> congrats!  that's good news!
[2021-08-06T17:09:18Z] <dilyn> tyty :)  it's wonderful news 
[2021-08-06T17:17:51Z] <testuser[m]> Nice
[2021-08-06T17:19:51Z] <msk[m]> testuser, I used kyxor's chromium package like your recommended, but now I get http://0x0.st/-4lp.txt
[2021-08-06T17:24:10Z] <acheam> lol recursive inlining
[2021-08-06T17:24:14Z] <acheam> what a time we live in
[2021-08-06T17:24:48Z] <testuser[m]> You're running out of memory
[2021-08-06T17:24:53Z] <testuser[m]> There's nothing failing
[2021-08-06T17:24:56Z] <testuser[m]> I hope you used ccache
[2021-08-06T17:25:06Z] <testuser[m]> Oh
[2021-08-06T17:25:08Z] <testuser[m]> Wait
[2021-08-06T17:25:13Z] <testuser[m]> Weird, never seen that one
[2021-08-06T17:27:31Z] <omanom> the rollercoaster of reading traceback XD
[2021-08-06T17:28:21Z] <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"
[2021-08-06T17:30:03Z] <testuser[m]> Idk, nothing changed in their repo except for xorg flags so it should work
[2021-08-06T17:31:09Z] <msk[m]> then I guess I'll try again with -j1 just in case
[2021-08-06T17:31:33Z] <Guest74> ok
[2021-08-06T17:36:12Z] <dilyn> let us know in seventeen days when the build finishes... 
[2021-08-06T17:37:12Z] <acheam> you could try the chromium from asd
[2021-08-06T17:37:44Z] <acheam> i haven't had problems with it
[2021-08-06T17:38:16Z] <acheam> although actually it might not build with gcc
[2021-08-06T17:44:14Z] <testuser[m]> bruh j1
[2021-08-06T17:44:33Z] <testuser[m]> This shouldn't be related to it at all tho
[2021-08-06T17:45:10Z] <Guest74> Solution use Firefox
[2021-08-06T17:45:32Z] <acheam> you don't build in/tmp right?
[2021-08-06T17:45:40Z] <msk[m]> Firefox compiled fine but was really slow, also I don't like ~/.mozilla
[2021-08-06T17:45:53Z] <msk[m]> no I don't acheam
[2021-08-06T17:46:00Z] <acheam> KISS_DEBUG should also print the values of KISS_* variables
[2021-08-06T17:46:12Z] <acheam> would make debugging easier
[2021-08-06T17:46:50Z] <msk[m]> isn't that the same as `env | grep KISS`?
[2021-08-06T17:47:10Z] <acheam> yes
[2021-08-06T17:48:13Z] <acheam> grep '^KISS_'
[2021-08-06T17:48:56Z] <msk[m]> I don't use anything special http://0x0.st/-4l3.txt
[2021-08-06T17:58:35Z] <testuser[m]> msk use bubblewrap to fix the ~/.pozilla problem
[2021-08-06T17:59:00Z] <testuser[m]> https://git.git-bruh.duckdns.org/dotfiles/file/bin/firefox.html
[2021-08-06T17:59:46Z] <testuser[m]> But ff is horribly slow compared to chromium
[2021-08-06T18:06:18Z] <acheam> putting .mozilla in ~/.config still isn't great
[2021-08-06T18:06:26Z] <acheam> better in ~/.local/share IMO
[2021-08-06T18:07:11Z] <acheam> what is ~/Downloads/firefox?
[2021-08-06T18:07:28Z] <msk[m]> I have a script for moving directories before running a program, it's just annoying to need to worry about
[2021-08-06T18:10:41Z] <msk[m]> s/before/before and after/
[2021-08-06T18:10:42Z] <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
[2021-08-06T18:11:54Z] <msk[m]> sorry for bothering you folks
[2021-08-06T18:13:00Z] <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
[2021-08-06T18:15:17Z] <Guest74> ang Hi again need help with POSIX sh. Is there a way to do case statement fall through. ;& is bash
[2021-08-06T18:15:50Z] <testuser[m]> acheam: just so i don't need to mount my whole downloads folder, create a subfolder there and Mount it instead
[2021-08-06T18:15:55Z] <Guest74> I can't find anything on stack overflow
[2021-08-06T18:16:20Z] <testuser[m]> you can do val1|val2 but idk if thats what you want
[2021-08-06T18:16:33Z] <testuser[m]> val1|val2|val3) something ;;
[2021-08-06T18:16:56Z] <msk[m]> fallthrough? like a default option?
[2021-08-06T18:17:02Z] <acheam> *)
[2021-08-06T18:17:12Z] <acheam> Guest74: 
[2021-08-06T18:17:15Z] <Guest74> Well I have an if statement in a specific case and if it fails I want it to fall to the next option
[2021-08-06T18:17:38Z] <acheam> oh
[2021-08-06T18:18:07Z] <acheam> yeah i dont think you can do that
[2021-08-06T18:18:07Z] <Guest74> I could probably restructure it but was just wondering
[2021-08-06T18:18:12Z] <acheam> you can just use if's though
[2021-08-06T18:18:32Z] <Guest74> alright
[2021-08-06T18:18:45Z] <msk[m]> why not something like http://0x0.st/-4l7.txt
[2021-08-06T18:19:05Z] <Guest74> I was using the case statement because I did have a bunch of var1|var2|var3 stuff
[2021-08-06T18:19:44Z] <msk[m]> s/something like/something like (forgive the typos)/
[2021-08-06T18:19:45Z] <cotangent> <msk[m]> why not something like (forgive the typos) http://0x0.st/-4l7.txt
[2021-08-06T18:31:42Z] <micro_O> thought this was a fun short read on configuration https://matt-rickard.com/heptagon-of-configuration/
[2021-08-06T18:38:11Z] <jslick> congrats dilyn!
[2021-08-06T18:40:02Z] <dilyn> thx jslick :)  
[2021-08-06T18:41:21Z] <dilyn> Guest74: why not something like case foo) cmd || cmd_on_fail ;; ? 
[2021-08-06T18:51:32Z] <Guest74> ok
[2021-08-06T19:42:14Z] <acheam> micro_O: interesting
[2021-08-06T19:43:00Z] <acheam> i have a soft spot for using an interpreted language
[2021-08-06T19:43:27Z] <acheam> so sourcing a shell script if the program is shell, embedding lua into c programs, config.py for python programs
[2021-08-06T19:43:28Z] <acheam> etc
[2021-08-06T19:43:47Z] <acheam> even though its meh for security and can add weight
[2021-08-06T19:44:15Z] <acheam> that, or parsing an openbsd-format config file
[2021-08-06T19:44:52Z] <GalaxyNova> why
[2021-08-06T19:45:05Z] <acheam> why what
[2021-08-06T19:45:24Z] <GalaxyNova> oh nevermind
[2021-08-06T19:45:35Z] <acheam> ok
[2021-08-06T19:51:55Z] <rio6> what's openbsd-format
[2021-08-06T20:06:26Z] <micro_O> lua into c makes sense, it was super designed for that
[2021-08-06T20:07:09Z] <micro_O> theres a little bit of patterns around 'just use the damn language' instead of embedding dsl for javascript
[2021-08-06T20:07:42Z] <micro_O> i.e. instead of having app.config.yaml or app.config.json or app.config.dsl, just app.config.js 
[2021-08-06T20:07:58Z] <micro_O> some languages have nice build-time-vs-runtime semantics (zig comptime comes to mind)
[2021-08-06T20:08:48Z] <micro_O> sourcing a shell script im meh on
[2021-08-06T20:40:07Z] <acheam> app.config.json makes sense though
[2021-08-06T20:40:33Z] <acheam> it is the JavaScript Object Notation, after all
[2021-08-06T21:19:24Z] <noocsharp> if you're using not using c preprocessor macros for everything, you're doing it wrong
[2021-08-06T21:19:57Z] <dilyn> write your entire program using CPP macros 
[2021-08-06T21:20:50Z] <noocsharp> yes, then your entire program is done executing at compile time
[2021-08-06T21:22:39Z] <noocsharp> tbh i actually like the zig/jai compile-time code execution stuff
[2021-08-06T21:36:31Z] <GalaxyNova> Anyone got docker running on kiss?
[2021-08-06T21:41:22Z] <dilyn> there's a cpt repo for it somewhere
[2021-08-06T21:41:28Z] <dilyn> i think it's just under cem's github
[2021-08-06T21:59:16Z] <noocsharp> i wonder how hard it would be to get sign git commits with signify
[2021-08-06T21:59:29Z] <noocsharp> s/get sign/sign/
[2021-08-06T21:59:29Z] <cotangent> <noocsharp> i wonder how hard it would be to sign git commits with signify
[2021-08-06T22:00:19Z] <dilyn> probably not impossible 
[2021-08-06T22:00:35Z] <dilyn> i think the easiest way, honestly, is to just slightly modify the code git uses 
[2021-08-06T22:02:21Z] <micro_O> GalaxyNova I have a kiss-containers repo with podman working well
[2021-08-06T22:02:33Z] <micro_O> podman, buildah, podman-compose if you need that
[2021-08-06T22:02:50Z] <micro_O> two big benefits over docker: its daemonless, and rootless
[2021-08-06T22:03:01Z] <micro_O> there are a lot of knock-on benefits that come from those two
[2021-08-06T22:03:10Z] <micro_O> https://github.com/jedahan/kiss-containers
[2021-08-06T22:03:34Z] <micro_O> maybe i add 'similar to docker' in the description, so it shows up when you `kiss find docker` xD
[2021-08-06T22:05:18Z] <noocsharp> what do people do with docker on kiss out of curiosity?
[2021-08-06T22:08:54Z] <micro_O> some work stuff
[2021-08-06T22:08:57Z] <micro_O> build software in containers
[2021-08-06T22:09:55Z] <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)
[2021-08-06T22:11:07Z] <noocsharp> ah
[2021-08-06T22:14:39Z] <micro_O> noocsharp I use it in kiss-ci as well, which I have been meaning to turn into a github action
[2021-08-06T22:15:17Z] <micro_O> kiss ci builds binaries from packages for me
[2021-08-06T22:15:47Z] <micro_O> both as a test, and so i can use some else's cpu to build if i want
[2021-08-06T22:16:43Z] <micro_O> https://github.com/jedahan/kiss-repo/blob/main/kiss-ci/files/kiss-ci
[2021-08-06T22:17:22Z] <micro_O> here is how the container image is built: https://github.com/jedahan/kiss-testing/blob/main/base.sh
[2021-08-06T22:21:33Z] <noocsharp> cool
[2021-08-06T22:21:41Z] <acheam> your script has a boston accent
[2021-08-06T22:21:51Z] <acheam> "buildah"
[2021-08-06T22:22:48Z] <acheam> ha someone made a github issue about that
[2021-08-06T22:22:58Z] <acheam> on containers/buildah
[2021-08-06T22:38:36Z] <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.
[2021-08-06T22:40:16Z] <kyxor> but if you desperately need web browser, webkit works fine, I tested it
[2021-08-06T23:13:52Z] <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.
[2021-08-06T23:15:34Z] <kyxor> just drop that extra parenthesis (idk what you are trying to do)
[2021-08-06T23:15:51Z] <Guest24> $(( ))  for arithmetic
[2021-08-06T23:16:02Z] <kyxor> you are not doing any arithmetic ? 
[2021-08-06T23:16:10Z] <Guest24> the $1 would be a plus or minus and the $2 would the value added to var.
[2021-08-06T23:16:12Z] <kyxor> well idk what $1 and $2 are
[2021-08-06T23:16:54Z] <kyxor> oh just write + or - explicitly
[2021-08-06T23:17:30Z] <kyxor> like if ("+") $(($var + $2)) else $(($var - $2))
[2021-08-06T23:17:46Z] <Guest24> oh ok more typing 
[2021-08-06T23:17:56Z] <kyxor> don't make it overlycompicated, KISS
[2021-08-06T23:18:15Z] <Guest24> i know i thought i was simplifying it
[2021-08-06T23:18:31Z] <kyxor> yeah, it's easier to read an if statement than trying to figure out what the hek $1 is or will be
[2021-08-06T23:18:51Z] <Guest24> it was specified the line above
[2021-08-06T23:19:07Z] <Guest24> but i see what u mean
[2021-08-06T23:23:22Z] <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)
[2021-08-06T23:28:17Z] <acheam> ang: how can i create an alias that starts with concatenating two variables with spaces in them?
[2021-08-06T23:28:30Z] <acheam> because in order for the alias to work it needs to be in double quotes
[2021-08-06T23:28:40Z] <acheam> but in order for the variable concatenation to work it needs to be in double quotes
[2021-08-06T23:30:37Z] <kyxor> when in doubt or alias does not work properly just make shell function instead
[2021-08-06T23:31:03Z] <acheam> i figured it out another way
[2021-08-06T23:31:07Z] <acheam> typing it out helped me figure it out
[2021-08-06T23:31:14Z] <kyxor> what is it?
[2021-08-06T23:31:24Z] <acheam> I just set the variable on another line
[2021-08-06T23:31:30Z] <acheam> stupidly simple
[2021-08-06T23:33:56Z] <Guest24> so wait doesn't use variable if you don't have to?