Joseph Hallenbeck

Notes

Continueing my book club notes on the the Pragmatic Programmer by Andrew Hunt and David Thomas. Chapter 3 The best way to store knowledge is in plain text, not binary blobs The drawback to plain text is that it comrpesses poorly, and may be expensive to process. This doesn’t seem particularly relevant with modern computers, but I suppose embeded systems still suffer this drawback. Plaintext helps insure against obsolescence and eases testing Shell beats GUI Get good at one editor until it’s like playing the piano Use source control (yeah we’re doing the obvious now) Embrace debugging as just another...
February 09, 2018

Shell Notes: Find and Tree

Filed under: Software Development part of Notes
Continuing my deep dive into shell and editor commands to find, useful tools that I’m not taking full advantage. This week is the Find and Tree commands. Find Find is used for traversing a tree of files and performing some operation on them. It is one of the core Unix utilities and fairly universal on systems. My big discovery this time is the realization that I can use find for more than just searching for files. I can use find to perform operations on the results. There are multiple actions besides the default -print, e.g. -delete and -exec both open...
Recently, I’ve been running a book club to cover the contents of the Pragmatic Programmer by Andrew Hunt and David Thomas. One of those volumes that has been held up, forever, as a text that any good Software Engineer should have read. The text itself is rather sound, although starting to show it’s age in the era of software-on-the-browser. Probably not going to do much of an articulated look at the book. Rather, I think I will simply post my cliff notes as I, or we go through each chapter. Chapter 1 Take responsibility for actions, career advancement, project, and...
January 26, 2018

Shell Notes: Vim XDEBUG

Filed under: Software Development part of Notes
Continuing my deep dive into shell and editor commands to find, useful tools that I’m not taking full advantage. This week is debugging PHP using Vim and XDEBUG. XDebug in Vim XDebug has been installed on every development machine that I’ve worked on for as long as I’ve worked. It outputs wonderfully formatted stacktraces and var_dump values. However, the interactive debugger side of XDebug remains little used due to the overhead of setting it up. When I developed using PHPStorm, the interactive debugger seemed extraordinarily unstable. After taking the time to set up a project, map the directories correctly, configure...
January 12, 2018

Shell Notes: Less

Filed under: Software Development part of Notes
One of my professional goals this year is to make a marked improvement on my shell (zsh) and editor (vim) skills. I know enough commands to get me through the work day, yet every time I see a real shell or vim poweruser go to town, I am reminded that I am probably only confident in 10% of the commands that I could be using. Every now and then, I’ll force myself to use h, j, k, l instead of ←, ↑, ↓, → to navigate in Vim and my Tmux panels. The skill lasts about a week before I’m...