Friday, June 24, 2016

CBC Radio One Live Audio Streams

Update Aug 2019

All CBC radio streams are now no longer available.

Official CBC response 

CBC Stream URLs ended/stopped working/unavailable as of Aug 2019

Radio One Stream URLs as of Aug 2016
CBC Radio released new audio streaming urls as of Aug 2016. 
However, all of the MP3 streams below are streamed at sub-standard 48 Kbps bitrate.

"Going from 64 kbps to 128 kbps (internet standard) adds more important data than going from 128 kbps to 192 kbps"  A informative article on Slate to explains bitrate(kbps) in relation to audio quality. 

Good news the streams work natively for Windows Media Player, for the first time, which great news. 

Update: Still working in 2018.

Open Windows Media Player, and press keys simultaneously CTRL u to play. 

Source of Streaming URLs here......

Province City  MP3
BC  Kamloops
  Prince George
Yukon  Whitehorse
  Thunder Bay
  Nord Quebec
  Quebec City
New Brunswick 
  Saint John
Prince Edward Island 
Nova Scotia 
  Cape Breton
Newfoundland & Labrador 
  Corner Brook
  Grand Falls/Gander
  St. John's
Northwest Territories 

Get Winamp 5.666 Download, still the best player

Tuesday, June 14, 2016

OneDrive 2016 Upload Speed

Here my test results of using a browser to upload  a folder in Overdrive.
Overdrive queued a max of 3 files to upload simultaneously. 

Overdrive took 20 mins to upload 868 Mb folder, so roughly  
0.7233 Mb/s on a 29.22 Mpbs (down) / 7.54Mps (up) line.

Calculate your speed here

You can perform a speed test here.

Lets test a hypothesis in the comment section;

Is Onedrive speed maxing out at 
10% of your internet connection upload speed? 

Speed: 0.754 MB/s 

Size: 1 GB
22 Minutes and 38 Seconds

is a rough estimate to what I am getting for OneDrive upload times  - 1 Gig in 23 mins.

Thursday, June 9, 2016

Gmail : How to selecting multiple emails using keyboard shortcut almost

Gmail is a very popular with a reported 1 billion active daily users and you figure their engineers would designed Gmail with the best user interface experience possible for you, a user. 

But I will report one glaring over site, Gmail provides no keyboard shortcut to select multiple messages.

Outlook and Yahoo Mail provides this feature seamlessly and the way you would expect it, using Shift key to select multiple messages. 

So I give Gmail a big fat epic fail or F for not have a keyboard shortcut to select multiple messages.

Here's what you have to do in the mean time;

  1. Click the  gear in the top right and select Settings.
  2. Find the "Keyboard shortcuts" section and select Keyboard shortcuts on.

  3. Click Save Changes at the bottom of the page.
  4. To select multiple messages,

    Start with pressing x key(1) on first message, as inidicated by the vertical blue bar
    You can move this intuitively using up/down arrow keys.
    Now press Shift key (2) and with your mouse click the last message to select multiple messages.

Selection Keyboard shortcuts for Gmail - full keyboard shortcut list here.

xSelect contactChecks and selects a contact so that you can change group membership or choose an action from the drop-down menu to apply to the contact.

Its easy enough to select all messages, but a range impossible! 

Shortcut KeyDefinitionAction

* then aSelect allSelects all mail.
* then nSelect noneDeselects all mail.
* then rSelect readSelects all mail you've read.
* then uSelect unreadSelects all unread mail.
* then sSelect starredSelects all starred mail.
* then tSelect unstarredSelects all unstarred mail.

Wednesday, June 8, 2016

Microsoft's OneDrive 2016 Online Text Editor includes syntactic highlighting

Microsoft's OneDrive Online Text Editor is a amazingly easy an intuitive. It works with any text file including .txt, .html and .cs (C# Code files) and includes syntactic highlighting for these file types!

You may have missed the fact there is an text editor, since there is no indication of an EDIT option for text files.

There no EDIT in the main menu (at top) and there is no EDIT in the right-click menu (when you select the file). Adding EDIT would be a intuitive UI improvement.

To edit the text file, you just click on it.

Just click on your text file to edit file in the Online Text Editor!

OneDrive Online Text Editor is basic, but functional enough to make quick changes that you Save and you're done!

It really feels like a true mini-editor, so you can edit your project files online in a snap, and share those files quickly and easily with others on your team.

Simple and efficient, and comes with line numbers and syntactic highlighting! Great job OneDrive developers.

.txt file

Great feature, example of syntactic highlighting of .HTML document.

Example of syntactic highlighting of .cs (Microsoft .NET C# XAML) document.

One annoying item, however the main text file name is stripped of its file extension for the text document. For example, readme instead of readme.txt (you have to choose information icon to get the full file name). This can get confusing (see example below) when you are edit mainwindow.xaml.cs and .cs is remove. .xaml files are valid files so hence the confusion.

Tuesday, June 7, 2016

Using Microsoft OneDrive 2016 as Content Delivery Network (CDN)

For web developers who are mindful of Page Speed scores, finding a free Content Delivery Network (CDN) to load your static content from a cookie-free domain is a nice to have!!!

This is a examination of using Micorosoft OneDrive as a possible CDN. I will test this using to hosting a 
ASCIIfy-StarFunv2.gif a 2.06 KB GIF image.  

One caveat off the top is that 
OneDrive is a COOKIE domain and requires authentication to get it's public resources, but that has change as of June 1, 2016 as part of new API change.
In fact, if you use the "Share Link" in OneDrive this uses a cookie to authenticate and will drastically reduce speed to grab the resource, you can read all about that in my old post here.

But the API has change as of June 1, 2016 and now the "Embed Link" uses a different url scheme and still does use a cookie, but it's working much quicker. 

Here's how to get the embed link for a resource on OneDrive. 

For more information on how to get a link to use in your website page for testing, read my blog entry on Microsoft OneDrive Direct File Download URL Maker.

Now lets examine some network timings from Google Chrome Inspect window.

Now you notice 4 different timings, and they each have the following URLS

  1. stripped parameters from url
  2. Original Embed Link code (Copy the to embed image url in 1st image)
  3. Using http instead of https

  4. redirected from 3 (to https//:)
  5. tried 1 as http:// and resulting in a redirect as well, so insignificant result.


  1. Stripping the Embed Link of ?width=85&height=85&cropmode=none, permitted getting the original gif, produced the best results. You'll noticed that image took a swift 226 ms to grab the ASCIIfy-StarFunv2.gif  and that rivals many CDNs!
  2. Using the original Embed link with the ?width....code transformed the gif to a sized jpeg! This nearly double the request time.
  3. Here I attempted to use http:// request and was redirect to 4
  4. Uses https and has simliar timings and equivalent to 2. So no saving using http, always redirects to https


OneDrive can be used as an effective free Content Delivery Network (CDN) to load your static content.