Articles Home

Dab 1200 j

Recognizing Bad Dev Shops

A study on identifying the smell before you get too deep.

Introduction PostThis is a multi-part post intended to help you (and those you care about!) identify bad development shops before succumbing to their wily ways. Many examples within these posts may pertain to Drupal but most ideas can be abstracted out to general principles.Learn how to identify ...

drupal, industry, development, business

Ain't No Party Like a Section 508 Party

Cos a 508 Party Don't Stop

There's just something inherently peaceful about coding to a 508 standard. In a development world of unknowns - whether from the client end or the tech stack side of things, always ensuring I'm coding/presenting to Section 508 standards always leaves me with a sense of accomplishment. Like, I kno...

508, Standards, HTML, CSS, Style

When the MAGIC of a CMS Makes You Bang Your Head

Bloaty McBloatface

Man, I dig some Drupal and Wordpress. I like the ease of using a CMS for projects that need it and the automagical things that it can do. I mean, It's been my bread and butter for about 10 years now. Like, I grok this. But every time I have to do something on the front end I cringe and die a litt...

code, cms, drupal, frontend, views, smh

Quickie: Batch Renaming Files in Linux

Quick and easy way to rename files

For those wanting to be able to quickly and efficiently rename a bunch of files all at once, below is some example code to help you achieve that:ls *.xml | sed 's/\(testing\)\(.*\)/mv \1\2 production\2/' | shThe first piece ls *.xml simply lists the file types we want to change. You can, of cours...

quickie, linux, bash

Quickie: Data Mining on the Web with Perl

An extremely basic example of grabbing some data

This is a simple web mining script using perl.#!/usr/bin/perluse LWP::Simple;$numPages=$ARGV[0];open OUTPUT,">/home/user/out.html";for($i=1;$i<=$numPages;$i++){print $i."\n";        $content=get("".$i);        print OUTPUT $content;        print OUTPUT "*****...

perl, quickie, scripting, linux

Quickie: Deleting Old Files

Removing old files from Linux the fun way

Many people have the need to delete files older than a certain range. For instance, you may want to remove all podcasts that are older than a certain time period or delete other files that you receive regularly. Making use of the find command and mtime, you are able to delete them with ease.find ...

quickie, linux

PostgreSQL and MySQL

Comparing Licensing, Functionality, and Reliability

1. IntroductionThere is much debate about which open source database management systems (DBMS) is the best to use. For this paper, I will attempt to objectively compare the benefits of MySQL and PostgreSQL which are arguably two of the most widely adopted open source DBMS's. The scope of this pap...

research, Database, DBMS, MySQL, PostgreSQL

Quickie: Multiple File Search and Replace

Solution: perl -pi -w -e 's/searchregex/replaceregex/g;' *.fileextension

If you've ever run into the necessity to change the same data over multiple files you know how hard it is to go through each and every file and update it by hand or at best do an indiviual regex on each. Here's how you can make the changes all in on fell swoop.perl -pi -w -e 's/searchregex/replac...

perl, quickie, scripting

Software Process Model and Metrics Adoption for Small Software Organizations

Research Paper

You can find my downloadable research at: paper discusses reasons why small organizations often do not adopt software process models and metrics that are more prevalent and ex...

research, process

Quickie: Strip ^M (Control-M) Characters from Input File with Perl

Command line removal of control characters

For anyone that does file I/O and has to sometimes work with Windows-generated files in Linux, I feel your pain. Windows has these little nuances that sometimes makes our GNU/Linux world a fun place to live. Luckily, PERL has a simple little system in place that allows us to remove control charac...

perl, quickie, scripting