Thursday, September 30, 2010

about programming and life



Bismillahirrahmanirrahim..


Our life such a Programming language that use to command our pc to do something. either you accept it or not, our life is always like a programming language. Why? Let’s we see it together..

Before that, let we know that every programming language is divided into three important things ; the header, body and footer.

First at all, to get an input to our programming language ,we must put the heading file either we want to use #include / #include / #include or others depend on what we want to do. Even though all of these heading file are quite different but there’s some similarities that must have by every heading file ; #include. If we see, we can assume that #include is a “Syahadah” that we used to believe in our life to declare that we’re Muslim and the continue format of #include is , and other so now, we can assume it as a race. Whatever race we are, we still have one similarity that if we lost It, our programming will not produce the output ,the similarity of these #include = our syahadah = our faith = Islam.

Secondly, after write the heading file, we must write the int main ( ) / int main (void) and others depend on what we want to do after that,we must open our ‘body’ of programming language with { . so now, we already have 3 important things that we must write/do before we start our program

1) Begin our program with #include / #include / #include /#include

2) Put the main file : int main() / int main(void)

3) Continue it with {


Assume that the main file : int main( ) / int main(void) and { is are the rule in Islam that we MUST do to get the actual “output” of our “programming “ . after declare our syahadah means we has been ready and able to follow all of the rule in Islam that we declared for our life.

Now, we continue our programming with body. In programming’s body, usually we will found two types of selection that we need to choose depends of what we want to do. Every choice that we make will give some impact to our output and if we failed to chose and failed to use it correctly, we will not get the output like we want and nether will not get the output. As I know, in programming we have two types of selection .

1) If = if is a selection when we have only one choice. For example

If (Islam)

Cout << “boleh dipertimbangkan utk Masuk syurga\n”;

Else

Cout <<”jika tidak kemabali kpd Allah,akan masuk neraka\n”;

2) If...else = if...else is a selection when we have more than one choice and it will make something more complicated. For example :

If (Islam)

{

If (solat 5 waktu )

{

If (selalu buat baik)

Cout << “Allah sayang \n”;

}

else

{

If( dapat hidayah)

{

If (terima hidayah tersebut)

Cout << “beruntunglah dia \n” ;

}

else

Cout <<”Dialah manusia yg paling rugi.. rugi didunia,rugi juga diakhirat. \n”;

}

Here, we can compare the selection in this programming language with our life. In our life, we always face something that need us to make a selection or choice and every choice that we make will not just affect us but it is also affect everyone who stay around especially for those who close to us..

Ok.stop about selection. Now we continue our programming with something that usually we’ll found it in programming ; the loop. There’s no ‘loop’ in our life actually because the time that already pass will not come again but sometimes, something that we do in our past will happen for a second time in our future either it will happen to us or our offspring, depends on Allah’s need. It is we call ‘qisas’ in our life.

The loop in programming language is divided into three ; While,do...while and for. In programming, we use loop when we want to produce much of output and every type of loop that we choose to use will affect the output that we will get.

1) While = while is a loop that produce the output while the condition is true. Example :

Life = 60 years

{

While ( Life <= 60)

Cout <”beramallah sebelum mati \n”;

}

2) Do...while = do...while look like the while loop but it is quite different. The condition of do...while loop will test in the end of the loop so that the program will produce at least one output . for example :

Life = 60 years

{

Do (worship to Allah)

While (life <=60);

}

Now , do you understand what I mean? in conclusion we are the the understanding robot that has been programmed to be worship of Allah but we can choose either we want to follow all of the "programming language" that has been create to us or not.if we follow it correctly with the good intention,we will get the best output = The HEAVEN but if we not follow the "programming language" that created for us,we will get many error and failed "compile" our program so that we will not get any output,when we don't have any "output" we will invite to go to the Hell...

huh!aku takut...kau tak takut?

jom ikut sume Rule yg ditentukan dlm "programming language" kita utk dpt output yg bestt,okeh...


Selamat BeramaL...


___________________________________________


note : last day,I feel so sleepy in my programming class so that I was do some revision in the nite and I this is what I get when I make a revision alone by myself..hu2..hope you can get something from here..

