<2023-02-15T22:23:25.000Z> hazlin: Heading out right now, but if you do actually want help coding, we can play message tag :D
<2023-02-15T22:51:51.000Z> EdBoatConnoisseur: Yup
<2023-02-16T01:54:47.000Z> EdBoatConnoisseur: sup man
<2023-02-16T01:55:35.000Z> EdBoatConnoisseur: my horrendous lua
<2023-02-16T01:55:36.000Z> EdBoatConnoisseur: github.com/eylles/dash-widgets/blob/master/sound/init.lua
<2023-02-16T01:55:45.000Z> EdBoatConnoisseur: it is supposed to be a sound slider
<2023-02-16T01:55:59.000Z> EdBoatConnoisseur: that is the main code, other code used on the project is in the repo
<2023-02-16T01:56:20.000Z> EdBoatConnoisseur: it is supposed to just wrap around a couple commands and pulseaudio
<2023-02-16T01:56:39.000Z> EdBoatConnoisseur: well, the pulseaudio interface since i'm using pipewire
<2023-02-16T01:57:08.000Z> EdBoatConnoisseur: awesomewm.org/doc/api/index.html
<2023-02-16T01:57:16.000Z> EdBoatConnoisseur: the api i'm fighting with
<2023-02-16T04:41:26.000Z> hazlin: roger roger
<2023-02-16T04:41:39.000Z> hazlin: today was... extra long, I'll take a look at it tomorrow
<2023-02-16T22:45:07.000Z> hazlin: Are you writing your own hackable desktop environment xD ? 
<2023-02-16T22:45:44.000Z> hazlin: On top of awesomewm ?
<2023-02-16T22:46:17.000Z> hazlin: okay, no 
<2023-02-16T22:46:24.000Z> hazlin: it looks like you are focusing on useful sliders
<2023-02-16T22:51:56.000Z> hazlin: for sound first
<2023-02-16T23:42:40.000Z> hazlin: I don't see any obvious memory leaks 
<2023-02-16T23:43:27.000Z> hazlin: The dynamics around 193 to 207 are complex though, I'm not exactly sure what is happening there
<2023-02-16T23:48:37.000Z> hazlin: I don't think there is is a recurring loop there, so probably not the issue 
<2023-02-17T00:02:28.000Z> EdBoatConnoisseur: not even i myself i'm sure if what goes on lines 193 to 207 makes sense
<2023-02-17T00:04:01.000Z> EdBoatConnoisseur: tho it seems, at least to me that shit happens between line 113 and 160
<2023-02-17T00:06:22.000Z> EdBoatConnoisseur: also yes, lowkey the idea is to build a desktop environment, sorta, around awesomewm
<2023-02-17T00:06:46.000Z> EdBoatConnoisseur: but if i cannot even make an audio slider work...
<2023-02-17T02:37:34.000Z> hazlin: >that shit happens between line 113 and 160Hmm, there doesn't seem to be a lot of chance for a memory leak in that chunk
<2023-02-17T02:37:52.000Z> hazlin: lots of direct assignments, but not creating new objects or appending to arrays 
<2023-02-17T02:38:30.000Z> hazlin: >but if i cannot even make an audio slider work...That isn't as much your fault as you would imagine lol, you are relying on these libraries a lot, and only changing a little bit of input
<2023-02-17T11:04:31.000Z> EdBoatConnoisseur: sorry, work a bitch, i fell asleep yesterday before i intended
<2023-02-17T11:04:56.000Z> EdBoatConnoisseur: and rn that i woke up i gotta go to work again to be yelled at by niggers...
<2023-02-17T17:29:16.000Z> hazlin: roger roger
<2023-02-17T18:44:01.000Z> EdBoatConnoisseur: I'm really quiting this job
<2023-02-17T18:44:22.000Z> EdBoatConnoisseur: I can handle the sweatshop like work
<2023-02-17T18:44:42.000Z> EdBoatConnoisseur: But dealing with welfare niggers is too much
<2023-02-17T18:48:51.000Z> hazlin: Jesus will send a better job your way
<2023-02-17T18:53:39.000Z> EdBoatConnoisseur: Thanks
<2023-02-23T23:48:35.000Z> EdBoatConnoisseur: ah the thing that happens with the slider, i was checking some time ago
<2023-02-23T23:52:25.000Z> EdBoatConnoisseur: is that when the daemon (pactl) from line 191 is ran by 2 instances, one for output volume and one for input volume, the changes on volume will reflect on both daemons
<2023-02-23T23:52:33.000Z> EdBoatConnoisseur: and that is where shit hits the fan
<2023-02-24T02:02:38.000Z> hazlin: Okay, that makes sense
<2023-02-24T02:03:29.000Z> hazlin: Congrats Ed boat, the memory issue wasn't your fault after all xD
<2023-02-24T02:27:10.000Z> EdBoatConnoisseur: not so much, i program like an idiot
<2023-02-24T02:27:40.000Z> EdBoatConnoisseur: the question now is how do i make it so that there is only one daemon feeding to as many sliders
<2023-02-24T02:27:59.000Z> EdBoatConnoisseur: because every way i think about it goes to shit
<2023-02-24T02:40:17.000Z> hazlin: hmm, I guess it isn't clear to me why there is a daemon at all for setting the value
<2023-02-24T02:40:32.000Z> hazlin: in my mind, you'd just, send a command to set the new value
<2023-02-24T02:40:50.000Z> EdBoatConnoisseur: not really
<2023-02-24T02:41:00.000Z> EdBoatConnoisseur: the daemon is needed to answer to external changes
<2023-02-24T02:41:12.000Z> EdBoatConnoisseur: say if you change the volume from pavu
<2023-02-24T02:42:07.000Z> hazlin: >external changesYou mean getting the new value?I thought that was a separate daemon 
<2023-02-24T02:42:45.000Z> hazlin: I could just be miss understanding
<2023-02-24T02:43:08.000Z> hazlin: my impression wasYou have, for each slider
<2023-02-24T02:43:32.000Z> hazlin: 1 setter daemon (make a change)1 getter daemon (update on change)
<2023-02-24T02:56:56.000Z> EdBoatConnoisseur: kinda sorta
<2023-02-24T02:57:02.000Z> EdBoatConnoisseur: there is no setter daemon tho
<2023-02-24T02:57:19.000Z> EdBoatConnoisseur: the slider just spawns a paclt command
<2023-02-24T02:58:08.000Z> hazlin: oh did you mean, one for the audio input
<2023-02-24T02:58:11.000Z> hazlin: and one for the audio output
<2023-02-24T02:58:17.000Z> EdBoatConnoisseur: yep
<2023-02-24T03:00:30.000Z> hazlin: oh okay>is that when the daemon (pactl) from line 191 is ran by 2 instances, one for output volume and one for input volume, the changes on volume will reflect on both daemons
<2023-02-24T03:00:48.000Z> hazlin: sounds like the variables are being shared between the instances
<2023-02-24T03:01:02.000Z> EdBoatConnoisseur: yeh
<2023-02-24T03:01:06.000Z> EdBoatConnoisseur: that is where shit happens
<2023-02-24T03:01:19.000Z> EdBoatConnoisseur: one approach i see is to have just one daemon
<2023-02-24T03:01:22.000Z> EdBoatConnoisseur: like here
<2023-02-24T03:01:23.000Z> EdBoatConnoisseur: github.com/Kasper24/KwesomeDE/blob/main/daemons/hardware/audio.lua
<2023-02-24T03:01:42.000Z> EdBoatConnoisseur: but this guy does something rather more complex than the simple slider i'm going for
<2023-02-24T03:01:49.000Z> EdBoatConnoisseur: also no comments because of course...
<2023-02-24T03:02:42.000Z> hazlin: Hmm, well, either this lua is being executed like a script in the same context, or awful is pointing the the same script each time
<2023-02-24T03:03:19.000Z> hazlin: I think this may be a matter of pushing these bits into a lua object, and creating a new object for each slider, which separate variables  
<2023-02-24T03:03:33.000Z> hazlin: with* separate variables 
<2023-02-24T03:06:07.000Z> hazlin: hmm
<2023-02-24T03:06:19.000Z> hazlin: I guess you are already doing that with the "sound" object
<2023-02-24T03:06:41.000Z> hazlin: oh!
<2023-02-24T03:07:01.000Z> hazlin: I wonder if the signal names need to be unique 
<2023-02-24T03:07:27.000Z> EdBoatConnoisseur: i kinda do that already
<2023-02-24T03:07:28.000Z> EdBoatConnoisseur: sorta
<2023-02-24T03:09:42.000Z> hazlin: I'm going to run an errand, but if you could point me in the direction, of what I need to setup to run this myself, I'll make an attempt to get it setup on my end xD (like linux distro, or packages or w/e)
<2023-02-24T03:11:12.000Z> EdBoatConnoisseur: nah, don't worry
<2023-02-24T03:11:16.000Z> EdBoatConnoisseur: not a biggie
<2023-02-24T03:11:26.000Z> EdBoatConnoisseur: eventually i will figure out that crap