Friday, April 27, 2007

i never thought the opportunistic world of commercial capitalism can be so inspiring at times

these commercials from well-known brand names are just so sophisticated and inspired. they have truly mastered the art of sugar-coating products.

here's the "it's for you" commercial from coke... gotta love it!


and if that ain't enough, i found the asian version...


the next ones are from GE and their ecomagination commercials:


i love the innocence in this one...


i don't really like this commercial but i just couldn't resist saying this: man! i never knew coal could be this hot!!

...:::more

Monday, April 23, 2007

and I'm gonna miss you like a child misses their blanket...

ugh, i'm absolutely crazy over this song!!!

Fergie - Big Girls Don't Cry Lyrics

Da Da Da Da
The smell of your skin lingers on me now
Your probably on your flight back to your home town
I need some shelter of my own protection baby
To be with myself instead of calamity
Peace, Serenity

[CHORUS]
I hope you know, I hope you know
That this has nothing to do with you
It's personal, Myself and I
We've got some straightenin' out to do
And I'm gonna miss you like a child misses their blanket
But Ive got to get a move on with my life
Its time to be a big girl now
And big girls don't cry
Don't cry
Don't cry
Don't cry

The path that I'm walking
I must go alone
I must take the baby steps until I'm full grown
Fairytales don't always have a happy ending, do they
And I foresee the dark ahead if I stay

[CHORUS]
I hope you know, I hope you know
That this has nothing to with you
It's personal, Myself and I
We've got some straightenin' out to do
And I'm gonna miss you like a child misses their blanket
But I've got to get a move on with my life
Its time to be a big girl now
And big girls don't cry

Like the little school mate in the school yard
We'll play jacks and uno cards
Ill be your best friend and you'll be mine
Valentine
Yes you can hold my hand if u want to
Cause I want to hold yours too

We'll be playmates and lovers and share our secret worlds
But its time for me to go home
Its getting late, dark outside
I need to be with myself instead of calamity
Peace, Serenity

[CHORUS]
I hope you know, I hope you know
That this has nothing to do with you
It's personal, Myself and I
We've got some straightenin' out to do
And I'm gonna miss you like a child misses their blanket
But I've got to get a move on with my life
Its time to be a big girl now
And big girls don't cry
Don't cry
Don't cry
Don't cry

La Da Da Da Da Da

anyway, when i typed in the song at google to search for lyrics, i was surprised to find a site in the results page. its rogepost.com. i haven't heard of them before, so i clicked it. i was more surprised to find that it was a file hosting website! and woot, that's where i got my mp3! and very clean page if i might add as well. so now, search for mp3s in google by simply putting in rogepost as a search keyword, or do the domain searching thing of google, though i personally don't use it. if you don't want to use google, use this site:
http://www.emp3world.com/
you're going to get the mp3s you want... but you'll also get popups and a lot of ads.

...:::more

Sunday, April 22, 2007

big boys don't cry...

ohhh, these past few days, i just had a taste of what my life was like before i moved here: going to sleep properly worn out after long, fulfilling days.

one could argue that before i moved here, i claimed to be looking forward to living a quiet, home-office-home life. whilst its true that that indeed was what i was looking forward to. and as you may have expected, i am going to say it: be careful what you wish for, you might actually get it.

anyway, i plan to go back to my boring days soon. lol.

a couple of posts back, i said i liked fergie. especially the new single, Big Girls Don't Cry, she performed in american idol. it got me into thinking that she actually looks like a friend of mine... hi faye! amishu! please don't kill me...


anyway, here's an amazingly cool fan video of the single... somehow, i can't seem to remember sims 2 being that graphic...

...:::more

Friday, April 20, 2007

a digicam in the middle of vegas

last weekend, we went to vegas. it was an impromptu trip, meaning we all woke up that saturday morning without any thought of spending that night in the strip.

it started out like any saturday in our house. that menas i get up, brew a pot of coffee, drive out and get a baker's dozen of einstein bro's bagels[they have the best bagels and spreads!]. only difference is today, i dropped my bro off at the local budget rental car service cause he was going to rent out a truck[aka pickup in the phils] for the day cause he planned to buy bags of cements for some backyard work he was planning to do.

when he pulled up the driveway with a ford f-150 double cab, with only a little under 3k miles on it, we were all oggling. honestly, it was an absolute be-a-u-t! then ideas started flying. at first it was just to drive up to sedona, until finally the destination became las vegas. woohoo, i love road trips! i love driving!

but before we went on our way, i first went to the local best buy and bought a digicam for my sis. i figured vegas would probably be the best place to test it out. i was looking for something inexpensive, but with decent quality, so i settled on the $150 class of digicams. there was a sony cybershot, a kodak, nikon, olympus, canon and an hp. with those heavyweights, you'd think that i'd get one of them. nope, i got a panasonic lumix, also in the same class as the others. specifically, its the Panasonic DMC-LS70.

it was a tough choice, all of them had pretty much the same specs. all of them were in the 6-7MP range. what won me over was it had the highest ISO setting at ISO 1250 and it had the most decent picture quality when i tried shooting while moving sideways. ISO is basically the light sensitivity of the camera. the higher it is, the more light sensitive the camera is. the more sensitive it is, the lesser number of times the flash will go off and therefore be able to capture more real ambient lighting.

to be honest, i wasn't expecting much from it. but after the vegas trip, i was all WOW! amazing digicam! the blurs while taking photos from a moving car are forgivable. and night shots are decent, and in vegas, that's saying a lot! vegas poses a difficult challenge for digicams in that its got a lot of lights. its like trying to take a picture of fireworks. if you leave the flash on, the fireworks will be really small. without the flash, everything is a blur. same with vegas, with the flash, all you can see are tiny lights. without it, you're going to have a mess of lights. but this camera performed well for a digicam. with the flash on, the lights just seemed a little darker. without the flash, there was a little blurring, but nothing a steady hand could fix.

oh, did i mention that i didn't change batteries the entire trip? i did snap 227 pictures, 3/4 of them were 7MP and the other quarter in 3MP. amazing battery life.

overall, i'd give this digicam a perfect 5. that's how good it is.

so, for some pictures from the digicam and the continuation of my story on our vegas trip, head on over to my multiply site[ugh! nooooo!]. i'm sorry, i didn't want to put it there but its just a lot easier to upload pics there, not to mention a lot safer from magically disappearing...
Click here to go to my multiply site!

...:::more

Thursday, April 19, 2007

decrypting processors

my box[computer] is a fairly decent one. decent for simple stuff anyway. i don't play high-end, uber-gobbler-graphics-cruncher type of games[read: fps] anyway. so i don't really need a blazing fast machine, for now at least. but i still poke around, keeping an eye out for an outstanding deal.

i'm currently running on a 5 year old amd athlon processor. its frankenstein. it underwent surgery countless time already. hard drives being swapped in and out, incremental upgrades of the video card, and a lot of mixing and mismatching peripheral cards. so yeah, i'm craving for a new box i guess. but i vowed not to go with an amd core, i'd like to taste the power[and silence] of intel cores once again.

now when you check out intel's processors and their descriptions, it can be quite overwhelming. there's just a lot of them. so, here's your guide to solve intel's puzzle, arranged from poorest to best performer. but first, a little processor history...

in the realm of computers, there's this law which says processor power will double every two years(yes, two years and not 18 months. that's from the horse's mouth himself). i am talking about Moore's Law of course. if that is so, then why oh why don't we still have pentium 5?! why are the "fastest" processors still running at somewhere around 3GHz?!

to answer that question, well they did try making processors run faster. however, there's this fundamental roadblock which prevented them from succeeding feasibly. to make a processor run faster, you have to put in more electricity. the more electricity, the more heat the processor generates. and therein lay the problem. a "faster" processor didn't become feasible because they became too hot and melted. so could they still be law-abiding processor manufacturers?

well, they figured that perhaps a "faster" processor is not the key. and so intel adopted the 40/40 mantra. that meant 40% more [processor]power for 40% less [electrical]power. you see, moore's law stated doubling of processor power, not processor speed, and processor power is determined by millions of instructions per second[MIPS] a chip can execute. so they did this by improving the architecture, and optimizing the instruction set. but of course, the major revision is that it uses the 65nm manufacturing process, whereas pentium 4[except the cedar mill and pentium d 900 series] uses 90nm.

this breakthroughs lead to the itanium class processors, or more commonly known as the "core" processors, the grandchild of the centrino. well, they did get the idea from centrino so it could be said that centrino was the very first core processor. actually, it is the first core processor. they were released sometime in 2003, with itanium 2[read: core 2] sometime late 2005. that means the next iteration is right about due by the end of the year. indeed, intel says that its next generation chips are on schedule for release by the end of the year, codenamed "penryn". so anyway, here goes...

note: a 'd' at the end means duo or dual-core. by default, 'core' comes as core duo, its hard to find a core solo because they're usually labelled as centrino[centrino and core is almost the same]. and its always core 2 duo, its almost impossible to find a core 2 solo.
pentium 4: try to stay away from this one. really. by the end of the year, its going to be four generations old.

celeron d: a celeron is a celeron, even if its dual-core.

pentium d: provides decent performance for the buck. however, it is still plagued by memory leaks[windows related of course] when multi-tasking heavily.

core: if you're thinking about buying core duo, you might as well as buy a pentium d and slap in more memory with the extra money. they don't offer that much additional oomph than the pentium d. but, you should go core duo over the pentium d if you're buying a laptop. that should stretch your battery life.

core 2: the entry-level core 2 duo e4300 will outstrip pentium d 3.2GHz in every possible way. mind you, each core of the e4300 runs at just 1.66GHz. that is how much more efficient it is. in fact, core 2 duo is oftenr referred to as the real dual core processor. also, intel migrated from its naming traditional convention of basing from the processor speed. the name is now based off the power consumption at peak usage, much like what amd has been using all-along. so if you have the money, go with core 2 duo for a lag-less computing experience.

and lastly of course, make sure that the rest of your computer can keep up to the speed of your processor.

so the next time you're out in the market for a computer, remember that by the end of the year, intel will release their next-generation chips[which, by the way, will be manufactured using the 45nm process] which means slashed prices on core 2 duos and a better deal on black friday. ;-)

...:::more

Wednesday, April 18, 2007

rambling collage

i'm sorry my title for this post is lacking in the "creative" department today. a lot of things i want to talk about, and i hope i'll get to type in all of them in their own paragraphs.

if you haven't noticed, the images here are down. my only guess is i exceeded bloggers daily[or monthly] bandwidth limit. i guess it is a good idea to use a 3rd party image hoster like photobucket. so i apologize for the inconvenience[or convenience for those on dial-up]. this gives me more reason to...

...really pursue developing my own blogging engine. or maybe just an article management system. i don't want to use wordpress. i like reinventing the wheel, so leave me be. well, i want to invent the flying wheel. and that's my hope for the system's i want to work on. i will be coding it from scratch, and i'm going to be using old faithful, php. cause quite frankly, its still way better than...

