Category: software development
-
90% is often the perfect amount
It is spring time where I live, which besides chirping birds and blooming flowers means also spring cleaning. In particular, I have spent at 10-20 hours over the last several weeks cleaning the paths in our back yard. Over the winter months, when we don’t use it much, moss, algae, and weeds start to grow…
-
Closures in PHPUnit dataProviders
Today I was working on a PHPUnit test at work for testing Elasticsearch. In this case, I wanted to make sure that the data that I was indexing was findable. Basically I wanted to run a search for a given query and check that the results were as expected. I wanted to run this search…
-
AI is not going to take over just yet
I wish I had blogged about this then, but I didn’t. Here’s an article from the Institute of Electrical and Electronics Engineers (IEEE) about how 2017 is going to be the year of the self-driving car. I would bet a dollar than no one reading this in 2023 has a fully self-driving car. I would…
-
Diff twice, commit once
Carpenters have a saying “measure twice, cut once”. The idea is that if you double-check your work, you are less likely to make mistakes, and have to re-do the work later. A former boss adapted this to software development – “diff twice, commit once”. That is, before you commit a change, take a second look…