Wednesday, August 30

THE DIALOGUE: EAST MEETS WEST

-----Original Message-----
From: Mr.East
Sent: Wednesday, August 30, 2006 8:07 AM
To: x; y; z; abc
Subject: Mr.West's response to the bug i reported.

mr.east (7:16:53 AM): hi good morning.
// GOOD MOOD PA
mr.west (7:41:59 AM): heya
mr.west (7:42:06 AM): sorry was elsewhere
mr.west (7:42:10 AM): whats up
mr.east (7:42:53 AM): its ok. regarding your reply to my email to
you. its at cust serv2 -> add call report -> then have a refund resolution.
mr.east (7:43:06 AM): but as of there i think a problem with the
database.
// OH UH
mr.east (7:43:53 AM): if you have question or i can clarify it
better just tell me. :-)
mr.west (7:44:28 AM): it's interesting that you are having that
issue because nowhere else is the script giving that issue.
mr.west (7:44:35 AM): I'll look into it right now though
mr.west (7:44:53 AM): do you know what function is doing that are
what view?
mr.east (7:45:21 AM): yes please do. what i have notice is on the
db class. every time a new DB instance is declared you do preprocess
which manipulate $_GET and $_POST
// DEMONSTRATES HOW SURE OF HE IS OF HIS CODES
mr.west (7:45:42 AM): precisely and the DB instance is the first
thing that is created
mr.west (7:45:58 AM): can you tell me the function and the class in
which this is occuring?
// LET ME SEE WHAT YOU’RE TALKING ABOUT
mr.west (7:46:05 AM): need that function and class
mr.east (7:47:03 AM): CUST_SERV2_EDIT_REFUND_REQST.php
mr.west (7:47:16 AM): and which function?
// NO! I INSIST!
mr.east (7:47:40 AM): wait can i walk you thru. lets start again.
mr.east (7:47:44 AM): open index.php
// AND SO DO I! (TROUBLE BREWING)
mr.west (7:47:57 AM): I just want to know which function created
that data
mr.west (7:48:04 AM): that will tell me where the issue is
mr.east (7:48:11 AM): notice line 29
mr.east (7:48:25 AM): ahhh ok the insert?
// ONE LINER COMMENT IS A SURE SIGN OF IRRITATION
mr.west (7:48:36 AM): yes
mr.east (7:48:39 AM): ok wait.
// OOOH I HAVE TO REPEAT MYSELF, SOMEONE CAN’T UNDERSTAND ENGLISH
mr.west (7:48:47 AM): just the function and the class
mr.west (7:49:40 AM): there is no insert in that class
mr.west (7:49:54 AM): where is the insert occurring??
mr.west (7:51:19 AM): oh wait nevermind... my search was caps sensitive
mr.east (7:51:22 AM): insert:
CUST_SERV2_EDIT_CALLREPORT::saveRefundRequest
mr.east (7:51:57 AM): update
CUST_SERV2_EDIT_REFUND_REQST::updateRefundRequest
// MUST BLAME SOMEONE!
mr.west (7:52:24 AM): is anyone adding slashes prior to that
// MUST DEFEND!
mr.east (7:53:11 AM): i believe we have already removed per our
code review the other week.
mr.west (7:53:51 AM): Oh wait
mr.west (7:53:54 AM): I know
mr.west (7:54:13 AM): to preserve those, it has to save them like that
mr.west (7:54:23 AM): the double strip slashes is one method.
mr.west (7:54:45 AM): you can also use ereg_replace and replace the
numerous slashes with single ones
mr.west (7:55:13 AM): thats just the way that carriage returns and
line breaks are handled by the function
mr.west (7:55:29 AM): it's an issue with the PHP function
mr.west (7:55:34 AM): nothing I can do about that
// BUT NO! MUST INSIST MY POINT… INTELLECTUAL MUSINGS
mr.east (7:55:55 AM): yes true. but teh number of time preprocess
is called, is the number of time Db class is instanciated [TURN THE SPELLING CHECKER ON].
// (INSULTED) MUST DEFEND
mr.west (7:56:05 AM): untrue
mr.west (7:56:21 AM): preprocess is a function in the instance
// (FEELING VICTORIOUS) MUST INSIST, MUST BRING HIM DOWN!
mr.east (7:56:24 AM): treu lets me show you. open index.php
// (INSULTED) MUST DEFEND
mr.west (7:56:37 AM): the function may be called multiple times in
the instance but that doesmn't create new instances
// (FEELING VICTORIOUS) MUST INSIST, MUST BRING HIM DOWN!
mr.east (7:56:41 AM): but it manipulate global $_POST and $_GET
// (WOUNDED AND BITTER AND ANNOYED) REMEMBER : ONE LINER COMMENT IS A SURE SIGN OF IRRITATION
mr.west (7:56:52 AM): so?
mr.west (7:57:04 AM): take my word for this
mr.west (7:57:09 AM): no new instances are created
// (FEELING VICTORIOUS) MUST INSIST, MUST BRING HIM DOWN!
mr.east (7:57:14 AM): it allways add slashes to $POST and $_GET [WHEN DID THE LEXICOGRAPHERS/LINGUIST MADE ALWAYS WITH A DOUBLE ‘L’]
everytime DB is instaciated
// (INSULTED) MUST DEFEND, MUST MAKE SENSE
mr.west (7:57:23 AM): if that were the case, the framework would
take forever to load
// (INSULTED) MUST DEFEND, MUST INSULT HIM BACK, LIKE HE DIDN’T KNOW THE DIFF BET INSTANCE AND FUNCTION
mr.west (7:57:47 AM): John, you need to understand the difference
between an instance and a function
// (INSULTED) MUST PRETEND HE KNOWS THE DIFF BET INSTANCE AND FUNCTION
mr.east (7:57:57 AM): i know.
// (INSULTED) I’M THE MORE INTELLIGENT BEING HERE
mr.west (7:58:01 AM): I can call a function from within an instance
a MILLION times
mr.west (7:58:07 AM): t doesn't create new instances
mr.west (7:58:17 AM): only one instance still exists
// (INSULTED) MUST INSIST, MUST BRING HIM DOWN!
mr.east (7:58:17 AM): wait let me walk you thru wo how i came up
to that conclusion.
// (INSULTED) MUST DEFEND, MUST MAKE SENSE
mr.west (7:58:31 AM): no because it's not true
// (INSULTED) I GIVE UP. (LOSER?)
mr.east (7:58:39 AM): ok then.
// (INSULTED) I’M THE MORE INTELLIGENT BEING HERE
mr.west (7:58:43 AM): its a basic premise of object oriented
Programming
// (INSULTED) I’M THE MORE INTELLIGENT BEING HERE
mr.west (7:58:48 AM): talk to your team
// (INSULTED) (LOSER?)
mr.east (7:58:53 AM): i aready did.
mr.west (7:58:53 AM): they will explain this to you
mr.west (7:59:01 AM): then take my word for it
mr.west (7:59:06 AM): I've benchmarked this
// (INSULTED) MUST INSIST, MUST BRING HIM DOWN!
mr.east (7:59:21 AM): have you tried the test script i made?
mr.west (7:59:31 AM): yes
// (INSULTED) I’M THE MORE INTELLIGENT BEING HERE
mr.west (7:59:45 AM): no new instances are created
// (INSULTED) MUST INSIST x 10 TO HIGHEST LEVEL, MUST BRING HIM DOWN!
mr.east (7:59:50 AM): at teh bttom it will show you the global
POST values before and after ever DB instance is created
mr.east (7:59:58 AM): * at the Bottom
// (INSULTED) I’M THE MORE INTELLIGENT BEING HERE; SUPER ANNOYED BEYOND RECOGNITION
// NO IS EN-OW.. NO NO NO NO NO .. STOP SAYING THAT… NO

