Revisiting software development on Chromebooks - rapidly improving state of Chrome apps for developers

Chromebooks make surprisingly great laptops for software developers. If you don't know much about the Chromebook model, you might dismiss it as just a web-browser with delusions of grandeur. I'm a long-time software developer, writing code for a living since the mid-80's primarily on Unix/Linux/MacOSX systems, and I've pretty much abandoned my MacBookPro in favor of a Chromebook. The Chromebook is much faster than the MacBook (primarily due to the SSD drive), and lots lots lots cheaper to buy/own than any MacBook or MacBookPro.

Drupal Book node hierarchy went missing, necessitating database patching and a couple scripts to help

Twice now I've had the Book hierarchy on a Drupal 6 site go bonkers. The first time was on this very site, back in 2009, while this site was being converted from Drupal 5 to Drupal 6 (it's now on Drupal 7). The /book page simply became empty, and I managed to fix the book hierarchy with some database twiddling. That was over six years ago and I'd since converted this site to Drupal 7. I have another site still running Drupal 6, and the same problem (empty /book page) just happened on that site.

Ensuring your Wordpress filter affects text generated by a shortcode

wordpress-logo-stacked-rgb.pngSuppose you've developed a Wordpress plugin to expand a shortcode. That's easy enough, the Shortcodes API is straightforward enough and it's pretty simple to do.

Ensuring custom post types show up on Wordpress categories & tags archive pages

wordpress-logo-stacked-rgb.pngThe default behaviors built into Wordpress drive me batty sometimes, because they've made certain assumptions that aren't always right. One of these are that the built-in Categories and Tags taxonomies are somehow special. In particular if you create a custom post type, then associate that post type with either Categories and Tags, the category or tag archive pages won't show posts for your custom post type.

Embed an Amazon aStore on Wordpress with a functional URL that accepts ASIN etc arguments

wordpress-logo-stacked-rgb.pngThrough the Amazon affiliate program you can create what's called an Amazon aStore - which is a functional "store" filled with products you specify from the Amazon website, that then earn you affiliate commissions. You curate the products shown on your store, and presumably that'll be what makes your store more valuable is the effort you take to select appropriate products for your audience.

New Wordpress plugin: External links nofollow, open in new tab, favicon

wordpress-logo-stacked-rgb.pngI've just release my first Wordpress plugin - External links nofollow, open in new tab, favicon. It was an interesting process getting to this point.

Let's Kill Davros! Or, a review of Doctor Who S09E01, the Magicians Apprentice

p032kxgr.jpgIf someone pointed out to you a little boy, as innocent as could be, and you knew that boy would grow up to create the most evil the universe ever saw, would you kill that little boy and prevent that evil? Yes or No. And what would either answer make you to be? If you're The Doctor, and you're suddenly in the middle of a horridly crazy war that looked like World War I trench warfare but had biplanes shooting laser canons, and you met a scared little boy who was about to die, what would you do?

Using PHP DOMDocument in Wordpress content filter, instead of regexp

wordpress-logo-stacked-rgb.pngIt's been said that solving a software coding problem by adding a regexp (regular expression) you now have two problems. Basically, regular expressions are a cool idea that's really hard to get right, and then really hard to maintain because it's really easy to forget why you concocted that specific regular expression. It's better to not use regexp's, for code maintainability if nothing else, and find other ways to manipulate text.

How to stop your facebook page from posting tweets to twitter

Automated postings to social media accounts - Facebook, Twitter, etc - are a great way to build your presence, and let your audience know what you're doing. Over the years preferred services have come and gone which automate cross posting to social media accounts. Where a few years we would have instructed Facebook to autopost to twitter, we might want to do that in a different way now. For example, I'm finding the service to be much better and offer better control over the format of postings.

Node.js 4.0.0 is out - quick tip for use while testing compatibility

nodejs-dark.pngNode.js v 4.0.0 was just released. This is a long-awaited release representing the healing of the schism in the Node.js community created when the io.js project forked Node.js. That had been done over a disagreement about the policies and maintainership of Node.js. Joyent had been in control of the project (because Ryan Dahl had been employed by Joyent) and not all in the community liked the decisions made by Joyent.


Subscribe to Front page feed