Wednesday, June 29, 2011

Photography: Depth-of-Field

Wow. Sibuk gilalah sempena amik intersesi ni. 2 subjek lagi tu. Memang hectic. Anyway, intersession dah pun habis and boleh rehat. XD Takut nak tau result :S

Anyway, untuk entry ni saya nak buat yang pendek je la..nak share about depth-of-field dalam bidang photography sebab recently ada rakan saya ni tanya:

"eh camane kau buat gambar belakang tu jadi kabur ea?"..and
"eh camane nak control brape banyak kabur kita nak ea?"..ha lebih kurang gitulah..

So, konsep yang dia tanya tu adalah berkenaan Depth-of-Field(DOF). Ia adalah term untuk menerangkan jarak antara depan dan belakang focus point yang relatively sharp. Untuk membezakan, kita guna term "shallow DOF" untuk jarak DOF yang pendek(means tempat yang dalam focus sikit je) dan "deep DOF" untuk jarak DOF yang besar(means tempat yang in-focus agak luas).

Source: http://images.cambridgeincolour.com/tutorials/dof_circleofconfusion.png

Apa yang penting sangat dengan depth-of-field ni? Penting sangat kalau:
  • Nak buat bokeh
  • Nak buat potraitization
  • Supaya orang yang lihat gambar fokus pada objek bukan pada backgroundnya

Potrait - source: http://withfriendship.com/images/i/44403/Portrait-photography-image.jpg

Bokeh - source: https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoob7sSKLgYrrfOQcTO0qcSVcyB2GdyhxZh17koKRTbb2ouxkTOYZCq5auwb8VA4CFuE_6lSNKjL0r2p-Q0ETL3dkKSC17-39BjYZC76V5X3SPjWRVNPsuCi_JgxQsSEW_rE9arxuVYVw1/s400/awesome+bokeh.jpg

Macamana nak kawal depth-of-field??

Ada 3 cara:

  1. Aperture
  2. Focal length
  3. Distance
But usualy, people only focus pada aperture dan focal length so saya akan cerita pasal dua factors ni sahaja ok.

1. Aperture

Aperture adalah luas bukaan iris/lubang pada lens. Ia diukur dengan menggunakan f/stop seperti f1.8, f2.8, f5.6. Makin besar nilai f/stop, makin kecil bukaan aperture dan juga sebaliknya. Ramai orang silap tentang prinsip aperture number ni bila mereka ingat f number yang besar, besarlah bukaan aperture. Wrong.

INGAT: f-number besar, bukaan kecil
              f-number kecil, bukaan besar
Aperture and its value


Jadi, untuk mendapatkan shallow DOF macam gambar potrait di atas, pakai aperture yang besar(f-number kecil). Kalau hendakkan deep DOF pakai aperture kecil(f-number besar). Tapi ingat, kalau pakai bukaan aperture kecil, anda kena matchkan dengan shutter speed yang bersesuaian sebab bukaan kecil hanya membenarkan sedikit cahaya masuk ke sensor camera/filem. So kena try-and-error ;-)



Shallow DOF

Deep DOF
To conclude:

  • shallow DOF = wider aperture = lower f-number = lesser lighting entering camera
  • deep DOF = narrower aperture = higher f-number = more lighting entering camera

2. Focal length

Kalau ikut wikipedia:
The focal length of an optical system is a measure of how strongly the system converges (focuses) or diverges (defocuses) light.
Tapi untuk layman term, focal length adalah berkenaan zoom. To cut it short, the more you zooming in, you'll get shallower DOF and vice versa. Simple.

Zoom more = shallower DOF
Zoom less = deeper DOF

Focal length comparison - source: www.freshdv.com/wp-content/uploads/2007/10/dof_explained_tutorial.jpg

Ok. Simple as that. Tu je lah nak cerita nak share. Skarang nak cari kerja. huhu..

Papai!!

Saturday, May 14, 2011

Review: Samsung Galaxy Tab P1000

With huge amount of their device operated by Android OS they managed to sold, Samsung continue to step forward. This time, they introduce the Samsung Galaxy Tab. Galaxy Tab is a phone with tablet form factor device running Android OS by default and capable to delivering whole new experience for user. In this entry, we will into what Galaxy Tab can offer for Android fans.

