RSS

QoS For Facetime (And Firewall config)

To get facetime working on your firewall you need to be sure some ports can be used. For most home users this won’t be a problem but it may be different at work. Here is the Apple KB Article on it :

http://support.apple.com/kb/HT4245

If the Wi-Fi network router that you are connected to uses a firewall or security software to restrict Internet access, contact the network administrator and reference this technical article. To use FaceTime on a restricted Wi-Fi network, port forwarding must be enabled for ports 443 (TCP), 3478–3497 (UDP), 16384–16386 (UDP), and 16393–16402 (UDP).

Make sure those UDP port ranges have a good priority in your QoS configuration and you should be good to go. It is worth noting that DNS and HTTP must be open to the outside as well, but they are probably used only to establish the call (same for HTTPS/443) so the QoS config should not matter.

No Comments |

How to package Firefox extensions for Global installs

Firefox extensions are distributed in XPI packages (pronounced zippy).
XPI packages are in reality just a ZIP file with a standard file and folder structure in it.
Two types of add-on installations can be performed : Per-user, and per-workstation (Global). Typically, extensions are installed per-user, especially if the user is not a local administrator on his workstation.
However, there may be cases where a global installation is preferred: a standard extension would need to be installed multiple times for every user of a shared workstation. It would also be harder to push extensions out to users instead of machines.
Here is how to create install a firefox extension globally in a way that can easily be packaged  with anything that allows running batch files. The same information can easily be used to create clean MSI packages as well, using WiX or anything else, just put the files in the right location and set the proper registry keys. It would probably be more reliable to do it with an MSI than batch files.
1) Obtain the XPI package

2) Unzip the XPI package

3) Open the install.rdf file in the package.

We need to identify the “ID” of the package. Look for something similar to this:
<em:id>Blah blah</em:id>
The ID contained in the EM:ID anchors may be a name or a GUID. Note it down.
4) Create a registry import file
Create a .reg file.
This will be used to tell Firefox where to look for the new globally installed extension. This can be anywhere you want as long as the user that will open firefox has read access to it.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\Extensions]
“em-id-of-extension”=”C:\\Program Files\\Mozilla Firefox\\PathToExtension”
5) Create a registry import file for uninstallation
This file needs to be identicaly to the above, but with a minus instead of the path to the extension. This simply deletes the string we created before.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\Extensions]
“em-id-of-extension”=-
6) Create a batch file for installation

This batch file simply needs to copy the files to the location you specified in your .reg file, and then run regedit /s regfile.reg to import the registry changes.
7) Create a batch file for uninstallation
This batch file simply deletes the directory containing your extension and runs regedit /s on the uninstallation regfile.
No Comments | Tags: , , , ,

Online Payment | SAAQ

Online Payment | SAAQ.

Did I wake up in 1995, or is the SAAQ restricting my choices to two banks in Quebec?

I can renew my license plates online with a credit card, but for some reason, they seem to want to force me to either waste paper and a stamp, or to go to their location to pay.

And yes, paying at their location will cost you an extra $3 on top of that $86/year driver’s license.

No Comments | Tags: , ,

Google’s DNS Versus my ISP’s

In an attempt to see if it was worth it to switch to Google’s DNS, I made a quick performance comparison.

Using DNS Performance Test (DPT) , a tool that uses a random list of domain names, I tested performance over 500 (502 to be precise) queries. First, to my ISP’s servers, then to 8.8.8.8 (Google’s).

This test is far from scientific as I ran both test back to back, didn’t try multiple periods in the day, etc. But whatever, it’s fun !

ISP / Google

Worst Query time: 1166ms /  880ms

Average query time: 167ms / 145ms

Timeouts: 8 / 4

So it would seem that for now Google is slightly faster. However, this is probably nowhere near enough to convince me to give Google some even more logs to profile me, no matter what the privacy policy says..


No Comments | Tags: , , , , ,

Vehicle Storage – SAAQ Cliq

Online service available

* Monday to Saturday 7:30 a.m. to 11:00 p.m.

* Sunday noon to 11:00 p.m.

Note: Any operation completed after 11:00 p.m. will not be recorded.

via Vehicle Storage | Online Services SAAQclic | SAAQ.

What ? The government computer only gets in at noon on Sundays ? ??

1 Comment | Tags: , , , , ,

Experiment of the week..Chromium on OS X

Latest build of Chromium 4 as my default browser for a week, on OS X.

Let’s see how I can survive this.

First step: Install AdBlock+ And Subscribe to EasyList. That was why I could never survive Chrome before. Oh well that and the fact that the window decorations on Chrome for Windows make me want to jump out of the Window. (no pun in…yeah it was intended).

No Comments | Tags: , ,

OS X 10.5.8 Problems with Firefox

I have just upgraded my Macbook pro to 10.5.8.

I didn’t use the combo update for two reasons:

1) My ADSL is totally messed up, waiting for Bell to fix it, so 700+megs is insane for an update
2) I figured that since my OS X install was about a WEEK OLD that it could handle updates easily.

