Quantcast
Channel: Programming – Mr Pfisters Random Waffle
Browsing all 15 articles
Browse latest View live

XML Stringbuilder Gotcha

Ran into another annoying gotcha earlier today, it has to do with the encoding format that XML uses when writing out using various methods. If you look at the following code segment for an...

View Article


String reversal in C

Recently I have been trying out a simple but really interesting interview question – how do you reverse a string in C? Hopefully most people should be aware that string functions in C are limited,...

View Article


Image may be NSFW.
Clik here to view.

Troubleshooting Video Playback in WPF

For a long time Microsoft has offered an OCX or COM componentised version of the Windows Media player for inclusion into C# applications. With the introduction of WPF a few years back Microsoft...

View Article

Image may be NSFW.
Clik here to view.

Up in the air with Cloud Development

The Cloud seems to be the buzz word of the modern generation, such as HTML5, Ruby on Rails and AJAX were before it. Everyone is scrambling to use it, some bash out an idea or two after a few days...

View Article

Currying Function C#

A while ago I did a post about Lambda calculus in C#, mainly focusing on how you can implement the concept of Y combinators. Y combinators are one of the simplest fixed point combinators in Lambda...

View Article


Image may be NSFW.
Clik here to view.

Quis custodiet ipsos custodes

Quis custodiet ipsos custodes? is a Latin phrase literally translated as “Who will guard the guards themselves?” but commonly rendered as “Who watches the watchmen?” made famous paraphased from its...

View Article

Plugin Architecture in Azure

Trade-offs have to be made when moving to Cloud platforms, that’s a fact, the question is how much of a comprise do you have to make. Performance and flexibility are two such entities that are...

View Article

Improving WPF Rendering Performance

I have posted quite a few times previously covering WPF, its quirks and workarounds as well as ways to improve its overall perceived performance to end users. In this article I will summarise them all,...

View Article


Image may be NSFW.
Clik here to view.

Subclassing .Net Compact Framework Controls

To aid development of rich interactive applications, and reduce the amount of time spent on handling OS specific interactions. .Net applications hide a lot of the underlying message passing that occurs...

View Article


Image may be NSFW.
Clik here to view.

Apple shows the world its hippy inspired view of the future with Mavericks...

Its one of the worlds worst kept secrets. Every year at the WWDC; Apples World Wide Developer Conference, they will show off the latest and greatest. Most years they have showed off software releases –...

View Article

Diving into the .Net JIT engine

Managed development using .Net has always been akin to the concept of ‘standing on the shoulders of giants’ where code reuse and using the tools are concerned. Most .Net developers are happily content...

View Article

Immutable objects in .Net

For years there has been an ever growing Elephant in the room for most programming languages; concurrency and multithreading. Most underlying languages implement the concept of threads allowing...

View Article

Porting WPF applications to Windows Universal Apps

Windows Presentation Foundation or WPF is one of the few things of the Windows Vista era that has survived, or that people actually use and enjoy. It was originally called Avalon and was the first step...

View Article


OpenCV Colour space and LAB WhitePoint

Recently I have had the fun task of trying to normalise colours between two sets of images in OpenCV. Being a photographer I thought the easiest way of doing this would be to use a Macbeth Colour Chart...

View Article

Image may be NSFW.
Clik here to view.

OpenCV Colour Temperature Calibration via rendition chart

Different types of light output different colour temperatures which is expressed in kelvin; ranging from the yellow end of the spectrum e.g. 2800k up to blue e.g. 6500k. Natural sunlight is around...

View Article

Browsing all 15 articles
Browse latest View live