Thursday, December 29, 2011

Trouble is inevitable, but misery is optional ...
Life is a decision .. if you always do what you've always done, you'll always get what you always got ...

Wednesday, December 28, 2011

Borders are the usual end of things, but also where imaginations and new possibilities begin ...
In our lives innovations are possible because of our borders or limitations ...

Tuesday, December 27, 2011

Love doesn't magnify a mistake .. love covers a mistake ..
Love makes allowances for people's weaknesses ..
Love overlooks a person's faults ...

Sunday, December 25, 2011

There is no place on earth that prosperity is not. You manifest it by the power of ideas, vision, and imagination. --Randy Gage

Saturday, December 24, 2011

When it seems impossible, when it seems nothing is going to work, you're usually just a few millimeters away from making it happen.
To all entrepreneurs: What are you willing to give to pursue your dream?
Cracking the Entrepreneur Code, http://goo.gl/Ah3bP ... just realized this encourages me to be the entrepreneur I want to be ..

Friday, December 23, 2011

Finally located the best spot to display the fading ads, not the irritating, attention getting scrolls of ads...
Pinoy Siri, a truly Pinoy virtual assistant, http://goo.gl/lVI27 ... Wahahahahaha!

Thursday, December 22, 2011

Sulit.com.ph founder's experience in establishing a start-up, http://goo.gl/iOFOy
Do not be discouraged because the means may not be apparent ...
Think in terms of the end results, and the means will often take care of themselves ...

Wednesday, December 21, 2011

Do not tolerate for a minute that you are prohibited from any achievement by the absence of inborn talent or ability ...
You cannot select your parents, but you can select your self-image ...
Nobody in the face of this earth can make you feel inferior without your permission ...
Anyone who had used RedBeanPHP, an Easy ORM for PHP?
Ext JS 4.0 Samples are great, should I migrate to it? :)

Tuesday, December 20, 2011

You must learn to trust your creative mechanism to do its work and not "jam it" by becoming too concerned or too anxious.
All servo-mechanisms achieve a goal by negative
feedback, or by going forward, making mistakes,
and immediately correcting course.
When we set out to find a new idea, or the answer to a problem, we must assume that answer exists already, somewhere, & set out to find it.
Imagination, of all man's faculties is the most God-like --Glenn Clark
Man alone can direct his Success Mechanism by the use of imagination, or imaging ability.
Man, has something animals haven't —Creative Imagination.
Think in terms of the end result, and the means whereby will often take care of themselves.
The cost of living your dream, is ALL you got, http://goo.gl/c7lmN
MySQL scales appropriately according to Facebook, so why bother to use alternatives? http://goo.gl/2R4cg

Monday, December 19, 2011

Solution: I simply had to close the doors of my mind to destructive thoughts — and divert my thinking to other productive and happy things.
If you wait until circumstances "justify" your thinking
pleasant thoughts, you are also likely to wait forever.
Happiness isn't something that happens to you. It is something you yourself do and determine upon.
Men are disturbed not by things that happen, but by
their opinion of the things that happen.

Wednesday, December 14, 2011

My favorite mind mapping tool in Android was just acquired by Mindjet, http://goo.gl/xMq1N

Tuesday, December 13, 2011

Enjoying the use of PM tool asana.com .. better than projectpier and basecamp iaffirm

Friday, December 09, 2011

Why I prefer Yii over other frameworks, http://goo.gl/ViScE iaffirm
The making of a serial entrepreneur, know the ups and downs, http://goo.gl/PGzPZ ... iaffirm

Thursday, December 08, 2011

And because software engineers learn how computers work. That’s why managers must learn how social systems work.
Reading "Management 3.0: Leading Agile Developers, Developing Agile Leaders, 2011" ...

Wednesday, December 07, 2011

Tuesday, December 06, 2011

Amazing solar light bulb, http://goo.gl/6t2HY iaffirm
This is pure ingenuity, Yeah, love it! http://goo.gl/pr6l2

Monday, December 05, 2011

