Tag Archives: archGFX

Welcome Back

Sunburntkamel.wordpress.com exists, again. It’s unfortunate, I planned to renew my domain mapping, but my paypal account is currently locked. Until I get my letter from paypal, Here sits my geek blog. I’ll see how much it’s really worth renewing, I guess. I’ve closed commentary on all the posts, since they’ll soon go back to redirecting to archgfx.

Advertisements

Broken Reboot

v4mainsm.jpg

archgfxv4.jpg

while i was getting ready for the reboot, i set up my blog to pull down wordpress from SVN (the 2.1 branch). it went alright, except that after i moved over my theme and my plugins, i forgot to move over my uploads. (i’m not very bright). Then again, that folder really shouldn’t be there. So, in addition to having a half-finished reboot, i’m also missing images from any posts earlier than, say, 3 days ago.

but, you know, go vote for the rest of it: CSS reboot (before), Standards Reboot.

Changing Hosts the hard way

In case you’re wondering where this blog dissappeared to today (and i knowyou weren’t), I finally got tired enough of dealing with PHP 4/IIS/the lack of REQUEST_URI that i changed hosts. Thusly, the CNAME record for this blog dissappeared for a few hours.

The main reason i switched was that i wanted was to be able to move wordpress into the top level directory, from /blog/. so i figured i’d try and do it all in one fell swoop. what’s more fun than trying to do something “mission critical” in a language you’ve just learned? so here’s what i added to my .htaccess file:

<IfModule mod_rewrite.c>
RedirectMatch 301 /blog/index.php/(.*) /blog/$1
RedirectMatch 301 /blog/wp-content/(.*) /wp-content/$1
</IfModule>

the first line is for old URL’s. the second line is for anything i uploaded and referenced in a post (especially images). so far both seem to be working. (i found the RedirectMatch example on this page). And, since you’re reading this, the CNAME record seems to have been set up, although i had to file a support ticket for that.

UPDATE: i forgot that i’d also added a prefix to my permalink structure (/blog/) so my redirects were all failing. should be fixed now (code updated)

GPL Filigree

filigree.jpg

My filigree tile is not as succesful as the black linen wallpaper pattern extracted by mr. messina, but it is GPL. For the purposes of releasing a theme, that’s what’s more important. Granted, i could ask permission of mr. messina to relicense his work (although he’d need permission in turn from the wallpaper photographer. If we really wanted to see where the rabbithole goes, we might need the permission of the wallpaper designer. Although going that deep might call into question the doctrine of first sale. You’re not still surprised that i trusted my own hand here, are you?

I’m building my next redesign of archGFX as a sandbox based theme, which means i have no choice but to use a GPL-compatible license. hence the pontificating about wallpaper. It will look about like this, but it will build in a whole lot of CMS/tagging functio nality (among other things). The other works that i will have to replace before releasing the theme, are the silk icons. While I, the theme author, can satisfy mark’s attribution requirements in the theme, releasing the theme as GPL would mean that i would effectively re-license his icons as GPL. Then, anyone who wanted could come along and use his icons, out of my theme, without attribution.

If you’re wondering why so many other themes don’t waffle about this, that’s it. K2 relicensed the icons a long time ago. I could just use the icons out of the K2 theme, and my own ass would be covered. However, a) that would mean looking exactly like k2, and b) should mark ever go SCO on the kubrick guy, I might still not be covered (especially after posting this). Ironically, the habari version of K2, which is apache licensed, and requires attribution, would be acceptable to the original CC-license, but the apache license is not GPL compatible.

The old solution to this, proposed by wordpress developers, is to license the CSS and images seperately from the PHP templates. while that’s a nice ideal, i’m using a PHP stylesheet, so it’s not feasible in my case. The other problem is that, as i understand it (correct me if i’m wrong), GPL code cannot be distributed with non-GPL code without virally infecting the non-GPL code. so i’d need two seperate downloads: 1 for the GPL PHP templates, and 1 for the CC-by licensed CSS and icons.  plus instructions on how to properly mux the two before installing.

