I’ve been exploring testing in Android Studio via Robolectric and wanted to check the values of some variables in the code under test. I tried using System.out.println() to print the values, expecting that when I ran my test gradle task I’d see the output in my terminal, since I run my tests via gradle’s cli. […]
Author Archives: Mike Hernandez
Book Review: The Principles Of Object-Oriented JavaScript
TLDR: If you want to understand how OOP works in JavaScript, read this book. It’s that simple. Read on if you want to hear me wax poetic, as this book certainly deserves the praise. After Eloquent JavaScript rekindled my fascination with programming, dispelled my irrational fears of JS and dissolved my anger, I was still […]
Book Review: Eloquent JavaScript
I was a JavaScript hater. I hated JavaScript for poor cross-browser support. I hated JavaScript because it was only used for useless effects in web pages. I hated JavaScript because I could write it easily but get nowhere fast. I hated JavaScript because OOP is supposed to use classes, right? I hated JavaScript because JavaScript: […]
Making my new FreeBSD 9 desktop feel like home
I decided to pull my old P4 box out of retirement to give FreeBSD 9 a try. For the most part, things are as I remember, however FreeBSD 9’s default Xorg uses HAL to manage all the devices, including the keyboard and mouse. What this means, as far as making X feel like “home”, is […]
Trac + Lighttpd + FreeBSD ports upgrade… = yikes
Took me a few hours to figure out that when I got: “child exited with status 13 /usr/local/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/fcgi_frontend.py” The problem was that I needed to chmod a+x /usr/local/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/fcgi_frontend.py a+x might be a bit lenient, but it works now. When I rebuilt my ports the permissions changed to 644, which makes sense. Trac is back in […]