Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Thursday, January 28, 2016

Code smell: Schizophrenic method

A schizophrenic method is a method that is begging to be split into two. It has a lot of if statements, but closer inspection reveals that most of the ifs can be eliminated by splitting the method into two. It may take some effort to unravel the two cases from the hodgepodge of ifs on various variables, but it's beautiful if you can do it.

Saturday, January 23, 2016

Powerpoint for Rejoice and Pray: 2016 Couples For Christ theme song

It has some notes to help people grasp the melody quickly:

https://drive.google.com/file/d/0Bz-cCAfhE6fGVkdNanNOeC03Vkk/view?usp=sharing

 

Thursday, January 21, 2016

Super8=>DVD Price Comparison, Surrey BC area

Here is a comparison of prices for Super8=>DVD conversion, in the Surrey BC Canada area.

Sunday, January 03, 2016

Dental Pitch: A Way to Obtain Perfect Pitch Using Your Teeth

Here is how to simulate perfect pitch using your teeth:

  • Tap your teeth together. You should hear the same pitch every time you tap your teeth together.
  • Go to a piano and find what note corresponds to the pitch coming from your teeth. For example, my teeth give me a Db.
  • Hum your way up (or down) from that note to C.

Now you have a way to hum a C without aid of any instrument, tuning fork, or app. Just your teeth.