77 Palindromes

November 24th, 2009 by Charles Ma No comments »

Similar to my last post, I wanted to know how  many words in the English dictionary are palindromes. There are 78 in this words list, and none of them are very long.

Ada
Ala
Ana
Anna
Ara
Ava
Bib
Bob
Eve
Gog
Hannah
Laval
MGM
Malayalam
Nan
Ono
Otto
Salas
Tet
Tevet
Tut
aha
bib
bob
boob
civic
dad
deed
deified
did
dud
eke
ere
eve
ewe
eye
gag
gig
hah
huh
kayak
kook
level
ma’am
madam
minim
mom
mum
non
noon
nun
oho
pap
peep
pep
pip
poop
pop
pup
radar
redder
refer
rotor
sagas
sees
seres
sexes
shahs
sis
solos
stats
tat
tenet
tit
toot
tot
wow

The perl script that found them

map {print; print “\n”} grep {chomp; (lc($_) eq reverse lc($_)) && /../} <>

  • Twitter
  • Google Bookmarks
  • Share/Bookmark

100 most common anagrams

November 23rd, 2009 by Charles Ma No comments »

This curious question suddenly crossed my mind today.

What are the most common anagrams? In other words, if you took all the words in a dictionary and grouped all the anagrams together, which groups would be the biggest?

Here are the 100 most common anagrams

stael tesla least slate stale steal tales teals
carets caster caters crates reacts recast traces
pares parse pears rapes reaps spare spear
keats skate stake steak takes teaks
ingres singer reigns resign sering signer
east ates eats sate seat teas
palest pastel petals plates pleats staple
elsa lesa ales leas sale seal
post opts pots spot stop tops
alger elgar glare lager large regal
mensa amens manes manse means names
drapes padres parsed rasped spared spread
andes danes snead deans saned sedan
caret cater crate react recta trace
castor castro croats actors costar scrota
bates abets baste beast beats betas
lapse leaps pales peals pleas sepal
restrain retrains strainer terrains trainers
emits items mites smite times
ester reset steer terse trees
cretan canter nectar recant trance
easts tessa asset sates seats
lois oils silo soil soli
pores poser prose ropes spore
reins resin rinse risen siren
elam elma male lame meal
tosca ascot coast coats tacos
arts rats star tars tsar
moran norma ramon roman manor
ernest sterne enters resent tenser
darin indra randi drain nadir
drano norad ronda adorn radon
arced cadre cared cedar raced
eros rose ores roes sore
drawer redraw reward warder warred
idlest listed silted stiled tildes
angered derange enraged grandee grenade
capers crapes parsec recaps scrape
aster rates stare tares tears
enos eons noes nose ones
sabre bares baser bears saber
mister merits miters remits timers
parleys parsley players replays sparely
artiest artiste attires iratest tastier
miles selim limes slime smile
mabel mable melba amble blame
paste pates septa spate tapes
spears parses passer spares sparse
slater alerts alters salter staler
arno aron nora oran roan
enlist inlets listen silent tinsel
earp pare pear rape reap
alerting altering integral relating triangle
aridest astride staider tardies tirades
dearths hardest hatreds threads trashed
levi evil live veil vile
hares hears rheas share shear
dale leda deal lade lead
leno leon noel olen lone
seder deers deres reeds sered
glaser glares lagers larges regals
cesar acres cares races scare
astor sarto roast sorta taros
ares ears eras sear sera
deltas lasted salted slated staled
kendra danker darken narked ranked
persist priests spriest sprites stripes
abel bela elba able bale
elanor elnora lenora lorena loaner
mates meats steam tames teams
salem selma lames males meals
dniester inserted nerdiest resident trendies
tangiers angriest gantries ingrates rangiest
dorset sorted stored strode trodes
parts sprat strap tarps traps
patel leapt petal plate pleat
sahel hales heals leash shale
seton stone notes onset tones
beard debra bared bread debar
aden dane dean dena edna
claimed decimal declaim maliced medical
sung gnus guns snug
rites tiers tires tries
reduces rescued secured seducer
evan neva nave vane
leary early layer relay
latiner latrine reliant retinal
earth harte hater heart
cortes corset escort sector
asp pas sap spa
construe counters recounts trounces
artsy satyr stray trays
ate eat eta tea
past pats spat taps
esters resets serest steers
depart parted petard prated
boers bores robes sober
piers pries ripes spire
neil nile lien line
ambled bedlam blamed lambed

This is the words list used to create it. The full list of groups of anagrams can be found here, and the perl script used to generate that list below.

