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