Thursday, November 21, 2013

Ke dalam diri

Duhai Ammar,

Meski hidupmu singkat, hidupmu bermanfaat amat.
Matimu Ammar, menghidupkan hati-hati umat.

Hidupmu dakwah, matimu juga dakwah.
Seperti apa ya engkau? Hingga husnul khatimah telah menjadi milikmu.

Selamatlah engkau bersama bidadarimu..

Ya Rabb, ampunkan usia hidupku yang tersia.
Ya Rabb, ampunkan segala dosaku yang tak terkira,
Ampunnnn....

21 Nov 2013
Khamis - 1053am
Ayer Hitam, Kedah

Tuesday, November 19, 2013

Cabaran : PHPMailer

I'am a developer. 4 years.

Dalam tempoh 4 tahun tu, PU tak pernah diberi tugas dan tak pernah cuba belajar sendiri berkenaan penghantaran emel dari sistem kepada pengguna.

Currently I'm doing freelance job. Included in the request is email-sent !

Shame on me actually. But I have to take this as an opportunity. InsyaAllah,

I said to myself once : 4 thn jadi programmer tak tau buat?
Then I backup myself : Tak usah malu, cuma perlu belajar kan? that's it !

Monday, November 18, 2013

Menolong vs Mengambil Kesempatan.

Ada beza antara menolong dan mengambil kesempatan.

Ya, ada! Apa bezanya? Ok, ini cuma pendapat PU, it can be wrong.

Menolong -  tolonglah, dengan erti kata menunaikan semua hak-hak yang patut ditunaikan dalam pertolongan yang diberi.

Mengambil kesempatan - Kelihatannya seperti menolong, tapi dalam masa yang sama ada hak-hak yang sepatutnya diterima oleh orang yang ditolong diabaikan. 

Ada garis halus yang memisahkan kedua-dua ini. Haluuuuss saja.
Jadi, hati-hati............ hati-hati............... hati-hati..............

Menjadi org yang ditolong -
  • Bersyukurlah. Yakin bahwa ini dari Allah melalui perantara hambaNya
  • Jadilah orang yang tahu berterima kasih dan mengenang budi. 
  • Paling simple, hantar doa sebagai tanda terima kasih.

Menjadi orang yang menolong -
  • sedar diri lu, diri mampu memberi pertolongan itu dengan izin Allah. 
  • Maksudnya, jangan bangga diri melulu, merasa diri hebat. 
  • Jangan mengungkit, mudah-mudahan amal itu bernilai ibadah. 
  • Jangan juga menagih balas. Cukup saja Allah membalas dengan caraNya.

Menjadi orang yang diambil kesempatan -
  • Berdoalah, mohon dikurniakan hati yang sabarrrr
  • Berdoalah, mudah-mudahan pelakunya beroleh petunjuk
  • Berdoalah, mudah-mudahan Allah ganti dengan yang lebih baik
  • Cubalah untuk tangani dengan cara yang berhikmah. 
  • Paling penting, jaga SILATURRAHIM

Menjadi orang yang mengambil kesempatan -
  • Jangan... jangan buat macam tu la... cepuk kang !!




Book changed !



I miss my PU (perahu-usia). I have no new post for such a long time because I've decided only to rant about just KOHA. But then, I'm no longer with KOHA for about past 6 months. Yes.. That is the reason.

So? what's your (actually my) point ? I need to set a new destination for my PU. Will think about it.. =)
For a start,  I've add 'pinky' background for my post. Not because of pink is my fav color (its not !).
Just for the sake of start-a-new-chapter. That's it !

p/s : amboi... teroknya English... wahahaha...

Monday, July 15, 2013

Ustaz UJE



Terasa sedikit sesal. Lewat mengenali almarhum ustaz jefry al-buchori. Lebih sering dipanggil Ustaz Uje. Orang Jakarta, Indonesia. 

Insan ini meninggal kurang lebih 3 bulan, iaitu pada 26 April 2013.  Di usia 40 tahun.
Sebelum di angkat menjadi pendakwah muda yang hebat, beliau mempunyai sejarah zaman Jahiliyyah yang tersendiri. 

Sungguh! hidayah itu milik Allah. Diberi pada insan pilihannya. Subhanallah...
Sungguh! Dia penerima taubat. Akan diampunkan walau sebesar apa pun dosanya. Ya tawwab..

 

Kerja Allah..

Monday, June 17, 2013