...asp. i'm trying to learn asp.net in the office today. a simple script which i could do in a couple of hours tops in php. i need to create the admin tool for a flash-based photo gallery which uses an xml file for its data store. i originally planned a php/mysql backend with the xml file being generated on-the-fly, but i found out the server its going to be deployed on is a windows box without php/mysql. so now, i'm just trying to code in asp.net and use its built-in xml parsers. the lack of good tutorials in the web is the biggest obstacle for me. seriously, there's not much room for "your own thing" in asp.net. i think the best metaphor for the two programming languages would be: php is like math, asp.net is like language[or english]. with php, you could arrive at an answer using basic concepts like the MDAS in math and complex methods revolve around those basics. whereas in asp.net, to be able to arrive at an answer, you have to use different things. the most glaring of all is these things are very much alike, very similar to the concept of synonyms in language. you'd think that would be easier? nah, each synonym could only be used in a particular situation in a particular way. its up to you to find out which would fit snugly in your code. good riddance. there's no way i'm going to use asp.net in my...

...site. last week, i signed up for a hosting account with hostmonster. why? cause a web developer without a personal website is like a swimming pool contractor without a swimming pool. oh wait, we do not have a swimming pool back home. i have yet to put anything in it, so until then, the website will be a secret. what you can be sure of is that this blog will move to its new home soon and be full of pcitures of...

...sanjaya getting the boot in american idol. i actually liked the guy during the early days, but i must admit that after awhile, it does get tiring to listen to him. he should work on his voice, at least spend more time vocalizing than combing his hair. i just have to say kudos to fergie for a brilliant performance in today's american idol. you've won me over girl, ++fan. now if only they played you...

...on the radio station i listen to nightly. who do i listen to? delilah of course! "hi good evening, welcome to the delilah show, what can i do for you sweetie?" there's just something nice about her show which is soothing after a long day, but not too soothing to make you fall asleep. indeed, she was our companion when we entered phoenix after an impromptu overnight trip from...

...sin city last weekend. man, i love that place. las vegas is a city where there's no limit on dreams. nowadays, people don't really go there to gamble anymore. i mean that's no longer the only thing people do there. others, like me, go there for the attractions. my most favorite is Bellagio's dancing fountains. i love them. well, i think the las vegas trip deserves another post, when i have power over my...

...images back again.

...:::more

Tuesday, April 17, 2007

300 did me a month ago

...and it wasn't painful at all. in fact, i actually enjoyed it.

i am, of course, talking about the movie. and though i'm posting it just now, i still feel like posting it cause believe i have to do it justice and give it a brimming review.

hands down, i loved the cinematography. absolutely amazing visuals, although there was a little bit too much dudity for comfort. in the first hour its ok, but after a while, i did feel a little insecure. i don't know, after being showed frame after frame of, dare i say it, utterly sexy and sculpted men, it made me feel like those gazillion-packs are the norm and that made me feel uncomfortable. really. sorry, i still couldn't get over that. way too creepy. now i understand what girls lacking in bumpers feel when they see girls with built-in life vests. sorry, no offense meant. move on, shall we?

the down side of the movie was that it felt like they dragged a short amount of time to fill up a couple of hours. in reality, they could've included some more events before or after the event to make it feel a little less lacking[ohhh, that girl's line from the quiznos sub commercial just echoed in mind, argh, move on with the dudity!].

thing is, before i got to watch the movie, i caught national geographic's documentary on the 300. i thought the documentary was amazing, with the story of the 300 even more amazing. if you want to look up the story of the 300, go look up google, or better yet, look for the torrent of documentary. and based on the documentary, hollywood lived up to its reputation of seriously mangling history. damn. that's probably the other qualm i have for the movie, aside from it feeling a little lacking[ugh, quiznos girl again. damn, she looks like a filipina.] that is.

but overall, i'd give it a 4 out of 5.

ps. and for those of you who's not yet acquainted with the quiznos girl, here's the edited commercial to emphasize her part... enjoy!

...:::more

Monday, April 16, 2007

news that make the news

i was going to update my blog with news of what happened over the past weeks. that's what i was going to do. that's a was now.

and this morning, thirty-three souls crossed over to the other side and became a was...

officers, running.
screams rip the air.
guns drawn, the officers keep coming.

though the wind is cold,
and with each falling speck of snow,
bullets keep flying by.

and all i can hear are sobbing,
of people in the halls and rooms,
...and of my own.
now when did i start sobbing?
- 'faceless virginiatech student'

i'll update my blog tomorrow.

in remembrance.

...:::more

Friday, April 06, 2007

don't you just hate it...

when you know you're doing something wrong but you keep doing it anyway cause you just don't have the willingness to take a risk and the associated sacrifice to turn away from it...

anyway, last night, holy thursday, we brought over to here a very filipino tradition... bisita iglesia, or quite literally, church visitations.

i don't know how exactly this came about, my only guess is its some sort of a small pilgrimage... or maybe just to support the kropek vendors outside churches back home.

anyway, its not an event here, only a handful of people are in the churches for the exposition, and out of that, i'm guessing only a handful of them were practicing what we ourselves were doing.

here's the map, and the list of churches is:
-> St. Joan of Arc, our parish
-> St. Joseph
-> Most Holy Trinity
-> St. Francis of Assisi, though it was closed
-> Our Lady of Perpetual Help, clased as well
-> St. Maria Goretti
-> Blessed Sacrament


let me also take a moment to endorse maps by yahoo. though yes, google maps is the de facto pioneer with a lot of user-contributed input through google earth and 3d-buildings(through google sketchup in google earth), and yes, msn live maps has that cool brid's eye view, none of them have the one feature in yahoo maps that i find dead useful(maybe they have them as well... buried in a deep navigation tree). that is, stackable destinations, useful for plotting out multiple destinations in one trip, from point a to point b, to point c... to poink.