Life is a gift, & it offers us the privilege, opportunity, & responsibility to give back by becoming more. Be the gift someone needs!
Great and smooth performance, http://goo.gl/ZTKWd
Our team will continue to use MySQL, for the main reason being that FB is using it, http://goo.gl/oEPld

Sunday, December 04, 2011

Saturday, December 03, 2011

Just do it, and do it, and do it, and do it until the job is done! Be inspired .... http://goo.gl/ZZ0V6 iaffirm
Where attention goes, energy flows and results show.
The true measure of wealth is net worth, not working income.
Rich people focus on their net worth. Poor people focus on their working income.
Rich people live in a world of abundance. Poor people live in a world of limitations. Of course, both live in the same physical world.
Rich people think "both." Poor people think "either/or."

Thursday, December 01, 2011

Never have a ceiling on your income.
"Every master was once a disaster." —T. Harv Eker

Wednesday, November 30, 2011

There’s nothing wrong with getting a steady paycheck, unless it interferes with your ability to earn what you’re worth. There’s the rub.
Rich people choose to get paid based on results. Poor people choose to get paid based on time.
If you say you’re worthy, you are. If you say you’re not worthy, you’re not. Either way you will live into your story.

Tuesday, November 29, 2011

Currently being pulled towards implementing TeamLab ... comments or suggestions?
Rich people are bigger than their problems. Poor people are smaller than their problems.
Rich people are willing to promote themselves and their value. Poor people think negatively about selling and promotion.
Rich people associate with positive, successful people. Poor people associate with negative or unsuccessful people.
Rich people admire other rich and successful people. Poor people resent rich and successful people.
ProjectPier, OpenAtrium, ToDoYu, TeamLab? Anyone?

Monday, November 28, 2011

Rich people focus on what they want, while poor people focus on what they don’t want.
Rich people focus on opportunities. Poor people focus on obstacles.
If you want to be rich in the truest sense of the word, it can’t only be about you. It has to include adding value to other people’s lives.
Law of Income: "You will be paid in direct proportion
to the value you deliver according to the marketplace."
The main reason people don’t get what they want is that they don’t know what they want. Rich people are totally clear that they want wealth.
Rich people are committed to being rich. Poor people want to be rich.
Rich people play the money game to win. Poor people play the money game to not lose.
Rich people believe "I create my life." Poor people believe "Life happens to me."

Sunday, November 27, 2011

If your goal is to be comfortable, chances are you’ll never get rich. But if your goal is to be rich, chances are you’ll end up comfortable.

Saturday, November 26, 2011

You cannot change the fruits that are already hanging on the tree. You can, however, change tomorrow’s fruits by digging below the ground.
If you want to change the fruits you first have to change the roots. If you want to change the visible, you must first change the invisible.
If you want to move to a higher level of life, be willing to let go of some of your old ways of thinking and being and adopt new ones.
It is essential you recognize how your old ways of thinking and acting have gotten you exactly where
you are right now
If you can see the goal in your mind’s eye, if you can feel the joy of it throughout your being, then it is already yours ...
So, Steve Jobs reveals a secret about the iPhone and the iPad, http://goo.gl/9L6xF
If we could serve as much patients as this, http://goo.gl/gH6Xl ... we'll be genuinely fulfilled ...
Youngest billionaire, http://ping.fm/DSe6E
9 Tips for Activating the Entrepreneurial Spirit. http://goo.gl/QbQ88

Friday, November 25, 2011

Microsoft just won't let go of this Yahoo thing, rumors are floating again ...

Thursday, November 24, 2011

Entrepreneur, "one who undertakes innovations, finance and business acumen in an effort to transform innovations into economic goods".

Saturday, November 19, 2011

Thank you madam, your stature is what we need for our system to gain market boost and momentum, I'm grateful. Cheers!
Done, we'll have a new pilot for the system. Very grateful ... I'm satisfied. Better ready for the next milestone. Cheers!

Wednesday, November 16, 2011

