Basic D Filter Function Template

Thu, May 07, 2009
It's really simple to make a basic filtering function for D.

Metaprogramming in D

Mon, April 27, 2009
This is an excellent video for anybody interested in learning the D programming language. It seems like it's targetted at meta programming, but it also does step through basic differences between D and C/C++ and is worth the viewing. The video is of Walter Bright who is the author of the D language and DMD compiler.

CodeBox Source Available For Browsing

Fri, April 24, 2009
As part of an ongoing effort to provide a useful utility library for Digital Mars D, I'm allowing the CodeBox library source to be browsable. Nightly zip files will be made available soon.

For the time being the library contains an OO wrapper around libpcre for regular expression support. Inside the trunk/source/codebox/capi directory are all the C bindings I'm mapping. Currently it contains PostgreSQL and libpcre, but eventually I'll move over my mappings for Hadoop Distributed Filesystem as well.

Ubuntu and WICD

Tue, January 13, 2009
I just moved offices and found that I would need wireless support on my workstation. I picked up a netgear card that uses the Atheros chipset. I found that the Gnome Network Manager simply wasn't doing a good enough job, so I switched to WICD. WICD is a replacement for the Gnome Network Manager and it does a much better job. In fact it works so much better and keeps my wireless up so well that I switched my laptop Ubuntu install that uses an Intel chipset to use it as well. No more 10 to 20 second waits while X loads to sit and wait for wireless. It's up before I even get access to X now.

The reason behind the switch was because the Gnome Network Manager has issues where it only works in roaming mode for wireless connectivity (at least on both of my Ubuntu installs). And in roaming, if you're anywhere near multiple access points, your connection may switch back and forth at will. That's not good if you want to stay connected to your own AP without questioning whose you're on. WICD allows you to select the connection you want to stay connected to even in roaming mode. If you're having problems with wireless, give WICD a try.

Working With CodeBox's Regex Module

Sat, December 27, 2008
Tango for D provides terrific regular expression support. However, if you need a deeper feature-set that falls into the PCRE category, you should read this article. This is a new module for a brand new library that hopefully will soon contain more than a single module, but for now we have PCRE support.

DMD + Tango Sandboxing Script

Fri, December 19, 2008
I have put together a sandboxing script for Linux D developers. If you are a developer that fits this bill, or you want to try D and don't want to hassle with setting up an environment, then please give my script a try.

This sandboxing script auto-installs DMD, Tango, DSS, and optionally MiniD (a scripting language written in D) and Derelict (provides bindings to popular multimedia libraries). The benefit to this script is that it creates a self-contained environment for coding D and does not conflict with an existing compiler setup and does not rely on it either. You can setup multiple sandboxes so you can easily test your D code with multiple versions of DMD or D libraries. When you're done testing, it's as easy and removing the directory and you're done.

Grab the latest version now!

An Introduction To Tango's Powerful XmlPath API

Tue, December 16, 2008
XmlPath is Tango's answer to the very many XPath solutions provided by most languages. Although XmlPath can query the same data XPath can, it is not an XPath solution so you will find the interface to feel different, yet very refreshing. And it's more powerful to boot.

Extracting HTML details using PHP

Sun, December 14, 2008
This is a basic introduction to using PHP5's DOM and XPath functionality for extracting details from HTML content.

PHP Debugging Techniques

Sat, December 13, 2008
One of the most common tasks that you use everyday when programming is debugging. And just like any other language, PHP is no exception to that task. Learning the various debugging techniques will aide you in your PHP development.

PHP 5.2.8 Released

Fri, December 12, 2008
PHP 5.2.8 has been released almost immediately after PHP 5.2.7 because a bug was indirectly introduced into the magic_quotes functionality due to a change made in the filter extension. I urgently recommend you update to this version as quickly as possible.