Show newer

@mngrif Totally forgot about the 500 character limit issue you were facing. If you submit a PR it would make my job easier, I can pass it right along to the server after a fasttest

Trying a new variation on my Copperplate script. Im trying a double-f variation that also makes for a. Interesting lead in to the "r" in my first name. Thoughts?

Also the capital F is new but still needs some work.

@Absinthe
This was a lot of fun decided to do the problem by hand using non brute Force techniques. Attached are all the steps I used to solve the problem including the final solution on the last page.

Total number of coconuts is 3,121 at the start. The number of coconuts they ended up with was the following: 828, 703, 603, 523, 459

If your following the pages I attached the order in which you follow them is "knowns/reduce" then "All valid values" then "final solution"

@zingbretsen

very cool, I like how you try to limit the problem space for efficiency. Reminds me of common examples of primality checkers that use a sort of smart-brute force to reduce the problem space :)

@Absinthe

@Absinthe @freemo I forked the repo and added my solution here: git.qoto.org/zingbretsen/cocon

It should solve the 5 person problem when run as-is, but it could be run for any number of people. I should probably have added that as a command line argument.

It works backwards from possible ending amounts, but is somewhat selective in the numbers it tries. e.g., for the 5 person case, we know that the ending pile must be divisible by both 4 and 5, so the final pile will be a multiple of 20. In addition to that, we know that 5/4 + 1 of the ending pile must be divisible by 5, so 60 is the lowest number that would work for the first round of stepping backwards.

There is a regular pattern that seems to work for all of the numbers of people I tested, not just 5, so we can reduce the search space pretty significantly. For the 5 person problem, I only have to test 13 numbers before finding the answer.

I feel like my spellchecker should recognize "intertubz" as a valid alternative spelling for "internet"...

meat consumption, family planning, environment 

@cwebber Agreed, I am a meat eat but I always say the ideal ecological situation is one where we have some, but much less, meat eating.

Birth control should be a no brainer too IMO.

@canonicalbrud Who says they are slaves? That would be the primary point you'd have to prove first.

@radiofreqs
They really are and so so.ple. Did you see the protowaffle I just started selling? It's inspired by Manhatten style but it is made for SMD. If you like it I could send you some free samples as we don't sell directly. But we literally just started.
@crunchy

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.