Generic Xen Image Boots :)

Posted by Stu @ 8:50 AM, Wed 13 Sep 06

Filed under: Announcements [A], Linux

No Comments

I promise I’ll find some time this evening to expand on Donnie’s post about bringing focus to Gentoo!

In the meantime, it didn’t take all that long to build & boot my first Xen virtual Gentoo machine. Most of the time was spent rebuilding everything with the ‘-mno-tls-direct-seg-refs’ CFLAG, which boosts performance inside the virtual machine.

Things Learned About Gentoo Inside Xen

  • Make sure hotplug is stopped before mounting loopback filesystems, otherwise udevd opens files on there, preventing you from umounting the loopback filesystem when you’re done building your generic Gentoo image.
  • With a minimal virtual machine configuration, you only get a single terminal inside the Xen virtual machine. Gentoo’s default inittab expects there to be six terminals.

Things Added To The TODO List

  • Learn more about console devices with Xen
  • Learn more about configuring udev and hotplug

Be the first to leave a comment »

If You\’re Looking For A Dual-Monitor Desktop

Posted by Stu @ 11:18 PM, Sun 14 Nov 04

Filed under: Linux

No Comments

… then I must say that I’m very happy indeed with the 256Mb model of XFX’s GeForce 5700LE. It works with the latest stable NVidia drivers (which means I’m no longer stuck with the ancient nvidia 4363 driver :), and it even works with X.org composite extension. A little bit of eye candy goes a long way ;-)

Be the first to leave a comment »

Trac 0.7.1 is now in Portage

Posted by Stu @ 7:32 PM, Mon 09 Aug 04

Filed under: Linux

No Comments

… and my sincere apologies to everyone that it’s taken so long for me to get this done.

Be the first to leave a comment »

Yesterday\’s interesting articles on Freshmeat

Posted by Stu @ 12:19 PM, Sun 08 Aug 04

Filed under: Linux

No Comments

Here’s a list of the web-focused packages on Freshmeat that caught my eye:

Be the first to leave a comment »

Wordpress 1.2 Login Patch Updated

Posted by Stu @ 10:29 PM, Tue 20 Jul 04

Filed under: Linux

No Comments

Okay, had another go at fixing Wordpress 1.2’s login problems - and this time I started a little earlier in the evening :) That’s why my diary currently is back to the default Wordpress colours. I’ll fix up the page later in the week.

Without the patch, Wordpress 1.2 works on Mozilla but not with Konquerer. I’m not going to pretend that I managed to spot why. I’m guessing it’s something to do with cookies. With the patch, Wordpress 1.2 plays nicely with both browsers. All I need now is to find out whether it works for anyone else :)

Be the first to leave a comment »

Interesting Items From Freshmeat

Posted by Stu @ 11:06 AM, Sat 17 Jul 04

Filed under: Linux

No Comments

Let’s see if I can get back into the habit of posting these regularly :)

From yesterday’s Freshmeat announcement page, here are the open-source apps with a web flavour that caught my eye:

  • AOLserver 4.0.6 is a TCL-based web server that’s growing in popularity.
  • MyPHOTOS 1.6.0 is a photo blog, where photos are submitted via email.
  • ChordDB .7 is a web-based front-end for keeping track of and typesetting chord files for guitarists.
  • PunBB 1.1.5 is a fast and lightweight alternative to phpBB.

Enjoy!

Be the first to leave a comment »

webapp-config 1.10-r5 now out

Posted by Stu @ 9:04 PM, Sun 11 Jul 04

Filed under: Linux

No Comments

Okay, I missed the announcements for a few of these ;-)

Anyway, I\’ve just added webapp-config 1.10-r5 to Portage. There are two changes from -r4.

  • bug fix: the CONFIG_PROTECT functionality broke in -r2 (and nobody noticed …). Also, it never ever worked when re-installing a package.
  • enhancement: there are now quite a few more variables exported for use in hook scripts. All the variables are now available for post-install text files too.

Hopefully, if I haven\’t broken anything else along the way, this one can be marked as stable, so that 1.9 can finally be withdrawn.

Be the first to leave a comment »

webapp-config v1.10-r1 is out

Posted by Stu @ 12:54 AM, Tue 15 Jun 04

Filed under: Linux

No Comments

… and hopefully this one will survive Sven ;)

