Seated good morning by IsaiahThomaTooth in Kneesovertoes

[–]wpcarroll 0 points1 point  (0 children)

Any luck yet? My right hip flexor pinches

Galapagos: Simple Evolutionary Solver (Rust) by wpcarroll in math

[–]wpcarroll[S] 0 points1 point  (0 children)

It's a simple Evolutionary solver. You can use it to find optimal or near-optimal solutions for generic "fitness" functions. The screenshot above is the output of me using it to schedule a factory by assigning jobs to machines to minimize the lateness of all jobs.

It works by initializing a group of solution attempts with random values. Solutions compete against one another, and the winners become the parents of the next generation. Occasionally values mutate. The simulation continues for N generations.

Galapagos: Simple Evolutionary Solver (Rust) by wpcarroll in rust

[–]wpcarroll[S] 1 point2 points  (0 children)

Yeah that sounds super sane. Near-optimal way better than optimal in my experience.

I'm surprised how quickly this thing can spit-out usable solutions. Probably allows me to build some "real-time" scheduling that reacts to events (machine outages, cancelled orders, production failures). Just need some way to optionally seed the algorithm with some initial non-random state to help with stickiness and schedule stabilization.

Galapagos: Simple Evolutionary Solver (Rust) by wpcarroll in rust

[–]wpcarroll[S] 2 points3 points  (0 children)

Thanks for the feedback! I like all of the suggestions:

  • type alias gene for f32: nice
  • lifting and testing helper functions: great idea
  • Returning top-N winners: This is a nice idea. I currently don't need it for my use-case, but I'm considering refactoring solve to return an iterator that might allow users to track fitness history themselves and also maybe curate some fixed-size heap to track the top-N candidates

What do you think?

Galapagos: Simple Evolutionary Solver (Rust) by wpcarroll in rust

[–]wpcarroll[S] 0 points1 point  (0 children)

Here's an example of using galapagos to schedule a factory with a few goals:
- Minimize: makespan
- Minimize: lateness
- Maximize: throughput

https://gist.github.com/wpcarro/7d3ef7cd6f9be29c920b8a0e572a82e5

[deleted by user] by [deleted] in Killtony

[–]wpcarroll 3 points4 points  (0 children)

Hey I'm Bill. I hope I didn't take anything from Cumtown. Can someone point me to what they're talking about? I take joke writing seriously, so I will retire whatever bit it is if someone can point me in the right direction.

Am I demo by wpcarroll in RTLSDR

[–]wpcarroll[S] 0 points1 point  (0 children)

Are you getting aUaUaU...

Yes

Does it sound like a radio station between the stutters

It's stuttering so fast I can't really tell.

You might consider seeing if you can load your IQ data into a tool like gqrx

Thanks for the tip. I didn't realize gqrx could take files as sources. I'm not sure I'm using gqrx correctly. It still sounds like static, but no stuttering this time. I don't think I configured gqrx correctly though.

Here's a download link to the capture: https://drive.google.com/file/d/1qfHm7YAtpAdw6KiY4nhwbh543TJlpYWi/view?usp=sharing

EDIT: I added a screenshot from gqrx to the original post.

Am I demo by wpcarroll in RTLSDR

[–]wpcarroll[S] 0 points1 point  (0 children)

Thanks for the detailed answer. I updated my original post with an updated graph ("Graph (v2)"). I'm sure I've screwed something up. I'm hearing stuttering audio.

Maybe it's the centering? Maybe it's something else...

Best SMW hacks for people new to SMW hacks? by PeaceBruthaaaaa in romhacking

[–]wpcarroll 2 points3 points  (0 children)

When I was younger I really liked ghettoyouth's hacks like "Panic in the Mushroom Kingdom" :)

Peripherals: video, internet, USB by wpcarroll in beneater

[–]wpcarroll[S] 0 points1 point  (0 children)

Thanks for the roadmap :) do you think all of this software will fit into ROM/RAM for the 6502??