I found that Drupal CVS was way too unstable, so I upgraded the condo site to 4.6 instead. I was still able to use the image gallery module and the nicer theme.

iOS and Mac developer
I found that Drupal CVS was way too unstable, so I upgraded the condo site to 4.6 instead. I was still able to use the image gallery module and the nicer theme.

Hurricane Wilma may hit us this weekend. This has been a hell of a season, and it’ll probably be like this from now on. So far we’ve been lucky and avoided any damage, but our luck can’t hold out forever.
I don’t think I can take another season like this one. Enough already!

I’m trying out Drupal CVS (which will eventually become 4.7) at the condo website and I’m running into lots of problems. The editing forms are badly broken. With Flexinodes such as the new Event, custom fields aren’t shown in the entry form so you can’t really do anything. The image gallery module, which is one of the main features I wanted to use in the new version, is even more badly broken. Images don’t appear at all, and you can’t enter a title or description.
I may end up backing off to 4.6.3 (the site is currently running 4.5 rather than 4.6.3 like I’m using at macmegasite & worldbeatplanet).
There must have been a lightning strike right outside my window. I saw it and heard the thunder at the exact same moment. That was scary! The cats are still hiding. My DirecTV has been out for almost an hour.
For any networking code, make sure you’re using htonl & htons when building a socket address structure. If you look at the structure you’re passing to connect(), the IP address & port should appear reversed. Dealing with these byte ordering issues can be very confusing. Always be aware of what byte order is expected for any data used externally or passed to system calls.
A very interesting item at MetaFilter (original article at NY Times) compares today’s Republican party with the Whig party of the early 19th century.
Is the modern GOP a repackaging of the old Whig party? The blend of businessmen’s aversion to government regulation, down-home cultural populism and Christian moralism that sustains today’s Republican Party is a venerable if loosely knit philosophy of government dating back to long before the right-wing upsurge that prepared the way for Reagan’s presidency. A few pundits and political insiders have likened the current Republicans to the formidable, corporate-financed political machine behind President William McKinley at the end of the 19th century. The admiration Karl Rove has expressed for the machine strengthens the historical connection.
I registered a domain for my condo (mirroring the current more unwieldy name) at Yahoo Domains a few days ago because their $2.97 offer was tempting.
I figured I could change the DNS records to host it at DreamHost, as I did with my other domains registered at GoDaddy or DirectNIC. I found that Yahoo’s domain control panel doesn’t give full control over editing the DNS records. I was able to change the name servers and A record, but it wouldn’t let me set up the MX records for Dreamhost. I also can’t set it up properly in DreamHost’s control panel, and now Yahoo’s control panel tells me I don’t own the domain.
This is the first and last time I’ll ever register a domain at Yahoo. It just isn’t worth $2.97 for all of the hassle, and I still don’t have it working properly.
I got a major part of my application working on the Intel Mac.
Here are a few macros I came up with to handle the byte ordering issues when reading & writing binary data from a file:
#if defined(__LITTLE_ENDIAN__)
#define LITTLE_ENDIAN_WORD(w) W(w)
#define LITTLE_ENDIAN_DWORD(d) DW(d)
#define BIG_ENDIAN_WORD(w) WSWAP(w)
#define BIG_ENDIAN_DWORD(d) DWSWAP(d)
#else
#define LITTLE_ENDIAN_WORD(w) WSWAP(w)
#define LITTLE_ENDIAN_DWORD(d) DWSWAP(d)
#define BIG_ENDIAN_WORD(w) W(w)
#define BIG_ENDIAN_DWORD(d) DW(d)
#endif
I’ve been trying out the new recommendation feature in iTunes 6 and it’s giving me some very weird recommendations. It tells which album you own prompted it to recommend a new album and those recommendations don’t make any sense. It recommended Kanye West (who I really hate) because I bought “Takk..” by Sigur Ros. It also recommended Ray Charles (who I do like) because I bought an album by Morrissey. I don’t see any connection between them.