Personal – fmachado dot com http://blog.fmachado.com Keep walking... Thu, 01 Sep 2016 15:32:38 +0000 en-US hourly 1 https://wordpress.org/?v=4.6 Test your english pronunciation http://blog.fmachado.com/test-your-english-pronunciation/ Mon, 26 May 2014 01:51:57 +0000 http://blog.fmachado.com/?p=334 […]]]> I saw this text on Facebook and I think this is so interesting that I decided to post here so I would be able to send this test to my friends. (If this text/audio belongs to you and I’m infringing your copyright, please let me know and I’ll remove it.)

At the end you will find the correct audio (with the britain english accent).

Dearest creature in creation,
Study English pronunciation.
I will teach you in my verse
Sounds like corpse, corps, horse, and worse.
I will keep you, Suzy, busy,
Make your head with heat grow dizzy.
Tear in eye, your dress will tear.
So shall I! Oh hear my prayer.
Just compare heart, beard, and heard,
Dies and diet, lord and word,
Sword and sward, retain and Britain.
(Mind the latter, how it’s written.)
Now I surely will not plague you
With such words as plaque and ague.
But be careful how you speak:
Say break and steak, but bleak and streak;
Cloven, oven, how and low,
Script, receipt, show, poem, and toe.
Hear me say, devoid of trickery,
Daughter, laughter, and Terpsichore,
Typhoid, measles, topsails, aisles,
Exiles, sirniles, and reviles;
Scholar, vicar, and cigar,
Solar, mica, war and far;
One, anemone, Balmoral,
Kitchen, lichen, laundry, laurel;
Gertrude, German, wind and mind,
Scene, Melpomene, mankind.
Billet does not rhyme with ballet,
Bouquet, wallet, mallet, chalet.
Blood and flood are not like food,
Nor is mould like should and would.
Viscous, viscount, load and broad,
Toward, to forward, to reward.
And your pronunciation’s OK
When you correctly say croquet,
Rounded, wounded, grieve and sieve,
Friend and fiend, alive and live.
Ivy, privy, famous; clamour
And enamour rhyme with hammer.
River, rival, tomb, bomb, comb,
Doll and roll and some and home.
Stranger does not rhyme with anger,
Neither does devour with clangour.
Souls but foul, haunt but aunt,
Font, front, wont, want, grand, and grant,
Shoes, goes, does. Now first say finger,
And then singer, ginger, linger,
Real, zeal, mauve, gauze, gouge and gauge,
Marriage, foliage, mirage, and age.
Query does not rhyme with very,
Nor does fury sound like bury.
Dost, lost, post and doth, cloth, loth.
Job, nob, bosom, transom, oath.
Though the differences seem little,
We say actual but victual.
Refer does not rhyme with deafer.
Foeffer does, and zephyr, heifer.
Mint, pint, senate and sedate;
Dull, bull, and George ate late.
Scenic, Arabic, Pacific,
Science, conscience, scientific.
Liberty, library, heave and heaven,
Rachel, ache, moustache, eleven.
We say hallowed, but allowed,
People, leopard, towed, but vowed.
Mark the differences, moreover,
Between mover, cover, clover;
Leeches, breeches, wise, precise,
Chalice, but police and lice;
Camel, constable, unstable,
Principle, disciple, label.
Petal, panel, and canal,
Wait, surprise, plait, promise, pal.
Worm and storm, chaise, chaos, chair,
Senator, spectator, mayor.
Tour, but our and succour, four.
Gas, alas, and Arkansas.
Sea, idea, Korea, area,
Psalm, Maria, but malaria.
Youth, south, southern, cleanse and clean.
Doctrine, turpentine, marine.
Compare alien with Italian,
Dandelion and battalion.
Sally with ally, yea, ye,
Eye, I, ay, aye, whey, and key.
Say aver, but ever, fever,
Neither, leisure, skein, deceiver.
Heron, granary, canary.
Crevice and device and aerie.
Face, but preface, not efface.
Phlegm, phlegmatic, ass, glass, bass.
Large, but target, gin, give, verging,
Ought, out, joust and scour, scourging.
Ear, but earn and wear and tear
Do not rhyme with here but ere.
Seven is right, but so is even,
Hyphen, roughen, nephew Stephen,
Monkey, donkey, Turk and jerk,
Ask, grasp, wasp, and cork and work.
Pronunciation (think of Psyche!)
Is a paling stout and spikey?
Won’t it make you lose your wits,
Writing groats and saying grits?
It’s a dark abyss or tunnel:
Strewn with stones, stowed, solace, gunwale,
Islington and Isle of Wight,
Housewife, verdict and indict.
Finally, which rhymes with enough,
Though, through, plough, or dough, or cough?
Hiccough has the sound of cup.
My advice is to give up!!!

]]>
Are you a good programmer? http://blog.fmachado.com/are-you-a-good-programmer/ Mon, 09 Sep 2013 23:09:21 +0000 http://blog.fmachado.com/?p=235 […]]]> Every single day in the last few years I do almost the same thing when I wake up (well, probably you do too). Anyway, during my quick breakfast I ask myself if I did everything possible to be a better person (as father, co-worker, …) than the day before, I think about my family and things that we have to do together and, finally, about my daily tasks at work.

