Main content


Created on Friday, 28 November 2014 / Apps
Tags: wordpress, tongji, analytics
Baidu Tongji for Wordpress enables support for Baidu Tongji (百度统计) on your Wordpress 4.x website.  Overview Baidu Tongji adds the tracker code for Baidu Tongji (Analytics) on your Wordpress ... [ +++ ]
Created on Wednesday, 10 September 2014 / Coding
Tags: c#
During a code review, I recommended changing a return value from IList to IEnumerable. Is there any real difference between these two interfaces? In fact, there is one huge difference. IList (and ICollection) ... [ +++ ]
Created on Sunday, 10 August 2014 / Coding
Tags: html, analytics, pride
This presentation analyzes ShanghaiPRIDE web analytics information from 2014 to understand how visitors use the website and prioritize development task for 2015. Directly download the presentation. ... [ +++ ]
Created on Thursday, 07 August 2014 / Coding
Tags: css, html
For the menu system on the website I'm working on, we want to have a triangular icon that indicates the item has children. The items themselves are stacked vertically and expand when clicked and so we ... [ +++ ]
Created on Thursday, 03 July 2014 / Apps
Tags: tax, excel, vba
ACB tracker spreadsheet is a spreadsheet I created to track and calculate the Canadian adjusted cost base for ETFs that I own based on the guide from PWL Capital: As Easy as ACB: Understanding and tracking ... [ +++ ]
Created on Friday, 28 March 2014 / Coding
Tags: c#
A question came up while reviewing some code that I needed to answer before I gave the feedback. What is faster: adding objects or strings to Dictionary(TKey, TValue). I was pretty certain that the object ... [ +++ ]
Created on Friday, 07 March 2014 / Coding
Tags: html, css, javascript
The website I'm working on uses a responsive design and the mobile layout has the menu hidden along the side. We want it to slide out when the user clicks the menu button (or swipes). I wanted to do this ... [ +++ ]
Created on Wednesday, 05 March 2014 / Uncategorised
Tags: html, css
For styling, sometimes you want all items to have the same width as the longest item. Some solutions either fix the width, which doesn't work well for responsive designs or where things translated. Other ... [ +++ ]
Created on Friday, 14 February 2014 / Coding
Tags: c#
As someone relatively new to C#, I don't always think of the simplest way to express my intent. We use Resharper in my workplace and it is quite good at picking up where I think too much in C++. A common ... [ +++ ]
Created on Wednesday, 13 November 2013 / Coding
Tags: c#, stylecop
A project I'm working on uses StyleCop to automatically enforce a set of style and consistency rules. It took some time for me to get a project setup because the StyleCop SDK is missing a few details. ... [ +++ ]
Created on Tuesday, 05 November 2013 / Coding
Tags: oecl
An OECL file aims to be a complete description of a component or an entire library of components. Dictionaries It does that by defining a series of dictionaries that describe various aspects of components. ... [ +++ ]
Created on Tuesday, 29 October 2013 / Coding
Tags: oecl
Finally I can talk about the longest and biggest project I have ever worked on: OECL.  So what is it? Well, let's start with the name. OECL stands for Open EDA Component Library and it is NI's way ... [ +++ ]
Created on Tuesday, 03 September 2013 / Coding
Tags: c#
Obviously C# is not C++, and so it is important to not simply assume that things true in C++ are also true in C#. A good question is the cost of the is operator compared to a virtual (or abstract) function. ... [ +++ ]
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 ... [ +++ ]
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 ... [ +++ ]
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 ... [ +++ ]
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 ... [ +++ ]
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 ... [ +++ ]
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 ... [ +++ ]
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 ... [ +++ ]
Page 1 of 3
by Aixeena Joomla Extensions