100 Days of Code Day 68
The sons of guns added another exercise on the Javascript track. SplitSecondStopWatch wasn’t a shared exercise before, but now it is. It was quite a bit harder on the C# track than I was expecting. Almost like restarting it from scratch. The javascript version I needed to make a time string. C# version had a strange TimeProvider I had never heard of, and kept things in Enumerations and TimeSpans instead of strings. TimeProvider is what kicked my posterior.
To get back on track for one exercise per day to the end of 100 days of code, I need another exercise today. I found one that was easy (and shared with the C# track) Square Root. Or really integer square root. I thought I was being lazy by copying the Newton-Heron pseudo-code off wikipedia and passing it off as my own. The community solutions made me look good with at least one person on each track using Math.Sqrt which not only defeats the purpose of the exercise but is specifically against the instructions.
For the ollama book I got through chapters 7 and 8. I actually got to do some python programming (or at least type-ins) in Chapter 7 and 8, that was nice. For the Chapter 8 program, I made some minor changes. I didn’t want to setup yet another virtual environment so I just put it’s code in the Chapter 7 folder. I also didn’t want to type in a bunch of travel items so I put those in a file. I wanted to use Pandas for no good reason to read it in so I installed that in the virtual environment and did that too.
I got some strange results. Some type-os generated things like Phone Water Bottle, and putting in Umbrella four times then calling that a correction (was there a conversation I missed). Once fixed I noticed it left out some things like a passport, wallet, credit card, and shampoo (but the conditioner made it). The organization is somewhat suspect too. Cash, and travel guide might help you get food, but they do not belong in the food category.
My trust in the accuracy of LLMs may have dipped somewhat. If you have to check the results to make sure it didn’t drop things or add a single one in four times, is it really worth it? Yes I assume non-local AI is bigger and better.