All Philippine-based software developers, attention .. you're invited at DevCon Summit 2011, http://devcon.ph/
The bulldozer team is being formed ... I love what I see. Perfect.

Tuesday, November 15, 2011

Great! New funds coming ... better get the drawing board ready. Keyword: critical mass .... Yii!

Monday, November 14, 2011

Getting ready to meet up with few candidate VC .... better setup the compelling reasons why they'll have to put in 20% or 30%... Cheers!

Sunday, November 13, 2011

Just updated to FF8, let's see if any improvements from the previous FF6 ... Has not been satisfied with Firebug for Chrome ...

Saturday, November 12, 2011

Done, delete files in server side once record is deleted via uploaded docs mgr; done with proc templates for easy recording

Friday, November 11, 2011

Done resetting the tokens ... Yii!

Wednesday, November 09, 2011

Quite satisfied, ... integrated the standards needed by the professionals.... I'm happy.

Tuesday, November 08, 2011

As simple as CHtml::link('Back',Yii::app()->request->urlReferrer); Yii!

Monday, November 07, 2011

Easy searching of visits from the DMS. I'm happy.

Friday, November 04, 2011

Working on the global scheduler ....

Thursday, November 03, 2011

Finished DMS, uploaded files are properly and cleanly rendered in the Mac Window. Next, global calendar & audit trail logs.
Almost done, just a matter of relocating the "Upload Documents" mod and adding a read-only documents list into what I call the "Mac Window".

Tuesday, November 01, 2011

Just discovered the right Calendar for mobile scheduling to use ... beautiful, clean GUI and smooth transitions in Android. I'm so excited!
Web App verified Android-compatible, except Calendar & Image Editing mods hope to have them working for Gingerbread and Honeycomb soon. Yii!
Created an accordion effect, it was good, I'm satisfied ... making the GUI transitions clean, processes are so Pinoy-simple, beautiful :)

Monday, October 31, 2011

Just checked Opa, http://opalang.org/ ... interesting Cloud Language.
Dart: a language for structured web programming, newest language from Google, http://www.dartlang.org
Done. One Rx is to one Dx.
Each prescription should be directed to a particular Dx, I should not have missed that ;)
CentOS or RedHat? It just boils down to the support, http://goo.gl/2peI4

Wednesday, October 05, 2011

"Connecting the dots looking forward, ... stay hungry, stay foolish ... " the very words of a master in the IT industry. Farewell Steve J.

Saturday, September 24, 2011

... our own feelings were the cause of all our problems, and not the world or the people in it, as we had previously thought.

Wednesday, September 21, 2011

Just revisited smipt.org, it's been a while since the last time I used it with my AJAX tean :) ... the cool way of sharing code snippets ...

Monday, September 19, 2011

To change timezone for Redhat linux make sure to download correct tz from http://goo.gl/l22VX, then modify /etc/localtime accordingly

Saturday, September 17, 2011

Make sure to create the needed pma tables in MySQL aside from the needed config once you require the designer tab in phpMyAdmin ...

Wednesday, September 14, 2011

Every time you quit, someone else gets your prize. Every time you make a mistake, you get closer to yours. ~ Robert Kiyosaki

Saturday, September 10, 2011

Feelings are just feelings, they're not facts, and they're not you, and you can let them go - Hale Dwoskin
... wanting equals luck, .... feeling of having combined with released energies rather make things easy ...
You cannot solve a problem from the same consciousness that created it - Albert Einstein
The unexamined mind is not worth living ...

Thursday, September 08, 2011

Yes, Microsoft Did Change The World More Than Apple, http://goo.gl/wzeLE

Tuesday, September 06, 2011

Yahoo! CEO Carol Bartz is out ... coincidental that I read more of Michael Arrington last night, who in May this year interviewed her.
No business is without database, and now-a-days, usual that data are sync between backups and business related interfaces ...

Saturday, September 03, 2011

... the mindfulness of things other than the unwanted emotions and thoughts ... http://goo.gl/bfttT

Sunday, August 28, 2011

