Brella
banner
brella.dev
Brella
@brella.dev
undermybrella. Lead developer of the Spiral Framework.
My first attempt ever at reading footpedals just polls HID input reports and then manually worked out the bitfields.

Coming back to it, and *actually reading*, you can just... read the button values via the HID API.

Well... that makes my job easier.
March 7, 2025 at 3:20 AM
The circle for whom this is actually useful/relevant is, like, me. But that's also my target audience so...

Still, actually trying to do things "properly" turns out to be... easier? than hacking it yourself??

(within reason)
March 7, 2025 at 3:20 AM
kind of like we've been in this place before
January 7, 2025 at 1:05 AM
hey wait a minute
January 6, 2025 at 2:00 PM
*'11111', sorry. Currently, it's 2 ops/ms. 8192 seeds takes just under 4s.

As a comparison, using a log function yields 8388608 seeds in .6s
December 17, 2024 at 3:59 AM
oh I'm scared for '1111'
December 17, 2024 at 3:32 AM
woof, and it just gets... worse
starting from seed '11', our ops/ms drops to 544. At seed '111', it plummets to 66 ops/ms
December 17, 2024 at 3:26 AM
starting from seed 0, using the skip method results in, at best, about 695 ops/ms

working from a much higher seed using the log method gives 13247 ops/ms
December 17, 2024 at 2:50 AM
oh I didn't quite realise *how* serious the speedup is - it's super dependent on the seed as well. higher seeds take longer to spin up.
December 17, 2024 at 2:38 AM
At current speed, iterating the entire set of seeds would take ~5 days, which is honestly... not too shabby
December 17, 2024 at 1:43 AM
Thinking about how to cache/store results moving forward.
Initial thought was chuck it all in a database, but at 1 byte per seed that's in the ballpark of ~3 TB...
December 17, 2024 at 1:38 AM
Ran it overnight, found a few bugs (concurrency...) but found more 52-rank decks, also 10s of spades. Interesting.
December 17, 2024 at 1:38 AM
I have no idea of what I'm doing with OpenCL so most of my improvements so far are, like, barely improvements.
I thought I broke my filter when I saw the speeds drop from 5s to .8s
December 17, 2024 at 1:38 AM
oh yeah I'm here and trying to post here too ig enjoy!
November 20, 2024 at 4:33 AM
dealing with Python atm and sqlite3 coalescing "missing" into `None`, and "null" into `None`...
I'm getting Java flashbacks and I don't like it :<
November 20, 2024 at 4:32 AM