mr.west (8:00:01 AM): stop saying that!!!
mr.west (8:00:05 AM): there is one instance
mr.west (8:00:07 AM): period
mr.west (8:00:09 AM): end of story
mr.west (8:00:11 AM): one instance
mr.west (8:00:16 AM): you instantiated it one time
// (INSULTED) MUST ANNOY HIM SOME MORE… MUST BRING MY DIGNITY BACK
mr.east (8:00:22 AM): 3 times.
// (INSULTED) I’LL BULLY YOU ‘TIL THE LAST DROP OF MY ENERGY
mr.west (8:00:23 AM): and you use that instance over and over
mr.west (8:00:34 AM): you created 3 instances???
mr.west (8:00:36 AM): why?
// (INSULTED, AND FEELING SUPERLOSER THAT HE IS). MUST PUT AN END TO THIS.. WHAT’S MY NAME? WHERE AM I? DIGNITY? WHAT IS THAT WORD?
mr.east (8:00:44 AM): aynway ok. i'll talk it over again with my
team and boss.
mr.west (8:00:47 AM): you only need one per server
mr.east (8:00:56 AM): i instaciated it 3 times just to show my point
// TALK TO THE HANDS.. COZ SOMETIMES, THEY REALLY ARE FUNNY LIKE OUT OF MY LEAGUE FUNNY.
// ANYWAY I’M HAVING A GOODNIGHT SLEEP…. LULLABYE MR.WEST ON THE TREE TOP… NUNINUNINU

