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