Pedro Amaral CoutoSolving CodinGame: The DescentSeveral approaches to find the index related to the highest value in an array.Jul 7, 2021Jul 7, 2021
Pedro Amaral CoutoMaking my logoI decided to make a logo for a personal website. And I decided to explain how I did it.May 23, 20211May 23, 20211
Pedro Amaral CoutoinEngineering SamlinoAvoiding an ad-hoc DIV wrapper for backgroundsProposals for a wrapping pseudo-element to solve that problem are rejected, but it’s possible and easy to solve it by stretching the…Feb 11, 2020Feb 11, 2020
Pedro Amaral CoutoGenerating programmatically a Christmas TreeI would like to share and explain some Javascript code I made to draw an SVG Christmas Tree, a stylized pine tree with a stylized star on…Dec 24, 2019Dec 24, 2019
Pedro Amaral CoutoinEngineering SamlinoIt’s not premature optimizationDonald Knuth: ”I am sorry to say that many people nowadays are condemning program efficiency (…)”Nov 25, 2019Nov 25, 2019