« first day (143 days earlier)      last day (948 days later) » 

1:07 AM
 
 
1 hour later…
2:36 AM
Wanna solve this bug for me? :D
 
i can take a look at it but dont hold your breadth
 
It's legitimately bugging me
gist.github.com/Rapptz/c999ec9a6fb7475e2aaf last version I cared about that works
I tried ~10 different ways
lol 5 hours ago ._.
 
which part doesn't work?
 
complex chaining
(ctrl & w) | k
 
You have a test case for this?
I mean the setup for that line
 
2:45 AM
It uses SFML.. which I don't know if you have
 
I just want to see the test so i can know what to look for
 
k I added one
 
so, ctrl & w works, but as soon as you add another one it fails?
 
yeah
 
3:06 AM
uh, you only seem to be switch on the type of link (or/and) the first time
 
the functions loop through it
 
yeah, the actions in the map
but isn't each action in the map composed of a complex tree
 
the all and any functions go through that looping
 
yeah but for example ctrl & w | k, that's in the map. and the first link is &, so it loops with all.
but at some point it needs to switch to any no? because of |
 
well, disregarding current code aside
how would you suggest I do this?
 
3:11 AM
I would make it an actual binary tree. not with lists.
and then recurse over it
 
hm
 

« first day (143 days earlier)      last day (948 days later) »