Recreate Drupal's users table from url_alias table

So I needed to recreate a truncated users table to stop the Drupal admin from barfing all over the admin... the url_alias table has the UID and the user names in it... so why not?

Using Acquia DevDesktop with a site that has domain access and multiple languages

Acquia DevDesktop can be pretty slick at times for development, but if you're trying to work with a site that has domain access AND internationalization, you may be scratching your head a bit.

First off, you must correct the entries for the default site (or whichever site you're testing) in the domain and languages tables.

But then...

You'll need this patch since Drupal 7.x Core doesn't handle port numbers properly.

Then your site will work!

Redirect checker script

Here's a quick script I wrote to test redirects. Useful if you're trying to... test if your redirects are working properly.

Tags: 

Web Weariness

A while back I was doing a bit of research on web standards. Specifically, I was looking at the number of documents that were published by the W3C over time. The last several years have seen an explosion of new recommendations with everything from CSS to Web Telephony. Let's face it, the web is here to stay. Technology points to the web. The Internet of Things surrounds us.

PyAudioMixer: A more versatile Python Audio Mixer

When I came across swmixer, it seemed it answered 90% of my needs for a mixer for an amateur radio application I was working on. However, the one thing that it didn't support that was a deal breaker was that only one mixer could be set up. This was no bueno.

The wonderful thing about swmixer, though, was that it seemed like it would lend itself well to being more objectified so that more than one mixer could be set up. And that's exactly what happened.

Rewrapping wx.StaticText

Per this thread (see the _Rewrap function in Robin's example code), you need to set the Label Text again in order for it to update properly:

Setting a wxPython Global Hotkey with a Regular Character

If you're trying to set up a global hotkey in Windows, you can use the win32con.VK_* codes to set a hotkey that uses a regular character (e.g. Control-Alt-B), but on OSX it's not as clear. However, a quick look at the patch reveals that all you need to do is pass the ASCII character code for the character you want by using ord() like so:

result = self.RegisterHotKey(hkid,
    wx.MOD_CONTROL|wx.MOD_SHIFT,
    ord('r'))

And now, when you hit Control-Shift-R, the event will fire.

2m/70m Antenna Testing Chart

I've been in process of building and testing a dual-band 2m/70cm antenna for several weeks now. Recently, my antenna fell and it came time to rework it. A friend of mine was kind enough to loan me an MFJ-269. During the tweaking process, it's convenient to be able to just keep track of SWR values over the bands as well as a place for notes and changes to be marked for each test. Maybe you'll find it useful.

Download below.

Getting into Amateur Radio

One of the things that we take for granted given our connected society is radio. It is strange how something invisible has had such a visible impact on our world and our culture. For the past 100+ years, radios have been conceived, built, improved, and now exist in everything from satellites to home security system window probes. They carry entertainment as well as troops orders. At any given moment, hundreds of communications from all around us are likely passing, unbeknownst, right through us.

A Quick Note Regarding ExFat Volumes Used On Windows & Mac Computers

I've reverted to using 16GB SD Cards to move sundry items between an ASUS Laptop and a MacBook Pro. While not the speediest method, it is the fastest considering that:

Pages