Cal Freitas

I am an Engineering Manager at PublicSquare. I am a Principal Front-End Engineer by trade. At Swarzy, I built Verses for Life and Psalmlist.

Financial Advise Buried in the Tragedy of Hamlet

I made it through 31 years of life without reading or seeing the Tragedy of Hamlet by William Shakespeare. It is fantastic, and I do not regret taking the time to read it now.

This story contains many great and memorable lines — memorable in part because they have become a common part of the lexicon of Britain, America, and other English-speaking parts of the world.

“In my mind’s eye…” – Hamlet, 1.2.193
“This above all: to thine own self be true” – Polonius, 1.3.84
“To be or not to be — that is the question” – Hamlet, 3.1.64

In reading this play, I encountered a wise piece of financial advise from Polonius. It stood out to me because it aligns with advice I have read and heard from other quarters such as the Book of Proverbs (from the Bible), and financial advisors such as Dave Ramsey. You may not be accustomed to taking financial advice from fictitious characters, but pay consideration to these words.

Polonius, Act 1, Scene 3, lines 81-87

“Neither a borrower nor a lender be,
For loan oft loses both itself and friend,
And borrowing dulls the edge of husbandry.
This above all: to thine own self be true,
And it must follow, as the night the day,
Thou canst not then be false to any man.
Farewell. My blessing season this in thee.”

In summary, don’t take loans or make loans. Loans often results in losing money, and losing friends. Borrowing dulls the ability to cultivate (husband) your own money and financial resources.

Financial Advise Buried in the Tragedy of Hamlet Read More »

A good day at WordCamp Seattle 2013

I’m attending WordCamp Seattle 2013 today.

Who is in attendance?

  • Designers
  • Developers
  • Users
  • Bloggers
  • dads, moms, babies
  • … all kinds of folks

Why do people attend?

I’m attending in order to learn, to interact with the WordPress community, and to see how much WordCamp Seattle has grown since I organized the first two of them in 2009 and 2011.

Whose talks did I go to?
Scott Berkun’s talk “Write or Die”.

  • Words are the central purpose of WordPress. Writing is the point.
  • Not all traffic is equal – most traffic is drive-by trash
  • “There is a big gap between work that is popular and work that is good.”
  • “If you can’t figure out how to write as often as you want, stop trying.”
  • There’s no pressure for the first post on a new blog. Nobody will read it anyway.
  • Good books about writing: “Writers at Work
  • When writing a post, consider: “What is my angle? What is my promise?”
  • “You only write as well as what you read.”
  • “The first draft of anything is shit” – Hemmingway
  • Recommendation: The Best American Essays of the Century
  • How to write 1000 words
  • “When I am stuck, now I am ready to be a writer. I have to start thinking. I have to be a writer now.”

mor10@ – Why WordPress?

  • Over the past 10 years the web has evolved into a place to exchange ideas
  • “WordPress is a gateway drug” for web development and design

Eric Mann – Automated WordPress Development
Summary: follow best practices for CSS and JS development. Separation of concerns. Use meaningful names. Concatenate and minify.

Don’t use too many files. (See Souders roundup on parallel connections which has much more detailed and accurate information than the presentation.)

Use GruntJS to make your CSS and JS build process less painful.

grunt-wp-plugin – generate WordPress plugin files
grunt-wp-theme – generate WordPress theme files

A good day at WordCamp Seattle 2013 Read More »

Open source loves MariaDB

The open source community has begun to switch from MySQL to MariaDB.

MariaDB is “an enhanced, drop-in replacement for MySQL” and has been created by the developers who originally built MySQL (before it was acquired by Sun Microsystems and Oracle).

The latest major open source project to embrace MariaDB is Wikipedia who announced on April 22, 2013, that they have migrated the English and German Wikipedias to MariaDB 5.5.

Several major Linux repositories have recently adopted MariaDB including Slackware, Arch Linux, and openSUSE.

Update 06/14/2013:
Red Hat has announced it will be switching from MySQL to MariaDB in Red Hat Enterprise Linux (RHEL) 7.

Open source loves MariaDB Read More »