Saturday, April 25, 2015

Notes on "Self Interest"

While reading the paper this morning i came across to an article in manilatimes.net written by Efren L. Danao dated january 6 2015. The article is a reprint of the great essay by  Jaeyoun Kim essay on  filipinos complaining about the corruption in the Philippines.  This essay describes the patriotism of Korean people, their great love for their country above their personal interest.

On my personal experience and observation majority of filipino people really put personal interest above common good.  Most of the decisions and actions that we do are based on personal interest consciously or unconsciously.  

In the case of getting the most fitted talent for a certain task or  job we tend look at the person instead of the job responsibilities. The question should be what knowledge, skill, potential and previous jobs am i looking for  the specific task? It is true that every knowledge and skill are acquired along the way but it takes the right talent to perform  technical and mission critical job.  If a job requires specific talent highest educational level is not a guarantee that a person can perform the task.  It is important to point that those great people especially in IT industry are dropped out from school but have great success because they are the right talent and they do what they love to do. 
I am hoping that decision maker should look on the broader perspective, consider every aspect decide based on merit and set aside self centric decisions.

Lastly, i would like to point that a great captain knows every people in the ship their skills and capabilities, knows the in and out of the ship and especially he knows where the ship is heading. 

Below is the essay of Jaeyoun Kim that is worth sharing, reading and reflecting.

Thursday, March 28, 2013

PLDT MyDSL HG530


 How to access PLDT MyDSL HG530 DMZ settings?

If you are using PLDT MyDSL HG530 Modem, your default gateway should be 192.168.1.1.
  1. Enter 192.168.1.1 on the address bar, when prompt with login. use username: adminpldt, password: 1234567890
  2. On the left pane, click Basic, under that choose NAT.
  3. click on DMZ, enter the IP address you would want to access in WAN.
  4. click submit.
To make sure that your entry has been saved, try to restart the modem and access the dmz settings again. 

Tuesday, March 26, 2013

The bit bucket


The bit bucket

Computer jargon as the "/dev/null"  means a place for disposing unwanted output messages from a process. A good program must always have an output in order for us to debug the errors. But if the process becomes weird  it start to freeze resources allocated cannot be released for other computing needs. The memory allocation will always be reserved for that process.nd this type of programs may cause  "Kernel Panic" or "BSOD"

From the "Zen of Python"
by : Tim Peters

Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.


Friday, February 15, 2013

/bin/bash: Permission denied


[root@host /]# su - user1
/bin/bash: Permission denied

Scenario:  My system is not responsive to any process, so i was forced to reboot. Suddenly i cannot login as ordinary user  "user1" 

Solution:  I look the permission of /bin/bash

[root@host ~]$ ls -l /bin/bash
-rwx------. 1 root root 938736 May 10  2012 /bin/bash

tried to change the permission 
[root@host ~]$ chmod 700 /bin/bash
-rwxr-xr-x. 1 root root 938736 May 10  2012 /bin/bash

Then I try to change the permission of the whole /bin  directory

[root@host ~]$ chmod -R 755 /bin

NOW I  CAN login...


Saturday, February 2, 2013

Database Mysql/MSaccess to Oracle migration all weekend


Its been almost a week trying to solve this database migration. The source in msaccess, mysql, csv and text file and my target database is oracle. 

Here are the following steps in my migration path:

1. Install oracle database server Oracle Database 11gR2 on CentOS 6.3 64 bit

2.  Install Sqldeveloper on MacOSX 10.6.8 64bit plus third party database connection (jtds driver, mysql driver and access driver)

3.  Oracle database repository preparation 

4.  Actual migration process using sqldeveloper migration tool.

5. Test and verify migration process.

Details of this process is not part of this post.

Thursday, January 17, 2013

From: The Zen of Python


    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one-- and preferably only one --obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea -- let's do more of those!