Food N Drinks

Suapan Pertama Itu Mustahak
Pakar motivasi bebas Ustaz Sobri Abd. Rani menyarankan agar ibu bapa
menjadikan waktu makan sekeluarga sebagai waktu untuk membetulkan
kehidupan atau membina peribadi anak-anak. Kerana waktu makan adalah program
bersahaja yang besar impaknya dalam hidup.

Antara didikan yang boleh diterapkan kepada anak-anak pada waktu makan:

1. Tunggu orang yang paling tua

"Kalau ada ayah, suapan pertama hendaklah dimulakan oleh ayah. Kalau
tidak ada ayah, emak dulu. Rahsia di sebaliknya, bila dikekalkan begitu
selama tiga bulan, akan tumbuh di hati anak rasa hormat kepada yang
lebih tua walaupun di luar pandangan kita. Jadi kalau kita hendak tahu
macam mana anak kita di luar pandangan kita, tengok waktu makan."

2. Baca basmalah dan guna tangan kanan

"Anak kita tidak akan sanggup untuk memasukkan makanan ke mulut atau
memegang sesuatu yang bukan haknya. Yang biasa dia ambil masuk ke mulut
dengan nama Allah dan biasa memegang yang halal dengan tangan kanan.
Melalui amalan yang mudah ini, roh kita dimonitor oleh syariat. Amalan ini
tak perlu pada tenaga dan wang ringgit yang banyak tapi perlu pada
kesabaran dan istiqamah."

3. Ambil lauk terdekat dulu

"Bagi cubitan lauk yang pertama, ambil yang paling dekat. Kenapa?
Melatih sabar. Kali kedua jika hendak ambil yang jauh tak mengapa, itu
dikira usaha ikhtiar untuk dapat yang lebih baik. Ia mempengaruhi corak
kehidupan dan corak kita bekerja.

"Kalau ayah atau ibu hendak membina sifat penyayang, ambil lauk yang
pertama letak di pinggan anak. Memang anak akan rasa lain. Kalau dia tak
mahu lauk itu tak mengapa tapi kita memberi tu yang mustahak. Kalau
kita buat macam itu, dia juga akan jadi macam itu pada orang lain. Kita
sudah bina masyarakat penyayang di dalam rumah kita. Malah untuk latih
anak cinta pada saudaranya yang lain, itulah waktunya."

4. Kawal suapan

"Bila ambil makanan untuk suap ke mulut, jangan diangkat suapan
seterusnya selagi di dalam mulut itu belum ditelan. Sesudah ditelan, baru
angkat suapan seterusnya masuk ke mulut. Untuk apa? Melatih jangan tamak
dan bersifat qanaah ? mencukupi apa yang ada. Atau lebih tepat, melatih
syukur terhadap apa yang Allah kurniakan."

Ustaz Sobri berkata, "Perkara ini kalau dilatih betul-betul, ia akan
menumbuhkan sifat-sifat mulia di dalam diri. Sebab makan adalah perkara
yang kita benar-benar buat dengan hati, sebab itu ia mempengaruhi roh."

Ali

Apabila kamu merasa letih kerana berbuat kebajikan
Maka sesungguhnya keletihan itu akan hilang dan kebaikan yang dilakukan akan terus kekal.

Dan sekiranya kamu berseronok dengan dosa
Maka sesungguhnya keseronokkan itu akan hilang dan dosa itu akan terus kekal.

- Saidina Ali bin Abi Talib

of MSC and Silicon Valley

A corollary is that you have to keep out the biggest developer of all: the government. A government that asks "How can we build a silicon valley?" has probably ensured failure by the way they framed the question. You don't build a silicon valley; you let one grow.


MSC (Cyberjaya) sepatutnya menjadi 'Silicon Valley' Malaysia, tapi...
Berdasarkan pembacaan, dua faktor utama untuk mewujudkan 'Silicon Valley Malaysia' :
1. Nerds = sumber idea
2. Orang kaya2 = sumber kewangan

