Thursday, December 20, 2007
Wednesday, December 19, 2007
my new 5.1 speakers
christmas gift ng beibee ko.. :)
NextBase HM-058
Specs:
• 160W RMS Total Power Output
Subwoofer - 60W
Front - 20Wx2
Center - 20W
Rear - 20Wx2
• Flexible Switch between 5.1 & 2.1 Sound Channel
• Tone Control Adjustment (Bass, Treble & Suer Bass)
• 6.5" Long-Throw Woofer Enhance Deep & Strong Bass
• 3" Drivers & 1" Spherical Tweeters Produce Crystal Clear Sound
• Wooden Subwoofer and Satellite Speakers
• Full function remote control
what's in the box:
+ user manual
+ remote control
+ 4 brackets with screws for the front(left,right) and rear(left,right)
+ shielded wires: wires for the rear speakers are longer compared to center and front(left, right)
+ warranty card
+ 4pcs stereo rca cables: 1 for the 2.1 auxilliary input and 3 for the 5.1 input
+ 4pcs 3.5mm male stereo jacks to female rca: used for 5.1 out from pc sound card and mp3/mp4, cd players
+ of course, 5.1 speakers (active sub, center, 2 front left and right, 2 rear left and right
Posted by yayix at Wednesday, December 19, 2007 0 comments
Labels: techie
Thursday, November 29, 2007
coup again @ manila peninsula
this time at the manila peninsula hotel.. hmmm.. hotel again?
nakaka-asar na to ah. imagine mo na lang ikaw nasa place nang mga guests sa hotel at teka, baket laging hotel pinipili ni trillanes? dahil ba sa aircon? hahay..
Posted by yayix at Thursday, November 29, 2007 0 comments
Thursday, November 08, 2007
stupid eh?
1. It is illegal to die in the Houses of Parliament (27 percent)
2. It is an act of treason to place a postage stamp bearing the British monarch upside-down (seven percent)
3. In Liverpool, it is illegal for a woman to be topless except as a clerk in a tropical fish store (six percent)
4. Mince pies cannot be eaten on Christmas Day (five percent)
5. In Scotland, if someone knocks on your door and requires the use of your toilet, you must let them enter (four percent)
6. A pregnant woman can legally relieve herself anywhere she wants, including in a policeman's helmet (four percent)
7. The head of any dead whale found on the British coast automatically becomes the property of the king, and the tail of the queen (3.5 percent)
8. It is illegal to avoid telling the tax man anything you do not want him to know, but legal not to tell him information you do not mind him knowing (three percent)
9. It is illegal to enter the Houses of Parliament in a suit of armour (three percent)
10. In the city of York it is legal to murder a Scotsman within the ancient city walls, but only if he is carrying a bow and arrow (two percent)
stupid eh?
--taken from yahoo news
Posted by yayix at Thursday, November 08, 2007 0 comments
Labels: killing time
Wednesday, October 31, 2007
Google Gmail now with IMAP
Posted by yayix at Wednesday, October 31, 2007 0 comments
Tuesday, October 02, 2007
PHONE A CLEANER SERVICES
No time to clean your pad, rooms & homes? We spend money for spa, car wash & laundry... why not for our homes?
For professional, quick and efficient home cleaning please contact:
PHONE A CLEANER SERVICES
Address: MJ Cuenco Avenue, Mabolo, Cebu City
Tel. No.: 032-238-3314
email: phoneacleaner@gmail.com
rates:
200 bucks per hour for the first 2 hours, 175 bucks for the succeeding hours.
promo rates for members:
150 bucks per hour for the first 2 hours -- you save 100 bucks!
membership fee: 480 bucks only!
possible services includes:
cleaning (kitchen, bathrooms, bedrooms, storage rooms)
window washing
dusting
polishing
waxing
sanitizing
vacuuming
*lastly, all cleaning equipments and supplies are provided by us.
Posted by yayix at Tuesday, October 02, 2007 0 comments
Labels: fyi, phone a cleaner
Friday, September 28, 2007
whitespace
as the name implies whitespace makes use of spaces, tabs and newlines -- making the strings and characters in the script ignored by the interpreter. misleading a co-worker/programmer has never been this easy.. as you can write your code on top of a more programmer friendly code such as C. nonsense comments can help too. hehe.
makes me remember of my Brainf*ck post in livejournal!
there's an emacs mode you can download at the site. :)
enjoy!
Posted by yayix at Friday, September 28, 2007 0 comments
Labels: killing time, programming, techie
Thursday, September 06, 2007
mynissancebu sticker EB
myNissanCebu will be having a sticker EB this coming Saturday, Sept 8, 2007 300pm at Gaisano Bowlingplex Carpark, Banilad, Cebu City.
Posted by yayix at Thursday, September 06, 2007 0 comments
passing away
i have to go home and take a week or more absence from work. hopefully, by saturday i'll be in manila na.
Posted by yayix at Thursday, September 06, 2007 0 comments
Labels: fyi
Monday, September 03, 2007
Savepoints inside Transactions
typical PostgreSQL Transactions looks like this:
BEGIN; INSERT/UPDATE/DELETE STATEMENTS; IF ERROR THEN ROLLBACK; ELSE COMMIT; END IF;
sample postgreSQL Transaction with SAVEPOINT:
BEGIN; SAVEPOINT my_svpnt; INSERT STATEMENT 1; IF ERROR THEN ROLLBACK TO SAVEPOINT my_svpnt; END IF; INSERT STATEMENT 2; RELEASE SAVEPOINT my_svpnt; COMMIT;
what do you do if you want to commit some statements or just ignore some errors before committing everything? knowing that inside a transaction all succeeding statements after an error will be ignored.
sample scenario:
loop thru checkboxes from a HTML POST then INSERT or UPDATE rows.
problem then arises because i am too lazy to write long PHP codes -- i don't want to check each rows from a HTML POST to determine if what i need to do is INSERT or UPDATE. that is, to INSERT if the row doesn't exist or UPDATE if it exist.
there's an easy way, i can check the primary key -- i don't want to do that either.
i need to know if transactions can be done in such a way where i can decide which statements to commit.
test first if each rows exists in the table:
// begin postgreSQL transaction $conn->execute('BEGIN'); // loop thru checkboxes, rows from HTML POST FOR ($i = 0; $i <= $rownum; $i++) { // check if checkbox is checked IF ($checkbox[$i] == 1) { // check if row exist or is not yet in the table $checkRowSQL = "SELECT * FROM pay_schedule WHERE pay_schedule_id = {$n_pay_schedule_id[$i]}"; // pg_query $rsChk = $conn->execute($checkRowSQL); // get result set from SELECT query $result->set_resultset($rsChk); // EOF() - SELECT returns 0 rows then INSERT new row IF ($result->EOF()) { $sql = "INSERT INTO pay_schedule (pay_schedule_code, pay_schedule_remarks, pay_schedule_schedule_id) VALUES ('$s_pay_schedule_code','$n_pay_schedule_remarks[$i]', $n_pay_schedule[$i])"; $rs = $conn->execute($sql); // if INSERT returns an error, break from FOR loop IF (!$rs) { $header = 'Unable to Insert Pay Scheme'; $message = 'Check entries...'; break; } // not EOF() - SELECT returns a row then UPDATE row } ELSE { $sql = "UPDATE pay_schedule SET pay_schedule_code = '{$s_pay_schedule_code}', pay_schedule_remarks = '{$n_pay_schedule_remarks[$i]}', pay_schedule_schedule_id = {$n_pay_schedule[$i]} WHERE pay_schedule_id = {$n_pay_schedule_id[$i]}"; $rs = $conn->execute($sql); IF (!$rs) { // if UPDATE returns an error, break from FOR loop $header = 'Unable to Update Pay Scheme'; $message = 'Check entries...'; break; } } } } // no error then COMMIT everything IF ($rs) { $conn->execute('COMMIT'); $header = 'Update/Add Confirmation'; $message = 'Pay Scheme Updated/Added'; // if there's an error then ROLLBACK all changes } ELSE { $conn->execute('ROLLBACK'); } $commandname = 'Ok'; $command = 'fnReturn()'; // return to original page
using SAVEPOINT my code looks like this:
// begin postgreSQL transaction $conn->execute('BEGIN'); // loop thru checkboxes, rows from HTML POST FOR ($i = 0; $i <= $rownum; $i++) { // check if checkbox is checked if ($checkbox[$i] == 1) { // establish a SAVEPOINT $conn->execute('SAVEPOINT bgn_svpnt'); // try to INSERT row $sql = "INSERT INTO pay_schedule (pay_schedule_code, pay_schedule_remarks, pay_schedule_schedule_id) VALUES ('$s_pay_schedule_code','$n_pay_schedule_remarks[$i]', $n_pay_schedule[$i])"; // pg_query $rs = $conn->execute($sql); /* if INSERT error, i.e duplicate row or constraint violation do a ROLLBACK TO bgn_svpnt savepoint then UPDATE existing row */ IF (!$rs) { $conn->execute('ROLLBACK TO SAVEPOINT bgn_svpnt'); $sql = "UPDATE pay_schedule SET pay_schedule_code = '{$s_pay_schedule_code}', pay_schedule_remarks = '{$n_pay_schedule_remarks[$i]}', pay_schedule_schedule_id = {$n_pay_schedule[$i]} WHERE pay_schedule_id = {$n_pay_schedule_id[$i]}"; $rs = $conn->execute($sql); // if ERROR still then cancel FOR loop and ROLLBACK everything IF (!$rs) { $header = 'Unable to Update Pay Scheme'; $message = 'Check entries...'; break; } } // good to do a RELEASE if savepoint is not needed anymore $conn->execute('RELEASE SAVEPOINT bgn_svpnt'); } } IF ($rs) { $conn->execute('COMMIT'); $header = 'Update/Add Confirmation'; $message = 'Pay Scheme Updated/Added'; } ELSE { $conn->execute('ROLLBACK'); } $commandname = 'Ok'; $command = 'fnReturn()';
i settled with the second code since it will eliminate unnecessary lame SELECTs, wherein i have to retrieve and check result sets.
Posted by yayix at Monday, September 03, 2007 0 comments
Labels: fyi, php, postgreSQL, programming, techie
Wednesday, August 29, 2007
poor man's wifi
new words encountered: wifry, wokfi, woktenna -- get the idea?
Posted by yayix at Wednesday, August 29, 2007 0 comments
Wednesday, July 25, 2007
xpango referrals
Xpango uses a unique Credit system to reward customers with Free Mobile Phones, Gaming Consoles & MP3 Players!
Each Gift is received for Free in exchange for Credits which can be gained by Xpango members.
When you register with Xpango and select your Free Gift, you will receive a 'Referral ID' which is used to gain Credits. Credits can easily be gained by either (or a combination of) participating in Xpango Offers, Referring Friends, or by purchasing a Mobile Accessory / Clix Package
Credit requirements for Gifts vary depending on the retail price of the Mobile Phone/Gaming Console/MP3 Player. More expensive Gifts require more Credits than less expensive Gifts.
Xpango genuinely provide the lates Mobile Phones, Gaming Consoles and MP3 Players Worldwide and for Free!
All gifts are provided in exchange for Credits and there are many ways of gaining Credits at no cost.
The best way of gaining Credits for free is by;
- Completing Free Offers (Register for Free Offers such as Blockbuster or 1on1 Pyschic and get Credits!)
- Referring Friends (Get a Credit for every friend you refer who completes a Free offer or purchases a product)
Once you have gained your Credits, you receive your Free Gift!
Posted by yayix at Wednesday, July 25, 2007 0 comments
Labels: fyi, killing time
TIME magazine features upDharmaDown
whoa! lakas talaga ng dating ng UDD! they're now featured in TIME magazine.
check out the article: Music: The Way of Dharma
Posted by yayix at Wednesday, July 25, 2007 0 comments
Labels: fyi
Friday, July 20, 2007
HPATDH book
not sure if it's just an elaborate hoax.. but, it's worth reading while waiting for the REAL one.
i wanted to post some pictures but i'm not sure 'bout the implications..
Posted by yayix at Friday, July 20, 2007 0 comments
Labels: fyi, harry potter
Friday, July 13, 2007
mynissancebu 4th EB
mynissancebu yahoogroup will be having its 4th EB this coming Sunday, July 15!!
sorry guyz, i can't commit...not sure if i can come.
Posted by yayix at Friday, July 13, 2007 0 comments
Wednesday, July 11, 2007
harry potter and the number seven
- Harry Potter and the Deathly Hallows is the 7th and last book of the Harry Potter series
- Harry Potter and the Deathly Hallows is scheduled for release on 07.21.2007
- in Harry Potter and the Deathly Hallows, harry will be in his 7th year at Hogwarts School of Witchcraft and Wizardry
- Harry Potter and the Order of the Phoenix movie will be released today 07.11.2007
- the first Harry Potter book was published in 1997
- j.k. rowling and harry shares the same birthdate 07.31
Posted by yayix at Wednesday, July 11, 2007 0 comments
Labels: fyi, harry potter, killing time
harry potter and the order of phoenix
Posted by yayix at Wednesday, July 11, 2007 0 comments
Labels: fyi, harry potter, movie
Thursday, July 05, 2007
Jung Test Results
Introverted (I) 63.33% Extroverted (E) 36.67%
Sensing (S) 58.33% Intuitive (N) 41.67%
Thinking (T) 55.26% Feeling (F) 44.74%
Perceiving (P) 54.05% Judging (J) 45.95%
ISTP - "Engineer". Values freedom of action and following interests and impulses. Independent, concise in speech, master of tools. 5.4% of total population. |
Posted by yayix at Thursday, July 05, 2007 0 comments
1408 movie
1408 = 13
1
4
0
+ 8
----
13
watched this "stay scared" movie last night and enjoyed every minute of it. really like the part where john cusack(serendipity, con air) is inside room 1408. most of the horror movies i've seen lately are IMHO not that good i.e. the zombie flick 28 weeks later. 1408 by the way is a short story written by who else but stephen king.
i say, just check out the movie for yourselves.
i'll post the torrent file later.
Posted by yayix at Thursday, July 05, 2007 0 comments
Labels: achuss mode, movie
Wednesday, July 04, 2007
choppy movie
solution : enable DMA (Direct Memory Access). hdparm will do the trick. here’s how.
result : no more frame by frame playback.
Posted by yayix at Wednesday, July 04, 2007 0 comments
sudoku
whenever u want an instant headache then go on divulge yourself with uber gruelling SUPER TOUGH sudoku puzzles.
Posted by yayix at Wednesday, July 04, 2007 0 comments
Labels: achuss mode, fyi, killing time
gezeala.tk & other blogs
other rants and raves:
+ wordpress
+ googlepages
Posted by yayix at Wednesday, July 04, 2007 0 comments
Tuesday, July 03, 2007
google gezeala
then..
i googled gezeala
haven't done this in a long, long time
good to know i still exist :)
this reminds me of my site gezeala.tk which is now defunct.
bad trip.. it's not free anymore!
Posted by yayix at Tuesday, July 03, 2007 0 comments
Labels: achuss mode