Think With Your Right Sided Brain

One book that I read last Sunday influence me so much. Eventhough I didn’t read the book completely, but the main idea has been enrich my knowledge about the brillian idea that always come from the right brain thinker. The book was written by one of the successful people that deploying right brain for thinking. The author is Ippho Santosa (to Ippho Santosa, ask for your permission to mention your name in my current writing). I would recommend you to this book. Come on, go to the bookstore and get the book. I believe you will be satisfied after you had read it. The applied language was so light and had fully joke to help the reader get the main idea of each passage. Quite easy to get the book and I am sure the book will be one of the best seller marketing book. Please noted that title is “Marketing is bullshit!”.

The content was started with explanation about the differences between left brain thinker and right brain thinker. The explanation is so clear that can help you to understand the blazing of using your right brain. He explained about why the successful people were so rare in the community. The reason was undenied, that the successful people is optimizing their capability by using their right brain intensively, rather than their left brain. Thinking with right brain means thinking about something with unlinear method. It is not logically thinking, but it is like a long jumping frog. We could say, step your foot forward two or three steps in one times movement. Some people also identified the method is unusual way or unbelievable way. But yes, of course some of the choosen method doesn’t make sense, but it works! Thinking out of the box is also one of the component that came out from the right brain.

So, to boost achievement of your objective, destiny, success, you should employ your right brain into your current state. The more you put your right brain, the faster you will gain the successful thing in your life. rit bra

Connecting PHP to MYSQL Database in another machine

If you had webserver and you had another mysql that hosting your database, and it is kept in another machine and you want to connect it via your local area network, so you need to grant access for remote connection on that mysql.

Please run the following script on SQL command at that mysql database :

GRANT ALL PRIVILEGES ON [dbname].* to
                ‘[user]‘@’[hostname]‘ identified by
                ‘[password]‘

Note : replace [dbname] with your database name, replace [user] with your username or you can put root as default, replace [hostname] with your computer IP/name that act as your webserver, and replace [password]  with your password that set at the beginning.

For doing some testing, you can try the following command (command prompt) at your computer that act as webserver :

telnet xxx.xxx.xxx.xxx 3306 <enter>

Note : if you don’t see the message that the computer (hosted mysql database)  refuse your connection directly, it means your connection to that mysql database can be established.

Putting Your MySQL Data into Datagrid with ADODC

I believe the following information I post here is not too easy to be found while you are searching in internet. I’ve been wasted for almost 2 days to making VB6′s Datagrid control get connected to some of MySQL database. Some of this information are also taken from some books I read. I’m sure some of the other beginner like me would face this problem also, so I feel this is important to share with all of you.

So, let’s begin. When you try to connect your Datagrid control (from Microsoft Datagrid 6.0 (OLEDB)), please make sure you have already put ADODC to your project reference. If don’t, you can add some ADODC control at your form, then run the project for the first time (later on you can delete this ADODC control; it’s only for initial running to make the ADODC’s reference be included with your program).

Please note, you need to install MySQL ODBC connector, but please make sure you don’t use the version 3.51, because ADODC 6.0 cannot run with this version. Please install the version 5.1 or newer. For you who dont’ have and install it (the MySQL ODBC Connector), you can get it from the following link : http://dev.mysql.com/downloads/connector/odbc/5.1.html

Now, let’s start our VB6. In coding windows, please type the following codes :

Option Explicit
Dim con As ADODB.Connection
Dim tbITSupport As ADODB.Recordset
Private Sub Form_Load()
    Set con = New ADODB.Connection
    con.CursorLocation = adUseClient
    con.ConnectionString = “Driver={MySQL ODBC 5.1 Driver};” & _
                        “SERVER=;PWD=;UID=;” & _
                        “PORT=3306;DATABASE=IT;”
    con.Open
    Set tbITSupport = New ADODB.Recordset
    tbITSupport.LockType = adLockOptimistic
    tbITSupport.CursorType = adOpenDynamic
    tbITSupport.Open “Select noform,tgl,jam,departemen,extension from itsupport”, _
                    con, , , adCmdText
    Set DataGrid1.DataSource = tbITSupport
   
End Sub

———————–

Note : I took some columns from my project (my table name in MySQL is ITSupport).

Any comment or want to add some information to help me sharing the topic more completely? So, please drop your comment. I would really appreciate it. Thank you all.

We are not only black and white at all !

