To mark the passing of Netscape, Sean Burke installed netscape 0.9 and took it for a test ride.
Category: Software and Programming
Geek Tips
Just storing these in the blog for future reference.
WordPress Rich Text Editing
When upgrading wordpress (Hebrew wordpress, 2.3), there can be a problem where the rich text editor doesn’t show up.
First, check if the rich text editor javascript is being loaded (you can do this with firebug, or just view source). There should be javascript files calledtiny_mce_config.php and tiny_mce_gzip.php loaded into the post-editing page.
If those files show up but are damaged, you might have luck with removing bad old locale files (delete the wp-includes directory and upload it fresh instead of copying over an existing one), and scrubbing out any cached javascript.
If the files don’t show up, then check the database. in the *usermeta table, make sure that the user has a property called “rich_editing” with a value of “true“.
Firefox multiple instances
Say you have both Firefox 2 and a nightly build or beta release installed. You know about having separate profiles for each, so you don’t mess with your settings, bookmarks, extensions, etc. You run one of them using the -P flag to specify the alternative profile, like so:
/home/dotan/software/firefox-nightly/firefox/firefox -P minefield
But you can’t run both at once, and when you click a link, it will open in the currently running firefox.
There’s apparently a simple solution to this, though, which I found on a page explaining how to set up a working environment for developing firefox extensions: setting an environment variable called MOZ_NO_REMOTE.
So, on my (Ubuntu) desktop I changed the shortcut to run the firefox nightly build to use this script:
#!/bin/bash export MOZ_NO_REMOTE=1 /home/dotan/software/firefox-nightly/firefox/firefox -P minefield
Tricky angles to consider are that if minefield (nightly firefox) is running, I can’t properly launch firefox (it doesn’t have the MOZ_NO_REMOTE setting, so it will look for a running process to delegate to, find minefield and do strange things). So I need to have firefox running before starting minefield.
I could set firefox to use the MOZ_NO_REMOTE environment variable too, but then (I suspect) it might have problems opening links I click elsewhere.
Hmm.
Nir on Windows Vista (rant in Hebrew):
If the twin towers had been designed by the Vista development team, they would have been built underground, at the center of a maze, and no one would be allowed in, and those who got in by mistake would not be allowed out. The latter people whould be scanned periodically to ensure that their identity had not changed, and woe upon the poor soul whose weight had gone up a trifle because he’d just eaten a tuna sandwich, or who had lost a hair from his nose.
Update on the Snap previews pop-up thing: I’ve come up with a (trivial) Greasemonkey script to disable those annoyances – I call it hover in peace (you can install it from that link if you’re using Firefox and have Greasemonkey), and it disables any javascript that is triggered by mouseover events, that is by hovering your mouse over a link (or anything else). It’s crude and indiscriminate, but effective.
Dada spam word of the day: tuberosity boudoir.
Talk about statistical improbabilities.
More then a year ago, I complained about spam-mail bounces cluttering up by inbox. But I didn’t really bother doing anything about it for a long while. And in recent months, the weekend spam-bounce-storms have gotten very bad.
So this Saturday, on a whim, I added a small rule to the bottom of my .procmailrc file, dropping any message sent to the SF society domain that wasn’t specifically filed elsewhere into the dark oblivion of /dev/null.
Ah, blessed silence.