2020-11-01T03:57:29 #kisslinux o/ 2020-11-01T15:12:47 #kisslinux soliwilos: if you want to post it as well, i can look to add it to the support documentation. 2020-11-01T15:14:06 #kisslinux mcpcpc[m]: Sure. 2020-11-01T15:39:28 #kisslinux mcpcpc[m]: I added a new comment with the script. 2020-11-01T16:09:17 #kisslinux Hey, in regards to packaging a web browser... I know it's a little unorthodox, but what about Netsurf? 2020-11-01T16:09:43 #kisslinux It's fairly minimal, especially compared to the beast that is Firefox, and can support multiple GUI toolkits (or none at all) 2020-11-01T16:14:49 #kisslinux soliwilos: kk 2020-11-01T20:13:47 #kisslinux Hey, guys. Might be a bit of a noob question, but I'm used to editing open file limits and such under /etc/security/limits.conf. I can't help but notice that's absent in KISS... would creating that file and directory still work properly (i.e is this a thing the kernel checks) or is it something else? 2020-11-01T20:24:54 #kisslinux sysctl(8) can be used to configure those limits at runtime 2020-11-01T20:25:31 #kisslinux Ah, alright. Thanks. 2020-11-01T23:18:36 #kisslinux mfw I tried to convert a docx to txt and overwrote the whole file with the unzip help output and didn't have a backup 2020-11-01T23:18:37 #kisslinux :X 2020-11-01T23:22:21 #kisslinux ouch 2020-11-01T23:23:12 #kisslinux yarrrr 2020-11-01T23:23:20 #kisslinux that paper took a very long time to write too (: 2020-11-01T23:23:24 #kisslinux i love everything 2020-11-01T23:23:49 #kisslinux just goes to show: when in doubt, use an arch-chroot to use libreoffice to save files in different formats 2020-11-01T23:34:26 #kisslinux if it makes you feel any better I just wiped out all of my FVWM config's audio files by trying to do that exact same thing 2020-11-01T23:34:41 #kisslinux thankfully I had a backup :P 2020-11-01T23:35:58 #kisslinux I technically *had* a backup, but my nextcloud host deleted my account (:(:(:(: 2020-11-01T23:36:07 #kisslinux #hostyourown 2020-11-01T23:36:21 #kisslinux that's even worse, geesh. 2020-11-01T23:36:26 #kisslinux deleting important stuff on accident is literally awful lmao 2020-11-01T23:36:35 #kisslinux ...while on the topic though, you wouldn't have experience with ffmpeg in shell scripts, would you? 2020-11-01T23:36:36 #kisslinux one of the worst things i've ever done 2020-11-01T23:36:40 #kisslinux no :X 2020-11-01T23:36:43 #kisslinux Darn. 2020-11-01T23:37:01 #kisslinux For whatever reason when converting audio from one format to another in a for loop, it outputs nothing 2020-11-01T23:37:03 #kisslinux i don't convert audio or video anymore; not since 2011 when I deleted my entire music library. twice. 2020-11-01T23:37:10 #kisslinux weird... 2020-11-01T23:37:13 #kisslinux Yeah. 2020-11-01T23:37:16 #kisslinux does it work, not in a loop? 2020-11-01T23:37:19 #kisslinux yeah. 2020-11-01T23:37:26 #kisslinux I'll post my script here (it's not terribly long) 2020-11-01T23:37:30 #kisslinux you could just run the script in a loop 2020-11-01T23:37:38 #kisslinux the script *is* a loop :P 2020-11-01T23:38:16 #kisslinux /bin/yash -e 2020-11-01T23:38:16 #kisslinux x=`ls | grep aiff | wc -l` 2020-11-01T23:38:16 #kisslinux for i in {1..$x} 2020-11-01T23:38:16 #kisslinux do 2020-11-01T23:38:16 #kisslinux y=`ls | sed "$x!d"` 2020-11-01T23:38:16 #kisslinux z=`ls | sed "$x!d" | sed s/aiff/wav/` 2020-11-01T23:38:16 #kisslinux ffmpeg -i $y $z 2020-11-01T23:38:17 #kisslinux x=$(( $x - 1)) 2020-11-01T23:38:17 #kisslinux done 2020-11-01T23:38:20 #kisslinux don't judge me too harshly 2020-11-01T23:38:27 #kisslinux it's super jank, haha 2020-11-01T23:38:30 #kisslinux lmao 2020-11-01T23:38:40 #kisslinux does yash expand {...}? 2020-11-01T23:38:42 #kisslinux Yeah 2020-11-01T23:39:06 #kisslinux outside of niceities like exanding stuff it's otherwise strictly posix 2020-11-01T23:39:11 #kisslinux expanding, fuck 2020-11-01T23:39:16 #kisslinux lol 2020-11-01T23:39:35 #kisslinux but yeah, it works like you would expect 2020-11-01T23:39:51 #kisslinux outside of the whole "overwriting the original file with nothingness instead of making a wav copy" 2020-11-01T23:42:08 #kisslinux if you're doing a for loop, why change x? 2020-11-01T23:42:25 #kisslinux ...oh my god you're totally right 2020-11-01T23:42:29 #kisslinux lmao 2020-11-01T23:42:30 #kisslinux I can't believe I missed that 2020-11-01T23:42:34 #kisslinux I'm not used to having shell expansion 2020-11-01T23:42:50 #kisslinux so I habitually decrement the variable used to control the loop 2020-11-01T23:43:16 #kisslinux i would've noticed a lot faster if i was worth even half my weight in shell scripting 2020-11-01T23:43:25 #kisslinux or coding in general 2020-11-01T23:43:29 #kisslinux I'm not even worth an eighth of my weight yet (clearly) 2020-11-01T23:43:49 #kisslinux xD 2020-11-01T23:43:51 #kisslinux outside of totally fucking up the loop though it does work 2020-11-01T23:43:56 #kisslinux hooray! 2020-11-01T23:44:04 #kisslinux is 50% a passing mark? :v 2020-11-01T23:44:22 #kisslinux i've taken classes were 26% was an A so I'll give it to you 2020-11-01T23:44:28 #kisslinux kek 2020-11-01T23:45:35 #kisslinux Man, I really need to start scripting more often though 2020-11-01T23:45:49 #kisslinux the worst part is that I've __done__ this before. or at least a similar problem 2020-11-01T23:45:59 #kisslinux batch renames, batch image conversions, whatever 2020-11-01T23:46:17 #kisslinux i usually just go to the stackexchange article i bookmarked :S 2020-11-01T23:46:25 #kisslinux i never have to do it enough to learn 2020-11-01T23:46:37 #kisslinux I try to avoid relying on stack exchanges 2020-11-01T23:46:53 #kisslinux I would probably reinstall windows if i couldn't use SE 2020-11-01T23:47:04 #kisslinux :v 2020-11-01T23:47:11 #kisslinux what a n o r m i e 2020-11-01T23:47:14 #kisslinux /g/ is disappoint 2020-11-01T23:47:21 #kisslinux i will gladly disappoint /g/ xD 2020-11-01T23:47:33 #kisslinux i've been disappointing /b/ and /sci/ for fifteen years, why stop now 2020-11-01T23:48:13 #kisslinux fair enough 2020-11-01T23:49:19 #kisslinux OH FUCK I REMEMBER NOW 2020-11-01T23:49:30 #kisslinux I *wasn't* retarded, and did in fact have a reason to decrement x 2020-11-01T23:49:37 #kisslinux lmfao 2020-11-01T23:49:39 #kisslinux x was used to control what the contents of y and z were 2020-11-01T23:49:51 #kisslinux and in my brain I was going to be clever and also use it to control the loop 2020-11-01T23:50:35 #kisslinux so what does sed "$x!d" do? 2020-11-01T23:50:50 #kisslinux prints out only the line number equal to the integer in $x 2020-11-01T23:50:58 #kisslinux mmmm 2020-11-01T23:51:00 #kisslinux $x in this case is equal to the number of .aiff in the directory 2020-11-01T23:51:11 #kisslinux so you take the last aiff, convert it, and then decrement the loop 2020-11-01T23:51:25 #kisslinux sso without decrementing x you'd just end up converting the same aiff file over and over 2020-11-01T23:51:26 #kisslinux ? 2020-11-01T23:51:26 #kisslinux which would both move you towards the end of the loop (0), and grab the *next* aiff 2020-11-01T23:51:29 #kisslinux and yea 2020-11-01T23:51:31 #kisslinux that's what happens 2020-11-01T23:51:40 #kisslinux I ran an echo command just to make sure 2020-11-01T23:52:01 #kisslinux not quite a Mel-tier manueuver but it could have been clever if I wasn't a tard 2020-11-01T23:52:36 #kisslinux hmhmhm 2020-11-01T23:53:01 #kisslinux okay yeah 2020-11-01T23:53:04 #kisslinux but decrementing changes the loop 2020-11-01T23:53:06 #kisslinux with the x decrement it works 2020-11-01T23:53:13 #kisslinux but that still doesn't change the problem with ffmpeg 2020-11-01T23:53:14 #kisslinux hm 2020-11-01T23:53:59 #kisslinux time to pull a sysvinit and pack the thing with sleep .5 2020-11-01T23:54:08 #kisslinux because I have no idea what could be going on other than timing issues