Skip to content

Reproducible random sequence generator #171

@Notgnoshi

Description

@Notgnoshi
rand-seq --reset --seed $seed
rand-seq --get-next

somehow save the random generator state between calls - maybe to /tmp/rand-seq/$seed.bin?

Perhaps instead of serializing the generator to save its state, I run rand-seqd in the background, and use a unix socket to poke at it? This might perform better? But be more complex?

Both approaches should have a way to support multiple parallel instances. rand-seq --instance or rand-seqd through an instance flag on the IPC comms

Metadata

Metadata

Assignees

No one assigned

    Labels

    RustgeneralSupports _general_ generative arttoola new tool, or an enhancement to an existing one

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions