Archive for the ‘Every Day Work Life’ Category

We’re growing! Programmers, read on…

Tuesday, November 15th, 2011

For over seven years, Green Light.ca has been in the business of  developing websites and providing technical services to vast array of clients in the Kootanays. Your support has contributed to our success and we are currently looking to expand our team to meet growing consumer demand.

If you are one of those left brained, web programming savants and are looking to compliment our design team, please get in touch with Keith today.

Skills you will need

  • Proficient in standard web technologies,  PHP (Certified), SOAP, Etc.
  • Proficient in at least one other major object oriented programming language, Java, C++, Fortan, etc.
  • Comfortable with module development for frameworked applications
  • Effective time and request management
  • Creative problem solving, with a passion for best practices

The Rogers > Telus > Rogers Switch

Thursday, July 14th, 2011

Last year around this time, I lost my handy and aging Nokia 6610 on Rogers. It was gsm, worked everywhere and was impossible to break -  all in all, a very well built phone.

The loss of my phone, combined with Rogers poor customer service, gave me the impetus to switch to Telus. I picked out a new Android phone and HTC Hero.

Telus didn’t update the phone to 2.1 for nearly ten months. When I bought the phone, 2.1 was already being rolled out to other Telus phones. This may be an HTC problem but ultimately, it’s Telus that I bought the contract from. The phone was a bit slow and I was sure the update would fix that because the talk around 2.2 was that is was much faster. People seemed like they were happy with it. Telus had already been on record saying 2.1 was coming in the next quarter, right from the beginning. Needless to say the 2.1 update was a bit better but not 2.2.

A co-worker and I bought Telus phones in the summer and by October we started having problems receiving calls. We had good service in our office/home up to that point. The phones showed two or three bars of signal but when someone called, the phone wouldn’t ring. This was less than ideal for someone who’s business entails that they must always be on call. We talked to Telus, installed a cell phone booster and did just about everything you could imagine to get those phones working.

Telus told us that the problems with service were due to the severity of the winter, and that problems were to be expected. I totally agreed with this. However, we found out this spring that Telus downgraded the network exactly around that time because of issues with their new rollout. We spent literally hours and hours with Telus trying to deal with winter weather that at best was a minor factor in our problems. Telus let us burn that time without so much as a peep from anyone in technical support.

Eventually I got a loaner phone on the CDMA network and put the HTC Hero away. I needed a phone that worked for calls. I didn’t need a phone with data capabilities,  I just needed a phone that worked. But this loaner phone had an old battery and died a quick death.  It was then that I decided to fix the problem once and for all.

First, I rooted the phone and upgraded to 2.2 myself. I had to do a lot of digging online to find the right collection of instructions.

http://forum.xda-developers.com/showthread.php?t=645253

I can’t say how impressed I am with the speed of the phone with this update. All signs of sluggishness are gone and everything is snappy and responsive.

I unlocked the phone and set up Rogers pay-as-you-go on it. Instantly the phone that had a bad signal and couldn’t receive calls was up and running again. Calls came through even in the dungeon-like basement. Rogers (as I have come to learn) has their tower on the hill facing town, while Telus has theirs on the hill above Nelson. In other words, Rogers has a clear sight line to every home in Nelson, while Telus probably has at least ten trees between it and every home in Nelson.

My conclusion is that in the last twelve months I’ve had to go way beyond what one would reasonably expect to do in order to get a product working, one that Telus sold me on contract to work. I tried numerous times to return the phone because of the service problems but was denied because Telus would not acknowledge that anything was wrong. At the time I didn’t know the problem wasn’t just winter weather. Further from a simple hardware perspective, with 2.2 running on this phone, now this phone needs 2.2 to work properly, for Telus/HTC whomever not to have rolled this update out when it came out ten months ago is disheartening. Neither of these companies give one shake of a fist to the quality of the product they’re making or selling and in regards to this model they both dropped the ball.

My next step is to recover some of the time I’ve lost and dissolve the Telus contract in small claims court.

For a company to sell you a phone, give you thirty days to trial the service then drag it’s feet upgrading the software on the hardware that the phone needs and then downgrading the network in the area without notice or acknowledgement is unconscionable. At that point, any agreement I made with Telus was null and void because Telus wasn’t even trying to keep up their end of the bargain.

Login, Get Report, Open in Safari, Print, Close

Monday, September 27th, 2010

Just a quick and dirty way to login to backend site using curl, grab a protected report file and save to disk, open with safari, print to a preferred printer and close the window.

Perfect for printing out a daily report via a crontab on your mac.

Dirty Code


#!/bin/bash
curl --cookie-jar /tmp/cjar --output /dev/null \

http://www.xxxxxx.ca/login

curl --cookie /tmp/cjar --cookie-jar /tmp/cjar \
--data 'logine=email%40xxxxxxx.ca' \
--data 'loginp=Passw0rd' \
--data 'login=Click to Login' \
--location \
--output /dev/null \

http://www.xxxxxx.ca/login

curl --cookie /tmp/cjar --cookie-jar /tmp/cjar \
--output /tmp/report.html \

http://www.xxxxxx.ca/printable_report.php?print=new\&date=today

