Being promoted… Syukur Alhamdulillah

As of 1st July 2012, I am now serving the Digital Library of Open University Malaysia as Senior Librarian (In Government Service is equivalent to S44). Syukur Alhamdulillah. Rezki from Him for my lovely wife and kids.

Being a Librarian for nearly 8 years; working enthusiastically and actively looking for ways to improve the library services to the best of my ability. If you love your job… well you will be rewarded in time. The rezki from Him will come… surely.

The 1st task I did when starting to work at Tan Sri Dr. Abdullah Sanusi Digital Library, if I am not mistaken is redesigning the Library Catalogue. Luckily I am well versed with Virtua VTLS Library System (thanks to En Azhar Md. Noor of Perdana Leadership Foundation. Hint: Tun Dr. Mahathir). Giving new look to OUM Digital Library was a piece of cake. Almost anyone could do it. It was purely HTML and CSS. No programming involved.

After sometimes, I came to realize that there was a need for student authentication. At first it was a simple PHP login script, exploiting exposed variables (not secure and dirty, but hey. It worked Okay!)

A year later I came across Drupal. Something like Joomla but much more powerful and robust. Drupal has a high learning curve. It is built on security and usability comes later. Hmmmm! Challenge accepted. Within 3 months a new Library Portal based on Drupal was introduced, somewhere in January 2010.

By now Drupal in the Library is being used as:

  • Authentication System
  • Error Reporting
  • Enquiries System
  • Document Delivery, InterLibrary and IntraLibrary Loan Request
  • Remote Access via EZproxy
  • Library Database Management System
  • Library Catalogue Replacement

I learnt Drupal by trial and error and with help from Drupal Communities, Drupal Books and some code snippets.

Ahhhh. I could still remember the day I was trying to write my 1st custom module. Nothing worked and I almost gave up. Luckily Drupal has good API documentation and I was able to write a module to programmatically add user into the system and log them in. It was a breakthrough. Nothing is impossible if you put your heart into it.

Still learning Drupal and is aiming to become a Drupal Ninja

Mouseketools

For me kids, especially Qaisarah… Oh! Toodles!!!

Mickey Mouse Sings Mousekedoer

Mouseker hey, mouseker hi, mouseker ho!
Mouseker ready, mouseker set, here we go!
You’re a thinking and a solving working througher
Mouseker me, mouseker you, mouseker doer!
Mouseker me, mouseker you, mouseker doer!
Oh toodles, it’s time to get to it!
Show us the mouseketools to help us do it!
Meeska, muska, mouseker door!
Toodles has the tools, a mouseketool
So when we need them, toodles will bring them!
He’s here for me-dles and you-dles!
And all you have to say is “oh toodles!”
All you have to say is “oh toodles!” 

Lyrics Source: http://frechies.blogspot.com/2011/07/mouseketools.html

Looks are deceiving

Looks are very deceiving… don’t be fooled. With knowledge you will prosper

This is an earwig. Looks dangerous but it causes no harm to humans even babies.

[img_assist|nid=3587|title=|desc=|link=node|align=none|width=500|height=377]

Compare Earwig and Rove Beetle.

And this is Mr. Charlie (dikenali sebagai Semut Kayap)…

[img_assist|nid=3589|title=|desc=|link=node|align=none|width=500|height=401]

This insect may cause Dermatits Linearis

[img_assist|nid=3590|title=|desc=|link=node|align=none|width=500|height=375]

Be very afraid. Be very very afraid.

Sources of Images

  1. http://en.wikipedia.org/wiki/Earwig
  2. http://fadzq-spaq.blogspot.com/2011/08/serangga-charlie-musuh-utama-student.html
  3. http://dar999.pixnet.net/v3/post/22310073

library.oum.edu.my kebawah (down)

Adoiyai. Tidak semena² kesan daripada power trip server library.oum.edu.my mengalami masalah tak boleh nak boot. Superblock error katanya. Tak boleh boot. Recovery pon tak jalan. Tak tahu mana silap dia. Lepas buat thorough investigation then we find out modules library hilang. Celah mana hilang tidaklah hamba dapat pastikan.

[img_assist|nid=3459|title=|desc=|link=node|align=none|width=500|height=227]

Maka bermulalah kerja membaik pulih pada hari ini. Server ini kena siap dengan kadar segera sebab pelajar² dah nak exam. Sekarang pond ah penuh inbox dengan komplen mereka.

Mood: Tension dan Berangin Satu Badan

Saya Cuti ini hari

Di pagi yang indah sesudah menunaikan segala kewajiban saya pun bersiap hendak ke tempat kerja. Akan tetapi… tiba² saya terasa dungu sekejap. Aku cuti rupanya ini hari. Hahhahaha.

Tapi cuti sebagai seorang suami… bukanlah bermakna saya boleh buka Xbox dan terus bermain sampai malam. Mesti mau tau ambil hati Isteri. Oleh itu pada hari ini saya akan:

  1. Sapu Rumah
  2. Cuci Lantai Porch
  3. Angkat kain
  4. Jemur Kain
  5. Kemas tempat tidur

Buat masa ini, kain sedang dicuci, oleh itu, boleh lepak2 man Facebook sekejap.

Sekian

Update: Ok Dear. Dah Siap.

Argument list too long

Any of you encountered “Argument list too long” problem when trying to mass delete files in a folder? Today I want to erase more than a million files in a folder. So I ran “rm -rf *.jpg” and the “Argument list too long” error was returned. What the hell???

So I quickly google this Argument bla bla bla thinggy.

This is what I understand so far:

The reason for this annoyance is that Linux kernel has a limitation of bytes it can process through as arguments in exec() commands. [http://netweblogic.com/linux/linux-commands-argument-list-too-long/]

The system could not handle the number of arguments given to a command or program when it combined those arguments with the environment’s exported shell variables. The argument list limit is the size of the argument list plus the size of the environment’s exported shell variables.

The easiest solution is to reduce the size of the parent process environment by unsetting extraneous environment variables. (See the man page for the shell you’re using to find out how to list and change your environment variables.) Then run the program again.

An argument list longer than ARG_MAX bytes was presented to a member of the exec() family of system calls.

Moral of the story: Everythings has its own limitation. 😉

How to solve this?

According to Alessandre S. Naro in “Argument list too long”: Beyond Arguments and Limitations, he points out 4 ways to overcome this problem.

Method #1: Manually split the command line arguments into smaller bunches.
Method #2: Use the find command.
Method #3: Create a function. and
Method #4: Recompile the Linux kernel.

So I choose method #2. Easier and faster. You can run this in single command. Example:

find /opt/library/images/bookcovers_tiny/ -name ‘*.jpg’ -print0 | xargs -0 rm -f

Done. All files deleted. Yeay!!