Archive for the ‘Non-OS’ Category

Google Maps seems to need to learn that some streets go East AND West

Friday, April 2nd, 2010

I think that Google Maps is overlooking a basic function: In the real world, people sometimes go east, and sometimes go west.

Yesterday for the third time in a couple of years I relied upon Google Maps for directions and was sent to the wrong place. Caveat Emptor strikes again.

In Montreal, east-west streets which bisect St. Laurent Boulevard (which, no surprise, goes sort of north-south), start their numbering in both east and west directions from there. Hence you can have two equally valid addresses on a given street, given the proviso that one is designated as “East” and the other “West”. (Hey! It’s Captain Obvious!)

Fortunately, the address I was looking for was 151; during an hour of going around the neighbourhood looking for parking around “151 Laurier” (East as proposed by Google Maps), I found out that that address wasn’t a dépanneur that sells a huge variety of microbrewery beers, and looked like it never was, and finally decided to go further down the street looking for similar businesses. I suddenly had a V-8 moment and realized “Ooops what about 151 Laurier WEST?” I high-tailed it in the opposite direction and found the business in question. And to my disappointment, they were out of the particular beer I was seeking — Weizenbock, by La Brasserie Les Trois Mousquetaires, which has replaced my previous definition of ambrosia, Trois Pistoles by Unibroue.

Twice before I have had similar experiences:

About a year ago, while in Western Canada in completely unfamiliar territory on a business trip, I had looked up a client’s address, and not knowing about any local east/west splits that addresses on the Trans-Canada Highway may have in that locality, I tried to find the address, on the east end of town, that Google Maps had provided; I was about 45 minutes late by the time I finally managed to suspect that my client’s address was a “West” address and got there.

And just to quash any participant in the Peanut Gallery out there about to say “Aha well when using Google Maps you should know that in such cases they’ll always send you to the East address, so be sure to always check both!” a couple of years ago I had looked up a local address for client, and Google sent me to Gouin Boulevard West here in Montreal, a solid 45 minute drive away from my client’s Gouin Boulevard East address.

Now the Peanut Gallery may have a point: In the real world, people sometimes go east, and sometimes go west. And when it comes to using a free online service, you get what you paid for. As such, when looking up an address on any online service, one should notice “Hmmm this is an east-west street which may bisect such and such a street and as such have East addresses and West addresses; I should specify both east and west in my address search.”

But I wonder how many other people place enough faith in Google that under such circumstances — such as when they don’t know that there’s an East and West of a given street — they would reasonably expect in the case that a street has valid East addresses and valid West addresses (and likewise for North and South addresses) that Google’s response page would come back with “Did you mean (A) 151 Laurier East, or did you mean (B) 151 Laurier West?” Certainly Google seems good enough at asking such a question when you slightly misspell a street or city name, or decides that it doesn’t recognize the address you supply and provide you with half a dozen options, as often spread across the country as spread across the city.

Using apps to do a “Pothole and Poop Patrol”

Saturday, March 13th, 2010

Setting the stage: Last June I was blown away with an insurance company’s commercial for an IPhone/Smartphone App letting people properly document a car accident in order to help simplify the claims process.

Looking through the newspaper this morning, I noticed yet another example of an otherwise mundane app for smartphones: Apparently, a bunch of American (and presumably other) cities have apps which allow local citizens to collect data including photos and location (usually by but not always gps coordinates) of potholes, and using 3G/Wi-Fi hotspots to report potholes directly to the local public works, saving money by bypassing presumably more expensive operators, field inspectors and the like, as well as saving money by directing workers directly to where work is needed instead of waiting around for the information to trickle through the system. And, essentially, putting crowd-sourcing, or the notion of “many eyes will eventually reveal bugs” to work.

Many such apps also are more general and allow people to report all sorts of things beyond potholes, such as broken lamp standards, water main breaks, and the like.

Beyond being impressed, it made me think back to 2001-2002 when I’d just gotten a gps and started playing geocaching: One of the funny stories that came about in geocaching circles (and no doubt general gps circles) when people were learning about the uses of gps with 3m-8m accuracy involved some groups of people essentially going out on “Poop Patrol”, marking the locations of where they found piles of poop left by — no, I won’t indulge in the joke that just came into my mind and perhaps yours — ok, here it is, poople, who don’t clean up after their dogs. We thought “What, don’t people have better things to do with their lives than go around looking for piles of poop and filling up their gps memory with their locations? What are they going to do with the information and all the waypoints? Chase down and tackle the offenders? What about the local council meetings that will no doubt have people being laughed at during question period when they bring their lists of waypoints?”

