If you’re anything like me, you’ve subscribed to all of the recent social media trends. Starting with MySpace, evolving to Facebook and throwing a little Twitter in there somewhere along the way with a sprinkle of Buzz at the end and a forgotten dabble of Orkut and hi5 to keep your palette tasteful along the years. Even more is you, like me, have probably joined each of your favorites together with a smidgen of application glue so you only have to update one network before it propagates out to piss off the rest of the network nodes you now call friends. Sleepless nights patrolling the internet, looking for something witty, interesting or off-your-rocker stupid. Like a predator searching for his next meal in the desolate brush of an African terrain, you must show all your social friends just how cool you are in 140 characters or less. Well NO MORE, my friends .. no more.
Continue reading →
Posts Tagged: perl
Maybe I’ve been in this industry too long. Maybe I’m a complete moron. Maybe it’s a little shade of both and some of a third. Who knows. The point is that everywhere I seem to look, nobody knows about one of the most useful word matching algorithms. Not text matching as that’s a horse of a different color. Words. Word. The difference is subtle, but it is something that seems to come up a few times a year over the past decade for me, where if I had known about it earlier in my career I would probably have more hair now. The difference is this: word matching, you want to match near-exact gramatical terms. Not necessarily something that rhymes or sounds similar (that’s a something else entirely), but words that are one in the same with different suffixes. Yeah, it’s a little weird and out there, but it’s a problem that seems to bolster its head about every once in a while and knowing about Word Stemming will make your life just a little easier. Again, maybe everyone learned about this in their infancy and I’m just an idiot. Though, every time I use it in a solution, I surprise at least one person… hence why I bring it up now.
Continue reading →
A while back, I worked on a project with a company I’m working for and it eventually evolved into something I released to Perl’s open archive network, CPAN and chatted about for my first SPUG talk.Â Naturally, as the Conwaytistical Perl programmer I am, I figured why not write about it one more time for old times sakes.Â Generally speaking, Google has already found the documentation for the module which is all I really figure is necessary to explain it.Â The crazy thing is that people seem to be using this… a lot.Â Likely for the same reason I made it: there are no programmatic alternatives that I could find.Â With this unfortune comes the destruction of my inbox with questions and curiosities ranging from examples to the process I took for making this module in the first place.Â All things considered, I’m happy to see people using the module but it turns out I’m a little lazy and don’t like responding to strangers’ questions all that much.Â Born from that comes this page.Â When the forces of this are combined with the perldoc, I’m no longer needed and can feel much more at ease with the temperature of my shoulder as I ignore the trickle of emails that come to me.Â Lucky for you, I am a personal fan of direct examples that can be followed without the needless bloat of words, and this is what I’m going to (try to) do.Â The only predicate to this instruction set is that we will assume you are going to map the US.Â It’s possible to map the entire world, but we will only work with the US for now.Â Go USA!