How to Seek Out, Recognize, and Act Upon the Inspiration of the Holy Ghost


[This is the transcript of a talk I gave in church on Sunday, May 14, 2017.]

We are all here on Earth to follow the plan of salvation and return to live with our Heavenly Father. We all agreed to come to Earth and knew that when we did, we would forget about our heavenly home.

God sent prophets to teach us the plan of salvation. We read their words in the scriptures, and are privileged to live in a time when there are prophets living on the Earth with us and givings us counsel appropriate for our time.

In addition to this, God has promised us the help of a member of the Godhead, the Holy Ghost. The Holy Ghost can give us personal counsel appropriate for the very moment and situation we may find ourself in.

Today I would like to speak about how to seek out, recognize, and act upon the inspiration of the Holy Ghost.


Elder Joseph B. Wirthlin said,

When we are confirmed, we are given the right to the companionship of the Holy Ghost, but it is a right that we must continue to earn through obedience and worthiness. We cannot take this gift for granted.

We can prepare ourselves to receive the inspiration of the Holy Ghost through obedience. The apostle Peter taught that God gives the Holy Ghost to those that obey him. Paul wrote that

the natural man receiveth not the things of the Spirit of God: for they are foolishness unto him: neither can he know them, because they are spiritually discerned.

Elder Wirthlin also said,

I fear that some members of the Lordʼs Church “live far beneath our privileges” with regard to the gift of the Holy Ghost. Some are distracted by the things of the world that block out the influence of the Holy Ghost, preventing them from recognizing spiritual promptings. This is a noisy and busy world that we live in. Remember that being busy is not necessarily being spiritual. If we are not careful, the things of this world can crowd out the things of the Spirit.

If we wish to seek out the inspiration of the Holy Ghost, we may need to make changes to our environment to make it more conducive to the presence of the Spirit. Elder Wirthlin asks,

Do we allow influences into our homes that drive the Spirit from our homes? The type of entertainment that we permit into our homes will certainly have an impact on the power of the Holy Ghost. Much of the entertainment of the world is offensive to the Holy Ghost. Surely we should not watch movies or television shows that are filled with violence, vulgar language, and immorality.

Elder Wirthlin also makes the following suggestions:

Our homes need to be more Christ-centered. We should spend more time at the temple and less time in the pursuit of pleasure. We should lower the noise level in our homes so that the noise of the world will not overpower the still, small voice of the Holy Ghost. One of our greatest goals as parents should be to enjoy the power and influence of the Holy Ghost in our homes. We should pray and study the scriptures. We could sing the hymns of the Restoration to invite the Holy Ghost into our home. Regular family home evening will also help.

After we have prepared ourselves and prepared our environment to invite the inspiration of the Holy Ghost, the best thing we can do to seek that inspiration is to pray and ask for it.

The Lord has said,

the Spirit shall be given unto you by the prayer of faith.

President Boyd K. Packer taught,

Learn to pray. Pray often. Pray in your mind, in your heart. Pray on your knees. Prayer is your personal key to heaven. The lock is on your side of the veil.

The Savior said,

Draw near unto me and I will draw near unto you; seek me diligently and ye shall find me; ask, and ye shall receive; knock, and it shall be opened unto you.

Sincere prayer is how we knock, ask, seek, and draw near unto the Lord.


As we seek out the inspiration of the Holy Ghost, how do we recognize it when it comes? I have heard many people, in one way or another express the following question: If I have a thought to serve someone, how do I know if that thought is inspired by the Holy Ghost, or if I just came up with it myself?

To that question I offer as answer the words of Moroni in the Book of Mormon:

But behold, that which is of God inviteth and enticeth to do good continually; wherefore, every thing which inviteth and enticeth to do good, and to love God, and to serve him, is inspired of God.

Notice that Moroni did not say, “a thing which inviteth to do good might be inspired of God.” He said, “every thing which inviteth […] to do good […] is inspired of God.”

