Blog | Admin | Archives | Random | Recent | Thanks
    • #howellfest #IOW
    • The shape shifters in their usual form.
    • Clippering under moody clouds.
    • 🌊

Gallery Woes

Last list night, I noticed that my random photos were having issues. Delving deeper, I discovered that my entire photo gallery system was relatively broken. I changed a few obviosuly broken directory pointers, and things started working better. Unfortunately, the main Checksum Arcanius Photo Gallery page was stopping after only a few galleries, instead of displaying all 35 albums, as I had instructed it to. It wasn’t clean either — it appeared that the script had simply stopped running. Furthermore, I noticed that the random pictures script was dying saying that it was running out of memory.

This surprised me, since I wasn’t doing any actual image manipulation, only display of already exisiting images, and the php.ini limit of 8M should have been plenty, I thought, for this. Nevertheless, I tried increasing it, first to 16M. I reloaded apache and then my site. More of the gallery page loaded, but the random block script was still dying, this time using up all of the 16 Megs it was allocated. Never one to give up that easily, I bumped the number up two more times, until it stood at a ridiculous 128 megs. The main page started to work, but the random blocks were still dying from lack of memory.

I decided it was time to try Gallery2 again, even though my last experience was less than stellar.

Bad Idea.

Everything is still wrong with Gallery2 that was wrong with it before. And its a bigger memory hog than its younger sibling (Gallery 1.5) that I am currently using. When trying to import single albums, php died citing too many open files, and the memory usage soared into the hundreds of megabytes. Ridiculous.

So after giving the problem some time off, I came back to it tonight. I bumped the memory allotment up to 320 Megs, updated to the latest Gallery 1.5, and updated my custom random block script. The result was — finally — the random block cache was properly regenerated. I have since dropped the memeory limit back to a more “reasonable” 128 Megs; we shall see if this causes the site to break tomorrow when the cache expires. I tried 32 Megs earlier, but this amount still caused the main gallery page to fail to load completely. This is strange, because when this all was running on oasis (it has since been moved to frankenputen) the 32 Meg limit there worked fine, and I never had any issues. Could it be Ubuntu’s Apache or PHP is less efficient?

At any rate, I have decided that not only is Gallery2 still terrible, but Gallery 1.5 is not all that either. My plan is to develop my own photo gallery solution this summer,

Whining

A hard drive in oasis, the computer that runs silverfir.net, is whining. In other news, I use 54% of my hard drives:

Filesystem             Size   Used  Avail Use%
/dev/hda2               12G   6.1G   5.2G  54%
/dev/hdb1               31G    16G    14G  54%
/dev/hdc1               99G    50G    44G  54%

Three hard drives for three purposes, three different sizes…. all the same usage… how weird is that?

Maneesh Joins the Blogosphere

Once You Go Brown…

Welcome to the club, Manizzle!!!

Bernzilla Comments 1.0 Released

I decided I’d finally release Bernzilla Comments, the WordPress plug-in that I first mentioned a little while back. While writing up the page about it, I realized that it wasn’t very customizable in its present form, but I could very easily make it more so. So I spent about an hour removing dead code and rewriting the function so that it would be much easier to fit it to other blogs. I like the result.

Go check it out, and feel free to use it on your own site, or modify it to suit your purposes!

Inspired By Bernie

Well, Bernie’s at it again. He’s done gone and inspired me to upgrade my site. I can’t imagine it was even intentional. Anyway, I think the new category heatmap page is especially cool, as are the newfangled permalinks (although the old ones still work!). I had tried to get this sort of permalink with WP 1.2 several times before, but it always broke my feeds. That doedn’t seem to be a problem with WP 1.5. Additionally, I moved my burgeoning archives to their own page, freeing up room in the sidebar for a recent comments section. This recent comments section is actually where I started this whole update process, after making this comment at Bernzilla. FYI, I made my first WordPress plugin to get the recent comments the way I wanted them — its called “Bernzilla Comments.” I hope you don’t mind, Bernie. Inspiring!

Live Comment Previewing

Check out the live comment previewing I just installed. Not only was this the easiest Wordpres Plugin I have ever installed, it is also one of the coolest!

I highly suggest it to users of WordPress, to avoid whoopsie’s like half on my comment disappearing over at Passive Digressive, and shots in the dark like my recent comment at Bernie Zimmermann’s blog (even though that one worked).

Gallery2: Great Featureset, Poor Execution

This weekend, I took a real stab at Gallery2. It has an immense yet well-managed feature set, it is spectacularly modular, and it is highly configurable. Unfortunately, underneath its glossy exterior, it is depressingly slow, and, if I dare demean a feat that I in no way consider myself capable of accomplishing, the software is very poorly done under the hood.
Read the rest of this entry »