Showing posts with label rant. Show all posts
Showing posts with label rant. Show all posts

29 October 2008

PHP Namespaces

Succinctly put. I'm a fan of worse is better, but this is pushing it way too much. PHP's like a bunch of infinite monkeys whacking on keyboards, alternatively coming up with brilliant stuff like SimpleXML, Wordpress and Drupal, or brillant [sic] stuff like the namespaces fiasco (":::" is "hard to parse/easy to be confused"), and magic_quotes and register_globals. Utterly tasteless decisions.

11 October 2007

Rant: Stupid OOo hyperlinks.

OpenOffice.org 2.3. Type:
The quick brown fox http://www.google.com/
over the lazy dog.
Now click on the end of line after http://www.google.com/. Type "jumps". Now try to remove "jumps" away from the link. You can't.

This: http://www.laliluna.de/remove-openoffice-hyperlink.html don't really work properly. It just changes the style so it doesn't look like a link. In HTML speak, it becomes
http://www.google.com/jumps
Source:
<a href="http://www.google.com/">http://www.google.com/</a><a href="''" style="text-decoration: none">jumps</a>
instead of
http://www.google.com/jumps
Source:
<a href="http://www.google.com/">http://www.google.com/</a>jumps
The original problem is that OOo puts the cursor to the left of the invisible "</a>" when you try to get to the end of the line, not after.

Very, very irritating bug that destroys the mental flow.

Related problems: 4364 Nothing new. Resolution: "INVALID"? wtf?