Friday, June 15, 2007

MySQL on MAC

Boy, switching to a MAC after years and years of PC's is tough, but I am enjoying it. I though I would provide a few hints where I had trouble and to me a little while figure out.

MySQL install went okay but I did have a few challenges.

  1. Know DOS but my unix/linix command skills are very rusty. So I relied on tranlation sites to get me through. Just google unix vrs dos commands. Ex. http://unixhelp.ed.ac.uk/DOStoUNIX.html
  2. Finding terminal. It's under applications and then utilities! Or just type terminal in Finder.
  3. Be sure to run a 3 files in the 5.0 download.
    1. mysql-5.0.41-osx10.4-i686.pkg //main install easy and quick
    2. MySQLStartItem.pkg //since we windows boys are mac dumb this like placing in you startup
    3. MySQL.prefPane //puts a monitor and start and stop tool in control panel
  4. Look in your Application folder to find the MySQL Query Browser
  5. I had trouble connecting with CF. It was because I needed another user added in the database
    1. open Terminal
    2. Type: sudo /usr/local/mysql/bin/mysql
    3. type in root password
    4. you should get a sql prompt mine: mysql>
    5. Connect to the main database by typing: use mysql
    6. User are found a table named user. Do: show tables; desc user;
    7. Add a new user with: create user test@localhost //if name is long you will need to use ticks. Ex 'joehammond'@'localhost'
    8. Set Password
      1. SET PASSWORD FOR 'test'@'localhost' = PASSWORD('newpass');
      2. FYI: the password are encypty to 32 bit. So use the password function shown above
      3. http://dev.mysql.com/doc/refman/5.0/en/set-password.html
    9. Create a test database:
    10. Apply Grants to test database to test user.
  6. Eclipse need the driver go here http://dev.mysql.com/downloads/connector/j/5.0.html
  7. Unpack. I placed the unzip folder in my liabrary
  8. Then in SQL Explorer under Eclipse Preferences setup the extra class path for MySQL driver.
Well, I know I left some gaps but I am tired of typing and want to play some more. I will try to add more later. If you have questions or get stuck just email me. joe.d.hammon@gmail.com

Friday, June 1, 2007

Spiritual Blessings

God sent a new friend and new believer to my door a few weeks ago. Tracey stopped my office and she noticed a Bible on my desk. We began discussing the Bible and shared our testimonies. I shared my blog spot with her and is it because of her I decided to return today.

My last post was in 2 Corinthians but I continued reading the Bible daily and underlining things I learn. I finished the New Testament. I look back now I say WOW that was a lot of reading. I should have commented on my thoughts during this. I learned so many things I should have shared. I am bad. I was not sure if anyone really read this site based on no comments, so I stopped. Typing is not my strong suit and I need encouragement to make myself continue. Tracey encouraged me. So, that is why I am here today. I ran across this in Revelations and it made me think of one our conversations.

Rev 19:13. He was clothed with a robe dipped in blood, and his title was the Word of God.

So, Jesus is the lamb and he is the one in the robe. Jesus is Word of God, which is the Bible. Reference to this can also be found in John 1:1.

John 1.
Prologue: Christ, the Eternal Word
1 In the beginning the Word already existed. The Word was with God, and the Word was God.
2 He existed in the beginning with God. 3 God created everything through him, and nothing was created except through him. 4 The Word gave life to everything that was created, and his life brought light to everyone.

May God bless you.

Tuesday, March 6, 2007

Faith, Trial, and Giving

Each day I grow. I grow in strength and in weakness. My thoughts are challenged between right and wrong. Living a Godly life in what I have been so graciously given. For each trial I am just a child seeking to learn and understand. The Lord, my God is my only strength. He lifts me provide me the strength to patiently endure.

2 Corinthians 5

New Bodies
1 For we know that when this earthly tent we live in is taken down (that is, when we die and leave this earthly body), we will have a house in heaven, an eternal body made for us by God himself and not by human hands. 2 We grow weary in our present bodies, and we long to put on our heavenly bodies like new clothing. 3 For we will put on heavenly bodies; we will not be spirits without bodies. 4 While we live in these earthly bodies, we groan and sigh, but it’s not that we want to die and get rid of these bodies that clothe us. Rather, we want to put on our new bodies so that these dying bodies will be swallowed up by life. 5 God himself has prepared us for this, and as a guarantee he has given us his Holy Spirit.

