I don’t remember if it was a TED talk or a blog post or a YouTube video or what, but I remember hearing someone very successful claim that whenever a new task or job comes up, they always assign it to the laziest person they can, because the lazy person will find the quickest and easiest way to complete a task. Or in other words, the most efficient way.
Since hearing that, I always try to approach every new problem this way. “How can I get this done right, while doing the least amount of work possible?”
But no problem, give it to an intern, right? Or hire someone cheap to read and re-read the text, re-italicizing where needed, yes? Sure, if you want to waste a TON of time.
I told Hank I would step up and solve this for Pemberly. I wasn’t quite sure how yet, and if I couldn’t come up with a good idea, I would have to sit for hours on end, reading and re-reading and re-italicizing. Not the best use of my, or anyone else’s, time.
After thinking about a few different approaches, I remembered the source of the text was a plain HTML page. That’s good, that means there is some basic mark-up language if you view the raw HTML code. So I copied the raw HTML code into Dreamweaver (a coding program) and used its “Find” function to search for every instance of “</i>” in the code. The “<i></i>” code tells browsers to italicize the word(s) inside the code.
BAM, less than a second later Dreamweaver reported back 402 instances of the italics code, and highlighted every single instance for me. Dreamweaver’s “Find” function can even jump from the first instance to the second, to the third, and so on… meaning I took this week-long intern task and found a way to complete it within an hour or two, and with zero mistakes! Because the computer scanned the text, not me, not a single italicized word will be missed due to eye fatigue, or my brain getting engrossed in the story rather than its italics hunting task.
Instead of reading and re-reading 125,038 words, I need only look at the 402 words that should be italicized. And they’re all already highlighted for me in the code.
I’m a freakin’ (lazy) genius.
- rmekker likes this
- glamorouslygeeky likes this
- hopefulgreenstuffwoven reblogged this from alandistro
- bisexuallydia reblogged this from alandistro
- madamesuede likes this
- mach712 likes this
- sexylibrarian93 likes this
- sp-ke said: I’m sure there’s some way you could script the italicising and thus save going through highlighting 402 words, but nice stuff anyway :)
- krimana likes this
- pinkxxkiss likes this
- doyouthinkimageek reblogged this from freqbox
- freqbox reblogged this from alandistro
- itiselizabeth likes this
- natpbs likes this
- averageinsight likes this
- marthahan likes this
- mechanicalfantasies likes this
- jedjustis likes this
- robbiemelvin likes this
- itfeelslikegold likes this
- propertyofharrypotter likes this
- elisa-t likes this
- calvero reblogged this from alandistro
- potatoes1836 reblogged this from alandistro and added:
- bowlopetunias likes this
- hau5mu5ic reblogged this from alandistro
- northernredwood likes this
- ideillogical likes this
- angeliquesimone likes this
- twelfth-doctor reblogged this from alandistro and added:
- lizzy1990 likes this
- chippo88 likes this
- aquellosdias reblogged this from alandistro
- ahbeethegreat likes this
- schuzzlebutts likes this
- postitbatman likes this
- ridiculousdelight likes this
- beckiejean likes this
- nefiner likes this
- sparks-of-creation likes this
- zacharyawilson likes this
- sorrycanada likes this
- teejayhoneydewmelon likes this
- gallifreyannerdfighter likes this
- zohbugg likes this
- pentacromia likes this
- centre-of-nowhere likes this
- believesinponds likes this
- smallplantfriend likes this
- hansvlitz likes this