TEDxKL 2011 – We Have A Secret

TEDxKL will be celebrating its 3rd consecutive annual conference this year in Kuala Lumpur. We would like to invite you to attend this spectacular event.

For the uninitiated, TED is a global series of conferences driven by the passion of “Ideas Worth Spreading”. TED is a platform that brings together the world’s most fascinating thinkers and doers to share their life stories. TED has hosted speakers such as Bill Gates, Al Gore, Jamie Oliver and David Blaine.

This year, the theme is “We Have A Secret”, and promises an even more interesting line-up of speakers prepared to share their untold stories.

Secretary-General of the United Nations Association of Singapore, Yap Kwong Weng, unity advocate Anas Zubedy and magician cum mentalist Zlwin Chew are but a few names in an eclectic list of speakers which also include a white-hat hacker, marine biologist turtle conservationist, award-winning poet, contemporary arts dancer and a chef who cooks for Presidents and Hollywood stars.

In addition, another special guest from Singapore, Durreen Shahnaz, Founder & Chairperson of Impact Investment Exchange, will be present to engage the audience. Durreen was selected as one of the 25 TED fellows, which spoke at TED 2010 in Long Beach, California.

DATE : 20 August 2011  (Saturday) 
VENUE : Black Box, MAP @ Publika, Solaris Dutamas 
TIME : 12.00pm  – 7.30pm (Buka puasa served) 
TICKET : Online – RM100    |    Walk-in  – RM120
To Register visit:m www.tedxkl.com

 

Cerebral palsy is not a hindrance: The Case of Tom Rogers

Good Morning

Today, while looking for Drupal Resources some tutorials on theming search result, I come across a video posted by Tom Rogers, an English Boy who is affected by a condition known as cerebral palsy. Though not a disease itself, it is a condition which causes physical disability in human development, chiefly in the various areas of body movement.

Cerebral palsy is caused by damage to the motor control centres of the developing brain and can occur during pregnancy, during childbirth or after birth up to about age three. Resulting limits in movement and posture cause activity limitation and are often accompanied by disturbances of sensation, depth perception and other sight-based perceptual problems, communication ability, and sometimes even cognition; sometimes a form of CP may be accompanied by epilepsy. CP, no matter what the type, is often accompanied by secondary musculoskeletal problems that arise as a result of the underlying etiology. Source: Wikipedia

So to speak… CP is not a hindrance to learn, to be excellent, to be great or to be helpful. Most of the time, it is us (not them), who makes them to feel like unwanted and unaccepted. I am impressed to see this boy teaches the world how to drupal via video in youtube. Oh yeah, he also has his own channel at youtube.

All these years, serving as Librarian at Open Uni. Malaysia, I have met many people with physical disadvantage. None of them has shown any signs of defeats or setbacks. Instead, they have this kind of always want to win spirit – sort of I can to this attitude.

So ask yourself whenever you feel like losing or failing – If Boy like Tom can teach the world about something, why can’t you?

Load User Profile Items in Node : Drupal

Drupal is so robust that you can do almost anything. However, they will be a time when you will have to do some programming to achieve your goal. For instance, loading user profile into node. In general to load author’s profile item into node. By default, node saves only author’s username into every post. Sometimes, you will want to display author’s Full Name instead of username. It does make better sense, doesn’t it?

Here goes… in node.tpl.php or any custom node.tpl.php, insert this code:

$node_author->uid = $node->uid;
profile_load_profile($node_author);

This function will call upon the profile items of the author and then load it up for your perusal. You can then call any fields of the profile items to be displayed in your nodes. For example, you may want to load the Full Name and Work Designation of the author in your node. As shown here:

print t('<span class="date_post">Posted on ') . 
format_date($node->created, 'custom', "d F Y") . ' by ' . ucwords(strtolower($node_author->profile_name)) . ' ' .
'(' . ucwords(strtolower($node_author->profile_designation)) . ')' .
'</span>';

As you can see here, instead of calling node->name which is the username and the only available information of the author by default, you can now call any profile items of the author. The profile_load_profile function has loaded the author’s information and you may call any of the profile items available.

Before using the profile_load_profile to call author’s profile item

 [img_assist|nid=1074|title=|desc=|link=node|align=none|width=400|height=214]

After loading author’s profile items into node usng profile_load_profile

[img_assist|nid=1073|title=|desc=|link=node|align=none|width=400|height=194]

Sesi 2 : Pentadbiran dan Pengurusan

Sesi 2 hari ini adalah mengenai Pentadbiran & Pengurusan. Kata orang2 gomen.. PnP. Bukan plug and play okay. Tajuk pertama adalah mengenai “Memperkasakan pustakawan dan kepustakawanan islam di Malaysia” To do : abstract Tajuk kedua “amalan ISO 9000 – “One-Circle-Process-Chain” ke atas perkhidmatan pencarian maklumat di perpustakaan akedemik : kajian kes di Perpustakaan Sultanah Bahiyah, UUM. Tajuk ketiga Bank fail dan bank pengetahuan sebagai alat pengurusan ilmu di UMP. Tajuk ke empat adalah Knowledge production in Malaysia by information professionals for evidence based librarianship. Dan… Blue ocean strategy : the application in today’s libraries.

