<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`?
<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
<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>
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