You can recognize the inspiration of the Holy Ghost by asking yourself whether the thought you just had is an invitation to do good. Moroni also said, “all things which are good cometh of God.” Not some things, “all things.”


Once we have recognized the inspiration of the Holy Ghost, it becomes our privilege and duty to act upon the inspiration we receive.

One of the most dramatic and well-known events involving the inspiration of the Holy Ghost is recorded in the New Testament, in Acts, chapter 2. While preaching on the day of Pentecost, the Holy Ghost came upon the apostles, and as they preached, each person heard them speak in their own native language.

After Peter boldly testified of the divinity of Jesus Christ, we read that many in the multitude “were pricked in their heart, and said unto Peter and to the rest of the apostles, Men and brethren, what shall we do?”

Upon recognizing the influence of the Holy Ghost, these people immediately wanted to know what to do next. Peterʼs answer was, “Repent, and be baptized every one of you in the name of Jesus Christ.” We learn from the scriptures that about three thousand people were baptized that same day, acting on the inspiration that they received.

When we recognize the inspiration of the Holy Ghost, we should not wait to act on it. In the words of a hymn,

Children, God delights to teach you
By his Holy Spiritʼs voice.
Quickly heed its holy promptings.
Day by day youʼll then rejoice.

We may not always understand the purpose of a prompting, or how a small act of kindness can make a difference to anyone, but when we quickly act on inspiration, we show to the Lord that we will do what He wants us to do. If we do not act, it may make it harder to recognize inspiration in the future.

For behold, thus saith the Lord God: I will give unto the children of men line upon line, precept upon precept, here a little and there a little; and blessed are those who hearken unto my precepts, and lend an ear unto my counsel, for they shall learn wisdom; for unto him that receiveth I will give more; and from them that shall say, We have enough, from them shall be taken away even that which they have.


If you feel like it has been a long time since you last recognized the inspiration of the Holy Ghost, do not be discouraged. God is our Father and loves each of us perfectly.

He sent [us] here to earth, by faith to live his plan.
The Spirit whispers this to [us] and tells [us] that [we] can.

I know that as we keep the commandments we make ourselves worthy to receive the Holy Ghost. I know that as we bulid sacred and holy environments around us, we invite the Holy Ghost to be close. I know that if we pray sincerely to receiv inspiration, that inspiration will come.

We are Godʼs angels on Earth. Through the inspiration of the Holy Ghost, God instructs us and sends us forth to serve his children, our brothers and sisters.

I know the Holy Ghost will teach us. He will show us what we need to do so that all of us, as the family of God, can return to live with our Father in Heaven.

In the name of Jesus Christ, amen.

You too can -print0


Do you use the command line a lot? Do you search for files with find(1)? Do you send lists of files to xargs(1)? Do the files sometimes have names with spaces, apostrophes, and other special characters in them? Do you think it is great that find -print0 takes care of that when you produce filenames, and xargs -0 takes care of that when you consume them?

Do you write your own command line tools?

Do your command line tools generate lists of files? Can I send the output of your tools to xargs, even if the files have names with special characters in them?

You too can separate filenames in the output of your command line tools with a null character instead of a newline.

This is how I usually do it in Python:


import argparse

parser = argparse.ArgumentParser()
parser.add_argument('-0', '--print0', action='store_true')
args = parser.parse_args()

for filename in generate_filenames_somehow():
    if args.print0:
        print(filename, end='\x00')

Joseph Smith


[This is the transcript of a talk I gave in church on Sunday, June 26, 2016.]

When Christ was on the earth he organized a church so that the gospel could be taught to all nations. He chose certain men as his apostles and gave them authority to preach the gospel and perform ordinances. Even after his death, resurrection, and ascension to heaven Jesus Christ directed his church through visions and revelation to his apostles.

