Login

Author Archives: Curtis M. Humphrey

WordPress, PHP Memory, and 1and1.com

After upgrading from WordPress 2.7 to 2.7.1, I starting having odd issues. At first I thought it was that some of the plugins I was using need to be updated as I posted about here. However, it I think the problem is closer to the one described at: php-memory-and-wordpress. That is PHP is running out [...]

Posted in WordPress | Tagged , , , | 13 Comments

Qt mousePressEvent and mouseReleaseEvent fun!

This would have been good to know beforehand regarding mouse events… Apparently in Qt, QGraphicsItem‘s mouse events are a little different from the model I had in my head from Actionscript. In actionscript when a user uses the mouse to move over and then click on an MovieClip object these events occur (ignoring mouse movement [...]

Posted in Qt Code | Tagged , , , | Leave a comment

Making a QPixmap transparent the Right Way

The Problem The classic situation that this problem can occur is when one wants to create a QPixmap with a transparent background and then draws on only some of the available pixels. This process is akin to creating a transparent GIF. Well there is a wrong way and a right way. I discovered this because [...]

Posted in Qt Code | Tagged , , , | Leave a comment

Upgrading WordPress to 2.7.1

It appears that the real problem is php memory. This post seems to echo my problem: php-memory-and-wordpress. Previous thought but probably wrong… It appears that in WP-SpamFree 1.9.8.3 breaks WordPress 2.7.1. It also appears that Broken Link Checker 0.4.10 breaks WordPress 2.7.1 in the same manner. I upgraded from 2.7 to 2.7.1 and these plugins [...]

Posted in WordPress | Tagged , | 2 Comments

Comparing File Download Managers

The Objectives: My objective is to find a WordPress plugin that will allow me to at least do: display in a post a download (link, picture) to an arbitrary file type to have the link to the download be neat and nice e.g. /download/filename.type provide a nice upload tool Furthermore, it would be nice if [...]

Posted in WordPress | Tagged , | Leave a comment

A problem with jQuery’s .serialize() and the answer

I was having a problem with the jQuery .serialize() function and the good news is that I found the answer to this problem. The Problem The jQuery .serialize() function was returning “” or nothing. Not what I wanted to say the least. Here was the setup. I was using .serialize() like this: … $(this).parents(‘.ARow’).serialize() … [...]

Posted in jQuery | 3 Comments

Grabbing a subsection of input field values

I was looking for a jQuery way of grabbing the values of a subsection of input fields. I know it is more complicated then just getting the $().val() of items because of selection elements. I found the plugin called Values but it was a bit more than I needed. I only need to get values [...]

Posted in jQuery | Leave a comment