Tuesday, November 04, 2008

Obama

Well there is no short of commentary on the election results. All I can say is thank-you America for coming out in such force. The first decade of the 21st century has been nothing but hell with Bush. We can now breath a collective sigh of relief now that Obama has ben elected. I say this as a Canadian. Thank-you America for finally doing the right thing. Best of luck Obama. I've had close ties to the states for most of my life, but during the last eight years, I've been left with nothing but dread every time I 've crossed the US/Canada border. I finally feel that I can travel to the states with the freedom that I experienced as a teenager. I hope my euphoria is not in vain.

Monday, October 20, 2008

Frankie Venom d. Oct 2008



This is how I remember Teenage Head and Frankie Venom. Got to party with the band once in North York.

Frankie and the band lived the dream. They were a big part of my T.O. experience in the 80's. Sigh.

Monday, September 29, 2008

How ordinary people become monsters ... or heroes ( Philip Zimbardo )

Truly an amazing talk by a great thinker. Zimbardo explores how ordinary people can become bad.

Sunday, September 28, 2008

Gay Bashing In Vancouver

Every once and a while the CBC releases a story on gay bashing in Vancouver. I am always surprised when I read something like this, as not only do I see Vancouver as extremely gay friendly, but the gay and lesbian community is in fact a vibrant and key part of this city's social make-up and flavour.

The CBC's most recent story, concerning Jordon Smith is disheartening, especially considering the violence and damage that Jordon experienced - this should not happen here, or anywhere.

But after reading this story it helped me understand, at least in part, some of the anger that was directed at me recently in a gay bar.

