Maja changed the topic of ##bash-crimes to: we bash back | club of folks preoccupied in whether they could, not whether they should | logs https://libera.irclog.whitequark.org/~h~bash-crimes
<isabella> Maja: it's a glob
<Maja> where's the glob
<Maja> _last is an integer
<isabella> file.[ch]
<isabella> _queue[$_last]
<isabella> same thing
<isabella> it's expanding a glob
<Maja> oh gooood
<isabella> Bash Data Structures & Miscellanea huh
<isabella> bet you're going through all your scripts to fix all the instances of unset var[idx]
<Maja> not sure if it's a thing i do often
<Maja> okay yeah i should do a grep
<Maja> btw, $arr returns the first entry of the array. how do i get the first index, though?
<isabella> maybe get the first thing in the expansion of ${!arr[@]}
<Maja> was hoping for something that doesn't iterate through the whole thing. but, yeah, that's probably the thing to go for...
<isabella> there's also ${arr[@]@k} but it has the same issue
<Maja> wait, $arr doesn't do first entry, it does entry at index 0
<isabella> yes true
<sdomi> isabella: looking at the vid you posted, MIGHTY impressive, rly cool
<isabella> nice \o/
<sdomi> i've been hacking on some effects for a future (maybe) demo, would you like to join and help?
<isabella> let's see :o
<sdomi> the only difference is that i'm using x11.sh and not a terminal output
<isabella> what
<isabella> what's x11.sh lmao
<sdomi> 1s i'll send you a demo
<isabella> are you talking to x in bash
<isabella> is this really a polish channel 🤔
<isabella> mój chłopak jest polakiem
<isabella> mówię po polsku
<isabella> trochę
<sdomi> [*] isabella polish arc
<isabella> lol
<isabella> we were in poland until a few days ago to see his family and i spoke like 4 sentences in total
<sdomi> also i'm numbercrunching for the 2nd demo, please hold
<isabella> https://git.sakamoto.pl/domi/x11.sh/src/branch/meow/core.sh here you can rewrite this [[ $y -gt $((h-16)) ]] as [[ y -gt h-16 ]]
<isabella> or (( y > h-16 ))
<sdomi> fyi this may not even be the most recent version
<sdomi> this code is messy af
<isabella> jesus christ did you actually implement the x11 protocol in bash
<isabella> that's amazing
<sdomi> the artifacts on the bottom are due to the numbercrunching in the background
<sdomi> (all frames are drawn in parallel, but not in perfect sync)
<sdomi> aight i pushed just *literally whatever i had laying around* in that directory
<sdomi> isabella: will you be at 38c3? :)
<isabella> i will not :(
<sdomi> awh
<isabella> i wrote a thingy this morning
<isabella> i was tired of picking the colours by typing numbers by hand, so i made my 3d thingy display and edit colours
<isabella> dumbest thing i've ever written
<sdomi> isabella: CUTE
<sdomi> ... anyways i may want to port your engine to x11.sh just to see how performance compares ^^
<isabella> lmao
<sdomi> (and if you'd like to actually help me with my demomaking endeavours, i'd be more than down)
<isabella> i don't know what i'm doing tho
<isabella> like i've never done a demo of anything
<isabella> i've literally just followed a tutorial for the 3d part
<sdomi> i don't know what i'm doing either! i just watched a lot of demos on pouet.net
<sdomi> and decided that Ah Yes. I want to make a Demo and send it to a Demoparty
<isabella> lol
<sdomi> (doing this alone is fun and all, but together could be more fun, hence i'm looking for like-minded people XD)
<isabella> happy to join :D
<isabella> i want to do sound
<isabella> was trying to generate stuff to pipe to aplay
<isabella> again here too i don't know what i'm doing
<sdomi> i have a pulseaudio library here https://git.sakamoto.pl/domi/rurkabl
<sdomi> ... did you miss some of the channel lore? we presented a small demo of both of those on this year's GPN
<isabella> :o
<isabella> link
<isabella> i did miss it
<isabella> can't tell which one it is
<isabella> or if i'm even looking at the right thing
<sdomi> 1s bad internet
<sdomi> demo of those two is the last thing, but both me and Maja presented a bunch of other cool stuff then
<isabella> will watch
<isabella> damn that's a lot
<isabella> you two are pretty cool :D
sdomi has quit [Ping timeout: 245 seconds]
sdomi has joined ##bash-crimes
<jn> chat, should i take a polish course next year?
<isabella> No tak