Photoshopped
1) I like interesting photography.
2) I am a stumbler.
3) Most websites allow comments now.
4) The internet is filled with goons and other silly people.
As I was stumbling through the internet a moment ago I came across an interesting photo of an underwater restaurant that is enclosed entirely in glass such that the diners have a constantly changing view of underwater life while they eat. Looked really cool. There was the obligatory comment as the third or so on the page:
"Definitely photoshopped. I can tell by the pixels, and I've seen a lot of 'shops in my time."
Given the fact that goons are known for stockpiling clubs and hunting dead horses for years at a time, the comment should come as no surprise to anyone. But I just thought of something, three little letters that are like gold to any business: "EAV".
EAV stands for Equivalent Ad Value. When companies get positive face time on large networks such as a news network or paper or a highly trafficked website, they are essentially getting ad space for free. And it's extremely valuable ad space, because it is placed in content spaces where people are actually looking to read the content. Here's an example: My company, TripAdvisor, got mentioned a couple months back in the show "The Office". If anyone remembers, it's the episode where Dwight Schrute opens an Agrotourism Bed and Breakfast at Schrute Farms. Its page is still at tripadvisor, and the clip is up at both tripadvisor and youtube. The mention cost us very little, but the value of it is exceptionally high, since it is in front of millions of people across the US who watch the show.
for an even better, slightly less biased example, Research In Motion says it estimates that it had millions of dollars of EAV from the whole "Barackberry" debacle, and I'd believe it. Think of him what you will, there is no denying our President's intelligence and simultaneous stardom, and if he uses a RiM smartphone, then hell, shouldn't I look into it. They paid nothing for that plug, and they didn't even expect or look for it. The fact that Obama didn't actually use a blackberry doesn't matter at all.
So now we go back to this meme: it seems there are like 20 goons or farkers or the like who spend hours a day going across thousands of websites and delivering equivalent ad value to Adobe with this tired joke, and you know what? They hit all the highest trafficked images first. I'll bet it's worth tons.
Telemarketers
A lady just called me on my work phone asking if I was an engineer or an IT person. "I'm an engineer," I said, thinking perhaps it was someone else in Newton looking to contact IT. She then asked if I could give her the number of one of the heads of IT.
I said, "I really can't give out that information, but you can send a message to their email address--they're extremely quick at getting back to people." I gave her the aforementioned address.
She responded callously: "Well, I spoke to"--and proceeded to name mispronunciations of several of my more senior coworkers--" and Raja, who I actually met in person recently"--here she probably meant a coworker of mine named Raju--" so my contacts are all in engineering, but can you cut me a break here and direct me to someone in IT?"
When I again declined to give her any specific information of my coworkers, she asked, "Your office is--the Boston office, you're in, what, Needham, right?"
And here I had the overwhelming temptation to say something I did not say, but am convinced would have been the right thing:
"Ma'am, I'm sorry, I have to stop you right there. You're not very good at this--I know, I know, cold calling is hard--but it sounds like you just incorrectly read off everyone listed on my LinkedIn profile. You should take a little time to try to pronounce names--like Raju. That's an Indian name, and means something completely different from the word 'Raja', which means 'King', and was incedentally the name of the tiger from Disney's Alladin. You should also sound confident in more details, like the name of my company, the location of my office, et cetera. I'm not going to ask you who you're calling for; I can't do anything for you anyway, but you should convince yourself before you call that my company needs what you're selling. Give it another try with someone else on LinkedIn, I'm sure you'll do great. Have a nice day, ma'am."
Instead I was more direct, and simply told her I couldn't give out any information further than the address I'd already given her.
One day I am going to be an old man who shouts inanities at telemarketers.
I look forward to that day with great relish.
Ruby URL Get/Set Field methods
I was writing a quick script and needed to modify a url quickly to change the fields on a url.
def url_get_field ( url, field )
m=/.*[&?]#{field}=(.+?)(&.*)/.match(url)
n=/.*[&?]#{field}=(.+)/.match(url)
if !m.nil?
return m[1]
elsif !n.nil?
return n[1]
else
return ""
end
end
def url_set_field ( url, field, value )
m=/(.*[&?]#{field}=)(.+?)(&.*)/.match(url)
n=/(.*[&?]#{field}=)(.+)/.match(url)
if !m.nil?
url = m[1] + value + m[3]
elsif !n.nil?
url = n[1] + value
else
unless /.+[?&].+?=.+/.match(url).nil?
url = url + '&'
else
url = url + '?'
end
url = url + field + "=" + value
end
url
end
def url_remove_field ( url, field )
m=/(.*)([&?])(#{field}=(.+?))(&(.*))/.match(url)
n=/(.*)([&?])(#{field}=(.+))/.match(url)
unless m.nil?
url = m[1] + m[2] + m[6]
else
url = n[1] unless n.nil?
end
url
end
Now it's easy enough to do! check this out:
irb(main):160:0> url = 'http://pigsflew.com'
=> "http://pigsflew.com"
irb(main):161:0> url = url_set_field( url, 'test', 'omg' )
=> "http://pigsflew.com?test=omg"
irb(main):162:0> url = url_set_field( url, 'archives', '526')
=> "http://pigsflew.com?test=omg&archives=526"
irb(main):163:0> url_get_field( url, 'test' )
=> "omg"
irb(main):164:0> url_remove_field( url, 'test' )
=> "http://pigsflew.com?archives=526"
irb(main):165:0>