The more you learn the more you will be wiser. This is what I’ve picked from this weekly sermon from the priest. Most of us are often falling into perspective of looking something as black or white condition. Hurrying judgement to someone or something is very often seen in our daily life nowadays. People are blaming each other, no body admit to his/her own false or sin. If one thing became wrong, it is very easy to say that this is because of your false, not me.

So, what we should do to cope this weakness as a human being ? First of all, please keep praying to God to asking Him to share a little bit of His wisdom for us. Second, learning from the words of wiseman, but please keep on mind as the changing happen time to time, not every word are fitted with the condition of recent day. The only thing we shall to do is picking the core of the words, and adapted it for the current condition.

Third, this is the most important, please do not looking someone or something only at two side, but be consider that everything has something which is in progression, to becoming good or bad (of course we hope it becoming good). Please always looking something happen very carefully and don’t make any prejudice before you listen from many sources, and also looking it from several point of view. Be conscious, we are human being that having good intelligence, but are very capable to hurt somebody else’s heart and even “killing” them through our blurting out.

Eager to be rich at your pension day ?

Just for sharing the idea of a book that I read yesterday at the bookstore. The title exactly is not same with my blog’s title. The title of the book  was “Kebelet Kaya” in Indonesian, which I translated as “eager to be rich at your pension day ?”. I know this topic is as old as the industrialism had begun at a few century ago that we know the working class people had been created automatically by this industrialism’s effect. The people who totally earn their income by working at the other people’s capital. Some of them were working only for a part of their life and begin as an entrepreneur themself, but some of them remain worked until their pension day. This book elaborates the two kind of these people. The author gives a plenty of examples for the successful people who don’t work until their pension day, but started to begin their own business in their earliest age. The successful people is not just meaning that success in their wealth, but also in their emosional manner. Their life become colorful of many things that happened when they struggle while they are doing their own bussiness in the up and down situation. They can maintain their spirit and look more live compared to the other people who work for the other people until their pension day. The people who were working until their pension day seem don’t have as much spirit as those entrepreneur people. And their emotional intelligent looked quite lower than the entrepreneur people. I believe, that you’ve ever heard post power syndrome, right ? The people who face the kind of  “lose of power(working ability) disease” which is actually we don’t have medicine for that. Which group of people are you in now ? I hope you will be the group of entrepreneur.

To be a light of Christmas’s bright as your next year resolutions

A blessing month has been came, we are in December again ! A long journey for the year 2009 will be passed away in these few days. What are your achievements for this year 2009 ? Do they satisfy you along with your set goal in the beginning of this year ? I hope so that all the happiness will come to you with the bright of the Christmas day. As the Christmas celebration’s theme of my company this year : “Working in bright of Christmas for our next days”, let’s  work as part of the bright of Christmas to the other people in our company or community. As the Jesus ‘s love give us for the whole year, we could share these love to other people around us in the next days. How ? Just follow a few simple step. First, be acting in the true and good manner in every situation, that means do the true thing you believe is true or acting as a good human being. Of course, don’t do the bad thing that you know is totally not true. It’s so simple right ? Now, the second is share your fortune to the unfortunate people. There is one paradigm that we should believe it’s true; it says that the more you give, the more you will be given.  The third is listening to the wise man’s words. Who is the wise man ? There are many people that could be the wise man for you. It could be your boss, your religion leader, your parent, the older people. Why ?  These wise people express their statements or words based on the experiences or realities they had faced/ listened. Don’t loose your time in vain, because you don’t know what the other people had known before.  That’s all from me. If it’s possible, I hope you will be put my thoughts as a part of your resolutions for the next year. The last but at least, I would say “Merry Christmas and Happy New Year 2010” to all of you.

Show PDF file in PHP

If you want to show your PDF file in PHP, you can put the code as follow :

———————

<?php

$pdf=’Showing.pdf’;
header(‘Content-type: application/pdf’);

header(‘Content-Disposition: attachment; filename=”‘.pdf.’”‘);

readfile($pdf);
?>

————————–

Note : The above code will open/ save PDF file as attachment. If you want to show the PDF file directly into same window, you can change the Content-disposition type into inline. So, the line

header(‘Content-Disposition: attachment; filename=”‘.pdf.’”‘);” should be change into :

header(‘Content-Disposition: inline; filename=”‘.pdf.’”‘);

——————————-