The important changes between v1.9 and v1.10 are:

  • we now use hard links rather than symlinks
  • webapp-config now supports files and directories that contain spaces in their name
  • webapp-config is now a lot faster than it used to be

Plan is to make v1.10 the last version of webapp-config written in bash. The python version is slowly catching up, and the sooner I can switch over to that the happier I\’ll be. Well, except that I still think python\’s overrated, but it\’s definitely better than keeping webapp-config as a bash script for the next few years!

Be the first to leave a comment »

Yesterday\’s Interesting Items On Freshmeat

Posted by Stu @ 11:48 PM, Wed 02 Jun 04

Filed under: Linux

No Comments

Here\’s what caught my eye, web-based wise, amongst yesterday\’s Freshmeat announcements:

  • Vilistextum, a small and fast HTML to text convertor
  • WebCit, a web-based front end to Citadel/UX BBS systems
  • rdiff-backup, a remote incremental backup solution (okay, it\’s not a web-based app, but I reckon you can\’t take backups too seriously)
  • Achievo ATK, a programming framework for PHP
  • Moodss, a graphical monitoring application
  • Room Juice, a multi-user jukebox application
  • Gallery, a web-based photo-album
  • ibWebAdmin, a web frontend for the Interbase and Firebird database server
  • PhpBars, an easy solution to draw bar graphs on an image
  • php-syslog-ng, a web front-end for viewing syslog-ng messages logged to MySQL
  • ht://Check, a broken link checker than can also be used to perform site-wide accessibility checking
  • phpBB Blog, a blog tool for phpBB
  • WebScarab, a tool that allows the user to view the traffic between the Web browser and server, and modify it in transit
  • FCKeditor, Javascript-based HTML editor

Wow. A much better turn-out than yesterday\’s list ;-)

I also spotted an announcement for Visual Paradigm, a Java-based UML modelling tool. It\’s a commercial product, but the Community edition looks pretty well featured, and (the reason for it getting a mention) is that it claims to support robustness analysis notation. Robustness analysis is something that developers just don\’t do enough of :)

Can\’t help it - this one also caught my eye (although this one is GPL\’d). Stellarium uses OpenGL to render 3D photo-realistic skies in real-time. I\’ve only tried the Windows version - which seemed to work just fine - but it looked very tasty to me.

Be the first to leave a comment »

Someone needs to explain to me why Python is so highly rated …

Posted by Stu @ 11:17 PM, Tue 01 Jun 04

Filed under: Linux, Python, Software Engineering

No Comments

… because so far I\’m not particularly impressed. I thought Python was the scripting language for serious programmers, but it seems to favour the academic sterility of computer science over the practical needs of software engineering.

Let me take managing change as an example of what I mean.

As anyone with a Software Configuration Management (SCM) background will know, software defects (bugs to you and me) are caused by changes to the software source code. If you\’re changing a large file, there\’s more risk of introducing bugs than if you\’re changing a small file. The safest changes to manage are small, localised changes to code.

So why does Python not provide an easy way to store a class inside a separate .py file on disk?

Modules and packages are the way that Python provides basic namespace support - as I understand the language so far. So, the language allows me to have a class called gpfr.args.processor, but to do so I have to defined the class processor inside the file gpfr/args.py. And if I want to add any more classes to the gpfr.args namespace, they also have to into the file gpfr/args.py.

If I was using Python in a multi-user project, this apparent limitation in Python\’s design would soon lead to one of two situations. If checking out a file locked the file (which is what many source control tools do), then you\’re always going to have developers waiting for files to become available before they can do their work. (This gets to be an annoyance at the 20 developer mark from past experience.) Or, if checking out a file doesn\’t lock the file (the cvs approach to version control), then when changes are committed, you\’ve got larger files being merged, and increased risk.

I\’m trying to think of another object-orientated programming language that I use that has this limitation - and I can\’t think of one. Java, C#, VB - yes, even VB!!!, PHP, C++ … all of these languages allow you to put an individual class into a separate file if you wish.

So help me out here. What am I missing?

(And yes, I understand that modules are objects in Python, but a quick look at a module\’s __class__ attribute will tell you that modules are not classes - and sooner or later I\’m sure that\’ll matter)

And I haven\’t even begun to compare Python\’s online manual to the one provided for PHP ;-)

Be the first to leave a comment »

This Month

August 2008
S M T W T F S
« Jul    
 12
3456789
10111213141516
17181920212223
24252627282930
31