Thursday, August 25, 2011

Fibonacci Number

Probably the most discussed series of numbers. It's related to the other famous number, Φ the 'Golden Ratio', and has applications in almost all things in the universe, including music.

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, ...

(Define the first 2 number as 0 & 1 and then each successive number is the sum of the two preceding numbers.)

Wednesday, August 24, 2011

Steve Jobs resigns as Apple CEO


It's another historical day and a milestone of this legendary and intriguing character. A sad day, but he finished his duties on a high note.

This is the resignation letter:

To the Apple Board of Directors and the Apple Community:

I have always said if there ever came a day when I could no longer meet my duties and expectations as Apple”s CEO, I would be the first to let you know. Unfortunately, that day has come.

I hereby resign as CEO of Apple. I would like to serve, if the Board sees fit, as Chairman of the Board, director and Apple employee.

As far as my successor goes, I strongly recommend that we execute our succession plan and name Tim Cook as CEO of Apple.

I believe Apple”s brightest and most innovative days are ahead of it. And I look forward to watching and contributing to its success in a new role.

I have made some of the best friends of my life at Apple, and I thank you all for the many years of being able to work alongside you.

Steve


Will always remember his speech at Stanford graduation in 2005:


Friday, August 19, 2011

To My Dear Children, by Anne Bradstreet

To My Dear Children
An Electronic Edition

Anne Bradstreet1612-1672

Original Source: The Works of Anne Bradstreet in Prose and Verse. Edited by John Harvard Ellis. (Charlestown: A. E. Cutter, 1867)

Copyright 2003. This text is freely available provided the text is distributed with the header information provided.

Full Colophon Information
To my Dear Children.
THIS Book by Any yet unread,
I leave for you when I am dead,
That, being gone, here you may find
What was your liveing mother's mind.
Make use of what I leave in Love5.
And God shall blesse you from above.


A. B.
My dear children,–

I, KNOWING by experience that the exhortations of parents take most effect when the speakers leave to speak, and those especially sink deepest which are spoke latest– and being ignorant whether on my death bed I shall have opportunity to speak to any of you, much lesse to All– thought it the best, whilst I was able to compose some short matters, (for what else to call them I know not) and bequeath to you, that when I am no more with you, yet I may bee dayly in your remembrance, (Although that is the least in my aim in what I now doe) but that you may gain some spiritual Advantage by my experience. I have not studyed in this you read to show my skill, but to declare the Truth– not to sett forth myself, but the Glory of God. If I had minded the former, it had been perhaps better pleasing to you,– but seing the last is the best, let it bee best pleasing to you.1.


The method I will observe shall be this– I will begin with God's dealing with me from my childhood to this Day. In my young years, about 6 or 7 as I take it, I began to make conscience of my wayes, and what I knew was sinfull, as lying, disobedience to Parents, &c. I avoided it. If at any time I was overtaken with the like evills, it was as a great Trouble. I could not be at rest 'till by prayer I had confest it unto God. I was also troubled at the neglect of Private Dutyes, tho: too often tardy that way. I also found much comfort in reading the Scriptures, especially those places I thought most concerned my Condition, and as I grew to have more understanding, so the more solace I took in them.2.


In a long fit of sickness which I had on my bed I often communed with my heart, and made my supplication to the most High who sett me free from that affliction.3.


But as I grew up to bee about 14 or 15 I found my heart more carnall, and sitting loose from God, vanity and the follyes of youth take hold of me.4.


About 16, the Lord laid his hand sore upon me and smott mee with the small pox. When I was in my affliction, I besought the Lord, and confessed my Pride and Vanity and he was entreated of me, and again restored me. But I rendered not to him according to the benefitt received.5.


After a short time I changed my condition and was marryed, and came into this Country, where I found a new world and new manners, at which my heart rose. But after I was convinced it was the way of God, I submitted to it and joined to the church at Boston.6.


After some time I fell into a lingering sickness like a consumption, together with a lamenesse, which correction I saw the Lord sent to humble and try me and doe mee Good: and it was not altogether ineffectual.7.


It pleased God to keep me a long time without a child, which was a great greif to me, and cost mee many prayers and tears before I obtaind one, and after him gave mee many more, of whom I now take the care, that as I have brought you into the world, and with great paines, weaknes, cares, and feares brought you to this, I now travail in birth again of you till Christ bee formed in you.8.


Among all my experiences of God's gratious Dealings with me, I have constantly observed this, that he hath never suffered me long to sitt loose from him, but by one affliction or other hath made me look home, and search what was amisse – so usually thus it hath been with me that I have no sooner felt my heart out of order, but I have expected correction for it, which most commonly hath been upon my own person, in sicknesse, weaknes, paines, sometimes on my soul, in Doubts and feares of God's displeasure, and my sincerity towards him, sometimes he hath smott a child with a sicknes, sometimes chasstened by losses in estate, – and these Times (thro: his great mercy) have been the times of my greatest Getting and Advantage, yea I have found them the Times when the Lord hath manifested the most Love to me. Then have I gone to searching, and have said with David, Lord search me and try me, see what wayes of wickednes are in me, and lead me in the way everlasting: and seldome or never but I have found either some sin I lay under which God would have reformed, or some duty neglected which he would have performed. And by his help I have layd Vowes and Bonds upon my Soul to perform his righteous commands.9.