These apostles were prophets. They taught the true doctrine of Christ. Through revelation they helped to answer questions and clarify misunderstandings about Christ and his gospel. Above all, they testified of Jesus Christ: that he was the Son of God; that he died and was resurrected; and that through his atonement all mankind may saved from sin, become perfect, and live with God again.

When these early apostles died, the authority to lead the church was gone. Members of the early Church of Jesus Christ could still rely on the Holy Ghost for personal revelation, but there was no longer a man called by God to direct the church. Without this revelatory link, many truths of the gospel were lost. Argument and division splintered the church.

The apostle Paul prophesied of this. Referring to the second coming of Christ, he said, “for that day shall not come, except there come a falling away first”.

The prophet Nephi also foresaw this. He said,

For it shall come to pass in that day that the churches which are built up, and not unto the Lord, when the one shall say unto the other: Behold, I, I am the Lordʼs; and the others shall say: I, I am the Lordʼs; and thus shall every one say that hath built up churches, and not unto the Lord — And they shall contend one with another; and their priests shall contend one with another, and they shall teach with their learning, and deny the Holy Ghost, which giveth utterance.

Along with this falling away, ancient prophets also foretold of a restoration. The apostle Peter called it “the times of restitution of all things, which God hath spoken by the mouth of all his holy prophets since the world began.” Isaiah called it “a marvellous work and a wonder”. It was even prophesied that the Lord would raise up a prophet named Joseph.

And so this is the situation we find the world in. There are many churches, all claiming to be the Lordʼs church and fighting with one another. The authority to speak in the name of Jesus Christ and to perform the ordinances of his gospel is nowhere to be found on the earth.

Through prophecies given anciently, God promised to restore the truths of the gospel. To do this, God needed a prophet on the earth again. In the words of Elder Neil L. Andersen, “Jesus Christ chose a holy man, a righteous man, to lead the Restoration of the fulness of His gospel. He chose Joseph Smith.”

President Wilford Woodruff taught, “Joseph Smith was kept in the spirit world for thousands of years to be born in the flesh at the right time, and to be inspired of God, to be visited by Him, and to be qualified and prepared for the mission given into his hands.”

Brigham Young likewise testified, “It was decreed in the counsels of eternity, long before the foundations of the earth were laid, that he, Joseph Smith, should be the man, in the last dispensation of this world, to bring forth the word of God to the people, and receive the fulness of the keys and power of the Priesthood of the Son of God.”

Joseph experienced first-hand the religious confusion of his day. Reflecting on that time in his life, he wrote, “so great were the confusion and strife among the different denominations, that it was impossible for a person young as I was, and so unacquainted with men and things, to come to any certain conclusion who was right and who was wrong.”

Fortunately, Joseph was raised by righteous parents who taught him the importance of the scriptures. He studied the Bible on his own. Joseph recalled this feeling after reading James 1:5: “Never did any passage of scripture come with more power to the heart of man than this did at this time to mine. It seemed to enter with great force into every feeling of my heart.”

Joseph had most likely read this scripture before, or heard someone else in his family read it. When you read the scriptures, do you ever get the feeling that you are hearing a verse for the very first time, even though you know youʼve read it before? Pay attention to that feeling. That is the Holy Ghost telling you that that scripture is important for you at that moment. It may be an answer to a question that is troubling you, or, like it was for Joseph, instructions for what to do to obtain an answer.

Joseph learned that “spiritual questions deserve spiritual answers from God.”

And so when he was 14 years old, Joseph Smith went to a quiet spot in the forest near his home to pray for direction. What were you doing when you were 14 years old? Iʼll tell you what I was doing. I was writing in my journal about how much I love Star Wars.

What happened in answer to Joseph Smithʼs prayer was the beginning of the dispensation of the fulness of times. In his own words:

I saw a pillar of light exactly over my head, above the brightness of the sun, which descended gradually until it fell upon me. […] When the light rested upon me I saw two Personages, whose brightness and glory defy all description, standing above me in the air. One of them spake unto me, calling me by name and said, pointing to the other — This is My Beloved Son. Hear Him!

