Main content
c
Created on Sunday, 19 May 2013 / Coding
Tags: html, accessibility, link
You can find lots of information about how to create HTML links to call a phone number. The syntax is essentially <a href="tel:NUMBER">NUMBER</a>. Most examples however would not work for people ... [ +++ ]
You can find lots of information about how to create HTML links to call a phone number. The syntax is essentially <a href="tel:NUMBER">NUMBER</a>. Most examples however would not work for people ... [ +++ ]
Created on Sunday, 19 May 2013 / Life
Tags: shanghai, china unicom, cell phone
I wrote before that I decided to go with China Unicom for cell phone service in China, primarily because they offer 3G which I use extensively, and I think I have a 1 year contract. (Oh the fun of not ... [ +++ ]
I wrote before that I decided to go with China Unicom for cell phone service in China, primarily because they offer 3G which I use extensively, and I think I have a 1 year contract. (Oh the fun of not ... [ +++ ]
Created on Tuesday, 23 April 2013 / Coding
Tags: c/c++, software development, unit testing
I've always followed the mantra that branch points in unit tests are bad practice, but I'd never tried to give specific reasons why it is bad practice. If you think about it, it is actually quite easy ... [ +++ ]
I've always followed the mantra that branch points in unit tests are bad practice, but I'd never tried to give specific reasons why it is bad practice. If you think about it, it is actually quite easy ... [ +++ ]
Created on Friday, 19 April 2013 / Coding
Tags: c/c++
During a code review, I was asked why I wrote the following C code: double dval = ...; uint16_t uval = (uint16_t) MAX(0, MIN(dval, UINT16_MAX)); If I am going to store the value unsigned, why do I ... [ +++ ]
During a code review, I was asked why I wrote the following C code: double dval = ...; uint16_t uval = (uint16_t) MAX(0, MIN(dval, UINT16_MAX)); If I am going to store the value unsigned, why do I ... [ +++ ]
Created on Wednesday, 13 February 2013 / Coding
Tags: c/c++, windows
The Windows API provides the GetDateFormat and GetDateFormatEx functions for formatting time information into the appropriate locale specific format. Using the function, you can decide whether to return ... [ +++ ]
The Windows API provides the GetDateFormat and GetDateFormatEx functions for formatting time information into the appropriate locale specific format. Using the function, you can decide whether to return ... [ +++ ]
Created on Thursday, 31 January 2013 / User Experience
Tags: windows, user experience
Terminology in Windows can be a quite confusing. What exactly is the difference between customization, options, personalization, preferences, properties, schemes, and settings. The Windows User Experience ... [ +++ ]
Terminology in Windows can be a quite confusing. What exactly is the difference between customization, options, personalization, preferences, properties, schemes, and settings. The Windows User Experience ... [ +++ ]
Created on Friday, 07 December 2012 / Coding
Tags: c/c++
Last time I posted about why you should prefer streams to buffers. That post was motivated by some work I asked of an intern. I asked her to use the streaming interface functions with the XML parser instead ... [ +++ ]
Last time I posted about why you should prefer streams to buffers. That post was motivated by some work I asked of an intern. I asked her to use the streaming interface functions with the XML parser instead ... [ +++ ]
Created on Tuesday, 04 December 2012 / Coding
Tags: xml, c/c++
I've been working with the xmlwrapp library on Gibhub for parsing XML in C++. For parsing XML, it provides two interfaces. The first one takes a file name and the second takes a buffer. For unit testing, ... [ +++ ]
I've been working with the xmlwrapp library on Gibhub for parsing XML in C++. For parsing XML, it provides two interfaces. The first one takes a file name and the second takes a buffer. For unit testing, ... [ +++ ]
Created on Wednesday, 28 November 2012 / Coding
Tags: c/c++
It is probably less well known, but many of the C++ STL algorithms can operate on containers and C-style arrays. The evidence is that few examples cover C-style arrays. But C-style arrays are great, particularly ... [ +++ ]
It is probably less well known, but many of the C++ STL algorithms can operate on containers and C-style arrays. The evidence is that few examples cover C-style arrays. But C-style arrays are great, particularly ... [ +++ ]
Created on Wednesday, 28 November 2012 / Coding
Tags: html, css, accessibility
An earlier post of mine describes the purpose of skip links. Now that you want to implement it, what is the best way? Searching online gives lots of options and an equal number of exceptions. What actually ... [ +++ ]
An earlier post of mine describes the purpose of skip links. Now that you want to implement it, what is the best way? Searching online gives lots of options and an equal number of exceptions. What actually ... [ +++ ]
Created on Tuesday, 27 November 2012 / Coding
Tags: html, css, accessibility
I've decided to give a talk on web accessibility in a few months, in particular, on how to make web pages accessible. I've spent time trying to make this site more accessible, but until today I never turned ... [ +++ ]
I've decided to give a talk on web accessibility in a few months, in particular, on how to make web pages accessible. I've spent time trying to make this site more accessible, but until today I never turned ... [ +++ ]
Created on Friday, 23 November 2012 / Coding
Tags: c/c++, windows
A common problem I've had is measuring text (strings) that will be drawn to the screen from code that knows nothing about drawing. The problem is that the measure text functions expect a device context ... [ +++ ]
A common problem I've had is measuring text (strings) that will be drawn to the screen from code that knows nothing about drawing. The problem is that the measure text functions expect a device context ... [ +++ ]
Created on Saturday, 17 November 2012 / User Experience
Tags: accessibility, html
I'm at Intro to Web Accessibility at Accessibility Camp Toronto. I've tried to make my website accessible, so what have I done wrong? I'm sure there is a lot more, but these are the ones I caught during ... [ +++ ]
I'm at Intro to Web Accessibility at Accessibility Camp Toronto. I've tried to make my website accessible, so what have I done wrong? I'm sure there is a lot more, but these are the ones I caught during ... [ +++ ]
Created on Monday, 03 September 2012 / Coding
Tags: windows, mac
As soon Windows 8 was released, at least for those of us with MSDN licenses, I installed it on Virtual Box since I use a Mac at home. After running into issues with Virtual Box 4.1, I installed Virtual ... [ +++ ]
As soon Windows 8 was released, at least for those of us with MSDN licenses, I installed it on Virtual Box since I use a Mac at home. After running into issues with Virtual Box 4.1, I installed Virtual ... [ +++ ]
Created on Thursday, 30 August 2012 / Coding
Tags: c/c++, c++11
I've been writing a lot of code using std::unique_ptr, new in standard library changes for C++11. One of the thing the library doesn't provide is a way to cast std::unique_ptr, for example, from a base ... [ +++ ]
I've been writing a lot of code using std::unique_ptr, new in standard library changes for C++11. One of the thing the library doesn't provide is a way to cast std::unique_ptr, for example, from a base ... [ +++ ]
Created on Monday, 06 August 2012 / Apps
Tags: joomla, html, microformat
Personal hCard module for Joomla shows personal contact information on your Joomla 2.5/3.1 website using the standard hCard format. Overview Personal hCard displays contact information on your Joomla ... [ +++ ]
Personal hCard module for Joomla shows personal contact information on your Joomla 2.5/3.1 website using the standard hCard format. Overview Personal hCard displays contact information on your Joomla ... [ +++ ]
Created on Thursday, 26 July 2012 / User Experience
Tags: accessibility, html, microformat
I wrote this a couple of weeks ago, but apparently forgot to hit the publish button. So far, in my list of goals for my website refresh, we've seen the following HTML5 Schema.org (or another microformat) ... [ +++ ]
I wrote this a couple of weeks ago, but apparently forgot to hit the publish button. So far, in my list of goals for my website refresh, we've seen the following HTML5 Schema.org (or another microformat) ... [ +++ ]
Created on Wednesday, 18 July 2012 / Business
Tags: apps, blackberry playbook
Allergy Traveler for BlackBerry PlayBook got a long overdue update yesterday. Unfortunately, due to a hard drive crash, I had to release as new product. (That means existing customers won't be able to ... [ +++ ]
Allergy Traveler for BlackBerry PlayBook got a long overdue update yesterday. Unfortunately, due to a hard drive crash, I had to release as new product. (That means existing customers won't be able to ... [ +++ ]
Created on Wednesday, 18 July 2012 / Coding
Tags: html, joomla, microformat
The last few posts (and probably the majority of the next few) are likely all about HTML5, metadata, schema.org and Joomla. That's because I've decided to "convert" this site to HTML5 with metadata tags ... [ +++ ]
The last few posts (and probably the majority of the next few) are likely all about HTML5, metadata, schema.org and Joomla. That's because I've decided to "convert" this site to HTML5 with metadata tags ... [ +++ ]
Created on Saturday, 14 July 2012 / Coding
Tags: html, css
My experience writing web pages is relatively causal. The first time I wrote HTML was probably in 1997, creating a Geocities page (somehow I still remember it was CapeCanaveral/Hall/3230). I've created ... [ +++ ]
My experience writing web pages is relatively causal. The first time I wrote HTML was probably in 1997, creating a Geocities page (somehow I still remember it was CapeCanaveral/Hall/3230). I've created ... [ +++ ]
by Aixeena Joomla Extensions