Still hoping for some Java based code reviews. Here is the next one
@namark can you just use your browser to go to
git.qoto.org/Absinthe/GameOfLife
Okay, so if anyone is interested, here is a first pass at Java Swing version of Conway's Game of Life.
I am seeking hard critical responses with suggestions for improvement to make it more Java-esque or Java-licious or otherwise unlike someone who has been programming in C/C++ for 30 years just trying to learn new syntax.
I am also open to corrections to obvious bone-head or ham-fisted mistakes.
So I have been hired onto a company whose current intended strategy is to move away from all c/c++ replacing it with Java micronaut. They will be encouraging and assisting with training. (The specifics of which are yet to be determined)
Bring on the imposter syndrome :)
No question, just sharing insecurities.
@khird thanks, good to be back
@trinsec thanks
@digital_carver I haven't really been putting up any new ones, because I really wasn't getting much feedback that anyone was really doing the old ones.
Actually haven't been in the Fediverse much lately, spending most of my time in FB groups for turning. Gotta love the lathe!
But it is time for me to start ramping up in Java for work, so I may be back again.
@freemo that's exactly why I asked you :)
@freemo well, I have time to think about it. No big rush. Figured I would start by asking people smarter than myself. :)
@freemo well as long as I am not doing Markov tables with weird ass matrix multiplication I should be alright..
@freemo but maybe I can use it to have a reasonable language to start generating the fact templates.
@freemo let me think about it that way...
See if I can come up with something.
@freemo well, sort of. But you still have clues that are still relative. For example
abc
def
ghi
A is left of b, c
A is also left of e, f
A is also left of h, i
So Bob is left of Charlie, but another clue is Bob is left of The person who smokes Pall Malls. Or the person who has a Zebra, and so on...
These have multi-dimentional inferences in that way. I get that. But I have to start my thought process somewhere. So reducing it to 3x3 and ABC is a good starting point, from which to build up a theory. No?
@freemo Just thinking out loud. in a 3x3, a "left of" eliminates 1 position. 2 of them would infer that rightmost position as the one not referenced. Though there would be some other clue necessary to determine their specific location:
A is left of C
B is left of C
Infers C is rightmost. But doesn't solve AB vs BA
A is left of B
B is left of C
Infers C is rightmost
Infers A is leftmost
Infers B is in the middle
So 2 relative rules that commonly refer to a given element, infer that element, but not the relative ones. But 2 relative rules that do not share a common element will infer all 3 elements.
This is intuitive to me, but I don't know how to define that.. Or scale it.
@freemo but I was hoping rather than a solver, a mathematical proof.
Seems like a given rule either infers or eliminates relationships, and enough of such things would in theory present a solveable set. No?
@freemo well, I think there is something to generating all possible clues.
Within any given column there is a direct positive and or set of negative clues relative to every other elements in that same column.
And for any element in any column will have positive and negative relationships either "left of" "right of" "next to" or possibly "between" (which would be relative to two other column values.)
The green faerie