Monthly Archives: May 2012

WordPress, Custom Taxonomy, and “An unidentified error has occurred”

Working on a plugin today, part of which includes a custom taxonomy, and came across a snag today. Got the taxonomy added, along with the custom post type it was associated with. The meta box showed up just like it … Continue reading

Posted in WordPress | Tagged , , | 7 Comments

Why so few female engineers?

Posted in Random | Leave a comment

Weekly Tweets for 2012-05-19

RT @olgachaidou RT @CoolSWEng: An advantage of being forgetful is that you’re forced to document your code. #

Posted in Tweets | Leave a comment

Regex to replace multiple spaces

Normally I just don’t worry about this since I’m usually building websites and HTML takes care of merging multiple spaces. But it comes up occasionally. And since it’s just a quick regex replace, it’s pretty quick to merge multiple spaces. Piece … Continue reading

Posted in Programming | Tagged , | 1 Comment

Hiding the “Welcome to your new WordPress site” message

Sitting here working on setting up a WordPress network and hit a snag. New sites have a giant “Welcome to your new WordPress site” message when someone logs in for the first time. Now, I’m not against the message; and … Continue reading

Posted in Blogging, Programming | Tagged , , , , | Leave a comment

Weekly Tweets for 2012-05-12

Comment form in @WordPress, above or below existing comments? http://t.co/FjfNkbwT # Quick and easy way to refresh a jQuery datatables table http://t.co/rdg0sdhI #

Posted in Tweets | Leave a comment

Should add new comment be above existing comments

Had a thought while scrolling to the bottom of a WordPress post with 250+ comments. Does having the add new comment form at the bottom of a page that long lead to fewer comments? Really, who is going to scroll … Continue reading

Posted in WordPress | Tagged , , | 1 Comment

Datatables jQuery plugin – Refresh table

Sometimes I try and make things way too hard. One of the things that a web app I’m working on needs is the ability to do an advanced search. It’s using the outstanding DataTables plugin for jQuery which takes care … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Double click on file in Chrome developer tools

How did I not know this already? I’m working on a web app that’s pretty Ajax heavy so I’ve got the Chrome developer tools window opened up to the Network tab so I can see what’s going on. By accident … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Math for Game Programmers

Had an idea running through my head for a while now and finally pulled the trigger last weekend. Something I’ve noticed teaching students to write games is that most don’t expect programming games to involve as much math as it … Continue reading

Posted in Blogging | Tagged , , | 4 Comments