I want pysparse v1.1 on ubuntu!

Well, who wouldn't, with such fancy matrix indexing?

These debs were compiled for karmic (9.10), but they might work on older releases:

How to enable readline (GNU version, the one you want) for gnuplot on ubuntu?

Due to licensing issues, gnuplot by default uses a very limited built-in version of readline, instead of the system wide GNU readline libraries. Here's how you can recompile gnuplot with GNU-readline support on ubuntu:

  1. Download the necessary things (the gnuplot source code, the libraries on which gnuplot depends, the readline library, and some build-tools) from the repositories.

    • cd /tmp
    • sudo apt-get source gnuplot
    • sudo apt-get build-dep gnuplot
    • sudo apt-get install libreadline5-dev build-essential

  2. Change the configuration file for compiling gnuplot. That is: change the line that reads '--with-readline=builtin' to '--with-readline=gnu':

    • cd gnuplot* # fill in whatever your version is instead of the *
    • sudo perl -i -pe 's/--with-readline=builtin/--with-readline=gnu/' ./debian/rules

  3. Rebuild the gnuplot debian packages:

    • sudo dpkg-buildpackage

  4. Install the newly created packages:

    • cd ..
    • sudo dpkg -i gnuplot*.deb

Done!

Fixing missing 1280x1024 resolution on Ubuntu with Intel graphics card

Apparently some update of the intel xorg driver introduced a bug which removes 1280x1024 from the list of possible resolutions for your monitor. The solution (that worked for me) is to create a modeline using gtf, like this:

    • gtf 1280 1024 60
    The output will be something like:
    • # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
    • Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
And you add that to the /etc/X11/xorg.conf configuration file in the monitor section. After that reboot, or restart gdm.

How to make Sate sauce, no animal products, i.e. suitable for vegans

It's a tasty sauce, I like it with rice, broccoli, and roasted almonds, and perhaps banana. But it goes with a lot of food.

Ingredients (for 3 to 4 people):

    • ~3 spoons of oil
    • ~3 parts of garlic, cut, or pressed, or smashed
    • some fresh ginger (about the size of your thumb up to the first joint, counting from the end), peeled and cut small
    • 3 tomatoes, cut small (ideally without skins)
    • ~3 spoons of (non-sweetened) peaunut butter
    • A few spoons of some soy sauce (e.g. Ketjap Manis)
    • 1/2 lemon, the juice of it
    • 1 teaspoon of chili powder (if it's not hot chili it's ok, but then add something else to spice it up, sambal, black pepper)
    • ~1 spoon of sesame seeds (optional)
    • ~1 spoon of (granulated) coconut (optional)

Preparation:

    • Put some nice music
    • Heat the oil in a small pan
    • Fry the garlic, ginger, and optional sesame seeds
    • Add the tomatoes, and leave it on a slow fire for about 10 minutes, stir regularly
    • Add the peanut butter (and stir, it should be like a thick sauce now)
    • Add the lemon juice (and stir, keep fire low, it shouldn't boil now)
    • Add the soy sauce (and stir)
    • Add the chili powder (and stir)
    • Add the optional coconut (and stir)

Ready.