Author: admin

The “Hello Dolly” of piger

I created a small c++ plugin to show the basic architecture of the piger plugin.
WordPress has a very simple plugin that they called ‘Hello Dolly’, this plugin does not really do much apart from randomly displaying a lyric from “Hello Dolly

First things first, download the latest source code of the plugin and we will talk about each files in a bit more details.

The file type:
The file is nothing more than a DLL with an ‘.amp’ extension. So when you create your plugin make sure that the output file has a ‘.amp’ extension.

The files to include:
You need to include 2 files, a header(h) file and a library(.lib) file.
Continue reading

New Piger fourm

I finally got around to creating a new forum for Piger, the main purpose of Piger is to make my life easier :). I hate using my keyboard more than I have to, and I hate having to do the same thing over and over again.

So a while ago, (a year ago I think), I created a small tool that simply takes your keyboard input and runs a pre-programmed script accordingly, it can be anything, from launching calculator to login into your favourite website using another browser that your favourite one.

You can write your scripts in LUA, C++, Python, or even DOS (batch).

Note, by default the tool does not write scripts for you, it comes with a few basic scripts but nothing too exiting. So please use the forums if you have any scripting questions.

Install Ubuntu 9 on Virtual PC 2007 – part trois


There is one last problem with the Ubuntu install, when you update the Kernel it will remove the noreplace-paravirt vga=771 that you added.

This is probably because Ubuntu assumes you made a mistake. Whatever the reason you need to update the menu.lst file.

First of all lets make sure that you read all the previous articles so we are all talking about the same thing.

  1. Install Ubuntu 9 on Virtual PC 2007.
  2. Update the menu.lst after install.
  3. Update the menu.lst again after updating the kernel.

From time to time Ubuntu will update various software, (or you can do it your self,  System > Administration > Update Manager. Any one of those update might be a brand new kernel update, in that case you will need to edit the menu all over again.

  1. Open the terminal , (‘Applications>Accessories>Terminal’)
  2. At the cursor type ‘gksudo gedit /boot/grub/menu.lst‘, (without the quotes), press enter.
  3. Enter your password if you have to.
  4. Look for the first boot option
  5. look for the entry that mentions Kernel’.
  6. Add ‘noreplace-paravirt‘ at the end of it.
  7. Save the file
  8. Close the editor.
  9. Tell Ubuntu that you changed the file:
  10. Reboot and everything should be back to normal … until you update again.

NB: If you cannot boot at all, (because your screen is black or throwing some errors), simply follow the same instructions in the first article on booting up Ubuntu.

NB2: If you still have a question, feel free to go to the forum and I’ll try to help as much as I can.

Back in the flying seat

Courseplanner tracking a waypoint
Courseplanner tracking a waypoint

I finally managed to get back to flying a little over the week-end, I am working on some new features for Courseplanner, namely the ability to turn into a waypoint, (or past a waypoint depending on the one you want to visit).

All the coding is done, I am just testing with various aircraft if everything works as expected. With all the small aircraft, (Cessna, Mooney and so on), it works well, but it is another story for the heavies. It is just very hard to remain on course without having some wild turns in order to remain on course.

I also added some small features to see where the automatic flight management of Courseplanner is aiming.

But all in all it is fun to get back to flying again.

Recovering from a crash

I finnally managed to bring my computer back to life, it was a hard drive faillure and none of the data could be recovered, (well, hardly anything worthwhile anyway).
I am normally really careful when it comes to backing up my data so I did not really loose anything important, but I still lost a lot of time re-installing everything, looking for passwords I forgot I even had and so on.
Outlook alone took forever, I use popfile as a spam filter, but it takes a while to ‘teach’ it what is spam and what is not. I also have to check every emails to make sure that it did not report something as that is not spam, (and it did a couple of time), I get in the region of 3500 emails a day, (almost all spam), but I cannot really afford to miss one email.
Then there is firefox and all the passwords that it saved over the years and so on.

I also descided to update my computer so now I have a x64 machine with 4Gb of memory, truth be told, I have not really noticed anything ‘outstanding’ with it yet, maybe my old computer was not so bad after all.

Maybe one day I’ll write myself a little app to backup all those settings so in case of a crash not as much data is lost.

Navigation