Monday, February 18, 2008

Linux.com article :: Discover the /proc directory

The Linux oriented news site www.linux.com recently published an article giving a nice overview of the /proc directory in the linux filesystem hierarchy. It’ll give you an idea of what the different parts of the directory contain and what you can do with it. It gave me answers to some of my questions that I’ve pondered but not gotten around to asking.

Linux.com :: Discover the possibilities of the /proc directory

Thursday, December 27, 2007

GDC Gallery for Wordpress

I’ve been working on this off and on since this summer and I never got around to wrapping it all up. Now I finally made it so far as to making it usable. It’s “Yet-another-wordpress-gallery-plugin” I know, but I’ve been looking for a gallery plugin that suits me and that doesn’t require any third-party gallery software to work. So I jotted down some lines of code and out of that emerged the GDC Gallery plugin.

It’s quite feature less at the moment but I’m working on adding some additional features that are “nice to have”. If you are used to using Gallery2 and it’s WP plugin, GDC Gallery will probably piss you off. It’s not even in the ball park feature wise. You can upload pictures, one by one, and tag them. Thats it for now.

I chose to distribute it now because I want feed back, thoughts and what not before I get too far in the coding. And by releasing it before hand people wanting to learn more about WP coding can follow along more easily. So, head over to the code section and grab a copy. And then let me know of all the quirks and errors it produces.

Thursday, December 27, 2007

CakePHP development framework

If you’re a somewhat active web developer you probably have heard about the “Ruby on Rails” web development framework that helps developers speed up development of web apps using a predefined set of functions and code scaffolding etc. “Ruby on Rails” uses the Ruby scripting language as a base, which is quite nice, but if you don’t know, want to know or have time to learn Ruby you are’nt out of luck.

CakePHP is a similar framwork for the PHP scripting language and works in much the same way, from what I have tried at least. It’s an easy way to get up and running with a working application that you can improve on bit by bit as you progress. It won’t solve all your problems and it won’t produce a complete working solution for you but it will get you underway quickly.

I often find myself writing alot of code before hand just to get some “behind the scenes” functionality working so I can start coding the “real” project. By defining the database tables according to the CakePHP naming conventions etc. CakePHP scaffolds code automatically so that more or less without writing any PHP you get working insert, delete and update forms. Oh, and it also handles relationships between tables for you as well.

If you work with PHP and you are looking for an easy way to get results quickly check out CakePHP, link below.

CakePHP : The PHP Rapid Development Framework :: Home

Powered by ScribeFire.

Friday, October 26, 2007

Compiz on Ubuntu 7.10 with ATI Radeon X1950XTX

Finally! The latest drivers from ATI, 8.42.3, has brought a working composite rendered desktop to my computer. And it did so without any fuzz whatsoever. I removed the old ATI driver I had installed through Envy, then I downloaded the new ATI driver and followed the instructions and let the automatic installer do it’s magic and, lo and behold, working composite.

86

I have been trying various tricks posted around the internet since Christmas last year to try and get things working. Nothing this far had been satisfactory and always produced random errors and hangs. This just worked. Hope it does the same for you.