<byteit101[m]>
headius: I mucked around with flags and think I generated the right file this time. Grab all-gems from https://github.com/byteit101/subspawn/actions/runs/4003226272 and pull out the arm64-darwin one. if it works for you i'll push a new version to rubygems
<headius>
Ok I'll give it a shot
<headius>
byteit101: seems like I'm still getting the same arch error
<headius>
I grabbed the built gem as you described, installed it, and it's still erroring
<headius>
fix for that SecureRandom.random_number thing being zero
<headius>
I did not notice the default Random constructor does not initialize the state array with any seed data, so it just returned zero forever
<headius>
waiting on more feedback for this ClassCastException that seems to date back quite a while
<enebo[m]>
interesting. I wonder if there is any recommendation on this
<enebo[m]>
I remember in ye olden days making a random seed (which I suspect is wrong today) was current time or'd with process id.
<enebo[m]>
But the general gist is making it complicated for someone to determine the seed value
<headius>
yeah this logic was only ever used by actual RubyRandom instances, which seeded the Random instance. Not sure why there's even a no-arg constructor since it's not really usable unless you seed it.
<headius>
in CRuby they just go into some other PRNG algorithm when there's no random number instance in hand
<headius>
this is also not really in the spirit of SecureRandom gem since it should be calling back out to get more random bytes
<headius>
but I think we fix it this way and then look at improving it after 9.4.1
<enebo[m]>
ok
<lopex[m]>
hmm I was looking for local CI for gitlab