6 So we are always confident, even though we know that as long as we live in these bodies we are not at home with the Lord. 7 For we live by believing and not by seeing. 8 Yes, we are fully confident, and we would rather be away from these earthly bodies, for then we will be at home with the Lord. 9 So whether we are here in this body or away from this body, our goal is to please him. 10 For we must all stand before Christ to be judged. We will each receive whatever we deserve for the good or evil we have done in this earthly body.

We Are God’s Ambassadors
11 Because we understand our fearful responsibility to the Lord, we work hard to persuade others. God knows we are sincere, and I hope you know this, too. 12 Are we commending ourselves to you again? No, we are giving you a reason to be proud of us, so you can answer those who brag about having a spectacular ministry rather than having a sincere heart. 13 If it seems we are crazy, it is to bring glory to God. And if we are in our right minds, it is for your benefit. 14 Either way, Christ’s love controls us. Since we believe that Christ died for all, we also believe that we have all died to our old life. 15 He died for everyone so that those who receive his new life will no longer live for themselves. Instead, they will live for Christ, who died and was raised for them.

16 So we have stopped evaluating others from a human point of view. At one time we thought of Christ merely from a human point of view. How differently we know him now! 17 This means that anyone who belongs to Christ has become a new person. The old life is gone; a new life has begun!

18 And all of this is a gift from God, who brought us back to himself through Christ. And God has given us this task of reconciling people to him. 19 For God was in Christ, reconciling the world to himself, no longer counting people’s sins against them. And he gave us this wonderful message of reconciliation. 20 So we are Christ’s ambassadors; God is making his appeal through us. We speak for Christ when we plead, “Come back to God! 21 For God made Christ, who never sinned, to be the offering for our sin, so that we could be made right with God through Christ.

http://www.biblegateway.com/passage/?search=2%20corinthians%205;&version=51;

2 Corinthians 6

1 As God’s partners, we beg you not to accept this marvelous gift of God’s kindness and then ignore it. 2 For God says,

“At just the right time, I heard you.
On the day of salvation, I helped you.”

Indeed, the “right time” is now. Today is the day of salvation.

Paul’s Hardships
3 We live in such a way that no one will stumble because of us, and no one will find fault with our ministry. 4 In everything we do, we show that we are true ministers of God. We patiently endure troubles and hardships and calamities of every kind. 5 We have been beaten, been put in prison, faced angry mobs, worked to exhaustion, endured sleepless nights, and gone without food. 6 We prove ourselves by our purity, our understanding, our patience, our kindness, by the Holy Spirit within us, and by our sincere love. 7 We faithfully preach the truth. God’s power is working in us. We use the weapons of righteousness in the right hand for attack and the left hand for defense. 8 We serve God whether people honor us or despise us, whether they slander us or praise us. We are honest, but they call us impostors. 9 We are ignored, even though we are well known. We live close to death, but we are still alive. We have been beaten, but we have not been killed. 10 Our hearts ache, but we always have joy. We are poor, but we give spiritual riches to others. We own nothing, and yet we have everything.

11 Oh, dear Corinthian friends! We have spoken honestly with you, and our hearts are open to you. 12 There is no lack of love on our part, but you have withheld your love from us. 13 I am asking you to respond as if you were my own children. Open your hearts to us!

The Temple of the Living God
14 Don’t team up with those who are unbelievers. How can righteousness be a partner with wickedness? How can light live with darkness? 15 What harmony can there be between Christ and the devil? How can a believer be a partner with an unbeliever? 16 And what union can there be between God’s temple and idols? For we are the temple of the living God. As God said:

“I will live in them
and walk among them.
I will be their God,
and they will be my people.

17 Therefore, come out from among unbelievers,
and separate yourselves from them, says the Lord.
Don’t touch their filthy things,
and I will welcome you.
18 And I will be your Father,
and you will be my sons and daughters,
says the Lord Almighty.”

http://www.biblegateway.com/passage/?search=2%20corinthians%206;&version=51;

2 Corinthians 7

1 Because we have these promises, dear friends, let us cleanse ourselves from everything that can defile our body or spirit. And let us work toward complete holiness because we fear God.

2 Please open your hearts to us. We have not done wrong to anyone, nor led anyone astray, nor taken advantage of anyone. 3 I’m not saying this to condemn you. I said before that you are in our hearts, and we live or die together with you. 4 I have the highest confidence in you, and I take great pride in you. You have greatly encouraged me and made me happy despite all our troubles.