God the Father and his son, Jesus Christ, visited Joseph Smith. Christ told Joseph that none of the churches on the earth at that time taught the fulness of the gospel. None of them had the authority to act in the name of Jesus Christ. Joseph was promised that the truths of the gospel and the authority to organize Christʼs true church would be given to him.

Joseph Smithʼs work was just beginning. When he was 17 years old, Joseph was visited by an angel named Moroni. Joseph learned about an ancient record that he would later translate by the power of God, The Book of Mormon.

What were you doing when you were 17 years old? Iʼll tell you what I was doing. I was writing in my journal about being excited to check my email.

As part of his message, the angel Moroni told Joseph “that [his] name should be had for good and evil among all nations, kindreds, and tongues, or that it should be both good and evil spoken of among all people.” In what way are you fulfilling this prophecy? Do you speak good or evil of the prophet Joseph Smith? Neil L. Andersen said, “Gain a personal witness of the Prophet Joseph Smith. Let your voice help fulfill Moroniʼs prophetic words to speak good of the Prophet.”

When he was 21 years old, Joseph received the record that Moroni had told him about. After some moving around to escape constant persecution, he was 23 years old when he took about two months to translate a book that is over 500 pages long. What were you doing when you were 23 years old? I was in college and I donʼt think I could even read 500 pages in two months.

While translating the Book of Mormon, Joseph learned much about the gospel of Jesus Christ. He learned about priesthood authority. He was visited by John the Baptist, and later by the ancient apostles Peter, James and John. These angelic visitors conferred on Joseph Smith the priesthood, or the authority to act in the name of Jesus Christ.

When Joseph was 24 years old, now holding the proper authority, he formally organized the Church of Christ. After hundreds of years, the church that Jesus Christ himself had organized was now back on earth. And Joseph Smith was the prophet that Christ had chosen to do this work.

In the years that followed, revelation continued to flow to the church through the prophet Joseph. He called other men as apostles. He organized missionary work. He directed the construction of temples and the Lord revealed to him the temple ordinances such as baptism for the dead and the endowment, and eternal marriage. Many of the revelations he received were recorded in what is now the book of Doctrine and Covenants.

The Lord Jesus Christ said:

[…] I have sent forth the fulness of my gospel by the hand of my servant Joseph; and in weakness have I blessed him; And I have given unto him the keys of the mystery of those things which have been sealed, even things which were from the foundation of the world, and the things which shall come from this time until the time of my coming […]

Josephʼs testimony of Jesus Christ is this:

And now, after the many testimonies which have been given of him, this is the testimony, last of all, which we give of him: That he lives! For we saw him, even on the right hand of God; and we heard the voice bearing record that he is the Only Begotten of the Father — That by him, and through him, and of him, the worlds are and were created, and the inhabitants thereof are begotten sons and daughters unto God.

The truthfulness of The Church of Jesus Christ of Latter-day Saints rests on the truthfulness of the First Vision and the other revelations the Lord gave to the Prophet Joseph.

I have a testimony that Joseph Smith was chosen by Jesus Christ to restore the gospel and organize his church. I know that the authority to lead the church and speak in the name of Jesus Christ has been conferred through latter-day prophets in an unbroken line and that The Church of Jesus Christ of Latter-day Saints is directed by Jesus Christ through a prophet today.

In the name of Jesus Christ, amen.

Podcasts on Android


John Gruber linked to Benjamin Mayoʼs 9to5Mac analysis concerning iOSʼs dominance of podcast listening. Mayo writes that most iOS podcast listeners are using Appleʼs first-party podcast app:

Clearly, having the app preinstalled on the system (as of iOS 8) drives a lot of usage.

This is a big deal. Android – at least on Googleʼs Nexus devices – has never shipped with a podcast app preinstalled. Google had their own podcast app, Listen, from 2009 to 2012. They discontinued it because there were plenty of other podcast apps available on the Google Play Store.