Perjuangan ka balas dendam ?

Apa beza antara pemangku rektor sekarang dengan rektor yang telah ditumbangkan ??

TAK DAK BEZA !

I admit, previous rector did wrong. And I'm not agree with him too.

But now, YOU COPIED his violences !

You take this as an opportunity to take revenge.

I just wonder, is it perjuangan or balas dendam ?

Apabila kuasa ada di tangan, ramai yang hilang pertimbangan.


Saturday, June 1, 2013

Dendam.


Ya Hafiz...

Pursue my study.

 http://listenlearnmusic.com/wp-content/uploads/2011/01/Music-Therapy-Graduate.png

I've been thinking on this lately..

"Should I be doing my master now ??"

Where to?
When to apply?
What course?
How to support financial needs?
How long does it takes ?
With whom ?

Why should I?
Do I really need a second convo?
 
Can't stop myself thinking of this.
Semangat nak belajar dah datang.

Bila mau kawen da... larikk... =P 

Friday, May 31, 2013

Enough !

This time around, I still would like to rambling around INSANIAH issues. Again...

Guys... Could you please stop it? Yes, STOP ! Stop all this nonsense...

Enough is enough... let us concentrate on human development. Whether students or staffs, both need to be developed.

It causes lots of resignation.
Including people which is not suppose too...
which is 'RUGI... RUGI.......... RUGI...................'

Manusia bernilai
- dgn Allah bertaqwa
- dgn manusia berakhlak
- dgn dunia, itqan



Tuesday, May 28, 2013

A real BIG lost !

I've been shocked this morning.

It's hard for me to believe and accept this.

Why so sudden?

A total BIG lost to the organization.

I don't know sir, why you've made your mind to such decision. I really really really want to know, WHY??

I expect at least you are here for a year. Bringing changes, innovation, transformation, reformation, retreat... to be precise, I expect you to bring a new looks for this organization under your leadership. I really hope that to be reality since you're here.

But now I know, that will not gonna happen.

