The idea it was named after

Monday, September 26, 2005

New tools for development

Now that I have finished the exams I can concentrate in preparing myself to develop AVD (Aeromodels Virtual Designer). I finally read the Vol 1 of Thinking in C++ and I'm already starting to read vol 2. Plus, I've been reading a bit about Scons, which seems a very easy to use and powerful software construction tool. Scons follows what seems to be the natural way, because it uses only 1 language (autotools use 3 arcane languages!), and what's more, it's OOP: Python.

To give a very brief idea I'll give you a simple example. If you want to compile a simple file like Wrapped.cpp, you just create a file called SConstruct like this:

Program('Wrapped.cpp')

This is the output of the scons command is:

$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -c -o Wrapped.o Wrapped.cpp
g++ -o Wrapped Wrapped.o
scons: done building targets.


That.s what I do for simple programs testing ideas while reading TIC++ Vol 2, and saves me some typing. It's easy & clean, isn't it ?

Konqueror Tip

For those konqui web browser users, you know that you're lucky because it's as light speed to launch. Just click and pops, more or less. There are some available tricks that can make it feel faster than it is, such as keep one instance running in the background all the time, so when you launch it what's really doing is just showing a new window of an already running program. But lately konqueror launching has become a bit slower because it shows a cool but slow to render webpage, with lots of images (icons, huge background) that need to be loaded from the harddisk, which happens to be the bottle-neck of everyday PCs.

So my simple solution is not to show that initial screen, but about:blank. Before thinking put about:about as the Starting URL! think it twice: the starting url in konqueror configure dialog is actually for the filebrowser profile, so it doesn't solve the problem.

So now right click in the konqueror icon, and open the Properties dialog. In the Application tab (the third one) add to the end to the command " about:blank", and then press Accept. The command will end being like this:


kfmclient openProfile webbrowsing about:blank


Now I cannot even measure how much does konqueror take to launch, what means to me that it doesn't matter anymore (what's the different between 0.1 and 0.05 seconds in this matter?).

0 Comments:

Post a Comment

<< Home