kesimpulan nyer, kte xperlukan bgnn canggih2, fiber lines etc, yg penting tenaga manusia.

bl da ada dua2 ni, sng da nk develop silicon valley sendri..
tp kne pstikan org2 ni x lari ke tempat ln, yg penting diorg terasa nk tggl ctu

faktor ln, universiti
silicon valley mesti menjadi tempat idea2 br kua
idea2 br kua dr research (biasa kat uni)

bl da ada sumer tu, we just wait and see

p/s: artikel original mmg melebihkan kat amerika (sbb die org US)
ada faktor2 yg berlainan utk msia, tp yg penting, tnaga mnusia tu ada
dan kne ada company yg sggp invest dalam research (mcm xde je..)

python web

After a really short conversation with a collegue, it struck me
'why use a full fledge server when u just need to expose the function to the web?'

hence,
CGIHttpServer
A 2000 method
CGI FAQ

or i could use apache + mod_python
mod_python
OnLAMP

so which one is it?

p/s: If only I could 'collect' enough motivation/inspiration to start coding something...

XP boot laju (skit :P)

1. Buang file2 dlm Windows/Prefetch
- menatang2 dlm ni, window load ms boot-up..
- lps delete, restart PC
- ni advanced sikit
-- g kat registry
-- cr HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
-- cr key EnablePrefetcher
-- value dlm tu mksd nyer prefetch :
0 - Disabled/Off : jd mkin slow
1 - Application Files only : xde faedah bt step 1 td
2 - Boot Files only : Haa!! Ni yg kte mau
3 - All : xyh bc post ni...

--edit key, bbh value 2..
-- reboot mcm biasa

2. Defrag Harddrive
- Windows | All Program | Accesories | System Tools | Disk Defragmenter

3. Network Drive
- sape yg bese pki je kne bt, kalo xtau ni ape mkne nyer xyh bc :lol:
- bkk my computer
- g menu Tools | Disconnect Network Drive
- mn2 drive yg da lapuk tu, elok la buang

4. Spyware/Adware/Malware/etc..
- pki 3rd party program je
-- Adaware
-- Spybot Search & Destroy
-- CCCleaner

sunrise sunset

given that the incoming fasting month, I suddenly have this urge to look for the Sun's position in the Sky, given a latlong coord

mathforum.org
physics.rutgers.edu

but I think the mathforum is good enough (1998 question...), even take into account the horizon distortion of the Sun's image, damn :lol:

of Math and LISP

I am a believer of math, simply because it's powerful, and it's universal (literally, by earth standard).

LISP came from math... OMG!! Really? and I didn't even have an inkling of idea

no wonder lisp's programmer always said this, "Lisp has that for years..." for about any problem in programming..

I'm LISP-ing right away :lol: starting with wikipedia

brilliance


Training yourself to think unthinkable thoughts has advantages beyond the thoughts themselves. It's like stretching. When you stretch before running, you put your body into positions much more extreme than any it will assume during the run. If you can think things so outside the box that they'd make people's hair stand on end, you'll have no trouble with the small trips outside the box that people call innovative.

this is just an excerpt of what u will read in the article (click the title :lol:)

this past few days, I have been intrigued by this man's idea/thought/notion/etc..
well, this man is actually the inventor of spam filters..

People really, really should read his articles, least say its mind-boggling...

heck, i'll continue reading...

Silverchair - The Greatest View

You're the analyst
The fungus in my milk
When you want no one
And you got someone
Through the wind
You crawl
And laugh at burning dunes
When no one else will
Ever see

Now that you know why you feel like you do
They're turning their head whilst they wait
For no one
And finally I know why you feel like letting go

I'm watching you watch
Over me and I've got
The greatest view from here
I'm watching you watch
Over me and I've got
The greatest view from here

Mistakes don't mean a thing
If you don't regret them
So pack your tactic toes for the winter
Chain a waterfall to burned and withered skin
No-one else will ever see

I'm watching you watch
Over me and I've got
The greatest view from here
I'm watching you watch
Over me and I've got
The greatest view from here

Now that you know why you feel like you do
They're turning their head whilst they wait
For no one
And finally I know why I feel like you're letting go

I'm watching you watch
Over me and I've got
The greatest view from here
I'm watching you watch
Over me and I've got
The greatest view from here X2
The greatest view

python web frameworks

django
jon's
webware
zope

well that's it for now, im off

ipsec on XP

30 biji komputer dengan windows XP setiap satu. memula tu cadangan aku menjadikan salah satu komputer dia tu sebagai internet gateway. memandangkan dia kata takmo, sebab dia dahpun pakai dsl router. aku guna cara kedua.

setiap komputer aku setting IP SECURITY POLICY. kira ala-ala ipfilter/ipchain dalam linux.
aku taknak terangkan lebih jelas, sebab ko boleh belajar sendiri berkenaan ipsec, camana nak buat policy. cukup la setakat aku cerita bahawa, aku sekat semua jenis port, cuma benarkan akses keluar ke lamanweb, dan beberapa port seperti YM, MSN, irc dan benda benda yang perlu sahaja. menggunakan netsh (dalam windows xp ada), ko boleh filter based on application, bukan setakat TCP sahaja. cara ni aku rasa memang intermediate, tapi berkesan dalam mengurangkan kadar "pengguna cybercafe surf lamanweb bebukan, menggunakan torrent dan sebagainya". policy ni kena load kat setiap komputer, boleh save dalam disket, dan load pada semua komputer. macam kes netsh, aku bukak semua telnet port pada setiap komputer, bila aku rasa aku nak modified, aku telnet je setiap komputer, aku bukak/tutup port yang perlu, itupun kalau ada permintaan dari pelanggan.


dpt skit rujukan:
google term : ipsec netsh block (result may varied)
slashdot
MS TechNet

of Google...

Lessons from Google (apparently from a book)

- Connections - human, computer, biology - are everything. Life = networks.
- Never compromise your ideals because someone said it’s impossible, stupid, or a waste of time.
- Do focus on changing the world, don’t focus on the money. If you provide value, the money will come.
- Have a healthy disregard for the impossible. If someone hasn’t done it yet, that doesn’t mean it’s impossible.
- Money is a problem, not a solution. Money cannot solve your problems, but your solutions can solve the money problem.
- Value creativity, not money. View creativity as your company’s true bottom-line, or your company will stop growing and die.
- Go against the grain. Don’t believe in other people’s visions for you, believe in your own.
- Speed is more important than looking good. A shiny, beautiful car isn’t impressive when it gets overtaken by an old jalopy; the same applies to software.
- Organic growth is best. Only grow as fast as you need to, don’t waste money on advertising a product you won’t want your mom to use.
- Focus on users above all else, e.g. don’t do something that might annoy your users just to make more money, they won’t forget.
- Never betray users’ trust, or anyone else’s.
- Spend 20% of your time on blue-sky ideas without worrying about how they will make a profit. If it might change the world for the better, it needs to be done, even if it can’t make money.
- Don’t make enemies of your competitors to stay driven. Be driven by your own values and mission.
- Beat your own path through the wilderness.

A Star

its not another reality show, just a pathfinding algorithm

more accurately, shortest-path algo
the top contender is:
1. dijkstra
2. a*

alas, a* wins because of the submitted proposal titled "pathfinding algorithm in a*" (and its too late to change the title/project)

in short :
dijkstra = closed network (limited path to the destination)
a* = open network (virtually infinite path to destination)

in case of a map/network, dijkstra is the most optimal

for an implementation (in python), refer to shahrin's blog on the right
and from aRainyDay

