Wednesday, November 17, 2010

My FB Quotes

"When I was in high school, I dealt with algebra like eating peanuts. In college, algebra swallowed me in whole and spewed me like a piece of shit."

"When I was in college, I helped my theology teacher ease her burdens by not attending her class more often and keeping my mouth shut during her lectures."

"Fiestas are the most dull moment one can find in this world. There's a lot of people around but there's no one to talk to. Grrrrr!!"

"Failure to point out your mistakes and shortcomings in front of yourself is far much lighter than criticizing them in front of the public. If you can't overcome it, you'll rot where you stand.‌"

"There's more politics in there than the dying stuff, brother. I have already 'gave them a favor' by playing bullshit to the people who developed me to be a proud countryman. Now you wanna give me to the wolves?"

"A family is an organization whose members have minds which has their own independent dynamism. You shouldn't control them; their way of thinking are the wings of their ideas to the skies of creativity. Parents' responsibility doesn't stop i...n feeding, clothing and sheltering them, but has the task of helping their kids' comprehension of what is good and bad (and judging what is good and bad is a very different matter), of persuading and convincing and proving to them that your ideas are correct (and, determining the correctness of your idea is again a very different matter), not by imposing to them and forcing them to follow you simply because you are their parent. That's a parent's most important task--a very colossal task."

Friday, June 11, 2010



Another video of my DVD Menu of wedding. This is actually the sixth of my video posts with the same subject but my other posts failed. I don’t know why and I didn’t even know it did. And unfortunately, I’ve already deleted those videos.

Why I’m posting these stuffs here? Well, I have another reason of doing this so--storage :).

This video features the picture-in-picture effects. I created the background video in Adobe Premiere and did the text works and other stuffs in Adobe Photoshop. Hope you liked though I’m still a struggling video editor & designer.

Wednesday, June 2, 2010


This is a wrapper class in manipulating bits in C/C++. This
wrapper accepts up to 64 bits of data.


#ifndef _bits_h_
#define _bits_h_
struct XBits
{
int bitSize;
__int64 *lBitData;
template<typename> _bittype>XBits(_bittype *bt)
{
bitSize = 8 * sizeof(_bittype);
lBitData = (__int64*)bt;
}

BOOL check(int pos)
{
return (((*lBitData) >> pos) & 1)==1;
}

void set(int pos, BOOL fSet)
{
__int64 lData = *lBitData;
if( fSet )
lData |= 1 << pos;
else
lData &= ~(1 << pos);
*lBitData = lData;
}

void xor(int pos)
{
__int64 lData = *lBitData;
lData ^= 1 << pos;
*lBitData = lData;
}
};

#endif //_bits_h_


Sample instantiation:











int main(int argc,
char* argv[])
{
BYTE bdata = 0;
XBits bits(&bdata);
bits.set(5, 1);
bits.xor(4);








// Set bit 5 to 1
// Toggle bit number 4. Turn to 0
// if it‘s 1 & vice-versa


if( bits.check(1) )
{
// some code here
}
else
{
// some code here
}
}

// Checks if bit number 1 is on or off

Monday, January 4, 2010

Hi, everyone! This is my first ever video blog. I don't know if I did much and something different but I just wanted to share this video.

This is a DVD menu I created for a wedding video that I am also the one who edited.



I am posting this video here to gather comments (be it negative or positive) in order to improve my skills or maybe some newbies (like me) in video editing (esp. DVD menu creation) haven't tried yet this kind and would want to know how I did this. You can send me an e-mail which I will personally reply.

Thanks for viewing. You can also watch this here.