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 & BBSs in 1995. I went to nicer middle and high schools that had technology classes (though not programming, just typing) and often frequented the library to get online. I loved having 24-hour access to the computer lab in my dorm during my first year of college (1998).

[click to continue…]

0 comments

Frustrated by fragments? Intrigued by dependency injection? It may be tempting to switch approaches to solve your current pain.

Don’t throw away that code just yet! Think through the following questions first.

1. What problem am I solving?

[click to continue…]

0 comments

Square has come out against fragments, and if this r/AndroidDev thread is any indication, plenty of developers are ready to jump ship. Let’s take a step back from the hype and think through their proposed solution.

[click to continue…]

1 comment

tl;dr Here’s the slides! The Fragment Transition

The Fragment Transition

Photo Credit: Xavi Rigau [click to continue…]

0 comments

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. onCreate(), 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.

[click to continue…]

0 comments

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.

Fragments can be a tricky subject! I’ll break down the difference between static and dynamic fragments in this post to give you a better idea of how they work.
[click to continue…]

0 comments

tl;dr My favorite talk from the inaugural DroidCon in the United States was “Improving Facebook and Instagram in Emerging Markets.” A storify of my notes & tweets follow.

[click to continue…]

0 comments

I spent very rewarding 2 weeks in the state of Oaxaca, Mexico with Kids on Computers to install and maintain computer labs.

I touristed around Oaxaca City for two days: Day 1 and Day 2.

We moved the computers that were bought in country to Huajuapan de León, our home base for the labs.

[click to continue…]

1 comment

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).

After lunch, we went to the Coding Dojo which was run by Oaxaca.rb  (headed by Hermes, Fernando, and others from Logical Bricks Solutions).

Coding Dojo!

[click to continue…]

0 comments

On Friday morning, Alex and I taught the teachers at 18 de Marzo how to use the latest version of the OS that we installed. We showed them how to access Khan Academy and offline Wikipedia and walked them through several applications, such as LibreOffice, educational games, and Scratch.

The original plan was for me to lead the class, but as Spanish is not my native language, Alex took the lead. I directed the material that we covered as well as lead the class from the computer by opening and demonstrating how to use different applications. We both played the role of TA by floating around the classroom to help the teachers when they got stuck.

Alex Teaching

[click to continue…]

0 comments