Categories
Development

TODO list

Things I need to do:

  • List last updated blogs on front page.
  • Page to list all blogs.
  • Option to reset template to factory default.
Categories
Development

httpd compression update

Something’s wrong. php zlib compression or mod_gzip don’t work on this hostname. It works fine on www.linux.ie so there’s some interaction between mod_gzip, php output buffering, and mod_rewrite. I’ll get it working eventually.

Categories
Development

Compressed httpd data

Enabling zlib compression makes a huge difference to a http server. I stress tested this server using Apache Bench. Before compression was enabled I managed just over 1-2 requests of (large) pages per second, but with compression that rose to 10 requests per second! Just add this to a .htaccess file if you’re using PHP 4.

php_flag zlib.output_compression On

Update – Enabling compression that way here causes too many problems. I’ll have to try and convince Colm to install mod_gzip which works everywhere else I’ve used it.

Categories
Development

b2 and Smarty Updates

*phew* Got a lot done tonight:

  • b2 is playing nicely with Smarty. The main index page, comments, trackback and pingback popups are working.
  • I modified the template edit page to edit the .tpl files in the template directory *only* as the user really shouldn’t be seeing PHP. The most complex code in the templates is an if-else statment in some of the popups.
  • I created a “new blog” php script based on the register script. Fill it in and it’ll email me. Once I veriify the person I click on the b2install.php file of the new blog and create the db/finish the install. It also emails the user to tell them the blog is ready. An “exit” command in b2config stops the user using the blog until I verify who they are. (This is important for my own case
  • The b2options page has been expanded to edit the name and description of the blog.

It’s not all perfect though. When a user registers they’re asked to login as “admin”, not the username they entered on registering..
I may call the b2install script when the user registers so they can enter profile information on registration. I can default to displaying the user first name on blog posts instead of “admin”. Would be nicer.
You want a URL? Mail me! Address is over there on the left I think!

Categories
Development

The Usability of Open Source S …

The Usability of Open Source Software “They just don’t like to do the boring stuff for the stupid people!” (Sterling, 2002)

Open source communities have successfully developed a great deal of software although most computer users only use proprietary applications. The usability of open source software is often regarded as one reason for this limited distribution. In this paper we review the existing evidence of the usability of open source software and discuss how the characteristics of open source development influence usability. We describe how existing human-computer interaction techniques can be used to leverage distributed networked communities, of developers and users, to address issues of usability.

Categories
Development

Java Developer's Journal – Des …

Mention the latest design pattern and suddenly your peers will see you as a genius of software engineering, “…you see I have employed the Decorator pattern for this particular class…” While you’re fighting the urge to give them a good slap, allow me to let you into the big secret. There is none!

Java Developer’s Journal – Design Pattern Snobs

Categories
Development Humour Linux

Via Camworld: Mirror of The An …

Via Camworld: Mirror of The Anti Porn Guy – I can’t believe that people still think like this!

Al Gore on Bush: Corporate Lacky.

I have no idea who Martha Stewart is, and frankly I don’t think I’m missing much.

Has anyone noticed that Irish and English soaps center around a pub?

Comment heard on Today FM: “Am I hearing this right? Irish people are complaining that they have to go to the pub to watch soccer matches?”

Slashdot: The Future Of The 2.0 Linux Kernel – I’m still using a machine at work with 2.0 on it! It was critical to our business until a few months ago but still running a few small apps.

Interview with Ian Jackson – Debian maintainer. Great interview and Ian doesn’t pull any punches. Even Debian ins’t perfect!