Web Camera + Credit Card = Secure Payment, http://ping.fm/9urdW Cool!

Friday, August 26, 2011

Cook's message to employees as the new CEO of Apple, http://goo.gl/Wjzqi

Monday, August 15, 2011

How true that Microsoft is dominating over Linux in ALL aspect of the IT market, yes, even outside of Desktop computing, http://goo.gl/BX6kg
97% of $104 million of Mozilla's income is from Google. In November 2011, Mozilla's contract with Google will expire. Will Google renew it?

Monday, August 08, 2011

So, now I have compelling reason not to go the Mac way, and ditch the Windows ... :) http://t.co/7nWC59h

Thursday, August 04, 2011

Generating Unique Primary Key In MySQL To Avoid Collision

Since I'm having a bit of trouble publishing this at stackoverflow.com, I'm posting it here instead.

One may want to consider using BIGINT data type in MySQL for table primary key index. Thanks to the following link,

http://forums.mysql.com/read.php?24,423422,423697#msg-423697

I was able to finalize my solution.

A bit of modification from its original suggestion, I made use of:

- PHP microtime: 14 digit number, after removing the decimal point
- zerofill autoincrement column from "Accounts" table

I have a utility class in PHP with the following static method:


public static function generateIdx($isFloat, $random=NULL) {
$idx = (String)microtime($isFloat);
$idx = preg_replace("/\./", "", $idx);
$maxMicrotimeLength = 14;
$max = 18;

if (strlen($idx) < $max)
{
if (strlen($idx) < maxMicrotimeLength)
{
$diff = (maxMicrotimeLength - strlen($idx));
while($diff > 0)
{
$idx .= 0;
$diff--;
}
}
if (!is_null($random))
{
$idx += $random;
}
}

return $idx;
}


This generates 18 digit unique code that combines 14-digit from microtime and 4-digit from account code. Hence I have up to 9999 accounts to fit in the 4 digit allotment. But in actuality, BIGINT can still be extended up to a total of 20 digit, so I still have 999999 accounts that can be created. Instead of account code, you may rather use the server id, to further avoid key collision.


In my apps case, accounts are created per client who accesses my app offline in their premises. Each offline app has a sync capability to a central app that contains universal data from the offline clients, hence collision is apparent, especially for the logs table which has to be sequential as well for the synchronization to work correctly.


With this solution, I'm at peace, knowing that numeric index keys are a lot faster than character keys.


Hope this helps.

Wednesday, August 03, 2011

Using rSSH in combination with restrictive apache config and appropriate file permission for a temporary web server user ...

Thursday, July 21, 2011

How Generics And ObamaCare Led To Express Scripts' Mammoth Purchase Of Medco http://t.co/8AJpNEI via @forbes

Thursday, July 07, 2011

Preserving Relationship Diagram in MySQL after export

Discovered a smooth technique on preserving the relationship constraints when uncertain error occurs as one attempts to recreate a db into a new one via phpMyAdmin. First, attempt to to copy db via operations tab, Second, export structure only, then copy paste the whole constraint part, then run them against the new db, and viola! Hope this helps.

Monday, July 04, 2011

... principals should be able to evaluate top 4 seafarer ranks via online interface ... major, major feature, need emphasis in the video ..
After seafarers medical records module, I thought the qualification assessment is easy, it's challenging enough to need few diversions .. :)

Friday, July 01, 2011

Hope to start initial production of video tutorial for the crewing system using Camtasia ...
Accept credit card payments via Android, http://ping.fm/juSjx

Thursday, June 30, 2011

Credit to http://ping.fm/LyRFJ .. solved my issue ...
Steady growth of an estimated 270,000 Filipino seafarers, .. interesting figure, specially if we consider how they're systematically managed
Never thought applying triggers in MySQL Db to be this exciting ... :)
Now I can listen to FM music through the speakers in HTC Desire HD ...

Wednesday, June 29, 2011

Facebook rival just arrived, http://ping.fm/GA8d3

Tuesday, June 28, 2011

