Saturday, March 28, 2015

Ctrl-down/up in emacs in Mac Terminal

Finding the answer to this online pretty much drove me nuts. I'm sharing it here for you, future Internet user.

Here's the situation:
  • I use Emacs
  • I use Emacs in the Mac Terminal
  • \C-down was bound to forward-paragraph by default (and \C-up bound to backward-paragraph by default).
  • I wanted them to actually work, but they didn't.
Through some series of trickery I was able to figure out that the Mac terminal was sending the wrong escape sequences for cltr-up and down. Specifically, it wasn't sending anything at all, beyond just the down key. I fixed it with the following settings:
  1. From the terminal, go to "Preferences" "Settings" "Keyboard"
  2. Look for and modify, or add actions for ctrl-up and ctrl-down:
    1. ctrl-up = \033[1;5A
    2. ctrl-down = \033[1;5B

Sunday, March 1, 2015

Jane Bowman Stuckey

Here's the obituary for Jane Bowman Stuckey, my grandmother. She was an incredibly smart, and funny woman who lived a really interesting life. We will definitely miss her.

Jane Bowman Stuckey passed away peacefully in her home on February 27, 2015 in Austin, Texas at the age of 91.
She is survived by her children Dr. Barbara Beckman and her husband Dr. Edwin Beckman of New Orleans, Louisiana; Holly Brandt, and her husband Dr. Thomas Brandt of Austin, Texas; her son and his wife Jay and Ira Stuckey of Houston, Texas; her 6 grandchildren; and 9 great grandchildren. She is preceded in death by her husband of 65 years, James H. Stuckey.
She was born to the late Esther and Glen Bowman on September 5, 1923 in Highland Park, Illinois. At the age of six, her family moved near Harlingen to help her grandfather with his citrus orchards. In 1940, she graduated from Harlingen High School where she played the piccolo in the marching band. She attended Sophie Newcomb College in New Orleans before returning to the Valley where she met and married her late husband, James H. Stuckey in 1942.
At the time of their marriage, Jim Stuckey was a radio operator with Pan American Airlines. When an opportunity to transfer to South Africa came along, Jane talked Jim into it. They spent several years there before moving to Houston in 1951.
After moving to Houston, she became an avid golfer. She remained a voracious reader throughout her life. She especially enjoyed reading the Man Booker selections each year when they were announced. She was always aware of current events, and impressed her grandchildren with her sharp mind and knowledge of the world. Jane considered herself to be a ‘birder’ who traveled the world looking at exotic birds. 
There will be a private family celebration of Jane’s life in Houston. In lieu of flowers, please send donations to Austin Hospice at 4107 Spicewood Springs Road, Suite 100, Austin, TX 78759 or a charity of your choice that reflects Jane’s love of birds and nature. The family would like to thank Hospice Austin for their care and support during this difficult time.

Sunday, February 22, 2015


Something occurred to me while I was taking a shower this evening. It was almost a daydream. I was imagining looking for a specific type of service person by emailing some mailing list, and then having to apologize because I didn't know more about this particular industry. This one thought lead my brain off on its own.

We all know that time in life is short. And there is no lack of things that we can learn about, study, research, become an expert (or even amateur) in. And I wish we had a word for describing those particular things I have chosen to be interested in as opposed to all the other, equally valid to be interested in.

"Interests" sort of seems to describe it. But that's not quite what I'm getting at here. Think of the "causes" you care about. For me, it's probably the death penalty (i.e., repealing it in the US) and the environment. Many of my friends care deeply about poverty, and women's rights. Don't I care about poverty?! I certainly believe that I do. But I have not studied them, I do not generally consume all articles about them, and most importantly I often don't know enough to have strong opinions about, say what should be done to help those in need in my city.

A lot of my coworkers have spent a lot of time learning about home repair, or stereos or electronics. I think those are all valid things to be interested in, but I know almost nothing. If I want to buy a new stereo, I just ask one of these people and more or less buy exactly what they tell me. Or decide that the good ones are too expensive, and give up.

This is, I think, totally normal. There's only so many things you can invest yourself in passionately. And there's opportunity cost to everything you choose to do.

Going back to the title of this article, there's probably a German word to describe what I mean, but no English one. And I truly think that's a shame, since in many ways life is all about choosing which things to focus on at the exclusion of other, equally valid, equally important things. 

Thursday, January 15, 2015

Tech Videos Worth Watching: DNS

Here's another one from Defcon 21, which is just like the gift that keeps on giving for me. This guy is doing some really scary stuff with DNS, and as a security noob myself, it's really fun to learn about.

Friday, November 21, 2014

Email Response Time

Ever since I started a full time job, where I spend nearly all day answering work emails, it seems I am less and less interested in responding (or even reading) personal emails. At some point I realized Iwas being slow to respond, but I wanted to know, just exactly how slow.

So, I graphed it (numbers in days):

This data  comes from a Google App Script I wrote. Here's the source. Google App Script is great, it lets you write Javascript that has access to your Google Apps, like email, docs, etc. You can do stuff like send emails as a result of changes in your Docs, or in my case, run a script every day that reads your email and writes to a spreadsheet.

Here's how the script works, although there's definitely room for improvement. Every day it runs, it looks at my last 30 days of email, and for every email where I responded to someone else it adds up the delay between their email and my response. Additionally (and here's the kind of weird part that I think is creating the spikes in the above graph) I wanted to keep track of my outstanding responses and how long they were taking. My normal email workflow is that I keep things that I need to respond to in my inbox, so I decided to include for any email in my inbox, the time between the last email (as long as it wasn't from me) and the current date.

One final caveat was that, after 60 days I put a hard cutoff, since those are typically emails I just never respond to, and finally archive in shame.

So how does it look? For most (median) of my emails I respond in a few hours. But for the 99th%ile email, it is much worse, around 25 days, and even worse if you go back a month or so.

I definitely recommend Google Apps Script. It's easy, but super powerful because all of the useful data (i.e., yours) that the scripts have access to. I could even see it being a pretty good way to learn programming/JavaScript, since from day 1 you can do some pretty interesting things. 

Tech video worth watching: SIM Cards

Lately I've been getting much more into video as a means of self-education. Traditionally when someone shares a link on twitter/facebook that's all video no text I would get pretty annoyed. "I can't watch this thing on the bus, you know." But more recently (and due in no small part to YouTube's Playback Speed setting) I have rediscovered the pleasure that can come from a well-given talk.

The hardest thing now is finding them.

This one is "The Secret Life of SIM Cards." It's a talk from Deccon 21, via Adam Goode. The two speakers set up their own GSM network, and discovered some of the weirdness of on-SIM applications.

Saturday, September 20, 2014

Kojima Jeans Street

After reading this great blog post on the Jeans Street in Kojim, Japan, my wife and I decided to make a day trip there. Now, bear in mind that I am no great jean or raw denim enthusiast, but I am definitely easily swayed by fashion trends that involve technical minutiae. That and I have a couple of friends who are in to denim so I figured it would be worth visiting.

The above blog post really does a great job of covering the Jeans Street, and if you are at all interested you should go there first. But, I did find a few bits of information that were left out of that post, so I thought I'd be helpful and post some of them here.

For a short bit of background, there's some famous Denim brands in Japan, particular famous to those who like 'raw denim.' The city of Okayama, which is otherwise none too notable, is the home more or less of Japanese Denim. But in the small city of Kojima, 20 minutes away by train, a number of these famous Japanese brands have set up a shopping street dedicated to nothing but denim. Like I said, the above blog post does the whole thing much more justice.

Anyway, here are a few things you might want to be aware of if you're heading there:

  • Getting To Kojima: Despite what I gathered from the above article, the Jeans Street is not in Okayama, it's in Kojima which is a separate town about 20 or so minutes away by train. To get there, first you need to get to Okayama, which has a Bullet Train (Shinkansen) station. Then from Okayama station, take the Seto Ohashi Line south towards Kojima. It goes about every 20 minutes and was very easy for us to find. Get off at Kojima Station.
  • Getting From Kojima Station to the Jeans Street: Once you are arrive at Kojima Station, you can get to the Jeans Street by Taxi or by Bus.
    • Location: The Jeans Street is HERE on Google Maps.
    • Taxi: A taxi to the Jeans Street costs about 700 yen, and the drivers will know where to go. Note that it will be very difficult to find a taxi back to the station unless you can call one.
    • Bus: Here is a map and bus schedule that I scanned. The bus costs about 140 yen, and will take you from the station to the place on Google Maps I linked above. When it finished its loop it will take you back from the same spot. 
  • Shops and Descriptions:
    • Map of Shops: This PDF has a map of all the shops and their names.
    • Description of Shops: This PDF has English descriptions of the stores in the above map. This Google Doc contains the same information, but also with Google's Optical Character recognition enabled, to act as better bait for Google's search engine.
  • Food/Drink: There are plenty of restaurants and cafes, so see the above map of shops for more information. 
Hope this helps! If you have any other questions I'm happy to try to answer them in the comments.