If at any time you are chastened of God, take it as thankfully and Joyfully as in greatest mercyes, for if yee bee his yee shall reap the greatest benefitt by it. It hath been no small support to me in times of Darknes when the Almighty hath hid his face from me, that yet I have had abundance of sweetness and refreshment after affliction, and more circumspection in my walking after I have been afflicted. I have been with God like an untoward child, that no longer than the rod has been on my back (or at least in sight) but I have been apt to forgett him and myself too. Before I was afflicted I went astray, but now I keep thy statutes.10.


I have had great experience of God's hearing my Prayers, and returning comfortable Answers to me, either in granting the Thing I prayed for, or else in satissfying my mind without it; and I have been confident it hath been from him, because I have found my heart through his goodnes enlarged in Thankfulnes to him.11.


I have often been perplexed that I have not found that constant Joy in my Pilgrimage and refreshing which I supposed most of the servants of God have; although he hath not left me altogether without the wittnes of his holy spirit, who hath oft given mee his word and sett to his Seal that it shall bee well with me. I have sometimes tasted of that hidden Manna that the world knowes not, and have sett up my Ebenezer, and have resolved with myself that against such a promis, such tasts of sweetnes, the Gates of Hell shall never prevail. Yet have I many Times sinkings and droopings, and not enjoyed that felicity that somtimes I have done. But when I have been in darkness and seen no light, yet have I desired to stay myself upon the Lord.12.


And, when I have been in sickness and pain, I have thought if the Lord would but lift up the light of his Countenance upon me, altho: he ground me to powder, it would bee but light to me; yea, oft have I thought were it hell itself, and could there find the Love of God toward me, it would bee a Heaven. And, could I have been in Heaven without the Love of God, it would have been a Hell to me; for, in Truth, it is the absence and presence of God that makes Heaven or Hell.13.


Many times hath Satan troubled me concerning the verity of the scriptures, many times by Atheisme how I could know whether there was a God; I never saw any miracles to confirm me, and those which I read of how did I know but they were feigned. That there is a God my Reason would soon tell me by the wondrous workes that I see, the vast frame of the Heaven and the Earth, the order of all things, night and day, Summer and Winter, Spring and Autumne, the dayly providing for this great houshold upon the Earth, the preserving and directing of All to its proper end. The consideration of these things would with amazement certainly resolve me that there is an Eternall Being. 14.


But how should I know he is such a God as I worship in Trinity, and such a Saviour as I rely upon? tho: this hath thousands of Times been suggested to mee, yet God hath helped me over. I have argued thus with myself. That there is a God I see. If ever this God hath revealed himself, it must bee in his word, and this must bee it or none. Have I not found that operation by it that no humane Invention can work upon the Soul? hath not Judgments befallen Diverse who have scorned and contemd it? hath it not been preserved thro: All Ages maugre all the heathen Tyrants and all of the enemyes who have opposed it? Is there any story but that which showes the beginnings of Times, and how the world came to bee as wee see? Doe wee not know the prophecyes in it fullfilled which could not have been so long foretold by any but God himself?15.


When I have gott over this Block, then have I another putt in my way, That admitt this bee the true God whom wee worship, and that bee his word, yet why may not the Popish Religion bee the right? They have the same God, the same Christ, the same word: they only enterprett it one way, wee another.16.


This hath somtimes stuck with me, and more it would, but the vain fooleries that are in their Religion, together with their lying miracles and cruell persecutions of the Saints, which admitt were they as they terme them, yet not so to bee dealt withall.17.


The consideration of these things and many the like would soon turn me to my own Religion again.18.


But some new Troubles I have had since the world has been filled with Blasphemy, and Sectaries, and some who have been accounted sincere Christians have been carryed away with them, that somtimes I have said, Is there ffaith upon the earth? and I have not known what to think. But then I have remembred the words of Christ that so it must bee, and that, if it were possible, the very elect should bee deceived. Behold, saith our Saviour, I have told you before. That hath stayed my heart, and I can now say, Return, O my Soul, to thy Rest, upon this Rock Christ Jesus will I build my faith; and, if I perish, I perish. But I know all the Powers of Hell shall never prevail against it. I know whom I have trusted, and whom I have beleived, and that he is able to keep that I have committed to his charge. 19.


Now to the King, Immortall, Eternall, and invisible, the only wise God, bee Honoure and Glory for ever and ever! Amen.20.


This was written in much sicknesse and weaknes, and is very weakly and imperfectly done; but, if you can pick any Benefitt out of it, it is the marke which I aimed at.21.

Tuesday, August 02, 2011

Howto: iphone with multiple google calendar

https://www.google.com/calendar/iphoneselect