here's a link to the map i used, don't know if the link will work for you or for how long it will work(i have yet to get down and dirty with yahoo maps' api).

> http://maps.yahoo.com/;_ylc=X3oDMTExNmIycG51BF9TAzI3MTYxNDkEc2VjA2ZwLWJ1dHRvbgRzbGsDbGluaw--#mvt=m&q7=11300%20North%2064th%20Street%20Scottsdale,%20AZ%2085254&gid6=20033674&q6=6261%20North%20Granite%20Reef%20Road%20Scottsdale,%20Arizona%2085250&gid5=20029609&q5=7655%20East%20Main%20Street%20Scottsdale,%20AZ%2085251&q4=4715%20North%20Central%20Avenue%20Phoenix,%20AZ%2085012-1796&q3=8620%20North%207th%20Street%20Phoenix,%20AZ%2085020-3197&gid2=19999223&q2=11001%20N.%2040th%20Street%20Phoenix,%20AZ%2085028&q1=3801%20East%20Greenway%20Road%20Phoenix,%20AZ%2085032-4698&trf=0&lon=-111.985874&lat=33.558419&mag=6 <

imho, this is a specially useful feature for those who do a lot of adventure traveling. the only thing missing here now is the ability to opt for a public commute route(like bus routes and trains, and a bit of walking of course).

well, that's it for now. i do have a lot of things to write about, but i'm holding it off until i decide where i'm going to take this site.

...:::more

Sunday, March 25, 2007

i am twenty one years old

last sunday, we went to ikea and bought a bed. i got one which allows you to lift your mattress to reveal a hidden storage space. new mattress as well. and i moved up from full/double to queen, so now i takes up about 60% of my room i think.

last thursday, i bought sheets, beddings, pillows, more sheets, and then some more.

then last friday, we got around to painting my room white. while buying more paint at the home depot, i dropped by best buy and i walked out of it with a new tv and a micro component system.

i only got to assemble the bed last friday night, and it was freakin hard to assemble using the allen wrench they threw in with the allen screws(read: too tiny for my big hands). it took me all night to set it up.

then, i only realized afterwards, i took part in one of the most american traditions ever... spring cleaning. i cleaned out my room and rearranged my stuff, threw out junk and put in the new.

that aside, you're probably wondering why i'm posting about the things i bought and spent my time on. well, i'm not here to brag or whine to you, seriously...

thing is, how many of you actually thought about buying the stuff i bought. and i'm not talking about "ohh, i like that!" and then forget about it the day after. i'm talking about "ohh, i like that, i am so gonna save up for it".

uh-huh, i figured not that many of you. and those who said yes, exactly how old are you?

uh-huh.

buying a tv or a bed is something which i feel something that which proves that a person is old. seriously, when you were young all you ever dreamt about was buying a car or a house or taking a vacation. you never thought about television, beds, linens and sheets cause frankly, why should you? you have parents which are willing to buy them for you, provided, of course, that you don't stay out late for the next two weeks.

i'm happy i was able to buy those stuff and at the same time sad for having been able to buy them.

in a nutshell, its like opening presents on christmas day in front of the tree. you're happy you're finally opening the presents, and a the same time sad knowing that you'll have to wait a full year before it happens again. only this time, there's no more next year.

and i'm fuckin 21! i shouldn't be going about buying a car or a tv or having a portfolio or having a tooth extraction!

i know i shouldn't be complaining, i know a lot of you have your eyebrows raised, but i beg you to look at it from my eyes... i hope that you'll see that what i'm really complaining about is the fact that i can rant about these things... and perhaps you'll understand that its cause there's this gaping hole in my heart... and by virtue of the last two sentences, i'm an "emo person".

i hope having a look at my new "prayer" room will not be enough to make up for the time you wasted here.



oops, take a peek at my just cleaned-out closet. its pathetic.

find my tumbler...

hobbes is eating my speaker!

...and that's the opening sequence of...?

this is what someone who stayed up all night looks like... so get plenty of sleep people!

...:::more

Monday, March 19, 2007

sandwiched and sticky

there are times, which i now realize is more like an epoch and not isolated packets of days, when you just wanna get days over with to get to another day which you hope is something out of the norm and is therefore worth waiting for, and in a lot of cases, fast-forwarding-for(a-la click).

you know you're in a rut when you're in that "time" of your life. it could get so bad that sometimes even the simplest things are blown out of proportion just so it could qualify for that slowly-deteriorating criterion of highly-special days; which in turn would lead to a gradual deterioration of the quality of "special" but which, conversely, would lead to a sharp, even exponential, increase in fake, and for the most part almost always passes off as genuine(but upon closer inspection is still, in all actuality, fake), laughter and smiles. i didn't mean to pass off the previous sentence as a complex mathematical equation plucked from one of the charts of life.

and what's sad is some people think that that is normal, that that is all life has to offer, that that is the point of being, and that that is simply that; and what's scary is its alot easier to accept that and join in on the growing ranks of those, than to escape the seeming quicksand of despair; and perhaps the most horrifying of all is that this rabid thinking is an unremovable part of the human psyche, meaning at some point or another you and me and the pope wil experience it, whether or not you realize that you are or have been through it is entirely dependent on how well you are immersed into the dipping pools of the empathy of which the world is full of and a fool of.

and if you have been reading closely, or not even reading closely but rather if you are even just about ankle-deep into the afore-mentioned body of metaphoric liquid, you should come to the realization that the author of this post full of over-used cliches is in that "rut" which he affectionately described.

so yes, please kill him now and end his misery and pitiful existence.

...:::more

Saturday, March 10, 2007

trial by ache

i always thought my teeth were invincible ripping machines... until about a week ago.

i felt my right, lower molar aching about midday last saturday. i shrugged it off thinking it'll just go away, as what does usually happens anyway. but it didn't go away completely, it subsided a little sporadically over the next few days.

by monday, right about before i left the office, the ache came back in full glory. my golly-gosh-gash! it was so freakin' painful(and i do have a high tolerance for pain, bordering on becoming a masochist in fact. but i'm not saying masochists have a high tolerance for pain...). the kind which makes your legs cringe and your head float and your tears swell. its like eating through your very soul. uh, well, no. that's a little bit too melodramatically exaggerated for a toothache, but you get the picture. i took two advils and still nothing. the drive home was a nightmare. i got my bro to look-up an emergency dentist nearby but it i'm uninsured and its waaaaaay too expensive. he's going to charge me 900 bucks for the root canal, 400 to plug it up, and an additional ??? amount for the crown(which could come in silver, gold or ivory or any bling-bling metal). so i got a bottle of tylenol instead.

