Sue your developer

This is not a blog.

So sue me!


I don't want to keep explaining. It's formatted like this so that code will fit without wrapping. I don't care if you think it's ugly.

Blog Archive

Sunday, June 21, 2009

Jerk to inflate

Over the years we have acquired several inflatable PFDs all branded as "Sospenders".
The first 2, bought in 1995, included life harnesses and are auto-inflate. They have a water soluble "pill" which will allow a spring loaded pin to pierce the CO2 capsule and inflate the life jacket, hopefully, in the case where one plunges, unconscious, over the side. They are also suitable for non-swimmers because one doesn't have to have ones wits about one for the things to inflate.

The other 2 PFDs we bought in about 2000 are so-called manual inflation models. These are lighter (no built in harness, so no heavy stainless steel rings and clips) and they have to be inflated by pulling a handle. They are nicer to wear just for a quick run in the dinghy or on a calm day.

When we bought the PFDs we bought about 3 sets of spare gas bottles and retention plastic clips to prevent the handles from being pulled accidentally - you have to pull quite hard: the handle at the end of the cord says "JERK TO INFLATE", which for pathetic reasons I find hilarious.
The thing we noticed at the time we bought the second set was that the design of the inflators had changed and the plastic clips we had for the old ones are not the same for the new ones...same idea, but about 3 mm different in size.

So far so good. In 2001 we had one of the automatic PFDs serviced by Sporting Lives Inc. - a friend had tried out the inflation of the device (at my suggestion) and had pulled the cord off when it didn't inflate. Totally my fault - I had unscrewed the gas bottle to prevent accidental inflation, and had forgotten to rearm it properly. Must be the drinking.

So the inflator was broken and the servicing company had replaced it and serviced the jacket for $40 US including shipping, which I consider to be reasonable.

We have used all the PFDs sporadically for the last few years, but have always taken care of them. Check them regularly and inflate & repack them annually.

We then bought a new boat in 2009 - on board was a non-automatic PFD identical to the ones we already had. It had no gas bottle or plastic retaining clip. So we started the search for our spares (somewhere in the basement) unsuccessfully. No worries, we thought...the product says "Sospenders by West Marine" on it. We'll just hie ourselves to the nearest West Marine and get the bits.

Not so fast, boater...West Marine no longer carry the compatible retaining clips for the brand of inflators that is in all these PFDs. The company that built the PFDs (and serviced them) used other suppliers' inflators and is no longer in business, having been bought out by Stearns in 2005.

Hours of fruitless searching for these tiny plastic clips on the web later...f*ck it, I thought, the only purpose of these clips is to add a bit of impedence to the pull cord so that the thing doesn't go off accidentally when one is moving around. I have experimented with a piece of stiff stainless wire formed into a clip and it works very nicely. I think we can save ourselves a lot of fooling around and just use this for the ones that don't have plastic clips, or to re-arm them in future if we use the PFDs in earnest (which destroys the plastic clips).

So, a pair of needle-nosed pliers (Leatherman Wave, always in my pocket) and some stiffish 1mm thick stainless wire. Cut the wire to 2.5 cm, shape a curl in each end and put the ends of the wire in the holes replacing the clip. About 10 mins of experimenting, including trying the destructive test of pulling the handle and voilĂ ! It is, in my eyes, a better design than the plastic clips, can be created by anyone, anywhere and reduces dependence on the manufacturers whims, design changes etc.

Of course the current generation of inflators has a tiny plastic peg in a hole, that will require some thinking to reproduce...if we ever get one of those.

One interesting thing: the professional servicing of these $150-$300 units seems to be non-existent now. I can't find anyone in North America who does this. Dozens of companies do this in the UK and Autralia, for example. Perhaps there is no market for this here. Perhaps in the UK, people are less ready to throw out an expensive item and take safety seriously so they have them serviced. Perhaps it's fear of litigation in NA...plenty of insurance companies will sue anyone they can think of if someone they insure is damaged by a defective PFD.

(We even heard of a Canadian marine surveyor who killed himself to save his family assets because he was being sued by a US insurance company. He had the misfortune to survey a boat that subsequently sank, killing a woman. However, I digress.)

Personally, having knowingly modified a PFD, I am willing to take the risk upon myself. So sue me :-)


