twelve has quit [Remote host closed the connection]
twelve has joined #river
Keeto has joined #river
MyNetAz has quit [Remote host closed the connection]
Keeto has quit [Quit: Lost terminal]
Keeto has joined #river
dumbmf has quit [Ping timeout: 248 seconds]
Keeto has quit [Client Quit]
Keeto has joined #river
dumbmf has joined #river
MyNetAz has joined #river
twelve has quit [Ping timeout: 248 seconds]
twelve has joined #river
Keeto has quit [Quit: Lost terminal]
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
Keeto has quit [Client Quit]
Keeto has joined #river
twelve has quit [Ping timeout: 244 seconds]
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
Keeto has quit [Remote host closed the connection]
Keeto has joined #river
twelve has joined #river
Keeto has quit [Quit: Lost terminal]
Keeto has joined #river
alexherbo2 has joined #river
twelve has quit [Remote host closed the connection]
twelve has joined #river
andycs85 has joined #river
andycs8 has quit [Ping timeout: 252 seconds]
andycs85 is now known as andycs8
Keeto has quit [Ping timeout: 244 seconds]
<leon-p>
my strategy of stopping to work on a problem for a month to then suddenly find a solution while working on something completely different has succeeded again
<leon-p>
I think I have solved the issue of lifetimes of antares objects. if I implement my idea, it should be impossible to have invalid C pointers in scheme code
<leon-p>
basically, I am introducing ref counting and the lifetime of antares object struct are not an OR of the lifetime of the underlying wayland object and ref > 0
<leon-p>
this works because in chicken scheme I can set a finalizer on arbitrary objects (including pointers) which is called when the object is no longer reachable and swept by the GC, so it can be automatically un-ref'd
<leon-p>
this solves one of the two major icks I have with the projects / codebase in a clean way that should even work well for all scripting languages that have a similar feature
andycs86 has joined #river
andycs8 has quit [Ping timeout: 246 seconds]
andycs86 is now known as andycs8
<LarstiQ>
leon-p: does that work with cycles or can those not occur?
<leon-p>
I am not sure I understand what you mean with cycles
<LarstiQ>
because that's certainly an issue with CPython that not everyone takes into account
<LarstiQ>
leon-p: cycles in the object references graph so that they keep each other alive for the reachability check
<leon-p>
all references between atares objects are done in C as C pointers
<leon-p>
all the scripting language ever sees of an antares object is a pointer (how ever it may choose to represent / wrap that)
<leon-p>
I guess you could use the user data pointer to store a reference to GC managed code, but at that point it's really your own fault IMO
<LarstiQ>
right
<leon-p>
s/code/memory
<leon-p>
actually what I am more concerned about is how often the finalizer is called in this snippet: (define a 2)(let ((b a)) ...)
twelve has quit [Ping timeout: 272 seconds]
<leon-p>
absolutely no idea how to introspect a garbage collector, however just allocating memory, setting a finalizer that frees it, then copying the pointer before exiting the scope completely , in an infinite loop, does seem to call the finalizer, but does not result in a double free, so I guess it's fine?
<leon-p>
let's just hope that copy wasn't optimized out or something, not sure if the REPL optimized...
<leon-p>
*optimizes
twelve has joined #river
<leon-p>
ok, new rabbit hole: copying semantics...
Keeto has joined #river
MyNetAz has quit [K-Lined]
flower_ has joined #river
kotto has joined #river
babo67_ has joined #river
twelve has quit [Ping timeout: 246 seconds]
catman has joined #river
twelve has joined #river
catman has quit [Quit: WeeChat 4.5.2]
catman has joined #river
<flower_>
I don't get Super+Shift+Control in sh init yet
alexherbo2 has quit [Remote host closed the connection]
kotto has quit [Quit: WeeChat 4.5.2]
<leon-p>
flower_: what exactly is the issue?
<flower_>
leon-p: I don't see what it does
alexherbo2 has joined #river
<leon-p>
So you are pressing the keybind but the action that is configured doesn't work?
<leon-p>
or do you mean you don't understand what a binding in the example init does?
<leon-p>
please be more explicit
twelve has quit [Remote host closed the connection]
twelve has joined #river
<flower_>
I don't understand what it should do exactly
<flower_>
ah it adds the focused window to the other tag
deadcade has quit [Remote host closed the connection]
deadcade has joined #river
deadcade has quit [Remote host closed the connection]
deadcade has joined #river
waleee has joined #river
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 252 seconds]
andyrtr_ is now known as andyrtr
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 276 seconds]
andyrtr_ is now known as andyrtr
twelve has quit [Remote host closed the connection]
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 252 seconds]
alexherbo2 has quit [Remote host closed the connection]
andyrtr_ is now known as andyrtr
mtm has quit [Ping timeout: 244 seconds]
mtm has joined #river
Keeto has quit [Ping timeout: 268 seconds]
<flower_>
yep, I like how you can toggle focus of a tag, nice work
Guest56 has joined #river
<flower_>
ok that's also in dwm, I did miss that :)
Guest56 has quit [Client Quit]
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 268 seconds]
andyrtr_ is now known as andyrtr
haliucinas has quit [Quit: .]
haliucinas has joined #river
flower_ has quit [Quit: Lost terminal]
adv8tor has joined #river
andyrtr_ has joined #river
andyrtr has quit [Ping timeout: 252 seconds]
andyrtr_ is now known as andyrtr
Szadek has quit [Quit: off]
Szadek has joined #river
elshize has joined #river
adv8tor has quit [Ping timeout: 252 seconds]
flower_ has joined #river
<flower_>
Do you guys use tools to make visible which applications are active on which tag?
flower_ has quit [Quit: Lost terminal]
babo67_ has quit [Remote host closed the connection]