Alvin Alexander | Java, Scala, Unix, Perl, Mac OS X
In an earlier vim color configuration tutorial I described how to have fine-grained control of your vi and vim color settings. In this article I’ll take an easier route and just show how you can use existing color schemes in your vi editor sessions.
Using a vim color scheme
Using a vim color scheme is actually pretty simple. If you’re in a vim editor session, just issue the vim
colorscheme command from last line mode, like this:
“I have no idea who that guy was, but I know that he just reset our karmic destiny.”
(A quote from the book, Love Everyone, that makes me wonder how many times our karmic destiny is reset and we don’t notice it.)
The postal code in Stewart, British Columbia, is “VOT 1WO,” which the locals tell me stands for Very Old Town, One Way Out.
I fall in love once or twice a week, but I usually try not to bring anyone home.
This is a great quote from my favorite book on spirituality about trying to change other people (and attachment and karma).
This is one of my favorite traffic signs in all of the world. You can find it if you drive north from Anchorage, Alaska towards Wasilla and Palmer. When I lived in Alaska in 2010-2011, I would take the exit to the right to go to Palmer. If you keep going straight you’ll go to Wasilla, then Willow, Talkeetna, and eventually Denali and then Fairbanks. (If you’re really gung ho, as I was, you can also drive to Prudhoe Bay, if you don’t mind 400 miles of dirt roads.)
And as you can tell from the highway numbers 1 & 3, there aren’t many main roads in Alaska. :)
If you like signs, this signpost on the corner of 4th and F streets in Anchorage, Alaska shows the distance to many other cities in the U.S. and around the world.
“The great personal fortunes in this country weren’t built on a portfolio of fifty companies. They were built by someone who identified one wonderful business.”
~ Warren Buffett
If you ever wondered what the theme song is from The Dead Zone tv series, it’s a song called New Year’s Prayer, by Jeff Buckley. (I haven’t looked into it, but somehow the song New Year’s Prayer was released on an album almost a year to the date after Mr. Buckley died, drowning in the Misssissippi River.)
The minute I heard my first love story
I started looking for you, not knowing how blind that was.
Lovers don't finally meet somewhere;
They are in each other all along.
I had one of those Inception “dream within a dream within a dream” things last night. I kept trying to wake up, but each time I thought I was awake I looked at my totem and saw that I was still asleep. (Followed by, “Bah! I’m still asleep!”)
Then as I’m standing there in the middle of a dirt road in my dream, trying to think of how I’m ever going to wake up, I hear my heart monitor wailing in the distance. “Now look at what you’ve done,” I think. “You’re dead, and you’re never going to wake up.” Fortunately I finally woke up, and learned that the power just flickered.
~ note from March 16, 2014
A lot of people don’t believe it when they come to the Boulder, Colorado area, but there were very few, if any, trees in Boulder and other towns like Louisville naturally. As you can see in this image from the 1800s, there are a few trees on the left side of the image, which is west, and closer to the mountains. Louisville, Colorado is east of here.
This image comes from the City of Boulder Facebook page.
An interesting theory about designing buildings:
“If there is a beautiful view, don’t spoil it by building huge windows that gape incessantly at it. Instead, put the windows which look onto the view at places of transition – along paths, in hallways, in entry ways, on stairs, between rooms.
If the view window is correctly placed, people will see a glimpse of the distant view as they come up to the window or pass it: but the view is never visible from the places where people stay.”
~ from A Pattern Language, by Christopher Alexander
There's a good story on this concept at this link.
From this article:
“Shortly after starting the session, my mind became as sharp as I’ve ever felt it in my life. I was in complete control of a lucid, concentrated mind.
I became meta aware of this mental clarity. It’s how I imagine it feels to ’wake up’ in the middle of your dreams and control them. I directed my attention away from my body to a random thought. And then brought it right back. Then away. Then back. All by choice.”
Her harlequin hovers nearby
Awaiting a word
Gasping at glimpses of gentle true spirit
He runs, wishing he could fly
Only to trip at the sound of goodbye
There may be better ways to do this, but as I’m writing a mobile app with the client written in Sencha Touch, and the server written with the Play Framework, I’ve written some
curl scripts to simulate GET, POST, DELETE, and PUT request (method) calls to my Play Framework “RESTful” services.
“A lot of people with high IQs are terrible investors because they’ve got terrible temperaments. You need to keep raw irrational emotion under control.”
~ Charlie Munger
“He has departed from this strange world a little ahead of me. That means nothing. People like us, who believe in physics, know that the distinction between past, present and future is only a stubbornly persistent illusion."
~ Stephen Hawking (1/8/1942 to 3/14/2018), in regards to Albert Einstein (3/14/1879 to 4/18/1955)
The “three principles of functional programming,” from this tweet:
1. Orthogonal composability
2. Maximum polymorphism
3. Maximum deferment
The “three pillars of functional programming,” from Functional and Reactive Domain Modeling:
1. Referential transparency
2. Substitution model
3. Equational reasoning
When I learned OOP I saw that it was based on several principles that everyone agrees upon. When I started learning FP (and later took two years to write Functional Programming, Simplified) I was surprised there wasn’t a single accepted definition of functional programming. I ran across the principles/pillars in the last two days and was reminded of that again.