Funny, mulling over the “Pothole Patrol” I read about in the paper this morning, the “Poop Patrol” seemed less amusing in the ridiculous sense and more viable as a way of measuring hot spots for increased street cleaning, or identifying dog walking hot spots where perhaps municipalities might consider adding dog runs where they might not have without the “Poop Patrol” data, or adding or reinforcing secondary services such installing bag distributors for dog walkers who forgot their bags to “poop & scoop” mounted on lampposts (and of course filled by conscientious dog-walkers who can bring their excess supplies of plastic bags) as can be found in many dog run parks, or add extra garbage bins in those areas.

Again, along those lines, I’m thinking about geocaching.com, which facilitates “Benchmark Hunting” (in its most basic form, taking the coordinates of USGS benchmarks and going out to hunt them for the pleasure of it, and then logging the finds as well as the adventures along the way on the website.) I bet the USGS takes advantage of the informal “inspections” in some way.

Or how, in about 2001-2002, again when I was starting off with geocaching, I’d registered for an account with Natural Resources Canada to search out Gravimetric Markers, essentially the same as geographic benchmarks but whose purpose and location are related to standard measurements for gravity; I live near one, and there’s one near my cottage, so the idea of doing volunteer inspections along the lines of doing simple check lists seemed like a fun complementary activity to geocaching seemed like fun. Such checklists could contain, say, 5 items on the physical integrity, access, and so on related to the marker which any person off the street could perform on a regular, semi-regular, or sporadic basis and the results of which could be useful to the maintainers so that the responsible body could channel resources to “more important” activities as well as proritize maintenance schedules, as above.

At the same time, I also “noticed” all the Bell Canada telephone switching boxes along the way to the cottage in the same light and thought about doing volunteer inspections, which I never pursued.

Unfortunately home networking issues at the time made accessing my account with Natural Resources Canada difficult and the charm of both ideas fizzled out.

But now, the ideas from “The Poop Patrol” to volunteer inspections of Gravimetric Markers and Bell Canada switching boxes, in the light of “The Pothole Patrol” and taking into account human idiosyncracies and the human penchant for such trivial pastimes, seem less silly …

Handheld computer Apps

Saturday, March 13th, 2010

Here’s a blog entry I meant to post last June, 2009, but for whatever reason I never got around to it. I’m doing it now to set the scene for my next entry. :)

*****

I just saw a commercial for Nationwide Insurance. And I was blown away.

They have this several times mentioned “accident app” for the unnamed but clearly identifiable iPhone / iPod Touch. It brings you through the process of what you need to do if you have a car accident — take photos of the damage, the area, the other car, the street, where the cars are relative to everything, then the address, the license of the insured car, your details, the other car’s and driver’s details … of course all this just from the commercial.

And I’m thinking … that’s the kind of thing a handheld with an integrated camera is for, not just taking pictures of Fluffy, Rover or the kids every five minutes and sending them to friends, or playing some inane game. I was thinking that the Apple App Store, without having checked it out myself, was probably full of useless apps like tip calculators and calorie counters.

I used to have a Palm Pilot. I still have it, in fact, but I don’t use it. You looked all around the net for little apps, and there’d be plenty of useless ones, and you get tired when the one or two useful apps just don’t cut it anymore and in the process required so much effort to find what was (usually) a second-rate app.

Or maybe I am glimpsing at why Ubuntu is doing so well.

I think I’ve been so high on my horse about open source that I’ve missed something.

Or, maybe one of the open source drawbacks is that there isn’t an open-source Linux “App Store” out there, creating the buzz that “you need this, it’s a killer app” or “it’s a killer appliance” creating the desire for the product (and then of course the apps would follow) or whatever (March 2010: Hello Android!)

