Apple earns more than Google, HP, Intel, and Cisco combined. Wow.

I’m glad to see companies like Headspace offer meditation apps, and that they are separating a) meditation from b) religion.

On the campus of the University of Colorado in Boulder this morning: “Be mindful even when your mind is full.”

A few examples of how to implement left-trim and right-trim on strings in Scala:

def ltrim(s: String) = s.replaceAll("^\\s+", "")
def rtrim(s: String) = s.replaceAll("\\s+$", "")

In a related note, here’s a method that removes all blank strings from a Seq, List, or Array of strings:

Summary: My “Wikipedia Reader” application reads Wikipedia pages to you. The current release is a very rough Version 0.1 (alpha) release. What’s new: 1) It works. 2) It’s packaged as a Mac OS X application. 3) It supports the use of multiple reading voices.

Update: I’ll get a new build out this weekend that eliminates the bugs shown in the video.

In my spare time I’ve been working on an application I call a “Wikipedia Reader” (or Wikipedia Page Reader). As its name implies, it reads Wikipedia pages and speaks the page content to you. The functionality is shown in this 112-second video:

I noticed recently that a Scala/Java Swing application I am developing on Mac OS X 10.9 has blurry text when it’s run as a Mac application. The text looks fine when I run the application through SBT, but looks blurry when I package it and run it as a Mac OS X application.

A solution is to put this text in the application’s Info.plist file:

The goal of serving mankind is a noble one. Unless, of course, it happens to be in a Twilight Zone episode. ;)

I just ran across this old Facebook post, from a trip I made to Virginia last year.

When you get into learning about dividend investing, you’ll eventually learn about the DRiP list, maintained by Dave Fish.

In honor of having more snow across the United States in mid-April.

There are some great Git learning resources at this Tower link.

I passed out again yesterday, but I think US Airways had a worse day than I did. Something went very wrong with this “customer service” tweet.

I don’t know if there is a better way to do this yet, but if you want to select one record from a database table using the Play Framework and Anorm, I do know that this code works:

“I’ve failed over and over again in my life, and that is why I succeed.” ~ Michael Jordan