Scala, Java, Unix, MacOS tutorials (page 179)

I wouldn’t want to use a 9” tablet as a laptop all the time, but sometimes at night I use my Nexus 9 with a Bluetooth keyboard to type some notes or start writing some code I plan to work on the next day. I don’t use many apps, just a decent Android text editor I found.

Pros: Using the touchscreen to scroll and place the cursor. Copy and paste isn’t too bad.

Cons: The small display and keyboard.

(In the image, the word “catain” was supposed to be “captain.”)

A Google Nexus 9 tablet as a laptop

“The universe is built up into an aggregate of permanent objects connected by causal relations that are independent of the subject and are placed in objective space and time.”

~ Jean Piaget

I can’t agree with the “permanent objects” phrase, but this is a quote from the book, Implementing Domain-Driven Design, by Vaughn Vernon

“The honest answer to almost any question in software development is, ‘It depends.’”

Eric Evans, author of Domain Driven Design

It feels good to be writing again, if only a little so far. This is what a fairly typical page looks like after one of my early editing sessions.

Typical editing example

Perhaps because of the sitar and the way they sing, I find it a little hard to understand the lyrics for the Beatles song, “Within You Without You”, so here are those lyrics:

We were talking about the space between us all
And the people who hide themselves behind a wall of illusion
Never glimpse the truth, then it’s far too late, when they pass away

We were talking about the love we all could share
When we find it, to try our best to hold it there with our love
With our love, we could save the world, if they only knew

Try to realize it’s all within yourself
No one else can make you change
And to see you’re really only very small
And life flows on within you and without you

We were talking about the love that’s gone so cold
And the people who gain the world and lose their soul
They don’t know, they can’t see, are you one of them?

When you’ve seen beyond yourself then you may find
Peace of mind is waiting there
And the time will come when you see we’re all one
And life flows on within you and without you

One last post about the 2016 Presidential election. This is from Roshi Pat Enkyo O’Hara of the Village Zendo on LionsRoar.com. The short, non-religious version is:

Listen > Learn > Act

 

Roshi Pat Enkyo O’Hara on the 2016 U.S. Presidential election

When I saw that “physician-assisted suicide for the terminally ill” was on the 2016 ballot here in Colorado, I was curious how the vote would turn out. With 87% of the vote in, it appears to have been approved by nearly a 2:1 vote.

Physician-assisted suicide for the terminally ill in Colorado

I never liked living in states that always voted Republican or always voted Democrat, because if you were voting for the other Presidential candidate in those states, your vote didn’t really matter.

Like Al Gore before her, it looks like Hillary Clinton will win the popular vote while losing the election. Given what we can do with modern technology, I hope the antiquated Electoral College will soon be abolished so every individual’s vote really will matter.

(I don’t write this as a Democrat or Republican. By my count I have voted for four Republican presidential candidates and four or five Democrats. I write it as someone who is an Independent voter in America who likes their vote — and everyone else’s vote — to be meaningful.)

~ November 9, 2016

The bad news is you’re falling through the air, nothing to hang on to, no parachute. The good news is there’s no ground.

~ Chögyam Trungpa

Why is it that I can eat salty potato chips with a glass of water, but I can’t drink a glass of saltwater?

“What makes a clean test? Three things. Readability, readability, and readability.”

This image shows how to use color syntax highlighting in the Scala REPL. In short, just start the REPL like this:

$ scala -Dscala.color

I had two interactions with Chicago Cubs players in my youth.

When I was about 10 years old, Randy Hundley was the Cubs catcher and he came to speak to all of our little league players and parents at a large gathering. After he gave a speech we were allowed to ask questions. Even then I was interested in pitching, so I asked, “What do you talk about when you go out to the pitchers’ mound?” He answered something like, “Son, I’m sorry, I’m not allowed to use those words here.” (All the adults thought that was funny, but I was serious and thought, “Geez, why don’t adults ever take kids’ questions seriously?”)

Then when I was a senior in high school, Ron Santo came to one of my games, wearing his trademark leather jacket. Technically he went to his son’s game, but since I was pitching and we won, it was my game. ;)

“Some people, they just lose sight of what’s important in life. That doesn’t mean they can’t find their way again. Maybe all they need is a little Christmas spirit.”

“You and I are the force for transformation in the world. We are the consciousness that will define the nature of the reality we are moving into.”

~ Ram Dass

Chicago’s Hamilton cast performs “Go Cubs Go”:

The last line in that image is amazing/sad: “None of Apple’s newest laptops can connect to its own flagship smartphones without using a dongle or purchasing a separate cable that doesn’t otherwise ship with any of Apple’s hardware.”

Apple, a dongle company

“If you have four more years or four more weeks, you’re here right now ... I think when you’re somewhere, you ought to be there, because it’s not about how long you stay in a place, it’s what you do while you’re there, and when you go, is that place any better for your having been there?”

Chris Stevens, KBHR radio, Northern Exposure

On November 2, 2016, the Chicago Cubs beat the Cleveland Indians in Game 7 of the 2016 World Series by the score of 8-7 in ten innings. Ahh ... it feels good to say that.

Cubs beat the Indians in Game 7 of the 2016 World Series