Skip navigation.

Ramblings

a test …

March 2006

( Monthly archive )

King's new clothes

, , ,

When I have nothing else to do, or too many things to do, I like to sit down and be creative once in a while. This time I coughed up a new and improved logo suggestion for Opera Software. As usual I used Inkscape so it's available in a vectorized format, namely SVG.

IM-prove Opera with a little bit of Bitlbee

, , , ...

So you are a blabber mouth? Or, at least, you like to stay in touch with friends and family using instant messaging? Follow this guide to see how you can make Opera your IM client

The fine guys over at Bitlbee.org has made an IM proxy. That is, they have made an IRC server that allows you to add various IM protocols when you log on to it. IRC chat is supported by Opera and hence you can log on to a Bitlbee server, restore your account details and be online with Yahoo,ICQ/AOL,MSN and Jabber, at the same time. -- Everything in a simple chat window in Opera.

Connect to Bitlbee

After starting Opera (I bet you are already using it ;) Go to the following url: irc://im.bitlbee.org

You should now be in the root channel, which is your control channel. You type in commands here, but don't worry, you don't need to use them that much.

For a more permanent access to Bitlbee, go into Tools -> Mail and chat accounts select the im.bitlbee.org (temporary) account and add some info to it.

In the Outgoing tab you might add a default action to be performed when connecting, this is useful for automatically "logging in" so that you get the accounts and contacts you have added the next time you log in. I'll explain later.

Adding accounts

Bitlbee uses as mentioned a root channel window where you can type in various commands. You can start by typing help commands followed by [Return] to get a list of commands. help quickstart is also useful to get to know Bitlbee better.

Anyway, let's cut the chase and start adding an account. If you have an ICQ account you want to add, you type in the following: account add oscar 12345678 p455w0rd icq.mirabilis.com (*). Naturally you need to provide your own UID and password. The server name at the end is not necessary for most protocols, but ICQ needs it. For MSN you'd do: account add msn cyberBoy@hotmail.com p455w0rd.

Now you should have at least one account added, you can view your accounts with account list. To let the accounts go into online mode type account on.

(*) OSCAR is the name of the protocol that ICQ uses.

Adding users

If you don't get all your previous contacts automatically added you can add more contacts from within Bitlbee. Adding contacts is done by the add command, but Bitlbee needs to know which account you want a user to be added to. So, you need to do a account list to find out the number of the account you want a new contact to be added to. When you've done this you can smply do: add account_number nick/uid. For instance: add 0 16639703 (If your 0th account is ICQ, you will add me to your list.)

If you don't like your buddies' names or they clash with eachother you can rename them with rename old_nick new_nick

Chatting

There are two ways to chat:

  • 1. The simplest one is to open a query window by clicking on the users in the userlist like you do normally for private chat.
  • 2. If you are lazy or just want to send a quick message, you can use the nick of the user followed with a colon (:) and then the message. Only that user will see the message even if all the users are listed in your control channel. Example: grrrl24: See you later, need to go!
  • Remembering settings

    Finally you probably don't want to do this everytime you want to use IM with Opera. Luckily there is a simple solution to this. What you need to do is to register yourself within Bitlbee with a password. Next time you log on you log in and voila! all your contacts and accounts are there.

    To register use the following: register p455w0rd (Choose your own password). To log in next time: identify p455w0rd.

    As I mentioned previosuly you might want to let this be done automatically when logging into Bitlbee. Go to the Perform command when connected text field in the Tools -> Mail and chat accounts -> im.bitlbee.org -> Outgoing then add /msg &bitlbee identify p455w0rd.

    More info

    • You can also set up your own Bitlbee server if you don't trust the official one, or just like to experiment.
    • Bitlbee of course also works with any other IRC client.
    • For more info about Bitblee check out their website
    • Get latest stable Opera at http://opera.com/download

Acid rain - good for the environment!

, , , ...

With Opera finally passing the Acid2 test with last week's "weekly build", we yet again see the possibility of the web preparing for the future.

