December 07, 2018
Today started with refining/grooming tickets from my apprenticeship backlog into more descriptive and smaller tasks to do next week. There’s so much still to do :/
After that it was time to do the next exercise form learn-c-the-hard-way titled automated testing. Which mostly consisted of writing a test frame work inspired by minunit but with a couple of more features source and then integrating it into yesterdays project, (Which I should really make public so people can see what I’m working on).
Once the tests automatically being run by make
and passing I did some reading so I could add some additional descriptions to my tickets and missed most of a talk on visual regression testing, ironically enough that was one of the things I was trying to find more information on, I arrived in just enough time to see some of the programs available form visual regression testing and find out how and why visual regression testing is used.
The last test for today was a personality test from https://www.16personalities.com/ which as individually taken by the whole apprenticeship team, scrum master Jens and myself ( 6 people in total ). ENFP or a Campaigner personality type where my results, which was a surprise mostly because I didn’t know what to expect.
I’ve been asked to start writing some of the weird and wonderful programs I know of, and today is a a short bash script I use every day :),
#### some where in ~/.bashrc
fortune -s | cowsay -f $(find /usr/share/cows -type f -not -name "*.pm" | shuf -n 1)
fortune or fortune-mod displays a random quotation from a database of quotations.
cowsay generates an ascii picture of a cow, saying user provided content… or thanks to the pipe |
fortune generated content.
The commands with in the $( ) finds the cowfiles in /usr/share/cows and picks one at random.
Written by Marc McIntosh Find him on github