Sunday, February 17, 2013

Happiness

*Staring at their face will make me feel happy & calm-always*

The title of the post itself reminds me of The Fray's song- happiness. Well, pikah introduced me while we were in high school. Eheh. *Ok, ignore that*

One of my friends posted a status this morning on how to have happiness in her life. And... I replied:


This makes me realized that by practicing the deen is one of the main thing that we have to focus about. Be conscious with people around us, get socialized with others, and to appreciate with what we have. 

Practice- one of the things stressed by most of the speakers in the Heroes conference that I joined last semester. May Allah makes things easier for us, and... we'll find happiness- not only here, but also in the hereafter~ :)

Dear nina, please live your life with full of consciousness!

When the going gets tough, the tough get going...


*Life is complicated, yet challenging...*

Ni anak-anak kucing saya, yang emak nye nama 'Panda'. Dalam ramai-ramai, cuma sekoq je yang survive, 2 lagi mati. 

"When the going gets tough, the tough get going."
-to emphasize that when conditions become difficult, only strong people take action 

Ok, make sense sndiri lah apa kaitannye. *TEEHEE*


Kadang-kadang kita rasa iman kita jatuh, ibadah macam gitu-gitu je...

Hati rasa kurang senang. Cemburu tak pasal-pasal dengan orang... Marah bila orang cakap yang kita ni kena baiki diri...
Kena improve attitude... Kena kawal diri...



Tapi Allah masih bagi masa untuk kita self-reflect...
Kadang kita takut untuk jadi baik, takut orang cakap alim-alim kucing, takut tak dapat berterusan, takut itu, takut ini.

Tapi percaya lah, nak lawan semua ketakutan tu satu mujahadah.
Nak biarkan apa orang cakap tentang perubahan kita, pekakkan telinga, itu pun satu perkara yg susah.

Mujahadah is such a difficult thing to be done... 
Because we have nafs . But believe me, once we've started something good, we won't turn to bad things again, as long as we really, REALLY wanna change our attitude. Well, du'a as well, dat's quite vital... hmm!

Good luck~ 
And... don't get yourself confused~ ;)


-A note, for me.-

Tuesday, February 12, 2013

Programming course (week 2)

Today's topic: DATABASE


What is database?
-Organized collection of information
-a   repository for information organized in such a way that a computer program can quickly select or retrieve desired pieces of data

Examples:
-code in matric card to store all details about the student (stored in 1 database)
-borrowing books from library (stored how much books you borrowed)
-telephone books
-collection of music
-list of students

Analogy
Database (a rack)---> you can put stuff in & out (like a folder)

*there are many ways to organize a 'cabinet'
-classify files into their types

2 Types of database(how we design the database?): Flat  vs relational
-the way you design database will determine how fast the database runs-->& this leads to normalization
 

1-Microsoft excel-Flat (everything is stored in 1 table)

-repeating information
-slow to retrieve information
-difficult to re-organize info
-increase risk of typos
-no transactions

2-Microsoft access -Relational (break down information into different types-student's info, course info, mahallah info)-each data in each tables should be related to each other (eg: same student ID)

 -Advantages
- organized database
-sorting using tables-->
-summarizing it using reports
-extracting in 

-breaks part into different tables
-relates/connects tables with unique key (different matric numbers)
-prevents duplicate information
-it's efficient and less prone to error
-optimizes the performance-retrieve from 1 specific information-->easy to search-needs less time to retrive information



Normalization
-the process of splitting data across multiple tables to improve overall performance, integrity(repeating) & longevity(the way how we retrieve-take less time)
-split out data into a particular table-->we need relationship to split the tables

Why normalize
 -no need to repeat information(which will takes up unnecessary space)
-data grow exponentially(rapidly)-will affects the storage
-To avoid slow performance
-To avoid inconsistency-which can avoid searches


How to normalize?
-By splitting the data


Objects in database

-it refers to individual components that comprise database
4 basic objects: -->complete database
-tables-to store
-forms-to design the interphase -how you want to design the data
-queries-to retrieve informations from table
-reports

-macros & modules (visual basic)

What is the heart of the database?
-The tables
-The most important object in database

Why?-->

  • we cannot key in data without tables (we cannot report without tables)


What is table?
-a collection of information organized into:

  1. Fields( columns in table)
  2. Records (the rows in the tables)
  3. Data values (the actual information itself)
  4. Data type(auto number, text,number, currency, date/time, yes/no, attachment, hyperlink-via email, memo, lookups)
MICROSOFT ACCESS 2010
Space:
Limit 2GB-the space needed for system objects-should avoid repeating information 
 Numbers of objects in database=32,768
Characters per object name =64
Number of concurrent users=255


Exercise


-view
-insert field names
-specify the data type
-i can edit the caption...




*learning database will helps in understanding programming better... :) 
Extra note
Khalasss~~

