Happy Black Friday

I’m finally sitting in a Starbucks on my laptop and doing some writing. Welcome to 2010. Yeah, I’m running a bit behind. I had to fight my way through a line non-existent Holiday-cup protesters. Did anyone other than headline writers really care about that?

What Have I learned already? I’m suffering from trackball withdrawal. I miss a second big monitor, but I’ll live. The wifi here is crazy fast. 55mbps down, 10mbps up! The food and drinks are not as expensive as I was thinking. There are reasonably priced drinks and food on the menu, just don’t go straight for the premium items if you’re going to be hanging out a while. I think it’s good etiquette to buy something occasionally. I think they might frown on bringing a sack lunch.

I trying to learn to live without my Logitech Trackman Marble Trackball. This is not a random recommendation. After I upgraded my computers away from being able to use my U series Wacom tablet(circa 1997) my trackball is the oldest working piece of hardware I’m currently using. I’ll note that it doesn’t look like Logitech has updated that trackball. There is a good reason for that.. I think it’s perfect as it is. I think I should by couple and put them away just in case something happens to the one I have. This is what one looks like after about 10 years. Yes, I wore off the finish!2015-11-02 10.46.52

Disable duplicate comment detection for pages and posts

I’m involved in the production of a site and I found the need to disable WordPress’s detection of duplicate comments. While often a good idea there are times in certain use-cases to turn it off. In my case the comments system was being used to communicate back and forth with individuals over the content of a custom post type. More of a case of order processing. It worked out nicely. However it was common for us to repeat ourselves, even within the same conversation.
The only solutions I found were either editing a core WP file.(NEVER EDIT WORDPRESS CORE! Every time you do a kitten dies.) There is another solution.. several years old, that temporarily wraps the comment content in a random md5 hash. Nice trick, but that filter ends up going out in email alerts about the comment. The proper way to do it is to remove the filter that does the duplicate detection! Filters are important to understanding many of the things that happen to content like wrapping chunks of text in p tags and processing shortcodes.
Here is what I added to my theme functions.php file:


A single line in your functions.php file. Nice, eh?

Lupica: Colorado school shooting shows Newtown has changed nothing – NY Daily News


Lupica: Colorado school shooting shows Newtown has changed nothing – NY Daily News.

I am saddened by the Sandy Hook shooting and any school shootings since. Unfortunately you can’t stop humans from being human. Bad people will do bad things. All we can do is make them accountable. The price of freedom is bad people can do bad things because we don’t know it will happen ahead of time. Freedom is important. It isn’t always nice.

New Theme: Part 5; about face

After many hours getting things set up properly with the Reverie theme, Foundation, Compass and Codekit I realized that Reverie wasn’t going to be a good solution for me. It’s a well built theme, however it would be difficult for me to use it as a framework. It hasn’t been updated in many months and there is not sign of development other than bug-fixes. In order for me to compile Reverie as I would need to as I make changes to the SCSS files I need to make sure I’m using an older version of Foundation that would not match the available Foundation documentation. Updating Reverie to make use of Foundation 4.2.3 defeats the purpose of using a framework, which is a head-start on development.
So now I am back to Underscores and the stand-alone version of foundation with the menu system integration provided by Reverie. I copied over the custom walker functions that apply the classes needed for the Foundation. A good result.
The next thing I decided I needed was a logo. I did spend several hours designing it.. and I tried not to over-think it. I wanted something simple and elegant with some sort of twist. The twist was I was going to animate it. I’m not clear yet on the device level support, but I’m happy to say it works great on my Android OS 2.3 phone. There were javascript solutions, but I chose CSS. I will always look for a css solution before I pick a javascript one.
I’m going to start tweaking the layout and adding in features from Foundation as I find good uses for them. This theme is going to be a playground and showplace for my web design skills so putting in features just for fun is acceptable.