December 28th, 2006, 6:10 am by lig
I have the IT Crowd intro as my cellphone ringtone and got to wondering when and if there will be a season 2. Started checking around and found this, which says a new episode should be showing on Jan. 5th. Supposedly there will be 8 more episodes.
Can anyone confirm or deny this?
Posted in General, computers, humor | 4 Comments »
December 25th, 2006, 10:57 pm by lig
Try taking this quiz and see how well you know your holiday specials. I thought I knew them pretty well but I guess not. Only got 17/36 correct. Have to pay closer attention next year.
And just to have it PHP related - the site uses the .php extension.
So what is your score?
Posted in General, PHP, humor, personal | 4 Comments »
December 21st, 2006, 9:38 am by lig
Normally when i write something I do it because I want to with no deadlines no pressure and only the occasional editor to “suggest” alternate ways of writing an area. Man - this writing thing is hard! Deadlines, formats, style sheets, Oh my.
Now don’t get me wrong - I am enjoying the whole thing (sent out my first chapter today). But I have to admit that coming home from work to write and code for 4 hours EVERY day kinda sucks for me and my family. My husband is actually cooking dinner so I have more time to write (granted pizza and hamburger helper is a common dinner choice - but still) - he is doing it!
So to all the authors out there - I salute you. Never again will I pick up a book and not appreciate all the work you went through to make it. Thanks.
Posted in General, Family, personal | No Comments »
December 14th, 2006, 10:58 pm by lig
Did you know MySpace runs on asp.net 2.0? I didn’t. I thought it was on Coldfusion after all it has those little .cfm tags right? Wrong.
While just kinda surfing on the net I came across this blog post from one of the people over at asp.net (sorry I don’t know who is who). Which lead me on to do some digging to validate it (call me paranoid but I rarely believe something I “just find” on the internet). And I’ll be danged.
Seems the cfm extensions are still being use to prevent breaking links to the site. And to quote Tim Anderson from ITwriting.com
Second, MySpace uses a product called BlueDragon, which lets you run ColdFusion pages on either J2EE or .NET - without using the official ColdFusion application server.
Does that mean the pages are still written in Coldfusion?
Posted in General, computers | 2 Comments »
December 14th, 2006, 4:31 am by lig
Was having problems getting my PDO to connect to the SQL Server with ODBC.
And to make matters worse I am on a windows LAN, the web server is a *nix box and my testing computer is M$. My DSN just was not right and wouldn't play - my host string was off and any permutation I used wasn't working. Looked at the PDO docs, the DSN docs in the manual, connectionstrings.com and no love.
I am most comfortable working with MySQL so getting the SQL Server to play had been frustrating in the extreme (hate when simple things are made hard - wanted to kick something). Turned out I needed to add my "instance" of the SQL server (not my word - bosses) to the host. So what did I finally come up with that works
PHP:
-
$host = '192.0.0.0\InstanceName';
-
$user = 'user';
-
$pass = 'xxxxxxxx';
-
$db = 'test';
-
-
$dbh = new PDO("odbc:Driver={SQL Server};Server=$host;Database=$db;Uid=$user;Pwd=$pass;");
* was it just me or was that an alphabet soup?
Posted in General, computers, PHP | 3 Comments »
December 6th, 2006, 6:58 am by lig
Am playing a bit with the ZF - basically doing shiflett's tutorial on it, when I came upon a bit of a problem.
*Right about here I should note I haven't even looked at the ZF in almost a year and quite a bit has changed.
Anyway - I am using a subfolder of web root to play with the ZF and was having troubles getting my controller to go to the correct place. After considering hacking both the Apache doc root and the actual Zend_Controller_Router code and writing a patch, I stumbled on the answer - Zend_Controller_RewriteRouter.
PHP:
-
// url - http://localhost/Test/www/:controller/:action
-
$router = new Zend_Controller_RewriteRouter();
-
$router->setRewriteBase('/Test/www/');
-
$controller->setRouter($router);
Seems to be working so far.
Posted in General, computers, PHP | 5 Comments »
December 4th, 2006, 6:11 am by lig
A friend of mine showed me this today (it is based off of an older version found here). Now sexism aside I have to say it was pretty dang funny. PHP's write up:
PHP - Slick and slim lady. Very portable. Does nice and amazing things with her small body. Very good in aerobics. Not very sexy but intact. She is the kind of women that most men are happy to wed, though she will need a house maid because she is unable to carry heavy workload.
Posted in General, PHP, humor | 2 Comments »