Thanks there's headerHtmlOptions in Yii's CGridView, sample usage: 'headerHtmlOptions'=>array('width'=>'80px')
Who owns the biggest home in London? http://ping.fm/vbYv6
Simply copy-paste a truncate function, http://ping.fm/xj9H3
new versus old Japan, http://ping.fm/WXyxg

Monday, June 27, 2011

Already tired ... hope to finish polishing the seafarers medical records part by tomorrow ... goodnight everybody ...
AndroidOS Dominating PH Smartphone market.. http://ping.fm/iU59A

Sunday, June 26, 2011

Is under P20k onetime setup fee for offline mode and P15k monthly online access/storage of scanned med results reasonable for each clinic?

Saturday, June 25, 2011

Is availability of med results via online access a true value add to clinics, compelling enough for them to invesi in I.T. infrastructure?
Appreciating the music of Andrew Lloyd Webber ...

Thursday, June 23, 2011

Great sonic technology, http://ping.fm/fnmmX
For stranded motorists in Metro Manila area, be careful not contribute further :) ... be safe on your way home guys ...

Tuesday, June 21, 2011

Friday, June 17, 2011

Downloading Angry Birds Seasons .. thought I wouldn't love Angry Birds Rio hahaha

Thursday, June 16, 2011

Opted to use BigInt(12) rather than any GUID type of lengthy alphanumeric datatype. This should assure me of no duplication.
Though the 2038 year limit of timestamp (due to 32 bit computers limitation) isn't coming soon, better to be at peace by using datetime data type instead ... :)

Sunday, May 29, 2011

Error: Bad Request The CSRF token could not be verified

Error: Bad Request The CSRF token could not be verified

Just got the above error while submitting a form in my Yii powered SaaS app. I realized that the form isn't generated by Yii, but was customized. Hence I had to add a hidden field:

echo CHtml::hiddenField('YII_CSRF_TOKEN',Yii::app()->request->csrfToken);

Wednesday, May 25, 2011

/sbin/mount.vboxsf: mounting failed with the error: No such device

I had been searching for the solution for:

/sbin/mount.vboxsf: mounting failed with the error: No such device

... and apparently there's a difference between:

apt-get install build-essential linux-headers-`uname -r` and

apt-get install build-essential linux-header-`uname -r`

The former saved me from the error.

In case you'll encounter another error with the word "protocol", just change the folder name in the edit share sectio of the virtualbox, then try the mount command again and you're good to experience relief.

Tuesday, April 12, 2011

Join http://bit.ly/utopialife ... gamers network with FREE 100 Initial Credits to use on games and more!
Join http://bit.ly/utopialife the new gamers network and get 100 Free Credits to use on games and more!
Knows anyone diagnosed with Crohn''s? Help them out by supporting http://bit.ly/Crohns-ColitisFoundation
Please help this important cause and donate to the Crohn''s and Colitis Foundation. http://bit.ly/Crohns-ColitisFoundation

Tuesday, April 05, 2011

Please help this important cause and donate to the Crohn's and Colitis Foundation http://bit.ly/Crohns-ColitisFoundation

Wednesday, March 30, 2011

Securing js files by putting them within the protected folders in Yii, on top of lowering web files latency. http://bit.ly/PhilYiiUsersGroup

Sunday, March 27, 2011

IMHA, AMCOW, MTC ... great opportunities waiting to be cooked ...

Wednesday, March 16, 2011

Get 2 free NCAA Basketball jerseys. http://bit.ly/JerseysOfChoice

Monday, March 14, 2011

Great opportunity to Earn Money, Help People, Have Fun. Test drive it free for 14 days http://bit.ly/GlobalAccess
Get 2 free NCAA Basketball jerseys. Perfect for March Madness! http://bit.ly/JerseysOfChoice

Saturday, March 12, 2011

My latest share in Yii forum ... http://goo.gl/Wb8zH

Friday, March 11, 2011

Network, socialize, or find a date ... 18 - 25 years old ... http://bit.ly/snakbox