further development is commencing by non other than programmer extraordinaire shahrin...

my job (maybe & if i have the brain) is to make a web-app

using spyce, which seems fun enough (coz its like jsp, i hope...)

QuickLaunch

Stuff on my quickLaunch :
1. Blender
- 3D (alternative to 3DSMax Maya etc..)
- scripting in python
2. Calculator
3. Cobian Backup
- usually used to transfer large files
- occasional sync with Mobile HDD
4. Evernote
- copy paste the info on websites (keeps the url too :D)
- css not fully supported tho
5. Filezilla
- for the occasional FTPing
6. FreshDownload
- Freeware download accelerator (sort of)
7. Google Earth
- coz its kool
- i can see my house
8. Notepad++
- its portable (and my Crimson Editor breaks)
9. uTorrent
- damn fast
10. Python Console
11. Start Tomcat shortcut
12. Start Wamp shortcut
13. Rainmeter
- use the clock and system meter
14. VLC
- play anything u can think of :D
15. VNC Viewer
16. YM
17. Shortcut to system32 folder
- for my custom bat script (yes, i use it)

of boot-up and login

utk enable auto logon (2000/XP)
1. open regedit.exe
2. cr HLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
3. Add DefaultUserName and set to ur username
4. Add DefaultPassword and set it
5. Add DefaultDomainName and set to (pc_name | domain_to_logon)
6. Add AutoAdminLogon, set to 1 (true) or 0
* to bypass auto logon

Q : Ape gne nyer mnde ni?
A : pk sndri...
A : mcm aku, ada dua acc, development & server. so, kalo pc restat sendri pun xpe, nnt die auto stat service2 aku tuh
A : torrent sambung dload kalo tetibe pc restat :D

forum??

rupe nyer ITTutor nyer forumer lg otai dr Putera ....
should have thought hehehe..

coz otai kat Putera jd mcm newbie kat ITTutor.... fuuu...

anyway, best plak men forum ni, tp depends on ape tujuan nyer la
kalo takat2 nk borak2 kosg, tggi kan posting, sia2 je..

kalo ditengok2kn, otai programmer/developer kat msia ni byk, tp npe software development kat msia mcm hampeh je...

asik2 VB T_T

tp based on observation aku, tgk kat msia ni rmi sgt supporter M$ (.NET, Visual Studio) dr company smp la ke freelancer..

nape xrmi open-source (php, python, c/c++, java)

aku nk cte psl forum, da melalut smp software development plak da :D

chiow..

Putera

ITTutor

utk org2 yg putus cinta (aku rs la)

Muse - Unintended

You could be my unintended
Choice to live my life extended
You could be the one Ill always love
You could be the one who listens to my deepest inquisitions
You could be the one Ill always love

Ill be there as soon as I can
But Im busy mending broken pieces of the life I had before

First there was the one who challenged
All my dreams and all my balance
She could never be as good as you

You could be my unintended
Choice to live my life extended
You should be the one Ill always love

Ill be there as soon as I can
But Im busy mending broken pieces of the life I had before

Ill be there as soon as I can
But Im busy mending broken pieces of the life I had before

Before you....

Intel Pentium

xtau la baper rmi yg tau psl ni, tp ni nk cte skit..
pentium ni processor (xde mnde alah ni, pc tu xgune)
company yg buat pentium = Intel
processor yg tgh dlm development, codename Yonah & Merom
develop kat israel (mkne nyer menyumbang kepada ekonomi israel)
so, kalo kte btul2 nk boikot israel, PC bia la AMD/VIA
agak2 bleh x buat?

p/s: nsb bek pc umah aku AMD...

kucing jantan

tomcat = servlet container...
sng cte, server laa, bleh serve static content n dynamic content (jsp+servlet)

wiki = a document collaboration software
contoh best, wikipedia (mcm2 ada...)