Setting up Date & Time in Linux

Sometimes after reboot, Linux Date & Time Settings will go haywire for no apparent reason. It will be delayed for several minutes. I do not know, maybe this happens only to my server. For security reason me office blocks access to port 123 – NTP port.

Server has 2 types of clocks just like any PCs. First is the System Clock and the other one is the Hardware Clock. Take Hardware Clock as PCs CMOS’s clock and System Clock as Windows Clock.

Hardware Clock | Runs forever until your server goes kaput.
System Clock | Runs when your system is running

So, How do you correct Server’s Time & Date setting? This is very important for one of these reasons

  • Troubleshooting – you will need to know when shit happens
  • CRON Jobs – Without correct timing, cron will run at unexpected time.
  • If you are using distributed System – maintaining synchronize time is a must or else – a rogue will mutilate you from behind.\
  • If you are using Daylight Saving…
  • Etc

You must be Root to use this command

Example No.1 : Set Date and Time to 3 JUL 2011 16:00:00

#  date -s "3 JUL 2011 16:00:00"

 

Example No.2 : Set Time Only to 16:00:00

#  date +%T -s "16:00:00"

 

Then run this command

# hwclock --systohc

 

To sync Hardware Clock with System Clock

Apa itu ISBN

Umum mengetahui bahawa ISBN itu adalah akronim untuk International Standard Book Number yang digunapakai untuk mengenal pasti setiap buku-buku di seluruh muka bumi ini. Sehingga Januari 2007, ISBN mempunyai 10 angka. Kini, ISBN mempunyai 13 angka yang unik untuk setiap tajuk buku. Di Malaysia, badan yang bertanggunggjawab menjaga dan mengeluarkan no siri ini adalah Perpustakaan Negara Malaysia.

Selalu kita lihat di Perpustakaan, Toko-toko buku atau Amazon Online mempunyai pencarian melalui ISBN. Ini adalah kerana, untuk setiap buku yang diterbitkan mempunyai no ISBN yang berbeza, melainkan ianya adalah terbitan semula – ISBN yang lama akan digunapakai. No ISBN tidak boleh digunakan semula, ianya adalah unik untuk setiap judul.

Pada setiap ISBN, sebenarnya terdapat huraian-huraian yang mungkin anda diantara kita tidak ambil peduli pun. Hatta ianya seorang pustakawan. Pada mereka ISBN hanyalah No siri untuk kawalan terbitan buku. Namun, sebagai Pustakawan, kita wajib tahu apa itu ISBN yang sebenarnya.

ISBN untuk buku berjudul “Indahnya Hidup Bersyariat, karangan Dato’ Ismail Kamus dan Mohd Azrul Azlen Abd Hamid adalah : 978-967-51023-0-1. Pernahkah anda terfikir apa yang dimaksudkan oleh nombor ini?

Mari kita huraikan Pengertian No ini.

  • 978 adalah prefix untuk semua buku. Makna kata, sekiranya kita terjumpa ISBN dengan 978 di hadapannya, tak perlu pikir-pikir… ini adalah buku
  • 967 adalah identiti untuk kod kawasan. Di Malaysia kebanyakan buku yang diterbitakan di Malaysia mempunyai 967 atau 983
  • 51023 adalah identiti penerbit
  • 0 adalah identiti judul
  • dan 1 itu adalah no semakan untuk ISBN tersebut.

No semakan ISBN?
No semakan ISBN bukan no yang diletakkan secara suka-suka sahaja. Terdapat pengiraan disebalik no tersebut. Huhu. Librarian tak perlu pikir pasal no ni. Banyak lagi kerja yang lagi penting mereka kena fikir. Namun sebagai ilmu, saya kongsi cara-cara pengiraannya di sini.

Di dalam setiap ISBN 13, hanya 12 no yang pertama yang akan dikira dan angka yang ke-13 itulah no hasil daripada pengiraan ISBn check digit tersebut. Setiap nombor dari kiri hingga kanan akan didarabkan dengan 1 dan 3 secara alternate. Kemudian nombor tersebut akan dibahagi dengan 10. Hasil daripada pembahagian tersebut akan ditolak dengan 10. Huhuhu. Pening tak? Itu la pasal Librarian tak buat kerja gila neh.

Jom tengok contoh:

X = 9*1 + 7*3 + 8*1 + 9*3 + 6*1 + 7*3 + 5*1 + 1*3 + 0*1 + 2*3 + 3*1 + 0*3

X / 10 = Y

10 – Y = No last itu! huhuhuh

So… dalam perkara ini X = 109 dan 109/10 = 10 berbaki 9 dan 10 – 9 = 1.

Huhuhuh. Pining tak?