Paul’s Joy at the Church’s Repentance
5 When we arrived in Macedonia, there was no rest for us. We faced conflict from every direction, with battles on the outside and fear on the inside. 6 But God, who encourages those who are discouraged, encouraged us by the arrival of Titus. 7 His presence was a joy, but so was the news he brought of the encouragement he received from you. When he told us how much you long to see me, and how sorry you are for what happened, and how loyal you are to me, I was filled with joy!

8 I am not sorry that I sent that severe letter to you, though I was sorry at first, for I know it was painful to you for a little while. 9 Now I am glad I sent it, not because it hurt you, but because the pain caused you to repent and change your ways. It was the kind of sorrow God wants his people to have, so you were not harmed by us in any way. 10 For the kind of sorrow God wants us to experience leads us away from sin and results in salvation. There’s no regret for that kind of sorrow. But worldly sorrow, which lacks repentance, results in spiritual death.

11 Just see what this godly sorrow produced in you! Such earnestness, such concern to clear yourselves, such indignation, such alarm, such longing to see me, such zeal, and such a readiness to punish wrong. You showed that you have done everything necessary to make things right. 12 My purpose, then, was not to write about who did the wrong or who was wronged. I wrote to you so that in the sight of God you could see for yourselves how loyal you are to us. 13 We have been greatly encouraged by this.

In addition to our own encouragement, we were especially delighted to see how happy Titus was about the way all of you welcomed him and set his mind at ease. 14 I had told him how proud I was of you—and you didn’t disappoint me. I have always told you the truth, and now my boasting to Titus has also proved true! 15 Now he cares for you more than ever when he remembers the way all of you obeyed him and welcomed him with such fear and deep respect. 16 I am very happy now because I have complete confidence in you.


http://www.biblegateway.com/passage/?search=2%20corinthians%207;&version=51;

2 Corinthians 8
A Call to Generous Giving
1 Now I want you to know, dear brothers and sisters, what God in his kindness has done through the churches in Macedonia. 2 They are being tested by many troubles, and they are very poor. But they are also filled with abundant joy, which has overflowed in rich generosity.

3 For I can testify that they gave not only what they could afford, but far more. And they did it of their own free will. 4 They begged us again and again for the privilege of sharing in the gift for the believers in Jerusalem. 5 They even did more than we had hoped, for their first action was to give themselves to the Lord and to us, just as God wanted them to do.

6 So we have urged Titus, who encouraged your giving in the first place, to return to you and encourage you to finish this ministry of giving. 7 Since you excel in so many ways—in your faith, your gifted speakers, your knowledge, your enthusiasm, and your love from us—I want you to excel also in this gracious act of giving.

8 I am not commanding you to do this. But I am testing how genuine your love is by comparing it with the eagerness of the other churches. This is one way to prove your love is real.

9 You know the generous grace of our Lord Jesus Christ. Though he was rich, yet for your sakes he became poor, so that by his poverty he could make you rich.

10 Here is my advice: It would be good for you to finish what you started a year ago. Last year you were the first who wanted to give, and you were the first to begin doing it. 11 Now you should finish what you started. Let the eagerness you showed in the beginning be matched now by your giving. Give in proportion to what you have. 12 Whatever you give is acceptable if you give it eagerly. And give according to what you have, not what you don’t have. 13 Of course, I don’t mean your giving should make life easy for others and hard for yourselves. I only mean that there should be some equality. 14 Right now you have plenty and can help those who are in need. Later, they will have plenty and can share with you when you need it. In this way, things will be equal. 15 As the Scriptures say,

“Those who gathered a lot had nothing left over,
and those who gathered only a little had enough.”

Titus and His Companions
16 But thank God! He has given Titus the same enthusiasm for you that I have. 17 Titus welcomed our request that he visit you again. In fact, he himself was very eager to go and see you. 18 We are also sending another brother with Titus. All the churches praise him as a preacher of the Good News. 19 He was appointed by the churches to accompany us as we take the offering to Jerusalem—a service that glorifies the Lord and shows our eagerness to help.

20 We are traveling together to guard against any criticism for the way we are handling this generous gift. 21 We are careful to be honorable before the Lord, but we also want everyone else to see that we are honorable.

