Login

html tags that cannot accept css in Actionscript 3

Painful! Painful! It amazes me how little effort is sometimes put into documentation and today I found another example in Actionscript 3.0. (This is another reason I love codeigniter: great user-friendly manual! but that is another story). The actionscript goal was as follows: to change text characteristics by applying css to a textField. I was [...] [Read full arcticle]
Also posted in Actionscript | Tagged , | 1 Comment

Wordpress, PHP Memory, and 1and1.com part 2

It has been some time since the first post on this subject on Mar 4, 2009. I had concluded that the issue was a silent failure (i.e., there is no direct feedback) of not enough PHP memory to run Wordpress with several plugins on 1and1. I like running plugins and therefore this situation was unacceptable. [...] [Read full arcticle]
Also posted in WordPress | Leave a comment

Setting up Komodo Edit 5

I starting using Komodo IDE as my PHP editor over Dreamweaver in 2006? I was tired of Dreamweaver not having features like “looking function definition” which jumps to where the php function is defined in some other file. I tried a few other editors and they just didn’t feel as intutive. Since Komodo has created [...] [Read full arcticle]
Posted in Software Development | Tagged , , , | 1 Comment

Grabbing all QGraphicItems current viewable in a QGraphicView

The best way to get a list of all items current displayed inside the QGraphicsView is done through the combination of three steps: get viewing rectangle get items intersecting or inside rectangle check for visibility 1 2 3 4 5 6 7 QList<QGraphicsItem* > viewItems = m_pView->items(m_pView->rect());   for(int i=0; i < viewItems.size(); ++i) { if(viewItems.at(i)->isVisible()) { //payload } } Do not use other rectangle functions like sceneRect(), childrenRect(), contentsRect(), etc… as they [...] [Read full arcticle]
Also posted in Qt Code | Tagged , , , | Leave a comment

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 [...] [Read full arcticle]
Also posted in WordPress | Tagged , , , | 9 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 events): onRollOver onPress onRelease onRollOut In [...] [Read full arcticle]
Also 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 I [...] [Read full arcticle]
Also 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 seems to cause [...] [Read full arcticle]
Also 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 added the download code to [...] [Read full arcticle]
Also 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() ... and the xhtml was: <form class="ARow"> <input class="food_state" [...] [Read full arcticle]
Also posted in jQuery | 3 Comments