(Ironically, podcast subscriptions in the Google Listen app were migrated to Google Reader. Google shut down Reader less than a year later.)

With the lack of a podcast directory and no first-party app, it is clear that Google doesnʼt care about podcasts. But if they are serious about the future of advertising, they would do well to pay attention. Advertising in podcasts is probably the only kind of advertising that I actually pay attention to.

Follow the Prophet


[This is the transcript of a talk I gave in church on Sunday, June 28, 2015.]

God is our Father and we are his children. His greatest desire is that we, as His children, grow to become like He is. He has prepared a plan, the Plan of Happiness, to accomplish this great work, “to bring to pass the immortality and eternal life of man.”

Every person in this room, every person in this city, every person who has ever been born or who will ever be born, made the choice to come to Earth to participate in this plan. We “sang together, and all the sons [and daughters] of God shouted for joy”.

Because of the fall of Adam, when we are born on Earth we are separated from God. We also pass through a veil of forgetfulness that blocks our memories of the premortal existence.

If we are separated from God, and we cannot remember what we knew before we were born, how then can we follow the Plan of Happiness that we were so excited about?

God our Father established a pattern to teach His children on Earth the Plan of Happiness so that we may return to live with Him. He teaches His plan to a prophet and gives that prophet the authority to teach others in His name.

God has followed this pattern, beginning with Adam, the first man, and continuing through the ages until we come to His prophet today, Thomas S. Monson.

How do we know this? The prophets did not just teach the people around them. They also recorded important revelations, which were handed down through generations as scripture. The scriptures record the beginning of prophets on earth:

And in that day the Holy Ghost fell upon Adam […]

And in that day Adam blessed God and was filled, and began to prophesy concerning all the families of the earth, saying: Blessed be the name of God, for because of my transgression my eyes are opened, and in this life I shall have joy, and again in the flesh I shall see God.

And Adam and Eve blessed the name of God, and they made all things known unto their sons and their daughters.

We know of many ancient prophets because we have the scriptures before us. Adam, Enoch, Noah, Abraham, Moses, Isaiah, and others in the Old Testament. Peter, James, John, Paul, and others in the New Testament. Lehi, Nephi, Jacob, Alma, Mormon, Moroni, and others in the Book of Mormon. Even our children know these names.

All these men were chosen by God, taught the Plan of Salvation, and given authority to speak in the name of God.

With the exception of the words of Christ recorded in the New Testament, and a handful of other sacred moments we know of, the majority of what we consider the “word of God” was delivered through a prophet.

We often sing:

Come, listen to a prophetʼs voice, And hear the word of God

The Lord has declared through modern-day revelation:

These words are not of men nor of man, but of me; wherefore, you shall testify they are of me and not of man;

For it is my voice which speaketh them unto you; for they are given by my Spirit unto you, and by my power you can read them one to another; and save it were by my power you could not have them;

Wherefore, you can testify that you have heard my voice, and know my words.

When we hear a prophet speak in the name of the Lord, we can testify that we have heard the voice of the Lord.

Sister Carol F. McConkie, who is currently serving in the Young Women General Presidency, recently taught us the importance of following the prophet. She said:

When we choose to live according to the words of the prophets, we are on the covenant path that leads to eternal perfection.

I am familiar with the sad story of a man who chose not to believe the revelation and counsel given through the prophet. At first, in order to get along with other members of his family, he did appear to follow the prophet. But his obedience proved to be only hollow actions. His heart was just not in it, and he often complained about the inconvenient things the prophet asked him to do.

You may be familiar with this story, too. The manʼs name was Laman.

Laman saw the prophet of God as merely a man, and did not recognize the divine calling and authority given by God to that man.

On the other hand, Laman had a brother that faithfully followed the prophet, doing whatever he was commanded to do. Because Laman did not seek to understand the ways of the Lord, he developed deep feelings of resentment toward his righteous brother, Nephi.