(addition in March, 2010) Now of course this of course is a really bad observation on a technical level; the Apple “App Store” is a kind of repository for the IPhone and IPod Touch, and there are plenty of linux repositories; and, despite the completely different paradigms between a desktop (and even laptop and netbook) and a handheld device, of course there are plenty of little programs that would be apps for your computer available. Despite its convenience, I wouldn’t want to use my Acer notebook to fill out all the details of my latest car crash, even though it has a web cam in it and wi-fi, and I suppose I could get a 3G dongle for it. My meaning was more along the lines of when I was responding to a survey about a tax program, which asked why I used the version I used, in my case, the web version: I said I used it because I use linux and they don’t have a linux version, and that in order to have a linux version, the best way would be to push it through the repositories or have their own repository, in order to maintain bug fixes and updates in tax laws, meaning that the afore-mentioned buzz is no longer there surrounding a computer (or more) in every house, and the fact is what makes handheld devices so buzz-worthy is the combination of small convenient size and processing power. See next.

(back to June, 2009) My brother, who has an iPod touch, says the big difference between handheld computers today and those of five and ten years ago — aside memory and processing power and the like — is the presence of wifi abilities and hotspots; the inclusion of a camera was implicit to his comments. And nowadays, gps antennas, motion detectors, and the like. Things “that could be done” five and ten years ago just weren’t there of because, well, the instant connectivity — and the integration of connectivity into the applications and related software — suddenly makes it seem like an obvious thing, not just loading the handheld into a dock and syncing it with your desktop.

Cool (or mundane) computer trick impresses co-worker

Thursday, March 4th, 2010

I managed to impress someone at the office this week with a cool (read mundane) computer trick.

I got a call from the secretary, who is a few seconds’ walk from my desk, asking for a scanned version of my hand-written signature. I replied that on my computer at home I have it, and I could easily get it within a few minutes; she replies that it would be faster for her to just walk over with a piece of paper for me to sign, which she would then scan and play around with.

And this is where I began to impress her: By the time she got to my desk with said sheet of paper, I had already VNC’d into my home server’s desktop and was in the process of doing the same from the server to my main computer’s desktop (gotta finish the process of giving it a static IP and setting it up so that I don’t have to go through my home server. :) ) I finished logging into my desktop, and looked in the likely directory, and voilà! I fired up my home email client, and within a couple of minutes, she’d received my scanned signature.

Beyond the fact that the Gnome desktop is set up standard to do VNC — and the fact that I installed TigerVNC instead of using the standard Gnome Remote Desktop Viewer — too bad that I can’t really claim that this is a cool Linux trick, since my computer at work is Windows, and you can set up Windows boxes to “pick up the phone” too ….

She was still impressed, though. And it took about as much time as the whole process of signing a piece of paper, scanning it, cropping it, etc.

FTP clients and Windows

Saturday, November 7th, 2009

This week I had what I consider to be curious experiences with others regarding ftp.

I’m what I would call old school; I started using ftp about 15 years ago when the internet was barely, if at all, entering the greater public consciousness, and the piece of software I had access to, gFTP, wasn’t chargeware. Way back when, Windows didn’t even have its own integrated network stack, let alone effectively having integrated ftp abilities in Windows Explorer.

Then Windows and the Vice President came along and claimed to have invented the internet :) , and people use drag & drop the way you can between two directories in a gui. I have never done it this way. Ever. Even the first time I asked IT to set up an ftp site for me for a work project, I naturally downloaded and installed FileZilla after immediately finding their instructions on how to do it through Windows Explorer confusing. So the Windows way is completely foreign and confusing to me.

The first curious experience was when I, probably naively, sent out an email to a bunch of co-workers who have access to a corporate ftp site for download of files resulting from field work, such as photos. I said that if people were having difficulty transferring files using the “windows” way of transferring files, that they could use Filezilla. The response from the project manager was “Why can’t we do it directly?” Simple response, “apologies for the confusion, just in case the way IT described it doesn’t work, here’s another way to try to directly do the transfers.” Again, I became aware that I was probably naive in presuming that the “windows” way may or may not work once outside the corporate IT network — why wouldn’t it? I just checked using the windows machine down the hall on my home network, and of course I was wrong and it works.

But I found the reaction curious anyway; maybe I was taking it too literally, but I found the “why can’t we do it directly?” part curious since I was proposing an alternate DIRECT way of doing things.