22 We are also sending with them another of our brothers who has proven himself many times and has shown on many occasions how eager he is. He is now even more enthusiastic because of his great confidence in you. 23 If anyone asks about Titus, say that he is my partner who works with me to help you. And the brothers with him have been sent by the churches, and they bring honor to Christ. 24 So show them your love, and prove to all the churches that our boasting about you is justified.

http://www.biblegateway.com/passage/?search=2%20corinthians%208;&version=51;


Sunday, March 4, 2007

Introduction to Soccer

I may should say sports in general. I have never been one with much of care for any sport. I enjoy going to a ball park and eating and taking in the scenery. But nothing with passion like most men. That may be about to change. My son at age 4 going on 5 seems love all sports. Today Sean started recreational soccer. I had learn about shin guards and under armour. Plus just pricey this stuff really is. Wow. 40 bucks for a boys under shirt called Cold Gear. But his mom says he is worth it took keep him warm. Here are some shots of Sean in action for Germantown Fury Monsters.

From Sean 1st Soccer


From Sean 1st Soccer


From Sean 1st Soccer

Friday, March 2, 2007

Thanksgiving

This is clear that we are here to spread the Good News about Christ. It also crys out to me that we need to love and help our neighbors, seek them and share this Good News. Last month my brother-n-law Gerald, ran across this video and shared with me. It is about no hording the gift but to share.

2 Corinthians 4

Treasure in Fragile Clay Jars
1 Therefore, since God in his mercy has given us this new way, we never give up. 2 We reject all shameful deeds and underhanded methods. We don’t try to trick anyone or distort the word of God. We tell the truth before God, and all who are honest know this.

3 If the Good News we preach is hidden behind a veil, it is hidden only from people who are perishing. 4 Satan, who is the god of this world, has blinded the minds of those who don’t believe. They are unable to see the glorious light of the Good News. They don’t understand this message about the glory of Christ, who is the exact likeness of God.

5 You see, we don’t go around preaching about ourselves. We preach that Jesus Christ is Lord, and we ourselves are your servants for Jesus’ sake. 6 For God, who said, “Let there be light in the darkness,” has made this light shine in our hearts so we could know the glory of God that is seen in the face of Jesus Christ.

7 We now have this light shining in our hearts, but we ourselves are like fragile clay jars containing this great treasure. This makes it clear that our great power is from God, not from ourselves.

8 We are pressed on every side by troubles, but we are not crushed. We are perplexed, but not driven to despair. 9 We are hunted down, but never abandoned by God. We get knocked down, but we are not destroyed. 10 Through suffering, our bodies continue to share in the death of Jesus so that the life of Jesus may also be seen in our bodies.

11 Yes, we live under constant danger of death because we serve Jesus, so that the life of Jesus will be evident in our dying bodies. 12 So we live in the face of death, but this has resulted in eternal life for you.

13 But we continue to preach because we have the same kind of faith the psalmist had when he said, “I believed in God, so I spoke.” 14 We know that God, who raised the Lord Jesus, will also raise us with Jesus and present us to himself together with you. 15 All of this is for your benefit. And as God’s grace reaches more and more people, there will be great thanksgiving, and God will receive more and more glory.

16 That is why we never give up. Though our bodies are dying, our spirits are being renewed every day. 17 For our present troubles are small and won’t last very long. Yet they produce for us a glory that vastly outweighs them and will last forever! 18 So we don’t look at the troubles we can see now; rather, we fix our gaze on things that cannot be seen. For the things we see now will soon be gone, but the things we cannot see will last forever.

http://www.biblegateway.com/passage/?search=2%20corinthians%204;&version=51;

Thursday, March 1, 2007

Hallelujah!

I label this hallelujah because the Spirit of the Lord lifted and held on to me yesterday and carried me through. I felt it and I know the joy I felt was from him. As this scripture below says, "We are confident because of out great trust in God through Christ."

Interesting , look at verse 14 and 15. It describes why those who cannot grasp or understand the Good News we have been reading about

2 Corinthians 3

1 Are we beginning to praise ourselves again? Are we like others, who need to bring you letters of recommendation, or who ask you to write such letters on their behalf? Surely not! 2 The only letter of recommendation we need is you yourselves. Your lives are a letter written in our hearts; everyone can read it and recognize our good work among you. 3 Clearly, you are a letter from Christ showing the result of our ministry among you. This “letter” is written not with pen and ink, but with the Spirit of the living God. It is carved not on tablets of stone, but on human hearts.