note2 : actually,I wrote this entry in ms word last nite (3.35 am) and just copy and paste it here..malas nak edit that's y tulisan xbestt...


Tuesday, September 28, 2010

'I'm busy' kah??




tired?

semi-Finish Project:

1)Audio Video (Individual project) - 80% Finish

Project to do :

1) Audio Video (Group Project ) - need to make some Documentary. our topics [pembuang bayi]
need to go there to make some ''temubual''..
2) Animation (Individual Project)
3) Animation (Group Project - title : kisah Ilham)
4) Programming c++ (All of coding from beginning of this semester need to put in a CD and submit it in the end of this semester.make sure that the coding that you make can be build and produce the OUTPUT )
5) Data Base (use Ms Access)
6) English (make a questionaire, analysis and present at the end in this semester)

things to do everyday:

1) make revision of Data Base
2) try to understand Coding correctly
3) study how to use mm software

Target for this semester (from my P.A - Penasihat Akademik ): 3.21

c++ = c+
Data Base = B
Audio Video = A
Animation = A
English 3 = B+
Professional Ethics = B

target from me,myself : NONE!(never achive what i've been target,so I just let my P.A to give me the target for this sem -_-'' )

my wish : I want to change the time back to 15 month ago.Accept the bid from another college and take my favaurite field.however,It can't be done eternally so that just Accept the thing that given by Him for you,Aisyah! Remember that anything that he given to you is the best thing for your future.
keep your spirit up and always refresh you intention here

mode : 'I'm busy' kah??


Friday, September 24, 2010

adik-adik..


_____________________________________


‘’ikut kak sya baca ya’’

‘’okeh.’’tersenyum

‘’aa’’

‘’aa...’’

‘’ba’’

‘’baa..’’

‘’ta’’

‘’taa..’’

‘’tsa’’

‘’saa..’’

‘’tsa’’

‘’saa..’’

Erm..ok,wani tak pandai sebut lagi.takpe,ikut yang ni pulak

‘’ja’’

‘’chaa..’’

‘’jaa’’

‘’chaaa....’’ matanya terkebil-kebil.dengan dahi yang berkeringat dia tersengih.’’chaaa....’’ ulangnya lagi dengan yakin.

Aku merenung matanya.aku terseyum.dia juga terseyum.kusapu perlahan-lahan kepala budak kecil bermata bulat itu,baru 5 tahun.

‘’jaa..’’

‘’chaa.....’’

Dan akhirnya kami ketawa bersama-sama.

‘’kak aisssiah,ndak pandai aku baca tu.susa..’’

‘’iya la.kakak tahu.wani sebut je mana yang wani boleh sebut.besar nanti wani pandailah.’’ Aku terseyum. ‘’cuba sebut nama betul wani’’

‘’nama wani?’’ tanyanya.dia tersenyum2.rambutnya yang terkeluar dari tudung biru yang dipakainya itu ku selakkan masuk ke dalam.dia senyum lagi.mata budak kecil itu bersinar-sinar.

‘’nur syatchwani..’’

‘’ha..salah tu.ikut kakak sebut ni.. nurr...’’

‘’nurr..’’

‘’syaz..’’

‘’syatch..’’

‘’syaz..’’ aku perbetulkan lagi.

‘’syyatz...nurr syyatzwani..’’dia tersenyum-senyum.’’nur syatcwani kan namaku, kak..’’

Hahaha..aku ketawa sendiri..dia merenung pelik.namun akhirnya ketawa juga. ‘’iyalah,nur syatcwani..’’ balasku.kami ketawa lagi.aku sayangkan dia.


_____________________________________


Itu kisah setahun lalu.semalaman aku tidak tidur,teringatkan mereka.apa khabar mereka sekarang? Adik-adik yang selalu datang kerumah setiap hari.

Mereka semuanya ada 5 orang.jaafar,darjah 3 dan kakaknya yang berada didarjah 5.adik mereka wani juga ada sekali,dia paling muda,baru5 tahun.selain mereka ada lagi 3 orang.lornah,13 tahun dan dua orang lagi adiknya.masing-masing 5 dan 6 tahun.sebaya dengan wani.namun yang dua ini agak nakal sedikit.

Setiap hari mereka akan datang ke rumah.mereka adalah anak-anak kepada jiran saya yang tidak pernah sekalipun saya kenali sebelum ini.maklumlah saya tinggal sekolah berasrama penuh dan jarang berada dirumah.jika adapun hanya berkurung dibilik sahaja.

Sangat gembira mengenali mereka semua.mungkin kerana saya tidak mempunyai adik maka saya sudah menganggap mereka seperti adik-adik saya sendiri.pada siang hari saya akan sibuk bekerja (part time saja,lepas spm ) dan dimalam hari mereka akan datang belajar mengaji.bila waktu cuti mereka datang belajar ABC.

‘’kat kampung ni,tiada ke ustaz yang mengajar mengaji?’’ tanyaku pada suatu malam kepada lornah.anak jiran yang paling tua antara mereka.tetapi masih seperti budak-budak lagi.

‘’ada,kak.tapi bayarannya mahal.kami ndak mampu.lagipun ustaznya suka marah.’’ Jawabnya

‘’owh..memanglah ustaz marah kalau anak2 murid dia tak pandai ngaji.’’ Balasku..sengaja menguji

‘’hehe,nda faham kak.dia ajar terus quran besar tu.kami tak pandai lagi alif,ba,ta..macam mana mahu pandai baca quran.’’jawabnya. ‘’lagipun mak aku larang kak.jauh tempatnya.’’

Aku terseyum.

‘’akak sekolah dimana?’’ tanyanya

‘’habis dah sekolah menengah.nak sambung pula dimana-mana yang dapat.’’

‘’oo..bagusnya kakak kan dapat sekolah.nda macam aku ni.mak tak bagi sekolah.sampai darjah 2 ja aku sekolah.’’ Balasnya.sedih. ‘’aku pun kalau boleh mahu pandai juga macam kakak.dapat sekolah.’’

‘’tak apalah, tak sekolah tak semestinya tak pandai,kan.’’ Jawabku memujuk.dia terseyum.

‘’kak,aku mahu bha pakai tudung macam kakak ni.’’ Katanya lagi setelah membisu seketika.

‘’boleh.baguslah tu kalau lornah nak tutup aurat.’’

‘’aku mau sembahyang jugak.boleh kah aku pegi rumah kakak? Nanti kita solat sama-sama.akak ajarlah aku,ya’’ dia terseyum.matanya berkaca-kaca.gembira.

‘’ok.nanti datang ja.datang masa maghrib dan isyak.siang kakak kerja.’’


Dan sejak itu kami pun semakin rapat.bukan saja dia malahan semua anak2 mengaji aku akan datang setiap malam.bersolat bersama-sama.kadang-kadang terasa hendak marah apabila sikecil wani dan ika berulang-ulang bertanya cara-cara solat.sempat bercakap semasa dalam rakaat dan tertidur semasa sujud.haih,budak2 ..

Saya ulang,itu kisah setahun lalu.

Dan kini,saya tidak tahu apa khabar mereka.siapa yang akak mengajar wani memperbetulkan sebutan chaa kepada ja? Siapa yang akak membantu lornah menganal Allah dengan lebih baik? Siapa yang nak ajar mereka mengenal Quran lagi?

Saya tidak katakana saya baik,tidak.saya sama saja seperti kamu.Cuma atas dasar kasih dan sayang saya kepada mereka,saya selalu terfikir tentang ini.

Teringat perbualan bersama lornah beberapa hari sebelum berangkat ke semenanjung

‘’betul kah kakak mahu p semenanjung?’’ tanyanya

‘’erm..akak sambung belajar disana.’’

‘’bestnya kak.mesti kakak lupa sudah kan sama kami nanti.’’ Balanya.

‘’eh,tidaklah..nanti kakak balik kita jumpalah balik.’’ Balasku.

‘’sayanglah sama kakak’’ aku hampir menangis.


Kakak juga sayangkan kamu semua,dik........

___________________________________







'Tiap-tiap anak dilahirkan berkeadaan fitrah (suci bersih), maka kedua-dua ibu bapanyalah yang menjadikannya Yahudi, Nasrani atau Majusi'

(Riwayat Bukhari)


___________________________