Category: General Development
My Understanding of the CAP Theorem
With the technical landscape being distributed, you will have heard of the CAP Theorem, as it related to the systems that you work on to be 99.99999% up. These are my $0.02 on my understanding of the CAP Theorem. * Consistency – read/write guarantee between nodes * Availability – nodes respond and do no error…
How-to: Git Rebase
Adding here for my own purposes, but may be helpful to others. This rebases to master (or whatever branch) and then squashes all your commits into one commit! Sexy. 🙂 > git fetch –all > git checkout [master] > git pull > git checkout [working branch name] > git merge-base HEAD [master] > git reset…
Gatling: How to run simulations in another directory
Adding here for archival purposes. To have Gatling use another directory for simulations (i.e. no need to copy them to the local Gatling folder), use the following: gatling –simulations-folder <directory-path>
Seven wastes of software development
Perfect for analyzing why a ticket you worked on longer than expected, which usually always does! Check it out here! Quickly, though, they are: Partially Done Work Extra Features Relearning Handoffs Delays Task Switching Defects
Tomcat 7: Where to put WAR files
Tomcat 7 no longer “explodes” .war files like it used to; however, all you need to do is drop them into the /webapps folder and Tomcat will handle the rest. In my case, I installed Tomcat via Homebrew, so it’ll be in /usr/local/Cellar/tomcat7/7.0.70/libexec/webapps.
How to install jshell via Homebrew
At the time of this writing, Java 9 is in beta. I installed because I wanted to check out jshell, Java’s new REPL (read-evaluate-print-loop). On top of the below, I brew-installed jenv (a must for managing different JDK versions). $ brew install Caskroom/versions/java9-beta $ jenv add /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home $ jenv shell oracle64-9-ea $ java -version java…