Tuesday, February 17, 2009

Santa's helper - confession time

My conscience is troubling me - I fancy myself a rationalist, but in December I took part in the swindling of a little girl (aged 6). She'll hate me when she grows up I know. What can I do? I was begged by her lovely mother to help out:

Santa Claus
North Pole
H0H 0H0
Canada
24 December 2008

A Special Message from Santa

My Dearest Elizabeth,

I have thought long and deeply about the gift you want so much: a poodle. Not just any poodle, but a black poodle. I know that you have tried your best all this year and that you have been a very, very, good girl. Your mommy and daddy say you are a wonderful daughter!

Elizabeth, I am truly sorry, but Santa cannot give pets to anyone! My job is to give toys to good girls and boys - but a dog is not a toy! A dog it is a living, breathing animal that requires a lot of time, money, hard work and constant care and exercise.

Every Christmas there are dogs and cats given to children by their parents. Sometimes the children cannot care for them and the poor puppies and kittens have to go to the Animal Shelter: homeless! It makes them very, very sad!

If the time comes and your parents think that it is right for you and your family to have a pet, then you can talk to them about it. Until then you must be patient.

If you want to keep Santa's magic, please keep this message a secret from everyone except your mommy and daddy. Let me know what you think about it, you can write to me anytime, not just at Christmas.

I will be sure to bring you a special gift instead!

Give your little brother a hug from me!

With much love,


Santa.

Sunday, February 15, 2009

National Do Not Call Disaster

For quite a while this thing has been bubbling under- the fact that the CRTC has sold the National Do Not Call list to a bunch of unscrupulous, possibly criminal elements.