Sir, if it is because of chaotic in the current situation ( I can't say anything regarding the matter, since me myself worried on that too), please do come back and drive us (us??) again when the situation looks comfort to you. Hope..

Ok, I admire you. Your leadership, attitude, spirit, experiences, knowledge,...

Tomorrow is your last day. Wishing you good lucks, thanks for your thought and sharing with me, and i'm sorry for anything from me that hurt you. May Allah bless us all.

I'm talking about a man, Insaniah Chief Librarian, he is no other than Tn. Hj. Abu Hassan Ghazali.

A BIG LOST for Insaniah Library.

------------------------------------------------

AO : Atun keja lagi ka?
Me : Keja.
AO : En.M ada?
Me : En.M tak masuk ofis.
AO : Ish no.. En. Abu pun last bulan ni dah.
Me : Hah...??? (Gile tekejut)
AO : Tu la... kami pun tekejut.
Me : Harini last day?
AO : Esok, harini dia di Mergong, esok di Kuala Ketil.
Me : .....


Friday, May 24, 2013

Chaos in the organization !

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQc3yFsw8UVLuqUctrP3q35jjdZsd_kmhjVX2tU9bffGoOHGp3AzrOoLETvodWp9sOxglxd-GtXrg1NUbi-xyG1VmaAJCmi0ZH1HrScwa0IVxi-qe4uMfN1wte46ClSSBurJLMuqjLvw4/s1600/kuin.jpg 

Isu INSANIAH dan anak syarikat sekarang popular di media.

I'm speechless ! I have no idea.

I love INSANIAH. I love ISSB. I love both.

Tapi situasi sekarang memberikan kedudukan yang 'selesa' untuk ISSB ditutup. Meaning I will be a 'penganggur' in a short while. Having no job. No more career. Memanglah ada desas-desus staf anak syarikat akan diserap ke dalam Insaniah, but I don't wanna hope on that too much.

Apa-apa pun, sedih kot...A company where I stayed for almost 4 years, gained lots of knowledge and experiences there. Suka dan duka. Walaupun banyak staf yang keluar masuk dalam tempoh tu mostly because of work pressure, I don't know how I can stay this long. Keras hati jugak aku ni.. =P

Rasa tak seronok nak keja dalam situasi sekarang.... Seriously !

Pray for better INSANIAH. 

Monday, April 29, 2013

Database Backup

http://www.mattpaulson.com/wp-content/uploads/2011/11/backup.jpg
Ok, let me just jump to the point.  Currently, I was ordered to perform database backup for library system. Backup database will be kept at the organization's cloud server. To be honest, I have no experience carry out such task. All I know is database dump and execute, import export, just that. I'm excited accepting the task but at the same time, I am nervous to the limit. Fuh~~~

There are three components :
1. Full Backup
2. Incremental Backup
3. Replication Server

I'm not sure whether they give me a specific due date or not, but I'm very sure that they want it to be done soon, as fast as I could.

Till now, I have successfully do the first one, full backup. Copy whole database from server A and send it to backup server, server B. All this has to be put in cron, so that it will be done automatically. Along the process, I've learn about scp, ssh private/public key. That is something new for me which I'm glad to learn. I will try my best to share it here later.

Striving to pursue my journey to complete task 2 and 3.

P/s : | O | X
        Undilah saya calon anda!

Saturday, April 27, 2013

How can I speak with more confidence in meetings?

 http://www.pinellascounty.org/mpo/images/meeting1.jpg

It is difficult. What to say, when to say it and how to say it. But there is a great rules which I think will help. It's :

1- Turn Up 
2- Listen
3- Speak your truth.
4- Don't be to attach to an outcome

Turn Up
Means more than just get there. It means be present, be ready. Know what people want from you, know what you want from them.

Listen
Really pay attention. The best speakers are always the best listener. 

Speak your truth
Speak from your heart. You need to be concise. And you need to really say what for the common good.

Don't be attach to an outcome
Know what you want then be really flexible about how to get there. Its really influential. 





P/s : Preparing myself for the upcoming meeting.

Friday, April 26, 2013

Tips : Catalog search returns "No results found"

Entri ini adalah susulan entri sebelum ni. Seperti yang pernah dikongsi pada entri lepas, the only reason that I know yang menyebabkan carian katalog tidak berfungsi ialah Zebra. Samada zebra stopped or reindexing is in the process.

Tapi hari ni dapat lagi ilmu baru.

Pagi ini lebih kurang pukul 800 pagi, (holiday) I purposely try make a search on OPAC. Dengan niat nak menyiasat apa masalah sebenarnya berikutan masalah carian yang dilaporkan oleh En.Azizi beberapa hari yang lepas.

Surprisingly, Opssss..... it is not functioning. No results found. Oh my GOD. Berderap darah. Ok, cool. If this happen because indexing is in the process, then I should wait a few minutes, try again and should be fine. I gave myself 15 minutes (more than enough). Then, another try.

NO RESULTS FOUND

Ok, relax-relax. Second hope, manually do the indexing. This would take around 10-15 minutes, after that case usually settled. However, the process take longer than 15 minutes. Now, I know there is something else. This is not the solution. I patiently wait till the end of the process. Almost 2 HOURS. Disaster. I'm in a great problem. What is even sadder, again.... catalog search returns : "No results found". 

http://thumbs.dreamstime.com/thumblarge_239/1203429807ZMwX6g.jpg 

The face of chief librarian comes straight into my head. He just warn me yesterday not to do anything to the server on the coming Sunday because there will be a visit from MQA to check library system. Sir, I did nothing to the server since our conversation on this matter. Honestly. How scared I am at that time. Having no team-mate. All alone.

Nasib la harini Jumaat, perpustakaan tutup. Tapi esok pihak perpustakaan dah mula operasi dan lusa MQA datang. Meaning I have only today. Fuhh.... Jika dan hanya jika harini adalah hari bekerja, pasti bertalu-talu sms dan panggilan masuk. Thanks Ya Allah. 

I'm struggling to resolve this matter as soon as possible. Ok, to make long story short, here is the tips.

1. Restart apache
2. Restart mysql
3. Restart zebra

Ensure these three components can be restart successfully. If errors shown, fix that. In my case, the root problem is apache : "Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName". Click here to see how I solve that.

Alhamdulillah.... masalah selesai ! Dekat pukul 1 tengahari jugaklah baru dapat tarik nafas lega.

Proud to be myself. Bangga wooo boleh settle masalah sengsorang!!! Ok, sila lempang.. :P With Allah guidance *_^

 

Awas ! Zebra melintas di hadapan.


Entri ni just nak men'nota'kan kepeningan + kehairanan + ketaktaupasai-apaan je.  Of coz la pasal KOHA.

Yang pertama. Dua hari lepas... dalam pukul 430 pm camtu, I've received an email from En.Azizi. He reported that something wrong with Fast Add Cataloguing. Dah baca tu cuak tak usah cakap la.. I just wonder what happened, why and how to fix the situation.

I tried. Eh... ok je. Then, try again... Still..... nothing weird, no problem. Ponder. Did I miss understood the problem reported??? Read again. Nope... i'm right. Then reply the email, saying that everything were just fine while deep down in my heart hoping that it is their fault. Doing it not in the order it supposed to be. Because i'm very sure that is nothing wrong with the system. Hope! Then I leave.

The next day, early in the morning an SMS touch my inbox. From our librarian. I know it must be a serious problem if it were from this guy. Mengucap siap2. Then read the message.

"Atun, carian lansung xjalan dari kemarin"

Whaaaaaaat? Is it ? Quickly trying make a search on the web. Leave my cup of Nescafe aside. I've got the search result. Another search.... perfect! Next try... great!  Yesterday I was frequently tested the catalog search. I didn't face any problem.

Rasa macam mau hantok kepala ke meja. What is going on?

Stop. Think. Ponder. The only reason which makes catalogue search stop is indexing. We're using zebra indexing. It takes around 10 minutes per reindexing. If only searching made while system reindex, there you see search failure. That is the only reason that I know. Yea.. I'm sure. Message replied.

Few minutes later, a message from En.Azizi received.

"Ok, carian dah boleh dah."

I said to myself : zebra dah melintas sampai ke tepi la tu. Kemudian, balas mesej ambik kesempatan tanya berkenaan fast add cataloguing. He said still... tak jadi. Utk kes ni sama sekali takde kaitang dengan zebra. Sure!. Waktu ni terbayang pintu ajaib Doraemon. Niat je nak ke mana-mana then masuk ikut pintu ajaib tu. Kalaulah ada... nak niat balik mergong p bangunan library. Nak tengok sendiri apa yang tak jadinya. Tp.. itu semua KALAU......

I've decided. Ok lah... I'will make a manual screenshot for them just to ensure that they are doing in the right steps. Sedang elok mengarang... received another message.

"Atun, dah ok dah".

Grrrr~~~~~ Sabo-sabo.... Istighfar bebanyak... Ada ilmu Allah nak bagi tu...

OK, I shouldn't let my zebra crossing the road during working hour. Ia akan mengganggu pengguna jalan.
Previous setting in cron, reindex for every hour. Tukar, sehari sekali je... at 1.00AM. Tak kacau sapa dah kot waktu tu. kalau ikut KOHA punya recommendation lagi la... setiap 10 minit sekali. Tak jalan-jalan la jawab dia.

I need to tell them about this. Setuju atau tak, I leave it to them.

OR.... is it my mistakes which I don't know, I don't realize that it is a mistake.  Kalaulah betul.. moga cepat sedar diri! Wahai Allah yg maha tahu.. ajarkan aku ilmu sepatutnya supaya dapat mempermudahkan pihak library. Ameen.

Thursday, April 18, 2013

Query XML data type : SOLUTION


What a blessed morning today.. All praises due to Allah.. ^_^

Click here to read previous entry on query XML data type and what drive me to that. So, without further delay, here is the solution :





See??? As simple as that. The key is EXTRACTVALUE().

I'm proudly declare, that I'm ready for any type of reports they want me to generate. Oh... how I wish I could find this earlier... It's OK. Better late than never. Keep learning.. ;) 

Wednesday, April 17, 2013

Query XML data type

First, let me share the background story. Books were written in various language. In our library, there are book in Malay, Arabic, English and etc. The most is Arabic I think. The information of a book such as title, author, ISBN, barcode, language, subject, call number and so on were kept in MARC. MARC is Machine Readable Catalog. I will share on MARC later. MARC were kept in database in a field with longtext data type in an XML format.

 So, my task is to generate a statistic based on item's language.

  

I did successfully produce the statistic by manipulationg some PHP pre-defined function such as explode.. *_*

  

However, when it comes to huge data for example statistic for every item in the library (currently our library hold more than 50 000 items and a lot more thousands to come ) .... it stop!!! :( 

To access more than 50 000 MARCs just to get that tiny info each. Huh.... I know it must  a better and clever way to do it precisely and most important is the query performance. I'm keen to know 'how to query XML data type' even I'm not sure does it really help. At least I try. Once I got the solution, I will definitely paste it here.. 

Ok.. work hard, pray a lots..