but tuesday was worse, the ache was there since i woke up. it didn't let up even with three tylenols(don't do that guys, it could potentially cause stomach bleeding). so by midday, i had to leave the office and went on to search for a dentist who accepts walk-ins who won't charge emergency fees. the only one i found(well, more like the only one i went to) couldn't see me til the morning after. so i went home to just sleep it off and hope tomorrow comes soon enough.

but my aunt found this dentist, a filipina, who was willing to see me. only thing was, she was all the way across town. made it to her clinic, and upon examining my tooth, concluded that she can't do anything yet cause it already had an infection(read: abscess). so it had to be dried out first. so that means it'll be a week before she could pull it the tooth out(by this point, i was all for tooth extraction, root canals are just waaay to expensive. not to mention there's no guarantee that its not gonna cause me anymore problems). so, to help with the pain, she also prescribed me narcotics aside from the antibiotics for the bacteria.

for the normal person, that would've worked. but i'm a-b-normal, so it didn't work quite as well(that's why i'm not abnormal, there are still some lines to be crossed/removed before i become one). the antibiotics prescribed to me were literally old hat for my bacteria. it weak for me cause since i was young, i have been bombarded again and again with progressively more and more powerful antibiotics, thanks to my super easy to infect tonsils. the last culture test for back in manila about three years ago showed about only three types of antibiotics which would still work great for me, the others are already too weak for my bacteria and therefore may not be able to get rid of them.

so basically, i spent wednesday, thursday and friday at home nursing the throbbing pain in my mouth when i'm awake. oh, did i mention that my gums developed a sore as well? perfect. the narcotics they gave me wasn't that strong(or i guess the pain was really that strong), but it did put me to sleep whenever i take it. so the only time i was able to work was on the hour when the narcotics wear off which means its time for the next pill and the next wait till it kicks in.

now, i realized that it hasn't been my tooth that's been aching for a long time now but my gums. oh well, same difference. anyway, since by friday the pain was still there, it was time to change the antibiotics that as given to me because it was indeed to weak for me. so the dentist gave me pennicillin instead. erm, to tell you the truth, this is the first time i've ever taken pennicillin. and that's good cause that means my bacteria doesn't know pennicillin yet and so it has a better chance to get rid of them.

and yes, finally, saturday, on a scale of 1-10, 10 being the most painful, its now a stable 1! i'm finally able to eat again. i still feel it, though, but its not really aching anymore, its like a reminder now that i have a toothache.

so, my message to all of you is... no amount of money can ever pay for the pain a toothache can cause. so tooth fairy, don't insult what i went through with a quarter.

...:::more

Thursday, March 01, 2007

Giveaway of the Day

i keep watch on a lot of websites, see if they're worth any good. today, one of them stood out from the rest.

>
GIVEAWAY OF THE DAY <

though i've been watching it for weeks now, i thought that the programs they were featuring were so-so until today. they are giving away aston, a desktop replacement program. i'm a bit weary of installing stuff on my newly-reformatted box but what the heck.

so i installed it and i was blown away at the fact that it didn't just replace my desktop, it also made load times even faster! woot!

so, thank you GOTD. you just won me over.

and they also giveaway a game each day, if that's your cup of tea.

hurry, last time i looked, today's giveaway will expire 6 hours from now.

...:::more

Tuesday, February 27, 2007

reformat, the lessons learned.

i reformatted my pc again. and looking back, i've actually learned a lot of lessons from tinkering with the computer:

1.) if it ain't broke, don't fix it. so true, my device drivers were all working fine but then i dropped by the windows update site which listed it had a newer version for my driver(my mouse in particular, i know, who slaps in a driver for his mouse? i do...). so i installed it and the next thing i know, i couldn't get past the loading screen.
solution: safe mode+system restore

2.) who guard the guards? i'm a security freak. i have a firewall, an antivirus program and an anti-spyware up all the time. but aside from that, i've got tons of other anti-spyware/system mechanics/registry editors/optimizers/root kit detectors that they have become the spyware and slowed down my system considerably when i run all of them.
solution: trust in the holy trinity(firewall, antivirus, antispyware)+safe web habits

3.) beauty is high-maintenance. in an effort to tweak my desktop and UI to the fullest, and at the same time easiest, extent, i have gone a little bit too far. far enough that system's overall performance has taken a hit. i have a 256mb graphics card and a full gig of RAM, both of which should be more than enough to run daily tasks smoothly, but it didn't, it lagged consistently especially when opening and closing windows, not to mention it would bring focus to other windows unexpectedly.
solution: stick to the basics(gah, dare i say it?)+trust microsoft's own "enhancers"

4.) too much is too much. let's face it, we want our machines to be all-in-ones. gad, i just realized that wanting that is like being a parent who wants an athletic, smart, popular, good-looking and over-acheiving kid. geez. i slapped on a lot of cards and components on my computer and it got unstable, caused by sometimes incompatible devices.
solution: give your kid a break... errr, disable unneeded and deprecated devices.

5.) one is more than enough. i used to have a lot of browsers. but then, i only really use ie.
solution: just ones.

6.) cherishing keepsakes pays off. i still have files which dates back to about 7 years ago... and its fun to look through them every once in a while. papers dating back to my 3rd year in high school is a source of laughs for me on those boring days.
solution: invest on hard drives

