I’ve spend this weekend on the beach, and between runs on the beach roadway and barbecue with family and friends, I did some work on a prototype, basically because TV sucks, sleeping in the afternoon is not my thing and I can’t stand the sun between 11 A.M. and 4 P.M.. My laptop, for some reason that I didn’t even bothered to research, was unable to connect to the 3G network, so I was left disconnected for the time I was there.
Not being able to google information required to complete the job was a little frustrating (not that all the information I needed was readily available on the internet, but at least one time it would be useful). The task at hand involved programming some JNIs for android and making them render some content on a bitmap to be presented on screen. Though task.
The whole situation was looking badly, but I decided to go ahead and do it and I was able to successfully get it done. The whole experience was one of learning and confirming some ideas on my head for some time:
- Being disconnected while programming requires you have to figure out a lot of stuff on your own, with sharp focus. I only had a paper copy of the JNI book on my backpack to do research, and that helped me up to some point. Afterwards, I was on my own.
- Not being able to communicate with your peers via instant messaging or email means that you have to think alone. At the office, it’s easy to go to a more experienced peer and ask him to help figure out what’s going on. While disconnected, I needed to pay more attention to what was happening to solve my own issues.
- At the very end I was trying to figure out why the screen rendering was not happening. Everything was OK in the backend, but the screen was pitch black. I spend two hours trying to solve this issue with different approaches. So, I decided to enjoy my time a little. At one moment, some idea popped on my mind that helped me figure out the problem, in one of that famous “shower moments”. If I had spent all the time in between in the pursuit of an answer, I would have not found it, because I was looking at the wrong place. Letting the answer come to me was a better solution to my problem.