map {
   chomp; s/'s//; tr/A-Z/a-z/; s/[^a-z]//;
   $a = join '', sort split //;
   $words{$a} = ($_) if !defined($words{$a});
   $str = $_;
   push @{$words{$a}}, $_ if !grep $_ eq $str, @{$words{$a}};
   }<>;

for $w (sort {
      $#{$words{$b}} <=> $#{$words{$a}}
   } keys %words) {

   for(@{$words{$w}}) {
      print "$_ ";
   }
   print "\n";
}

Some of the words in this list are pronouns so you could say it’s cheating, but it’s the only word list I have at the moment.

Observations

This is an interesting group:

angered derange enraged grandee grenade

Which is the odd word out?

The word ‘anagram’ has no anagrams, what a pity.

logarithms is an anagram of algorithms

secretion is an anagram of erections

  • Twitter
  • Google Bookmarks
  • Share/Bookmark

“Do you want to fast track your…” what?

October 27th, 2009 by Charles Ma No comments »

I received an email today that began with a question:

Are you looking to fast track your degree?

What does that mean? I had to look it up

“fast track”

a rapid means of achieving a goal; “they saw independence as the fast track to democracy”; “he took a fast track to the top of the corporate …

Ah no thanks, I’m quite happy with the pace that my degree is going.

“Fast track” isn’t a colloquially used term. You’ll never find two friends talking to each other asking, “hey you wanna fast track…”, or “dude, are you going to fast track that or what?” It probably came straight out of a corporate ‘vision statement’ brainstorming session, so it sounds foreign to us.

Emails that open with a question are intended to provoke a “yes” answer, but in most cases, it sounds more like annoying marketing speak. Not the good kind of marketing speak. The good kind of marketing speak sounds authentic, like a recommendation from a friend–someone you can trust. No, this is a failed attempt at marketing because it emulates the bad kind of marketing. The bad kind of marketing is the stereotype we have of marketing and sales people. The scheming, lying, dishonest, blood sucking, scum filled rodents in this service oriented economy. They’re the people who send you spam, the people who are trying to sell you drugs that you don’t want, the people who pretend to be your friend at school and abandon you when you needed them, the people who made your baby cry.

Why do emails that start with questions like this trigger such strong emotions of distrust? Maybe it’s because we’re exposed to far too much of this from spam and advertising. “Are you looking for the perfect vacation”, “what are you waiting for?”, “feeling depressed?”, “are you ready to get back to school?”. As a result, we’ve instinctively learned to respond with “No, and go away!”

Another reason that emails like this provoke these feelings might be that the sender didn’t have permission to ask. They’re questions that require you to think and make a decision. Some of them are personal, and they’re not the kind of questions that you would ask someone during the first meeting. Subconsciously your mind is saying “how dare you ask me that, I barely know you!”. Asking a personal question first without an introduction is a bad way to greet someone. Asking, “what time is it?” to a stranger is ok because it has a factual answer, and the person asking really wants to know. Your answering it is helping some else. Helping others is a good feeling. Even then, that question is usually proceeded by a request for permission ”excuse me, what time is it?”. On the other hand, a personal question, even one like “How are  you?”, feels intrusive when it’s asked by a stranger. It provokes the response, “who are you to care?”, and in the context of a spam message, a positive response to it is like an invitation for more spam. Most people don’t like that.

A much better way to send that email would have been to use a more human greeting.

Hi Charles,

I’m from [blah] and we’re doing [this]. It might be interesting to you because you’re a computing student. etc etc..

There. That wasn’t so hard was it? It’s much more authentic, like a greeting from a real human, not a marketing drone.

  • Twitter
  • Google Bookmarks
  • Share/Bookmark

Quote: After a decision, going down the path is the easy part

October 24th, 2009 by Charles Ma No comments »

This quote came from a recent post by Seth Godin.

After the decision, going down the path is the easy part.

Decisions without perfect information is scary. Often times we have to make decisions with uncertain outcomes. If waiting longer means that we can obtain more information to help make that decision, then wait. But I think that more often than not, waiting longer doesn’t help and it’s not worth the agony of worry and indecision. The easiest way to become certain is to make a decision and go with it.

It’s easier said than done, and I often have to remind myself of this.

  • Twitter
  • Google Bookmarks
  • Share/Bookmark

Being Extraordinary

October 22nd, 2009 by Charles Ma No comments »

Most people are normal. They’re good at some things, but not that good at other things. Some people are extraordinary; they’re so good at something that they become known as gifted or talented in the thing they’re good at. The girl who always tops the class is extraordinary. The guy who regularly wins the poker tournament is extraordinary. The athlete who is the best in the world for more than 4 years in a row is extraordinary.

