Posts Categorized: Programming

How to Create a Symfony Bundle

Technically, it is not terribly complicated of a process to manually create a Symfony bundle. I would just need to create the bundle directory structure in the src directory. That’s just four directories and then a few subdirectories. Then I just need to update app/AppKernel.php to load the new bundle. Oh yeah, I would need… Read more »

Symfony Peeve: Inconsistent Namespace References

One thing that peeves me about Symfony is that it’s inconsistent in how it expects the user to refer to what’s seemingly the same thing. For instance, if you want to create a bundle with the command-line tool, you would do something like this. php app/console generate:bundle –namespace=Acme/Bundle/BlogBundle That’s fine, but then when you want… Read more »

Bye Perl

It’s been a long time in the making, and I should have done it two years ago, but I’m finally all bit rid Perl entirely from my web application development and deployment ecosystem. You know 10 or 15 years ago, Perl was actually doing some interesting things. I thought mod_perl had a chance to be… Read more »

Joddit Global CSS Fixed for WordPress 4

I really like the simple CSS plugin — Joddit Global CSS. It works great. Well, it worked great until I upgraded to WordPress 4. Then it broke. After upgrading, I couldn’t see any of my stylesheets via the admin interface, but they were still loading. So I posted a message to the author of the… Read more »

Configure Netbeans to Auto-upload Files using SFTP

Here’s how to configure Netbeans to automagically upload files to a server using SFTP. Before you can begin, you have to have a Netbeans project. No, wait, you actually need to have Netbeans installed. So if you don’t have Netbeans installed, or you don’t know what Netbeans is, you should go get it. If you’re… Read more »

Netbeans IDE

My preferred editor for at least 10 years was emacs. I still love emacs and use it often, but Netbeans has definitely won me over. Is Netbeans perfect? Not by a long shot. I find the keyboard controls to be clunky and difficult to make work for how I prefer to code, but I’ve figured… Read more »

Common Alerting Protocol Version 1.1

For my job building web services for the government, I’m currently tasked with adding an alert feature to the state’s amber alert system. To do that I’m going to build a Common Alerting Protocol version 1.1 feed. The sample Common Alerting Protocol version 1.1 looks like this. <?xml version=”1.0″ encoding=”utf-8″?> <alert xmlns”urn:oasis:names:tc:emergency:cap:1:1″> <identifier>KAR0-0306112239-SW</identifier> <sender>KARO@CLETS.DOJ.CA.GOV</sender> <sent>2003-06-11T22:39:00-07:00</sent>… Read more »

Lubuntu on Asus EEE PC 900

I have an Asus EEE PC900, but the bastardized version of Debian that came with the computer was wildly out-of-date. No sane person should put an un-patched computer on the Internet without patching it. Unfortunately there isn’t apparently any way to update the hacked Debian install that came with the computer. Fortunately, I was able… Read more »

Debian Wheezy mod_perl apreq_handle_apache2 undefined symbol issue

While installing mod_perl on Debian Wheezy I ran into this issue and log message. /usr/sbin/apache2: symbol lookup error: /usr/lib/perl5/auto/APR/Request/Apache2/ undefined symbol: apreq_handle_apache2 To fix it, I had to load the apreq.load module. On Debian, just symlink to the /etc/apache2/mods-available/apreq.load in /etc/apache2/mods-enabled and it is fixed.