Winternet

LDAP in Thunderbird

Filed under: — jwinter on 7/20/2004 at 3:41 pm

Versions of Thunderbird above 0.6 use LDAP v3. Many LDAP servers (including Boston University’s) are still using v2. If you’re getting an LDAP initialization error with the message Error code 2: Protocol Error, add the following line to your prefs.js file (in Windows XP that file is at /Documents and Settings/username/Application Data/Thunderbird/Profiles/default/random characters/prefs.js):

user_pref("ldap_2.servers.your_server_name.protocolVersion", “2″);

Replace your_server_name with the name you had chosen for this LDAP server. It should appear in other lines of the file like: user_pref("ldap_2.servers.your_server_name.position", 4);

PHP 5 Is Out

Filed under: — jwinter on 7/14/2004 at 8:06 am

PHP Version 5PHP 5 is released. Lots of exciting new features, many described in Zend’s PHP 5 In Depth. The new XML support based on libxml2, HTML Tidy support built in, and most of all the new object model are the most interesting changes to me. Go get it.

Slashdot has a story on it, but for some reason they’ve emphasized a new closed-source PHP compiler from a third party. This was a mistake, because now the comments are mostly about the price of the compiler and confused questions about how PHP is actually used. For the interested, compiling to bytecode for the speed boost is interesting for most PHP users and for that we have the Zend Accelerator and Turck MMCache. Compiling to native binaries is intriguing, but, like Perl and other interpreted languages, mostly a side note. The real news is PHP 5.

Firefox 0.9 Unconfirmed View Source Bug

Filed under: — jwinter on 7/12/2004 at 4:44 pm

This may be the result of the Web Developer Bar and not the browser, but Viewing Source makes a new HTTP request to the server. That sucks. It used to be a Mozilla bug, over a year ago, but now it’s back. It sucks because if you have a page that is the result of a POSTed form, you’ll rePOST when you’re trying to View Source.

Fixing Your Playstation 2

Filed under: — jwinter on 7/11/2004 at 12:13 pm

Is your PS2 clicking as the disk tries to spin up? If so, and if you’re warranty’s already run out, and if you’re feeling adventurous, you can follow these intructions to open up your PS2. You basically want to change this little white gear wheel. Move clockwise it 15 degrees, put the disc reader cover back on (not your PS2’s cover) and try a disc. If it doesn’t work, move it another 15 degrees and try it again. This worked for me.

Internet Explorer’s Javascript Engine Pollutes the Global Namespace

Filed under: — jwinter on 7/10/2004 at 7:26 pm

IE pollutes the global namespace with all of the ids and names from any form elements in the document. If you happen to have an id called parent_id and a Javascript variable called parent_id, your scripts will not run as expected.

It’s a good habit to declare variables with var in Javascript, but still, it’s annoying that IE does this.

0.086 || Powered by WordPress