Archive for December, 2007

WordPress Upgrade

WordPress 2.3.2 is an urgent security release that fixes a bug that can be used to expose draft posts.

To my surprise, Dreamhost updated their Goodies – One-Click-Install just in hours to facilitate the mentioned security upgrade of WordPress.

The upgrade procedure was easy to follow, and kept intact my WPG2 plug-in, as well the custom Mimbo based theme.

No database update was required.

No downtime to bojica.com website. Good job!

Tabbouleh (bulghur and herbs salad)

Tabbouleh is a popular salad in Middle East, made with fresh veggies, olive oil and spices. It can be eaten in pita, scooped onto pita bread, or traditionally with a fork.

INGREDIENTS:

  • 2 bunches of fresh parsley, finely chopped
  • 2 tablespoons of fresh mint, chopped
  • 1 medium onion, finely chopped
  • 6 medium tomatoes, diced
  • 1 tablespoon salt
  • 1/2 teaspoon black pepper
  • 1/2 cup bulghur, medium grade
  • 6 tablespoons lemon juice
  • 6 tablespoons extra virgin olive oil
  • Romaine lettuce or grape leaves to line serving bowl

PREPARATION:

Soak bulghur in water for about 2 hours in cold water until soft.

Draiun well, squeezing out excess water from bulghur using hands or paper towel.

Combine all ingredients, except for salt, pepper, lemon juice, and olive oil.

Line serving bowl with grape leaves or romaine lettuce, and add salad.

Sprinkle olive oil, lemon juice, salt and pepper on top.

Serve immediately or chill in refrigerator for couple of hours before serving.

How Safe Is Your Food?

Interesting facts, regarding facts of food poisoning: click here.And when I am thinking I had same sort of acute problems, just about a year ago… Now, I am thinking twice, before putting something in my mouth.

GnuCash on Mac OS X Leopard

GnuCash is a cross-platform financial accounting software for personal or small business use. It adders to dual accounting professional principles to ensure accurate balance books and accurate reports.

It is licensed under GNU/GPL and it is known to work on any flavour of GNU/Linux, BSD or Solaris, as well on Mac OS X and Microsoft Windows.

Next we will concentrate on Mac OS X installation, using macports, along with the X11 interface. First of all, be sure macports is updated to the last version (currently 1.6.0).

Let’s start Terminal and type:

sudo port -d selfupdate 

This should ensure you are updated. From my previous experience installing GnuCash, a simple install will fail due to some dependencies to guile16 package, so I suggest using +guile16 variant:

sudo port -v install gnucash +guile16

This should do the trick.

As we speak, I am running the installation process in background. It will take a while, but I will come back and edit this post to report the result.

The above failed, so let’s try to install guile16 and slib-guile16 prior to installing GnuCash package:

sudo port -fv install guile16
sudo port -fv install slib-guile16
sudo port -v install gnucash

Update:

It failed again to compiling a port called avahi :(

I will remove /opt folder, reinstall macports and start from a clean install. More info will be posted here soon.

Update:

Oops. According to GnuCash wiki, there is a bug in avahi port, which GnuCash is depending on. It seems it is not possible to install out-of-the-box GnuCash, unless we manually alter avahi port to not include python pre-build packages.

Update (30.12.2007):

Finally I got it working. Here is how:

1. Edit /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/avahi/Portfile

2. Locate the following block:

configure.args \
    --disable-autoipd \
    --disable-qt3 \
    --disable-qt4 \
    --disable-mono \
    --disable-monodoc

3. Replace it with:

configure.args \
    --disable-autoipd \
    --disable-qt3 \
    --disable-qt4 \
    --disable-mono \
    --disable-monodoc\
    --disable-python

4. Save

5. After cleaning all macports run from Terminal:

sudo port -fv install gnucash +guile16 +without_docs +without_ofx +without_hbci +without_quotes

6. It will fail couple of times, so repeat the above command until you will get an error complaining that guile16 is not installed on your system. At this point type in Terminal:

sudo ln -s /opt/local/include/libguile16 /opt/local/include/libguile
sudo ln -s /opt/local/include/libguile16.h /opt/local/include/libguile.h
sudo ln -s /opt/local/bin/guile16 /opt/local/bin/guile
sudo ln -s /opt/local/bin/guile16-config /opt/local/bin/guile-config
sudo ln -s /opt/local/bin/guile16-snarf /opt/local/bin/guile-snarf
sudo ln -s /opt/local/bin/guile16-tools /opt/local/bin/guile-tools
sudo ln -s /opt/local/lib/libguile16.a /opt/local/lib/libguile.a
sudo ln -s /opt/local/lib/libguile16.dylib /opt/local/lib/libguile.dylib
sudo ln -s /opt/local/lib/libguile16.la /opt/local/lib/libguile.la

7. Re-issue port install command:

sudo port -fv install gnucash +guile16 +without_docs +without_ofx +without_hbci +without_quotes

8. This should be it. Type

gnucash

in Terminal, and GnuCash application should start.