7.) reanimation is no easy feat. i backed up my hard main hard drives, which have all my programs, to the big one which i use as a file repository. now that i've got a clean disk, i want to restore some of those programs(mainly games, hehe) back so i can run them. i don't have the installer discs with me so that means i have to track down each program's files(and temporary files) and registry key entries(i can't just import my old registry, that'll just be a disaster), and copy those to my newly installed os. so far, one program has been reanimated. T_T
solution: have installer discs/have lots of patience

as a reward for reading through my list of reformatting woes, i present you with themes for your pc. i'm sticking to basics this time around so i won't be doing the thing i posted
here. anyway, i found these two themes in the internet, they are from microsoft so all you gotta do is download then double-click them to install! enjoy!

Royal Theme- this is the media center's default glossy theme. when asked where to install it, just leave it at windows to install it in the default themes directory.
Black Royale Theme- black version of the media center theme. its actually a promo theme for zune but it just looks way cool.

and if those aren't enough, somehwere in the bowels of
microsoft.com are hundreds of files which you can actually download for free and use! you just have to find the right way and be patient in navigating it. i got an egyptian and a dog theme there which are absolutely wonderful. i'd post the link but i forgot which page they came from. T_T

...:::more

Thursday, February 22, 2007

aja!

ajax shmajax! here, i will discuss how to create the ajax effect(close to) without the x(xml). ajax stans for Asynchronous Javascript And XML. so... it should technically be just aj, but aja sounds better. =p

why use aja, or ajax for that matter? the answer is, to enhance the user experience and to relieve the server of some load. by using aja[x], you can actually put in more data into a page that has already been served. that way, you don't have to serve the whole page again just to change a single word. and if you are an expert on DOM(Document Object Model), you can, theoretically, just serve a single page and hand it off to aja[x] to get the data then modify the page elements by following the DOM.

i will get to the limitations later on, but for now let's start rolling...

first, lets make the page that's going to be served...

<html>
<head>
<title>AJA!</title>
</head>

those are the mandatory things, here's where you start paying attention...

<body>
<p>This is a demo of aja:<br>
<input id="add" type="button" value="Show lines!" onclick="aja_do('add')">
<input type="button" value="Clear" onclick="aja_do('clear')">

here we have two buttons, what you should take note of is the onclick attribute. once you click on the button, it will execute the code inside the onclick attribute, in this case its a call to a function named "aja_do", passing to it a parameter, either "add" or "clear" depending on what you click.

<div style="border: solid 1px black">
<span id="container">This is where all the magic will happen.</span>
</div>

then we have a div tag, its just to have a pretty box(sort of). inside it, we have a span tag and we gave it an id of "container" and some text in it. the span tag is important (cause of the id attribute) and it must have the id attribute if you want to make your life easier.

<script type="text/javascript">
function aja_do(action) {
var jsel = document.createElement('script');
jsel.type = 'text/javascript';
jsel.src = 'get_text.php?action='+action;
document.body.appendChild(jsel);
}
</script>
</body>
</html>

finally, just before we close the body tag and the document, we sneak in a bit of javascript. yes, you can put script tags outside of the head. but let's concentrate on the script tag and what it holds.

the script tag declares a function. this is the function which the buttons above call when you click them. let's take a look at it line by line:

var jsel = document.createElement('script');

this creates a script tag, DOM style, and assigns the variable jsel to hold it so we can poke it, otherwise, its as good as lost.

jsel.type = 'text/javascript';

then we tell the browser that the script tag we created is text/javascript type, of course, we're using javascript after all.

jsel.src = 'get_text.php?action='+action;

then we tell the browser that the script tag will be loaded from a file and the file can be found there. what's different here is that the source is not the traditional "script.js", as what you'd expect from loading a javascript file. we tell it to load "get_text.php". its been known for a long time that you can load php(or asp, or whatever file you want) files as javascript files or css files(loading a php-fied css file is a quick and easy way to make customizable skin colors for websites), so thats what we're doing now. but the we add to the source some more parameters, namely the "action", which is the parameter which the buttons passed on to aja_do. so we're telling it to load either get_text.php?action=add or get_text.php?action=clear.

document.body.appendChild(jsel);

then we have this final bit which basically "executes" the code inside get_text.php. if you notice i used document.body. that is the reason why i put the script inside the body and not the head. some browsers only append to the body if the script instructing it to append something to it is a direct child. so placing it in the head means its not a direct child anymore, likewise with placing it inside a div tag inside the body. it has to be a direct child of the body, so its convenient to place it just before the closing body tag or right after the opening body tag. though personally, i put my scripts in the head tag and then append the code to a dummy placeholder like a span tag.

so that's your static page, you can save it as aja_test.html. now lets take a look at get_text.php

<?php
$action = trim($_GET['action']);
if(!empty($action)) {
$output_string = '';
?>

the opening section. if you remember we passed what we're going to do, either add or clear, so here we take what we passed and make sure that it is there. we also initialize the variable output_string which will hold what we're going to display.

var con = document.getElementById('container');

then we leave php for a bit to put in a bit of javascript. the only thing you have to remember is that instead of formatting your data in php for html output, your doing it for javascript output, that's why proficiency in DOM is a huge advantage. in this case, we make a variable and use it as something like a pointer to the "container". if you remember, the "container" is in the static page and its a span tag. this allows us to easily to poke that tag whichever way we want.

<?php
if($action == 'add') {
$output_string = "Server time is: ".date("h:i:sa");
?>
var newline = document.createElement('br');
con.appendChild(newline);
var append_text = document.createTextNode('<?php echo $output_string; ?>');
con.appendChild(append_text);
<?php
}

ok, if what we got is add, we put in what we're going to display in output_string, then leave the realm of php and get into javascript. first, we create a newline,so we create a "br" tag DOM style. then we add it inside the container. next we create in javascript the text that we made earlier, and then add it inside the container. and that's it, we have successfully added stuff in the other page! yay!

elseif($action == 'clear') {
$output_string = "Server time when box was reset: ".date("h:i:sa");
?>
while(con.firstChild) con.removeChild(con.firstChild);
var new_text = document.createTextNode('<?php echo $output_string; ?>');
con.appendChild(new_text);
<?php
}

but if we're going to clear, the next block handles it. again, we create the text in php, then enter javascript land. what the first line does is it clears everything inside "container" DOM-style. while container still has a "child" or content, it will remove it. then like the one up there, we create the text in javascript and insert it in the "container". if you take a look at the page, the contents of the box was cleared and just has a single line.

}
?>

