Archive for August, 2007

* wordpress: diff-files 2.0.10 -> 2.0.11; 2.2.1 -> 2.2.2

Posted on August 29th, 2007 by jitu. Filed under Projects.


Here are the new diff files. Since I do not run worpress in 2.2.x, I cannot say, if they work properly. Please let me know…

Zip-Files:

Upgrade 2.2.1 to 2.2.2
Update 2.0.10 to 2.0.11

Other versions are available on request.

.



* wordpress: diff files upgrade manual

Posted on August 29th, 2007 by jitu. Filed under Projects.


If there is new wordpress version coming out, it is necessary to update the blog software due to security reasons. But overwriting the files as it says in the upgrade manual of wordpress, can cause a lot of work. Especially if changes have been made to the software to customize it. Mark always provided diff-files to update only those lines in the source code, which have changed. Unfortunately it seems that he does not continue in putting them online. Therefore I made them by myself and I will provide a download for the latest updates.

Upgrade Instructions

  1. Backup your wordpress directory. If you have SSH access you can do it by typing
    tar cfj backup_Wordpress.tar.bz2 wordpress/
  2. Copy the .diff file in the installation directory of your wordpress software.
  3. Check, if the .diff file can be applied successfully:
    patch -p2 --dry-run -i patchFile.diff

    Parameters:
    -p2: Do not consider the first 2 directories given in the location where to find the file. It will omit the “version_number/wordpress” directory.
    –dry-run: Do not make any changes, just pretend. Good for error checking.
    -i: The name of the patch file

    • If you do not have the patch executable, try this one. If it does not work, ask your system administrator or web hoster for an alternative or to provide this function.
    • If there are errors which look like this:
      patching file wp-content/plugins/akismet/akismet.php
      Hunk #1 FAILED at 57.
      Hunk #2 FAILED at 77.
      Hunk #3 succeeded at 83 with fuzz 1 (offset -21 lines).
      2 out of 3 hunks FAILED -- saving rejects to file
      wp-content/plugins/akismet/akismet.php.rej

      then patch could not find the hooks to apply the changes. Problems will be saved in the .rej files and should be examined carefully to get to know what went wrong. Since this is a dry-run there will be no .rej file here.

  4. If the dry-run was successful, apply the patch by
    patch -p2 -i patchFile.diff
  5. Check your blog, if the patch has been applied successfully.

.



* coming back to germany

Posted on August 17th, 2007 by jitu. Filed under IISc.


After 6 months in India I got adopted to the culture and behavior of the people over there. This led already to some difficulties: I was used to small bikes with around 100 or 150ccm. Two days back I rode my bike I have here in Germany which has 650ccm. It was so powerful and very hard to control in the beginning. In addition it needs a lot of concentration to use the right side of the road.

Since it is summer in Germany the sun sets at around 9pm. In India the sun sets every day at almost the same time. So when it gets dark, it is around 6pm and at 7pm it is completely dark. Used to these timings, it makes it difficult to estimate the time in Germany and at around 8pm I am still thinking that it is only 5 in the afternoon. In winter it is much worse: The sun sets at around 4pm in Germany and when you go to work or when you come back from work, it is completely dark. Hopefully I will get used to that soon. The photo below was taken at 7pm in the evening. The quality is quite bad, it is an old phone.

Platform at around 7pm

Going to a food store is quite interesting: So many things which can be bought. Anyway, nothing can come close to the mangos, you can get in India. They are available, but very green and hard. It is like eating an apple :(

Mangoes in Germany... Embarrasing!

.