Being good at everything is extraordinary, but being the best at one thing is also extraordinary. It’s getting harder to be good at everything. The domain of human knowledge now is far too great for a single person to learn. Competition is far too fierce for anyone to be the best at more than one sport. I would bet that more extraordinary people today are only extraordinary in a very narrow domain compared to extraordinary people only 100 years ago.

The good news is that there are more opportunities to be extraordinary today because there is more to do today than there was in the past. You could be the bests player of a particular video game or the best lecturer in the university. If you’re the best, you will be noticed and labeled extraordinary. Being noticed gives you the power to influence those who noticed you. With that power you can become more extraordinary.

When it comes to being extraordinary, the sum of above average skills across a large variety of disciplines is not perceived to be nearly as extraordinary as being the best at one thing, even if the narrow focus of becoming the best made you below average in many other skills.

I guess the lesson to learn here is to invest in becoming extraordinary, because being somewhat good at lots of things is only just above mediocre.

This post was inspired by “Why the 80-20 rule is wrong“.

  • Twitter
  • Google Bookmarks
  • Share/Bookmark

The problems with work at home internet marketers

October 18th, 2009 by Charles Ma No comments »

The idea of working at home, making money online, making a passive income has crossed my mind a few times. The people giving advice on how to do it call themselves internet marketers[1]. The problem with internet marketers is that most of what they’re selling seems to be how to become an internet marketer. Some of the suspicious ones will ask you to join their ‘affiliate’ network, presumably that’s how they’re making most of their income.

It all seems like a thinly disguised pyramid scheme where the people at the bottom make next to nothing. Do they actually create anything useful for others? My instinct tells me that at best, they’re creating false hope. Much like the lottery. At least with a lottery, you play once, you don’t win, that’s that. With internet marketing, you could waste a few months throwing your free time away at something that you won’t be proud enough to admit you tried. What I gather from some of these work at home programs is that it requires a significant amount of discipline and persistence to work. It almost replaces a full time job in some cases, with no guarantee that any success will come of it. If you succeed, you’re one of the lucky ones, if you fail, “you weren’t dedicated enough”.

A wise teacher once said to me,

“if someone really did have a system that could predict stock prices to consistently make a profit, then they would keep that technology a secret. Any body trying to sell you such a technology is scamming you because they’re obviously not making enough money from their own system.”

He was referring to the suggestion that [insert some high tech day trading company] is selling a neural network driven AI to predict stock prices claiming [insert outrageous returns]. I think it applies to many of these ‘work at home’ schemes out there.

Many people will have made this conclusion as soon as the idea crossed their mind, but I’m curious and maybe a bit stubborn, so I had to spend a some time researching it before ruling them out as something I could do. Admittedly, I haven’t tried any of these schemes, and would rather not post the ones I’ve read about here because that would be unintended promotions. There is just too much junk out there for me to continue researching. I’m sure there are people who are bitter about wasting their time trying a ‘work at home’ system, they’re just too embarrassed to share their story. Either that or no body is searching for them, search engine algorithms make things impossible to find if your search is unpopular. Nobody searches for the losers, just for the winners and the marketers selling the stories of winners.

I feel pretty stupid for even spending time researching this topic, but I’m not ashamed to share the fact that I did. At least it gave me a new blog post for the week. :)

[foot notes]

[1] I may be mislabeling a group of people here, ‘internet marketer’ is just a convenient term to call them because I’m not creative enough to think of another name.

  • Twitter
  • Google Bookmarks
  • Share/Bookmark

A collection of entrepreneurial video talks part 2

October 18th, 2009 by Charles Ma No comments »

Paul Graham at startup school 08 talking about how to create a successful [web/tech] startup.

Steve Jobs giving a graduation speech at stanford.

I’m starting to think that this isn’t the best title for posting these videos, a more accurate title would be “A collection of inspirational speeches by extraordinary people”

  • Twitter
  • Google Bookmarks
  • Share/Bookmark

A collection of entrepreneurial video talks part 1

October 10th, 2009 by Charles Ma No comments »

I’ve recently developed an interest in entrepreneurship and investing. This is going to be the first in a series of posts about inspirational speeches by successful entrepreneurs.

Warren Buffett gives a speech to recent grads on investing in businesses that you understand with high barriers to entry, long term investing, and doing what you love.

Guy Kawasaki “The Art Of The Start” 10 pieces of advice for entrepreneurs

  • Twitter
  • Google Bookmarks
  • Share/Bookmark