There is many option can be used for header field in PHP. For complete reference, you can follow this link : http://www.faqs.org/rfcs/rfc2183

Hope this article can be useful.


Compassionate for The Bomb’s Victim

Friday, 17th July 2009, three days before Manchester United, the champion of English prime league 2009,  comes to Jakarta Indonesia for the exhibition match with Indonesian all star team, the terrorist had put several innocent people into dead. Some other people were foreign tourist and the others were Indonesian people. What a shocking and unpredictable moment that the same suicide bombing recur at the same place which is the JW Marriott Hotel a few years ago (2003).  The second explosively bomb was happened also at Ritz Carlton Hotel which is the place that Manchester United official and player team will staying during their tour to Indoneisa for exhibition match with Indonesian All Star team. The terrible incident had made Manchester United team cancel their visit to Indonesia, even the chief of Indonesian Football Association go to the Malaysia for assuring that Indonesia will escalating close custody for the all member of team.

The most important thing that the actor behind these bomb is not human being at all. Of course, we realise that there is a motive why they are doing this aggresive action, but they had already caused the innocent people to become victims. They had took over someone life whom had been killed by the bombs. May be some of the victims were a wage earner for their family and their dead will put the family into suffering situation. I think the terrorist had lost consideration for this matter.  We can conclude that the terrorists, don’t have any affection as the human being. We know that every religion in the world teaches the followers to compassionate each other and also to love each other apart from the religion.

At the end, I just want to say that I really condolence for all the victim of this tragedy, and I hope that Indonesian Police Intelligent Agency can clamping down on the bomb terror in the future.

Learning from Michael Jackson’s Dead

Hi All,

This is the first time I write my blog in English. I know it’s not really good, but I hope it can be understood by everyone. It seems to be not long ago since the dead of Michael Jackson. Everyone who love pop music will be remembered of his influences in pop music.

The unique style of his pop music and his excellent stage performance have been influenced many pop singer. Many musical observer has commented on his great performance after his dead and they are agree to admit his contribution of pop music to be the unforgettable moment even past many years in the future.

What do we learn of Michael Jackson’s dead ? First, Michael Jackson’s dedication is a good role model for person who wants to get confession as ripsnorter. We know that musical world is not the primary thing in human’s live, but it could not understate the existence of human being. It could bring up to the improvement of someone’s live and potention.

Second thing, the creativity of Michael Jackson should be the main thing that can be followed by us. It will diversify one person to be unique, compared with the others. Unique product will be remain unforgettable thing for the rest of the world. So, a retorical question, could we be creative as Michael Jackson ? Please keep this question for yourself and don’t forget to answer it by giving your best effort on getting it.

The last but at least, we know that Michael Jackson’s dead had leave behind quite a lot of his obligation. It will be a good lesson for us, the popularity of someone sometimes could make his/her life miserable when he/she forgot to stop his/her ambition. We can learn that Michael Jackson is ambitious person that he can get everything once it passed to his mind, even though his power of money is not enough to gain. Yes, that we know the proverb of “no pain no gain”, but also don’t forget that “you can plan something, but the granting is in God”.

Hope you can enjoy my article today. Thanks.

Should We Dreaming ? Yes, We Should Keep Dreaming, But Don’t Forget About The Action !

Do you realise that our eyes and ears are not only doing for basic function like seeing and listening something ? Of course, they are absolutely vital for supporting our life, but we should also know that through these two vital organs, we could gather much information from the other successful people by learning their effort intake. We could listen to their recipes for their success and also seeing what they get when the success has reached to their life. The success story of those people may be can inspire us by dreaming that the success also can be gained by us.

By always keep dreaming of those kind of success, it will keep up our spirit on the right track and also can improve ourself to gain the higher success in the future for our carier or job. So, don’t be afraid or loose your concentration  for dreaming the success.

Keep dreaming of success everyday is good for us, but it is not right to take the pillow then sleeping for a long hour  every day in a bed. I swear that you can’t make the dream will be coming true in the future. Take action man ! Yes,  keep trying to do something you are good in it. Don’t be  give up for some fails or  mistakes happen as the result, because we can improve our experience to do the same thing by learning the mistakes or errors that happened again in the future.

Remember, there is some idiom or expression that said if we keep thinking that  we can did something, we had already gained a half or 50% of the success.

So, as the conclusion, let’s keep dreaming, keep trying, and keep up spirits.

Follow

Get every new post delivered to your Inbox.