The second curious experience was more concrete. A co-worker was beside me, and we’re discussing the contents of the FTP site. I fire up FileZilla, and they ask me what I’m doing. I carefully respond; they say they’ve never seen it done that way, and it looks confusing. My turn. I explain “I’m starting up an ftp client. Here are the files on my computer on the left side, here are the files on the ftp site on the right.” “oh really? That must be a new way.” (harumppphhhh.) “Uhm, I’ve been using ftp clients that look this way for the past 15 years.”

I didn’t continue into a tyrade about how Windows has people brainwashed into thinking that they way to do anything on a computer is the “Windows Way”.

Sheesh, I don’t know how to fix my car when it breaks down. Doesn’t mean I don’t have an idea about what it looks like under the hood.

Trying to use Opera as a baseline

Friday, July 10th, 2009

I decided that time of day could cause differences, who knows. I did side-by-side comparisons of two of the three ASP pages from this morning. The windows machine had not trouble, my F11 machine with Firefox 3.5 RC4 decided it still wanted to hang around.

I ask my brother who looks into it, and so far has no idea yet. He suggests trying Opera to set a baseline reference. Now that I think of it, I’ll try both firefox and Opera on my business machine, just to really try things out.

So I download and install Opera as a baseline on my computer, figuring that either things will work and I’ll figure out that it’s Firefox 3.5 RC4, or that it’s something else. That licence screen isn’t as scary as other licenses, it appears that I can use it to browse the web and so on — as long as I’m not doing so as part of air traffic management or running my nuclear power plant — but it’s still interesting.

I quickly check two of the websites I had trouble with this morning. And they hang.

Now I’ve just installed firefox on my business computer. To my great surprise, it worked — for the past several months I haven’t bothered on the presumption that somewhere along the line I’d get a message saying that I couldn’t do it without admin rights.

Surprise surprise — the two pages work without a hitch (firefox needs a couple of plugins, but the pages come up no trouble.)

At this point I’m going to let the Opera installation on Windows drop.

For those of you who are curious, the two sites in particular are geocaching.com and pwbrewing.com. The other two sites are not useful references since one is a corporate email server (all Windows, to my chagrin I have received confirmation from the techs there that they have no linux, and I’ve learned from other times not to bother mentioning linux to them, they seem more hostile to linux than I to windows — some say that it threatens their livelihood!) and the other was a survey tailored to my email addy as a customer satisfaction response.

Of course, I have read a few things about the latest Firefox Fiasco but that seems to be about load time and the way Firefox generates “random” numbers.

ASP and Windows centric web pages slow

Friday, July 10th, 2009

I am at another hotel on business. (Ho-hum, they have a password, I don’t care at this point to find out how long it’s been in place, I’m sure it’s good odds that it’s been a while. Shall we say that it’s named after a good ship. I suppose I could be wrong.)

Surfing is, often enough, slow. A good number of pages hang and time out. At first, I don’t notice much because the main one I visit is always slow, always hangs and occasionally times out.

At first I was wondering if it’s because I’m in a hotel using their internet — you know, bottlenecks due to lots of people using the internet hookup at the same time (what, at 6AM?), people setting up repeaters in the bushes stealing signal because there is an insecure password that at worst would cost them a night’s stay to figure out, etc.

I also have the company laptop with me, to do company work (of course, I have my own laptop to do personal stuff, the company policy on personal usage of the computers is getting to be much like closed source licences that make you wonder whether you may use the software at all, even for its apparently intended purpose.) It uses windows on a Centrino Core 2 with something like 2.8GHz or more. For the fun of it I type in le web page du jour. It loads quite speedily, while the page load on the same web page on my F11 ACER Aspire One is still hanging.

And I notice something interesting: le web page du jour is in ASP. So is the historically slow site. Last night the site that was impossible to properly log into using my laptop, the work email server — such that I logged into my own web email to send the message to the home office — is, you got it, on a windows server. A fourth site this morning timed out in the middle of a survey I agreed to take; I hope it’s a linux server, it’s for a magazine I subscribe to on a little topic called linux (the publishing house also has a PC magazine, so go figure.)

I’m wondering: Am I having difficulties with these pages because I’m using Firefox? Linux? A slower machine? Is it Fedora’s implementation of Firefox 3.5 Beta 4 or whatever? Some combination of the above? Is this an ASP compatibility problem? Or an ASP discrimination problem? Or are the pages in question themselves biased against non-windows computers? Or non-IE browsers? (Never heard that one before!)

