The long way through Software Craftsmanship

Questioning the existing choices

Jul 4, 2018 - 2 minute read - Comments - clientquestioningchoicepragmatismversioninggitsolutionif-it-aint-broke-dont-fix-it

Context For a client, we have worked on a service that works with files (containing sensitive data) that get corrupted very often. The use case is generally: Two/Three file opens per day One modification per 10 file opens One corruption per 100 file opens Initial solution The initial solution was just to copy the file (file.txt) before opening, after closing. This results in two files (YYY-MM-DDTHH-mm-ss_before_file.txt, YYY-MM-DDTHH-mm-ss_after_file.txt).

Testing a component that includes randomness

Jun 15, 2018 - 6 minute read - Comments - testingrandomnesstddjavacodesnippet

Context We have been tasked with designing a component to generate secrets for two-factor authentication (2FA), to ensure that the you also own that other ‘channel’. It has to be secure enough to pass to verify a user, meaning no other user should be able to impersonating another one by guessing the secret. Solution A first solution that he have implemented is to provide a 6-digit pin code. The solution (in java) is straightforward: get a Random to generate ints for you.

Self-Study in May 2018

May 1, 2018 - 2 minute read - Comments - self-study-aggregationmay2018

Research Shows a Simple Way to Increase Your Engagement at Work I’ve read this article By Michael Parke, Justin Weinhardt: We found that increasing your engagement and productivity at work could be as simple as making a plan for the day They talk about two types of planning: time management and contingent planning. The latter is about considering possible disruptions or interruptions they may face and a plan to tackle them (if they happen).

Books read in 2018Q1

Mar 31, 2018 - 9 minute read - Comments - bookreading2018Q1self-studycoduranceaprendicesreading-club

Read this quarter: Note: re+read means I’m re-reading this book. The (+) stands for one-or-more times, as in the regexes. Note: the tag “guillem” is for books suggested by Guillem Fernandez Odessa; Forsyth; non-technical, own-it Bogle on mutual funds: new perspectives for the intelligent investor; Bogle; own-it, non-technical, finance Perros de la guerra, los; Forsyth; own-it, non-technical avaro y el oro, el; Esopo; non-technical Aulularia; Plauto; own-it, non-technical Tus zonas erróneas; Dyer; non-technical, own-it Alternativa del Diablo, la; Forsyth; own-it, non-technical Guía, el; Forsyth; own-it, non-technical Pied piper; Forsyth; own-it, non-technical Hunt for the Red October, the; Clancy; own-it, non-technical Peopleware; DeMarco, Lister (+); own-it Time to kill, a; Grisham; own-it, non-technical Ética promiscua; Easton, Hardy; own-it, non-technical Checklist manifesto, the; Gawande; own-it, non-technical, guillem.