Monday, January 21, 2013

Barisan

*Ini bukan kisah barisan nasional, tapi barisan kanak-kanak muslim, ahli syurga~* ^^

"Allahuakbar, Allahuakbar!" azan zohor sedang berkumandang. 

Aku masuk ke ruang dapur, nak berkemas untuk pulang ke rumah setelah selesai program. Sambil-sambil dok mengemas meja, aku terpandang ke arah tingkap yang menghadap pentas utama di dewan terbuka sekolah itu. Aku ternampak kanak-kanak lelaki, lebih kurang enam orang sedang berdiri beramai-ramai di atas pentas tu. Aku berhenti mengemas sekejap. Salah sorang daripada mereka mula mengangkat takbir, semua mula solat- berjemaah mungkin. Tapi ada yang solat laju, ada yang solat lambat sedikit. Ada yang macam ayam patuk. Tak sekata. Aku tersenyum melihat gelagat mereka. Aku memanggil Adibah, dia pun turut senyum melihat adik-adik tu solat. 

Apapun, satu yang aku puji diorang ni- mampu solat awal waktu, yang kadang-kadang kita pun susah nak buat. Diorang cuba laksanakan, mungkin sekarang belum sempurna, tapi insyaAllah akan terterap dalam hati diorang untuk solat sepanjang hidup sebagai seorang Muslim.

Psst!

Teringat pulak pesan sorang ustaz ni, anak-anak perlu dididik dengan gaya hidup Islam. Iman yang mantap, yang mana sekarang memang susah nak terapkan kalau kita sendiri pun tak ada kefahaman Islam yang mantop. 

Bak kata Dr. Muhaya (ayat pemes tiap kali dia berceramah), Jom audit diri!

Live your life,but...





"Live your life that the fear of death can never enter your heart.

Trouble no one about their religion;
respect others in their view, and demand that they respect yours.
Love your life, perfect your life, beautify all things in your life.

Seek to make your life long and its purpose in the service of your people.
Prepare a noble death song for the day when you go over the great divide.
Always give a word or a sign of salute when meeting or passing a friend,
even a stranger, when in a lonely place.
Show respect to all people and grovel to none.

When you arise in the morning give thanks for the food and for the joy of living.
If you see no reason for giving thanks, the fault lies only in yourself.

Abuse no one and no thing, for abuse turns the wise ones to fools
and robs the spirit of its vision.

When it comes your time to die, be not like those whose hearts are filled
with the fear of death, so that when their time comes they weep
and pray for a little more time to live their lives over again in a different way.
Sing your death song and die like a hero going home."
-(Act of Valor, 2012)

Sunday, January 20, 2013

Biawak's view


"This is a biawak's view," my lecturer commented.
All students in the computer lab laughed.

I realized in photography, we need to look at things from a different perspective. Before I captured this picture, I made a 'view' using my mind's 'eye' on how the result would be look like. So, I imagined the lotus will be much bigger, I won't see the 'teh tarik'-look river, and with nice lighting! And that's the result...

The same goes to my life, I have to look at things from a different perspective, make sure you have the best angle, then, just go with it! It doesn't mean that I need to be the same as others, but I just need to make sure that I am still in the right track.

Thursday, January 17, 2013

Laziness



LAZINESS.

Yes. If it comes to you, then expel it.
Laziness & idleness come because we don't know where we are.


This is knowledge-in which there is no room for you to be idle.
This is knowledge-which cause the heart to tremble.
How can you rest and enjoy your idleness- whilst you're dealing with the commodity of Allah?


And if you want to seek knowledge, then fill your heart with the Magnification of Allah.
Know that idleness & laziness will not come to you except due to sins.
And know that knowledge does not come- except due to heedlessness.
And the cure for that is what your Lord has guided you- to increase in seeking for forgiveness and repent towards Allah.
And say:

" O' Allah, I seek refuge in You from You preventing good- due to the evil in me"

So ask Allah to forgive you from the sins that is between you and this knowledge.
There is no prevention worse than being prevented from knowledge and action.

*This is an excerpt of Sheikh Muhammad Mukhtar al-Shinqti's advice on knowledge*


*I also provide the video, for a full version of the video.*