open -b com.apple.Safari /tmp/report.html
osascript -e 'tell app "Safari" to print window 1 with properties {target printer:"Xeorox Phaser 6180MFP-N (a2:46:fe)"}'
osascript -e 'tell application "Safari" to close (every window whose name contains "Printable Receipt")'
echo `date` >> invoicePrintOffReport.txt
cp invoicePrintOffReport.txt /Volumes/Office\ Files/Bookkeeping/

There Be Robots

Tuesday, June 1st, 2010

Technology and Art mix more then we tend to realize. I couldn’t get enough of these great pieces by Ms. Shpeley at a recent art showing down the street. Who wouldn’t be tempted to replace that outdated photo of grandma on the wall with one of these little guys.

It really surprises me when some people can continue to take their personal creativity to new arena’s.  At times I struggle to simply understand new concepts in my own field of expertise. So when I see a painter experimenting with dioramas, or  stitching  stuffed robots it inspires me to push my own boundaries out.

Check out some of her other work at www.kellyshpeley.com

The walls going up

Wednesday, May 5th, 2010

We’ve tackled all the complicated stuff, the walls and mudding are about to begin. First coat of mud will be on tonight.

Hardwood Working

Tuesday, April 27th, 2010

Another late night is done. It’s just into the early hours of the morning now, I’ve just come from framing the new office. We’ve got about another 5 -6 days of work ahead of us so it’s going to be jam packed fun.

Open Letter to Canada Post about SPF

Friday, April 23rd, 2010

Does Canada Post know how to protect itself from domain spoofing?

Recently I received a Delivery Notice in my email from deliver4@canadapost.ca, a few days passed and nothing was delivered as promised by the note. Attached to the notice was a PDF that consisted of only one page simply stating “this page is intentionally left blank”.

A call to Canada Post customer service quickly sorted the problem out, the rep informed me that it was a virus going around. Given the spat of PDF embedded viruses that were used to attack Gmail Customers in the high profile Chinese Google hacking case the blank PDF now made perfect sense, thank god I was on a Mac and not a Windows system. How many thousands of calls have they gotten and how many people are now compromised?

Part of what made this virus email look so legitimate was that the  sender successfully used the actual canadapost.ca email address. This ability to spoof a domain ( like canadapost.ca ) in email was identified years ago as a hole in email security. To plug that hole the industry introduced a technically simple way for email providers to protect themselves. It’s called SPF, it’s free, and it’s simple and Canada Post is not doing it.

dig txt canadapost.ca

; <<>> DiG 9.6.1-P2 <<>> txt canadapost.ca
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14041
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;canadapost.ca.            IN    TXT

SPF is simply a list you publish as a DNS records. Using SPF tells the world what mail servers in the world are allowed to send mail from canadapost.ca and what a receiving provider should do if mail saying it’s canadapost.ca comes from server that’s not on that authorized list. Should that mail server reject the mail outright or should it just submit it to more intensive scrutiny, like an invasive virus scan.

Our mail servers here at Green-Light Communications look for an SPF record when receiving email, as many reputable mail provider do. When a domain owner does not publish an SPF we don’t have enough information to know when email coming from that domain is being sent illegally.

CanadaPost.ca, should publish an SPF record to protect its domain and to protect everyday netcitizens. This is a serious matter, canadapost.ca reputation has hijacked and used to help scammers steal peoples life savings. The cost to stop a re-occurrence is practically nil.

You, Canada Post, Government Corporation Extraordinary have a responsibility to act with diligence.

Keith Page
CIO, Green-Light Communications Inc.

New Office Prep Begins

Sunday, April 18th, 2010

Just wanted to give a sneak peak at the space we’re renovating to bring our team under one roof.  With studio space as it is in Nelson we’re going to renovating a good basement workshop, adding office space and making room for an open work area.

We’re slated to be fully completed and moved in by May 1st, 2010, before and after pictures will hopefully be posted shortly after.

Stats and Maps and More Stats

Friday, January 22nd, 2010

Data presentation is critically important in todays world. Choosing the right graph for the right audience is an art that even I can’t say I’m master of. Even so this presentation of w3cschools.org’s browser stats for the last 7 years is impressively beauitful. Take a look.

Baidu, China’s biggest Search engine Weigh’s in

Wednesday, January 13th, 2010

The BBC  Tech blog has more translated Baidu’s response on it’s blog.

On Google Quitting China 2010-01-13 13:20

“Google claims it will quit China. What it’s proved is not what the Google fans have claimed, that Google is a ‘Human Rights fighter’. Just the contrary. It’s proved that Google is a hypocrite.

“What the Google Chief Legal Adviser said makes me sick. To quit for the sake of financial interest, then just say it. To beauty itself up and ostensibly mention that Google comes under attack by the Chinese, and that Gmail boxes of Chinese dissidents have been breached, and to use all these as a pretext for quitting China, such tone is insulting the intelligence of the ordinary Chinese people. However, it may well satisfy the imagination of those Westerners who have never been to China and understood nothing of China but still like to point fingers at China.

“Let’s put forward one supposition: Would Google top executives still proclaim that they would ‘do no evil’ and quit China, if Google has now taken 80% of China’s search market?

“The only feeling the whole episode has left me is nausea.”