What was the legacy Laman left by not following the prophet? He hated his brother, Nephi, and wanted to kill him. He taught his children to hate the children of Nephi.

And thus [the Lamanites] have taught their children that they should hate [the Nephites], and that they should murder them, and that they should rob and plunder them, and do all they could to destroy them; therefore they have an eternal hatred towards the children of Nephi.

One manʼs choice brought hundreds of years of hatred, war, destruction, and death to generations of his descendants.

Sister McConkie continues:

The Lord [gives us] the opportunity to choose to believe and obey the words of the prophet.

We heed prophetic word even when it may seem unreasonable, inconvenient, and uncomfortable. According to the worldʼs standards, following the prophet may be unpopular, politically incorrect, or socially unacceptable. But following the prophet is always right.

If we are to follow the teachings of the living prophet, perhaps I should give some examples of recent counsel from our prophet today, President Monson. In General Conference just two months ago, he taught us the importance of worshipping in the temple. He said,

Inside this sacred sanctuary, we find beauty and order. There is rest for our souls and a respite from the cares of our lives.

As we attend the temple, there can come to us a dimension of spirituality and a feeling of peace which will transcend any other feeling which could come into the human heart. We will grasp the true meaning of the words of the Savior when He said: “Peace I leave with you, my peace I give unto you. … Let not your heart be troubled, neither let it be afraid.

Such peace can permeate any heart – hearts that are troubled, hearts that are burdened down with grief, hearts that feel confusion, hearts that plead for help.

My brothers and sisters, in our lives we will have temptations; we will have trials and challenges. As we go to the temple, as we remember the covenants we make there, we will be better able to overcome those temptations and to bear our trials. In the temple we can find peace.

President Monson also recently admonished us to search the scriptures to learn specifically about the Savior so that we may follow His example:

We, with Jesus, can walk the path of obedience. […] We, like Jesus, can walk the path of service. […] Other instructions given to us by the Savior are at our fingertips, found in the holy scriptures. […] He instructs us to stand up bravely for our beliefs, even when we are ridiculed and persecuted. […] The Saviorʼs example provides a framework for everything that we do, and His words provide an unfailing guide. His path will take us safely home.

We are blessed to live in a glorious time, when the words of the prophets, both ancient and modern, are readily available. We find them in books, in magazines, on our televisions and computers and phones. Do we recognize and truly appreciate this great gift? Bishop Gérald Caussé, the First Counselor in the Presiding Bishopric of the Church, said:

There are so many wonders in this world. However, sometimes when we have them constantly before our eyes, we take them for granted. We look, but we donʼt really see; we hear, but we donʼt really listen.

When we look at President Monson, do we really see a prophet of God? When we hear his words, do we really listen? I pray that we will not take the words of the prophets for granted.

We can know for ourselves that the prophets speak the word of God. Sister McConkie taught:

As we prayerfully read and study sacred prophetic word with faith in Christ, with real intent, the Holy Ghost will speak truth to our minds and hearts.

In 2008, when Thomas S. Monson became the president of the Church, I remember receiving a witness from the Holy Ghost that he was a true prophet of God. I felt a feeling of peace in my heart and I knew that I should follow his counsel.

As the years have gone by, I have strived to follow the prophet. My family and I have been blessed for heeding his counsel to hold Family Home Evening regularly, study the scriptures together, serve others, live within our means, and pray often.

With each step of obedience to the words of the Lord as delivered through His prophet, the Spirit of God has quietly confirmed truth to my heart and mind.

As we sing in the hymn, let us

heed the words of truth and light
That flow from fountains pure.

When the prophet speaks, will we be like Laman, or will we be like Nephi? The choice we make today to follow the prophet or not will affect generations to come.

I testify that God speaks through his prophet, Thomas S. Monson. Jesus Christ is at the head of this Church, and He directs the work of salvation through President Monson and those that serve with him.

I testify that I have heard the voice of the Lord through his prophets.

In the name of Jesus Christ, amen.