4 We are confident of all this because of our great trust in God through Christ. 5 It is not that we think we are qualified to do anything on our own. Our qualification comes from God. 6 He has enabled us to be ministers of his new covenant. This is a covenant not of written laws, but of the Spirit. The old written covenant ends in death; but under the new covenant, the Spirit gives life.

The Glory of the New Covenant
7 The old way, with laws etched in stone, led to death, though it began with such glory that the people of Israel could not bear to look at Moses’ face. For his face shone with the glory of God, even though the brightness was already fading away. 8 Shouldn’t we expect far greater glory under the new way, now that the Holy Spirit is giving life? 9 If the old way, which brings condemnation, was glorious, how much more glorious is the new way, which makes us right with God! 10 In fact, that first glory was not glorious at all compared with the overwhelming glory of the new way. 11 So if the old way, which has been replaced, was glorious, how much more glorious is the new, which remains forever!

12 Since this new way gives us such confidence, we can be very bold. 13 We are not like Moses, who put a veil over his face so the people of Israel would not see the glory, even though it was destined to fade away. 14 But the people’s minds were hardened, and to this day whenever the old covenant is being read, the same veil covers their minds so they cannot understand the truth. And this veil can be removed only by believing in Christ. 15 Yes, even today when they read Moses’ writings, their hearts are covered with that veil, and they do not understand.

16 But whenever someone turns to the Lord, the veil is taken away. 17 For the Lord is the Spirit, and wherever the Spirit of the Lord is, there is freedom. 18 So all of us who have had that veil removed can see and reflect the glory of the Lord. And the Lord—who is the Spirit—makes us more and more like him as we are changed into his glorious image. And as the Spirit of the Lord works within us we become more and more like him and reflect his glory even more.

http://www.biblegateway.com/passage/?search=2%20corinthians%203;&version=51;

Wednesday, February 28, 2007

Forgiveness

Paul is seeking to send healing upon the church for what they suffered through with this man he asked them to outcast in 1 Corintihians 5. Paul sends a clear message that our job as christians is to spread the Good News. Paul affirms God is watching us.

2 Corinthians 2

1 So I decided that I would not bring you grief with another painful visit. 2 For if I cause you grief, who will make me glad? Certainly not someone I have grieved. 3 That is why I wrote to you as I did, so that when I do come, I won’t be grieved by the very ones who ought to give me the greatest joy. Surely you all know that my joy comes from your being joyful. 4 I wrote that letter in great anguish, with a troubled heart and many tears. I didn’t want to grieve you, but I wanted to let you know how much love I have for you.

Forgiveness for the Sinner
5 I am not overstating it when I say that the man who caused all the trouble hurt all of you more than he hurt me. 6 Most of you opposed him, and that was punishment enough. 7 Now, however, it is time to forgive and comfort him. Otherwise he may be overcome by discouragement. 8 So I urge you now to reaffirm your love for him.

9 I wrote to you as I did to test you and see if you would fully comply with my instructions. 10 When you forgive this man, I forgive him, too. And when I forgive whatever needs to be forgiven, I do so with Christ’s authority for your benefit, 11 so that Satan will not outsmart us. For we are familiar with his evil schemes.

12 When I came to the city of Troas to preach the Good News of Christ, the Lord opened a door of opportunity for me. 13 But I had no peace of mind because my dear brother Titus hadn’t yet arrived with a report from you. So I said good-bye and went on to Macedonia to find him.

Ministers of the New Covenant
14 But thank God! He has made us his captives and continues to lead us along in Christ’s triumphal procession. Now he uses us to spread the knowledge of Christ everywhere, like a sweet perfume. Now wherever we go he uses us to tell others about the Lord and to spread the Good news like sweet perfume. 15 Our lives are a Christ-like fragrance rising up to God. But this fragrance is perceived differently by those who are being saved and by those who are perishing. 16 To those who are perishing, we are a dreadful smell of death and doom. But to those who are being saved, we are a life-giving perfume. And who is adequate for such a task as this?

17 You see, we are not like the many hucksters who preach for personal profit. We preach the word of God with sincerity and with Christ’s authority, knowing that God is watching us.

http://www.biblegateway.com/passage/?search=2%20corinthians%202;&version=51;