Fix Firefox's Google Search language setting

posted: May 11th, 2006 · by: Sven

in: Misc stuff · tagged as: , , , ·  9 comments »

Short note to myself. In case you’ve ever have to reinstall Firefox, immediately go and kill the line

19 <input name="meta" value="lr%3Dlang_de">

in <appdir>/firefox/searchplugins.

Do not wait. Just do it now. Quick!

I’ve been really annoyed by firefox’s internal search plugin which - I can’t remember since when - send me to www.google.de kindly “tailoring” the search results for German users. That means: practically ommitting every interesting page on the web.

As I’m usually looking for technical things this behaviour actually results in the opposite of what Google wants to achive - I usually got totally useless results for almost everything.

Access level constrains in php5 really suck

posted: January 4th, 2006 · by: Sven

in: Programming · tagged as: , , ·  2 comments »

I can’t understand why I’m being forced to keep the access level of a class’s method when I extend it.

class SomeFactory extends PEAR_Delegator {    
    protected function __construct() {
    }    
    public static function instance() {
    }
}

... would make perfectly sense IVHMO. But it throws …

"Fatal error: Access level to ActivePdo_Relation::__construct() 
must be public (as in class PEAR_Delegator)" 

What’s the reasoning behind this?

That’s because I’m “doing something terribly wrong”, is it? Not the “php way”? Boy, this sucks.

artweb design
Sven Fuchs
Grünberger Str. 65
10245 Berlin, Germany


http://www.artweb-design.de

Fon +49 (30) 47 98 69 96
Fax +49 (30) 47 98 69 97