À suivre …

Oooooops, I was wrong … (so what else is new?)

Monday, April 6th, 2009

In a previous post, “I may just have that reason to get rid of Ubuntu …” I stated that the thing that killed Ubuntu for me was the difference in how OO.o on Ubuntu 8.04 and Fedora 9 deal with the “notes” function in a document. The versions of OO.o in question were — according to distrowatch.com — 2.4.0 for Ubuntu 8.04 and 2.4.0 for Fedora 9. As of today’s date my F9 notebook has updated itself to 2.4.2, so to be fair I imagine that in the past year Hardy Heron has had some updates as well.

Today I stumble across this little gem from the OpenOffice.org website:

Improved Notes Feature in Writer

“In the past; notes in OpenOffice.org were just displayed as small yellow rectangles within the text. This was not very intuitive and user friendly. With version 3.0, OpenOffice.org got an advanced notes features which displays notes on the side of the document. This makes notes a lot easier to read. In addition, notes from different users are displayed in different colours together with the editing date and time.”

Ooops.

I went off on a holy rant, wondering why the heck Ubuntu has changed a few things more that it arguably needed to, when in fact … well, it apparently hadn’t: The annoying yellow dot was a function of OO.o to begin with. At that time. If anyone was changing things, it was Fedora backporting this function some time last fall, assuming that it wasn’t OO.o doing it, or adding a preview into the version that Fedora grabbed and included in F9 — in keeping with Fedora’s usual policy of not using custom patches not necessary to Fedora integration or backporting updates, instead opting for rapid changes, new releases, and submitting bug and improvement patches upstream instead.

Which is perhaps not saying much since at release time, both distros were using 2.4.0; rather, it only raises the question of why things are different between two nominally identical pieces of software, and perhaps lifts blame away from Ubuntu.

Oh well, I still don’t like Ubuntu. :)

In the meantime … I wonder how this is explained given that both distros apparently had the same version of OO.o at release time. I wonder if the feature was backported in Fedora. Or if it was backported by OO.o and Fedora simply passed on the change. Or … ?

And in the meantime as well, I wonder about the notes function in previous versions of the 2.x series of OO.o acting in “the new way” at least back to 2006 — again in the same post, second to last paragraph:

“The appearance of the notes in the margin is not a recent occurrence in OO.o, at least in the 2.0 series: back in August 2006 under CentOS 4.4 — OK, this is still the Red Hat family — I received a document with the notes visible in the margin (being a work contract I declined the document and asked that they resend the proper version, please.) I was using the standard OO.o 2.whatever downloaded and installed directly from openoffice.org (since the CentOS 4 series originally came wih OO.o 1.5.something series; I’d been using the OO.o 2.0 series for close to a year at that point under Windows before I’d made the switch to linux.)”

Printing PDFs

Friday, March 27th, 2009

I’ve just had an interesting object lesson in the differences between two different pieces of software that have more than essentially the same function.

Today I had an important PDF document to print out at home instead of at the office. For the purposes of practical convenience, it was far better to print it out at home and just deliver it to the office than spend the extra time at the office (5-10 minutes) turning on my office computer and printing it out there on a printer I knew would have no difficulty dealing with it, having printed out a few dozen identically-generated documents on it.

On my pretty much stock Fedora 10 box, I use the Evince Document Viewer 2.24.2 using poppler 0.8.7 (cairo) for the Gnome desktop to display and print PDF documents. So far, I’ve been satisfied.

The PDF’s layout had margins beyond my printer’s abilities. And of course the most important parts of the document, being right at the edges of the margins in this document, were being cut off in the process of printing out the document. A reduction in the print size was not useful since the vital information was on the end of the document being cut off in the margins. I suppose I could have tried rotating the document to try to see if the cut off part would not contain crucial information, which I didn’t think of at the time. Both these strategies, however, miss the point: If the original document has very narrow margins, something is going to get cut off no matter what; not exactly desireable.

I did try something that happened to involve a Windows box (ughh) mostly because it had a different printer, and you never know how things behave differently with different equipment.

Not surprisingly, the windows box happens to have an Adobe viewer installed (I avoid that box as much as possible; I don’t even maintain it, that’s my brother’s job. :) ). I click to print the document and whaddya know, in the print dialog there’s an option to fit the document within the printable area. Document printed, convenience secured.

