This weekend we had a significant weather event as a tornado blew through and caused a lot of damage. In a lot of areas, tornadoes caused power outages and a number of traffic lights were out, even after power was restored in some cases.
I was surprised to see that many, many drivers did not treat intersections with disabled traffic signals as four way stops. I don’t know whether people don’t know that’s the law, or they just don’t care, but I repeatedly saw people blowing through intersections without even slowing down.
When I lived in Houston, KLOL (now a Latin station, apparently, but for many years a classic rock mainstay) ran a traffic segment called “Traffic in Bondage,” reported by the TrafficMaster Lanny Griffith. Houston has lots of traffic, and Lanny Griffith was perhaps the greatest traffic reporter ever. How many traffic reporters do you know of who have a devoted fan base?
One of his signature bits was, “Traffic signals are out at Westheimer and Gessner. Treat it as a four way stop! Hwah!” Everyone who listened to KLOL heard that, usually multiple times per day. This, to me, will always be the essence of public service journalism. I wish someone had taken a poll at the time that compared the level of awareness of what to do when traffic signals are out among Houstonians to Americans in general.
We don’t have such a traffic reporter here, and very few people seem to know how to drive. When you arrive at an intersection with the traffic signals out, treat it as a four way stop.
On an unrelated note, in the photo, Lanny Griffith is biting a Key Map of Houston, which was the best navigation aide you could possess prior to the age of MapQuest and GPS receivers. Owning one was absolutely essential if you had a job that required driving around. The company that publishes them is still in business and still produces maps only of Houston and its surrounding areas.
Navigating among tabs in Vim
Last week I mentioned that the only thing I was struggling with in my transition to Vim for editing code was juggling multiple open files at once. Switching from one file to another is really easy, especially if you’re working on a Rails app and using rails.vim. There are a number of really nice navigation features built in that make it easy to open any file from your project and to switch among related files.
This morning I noticed that these navigation commands all have “open in new tab,” “open in new split window,” and “open in new window” variations. So to open a model called “store.rb”, in command mode you just type:
To open that model in a new tab, you type:
Navigating among tabs using the keyboard is easy as well:
So, to switch to the third tab, you just type “3gt”. In command mode you can also just type “gt” to move to the next tab.
Suddenly, my problems are solved.
I’m also getting the hang of split windows, which I should have mastered years ago. They have two advantages over tabs, the first being that they make it easy to look at multiple files at once. The second is that you can use them in terminal sessions as well. Another nice thing about split windows is that you can split your view of one file so that you can look at one section of the file while you work on another.
I think the real lesson here is that not taking the time to master your tools is false economy.