Tag Archives: google

Weekly linkage

This week’s internet cruising:

Weekly linkage

This week’s internet cruising:

Weekly linkage

This week’s internet cruising:

  • Living Like a Millionaire on Pennies a Day – "Now, I’m not talking about racking up thousands of dollars in consumer debt, or buying fancy cars and houses. I’m talking about something more valuable than that: having time. The only pre-requisite to living like a millionaire is being able to overcome your fear of uncertainty."
  • Google: Google Street View Cars Sniffed Wi-Fi Networks | News & Opinion | PCMag.com – "Google Inc said its fleet of cars responsible for photographing streets around the world have for several years accidentally collected personal information that consumers send over wireless networks." Good job, Google. I'd completely slept on this until I saw this article about Canada ripping Google a new one.
  • SEO for Bing Versus Google – Nice overview of differences. Unfortunately, of course, the differences are all described from an end-user perspective; I've love to see what's really under the hood of both Bing and Google.
  • Apple Mac App Store Review Guidelines Hints “No Java” In Lion’s – Oh, boy. The potential for wrong-doing here is immense, if not managed properly. I'd also seen something about non-app store apps not getting full OS access, although I can't find a source for that anymore, so it was possibly (hopefully) just a rumor.
  • The Keyboard Cult – For those who love their mechanical keyboards, here you go: an ode to keyboards. Plus, a good dig on developers who can't type (quickly). I know one full-day developer who doesn't type quickly or well. I take him "seriously", certainly, but I wonder at how much better and more productive he could be if he typed faster.
  • Hawthorne Cottage – Chunky Yarns – Pretty…
  • flash.utils.Proxy (ActionScript 3.0) – Um, this is really cool. Just sayin'.

Excluding Hits from Google Analytics

If you want to exclude your own visits to your site from Google Analytics on a per-computer or per-session basis, searching will land you on Google’s help page: How do I exclude internal traffic from reports?. Problem is, the code there doesn’t work with Google’s new-ish asynchronous tracking code. There is no “pageTracker” object any longer, so that’ll throw a nice little error.

The replacement for “pageTracker” is to push the custom variable onto the _gaq object, per the new standards.

To get this working, make a new, simple HTML page, just including the basics to make the page validate. Include your standard-issue Google tracking code in the head, like so:
Continue reading Excluding Hits from Google Analytics

Search-building: custom or Google

Until earlier this week, I had a lousy site search in place. It was one of Google’s Custom Search Engines, barely configured and only on its own page, due to it’s hefty (and blocking!) JavaScript. I’d long since disabled WordPress’s search since my stories aren’t being run in WordPress, and I didn’t feel like trying to chew on the internal search mechanisms to include the stories.

Last week, I started playing around with a project to create my own (Python) site search, including a crawler and Whoosh-based search. I’d seen the implementation of a Lucene search in Zend go fairly easy-peasy, and liked the idea of a self-hosted search.

Problem is–well, one of the problems is–the crawl time for a site with 1200 posts (most of which are low-priority) is a deal-breaker on a shared hosting provider. It takes far longer than 5 minutes just to collect the links, even with multiple threads. Add the parse time to get indexable content for 1200 pages, and I was stuck contemplating how to crawl and index the site in parts.

This sounds like a great, fun, project. …Except that it’s already been done and I have other things I’d rather be doing. Google did it; their index for my site updates surprisingly quickly and doesn’t make me afraid that Dreamhost will smite me. (I’ve been with Dreamhost for several years now, and while I’ve learned how to properly deploy a site since moving here from… Brinkster, was it?, I don’t relish the idea of learning a new environment for all the stuff I run here.)

So instead of the 4-5 hours I’d spent screwing with the Ikea-esque assembly of a site crawler and search, I spent two this week really making Google’s Custom Search Engine (CSE) work for me. Yes, there are ads. Yes, it’s not a solution that I own. (Then again, neither is my email, in that sense.)
Continue reading Search-building: custom or Google