AWN 0.4 is awesome!

Avant Window Navigator is a dock-like window and launcher manager for Linux. The newest version (0.4) is available for testing.

Why is it awesome? Because it allows me to combine the two boring Gnome panels into one slick OS X / Windows 7 like dock.

I placed it on the right side to maximize the available vertical space, which is very scarce on my laptop screen:

AWN in action

After deleting the first Gnome panel, I found out that the second one can’t be removed. So I set it to auto-hide instead and put the AWN panel over it. It works suprisingly well.

I didn’t like the reflections so I set the Panel Offset to 0 in Dock Preferences -> Advanced.

I also set the Notification area background color to gray, so that the icons shipped with Ubuntu Jaunty look alright.

Now it’s just the way I like it. :D

You can read more about the new version over at OMG! UBUNTU!

Pulcinella @ Transilvania Jazz Festival

Pulcinella

Last night I attended my first jazz concert, during the third edition of the Transilvania Jazz Festival.

I had the pleasure of listening to a french band called Pulcinella. It’s composed of four guys playing a mix of genres, collectively labeled “alternative jazz”.

They used to do the ambient music for circus performances, so you can imagine how entertaining the show was. I really hope I’ll get to hear them live again some time.

Understanding the ’self’ keyword in PHP

In PHP, you use the self keyword to access static properties and methods.

The problem is that you can replace $this->method() with self::method() anywhere, regardless if method() is declared static or not. So which one should you use?

Consider this code:

class ParentClass {
	function test() {
		self::who();	// will output 'parent'
		$this->who();	// will output 'child'
	}
 
	function who() {
		echo 'parent';
	}
}
 
class ChildClass extends ParentClass {
	function who() {
		echo 'child';
	}
}
 
$obj = new ChildClass();
$obj->test();

In this example, self::who() will always output ‘parent’, while $this->who() will depend on what class the object has.

Now we can see that self refers to the class in which it is called, while $this refers to the class of the current object.

So, you should use self only when $this is not available, or when you don’t want to allow descendant classes to overwrite the current method.

7 reasons why I use bbPress

bbPress
bbPress 1.0 has finally been released last week. But why do I use it? Why would anyone use it? Here are my 7 reasons.

It’s familiar

If you have any experience with WordPress 2.7 or older, you will feel right at home using the new bbPress admin. You imediatly get a sense that you already know how to use it, which is great.

Read on…

Preoții sunt mai importanți decât profesorii?!

Absolut menționa o problemă serioasă legată de bugetul pentru 2009.

Pe scurt, Guvernul Boc, în loc să mărească salariile profesorilor, cum ar fi normal, au mărit salariile preoților și în general au alocat mai mulți bani Bisericii și mai puțini educației și cercetării.

Se pare că e pe bune, după cum am văzut în acest comunicat.

Pentru a înțelege mai bine poate de ce s-ar întâmpla așa ceva, vă recomand această prelegere: The Evolution of Religions.

Page 1 of 2912345...Last »

Hello, I'm scribu and I'm a web developer. Welcome to my site!