then we close the page.

and there you have it, a crash-course in aja and a little DOM. now my example above, if you check it out, absolutely makes no sense. ideally, the php file would do more complicated stuff(read: access database) and return more sensible material. but that will have to do cause i don't have anymore database hosting. if you want to really see it in action, take a look at the gallery from my previous post, thats where my database hosting went.

if you check out my example, you'd notice something is off... namely the time is the same for each line everytime you click a button. is this a bug? nope! well, technically no. this is the effect of your browser caching pages! if you examine the code carefully and take a look at the process from the browser's eye, it looks like we are loading two javascript files: get_text.php?action=add and get_text.php?action=clear. the browser doesn't know its just a single file with different parameters, for the browser, it looks its two different files cause they don't look the same. so, the first time it loads the two files, it makes two different copies in its cache. so the next time you click a button again, it serves the one in its cache, so the time in the line that's added doesn't get updated. and that makes sense cause that is the expected behaviour of a browser.

so you're screaming at me asking why use this at all? the answer is simple, when you do use it, what you're going to use it for will not be anything like my example. in reality, what you will load will be more like file.php?id=1 ... file.php?id=890345 cause you are most likely going to query a database or something. get the picture? although yeah, ajax will not have this problem... =D but this is definitely a lot simpler and easier to implement than ajax(have you met JSON? no? well, he's usually the guy with a SOAP in hand.).

and as a closer, there is this quirk in ie6... it doesn't like loading javascript files dynamically. so sometimes it works, sometimes it doesn't. it depends. if someone could provide more details on this problem and a possible fix, please share it to the world! one odd thing, if you put an alert anywhere inside aja_do, ie6 will execute the code. i'm not sure why, but that's what it does. i've made some headway into this problem, was able to fix it for the avant browser, which is based on the ie6, but it still doesn't seem to work with earlier versions of ie6(either that or my test ie6 is seriously screwed).

see it in action here:
http://fapri.ifastnet.com/aja_test.html
get the files here:
http://fapri.ifastnet.com/aja.zip

what do you think? got a better idea? let the world know! and yeah, one reason i'm writing this is to contribute my little thoughts to the world(erm, google...) which has taught me a lot over the past few months.

...:::more

Wednesday, February 21, 2007

gallery 0.3

in my work, i have to install a photo gallery for some clients. now there are a lot of open source solutions out there and leading the pack, at least for me and what i've encountered as a php developer, is menalto's gallery or simply gallery 2.

now, gallery 2 is a feature-rich solution with a ton of bling-blings and a kicking support/development team. its a great solution. however, as with the nature of my job, i'm asked to deploy a photo gallery in an already built-up website. if you're not already seeing the problem, well the problem is.. gallery 2 puts the photo gallery in the middle of the spotlight. what i need to deploy is somewhere near the balconies.. in short, gallery 2 is nice if you need a website which shows off a ton of photos. otherwise, its an absolute pain to edit to make it fit your needs.. and don't even get me started on trying to edit the templates to the current website's template.

other solutions rely on purely php and file manipulation. while i have nothing against that, the programmer in me just can't swallow the fact that there's no database used. though these solutions tend to look purr-ty...

so for the past projects where i needed to slap in a photo gallery, i built my own photo gallery system. this system is php-based and stores the relevant information in a mysql database, since the websites i work on always have a mysql database anyway and if they don't i create one for them.. hehe, and stores the images in a directory. upon upload, three images are created, a thumbnail-sized image, a default-sized image and the original-sized image. it may take up some more space but your server will definitely thank you when your user uploads 10MP pictures.

over the projects, i got tired of manually editing each line of code to fit the new website i'm going to slap it on. so, i worked on a more generalized version. the result is... gallery 0.3

when you take a look at it, it may not look like much. but if you login as the owner/admin, then you'll see its true capabilities. and developers out there who have to "skin" a lot sites will find that the one page that matters in the gallery is so easy to customize. tags are easy to move around the page and just about everything, from the image sizes to the number of thumbnails to the image used for overlaying some thumbnails can all be customized from the admin page.

however, i'm still not making it available for public release cause there's still work to be done like user groups and permissions. as it is right now, it will work well to serve as a photo gallery for a specific website(or blog... as long as there's only one(or one group) owner). as a photo gallery for the planet? not yet...

and probably the main reason i'm releasing a "preview" is this bug has gotten me stumped... if you're using IE6, head on to the site and you'll find out... i have half a mind to take away "seamless reloading" feature(oh yeah, for most browsers, clicking on a thumbnail won't reload the page) for IE6.

it seems to be caused IE6 not liking loading an additional javascript file dynamically... i use aja, if you're asking why. its ajax without the xml part. more about this in a future post, its a totally awesome way of doing ajax without the additional burden of coding xml.

if you have any idea on a possible workaround for that, PLEASE let me know!

check out the site here:

http://fapri.ifastnet.com/gallery/gallery.php

if you'd like a copy of the gallery, send me a note and i'll send you one. if you're interested in helping me out or just want to check out the code, send me a note as well.

...:::more

Friday, February 16, 2007

there's a grey in e.r.

its official, i'm hooked on grey's anatomy... and i don't care if you say its just a rehashed E.R., there's just something different about it. different in the sense that its almost not like a medical drama...

in fact, its feels a lot like one tree hill, though they might not share the same storyline, plot, character dynamics... i guess what made me say that was how each episode is told. there's something about it which reminds me of OTH, might be because both shows usually start and end with a voice-over from the lead character which speaks undeniable truths. yeah, maybe that's it...

...or maybe the television has finally gotten to me after all those years of having been able to resist its hypnotic, glassy stare. maybe...

...

...or maybe because i just love ellen pompeo...
...maybe...

...:::more

Thursday, February 15, 2007

will you keep me?

this ranks high in my playlist of always played songs...

The World is our Playground and We Will Always be Home
Up Dharma Down

You're my sunshine, and my occasional rain
We become divine after every pain
So won't you please sit this through?
Because everyday we find a reason to stay
If words are too few to keep horizons in view
Will you go or stay and grow?

Standing on the edge between crazy and sense
Remember what I said
Nothing has to end
Won't you think it over?
I'm not so good with words
I don't think you heard me
If words are too few to keep horizons in view
Will you go or stay and grow?

Will you stay?
Will you go
Will you grow with me?

Now that you've found me
Where are we gonna go from here?

I swear I belong, this is where I belong
I swear I belong, this is where I belong
I swear I belong, this is where I belong
I swear I belong, this is where I belong
I swear I belong

Now that you've found me
Where do we go from here?
Now that you've found me

Will you keep me?

ps. thanks to my second-cousin iwi's friend, elyu, at
http://elyu.multiply.com/ for posting the lyrics here.

...:::more

Saturday, February 03, 2007

i'd like you to meet my...

...boyfriend.

for the record, he's my first and only so far.

his name is Race. lol, weird huh? named like that bodyguard guy from johnny quest, if you still remember that cartoon, let's see, i think that guy's name was... race bannon. well, anyway i've got my own race who's gonna look after me now. *kilig*

before we got acquainted, i've been seeing him around a lot of times. here and there, i dunno, i guess it was just a matter of time. fro mthe looks of it, he's pretty popular, a head-turner even, but he just didn't appeal to me back then. i mean he looked like he was a nice guy and everything, a gentlemen, but there just wasn't that oomph-ness which made me go ga-ga over him at first.

it was a cold night when i saw him in an outdoor shop in downtown. i thought to myself, heck why not approach this guy, who i can't seem to shake off, and get to know him. as i got closer, i found myself liking him, more so when we got past after the mandatory exchange of 'how ya doin' and comments on the weather. its like being hit in the head with a bottle, you know? like, why didn't you walk up to him sooner?! after just about a half hour, i was madly hooked on him.

like me, he wasn't born here in america. he is originally from japan but he came here a long time ago. so he's very americanized. i'm still a wee bit taller, but for the most part, we're almost the same height, though he's definitely leaner. we just look perfect together. he's sophisticated, no-nonsense type of guy but absolutely knows how to have fun, and did i mention good-looking? lol...

so after about an hour of hooking up, we became an us. everything was so mutual, like those lines in the movies. 'where have you been all my life?' yeah, everything suddenly had a place in the universe. and i was in heaven.

we went home past midnight, i snuck him into the house, but unfortunately my aunt was still up. long story short, they accepted him. what a surprise, i guess if it really is meant to be, everything will give way. so that night, he moved in with me. hihi. all i can say is, whether you want it fast or slow, he's absolutely awesome to ride. haha. especially in the ups and downs... so positively... uh, next paragraph please... haha

i'm just glad that i took the risk that night and bared my whole heart out for the world to mock. i'm thankful that i did. =)