So my solution is this.  I’ve drawn my own GPL filigree, available as PDF and GIMP pattern, (because i agree with mr. stallman that proprietary tools should not be used to build open-source software (or in this case, templates)).    I’m going to use Drupal‘s GPL lullacons, but rename them to match the names of the silk icons.   Then i’ll package the original filigree and silk icons seperately.  thusly, the theme download will work out of the box, but users who want the better art can download and replace the stuff.   Having seperate instructions for them shouldn’t be too bad.  Anyone who’s scared by the instructions, can stick with the GPL graphics.

Jizzy Handled

after reasonable testing, i’ve now upgraded my main blog. despite all the cool kids in the hackers list saying they never use the rich text editor, i use it all the time. yeah, sure, i can write code, but that doesn’t mean it’s appropriate to write about my weekend in code. so, here’s the list of changes for the upgrade:

Hacks

Plugins

  • i deleted all the plugins i’m not using. during the whole disable/re-enable process, i tend to forget which ones i’ve decided are crap. i blame this on installer, which makes it far too easy to install widgets for 3 days, decide they’re worthless, and then move on. it took a while, but it saves time, or something.
  • updated alex king’s plugins, which now all have their own hooks, so i had to hack them back out of my theme.
  • updated S2C. it was always such a pain, guessing what email people had used to subscribe. i like easy stalking.
  • deleted linkslist. hence the sudden existence of ul’s. i’m not going to take down the plugin, since people seem to find it useful(for the same reasons i built it), and the 2.0.x branch isn’t going away. i’m also not going to update it, because wp_list_bookmarks() does a decent enough job.

Hosting Recommendation

Apparently affiliate links are semi green-lighted. and since certain friends of matt have had (a truckload of) them for a long time, i figured i should point out who my host is, that i post about here (my easyCGI tag). It’s not that they are the easiest host. it’s one of the least tested setups you can run wordpress on. but they do give you insane amounts of storage and bandwidth. and their tech support reads the wordpress forums. and they’re more responsive than wordpress support (that’s not a dig at mark, it’s just my experience. wordpress has great support). This link makes saves me money if you sign up through it: $10.00 Domain Registration – Free Setup!
but i wholeheartedly recommend them. if the TOS here haven’t swung far enough for this kind of post, i’ll change it to a standard link.

Deprecated

Since it looks like the release of WP 2.1 is in the immediate future (as opposed to the nebulus ‘soon’ timeframe it’s been in since august or so), i tried upgrading one of my test blogs on archgfx. I didn’t realize that the MySQL upgrades they keep announcing only apply to new signups (makes sense, that way your apps don’t just randomly break), so the new minimum SQL requirement causes massive breakage on the front page.

So, i just sent easyCGI an email asking them to upgrade my site from MySQL 3.23.49 to whatever the latest version is they’re running (a thread in the forums says it’s 4.1.21 at time of writing). looks like this will also upgrade PHP from 4.3.1 to 4.4.1 (still no option to upgrade to go to PHP 5). *fingers crossed*

After that, i’ll be trying to get REQUEST_URI working, so that i can use a static front page, rather than a static HTML front page, and be completely done with needing FTP to edit anything on archGFX. of course, i have to convince my CFO to part with $50+ to do so. After rereading ComputerGuru‘s post based on his comment, it seems his request_uri.inc is LGPL, not CC-by-nc-sa as the post is. So i need to pay $25 to easyCGI for a security audit and script installation, and it seems ridiculous not do drop at least an equivalent amount in ComputerGuru’s tip jar.

UPDATE:

support ticket opened: 12/26/06 11:23:42
support ticket closed: 12/26/06 14:39:47

a quick edit to my wp-config.php file (to reflect the address of the newer sql server), and i’m good to go. 2.1 runs fine, as do my 2.0.x blog and testblog. PHPinfo() still shows me at 4.3.1, which is fine by me.

UPDATE 2:

I checked further down the PHPinfo() page, and found that it still claims to be running 3.xx. logging into the aged (2.6) version of PHPMyAdmin shows MySQL 4.1.21-community-nt, though.