copingalligator

joined 1 year ago
MODERATOR OF
[–] copingalligator 1 points 1 year ago
1
What is this place? (self.experimentalsoftware)
 

Hi! You're probably wondering what is this place.

I wanted to create a place where you can discuss your ongoing projects.

Maybe someone can offer advice with your project or give constructive feedback!

If you want to ask help on coding related things, please keep the posts to a minimum and use the comments!

Have fun!

The rules can and will change overtime to help adjust to how the community wants to use it!

 

I been looking at ways to compress data so it can be distributed easily by making it as small as possible as long as the random number generator is consistent through all devices.

It will be computationally expensive to compress but not as expensive to decompress.

What I do is I take all the text/bytes of a file and then create a (char|byte)sheet that contains each unique character that is in the file.

After that, I start at 0 and increment by 1 for the seed. I use Python's random library and seed it with the int. I use random.choices((char|byte)sheet, k=length). For each seed, I have two paremeters. A maximum and a minimum for the length of generated chars/bytes.

Uhhh....

Now that I'm writing this I'm starting to see where some of this is falling apart. I'll post the code for now I got some rewriting to do! For now, here's the progress I had!

main.py

worker.py

3
Hello World! (self.experimentalsoftware)
submitted 1 year ago* (last edited 1 year ago) by copingalligator to c/experimentalsoftware
 

Our first post, what's the status?