though he gets a little jealous when i tell him about my other guys, even though there never really was an "us" with those other guys. he's especially jealous of Revs...

and if you're wondering how we look together, here's a pic for the curious: (and yea, i'm putting on pounds... not the currency)



...and if you're disappointed that it wasn't what you thought it was, well... i'm gonna be single for life, remember?! haha... or maybe until thirty, whichever comes first. haha. =p

his full name, by the way, is honda accord. ;-) and yes, we do name our cars, my first was revs(toyota revo) of course, then for about a couple of months here i used neville(pontiac bonneville). my bro has tanya(nissan xterra), and the other cars in our family have names which don't depart that much from their real names. we had a car before, a tamaraw fx, which we named darna, cause they used her in the car's commercials way back in the day, lol. why name your car? apart from its easier to reference, it sort of gives you a certain level of comfort in that you make yourself believe that you understand each other. plus, they're great converstationists(read: listeners) during long drives. race is the first i can truly call my own, and with getting him, i am now a member of the american working class(people who are in debt up to their eyeballs, lol. technically defined as those with a credit report[and score]... lol.).

...:::more

Friday, February 02, 2007

SCARY epic movie

yeah, you read that right. epic movie is the SCARIEST scary movie. and i mean that in a bad way.

there's this trend in the whole scary movie franchise wherein they try to outdo the previous film's shortness, while i'm not sure if this if rom the same guys who brought us scary movie, epic movie definitely took up the challenge. it probably just clocks in at an hour. and that is probably the longest hour you'll ever spend in a movie theater. its like, you want the hour to be over just to get out.

the humor is way too over the top, its too lame that its not making people laugh anymore. and in a theater packed with americans, that's saying a lot(no offense to americans, but really, chicken-cross-road really is your sort of humor. and i enjoy that type of humor, though i like british humor more).

perhaps the only people who will enjoy this are the movie buffs(who call themselves that but in reality have only watched a couple of films in their life and read about the rest of what they know in the internet) who loves testing their movie trivia. but for me, it falls waaay short of it being a challenge. its like a big chunk of narnia held together by a lot of pieces from other movies.

the only way you'd get to enjoy this movie is if you download it over the internet, and have a couple of beers before hitting the play button. heck, if i did that, then this review might have turned out a little better.
anyway, i've got a really special post coming up... =D

...:::more