freenode/#lisp - IRC Chatlog
Search
22:46:52
blackwolf
anyone have a suggestion or recommendation for filling a large array of '(unsigned-byte 8) with random bytes?
22:52:37
Bicyclidine
i think sbcl gets 32-bit words from mersenne, so you could get those and shift them in
22:58:01
blackwolf
was thinking something along the lines of that, e.g. (random (expt 2 64)) ... would prefer something like memcpy rather than shift, maybe a solution involving ldb. that would require getting access to an integer as a block of bytes. perhaps cffi.
9:48:36
beach
oleo: It is usually a bad idea to ask a question like that. Even if someone does, they might not want to let you know until they know why you asked that question.
9:58:48
oleo
shka: well i tried to use it, i got it from 2 different github sources and i can create images with both, when i try to use the images only one works tho....and it seems somehow crippled anyway......with the other i get an error with grub telling me the image is too big for the bios to handle it....
10:00:43
oleo
shka: i solved the nickname issue via replacing bt: with binary-types: with sed but the movitz-browser/browser.lisp file uses the same bt: too for bordeauxh-threads (so it's inconsistent across files, so you have to manually check)
10:02:10
oleo
shka: i tried to use the bare images with no luck when i put the grub images onto the other then i can start both via qemu...but like i said one boots and seems crippled (there's no movitz-brower package for exmaple) and the other is unbootable even tho it appears in the grub menu.....
10:02:52
beach
oleo: frodef, the author of Movitz, occasionally comes here. He was here a few weeks ago. You might drop him a note.
10:03:39
oleo
i peeked into the images to see how they are layered with fdisk -l and trying the offset=bla when mounting via -o loop but it doesn't work either....
10:04:41
oleo
beach: the first partition is 1 T in both images.... so i don't see where the issue stems from....
10:05:46
oleo
beach: thank you.....maybe it's an issue with 32bit instruction set on a 64bit machine too....