I will relate - after being rejected a particularly attractive girl I was interested in, turns out she has a girlfriend ( no shit, this is totally true and didn't see it coming), I looked up an old friend for drinks. He and I are both straight, but a good friend of his is gay, someone we went to school with but I had lost touch with. The three of us met for drinks at a gay bar on Davie Street. It is a new place, can't remember the name. The gay friend was not actually expecting to see me, and when he did, yelled out "Oh My God, Its Seven in a gay bar, you must be a homosexual!" Later, when his his partner arrived, he actually did the same. I was being outed as being straight.

I just brushed off their comments and went on with usual pleasantries and tried to catch up with him, enjoying being out with people I haven't seen for a while, and meeting some new ones. Nevertheless, myself and my straight friend experienced a fairly hostile atmosphere in this bar. I am fine with that, those who know me comment on my easy going nature in social situations. My friend however was not so at ease and needed to leave.

I was, nevertheless, a little surprised at our treatment, but after reading Jordon Smith's story, I can perhaps intuitively at least understand our reception at this bar.
It's not that we were a threat, but perhaps they were saying, 'look, this is how we are treated'. I'm sorry about that and wish it wasn't so.

I am saddened that we still live in an us-and-them society. I find it really unfortunate that we separate or are separated from each other based on social orientations. Personally I see no reason for this separation nor do I truly understand it, but obviously others disagree with me.

Thursday, September 25, 2008

O Canada

O Canada!
Our home and native land!
True patriot love in all thy sons command.

With glowing heartsTM we see thee rise,
The True North strong and free!

From far and wide,
O Canada, we stand on guard for thee.

God keep our land glorious and free!
O Canada, we stand on guard for thee.

O Canada, we stand on guard for thee.

VANOC, F.A.

Thursday, April 24, 2008

Prejudice in Vancouver

I'm hanging outside the Starbucks at Granville and Broadway in Vancouver waiting for a bus. I see an older gentleman, white, perhaps early seventies, take a seat on one of the benches near the bus-stop. He is wearing a baseball cap and a dark jacket with a hood. He sits for a while, then casually gets up an walks towards the collection of newspaper boxes on the corner. I'm mildly concerned because he is leaving his bag unattended on the bench. This is a fairly busy, public area. So I keep an eye out. He returns with an armload of free weekly papers (today is Thursday which means new editions are out), walks past the bench and dumps the papers into a garbage can, only then returning to his seat-- all in the world is well.

After a few minutes I can't stand it anymore and walk over the the garbage can to see what paper he dumped. I see about twenty or so copies of Xtra West, the local edition of a Canadian free paper of gay and lesbian news.

So I approached the man and asked, 'I'm curious, why did you dump those papers in the garbage?” He opens his reply: "Do you know about the Bible?" I am now regretting my decision. He continues on for a bit about God, Satan, and Sodom & Gomorrah. Many of his teeth are crowned with gold. I suggest that although he is entitled to his opinion, what he did may be considered an act of vandalism, and perhaps the police might not view his actions as appropriate. He said something about me being in league with the devil. I said that was fine and left him.

A few minutes pass and we hear sirens, not surprising, being close to a fire station. He pulls his hood over his head. The trucks pass and he pulls his hood down again.

My bus arrives, bound for the ferry terminal and a small farming community to the south of Vancouver. I get on first and find a seat near the back. The man gets on afterwards and sits near the front. I don't know if he is aware or cares that I am there, doubtful.

A few stops down the road a young Asian boy, perhaps fourteen or fifteen, gets on the bus, carrying a guitar and wearing sunglasses -- an Elvis in the making. The old man quickly offers the boy a seat and strikes up a conversation.

Thursday, April 03, 2008

No More Vancouver Sushi

Today I learned of a completely reprehensible and probably illegal practice of a particular Denman Sushi restaurant in Vancouver, British Columbia. Unfortunately I suspect that this kind of practice may be common in these types of restaurants.

The practice involves hiring servers on the condition that the server will pay a 6% cash premium on all food bills. The owners justify this premium as a sort of tip sharing program. The problem of course is that the server pays the premium whether they receive a tip or not from the customer. The restaurant owner further justifies this practice by explaining to the server that if they do a good job, the patron will give the server a good tip, presumably better than the 6% the owners are charging. They also hire only Japanese and Chinese new immigrants and students with poor English skills, people that generally would not report the owners, and that have difficulty finding jobs that aren't with AWs.

The owners of this particular restaurant themselves speak Cantonese, Mandarin and English fluently. The workers are told up front before being hired about the premium, and told that they will not be hired if they do not agree, and of course will be fired if they tell anyone about it.

Now this practice of 'tip sharing' has to be illegal from at least two perspectives.

The server is in essence paying to work at the restaurant. They have no guarantee of receiving tips and are expected to pay the hosts and bussers a percentage of their tips, as well as the enforced premium. Their wage is set at minimum wage for restaurant staff and a bad shift may effectively result in the server having to make a payback to the employer.

From the Government of B.C. Restaurant Employees Fact Sheet

The only lawful deductions that can be taken from pay cheques are those for Canada Pension Plan, Employment Insurance, Income Tax and any other deductions authorized by the employee in writing to pay on their behalf money to a union, charity, social fund, insurance company (medical, dental, insurance plan) or to meet a credit obligation.


In addition, through this practice of 'tip sharing,' the restaurant owners have also set up a very simple but effective way of under-reporting 6% of their gross revenue. This tip-sharing program is purely on a cash basis, and is done verbally at the end of the shift. The server's total food bill is added up, the 6% is calculated and the server pays this amount on the spot in cash. No record, no report.

I will never eat in this Denman Sushi restaurant again. And although I cannot name the restaurant here, I will be telling everyone I know about this disgusting practice and the name of the restaurant without hesitation.

I will also be filing a complaint against this particular restaurant with the Employment Standards Branch of the Government of British Columbia, and Revenue Canada.

It disgusts me to no end how these restaurateurs can take advantage of these young people simply because they don't understand their rights, the laws of Canada, and have difficulty with the language . May you rot in the hell you've created.


Restaurant Employees Fact Sheet


Employment Standards Act

Monday, March 24, 2008

RCMP Hides Taser Use

More than 2,800 Tasers are in use across Canada. The RCMP are supposed to report each incident of use or threatened use of Tasers. Records recently released to the CBC and the Canadian Press have been stripped of information of Taser use. This information was previously disclosed during 2002-2005 under the Access to Information Act.

The information that the RCMP did release shows that Taser use is up dramatically: over 1400 incidents in 2006, compared with about 600 incidents in 2005.

Liberal public safety critic comments that "The RCMP is a public police force" and that "they have to be transparent, they have to be accountable."

Not surprisingly, spokes-person Insp. Troy Lightfoot declined comment.

There have been at least nineteen Taser related deaths in Canada since 2001. An analysis by the Canadian Press of about 500 Taser incidents during 2002-2005 found that about 75% of these incidents involved unarmed suspects.

The now famous video of the death of Robert Dziekanski at Vancouver International Airport last October clearly shows how the Mounties are quick-to-draw the weapon on unarmed people.

Thursday, February 14, 2008

More Hidden Costs for 2010 B.C. Olympics

The B.C. government is offering partially paid leave to its 30,000 public servants if they volunteer for the 2010 Olympics.

B.C. government employees who volunteer for the Olympics will be able to claim part of that time as paid leave, said Colin Hansen, the minister responsible for the Olympics.

Hansen confirmed that in some cases the government will be hiring replacements for the paid volunteers.

Civil servants who do volunteer will also get vacation time bonus — for every two days they volunteer, they will only be deducted one day of vacation time, said Hansen. The rest will be made up as paid leave.

It is of course, inappropriate to pay people who choose to volunteer, because the volunteers would be using up their own vacation time while working for the Games.

Not surprising, VANOC is praising the proposal, saying it will bring workers with valuable skills to the so-called volunteer pool.

NDP Olympics critic Harry Bains, among others, criticize the plan, saying it could cost taxpayers millions of dollars and is another example of the hidden costs of the Games.


The program was also criticized by the Canadian Taxpayers Federation, which said Olympic spending is already out of control.

Sunday, November 18, 2007

Another Taser Death

Or, Another example of Canada's finest at their finest.
Near the end of the clip, one of the officers takes his club and uses the end of it on Dziekanski. Nice one guys.






It seems that the police are particularly jumpy in Vancouver. This taser death is not an isolated event. There is a long history of perceived police brutality in Vancouver, both with the RCMP and the local police force going back to the pepper spraying incidents at APEC to the more recent police shooting on Granville Street at 16th.

So I guess you have to be orderly and speak English while in Canada, because the police have no problem killing you in public.

post-script:
How the hell is Vancouver going to manage the Olympics?
Can you say "Police State"?

Monday, October 22, 2007

LiteFinder/1.0

Host: 74.53.249.34
Agent: Agent: Mozilla/5.0 (compatible; LiteFinder/1.0; +http://www.litefinder.net/about.html)

This is a horribly mis-configured spam bot. Best bet: forbid the damn thing from your site

Friday, August 24, 2007

Canada's Finest

This is how the police act in Canada. The three masked men in the video are actually police officers at a recent peaceful protest rally in Montreal Canada. Police officials originally lied about the officers and their roles: "Quebec's provincial force has flatly denied that its officers were involved in the incident." Yet a few days later:"The police admission came after several days of accusations from the protesters and denials from police that the three men were agents trying to provoke a confrontation between protesters and police."-CBC Canada story.
and
"At no time did the officers in question engage in provocation or incite anyone to commit violent acts," Insp. Marcel Savard.
Apparently pushing, shoving and carrying rocks are not violent acts, or an attempt to incite violence.

Thursday, August 02, 2007

Rizler Gets 30 years

Christopher William Smith gets 30 years for his 24 million dollar internet drug pharmacy. His co-workers get lighter sentences for their roles.

Just read the story at StarTribune.com.

Tuesday, July 24, 2007

Garbage in Vancouver

Hey Sullivan,

Why don't you put down your Olympic toys and do your job?

For example, get back to the table with CUPE Local 15.

Vancouverites
are putting up with enough already, with the snarled traffic, and endless construction projects, never mind another extended garbage strike. So ya know what? F. your garbage plan.

It wouldn't surprise me if that millennial mess on Cambie starts to look like an Olympic size garbage dump.

Thursday, May 31, 2007

TMCrawler

Host: 128.241.20.206
Agent: TMCrawler

This bad-bot visited a site, grabbed the robots.txt twice and started to follow links at a very leisurely pace: just sub-directories over a couple of hours.

Then it started to explore a directory in a systematic fashion. It picked a sub-directory and began a numerical search: /directory/0, then /directory/1, and so on. I caught this bad-bot quickly because I have any 404 errors emailed to me immediately. I suspect it would have tripped a trap soon enough though.

Others have reported this bot as a WTF is this thing doing?

Based on its activites, I have simply decided to deny it access to my sites.

Wednesday, May 23, 2007

Beware of Telus

The future is not friendly. At least if you have an account with Telus, based in Alberta, Canada.

Telus offers telephone, cell-phone and internet services for individuals and businesses in in Alberta and British Columbia, Canada; and web-hosting for anyone who will sign up with a credit card.

Just try to close your account at the end of your service agreement, however. Telus keeps on charging your credit card, sometimes cancelling your service, sometimes not.

I've had three different accounts with Telus, web-hosting, telephone, and internet, and when I've tried to close them it was the same each time:

each time the service agreement was at an end, I gave them appropriate notice that I would be cancelling service. In each case, Telus either continued to charge my credit card monthly for the canceled and disconnected service, or send me a monthly bill for advance charges for services.

With the web-hosting account, Telus eventually did reverse the charges to my credit card: it took several emails on my part to draw their attention to their extra-billing.

When I canceled my phone service, they disconnected the service right on time. Nevertheless, the billing department didn't get the news: they continued to send me a monthly bill for the service. It took a letter of complaint to get the phone charges reversed.

I canceled my internet over the phone. They said no problem and sent me another bill for the upcoming month. I sent a notice in writing describing the extra billing, and re-affirming my notice of cancellation. They sent me a bill showing the outstanding amount from the previous bill -and new charges for the upcoming month, with a threat to disconnect service if I didn't pay up soon! Egads!


If this extra-billing is happening to me, I would expect that it is happening to many other Telus customers. It is too much of a coincidence that they would continue to bill on a closed account on three separate occasions.

Canceling a phone or internet service should not be this much work. Service agreement ends. Customer calls and cancels service, Company says thank you for your business, rather than continue to bill you.

Telus, your future will go down the tubes. Ask anyone on the street, your customer service is abhorrent and offensive.

Sunday, March 25, 2007

Bad-Bot Trap Revisited

There seems to be an increase of late in bad-bot activity with new ips, and new user-agents. So I thought I would add a couple of ideas to flesh out my original A Simple PHP based Bad-Bot Trap that seems to be rather popular.

I'm flattered that people are posting and collecting the links to this blog. But some scum are stealing the articles and posting them on their own sites: you who do so will receive instant and debilitating bad karma as a result. Furthermore, you do not have permission to do so. May you experience endless server and php errors.

Just link, its nicer. If you have comments or suggests, go for it.

I offer the following with the standard disclaimer: If you don't understand the code, don't use it!

We can notice that the bots tend to follow the links on a page in one of three fairly predictable ways: top down, alphabetically ascending, and alphabetically descending. If we wish to trap a bad-bot early on in its travels through our site, we can easily set traps for each possibility using the original bad-bot trap and a little .htaccess magic.

First add the following rules to the robots.txt under User-agent: *

Disallow: /afile.html
Disallow: /zfile.html
Disallow: /nofile.html

add to .htacess

# set 'RewriteEngine On' if you haven't already
# redirect badbots
RewriteRule ^afile.* /badbots.php [L]
RewriteRule ^zfile.* /badbots.php [L]
RewriteRule ^nofile.* /badbots.php [L]


Now we have three different traps to embed in our pages:

<p style="color:white;background:white;height:0;visibility:collapse;"
onclick="return false" >
<a href="/badbots.php" >.</a>

which can go at the top of the page

<p style="color:white;background:white;height:0;visibility:collapse;"
onclick="return false" >
<a href="/afile.html" >.</a>

and

<p style="color:white;background:white;height:0;visibility:collapse;"
onclick="return false" >
<a href="/zfile.html" >.</a>

which can go pretty much anywhere on a page.

The traps should be self-evident as to their use. The Disallow: /nofile.html exclusion was added for that particular species of bad-bot that uses the robots.txt to find links.

Happy Trapping!

Tuesday, March 20, 2007

Internet Explorer 7.0 (MSIE 7.0)

So, after spending some time with Internet Explorer 7.0 ( MSIE 7.0), I can't decide if its a move sideways or backwards. From a user's perspective, it certainly is prettier than MSIE 6. Unfortunately it's 'security' features get annoying really fast. Try it and you'll see what I mean.

From a web developer's perspective, its a pain in the butt. Though some of the problems of MSIE 6 have been addressed in 7, a whole new set of problems need to be dealt with: web pages that have hacks to get 6 to behave, have to be re-hacked now to get 7 to behave.

Hey Microsoft: can't you guys figure out how to handle 'float' properly? And javascript, sorry JScript, don't get me started. What the hell's the problem? Mozilla figured this stuff out long ago. Were you not at the table when the standards were developed? My god CSS 2 is almost 10 year old! Its as if you purposely undermine standards that you were involved in establishing, by releasing broken software like MSIE 7, in order to undermine your competition. Truly evil, Microsoft.

Do some bug comparisons between 6 and 7 if you like. A good place to start is http://www.gtalbot.org/BrowserBugsSection/

So now we, as developers, have to maintain 3 sets of pages: one for browsers that actually work the way they are supposed to ( or at least try to address their bugs and short-comings in an open and timely manner), one for MSIE 6, and one for MSIE 7.

Egads, I feel dirty every time I have to use something created by Microsoft.

Sunday, March 18, 2007

Trapped Bad-Bots

2007-10-22
Host: 74.53.249.34
Agent: Mozilla/5.0 (compatible; LiteFinder/1.0;
+http://www.litefinder.net/about.html)

2007-10-18
Host: 99.238.107.208
Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

2007-10-08
Host: 213.189.25.182
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET

2007-10-06
Host: 82.99.30.27
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

2007-10-05
Host: 82.99.30.32
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

2007-10-05
Host: 131.107.0.95
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; WOW64; SV1)

2007-10-03
Host: 67.19.250.26
Agent: Mozilla/5.0 (compatible; Gigamega.bot/1.0; +http://www.gigamega.net/bot.html)

2007-10-02
Host: 82.99.30.10
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

2007-09-10
Host:207.46.55.27/30
Agent: MSNPTC/1.0 (stupid ms bot can't parse robots.txt properly)

2007-07-13
Host:218.231.136.5
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP; DigExt)

2007-07-10
Host: 38.100.41.112
2007-07-06
Host: 209.85.94.164
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)

Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
+http://process4.com) Gecko/20070508 Firefox/1.5.0.12
stupid bot grabbed the robots.txt, then the first link listed in its exclusion list


2007-07-03
Host:74.208.71.84
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727)

2007-06-27
Host: 63.251.174.4
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727)


