Category Archives: Programming - Page 2

Komodo on Gentoo AMD64

I had ran into a few issues when I tried running Komodo on my desktop machine that is running an AMD64.  The install went just fine, but when I tried to run Komodo it would fail while looking for libraries.  In my particular case it was the  When I did `ldd komodo-bin`, I realized that was not the only library that was missing.  It ended up I needed to install more lib32 compat libraries.  The fix to the issue was to emerge ‘app-emulation/emul-linux-x86-gtklibs’ which fixed all my problems and allowed me to run Komodo.

Here is a list of the emul libraries that I have installed on my system in case other people are having problems:


I’m not saying that you will need all of these.   More than likely you will not need them all.  This is just the list of the ones that I had installed when Komodo is working. 

ZCE 1000

Looks like Zend is celebrating their 1000 person to receive a ZCE (Zend Certified Engineer) certification.  They sent me an email about it a couple days ago, but I’ve been so busy that I really have not had a chance to look at it until now.  Apparently, they have created a new ZCE logo for the first 1000 ZCE’s to use.  I just happen to be one of the first 1000.  In case you’re not sure what the Zend Certified Engineer means, it basically is a certification for programming with PHP.


Added Gallery to Blog

Added the popular photo management software, Gallery, to my blog.  Spent a couple hours this morning getting it installed and configured.  This was not for the faint of heart.  I would say someone with moderate programming skills would be able to do this.  I have been working on the css of the photo gallery.  Not perfect, but good enough to add it to my blog now.

There is a photo link in the side bar now, so you can get to the album link from there.  Quick link to photo gallery

PHP Certification

Took the PHP Certification Exam today and passed it.  The exam ended up being a lot more difficult than I thought it would be.  I’m now a Zend Certified Engineer.

Zend Certified Engineer 

Not sure what kind of certification I am planning to go after next.  At this point in time I think I am leaning more to a MySQL Core Certification and MySQL Professional Certification.  The other certifications that I’m interested in getting in the future would be java certifications. 

PHP Session / Cookie in Frames Using Internet Explorer

For the last couple hours, I’ve been frustrated trying to figure out why I’m having an issue creating a session cookie with PHP while browsing with Internet Explorer.  This was testing some software for work that I wrote, or I wouldn’t have been using Internet Explorer emoticon.

Here is the problem that I ran into.  There is a master page that is being ran on a seperate server than the one that will be displaying this content.  The master page displays my servers content in one of the child frames.  When using internet explorer with the default privacy setting, Medium, I am not able to create a session due to the fact that a cookie will not be accepted by Internet Explorer.

I have found a solution to this problem.  The situation is that when the frame has been created by one server, and the child frame then loads content from a second server, Internet Explorer treats all cookies from the second server (in the child frame) as 3rd party cookies.  Under the Medium privacy level, cookies are not allowed from the secondary server because Internet Explorer "Blocks third-party cookies that do not have a compact privacy policy".  To fix this problem, a compact privacy policy must be added to the headers sent to the client before a cookie is attempted to be created.  The quick way is to just send this string in a header to the client ‘P3P: CP="CAO PSA OUR"’.  To get a better understanding of a compact privacy policy, you can go to  There is a bunch of commercial software out there to help you create fully detailed compact privacy policies, or you can use the free one that I found at

One thing to note is that this issue does not only occur with PHP.  Just happens that’s what I was developing with when I found the issue.  It will occur with any development language that tries to create cookies in the situation where a compact privacy policy does not exist, internet explorer is set on medium privacy level, and a frame page served by one server loads a child frame from another server. 

Lattice Multiplication Program To Come

Since I have more free time since I graduated and I want to develop my java skills, I’ve decided to write a program that demonstrates how to do Lattice Multiplication. The program will allow a user to input two different numbers, and then there will be a step button which takes you through the steps and shows you each step along the way. Once it is completed, I will release the source code under GPL license.

UPDATE: Kristin made a sheet up explaining the steps for people that do not know how to do Lattice Multiplication.

Eclipse IDE Platform

The more and more that I’m using the Eclipse IDE Platform, the more impressed I am with it. I originally started using it just so that Justin and I were on the same level for the php part of our senior design project. That is the nice thing about eclipse, it allows for plugins for additional features. There is even a plugin for PHP that is really nice to use. I haven’t set up the integration of apache and mysql with the local system yet, but it is on my todo list. I also installed the C/C++ plugin which I just finished using for one of my projects for a class. It worked wonderfully for that also. On top of all these great features so far, it has to be the easiest system to use for CVS. A lot of people have problems with CVS, and the GUI’s available are somewhat complicated. The integration of CVS into Eclipse made it very very easy to use even for people with experience with CVS. If you are looking for an IDE to use (no matter what platform you are on since Eclipse is written in java), I would definitely recommend you try this IDE and play around with it. It is a little intimidating at first, but the learning curve is good.

Figured out which site to work on

After talking with Mojo last night, I’ve decided which website I am going to work on for the rest of the break. It ends up I’m going to be working on It think I’m going to start it out with the main feature of rating the different beers with a few people able to do reviews on the beer. Of course I’m going to start out with a portal software to save time. It would take too long for a one man job to work on the entire thing from scrath. I will heavily modify the source code to my needs, but I think I’m going to go with CPG-Nuke since I seem to like that software the best so far. I can think of a few more features I would like to have in the future, but for now I’m just going to focus on what I can get done.

What sites to work on

Well, I am on break now which means I have time to work on a new website. I’m not too sure which one that I want to work on though. I want it to be a quick and easy site though since I have very little time before school starts again and I’m also working at Domain-It during the break. I have all those free .info sites that I want to do stuff with, so it will probably be one of them or the Euchre Site domain I have.

I could also work on my Club Greek website but that really needs a full overhaul and I want to use an open source backend which I don’t feel is completely mature enough for me to hack apart to my liking. I think this would be something that takes a little too long though.

I think in the end I will do something with one of the following sites:,,,,,,,,, or finish working on

Another long night

Here I am sitting here at 3:11 AM again with still a lot of school work to do. I’ve spent the entire day up to this point working on it. Only one more week of school left and then finals. This non-stop quarter will finally end then. I just want to mention, that I’m not a fan of CVS at all. Been spending the last while trying to set it up for my senior design project. The next time I have to use versioning software, I’m going to look at some of the alternatives out there, as they cannnot be any worse that CVS.