Have a short deadline? Boss breathing down your neck?
Don’t start prowling github just yet! Work through the following steps first.
1. Determine what you need.
Sounds simple, but so often we skip this basic step.
When Women Stopped Coding is a (mostly) non-depressing look at what was happening in the 80’s and 90’s to contribute to the plummeting number of women in computer science. In particular, I hadn’t thought deeply about the emergence of computing have and have nots.
My parents didn’t buy a computer for the home. Luckily I had access to computers at my friend’s homes and was on the Internet pretty darn early via Tallahassee Freenet & BBSes in 1995. I went to nicer middle and high schools that had technology classes (though not programming, just typing). I often frequented the library to get online. I loved finally having 24-hour access to the computer lab in my dorm during my first year of college (1998).
A recent question got me thinking about how I use logging in my development/debug process.
First, remember that it’s easy to lie to yourself with logs. I can’t tell you how many times I have made incorrect assumptions about what is going wrong with my code based on the truth presented by the logs. Eventually after exhausting all the other options you finally start tracking down the real problem.
Second, I generally use logs when I’m trying to understand the control flow of my program. It’s completely up to you when you want to use them. I often add log statements to the lifecycle methods (e.g.
onResume()) and important functions that I create to do the work. I like to add the value of the the item I’m inspecting or handling in that function.
When reading the reviews on one of the Android books I recommend, I came across this question:
I read the chapter on UI and the section on fragments. I followed the given example step by step and got it to work. So far so good. I then attempted to build my own solution of dynamically adding fragments to a layout. I’m none the wiser as to how to reference the views within each dynamically added fragment. The 3 things I really want to know about any control: (1) how to add statically, (2) how to add dynamically, (3) how to reference any view I place into the UI.
I spent very rewarding 2 weeks in the state of Oaxaca, Mexico with Kids on Computers to install and maintain computer labs.
We moved the computers that were bought in country to Huajuapan de León, our home base for the labs.
On Saturday morning, Alex, Hunter and I packed up to move back to Oaxaca. On the way to the bus station, Hunter made a last minute audible and hung out with his video game friends instead. Alexa and I took the bus and shared music on the way.
Alex’s aunt and uncle live in the city, so we went straight to their house from the bus station. We had Chinese buffet for lunch with his aunt and brother – it was an interesting mix of Mexican spices and Chinese food (similar to Chifas in Péru).