Friday 26 April 2013

Surat saja

Mamaku selalu menasehatiku tapi aku tidak
mendengarkannya. Kenapa aku tidak mendengar
kannya karena mungkin aku bicara bahasa yg
berbeda, bahasa apakah yang aku punya?
Mungkin bahasa yang logika,
bahwa ketika aku bisa menemukan bahwa
apa yang dibicarakan mamaku adalah penambahan (+)
dan pengurangan (-), bisa merumuskannya dan membuktikannya benar baru aku mengerti.
Atau aku hanyalah orang yang mau percaya setelah membuktikan?

Inilah tujuan hidupku sekarang. Aku harus menemukan cara yang benar untukku
Jika itu memang masalahku, aku berusaha menemukannya
Aku tidak pintar tapi tidak juga bodoh ku rasa
Mungkin hanya ada yang salah dari fikiranku

Well, untuk saat ini aku mengerti satu hal,
orang yang tidak mengerti apa yang diucapkan
oleh orang lain belum tentu dia bodoh,
akan tetapi mungkin dia berbicara atau
mengerti hal yang berbeda.

Theres two reasons that yet I have been found: autism or schizonphernia

So lets do this I recover from ground up what has been meshing me up.

Transforming words to math equation

is, am, are = '='

Suatu kalimat dapat menjadi rumus penambahan, pengurangan, pembagian tapi cari dulu obyek-objek yang bisa ditambahkan dan dikurangkan.

Kamu bisa menggunakan salib sumbu untuk menjelaskan perbedaannya.

Pembagian tidak akan menghasilkan 0 jika tidak dibagi 0.
Pengurangan akan menghasilkan 0 jika Yang Dikurangi dengan Pengurang sama besar.

Properti
Contoh:
Elang.kapasitas perut = 300 bibit gandum.
Elang.kemampuan terbang = 100 meter selama 1 Jam non-stop

Monday 22 April 2013

Wisdom of an access-list

We will observe that access-list 1 permit 192.168.1.1 0.0.0.255 is same meaning as access-list 1 permit 192.168.1.253 0.0.0.255. You see that both of these access-list permitting any traffic that are generated by 192.168.1.1 - 192.168.1.255 hosts but why we just don't write it as access-list 1 permit 192.168.1.0 0.0.0.255?

or 

maybe those 3 access-list are all same meaning?

The answer is yes, they are all same meaning.
access-list 1 permit 192.168.1.1 0.0.0.255, and
access-list 1 permit 192.168.1.253 0.0.0.255, and
access-list 1 permit 192.168.1.0 0.0.0.255
are all same meaning.

Later, I will show that is not only 3 access-list variation that we can build to block these address (192.168.1.1 - 192.168.1.255) but many.

How can it be? Well access-list is just an OR operation between IP part, the wildcard mask, and the address of an IP packet.

Any IP packet that have layer 3 address (source) that OR-ed with (IP part OR the wildcard mask) is have same result with result of IP part OR the wildcard mask they will be assumed match.


Well, First, we need a brief wisdom of binary OR operation. You can read it in here:
Second, we will learn bitwise operation behind the access-list. In this steps I will say that an access-list is just an OR operation between A, B and C. Follow me.
Third, we will answer the question.

(1) Please read the blog
(2) Recall one of our access-list: access-list 1 permit 192.168.1.1 0.0.0.255
we can re-say it correctly with: access-list 1 permit A B, where A = 192.168.1.1 and B = 0.0.0.255
We will need another variable C. So now we have A, B, and C variable.
So we re-gather them again:
A = 192.1681.1 = An IP address of an access-list
B = 0.0.0.255 = the wildcard mask of an access-list
and, C = any IP address

(3)Your friend give a hosts-list 192.168.1.3 and 192.168.1.4 to you. They want you to block these host's internet connection. Tell me your A and B on your access-list that you want to built to block the host internet conn.?
Since C = 192.168.1.3 OR 192.168.1.4 = 192.168.1.7
A = 192.168.1.3
B = 0.0.0.4
access-list 1 permit 192.168.1.3 0.0.0.4

A = 192.168.1.3
B = 0.0.0.7
access-list 1 permit 192.168.1.3 0.0.0.7

A = 192.168.1.4
B = 0.0.0.3
access-list 1 permit 192.168.1.4 0.0.0.3

A = 192.168.1.4
B = 0.0.0.7
access-list 1 permit 192.168.1.4 0.0.0.7

A = 192.168.1.7
B = 0.0.0.4
access-list 1 permit 192.168.1.7 0.0.0.4

A = 192.168.1.7
B = 0.0.0.3
access-list 1 permit 192.168.1.7 0.0.0.3

Have you count how many access-list variation that we have in this question? Yes it is 6! Where 6 came from?

2. How much host that will be block accidentally using your access-list?
Answer: If you using 1 one of question number 1 access-list you will

Sunday 21 April 2013

Analogy of Electricity with Indonesian smoker thought

Jumlah arus (Ampere) adalah Jumlah mobil yang lewat di depan gw selama gw duduk di depan suatu jalan sambil merokok. Contoh: Ada 10 mobil yang lewat di depan gw selama gw nongkrong 10 menit menghabiskan sebatang rokok.

Jumlah tegangan (Voltage) adalah kekuatan yang mendorong mobil-mobil itu. Semakin mereka tergesa-gesa (semakin besar dorongan mereka), semakin kencang mobil-mobil mereka melewati gw yang sedang asyik merokok.

Jumlah hambatan (Resistansi) adalah .... (bantu gw)

Saturday 20 April 2013

Wisdom of AND

What does 8 means of 10 AND 9 = 8 ?
It means 8 is what 10 and 9 shares
It means 8 is builder-number of 10 and the builder-number 9 too
It means 10 and 9 samely have 8 number
It means 10 = 8 + 2 and 9 = 8 + 1
So, when you and 10 AND 9 you will get a number that they both (10 and 9) have to became 10 and 9.





Wisdom of Binary

One of the wisdom of binary is any decimal number can be presented with the combination of these numbers:
{0, 1, 2, 4, 8, 16, 32, 64, 128}

3 = 2 + 1
5 = 4 + 1
7 = 4 + 2 + 1
11 = 8 + 2 + 1
22 = 16 + 4 + 2
33 = 32 + 1
44 = Sure you can answer this

Wisdom of XOR

Wisdom of XOR is if A and B totally match, result of A XOR B will be 0
otherwise (if the result have value other than 0) they (A , B) don't totally match.

Example:
A=2, B=2, A XOR B = 0, the result (0) means A and B match perfectly in binary.
A=3, B=4, A XOR B = 7, the result (7) means A and B doesn't match perfectly in binary.

XOR operation is used to:
1. Match 2 IP addresses
2. Match between an IP address and an access-list