2007-06-26
Host: 24.87.89.186
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322)

2007-06-22
Host: 64.92.199.41 and 64.92.199.41 (they have the whole block actually, I'm just banning the agent for a while)
Agent: libwww-perl/5.805

64.92.199.42
Agent: libwww-perl/5.805

2007-06-18
Host: 81.223.254.34
Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)

2007-06-15
Host: 201.5.229.201
Agent: Mozilla/3.0 (compatible; WebCapture 1.0; Auto; Windows)

2007-06-14
Host: 208.99.195.54
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)

2007-06-05
Host: 202.179.180.42
Agent: Mozilla/4.0 (compatible; NaverBot/1.0;
http://help.naver.com/delete_main.asp)

2007--05-26
Host: 24.242.34.213
Agent: MJ12bot/v1.2.0 (http://majestic12.co.uk/bot.php?+)

2007-05-25
Host: 84.88.32.199
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.23[ca]

2007-05-10
Host: 220.181.34.177
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; QihooBot
1.0 qihoobot@qihoo.net)

2007-04-26
Host: 65.222.176.124
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)

2007-04-24
Host: 212.219.190.178
Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT)

Host: 207.115.69.215
Agent: Mozilla/4.0/ (compatible- MSIE 6.0- Windows NT 5.1- SV1- .NET CLR 1.1.4322; ; )