But what relation does this daily routine description have to do with being a good programmer? Well, I’m starting to ask myself everyday if I am a good programmer and, from a specific point of view, my answer is: no, I am not. I think that the first thing to do is acknowledge this “defect” and work to fix it. Unfortunately I have to say that probably you are an amateur or an average programmer.

Let’s take a step back and try to answer…

What is a good programmer?

I found this lecture from Richard Buckland, a professor from UNSW, which can give you the big picture:

I know, you don’t have time to watch a 55min. video so here are the points: he walks through his past lectures showing how the students went from basics to advanced topics; start learning the basics and practice until you think your are good enough and then continue practicing because there is much more that you have to learn.

But this is the common sense! If you want to be really good in any area, you have to practice! So, let’s establish the following statement:

Statement 1: If you want to become a great programmer, you have to practice. How long? Until the end of the world (or your professional career, which one comes first).

I think that the statement above is not complete because I didn’t tell you what you have to study/practice so, let’s take someone as a reference: Jaehyun Park. This guy (who owns a PhD :)) won a lot of programming contests and competitions (ICPC, IOI). I have no doubts that he is a great programmer.

(Let’s talk about being an average programmer and still be able to earn a lot of money on another post.)

Statement 2: If you want to become a great programmer, you have to understand the basics: recursion, abstract data types, …

I think that If you still don’t know how to create a common abstract data type from scratch or write a recursive code, if you don’t know what the order of growth classifications and if you avoid to learn other subjects related with algorithms, you are far from having the “good programmer” title. If you skipped these classes or you never read about these topics, take my words: use your free time to learn about it or you’ll NEVER get a good job.

Back to the beginning of this text, I wrote that I don’t think I am a good programmer. Why? Because I’m still struggling to solve challenges from programming contests. I spent almost a day to solve a problem at codility.com while someone took 24 minutes. I have to say that I couldn’t sleep well at night after the test because I couldn’t stop thinking about how I failed. I realized that I have to get back to the basics and this is what I’m doing now.

Statement 3: If you want to become a great programmer, you have to recursively identify your weak spots and improve them.


Classes that I’m taking (again)

Every single minute that I have away from my work I’m spending to learn more, including reading at lunch/dinner and listening while I’m taking shower (yes, sometimes I’m just listening to the class!).

Books that I am reading

Can you believe that I am taking classes with Robert Sedgewick? And you could do the same? Yes! You can watch his lectures at coursera.com for free. He is the author of the first book listed below: Algorithms (4th Edition).

Algorithms (4th Edition)    The Algorithm Design Manual    Problems on Algorithms

Books that are queued

I found these books excellent choices if you want to solve challenging problems and be able to check and learn with the answers.

Elements of Programming Interviews: 300 Questions and Solutions    Cracking the Coding Interview: 150 Programming Questions and Solutions    Programming Challenges: The Programming Contest Training Manual    Algorithmic Puzzles

“Do you really need all this?”

My answer is “yes, I do”. Of course I won’t create a linked list or a tree from scratch to use in my daily work when I have a LinkedList and TreeMap (a Red-Black tree) but I have to know, for example, that a Java LinkedList performs O(1) to add an element, Ω(1) and O(n/2) to remove an element (“Operations that index into the list will traverse the list from the beginning or the end, whichever is closer to the specified index.”).

Can an average programmer be a good full stack developer?

Yes and I think I’m an excellent full stack developer. I can assure you that I have learned a lot in my 20 years of professional life (hi-five if you had used these machines) and, until now, I only have heard good compliments from my bosses so, I think I’m on the right path.

]]>
Connecting to a Mac with VNC http://blog.fmachado.com/connecting-to-a-mac-with-vnc/ Mon, 07 Jun 2010 03:39:03 +0000 http://blog.fmachado.com/?p=115 […]]]>

How to connect to a Mac from Windows or Linux?

I was figuring out how to do it: should I install something like a dedicated Mac Terminal Server (e.g. Aqua Connect) or compile a VNC from source? Well, neither one. I can use the built-in VNC available with the latest Mac OS (Leopard and Snow Leopard have it).

Just open “System Preferences” → “Sharing“, tick the “Screen Sharing” box and, with this option selected, click on the “Computer Settings” and setup a VNC password. If you want a step-by-step, follow this how to.

]]>