Christer’s blog o’ fun

October 31, 2007

Zend_Bittorrent proposal ready for review

Filed under: PHP — christer @ 9:41 am

The proposal for a Zend_Bittorrent component in the Zend Framework has been moved to “Ready for review”. The proposal can be found here.

I also have a bittorrent tracker component lying around that I might put in the Zend_Bittorrent component at a later time if it gets accepted.

October 27, 2007

The Orange Box

Filed under: Games — christer @ 4:33 pm

Just got myself The Orange Box. Really looking forward to trying out Portal and Team Fortress 2! :)

October 24, 2007

More photos on Flickr

Filed under: Photography — christer @ 9:49 pm

I have started moving some more photos (old and new) over to my Flickr account. Since I have a pro account I don’t have any storage limitations. The user interface for organizing your photos is _really_ smooth!

I also try to geotag every photo I have uploaded but there are some areas which are not yet covered in Yahoo Maps (at least not good enough).

So, check out my flickr page! :)

October 15, 2007

Flickr pro

Filed under: Photography — christer @ 2:26 pm

Got myself a pro account on flickr the other day, so now I will probably move images from my gallery over to flickr. It’ll take a small while though.

It would be neat if flickr could have support for private sets and collections (if they support that, I haven’t found it yet).

October 12, 2007

Zend_Bittorrent proposal

Filed under: PHP — christer @ 4:32 am

I just submitted a proposal for a Zend_Bittorrent component in the Zend Framework. The main usage of such a component will be to decode .torrent files, but the component will also be able to encode encodable PHP variables (int, string, array) to their bittorrent encoded counterparts.

October 10, 2007

Norman AV is confusing

Filed under: Work related — christer @ 8:16 am

I sent over an .eps (Adobe Illustrator) file to a guy at work yesterday, and when he opened it Norman Antivirus started yelling about a trojan and threw loads of .dll files in quarantine (only dll’s for some of his installed Adobe programs). Since I got the file from someone else it thought that Norman could be right and I let the files live in quarantine, removed Adobe CS3 and did a fresh install.

I told the creator of the eps file about this and she did some virus scanning on her computer but did not find anything (she uses AVG). I thought that was weird so when I got to work this morning I took some of the files out of the quarantine and uploaded some of them to Norman’s Sandbox service. And guess what, they all came out clean. What gives?!

October 2, 2007

Bioshock … done!

Filed under: Games — christer @ 10:52 pm

Just completed Bioshock without harvesting any of the Little Sisters and saw a much nicer ending. I also managed to get all achievements in the game so give a big round of applause for me! \o/

I tried the demo for Skate the other day and seems like a pretty neat game. Maybe I’ll pick it up sometime. :)

Kambodsja

Filed under: Music — christer @ 8:09 am

Kambodsja is a band from Norway playing “Hardcore with a twist of noise rock, indie, and metal.” (from their myspace page). With influences like Converge, Mike Patton, Sonic Youth and Refused (to name a few) it can’t go wrong.

I work with the drummer and bought their album “Marionette You Are Mine” the other day which turned out to be a kick ass album. If you haven’t checked them out listen to some of their stuff on myspace.

October 1, 2007

Zend Platform installation issue

Filed under: Technology — christer @ 10:52 am

I usually develop web stuff locally on my laptop (running Debian Etch) so I have Apache, PHP, MySQL and so forth installed. I thought it would be nice to have Zend Platform installed as well so I can do some debugging and profiling from Zend Studio. I downloaded ZP from Zend’s pages and started the installer.

After I had configured the Apache stuff (apachectl path, doc root+++) the installer stopped saying something clever like “http://localhost:80 Please check your web server or PHP configuration”. I thought I maybe had some PHP extensions loaded that ZP didn’t like but that was not the issue.

The problem was that the site I am developing at the moment uses an .htaccess file that does some rewriting according to the needs of the Zend Framework’s MVC stuff. After digging around in the installation scripts for ZP (written in PHP) I found out that ZP generates an info_<unique_id>.php file that includes a unique ID at the top (the same as in the script’s filename) and output from the phpinfo(); function. It uses this file to check for missing / not valid extensions I guess. The problem was that the .htaccess I had did some rewriting when ZP tried to access the info file it just generated. Instead of finding the unique ID and info about the PHP installation it got redirected to en error page complaining about an invalid controller. ZP obviously didn’t like this so it decided to give me the error message above.

All I had to do was disable the rewrite rule for a minute, do the installation, and then enable it again so I could go on with the development. :)

Blog at WordPress.com.