Advent of Code #12 (in Gleam)

My boss gave me another clue for part 2 of today's problem. I was planning on determining the number of sides by walking the perimeter and counting the turns, but I honestly didn't know how to account...
0 Read More

RandomVerticalFlip in PyTorch

RandomVerticalFlip in PyTorch
Buy Me a Coffee☕*Memos: My post explains RandomHorizontalFlip(). My post explains OxfordIIITPet(). RandomVerticalFlip() can flip an image randomly and vertically as shown below:*Memos: The 1st arg...
0 Read More

Advent of Code #13 (in Gleam)

This was yet another problem that my boss helped me out with for part 2. I honestly don't know if I would have ever figured out the trick. I used an iterative approach to part 1 that clearly wouldn't...
0 Read More

Advent of Code #14 (in Gleam)

Remember how I mentioned that my code might not provide a solution that would work on your input because further analysis might be needed? Today is a prime example of that. Part 1 was simple enough, b...
0 Read More