On or around Oct 1, 2008, in my usual got-to-be-first geeky way, I added a couple of cell-phone numbers (Don's and mine) to this list, as soon as it opened for business. The transaction was completely on-line...add number, then another number. I also added another friend's home phone number. The security was so lax I could add any number I wanted. In retrospect I should have added the numbers of the CRTC privacy point person but we can't all be prescient.

Everything was fine for a couple of months. Then this story came from the CBC. People were receiving more calls on their phones than before. The CRTC said that it was "under investigation."

Then in January 2009, this report from Yahoo news Canada - the CRTC basically admitting that they had sold the list, the do-not call list, repeatedly, for $50 to telemarketers. It could then be downloaded.

Now as we all know, telemarketers are honest, decent types, who really don't want to bother you at suppertime.* Clearly they didn't really have a use for this list (of people they shouldn't call, right?) so perhaps through the magic of the internet, the list was, possibly a little bit sort of, passed on and downloaded by a person in the United States. Nothing technically illegal is done.

One doesn't need to be Inspector Maigret to work out what happens next, and what happens next is entirely legal in the strict sense of the word. Don and I start getting automated calls from machines in the United States. Every day. We have never, ever got nuisance calls before. We only use these phone to call one another (very rarely handing out the numbers to anyone). These calls warn us of dire happenings because our car warranty is running out or some such guff. That this phone spam is automated is even more annoying (as we cannot ask to be taken off the calling list and they cannot pretend to do so).

Some research shows that these calls come from the most shady side of the outbound telemarketing world, probably run by organized crime. So Canadians who previously had anonymous cell-phone numbers are now being targeted by this traffic. Uurgh.

I suppose it's only fair. For many years, boiler rooms run out of Canada were targetting U.S. citizens for stock purchasing scams. It took a lot of cross-jurisdictional wrangling to get that stopped effectively.

So I got fed up and wrote to my Member of Parliament:

To Mr Guy Lauzon, House of Commons,

A question of privacy

Dear Mr Lauzon,

Late last year when the National Do No Call List was started, I registered some cell phone numbers, although I had practically never had any unwanted calls on these numbers. Perhaps one in 6 months.

This was clearly a huge mistake! And I am very upset about this.

We have since started receiving daily calls to our cell phones from numbers from numbers with area codes in the United States. These are automated calls, mostly from numbers that are reported to be part of some kind of phone scam e.g. involving expired car warranties (949 256 9179).

I feel that the CRTC, the organization that set up this registration scheme has been dreadfully mismanaged.
Somehow they have allowed my cell-phone numbers to be given to unscrupulous persons (probably organized
criminals).

In addition, when I actually put my numbers on the system using a computer, there was no security
- I put several numbers on, and one for a friend. (I think that this mistake has since been remedied,
but it clearly exposes how poor the implementation of this scheme was).

When I answer these calls, I get to pay for the connection. If I don't answer calls, then I may miss
something very important. I feel that my only recourse is to get another cell-phone number for my phone,
which will leave me paying additional costs and be a serious inconvenience.

If this had been a commercial company and not a federal government agency, I would probably try to
get the transfer fee back from them or some compensation, but I probably don't have that option.

I find this very frustrating and a serious betrayal of my privacy to be exposed like this.

What can be done about this?

Sincerely,

Susan Welsh.
cc. vieprivee@req.lnnte-dncl.gc.ca, privacy@req.lnnte-dncl.gc.ca
(email addresses for the CRTC and Do Not Call list privacy staff)



Perhaps something will come of this. Perhaps pigs will fly.



* IMO telemarketers are pond-slime, second only to email spammers in their evil ways and deserve to be eliminated (see previous spam-related entries). That's right...I'm a pacifist - but we're only talking about eliminating pond-slime so no harm done.

Friday, January 23, 2009

Spam quarterly review - penis enlargement resurgent!

Once more into the breach...I do this as a public service, so you don't need to worry about the slimy things caught in your spam filter.

The big story, as always, is penis enlargement spam. It's rampantly ballooned in the last quarter! Drugs are down and fake watches are up. There are more new categories than I have seen in one review before. Overall volume is down. This may reflect some serious recent spam-killing actions, metaphorical and actual.

The current profile looks like this:
  • 19% Posh watches practically being given away. This is up from 12% from last quarter.
  • 19% Discount pharmaceuticals, including offers of drug trials for viagra and queries about having "heartaches." (Headaches, heartburn or lovelorn? Perhaps all three). Dramatic decline from 56%.
  • 11% Penis enhancements and help for your (always female) partner. More than doubled in size! That's more like it!
  • 10% Why do you need Adobe software? (Because I'm a pathetic web programmer...)  Cheap "genuine" software, with reference to financial crisis as excuse for piracy, presumably. Avast! New category, shipmates! I think MS and Adobe better cut their prices dramatically ;-)
  • 9%  We ship worldwide: Hot deals/Member services/Status accessories and attributes/eBay/Payment accepted/Safety information. Unimaginative. C'mon guys you can do better than this! 
  • 4%  Appeals to update your firewall, O.S. etc. Also a new category. Also lame.
  • 4%  Diets endorsed by Oprah...you'd have thought that wouldn't be a recommendation worth having, but I guess she's tried a few. Up from 1% last quarter.
  • 3% Your check is (still) waiting (is that Czech or cheque?) and other bogus sales confirmations. Also up from 1% last time.
  • 3% Dating sites, with transparently lewd come-ons...eew!
  • 2% Activate your Internet TV/Watch movies on your PC. New category.
  • 2% Gambling - who put the bling in gambling? Perhaps no-one, it's down from 6% last time.
  • 1% This is why you are fat. What little me? I've always been told I was robust! New.
  • 1% Appeals to laziness (Why work? Why get out of bed?) Why indeed. New.
  • 1% From "Doctor" Berry; "Clearance: Save up to 75%.-Choose Real Taste™" (which is a Pizza Pizza slogan). Clearance pizza as a cheap medication?  Yay! New.
  • 1% Unspecified financial help to fix what ails ya.  Well this isn't the flood of financial crisis help offers that I predicted but it's up.
Someone asked why I bother. It's interesting. It only takes 5 minutes. There are only about 10 categories every time. Seeing the patterns, shows that mostly the originators are few, somewhat stupid, and trying to appeal to the more stupid or at least to non fluent English-speaking people. Specifically those who think that wearing a fake Rolex will make women like them and that someone is going to give them health, money, fame and entertainment while they lie on the couch, eating crap.

Hmm...sounds OK, doesn't it?

Sunday, November 9, 2008

Chrome - update after 2 months of use

I downloaded Chrome in a silly fan-boy-like frenzy the first day the beta came out. I must say the product has actually exceeded my expectations. It's delightful to use.

1. It gets out of the way. Very unobtrusive. I really don't notice the browser, I just use it. Searching on the same bar as the URL has just become natural for me.

2. I like the "quick dial" thing they copied from Opera - when you open a new tab without a URL the 9 most commonly browsed pages come up in a 3x3 pattern as thumbnails. The visual cues really make this a fast way to select your fave pages.

3. It's refreshingly honest when something doesn't work. For example, when a plug-in dies, it says "The following plug-in has crashed..."


4. The Gmail integration is very nice indeed.

5. Some interesting stats tools are built in. Plus an easter egg.

I have basically given up on IE, except for testing. Firefox: I like the addons (Firebug, Wizz RSS viewer) so I still use it daily. However, Chrome is what I use most often for generic browsing.

Tuesday, October 28, 2008

Flash and Subversion backups: Batch file to copy files excluding certain files

One thing about Flash (or any non-text binary type files) and Subversion, if you check your flas and swfs into a subversion library that is regularly backed up, for example nightly, you will soon be using a huge amount of space.

So the inestimable James (who's price is above that of rubies) found that our main code SVN library was not being backed up ...eek!

When he turned on backups in a reasonable schedule, well, we were checking in flas and swf several times in a day and these copies were all being stored in SVN as binary blobs or something, leading to a huge volume of backup files.

Our solution: Create a new SVN library just for Flash code, and don't bother backing it up except once per month. When we have code completed for the daily build we just drop swfs into the code build folder SVN. When we have significant code changes (finish an app, get ready for the weekly QA build)  we drop everything from our new SVN into the traditional place.

To help this, we have this little batch file to copy from the new SVN to the old one:

@ECHO OFF
ECHO.

rem put the ".svn" string and the filename excludefile.txt into the file of things to be ignored
echo ".svn" > excludefile.txt
echo excludefile.txt >> excludefile.txt

rem copy all files in all subdirectories, excluding those with .svn in the path

XCOPY /S /E /EXCLUDE:excludefile.txt "C:\projects\binaryDoc\studentui" 

"C:\projects\current\trunk\autoskill\academy\modules\ui\app\src\web\studentui" /Y

rem remove the excludefile
del excludefile.txt
ECHO.


Monday, October 27, 2008

What's next?

I swore I wouldn't put any political stuff here but there comes a point.
What happened to rational discourse? Reasoned debate? Issues?

All we have now is the hate-filled public arena with blood'n'sawdust on the floor and circling hyenas.

...and they complain that there is a campaign of hate against one candidate. Here's another:

It's a Sarah Palin blow up sex-doll. I mean, I think she's unsuitable as a VP, but it's not my call. Lots of folly of that kind in the past...Dan Quayle, for example. However, we don't create a sex doll of Dan Quayle do we? (God I hope not).

This is the kind of ad hominen-plus-extras that women in public life have to handle. Sure I disagreed with Margaret Thatcher and hated her policies, but the idea that people would make a rapeable image of someone like this is terrible and terrifying. And before any of you tell me it's just a joke: I say "Drop dead."

Some Americans have always been good at demonizing indivduals, as if that somehow takes the hard work out of foreign relations or politics. I distinctly remember my first visit to a U.S. gun shop (not what you think, I bought a pen-knife). The owner had posters in the form of rifle targets of Colonel Ghadafi the Libyan dictator on the wall. I exclaimed about this and he thought I was complimenting him on his taste, and he said: "If only I could get my hands on some of that (expletive) Noriega*, I'd make a fortune!"

Then it was Saddam Hussein, now it's Osama bin Laden.

And in the political side it was Nixon. Carter. And getting nastier, Obama. And Palin. I haven't made a study of this, it's just the things I see as an infrequent visitor who lives a half kilometre from the U.S.

It's so easy. Black hats, white hats. Us, them. They hate us because we're good. Why do they hate us? God loves us. We're the best country in the world. I am right. You are wrong and I'll do you an injury because I hate you. God hates you.

Sorry monkeys. At best God doesn't exist. Although perhaps on current evidence I'd say the chances are that she does and she's a Trickster.

* - Manuel Noriega then the leader of Panama, shortly before the U.S. invasion. I seem to think he's out of prison now.

Contributors