Now what I would like to know is how much of the print window in my desktop is governed by HPLIP, how much by Gnome, how much by CUPS, and how much by the application invoking it at the moment. So I did a little experiment: Always selecting my printer, I opened a print dialogue in Evince Document Viewer, OpenOffice.org (3.0.1), Firefox (3.0.7), The Gimp (2.6.5), Xpdf (3.02) which I intentionally installed for the purpose of this experiment, and gedit (2.24.3) (on which I’m composing this blog). Besides Xpdf, each appears to have the same base, and except for Evince Document Viewer, each also adds a function tab of its own. Xpdf, on the other hand, has its own stripped-down interface — either invoke the lpr command or print to a file.

Here’s a quick table listing the tabs listed in the print dialogs available in five, off-the-shelf standard installs of Fedora 10 software, with my printer selected, plus Xpdf, which was installed directly from the Fedora repositories without any modification of settings or whatever on my part:

OpenOffice.org*: General; Page Setup; Job; Advanced; Properties
Firefox: General: Page Setup; Job; Advanced; Options; Properties
Document Viewer: General; Page Setup; Job; Advanced
The Gimp**: General; Page Setup; Job; Advanced; Image Settings***
Xpdf: Xpdf has its own stripped-down interface
gedit : General; Page Setup; Job; Advanced; Text Editor

* There is an Options button in the “Page Setup” tab for OpenOffice.org.
** The Gimp treats my “special” PDF as an image much like any other, and automatically sizes it to the current settings, much like it would handle a .png or .jpg image
*** The Gimp has an option to ignore the margins; see above note

Not one, besides The Gimp, has an option to fit the document within the printable range, and The Gimp only indirectly, because of the way it seems to handle PDFs by default as an image to be manipulated. And of the others, to be fair, only Document Viewer and Xpdf deal with PDFs — even FireFox delegates PDFs to the Evince Document Viewer by default.

Then I did another little experiment: I installed Adobe Reader 9.1 (that license is interesting, pretty convoluted, and makes me wonder whether I may use the installation at all; in any case, I’ll be getting rid of it since I really only installed it for the purpose of this experiment, and decided a while ago that having 2 PDF viewers above and beyond that which is available in the basic distro installation is superfluous unless ther’s a particular reason for it.) And what do I see? A new print dialog that reminds me of the one I saw earlier on the windows box. Interestingly, it has “fit to printable area” and “shrink to printable area” options.

So my little experiment has led me to the following conclusions:

- many pieces of software, presumably not wanting to reinvent the wheel, rely either on the OS or I suspect, at least in this case, the desktop environment for its print dialogs;
- some software authors do want to reinvent the wheel, such as to “do it their own way”, or to be completely platform and environment independent, and therefore make their own dialogs;
- some software authors want to do extra things but don’t want to reinvent the wheel, so they have a wrapper for to add extra functionality to an existing base;
- in my documents, I shouldn’t try to stuff as much content as possible into each page too far, at least not by playing around with the margins.

Looks like something for the Evince authors to toss in. Assuming, of course, that — without fundamentally changing a document — resizing a PDF and/or its content to the local printer’s printing range is a really useful feature, such as to deal with awry margins, or PDFs sized for A4 instead of letter sized or vice-versa. :) And that such non-conformities and/or their prevalence make it worth my using the Adobe Reader, licensing issues aside. Or that another PDF reader out there that has that functionality.

Hmmm … OO.o differences, Fedora, and Ubuntu

Thursday, February 5th, 2009

In my post I may just have that reason to get rid of Ubuntu … I whined about minor differences between “stock” OpenOffice.org appearances and functions and those I used straight off the OO.o website as well as what ships with Fedora.

This blog explains a bit why: It says “Many Linux distributions ship ooo-build. … Fedora ships a modified OpenOffice.org, but Fedora does not use ooo-build.” Which means that in keeping with Fedora’s usual policy, it ships upstream versions of software with only reasonably required modifications to make it work under Fedora. When I was using CentOS, I was using the vanilla version directly from OO.o.

That explains a few things. It doesn’t necessarily justify my whining — nor all the changes Ubuntu or other distros (or even Fedora) make, but … Why mess with a good thing? :)