1:59am November 02, 2008
TorRed Goes to the Track
My brother-in-law and his... [more]
Views  92 Comments  1
Filed under: TorRed Daytona
1:48pm October 20, 2008
Class 'Debugger' not found
Another issue I ran into after reinstalling NuSphere PhpEd was that when configuring SFTP connections for uploading files. The standard permissions level for uploaded files via an SFTP connection is 0750 and 0640 for folders. I spent 30 minutes trying to determine why CakePHP was throwing Fatal error: Class 'Debugger' not found in /cake/cake_1_2_0_7692/cake/libs/debugger.php on line 159 Come to find out, it... [more]
Views  64 Comments  0
I recently noticed that when I upgraded Vista from 32bit to 64bit, I must have chosen to install the 64bit version on a second hard drive. Unfortunately, Windows felt it was necessary to leave system files on the first drive, effectively tieing up both drives. I wanted to pull one of the drive to expand the storage in my Windows Home Server. After reinstalling a new version of Vista on a single drive, I started reinstalling all my applications. One of the applications that... [more]
Views  63 Comments  0
6:24pm September 22, 2008
FirePHP + CakePHP = Great Debugging
If you've ever had debugging statements decimate a layout, then you need FirePHP. Like its brother-in-arms FireBug, FirePHP is a Firefox Add-on designed to help PHP developers cleanly debug code. FirePHP can also me used to debug CakePHP applications with only a few additional lines of code. First, download and install the FirePHP add-on for Firefox. Then... [more]
Views  124 Comments  0
9:24am September 22, 2008
Hug a Developer
[more]
Views  148 Comments  0
Filed under:
7:46am September 19, 2008
Sarah Palin - Top Secret Fail
If you've seen or heard the news today, I'm sure you heard that Sarah Palin failed follow state and federal proceedures by using gov.palin@yahoo.com. Sure it's not a major thing for a governor of Alaska to do, but she has higher asperations. I'd like to hear her reasoning to the sys admin that runs the government email server as to why she failed to use the government servers to send email. The [more]
Views  109 Comments  0
Filed under: Thank You Big Brother
As a developer, I am always cautious about allowing a framework to automagically do things for me. When I was a web developer at Sporting News, our development staff spent a lot of time analysing different PHP frameworks and open source CMS packages. We were searching for a starting point, whether it was a framework or a CMS, upon which we planned on building the latest version of www.sportingnews.com. After we settled on CakePHP, we... [more]
Views  79 Comments  0
Filed under: CakePHP, Web Development
9:34am September 17, 2008
Trying to Get a Concealed Carry Permit
Back in February I took my concealed carry permit class from Dan Starks. Thus started my foray into the realm of normal citizen attempting to legally carry a concealed weapon. My wife bought me a Smith & Wesson .40 for Christmas last year. I've been to the local range a couple times and decided that I was interested in getting a CCW. Mainly because it allows you to purchase firearms in North Carolina without having to purchase a gun permit each... [more]
Views  120 Comments  0
8:41pm September 01, 2008
Google Chrome Announced
I wrote an article about how I think "content delivery" will be the next big thing on the internet. Today Google annouced, or maybe it was just discovered, that Google will be releasing their own internet browser, Google Chrome. This falls easily into line with the ideas I outlined in the blog entry on blog.fluidesign.com. Google... [more]
Views  110 Comments  0
Filed under: Web Development
While messing with a new website that I am working on, I find a slightly annoying issue with CakePHP that doesn't seem to be documented anywhere. I was trying to store a thumb up/down record in a tinyint(1) field. A thumb up would have a value of 1 and a thumb down would have a value of -1. CakePHP was kindly(sarcism) converting my -1 to a 1 every time. It appears that CakePHP assumes that all tinyint(1) fields are actually boolean fields. Therefore, if anything other than... [more]
Views  219 Comments  0
Filed under: CakePHP, Web Development
12:07am June 24, 2008
AT&T's Pogo Browser
AT&T recently started their closed, limited beta of their new web browsing application, code named Pogo. This browser is built upon the same source code found in Firefox 2 which was recently laid to rest with the launch of Firefox 3 last week. After receiving an invitation to download Pogo, I started installing it. Oddly enough, even though it is based on the Mozilla source code, it didn't even ask about importing my information from Firefox. [more]
Views  290 Comments  0
Filed under: Pogo
One of the problems of using CakePHP with an Oracle database is that CakePHP does not utilize bind variables. One of the advantages of Oracle is that it can cache query results based on queries, as long as those queries use bind variables and not strings. An example of a query using binds looks like: SELECT * FROM my_table WHERE id = :myBind; $bingArray =... [more]
Views  266 Comments  0
Filed under: CakePHP, Web Development, Oracle
12:40pm June 18, 2008
Firefox 3 released, Pogo on the way
A lot has been going on over the past couple weeks. Firefox 3 was released today and appears to have set a record for most downloads in a day. AT&T's Pogo browser appears to be in limited beta now. Its visual history and bookmarks looks like a major bonus. If anyone has a beta invite, I'd love to get my hands on it. I'm headed to Denver, CO to help my... [more]
Views  233 Comments  0
Filed under: Pogo
[more]
Views  248 Comments  0
Filed under:
During the development phase of a recent project, another developer and I spent a good amount of time trying to find a anayltics package to use on a new application. Our requirements were short and sweet, but it was difficult to find a package that did was we needed out of the box. We did not review any log analyzers due to the need for up to the minute stats. Requirements: Collect stats via PHP (no javascript needed on every page). Work with Oracle, not... [more]
Views  178 Comments  0
Filed under: Web Development
10:26am May 20, 2008
Experiencing a NASCAR Race
My wife won tickets for the NASCAR All-Star Race last weekend. Since we moved to Charlotte, we've always talked about venturing over to the race track. We made it out there last year when she bought me a day at the track where I got to actually drive a NASCAR car around the track for eight laps. However, we had never experienced a race day. [more]
Views  212 Comments  0
Filed under: Family
Since Friday was my last day as a web developer for SportingNews.com, I have been trying to reclaim my BlackJack from being attached to their Exchange server. I thought I had successfully removed the Exchange link, only to find that every single contact had been deleted along with my calendar. After scouring the net for a solution, I finally stumbled upon the answer from a comment ashvinlima wrote: [more]
Views  191 Comments  0
Filed under: Samsung BlackJack
9:04pm May 05, 2008
My Son vs The Sandwich
[more]
Views  350 Comments  0
Filed under: Family
One of the major negatives of using Oracle 10g and PHP to build applications is the obvious lack of connection pooling. Without pooling, frequent connection creation and destruction can be expensive and crippling to high scalability. Oracle's traditional middle-tier connection pools were not applicable to the multi-process PHP architecture. Caching connections within PHP removed connection creation and destruction costs but did not achieve optimal connection resource... [more]
Views  196 Comments  0
Filed under: Oracle, Web Development, PHP
8:59am April 22, 2008
Pogo Browser from AT&T
Looks like another company is joining in the fight to unseat the top two web browsers. Others have come before, all have failed. See Flock, Avant, and Opera. Now comes Pogo, by AT&T (a very unlikely development powerhouse). Many people will be turned off... [more]
Views  245 Comments  0
Filed under: Web Development, Pogo
I don't know who let the geeks into the marketing department, but an ubernerd had to be responsible for tacking "Veloci" onto Western Digital's Raptor line of hard drives. Western Digital picked an extremely appropriate name for its new 10,000 rpm (rotations per minute) hard drive. Dubbed the VelociRaptor, this new drive, introduced today... [read more] The new drive brings the previously... [more]
Views  263 Comments  0
11:53am April 20, 2008
My Brother-in-law's Jeep
[more]
Views  308 Comments  0
Filed under: Jeep TJ
9:53pm April 15, 2008
CakePHP Bookmark Helper
Ritesh Agrawal aka "ragrawal" built a really nice Social Bookmarklet helper for CakePHP 1.2. It allows for the easy creation of "Share This" type links. I found that the location of the icons needed to be corrected to use CakePHP's IMAGES_URL constant. I also changed the html wrapper element from a div to li allowing better easier use with [more]
Views  541 Comments  0
Filed under: CakePHP, jQuery
10:47pm April 07, 2008
Best Buy Makes Me A Winner
Best Buy sent me an amazing letter today. We got a Toshiba HD-A3 along with our HDTV over the Christmas season. At the time, nobody knew which high definition DVD medium would be the winner of the DVD 2.0 race. I decided, at the time, that if we were to purchase a next-gen gaming system, it would be an [more]
Views  186 Comments  0
These jokers have ridiculously mad skills. [more]
Views  492 Comments  0
Filed under:
We recently installed memcached on a couple servers. As we begin to scale up our use of CakePHP, we quickly saw a need for some type of caching solution so that every page request wasn't running the full load of queries to render a page. memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database... [more]
Views  1162 Comments  2
Filed under: memcached, CakePHP
After getting a DNLA error 2006 on our Playstation 3 with newly updated firmware, I hit the interweb to determine if I could find a solution. When we initially setup the PS3 it had no issues locating the shared folders on our Windows Home Server and we were up and running with streaming video across our network from the... [more]
Views  1994 Comments  4
Sam Collett put together a great jQuery plugin for select box manipulation. It allows for the easy adding, removing, sorting, selecting, and copying of options in a select box without the need of loops. I downloaded the original from his site, http://www.texotela.co.uk/code/jquery/select/, and started getting it up and running. Except for the fact that you can not do a post request the... [more]
Views  1477 Comments  0
Filed under: Ajax, JSON, jQuery
I've been working hard to get thompsonbd.com ported over to CakePHP 1.2. Originally, I had a custom build "framework" that I used to string the site together. After having worked with CakePHP at my day job for the past six or seven months, I couldn't wait to bring home the things learned while at the office and try some it out on my own site. Even after working heavily in a LAMP environment for the past four or five years, I had never... [more]
Views  220 Comments  0
Filed under: CakePHP, PHP
3:07pm March 19, 2008
Updated CakePHP Clob Behavior
Updated: I've released a working version of the oracle connection class that does not need behaviors to utilize bind variables. We ran into some more issues using the CakePHP Clob behavior that Bobby Borisov and Nedko Penev wrote. Basically, the issue was that the original file used a reference variable to the model that was supposed to be using the behavior. However, it... [more]
Views  239 Comments  0
Filed under: Clob, Behavior, CakePHP, Oracle
12:00am March 18, 2008
Code Snippet: Blog Archive Element
This code snippet is a simple example of how I build the "Blog Archive " Element. // get list of blog entries // ------------------------ $archive = $this->Blog->BlogEntry->findAll(     null,     array(         'BlogEntry.id',         'BlogEntry.created'     ), [more]
Views  336 Comments  0
Filed under: CakePHP
10:41am February 06, 2008
CakePHP Clob Behavior
Updated: I've made some changes to the CakePHP Clob Behavior Bobby Borisov and Nedko Penev over at chankov.net wrote a great CakePHP behavior to help with handling Oracle clob fields in CakePHP 1.2. For those of you unfamiliar with Oracle, it will only let you... [more]
Views  488 Comments  3
Filed under: CakePHP, Oracle
11:32pm January 23, 2008
TorRed Gets Dropped
For my birthday, my wife got the family together and everyone helped by another major mod for the TorRed Daytona. She did a ton of leg work to figure out all the pieces I would need to lower the Charger. One of the major negatives of the... [more]