I was reminded of this song again recently: At Seventeen, by Janis Ian:

I needed to center some tabs in a scrolling tab view layout in an Android application, and this technique worked for me. Note that the wrap_content part is needed for the width setting. Image is from this SO link.

A nice thing about Android 5 is that I can sit here and have Crackle running on the Nexus 9 while I’m programming, see a notification go by out of the corner of my eye, reach over and pull the notification panel down, and as I’m looking at it, Crackle continues to run. I know that’s plain old multitasking, but it sure is nice.

Whenever you need to understand the difference between the Java JTextArea, JTextPane, and JEditorPane, check out this Sun/Oracle link.

The meaning/origin of the phrase, “Cut to the chase.” Image from this link.

Apple had an amazing quarter in terms of iPhones sold, revenue, and profit. The infographic comes from this Forbes article.

How The Guardian does continuous delivery, and what it took to get there. A few notes: 1) Developers are doing operations and support as products shift to full stack ownership. 2) QA have shifted from manual regression testing to automated tests and exploratory testing. 3) Operations have shifted from running products and being production gatekeepers to being consultants and watchmen (auditing product implementations). 4) Release management is no longer a dedicated role, with each product team able to release when they like and RiffRaff providing centralised reporting. The story begins at this Twitter link.

RoboVM is a software tool written to let you run Java applications on the iOS platform. From the docs, “RoboVM translates Java bytecode into native ARM or x86 code. Apps run fast directly on the CPU. No interpreter involved. RoboVM includes a Java to Objective-C bridge that makes it possible to call into the native iOS CocoaTouch APIs.”

I found that I can control the scrolling speed of an Android ListView using code like this in a Fragment:

Here are two notes (separated by the horizontal line) on what you can do to try to control an Android application’s heap size, from this SO link. As you can see, you can’t set the heap size directly, like you can with the java command. Here’s a link to the android.com 'large heap' setting documentation page.

“These things we do to keep the flame burning,
And write our fire in the sky.
Another day to see the wheel turning,
Another avenue to try.”

~ Luck of the Draw, Bonnie Raitt

Android FAQ: What is the keystroke to rotate an Android tablet emulator into landscape or portrait mode?

Landscape mode

I don’t know about other platforms (like Windows or Linux), but the keystroke to rotate an Android tablet emulator into landscape mode on a Mac laptop is fn-ctrl-f12.

I’ve come to enjoy good writing over the last few years. This is a short excerpt from an episode of a tv show named Medium:

Joe: I want to help you figure this thing out, I do, but I have to go, we have to go.

Woman in Allison’s body: So wait, the two of you have never gone out and said, “Oh screw it. Let’s stay out all night and party?”

Joe: Ah, that’s hard to explain, but for me, uh ... being with Allison is the party. And for Allison, there’s kind of no better place to have a party than at home with the kids.

Woman: God ... I would die to feel that way about someone ... some place. I would die to have someone feel that way about me.

“One may transcend any convention, if only one can first conceive of doing so.” (Quote from Cloud Atlas)

“I had a girlfriend once. She kept trying to get me to read Carlos Castaneda. You ever read any of that shit? But the relationship was doomed. Every time she brought up any of that karma past life stuff I couldn't stop myself from laughing. And yet, I can't explain it. I knew when I opened that door ...” (Quote from Cloud Atlas)

“Our lives are not our own. From womb to tomb, we are bound to others. Past and present. And by each crime and every kindness, we birth our future.” ~ Cloud Atlas

Former Chicago Cubs catcher John Baker talks about pitching prospects Hendricks, Beeler, and Jokisch.

I watched Cloud Atlas over the last few nights. It’s a long but good movie, with six sub-stories that occur over a span of hundreds of years, where you get to see the ripple of good deeds over time. (Or at least that’s one interpretation of the movie.)