Wednesday, April 27, 2011

D-Link DIR-615: Flashing To DD-WRT Firmware

This entry is about my experience flashing a router. If you decide to do it too, bear in mind that flashing any device with unofficial firmware/software will result in void of warranty. I held no responsibility for any mishaps due to your flashing activity.

I decided to flash my DLink router from original firmware to DD-WRT firmware. The reason why I want to do this is due to fact that the original firmware provided by DLink miserable for example: I can't access the router whenever it's disconnected from the internet, I'm having frequent wireless disconnectivity, slowdown and so on.


So, the DD-WRT is:
I quote from DD-WRT.com
"DD-WRT is a third party developed firmware released under the terms of the GPL for many ieee802.11a/b/g/h/n wireless routers 
based on a Broadcom or Atheros chip reference design.
The firmware is maintained by BrainSlayer and is hosted at dd-wrt.com. ....."

So, let's begin. Things we're gonna need is:
1. A compatible router - log into your router web interface(typically 192.168.1.1 or 192.168.0.1) and find hardware revision and also firmware version. Alternatively, you can take a look on the bottom of your router. Write somewhere these two things.


Then, point your browser to: List of supported device
and look whether your router is compatible with dd-wrt firmware. In my case, the router id DLink DIR-615 and hardware revision is: E4 in other words "I CAN CONTINUE"..yeah..
2. LAN cable. Strictly don't flashing a router wirelessly.
3. Computer..of course!
4. Original firmware. In case something goes wrong. We'll also gonna extract magic hardware code in original firmware. In my case, it's available to download: Go directly to download E3/E4 original firmware
4. DD-WRT firmware. Once you sure that your router is compatible(see step 1), proceed by clicking a link provided and follow the procedure to download. If you opt to use their guide, print the guide first.
5. Hex editor. In DD-WRT guide they suggest using emacs but I prefer HHD Hex Editor NEO.

Let actually begin.
1. Open the original firmware using hex editor. Find the magic hardware code usually located at the very bottom of the file. Copy the magic hardware code.
2. Continue from 1, paste the magic hardware code into dd-wrt firmware file. Again, look out at the very bottom of the file. Then, save the file.


3. Alright, once the ddwrt firmware is ready, connect your computer to router using LAN cable. Wait until your PC get its IP.
If that's not happenning, try reset the router(see manual for this) and set your computer to static IP eg: 192.168.0.2. Never use 192.168.0.1 since this is default IP the router going to use.
4. Point your browser to router web interface(192.168.1.1 or 192.168.0.1), go to "Tools" -> "Firmware".
Click the "Browse" button and select the ddwrt firmware that you have edit early. Continue by click the "Update" button.


5. A status page will appear. In my case, I wait for about 10 minutes and it didnt direct me to anywhere so I just turn off the router and on back again(this should not need to be done). Note that if you have chosen static IP early, kindly set the setting back to DHCP. Wait until the your computer is connected with the router.


6. It YEAY or NAY time, point to 192.168.1.1 on your web browser. If you lucky, you will see DDWRT firmware new interface. That shows that you have succesfully install new firmware. But if nothing, it's PROBABLY BRICKED.

Here's is some interface from ddwrt firmware.


Verdict
1. Fast indeed. Webpage/video loading time is greatly reduced. My brother and father also feels that.
2. Full of features. Yep. So many features they managed to pack into this amazing firmware.
and so on...

Ok, that's all for my entry now. I will try to write new entry about how Im configuring the new DD-WRT firmware.
Bye2!! :)


3152E8B06184DCAA296BA720E4BD41CB

Tuesday, April 19, 2011

Goodluck Everyone!

Final is coming again. Wishing you all my friends especially CS231 4B, good luck in your final paper and do your best.
Sijil degree ni la yang kita nak promote kat syarikat2 beso nanti..:)

