AT&T turned LTE on in South Minneapolis? I have it.
LTE full strength in warehouse district too. AT&T didn’t have this yesterday.
I wish there was a Mac version of Letterpress where I could have multiple games open at the same time.
Dads and Donuts at Berry Patch
Today I got to take Tyler to Berry Patch for pre-school to attend Dads and Donuts day! Tyler was super excited for Dad to come to school with him. We played with Play-Doh while everyone arrived. We then went in and talked to Fireman Tom from the Edina Fire Department. Tyler was sitting up front and volunteered to come up front and try on a fire fighter suit! He was so excited!
He got to stand in fireman boots:

Put on a fireman jacket!

And a real fireman helmet!

After our talk with Fireman Tom we went out front and got to see a ladder truck up close! Tyler posed with Ms. Anita for a picture in front of the truck.

He even got to drive it!

We finished with a delicious donut with another fire truck on the table!

Took a moment during election coverage to upgrade to MediaWiki 1.20, released a couple hours ago! All went very, very smooth. Not even a hiccup. New new diff view is a welcome improvement. Much easier to read.
I won a nice game of Lost Cities against Tom Keekley.
New Bob Mould album “Silver Age” is very good!
It would be nice if you could stash words in Letterpress that you want to remember for a future move.
It would be a lot of fun if you could “react” to the word your opponent played in Letterpress. Like the faces in Lost Cities.
Mission accomplished! Beer at Wits!
Mike Doughty playing at Wits!
Agile Day Twin Cities 2012
Presenting at Twin Cities Agile Day today!
Minneapolis Institute of Art is nice venue for Twin Cities Agile Day.
Attending Jeff Sussna session on continuous delivery.
Nice line from David Hussman: (Value) = (Why) / (How)
Wow. That’s how it’s done.
- So, how many pieces of candy do you give to trick or treaters? I do 3-5 depending.
- Estimate 80 trick or treaters so far.
- Wave 2 of trick or treaters hitting the doorbell now.
MediaWiki Template Filter Title
I was recently doing some cleaning on our Read/Write Book Club website and ran into an interesting challenge. All of the books in the wiki are in a couple of categories, but I wanted them sorted right ignoring A, An and The beginning of the title. MediaWiki supports this in the category tag allowing you to specify [Category:Book|Sort Title] and early on in the wiki I had a second field in the form for Sort Title asking the person editing the book to do this.
The result was nobody did it and all the books with “The” in the beginning of the title were all under T. Shouldn’t this be easy to just deal with in the wiki itself?
Well, it turned out to be much harder than you would think in large part because MediaWiki doesn’t honor spaces in template tags. My first attempt to do this was rather brute force, simply look for the three cases that I want to get rid of in the title and chop it off.
<includeonly>
{{#if:{{{1|}}} | {{#vardefine:title_filter_temp|{{{1}}} }}
{{#if: {{#pos:{{#var:title_filter_temp}}|The }} | {{#ifexpr: {{#pos:{{#var:title_filter_temp}}|The }} = 0 | {{#vardefine:title_filter_temp| {{#sub:{{#var:title_filter_temp}}|4}} }} }} }}
{{#if: {{#pos:{{#var:title_filter_temp}}|A }} | {{#ifexpr: {{#pos:{{#var:title_filter_temp}}|A }} = 0 | {{#vardefine:title_filter_temp| {{#sub:{{#var:title_filter_temp}}|2}} }} }} }}
{{#if: {{#pos:{{#var:title_filter_temp}}|An }} | {{#ifexpr: {{#pos:{{#var:title_filter_temp}}|An }} = 0 | {{#vardefine:title_filter_temp| {{#sub:{{#var:title_filter_temp}}|3}} }} }} }}
{{#var:title_filter_temp}}
| No parameter passed to [[Template:Filter title]]. }}</includeonly>
This worked in many cases, but not all. A book like Antifragile got in trouble with this approach since the “An” matched it got sorted in “T”. You would think this would be an easy fix right? Don’t look for “An” but instead for “An “, including the space in the match. Unfortunately it is nearly impossible to pass a space into a MediaWiki template. MediaWiki effectively trims all template inputs of spaces so a space by itself becomes, effectively, null. A different approach was needed.
After some consideration I came up with this approach that uses the Arrays extension. I like it a lot more than the first attempt! The basic idea is to break the title into an array of strings on the space (note that #arraydefine allowed me to use a regex pattern to avoid the problem of not being able to pass in a space). I then check if the first element in that array matches a set of targets (in the #switch statement). If it does, set the index to 1, otherwise 0, and build a new array from that index offset. Like this:
<includeonly>{{
#arraydefine:filter_title_temp|{{{1|No title was provided}}}|/\s/}}{{
#switch: {{#arrayindex:filter_title_temp|0}}
| A | An | The = {{#vardefine:filter_title_i|1}}
| #default = {{#vardefine:filter_title_i|0}}
}}{{
#arrayslice: filter_title_new | filter_title_temp | {{#var:filter_title_i}} }}{{
#arrayprint: filter_title_new | _ | @@@@ | @@@@ }}{{
#arrayreset:filter_title_temp|filter_title_new}}</includeonly>
This works great with one exception. I still get confounded with the space problem when assembling the new title in the #arrayprint method. I decided to print the new title with underscores where the spaces were. Since this is used for the sorting condition, this is fine. The end user never sees the title and the wiki will sort right if given Title_of_the_Book.
Now the sortable titles are all generated and the Book Category page looks awesome.
Guest network now openwireless.org
For years I’ve ran a guest WiFi network at home that has been called “Thingelstad Guest”. It makes it super easy for people that are visiting to hop online when they are visiting. I also don’t have to share the key for the “Thingelstad Home” network with people that are visiting which is a plus.
Last night my buddy Ry4an Brase posted on Google+ this EFF Open Wireless project. I’m a proponent of allowing unfettered access to the Internet so I decided to join up and rename our guest network.

Does your router support a guest network? How about doing the same on your network?
There should be an Emoji version of Letterpress.
Surprised that Letterpress doesn’t have achievements.
Double Macchiatos at Urban Bean Coffee with Kent. ☕️
Playing Lost Cities this way.
Visiting National Eagle Center
While in Wabasha for the weekend we spent the morning at the National Eagle Center.

Mazie and I also attended one of their workshops and learned a lot about the Bald Eagles and got to see one of them have lunch.

Definitely a fun place to stop in Wabasha on your next trip!
What part of “Keep your kids behind the yellow line.” do these parents not get. Seriously!