The install went fine, I rebooted.. and now I can’t even launch Firefox 3.5 !

Update: I rebooted a second time, and now Firefox seems to work fine. My spotlight index appears to be wiped, which I assume is normal.

Weird.

No Comments | Tags: , , , ,

iPhone 3.0 Finally brings usable IM to the iPhone

After a first iPhone that did not support third party apps, we were promised an App store, and push notifications for apps, in order to save battery life by not running applications in the background.

Then suddenly, we stopped hearing about it. Apple was acting like it never happened.

Now, with the iPhone OS 3.0 released, it is finally a reality. I strongly recommend that anyone interested in decent instant messaging on the iPhone get BeejiveIM 3.0 . It is about 10$, but worth every penny once you compare the security model with other applications, and push notifications make it so much more useful, it’s great.
With the iPhone locked, it will ring (if you want it to), and display the message you have just received in a small popup window. As you unlock it, it launches the app and takes you to that message.

Try it out !

No Comments |

How to sync Outlook on your PC, iCal, Pocket Informant on the iPhone and still get alarms

Pocket Informant is a wonderful tool on Windows Mobile, and an iPhone version was just released. It doesn’t have all the same bells and whistles (yet), and suffers from the heavy restrictions and lack of functionality in the iPhone OS version 2.

Two particularily annoying restrictions are the fact that it can’t sync with the iPhone’s calendar, which would’ve made it easy to sync with your desktop, and it can’t ring alarms if the app isn’t on. And to think that a decade ago, Pilot 1000s could ring even while the device was off…

To be able to sync my iPhone Pocket Informant to my work Calendar (Outlook) and home Calendar (iCal), and to retain alarms, I use this scheme:

image

Here is what you will need to do, and in what order.

1. Open a Google Calendar account. It should be noted that this is stored on Google’s servers, so this solution may not be the best if you treat your calendar info as super private or if it contains confidential information. It might also be a very bad idea if you schedule crimes using your iPhone. Read the privacy policy.

2. Backup your iCal and Outlook calendars, or really any other application you will sync with Google Calendar. The calendar will get wiped from your iPhone so make sure that the info is already somewhere else.

3. Download and install the Google Calendar Sync tool. The options are very straightforward:

image

Enter your Google credentials, and set the sync to 2 way. Test the synchronisation, verify that your Google Calendar now reflects what is in your Outlook calendar.

4. Download and install the Google Calaboration Utility to Configure Google Calendar as CalDAV Calendars in iCal . Again, the options are pretty straightforward, though the first sync will get the data from Google to your iCal in a new calendar. You will to create new appointments in the proper calendar. I’m no big iCal user, I barely use it in fact, so you may know a way of merging your calendars. Test creating an appointment, see if it got created on the Google Calendar, and then force a sync in Outlook and see if it made it there.

5. Buy, download and install Pocket Informant on your iPhone. Under Settings / Sync / Google Calendar, set the Sync to Active, enter your credentials, and force a sync. See if everything is now in Pocket Informant.

6. Disable calendar sync in iTunes. 

7. On  your iPhone, follow these instructions that explain how to setup your Google Calendar to sync over the ActiveSync (Exchange) protocol. This will wipe any calendar info from your iphone. Force a Sync, check if your iPhone calendar got updated. This will give you alarms !

8. Bonus option for jailbroken phones: Install Lock Calendar , available in Cydia, to display calendar info on the lock screen.

From Outlook..

From Google Calendar...

image image

You now have a decent calendaring solution for your iPhone, hopefully, some of these steps will be redundant with version 3 of the OS and future Pocket Informant release.

Known issues:

There is obviously a pretty long delay until all parts are up to date. I set the sync on my iPhone to 30minutes (I don’t use push), and to my outlook to 30 minutes, so if I’m not lucky it can take quite a while to be everywhere.

Items added from Pocket Informant with “Alerts” don’t seem to sync properly to Google, and therefore doesn’t get synched back into the iPhone calendar properly. So for now, until a workaround is found (there are quite a few different alert types in PI, maybe one of them works), you’re better off creating items that need alerts somewhere else.

Pocket Informant’s sync is not super reliable right now, should be improved soon.

ToDo:

You can use the same process with a ToodleDo account. I myself simply use Toodledo with the Firefox sidebar, and sync my Toodledo account to Pocket Informant and the Toodledo app for iPhone (Great value, by the way).

No Comments | Tags: , , ,

No more free Last.Fm in Canada

According to a blog post by Richard Jones, the free Last.fm radio will remain free only in the USA, UK and Germany.

They will also kill the non-official mobile players, which is quite ridiculous. In any case, I’ve used last.fm for years and just started using it again recently, now that the 3g network in Montreal is stable enough to let me listen to it on the go.

 

I guess it’s time to delete my account.

 

Isn’t it sad that the iTunes store is better in the US, Amazon mp3 only exists in the US, and now free Last.Fm only exists in the US?

2 Comments | Tags: , , , , ,