Day 005 - #100DaysOfCode
Update
Running a little late on my coding update for Day 5 but I have 2 ideas. 1 is that the AdventOfCode 2022 is coming soon. As such I thought it would be good to have some short filler exercises to fill my #100DaysOfCode with. Also when AdventOfCode is live for 2022 in December, no doubt some of those days will be advent of code days. As such I have created an AdventOfCode directory and put together a Makefile
and a framework of sort to make it easier to solve last year sproblems in a controlled manner. Let’s see how it develops over time.
For the time being I have solution in to my day 1 for 2021 and a way to run it with make/rspec and some shared libraries for reading input files
The other idea I had was brought to my attention at a recent October 2022 RoRo (Ruby On Rails Oceania) Meetup. I was presenting my Experimental methods in Sidekiq and someone asked me if you could create a web scraper that runs in sidekiq and what would be the benefit. Not only can you but there are a number of benefits, like being able to have concurrency, retrying and also potentially throttling. This did make me think that you could actually maybe build something in an “Error Drivem Development” way. The idea of Error Driven Development (EDD?) was also raised at the meetup by the other speaker, Justin Tan, in his talk on Errors and Memes. The general gist being to embrace errors and most of the time errors can be good enough to drive out what you need to build next. Let’s see how that goes … well maybe tomorrow