mr.west signed off at 8:00:57 AM.


-=MORAL OF THE STORY =-
THERE’S ALWAYS A BETTER WAY OF GETTING YOUR POINT ACROSS THIS MULTIDIMENSIONAL PLANE CALLED EARTH.
THE MOMENT YOU INSIST THAT YOU ARE SUPERIOR OVER THE OTHERS, BE PREPARED OF THE RETALIATION
YOU’LL GET. LET’S GIVE PEACE A CHANCE. THE WORLD IS NOT ABOUT THE PROGRAMS WE CREATE. THERE ARE OTHER
THINGS IN LIFE OTHER THAN ALGORITHMS AND THE ABSTRACT. LOOK AROUND YOU AND SMELL THE ROSES.
LOL
- halimaw_sa_banga

PATIENCE is a virtue

so far far away...
i missed you in every way.
i missed the 'regional accent',
im longing for your scent

so far far away...
never worry coz im here to stay.
even if we are miles away,
my love for you will never stray

so far far away...
you assured me, the same way
i assured you, and we pray that
heaven sustains our patience

so far far away...
you've mentioned our amusing situation
that with all these perigrination
we have but one destination...

so far far away...
and we just continue living everyday
hoping to hear, to see, and to touch
waking each day, waiting, and waiting

Tuesday, August 22

NGITI naman DIYAN

tuwing naiisip kita at naalala
o sumasagi sa aking diwa ang yung mukha
ako'y nangigiti, hindi ngiting pang sira ulo
hindi rin naman ngiting aso

ngiti na --- alam mong may saya
tila ba mona lisa, ngunit anong lihim
kaya sa ibinubungingis ang
tayo lang dalawa ang nakatatalima?

tunog ng WALIS TINGTING sa tuyong DAHON

sementadong bakuran, mataas na pader
makitid na palikuran sa labas ng bahay
tuyong dahong nagkalat sa paligid
tinipon ang tuyong dahon, winalis ng nakapalumpon

mabilis na takbo ng oras, ng buhay
hindi na maistorbo upang mapakinggan
ang tunog ng tingting sa tuyong dahon
ang huni ng ibon, ang kaluskos ng pusa

bakit nga ba abala, para saan, kanino, hanggang kailan
kaibigan ikaw ay huminto, paligid ay masdan
mga tunog ay pakinggan, amuyin ang kapaligaran
buhay ay maikli, mahalin, at pangalagaan.

Friday, August 4

gitara't kundiman

gusto kitang tugtugan ng gitara
ngunit kamay ko sa kwerdas ay palya
gusto kitang awitan ng kundiman
ngunit ang boses ko'y di kainaman

maghahabi na lang ako ng salita
bibigkasin ng makata
sapagkat ang mga nagawang talata
ay puno ng pag-ibig at panata

GoodnitesweetDreams

sapat ng isipin ka
kakaibang ligayang dala
malayo mat di nagkikita
damdamiy tapat sa pagsinta

nawa'y mahimbing kang natutulog
nananaginip sa pag-irog
akoy tutulog na rin
panibagong bukas nama'y susuungin

Wednesday, August 2

lipad isip.. hindi malirip

lumilipad na isip
mapagpanggap na titig
nagtratrabaho kunwari
ala-alang kumikiliti

sayaw sa saliw ng awit
ng paligid na marikit
gunita mong lumulunod
sa'king bawat saglit

=====================

sa kasagsagan ng ulan
ala-ala mo'y dumaan
mata'y nagliwanag
ngiti ang bumungad

adik na ngang masasabi
oras-oras kung humabi
ng masasayang ala-ala
nagbibigay sakin ng sigla