Language Phrase
Afrikaans Sterkte!
Geluk!
Albanian Paç fat!
Arabic (Egyptian) (hazz sa'eed) حظ سعيد!
Arabic (Modern Standard) (bit-tawfīq) بالتوفيق!
Armenian (Eastern) Հաջողությո'ւն: (Hajoghutyun)
Բարի' բախտ: (Bari bakht)
Azerbaijani Yaxşı şanslar
Basque Zorte on!
Bhojpuri बढ़िया किस्मत रहे (badhiya kismat rahe)
Breton Chañs vat!
Bulgarian Успех (Uspex)

Късмет (Kãsmet)

На добър час! (Na dobãr čas)

Всичко хубаво! (Vsičko hubavo)

Желая Ви щастие! (Želaja vi štastie) frm

Желая ти щастие! (Želaja ti štastie) inf

Добра сполука (Dobra Spoluka)

Да е на добро (Da e na dobro)

Прокопсия (Prokopsija)

Добър шанс (Dobãr šans)

Кадем (Kadem)
Catalan Bona sort!
Molta sort!
Chamorro Buena suette
Chinese (Cantonese) 祝你好運
(jūk néih hóuwahn)
Chinese (Mandarin) 祝你好運 (zhù nǐ háoyùn)
Chinese (Teochew) 祝福 (jok4 hok4)
Cornish Chons da!
Croatian Sretno
Czech Hodně štěstí!
Danish Held og lykke!
Dutch Succes!
Veel geluk!
Esperanto Bonŝancon!
Estonian Edu!
Faroese Góða eydnu
Fijian Vanuinui vinaka
Finnish Onnea!
French Bonne chance !
Friulian Buine fortune
Galician ¡Boa sorte!
Georgian წარმატებებს გისურვებთ
(c’armatebebs gisurvebth) - frm

წარმატებებს გისურვებ
(c’armatebebs gisurveb) - inf
German Viel Glück! Alles Gute!
German (Hessian) Veel Glück!
Greek Καλή τύχη! (kalí tíhi!)
Hawaiian Maikaʻi Pomaikaʻi!
Hebrew (Behatslacha) בהצלחה
Hungarian Sok szerencsét kivánok!
Icelandic Gangi þér vel!
Indonesian Semoga Beruntung!
Inuktitut ᐊᔪᙱᒋᐊᕐᓗᑎᑦ (Ajunngigiarlutit)
Irish (Gaelic) Go n-éirí an t-ádh leat! Ádh mór ort!

Go n-éirí an bóthar leat!
Italian Buona fortuna! /
In bocca al lupo!
Japanese ご幸運を祈ります! (gokoūn o inorimasu)
Jèrriais Bouonne cache / dés crouaîsis (fingers crossed)
Kannada ಒಳ್ಳೆಯದಾಗಲಿ ಅಥವಾ ಶುಭವಾಗಲಿ

(olleyadāgali athavā shubhavāgali)
Kazakh Іске сәт (İske sät)
Korean 행운을 빌어요 (haeng un eul bil eo yo) frm

행운을 빈다 (haeng un eul bin da) inf
Latin Bona fortuna!
Latvian Laimīgs gadījums! Veiksmi!
Lithuanian Sėkmės!
Geros kloties!
Luxembourgish Vill Gléck!
Macedonian Со среќа! (So srekya!),
Среќно! (Srekno!)
Malay Selamat Maju Jaya! (go forward and victory)
Malayalam ഭാഗ്യമുണ്ടാകട്ടെ
(bhagyamundakatte)
Maltese Xewqat sbieħ / Awguri
Manx Aigh vie! Noorey vie ort/erriu! Oorey vie ort/erriu! Sonnys ort/erriu!
Māori Kia waimarie
Mongolian Амжилт хүсье (Amjilt husey)
Nepali शुभ कामना (subhakamana)
Norwegian Lykke til!
Occitan Bon astre!
Persian (mo'afagh bashed) موفق باشيد
Polish Powodzenia!
Portuguese Boa sorte!
Romanian Noroc!
Russian Удачи!
(Udači)
Samoan Ia manuia
Scots Guid Luck!
Scottish Gaelic Sealbh math dhuit/dhuibh!

Gur math a thèid leat/leibh!

Piseach! Piseach mhath ort/oirbh!

G'un robh math agad!
Serbian Срећно
(Srećno)
Sesotho Ke o lakaletsa mohlohonolo
Shona Uve nemhanza yakanaka (sg) Muve nemhanza yakanaka (pl)
Slovak Veľa šťastia!
Slovenian Srečno
Spanish ¡Buena suerte!
Swahili Kila la kheri!
Swedish Lycka till!
Tagalog Suwertehin ka sana / Magsumikap ka / Pagbutihin mo

Mapasa iyo nawa ang suwerte (old fashioned)
Tamil நல் வாழ்த்துக்கள் (nal vaazthukkal)
Telugu అంతా శుభం కలగాలి ! (aṅthaa shubhaṅ kalagaali!)

మీకు అంతా శుభం కలగాలని కొరుకుంటున్నాను !
(meeku aṅthaa shubhaṅ kalagaalani korukuṅtunnaanu!)
Tetum Sorti diak / Boasorte
Thai ขอให้โชคดี!
Tsez Бах бохъолI дебес!
(Bax boqoƛ debes!)
Turkish İyi şanslar!
Ukrainian Щасти вам/тобі! (Ščasty vam/tobi)

Нехай щастить! (Nechaj ščastytʼ)

На все добре! (Na vse dobre)
Urdu (allah ka fazal ho)
اللہ کا فضل ہو!
Uzbek Omad yor bo'lsin!
Venda Ndzi ku navelela mikateko
Vietnamese Chúc may mắn!
Visayan Maayong swerte!
Welsh Pob lwc!
Xhosa Amathamsanqa
Yiddish (Zol zayn mit mazl!) זאָל זײַן מיט מזל!
(Glik!) גליק!
Yorùbá Yoo dara o / Yoo bọ si o
Zulu Ngikufisela iwela!
SOS KICAP TAMIN: camane nak ucop ucap goodluck


Thursday, March 31, 2011

AMD Intel CPU Comparison Table

Below is the chart/table I use to compare the equivalent processor from Intel to AMD and vice versa.
Very useful :)

Wednesday, March 30, 2011

Intel to AMD Transition

As per my previous entry where I talked about by rig burnt because of lightning surge, but now I just gotten a new rig(with help of sponsor of course:D).

It took me a week to figure out what kind of component to choose because it must fits my requirement which is:
-Cheap
-Preferably with integrated stuff
-got PCIe and PCI(for graphic card and wireless pci)

and at the end, I end up bought
-AMD Phenom II X4 840
-Asus M4A88T M-LE click here to see more info about this motherboard
-4GB DDR3
-Cooler Master 550W PSU (for RM150) -> bought this from Lowyat.net forumer..very cheap..contact me if you want to buy one :D
since my HDD and graphic card is still functioning, so I just use it back..

At first, I'm thinking to build Intel i3 rig but because AMD rig can offer better performance(hopefully) for a lesser buck and I would like to try AMD(i've never have AMD rig before), so I straightaway chose AMD rig like above.

Picture below taken during assembly progress

                                                                                                                Motherboard box and the contents inside

full view of mobo

back panel of the mobo


AMD Phenom II X4 840 3.2GHz


everything is on its place and ready to fire up

My Verdict
-This is mini ATX motherboard..so, if I'm adding another RAM stick, I'll be hitting the wall already. Nothing much to upgrade with this mobo really
-I'm not fanboy ok. Since I've tried both AMD and Intel, this is what I came up with
   +Intel - Quite pricey, so many socket type, smoother
   +AMD - Cheap, socket is backward compatible, but not so smooth
-Many people says that AMD processor is running hotter that Intel bla3 but what I found is it's quite cooler than my previous processor(or perhaps it's not in the same league)

So, that is my entry for this time. The Asus serve me well till this time and most importantly it's bang for bucks.
But, if your have a bigger budget, consider choosing proper ATX motherboard for long term run.

Sunday, March 27, 2011

Blog from Android

Testing...

Open up Market application, search for 'Bloggeroid' and install.

Easy to setup:)

posted from Bloggeroid