An acid test is something that proves whether something is good, effective, etc, or not. The Acid2 test is a test page written by the WaSP (The Web Standards Project), a "grassroots coalition fighting for standards that ensure simple, affordable access to web technologies for all." The test is made to help browser vendors ensure proper support for web standards in their products, and it even contains errors deliberately to ensure browsers handle those properly.

We are entering a new era for the web. With stronger focus on dynamic content on the client side carried out transparently providing extensible interfaces for end users (AJAX), a strong emphasis on the use of open standards and generally putting the burden on browser implementators rather than on black magic done by web developers, the web is moving forwards. The time were you needed to tailor content for browsers, their specific behaviour and bugs, and other quirks is almost gone.

As more browsers are pouring in with support for the Acid2 test and in general embracing open standards pushed by the W3C, developers can concentrate on making good content using well-defined standards. Gone is the duopoly of the 90's where you had to choose between bad or worse. Users can choose between various browsers that support open modern standards, on different hardware and different operating systems. Browser vendors can compete on user interface and good implementations rather than to rely on users in bliss accepting 10 year old technology as being the web.

So, wether your browser of choice supports Acid2 or not, at least make sure it embraces open standards and allows you to take advantage of what the web has to offer today and in the future. Don't miss out and ditch your stone age browser in favour of the new shiny ones that are developed by people that care about the web experience. Don't accept that your favourite web site is behind with features because its developers thinks writing specifically for ancient clients is good. Help the web evolve and vote with your buck, or at least with your bandwidth.

For a stable and rich web experience download Opera 8.53

Curious about the future? Check out Opera 9 TP2 or one of the weekly builds with leading edge technology incorporated.

Opera rox!

, , , ...

Note that this work-around is not needed for Opera 9 TP2

Well, some might disagree, but so far it is still by far the most reliable and less resource hungry browser I've used on this side of AmigaOS :wink:

Anyway, I'm a helper by nature, for the good and the bad. And sometimes I even end up spending more time helping others than doing my own work. Today I was lucky to help out a Rox user. Rox is a slick desktop environment and might looks like this:



Anyway, so what this user wanted to do, (his nick was menko btw. and he was clever enough to join the Opera IRC channel asking for help), was to let Rox take care of files downloaded by Opera. This is normally done in Opera by setting your preferred file-handler to /usr/bin/rox or similar.



When Opera sends files to file-handlers it normally is clever enough to send off files containing spaces ie. "My Picture.jpg" or "Artist - Song.mp3" as one argument. Either by adding quotes around them, like I just did or by escaping the spaces in the name with backslashes (\) ie "Doc\ 2.txt".

For the technical ones, this is normally pretty automagically done if you use the ANSI C function system(), for instance like this: system('/usr/bin/rox','Me at the beach.jpg');. I have no idea how Opera actually sends off parameters, but I haven't had problems with space in filenames until now reportedly with Rox.

Solution
So, at least as a solution for Rox, and maybe for other file-handlers -- who knows? -- is to use a wrapper script. A wrapper script is what the name suggests; something in between you and what's inside a gift. Or in this example between Opera and Rox. This wrapper script needs to escape or quote the parameters it gets and send it off as one over to Rox. Since perl is my native language and I know it's widely available this is what I did:

roxwrapper.pl:

#!/usr/bin/perl
exec('rox',"@ARGV");

It basically concatenates all arguments with space in between and sends it off as one argument to the rox command.

Remember to let this file be executable, for instance like this: chmod u+x roxwrapper.pl and put it somewhere you can access it from Opera.

Now you should simply use roxwrapper.pl as the file handler in Preferences > Downloads > Handler for saved files > Fallback for files and you should be able to handle filenames with spaces with Opera and Rox too :wink:

Or as menko put it: "my woes of browsing to the folder with a filename with a space in is over!"
Download Opera, the fastest and most secure browser
March 2006
M T W T F S S
February 2006April 2006
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31