Host: 65.222.176.125
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)

Host: 203.162.3.157
Agent: -

Host: 222.254.232.24
Agent: -

Host: 66.199.236.50
Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)

Host: 69.84.207.39
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)

Host: 208.223.208.181
Agent: Python-urllib/1.16

Host: 208.53.147.89
Mozilla/3.0 (compatible; NetPositive/2.2)

Host: 70.87.196.242
Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10)
Gecko/20050716 Firefox/1.0.6


Host: 65.222.176.122
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)


Host: 84.69.146.235
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322)

Host: 84.70.209.45
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322)


Host: 38.100.41.105
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)

Host: 38.100.41.102
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)

The related block of ips hosting bad-bots that I've seen so far are in the range 38.100.41.100 - 38.100.41.107

Host: 88.198.7.39
Agent: findfiles.org/0.9 (Robot;robot@findfiles.org)

Host: 72.21.50.202
Agent: Mozilla/4.0 (compatible; MSIE 5.01; MSNIA; Windows 98)

Host: 65.222.176.123
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)

Host: 88.151.114.39
Agent: Mozilla/5.0 (compatible; Webbot/0.1; http://www.webbot.ru/bot.html)

Saturday, December 16, 2006

BadVista.org

Before buying a new computer or moving to Vista, read what many techies already know and believe about the system at badvista.fsf.org