Tuesday, March 01, 2011

Please check out this Facebook page, http://ping.fm/pXCVJ full of inspiring quotes and great health tips - Thank You !

Wednesday, February 16, 2011

Online Marketer? 10 BEST ways to build your subscriber list with http://bit.ly/BuildingLists

Monday, February 14, 2011

10 BEST ways to build your subscriber list with http://bit.ly/BuildingLists

Saturday, January 29, 2011

Love a hot bowl of homemade chili? For those collecting chili recipes, go to http://bit.ly/ChiliRecipe
... contribute for greener environment .. make your own solar energy, http://bit.ly/CleanGreenEnergy

Thursday, January 27, 2011

To remove apache autostart in Ubuntu: update-rc.d -f apache2 remove

Wednesday, January 26, 2011

"My willingness to fail gives me the ability to succeed" Billionaire Venture Capitalist Vinod Khosla

Monday, January 24, 2011

Successfully created Ubuntu 10.04 OpenVZ container within a virtualized Ubuntu 8.04 ... details later :)
Currently creating Ubuntu 10.04 OpenVZ container within a virtualized Ubuntu 8.04 ... maximizing hardware capacities ..
Checking out NoSQL, and why mongoDb could be my next candidate, http://goo.gl/qkPv0

Thursday, January 20, 2011

Revisiting redmine ... my personal choice for project management tool ...

Wednesday, January 19, 2011

Solid-state drive(SSD) data storage device,uses solid-state memory to store data, use microchips which retain data no moving parts.

Tuesday, January 18, 2011

HipHop is a source code transformer which transforms PHP source code into highly optimized C++ and then compiles it using g++.
Ok, ping.fm isn't open to give out user API keys at this time .... maybe I'll just create my own :)

Monday, January 17, 2011

Characteristics of good IT Project Managers, http://goo.gl/Ll1bF
Beginning to really appreciate git, quite easy to use as a version control ... then backing it up to central backup sys .. safe :)

Sunday, January 16, 2011

Finishing touches for the TwitterFarm project, Crewing Sys, preparing for teaching demo, as Sr TO ... thanking God for more blessings :)

Friday, January 14, 2011

Might go back to part-time teaching ... Java and/or OOP PHP .. love to introduce Yii ...:) Thanks Oliver, my .NET co-faculty way back
I should a set time to finally share my twitter app as an open source ... after fixing the easy app registration process ... target tom
Visited MS Excel VBA again after 8 years. Great I was able to deliver ... well, accounting stuff ... hahaha

Thursday, January 13, 2011

Great, now I'm in CIO.com Forum ... just being grateful .... affirming positivity, peace and wealth abundance ...
Being grateful for so many opportunities to introduce Disaster Recovery, Agile Methodology, Yii, NetBeans, etc ... might teach again :)
Incremental Hourly/daily backup using cwRsync is great for Windows/Linux .... now I have them setup

Tuesday, January 11, 2011

Finaly I can now offer secure backup system of any Vista/XP PCs to remote/local Linux servers, http://goo.gl/4DwzN

Sunday, January 09, 2011

Confirmed ..rsync in cygwin works in XP, time to rest, later will setup a script scheduled to backup from any windows to remote linux
Now testing if passwordless rsync/ssh possible from my WinXP Pro VM .... will be the best incremental windows-linux backup system!
Switching user account from DOS prompt, http://j.mp/ebQgwp

Saturday, January 08, 2011

Setting up rsync daemon in my remote Linux server to backup own SVN server ... a lot of reading being done ...
Continuously being amazed by Yii, quickly doing my development of Crewing System, http://bit.ly/PhilYiiUsersGroup totally OOP .. love it!

Thursday, January 06, 2011

Revisiting Yii for the exciting projects ... the Twitter Farm, Crewing System, Payroll, etc. I hope git is in NetBeans soon.

Saturday, January 01, 2011

Appreciating git ... with my own (Twitter Farm Management) and few projects coming up, I have to get ready. Happy New Year to all!