"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."
Sari-sari BLOGs
Wednesday, November 17, 2010
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
{
#endif //_bits_h_
#define _bits_h_
struct XBits
{
int bitSize;
__int64 *lBitData;
template<typename> _bittype>XBits(_bittype *bt)
{
BOOL check(int pos)
{
void set(int pos, BOOL fSet)
{
void xor(int pos)
{
};__int64 *lBitData;
template<typename> _bittype>XBits(_bittype *bt)
{
bitSize = 8 * sizeof(_bittype);
lBitData = (__int64*)bt;
}lBitData = (__int64*)bt;
BOOL check(int pos)
{
return (((*lBitData) >> pos) & 1)==1;
}void set(int pos, BOOL fSet)
{
__int64 lData = *lBitData;
if( fSet )
}if( fSet )
lData |= 1 << pos;
elselData &= ~(1 << pos);
*lBitData = lData;void xor(int pos)
{
__int64 lData = *lBitData;
lData ^= 1 << pos;
*lBitData = lData;
}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 |
Labels:
bits,
c,
c++,
code,
manipulation,
programming,
snippets,
visual c++
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.
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.
Sunday, December 27, 2009
Hi! Welcome to Sari-sari BLOGs—my personal blog.
Did I say welcome? Oh yes. But that does not mean you’ll be always welcome here. I only say welcome in the sense that I am in every way so grateful that you stumbled upon my blog site and that I am not telling you to go and never come back.
This is my personal blog—a sari-sari blog. Now, if you don’t know what sari-sari means, it is something like mixing up anything (but which are not necessarily compatible or related in anyway to each other), or anything you can find under the sun. But, of course, it all depends on what I’ve got or what you want me to dig into that you think is very hard for you to deal with and you just hope I can help you.
Since this is a personal blog and this is mine, I’ll post here anything I want, anything I can blog and brag about. If you feel uncomfortable about what I am talking, or staying or coming back here is a waste of time, feel free to go.
What you may find in my blog:
Did I say welcome? Oh yes. But that does not mean you’ll be always welcome here. I only say welcome in the sense that I am in every way so grateful that you stumbled upon my blog site and that I am not telling you to go and never come back.
This is my personal blog—a sari-sari blog. Now, if you don’t know what sari-sari means, it is something like mixing up anything (but which are not necessarily compatible or related in anyway to each other), or anything you can find under the sun. But, of course, it all depends on what I’ve got or what you want me to dig into that you think is very hard for you to deal with and you just hope I can help you.
Since this is a personal blog and this is mine, I’ll post here anything I want, anything I can blog and brag about. If you feel uncomfortable about what I am talking, or staying or coming back here is a waste of time, feel free to go.
What you may find in my blog:
- My personal angst, the ups and downs of my life and some politics
- Funny and tasteless jokes
- Religion
- Photoshop tutorials and photoshop tips and tricks
- C/C++ programming and code snippets
- Writing macros in MS Office documents and using the Visual Basic Applications in MS Office applications
- Video editing and adobe premiere pro tips and tricks, creation of DVD menus for Adobe Encore
- Using photoshop to create amazing DVD menus for Adobe Encore
- Tutorials and tips and tricks in using Adobe Audition
- Everything I’d found later that I think will be beneficial to you
- Links to my collection of HD Textures for adobe photoshop
Subscribe to:
Posts (Atom)