Tuesday, December 20, 2011

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 ...