br2 ni men ngn wiki je da, since its tomcat, so kne la java :lol:
JSPWiki mula2 tgk plain dan buruk, tp function ok la
da godek2 lg, rupe2 nyer ada template, lw lak tuh


skang the next step, upload file besar2 (>10MB) ke server
kalo pki browser, da tntu la hang...
so kne tambah manual la (copy msuk tomcat directory trus)
its doable, and nmpk mcm sng je

tp developer die mmg best aa, simple je design software (jsp semata, usha2 mcm xde servlet)
mcm pki KISS je :lol:

extension2 yg menarik
1. Applet
2. Calendar
3. Attachment
4. Forms
5. Forum

Muse - Thought of a Dying Atheist

Eerie whispers
trapped beneath my pillow
won't let me sleep
your memories

I know you're in this room
I'm sure I heard you sigh
floating in-between
where our worlds collide

It scares the hell out of me
and the end is all I can see
and it scares the hell out of me
and the end is all I can see
yea yea yeaaaaa yea yea
yea yea yea
yea yea o aaa oaaaaaaa!!

I know the moment's near
and there's nothing we can do
look through a faithless eye
are you afraid to die?

It scares the hell out of me
and the end is all I can see
and it scares the hell out of me
and the end is all I can see
yea yea yeaaaaa yea yea
yea yea yea
yea yea o aaa oaaaaaaa!!

kelemahan distributed computing

Assumption usually made when designing distributed system:
1. The network is reliable
2. Latency is zero
3. Bandwidth is infinite
4. The network is secure
5. Topology doesn't change
6. There is one administrator
7. Transport cost is zero
8. The network is homogeneous

suggestion:
1. server heartbeat
2. delay skit2 xpe kot
3. crunch data (xml is out)
4. apply basic security (default tutup sumer port :lol:)
5. jgn design system yg rely kat IP address (at least jgn hard-coded)
6. design UI utk manage server farm
7. maintain sendri je network/LAN
8. tetapkan satu standard utk transport data

so, cmne oracle bt utk 10g die?? (btw, g = grid = distributed)

jenis2 air botol


Artesian water
- Artesian well

Mineral water
- 0.025% naturally dissolved solids (mineral)
- usual = 0.005 %

Naturally sparkling water
- has natural carbonation (carbonated)

Purified water
- water stripped of minerals
- if tap water then remove chlorine

Spring water
- usual well
- natural / digged

Well water

aku bleh predict masa depan

senang je nk tgk masa depan, tgk bdk2 zaman skang ni, kn byk contoh2 baik
kat blkg2 bgnn, bleh jmp doctor
businessman plak, yg nek moto amik beg duit org tu (pnd cr duit pe..)
pemimpin negara ms depan lak, tgk ank2 mnteri da ckup, kalo mk bpk x naikkan ank sndri, sape lg kn?
kalo nk tgk rakyat jelata plak, g bukit bintang (org mlayu pggl Star Hill) ari sbtu ahd, tu la tenaga pekerja ms depan..

Idola ms depan plak artis lg kot (sm mcm skang, tp nnt da tahap Hollywood la) kn bleh jd famous, byk duit, idup senang..
kan elok jd artis, bleh g kelab mlm, enjoy, dapat kawin datuk2, fuuh..

haa, minuman ms depan da tntu la arak (murh skit, sbb kte ada kilang arak sndri pe)

anak dara? ms depan da xde, kwin umur 13 14 tahun (mcm US idola kte tu), nikah xyh da kot

pendidikan? tgk jepun, ckgu xleh usik pon ank murid, kte pon cmtu la nnt
skang ni pon da mula ke arah tu, rotan skit mk bpk dtg bw mercedes, mrh ckgu besar

alaa, senang citer, tgk je negara2 maju tu (US, eropah, jepun), cmtu la kte nnt

OK, goodluck

happy 49th birthday Malaysia (kne tiup lilin sumer, kne ikut cara omputeh)