Unicode character dump in Python

Sometimes you just need to see what characters are lurking inside a Unicode encoded text file. Your garden variety dump utility (like the venerable od in UNIX systems and the Windows standard hex dump (though I don’t think there is one) only shows you the plain bytes, so you have to head over to unicode.org to find out what they mean. But first you need to decode UTF-8 to get the actual code points, or grok UTF-16 LE or BE, and so on. It’s fun, but it’s not for everyone.

The udump utility shows you a nice list of character names, together with their offsets in the file. Currently it only handles UTF-8, so the offset is calculated based on the UTF-8 length of the character.

Continue reading

HipStyles Season Sale is ON! 50% OFF!

Season’s Greetings!

HipStyles is the ultimate companion app for Hipstamatic and Instagram enthusiasts–mobile photographers with an iPhone.

Now you can get HipStyles for 50% OFF on the App Store! This offer lasts until January 6, 2013, but you should really get it right now, and tell all your friends to do so too! And don’t forget to rate it or review it. You can also let us know what you think on Twitter, or become a Facebook fan, or add our Google+ page to your circles.

HipStyles Season Sale 2012

HipStyles Season Sale 2012 is ON! 50% OFF!

Thank you, and have a good festive time of year! It’s an ON/OFF thing.

The HipStyles Team @ Conifer Productions

 

12 12 12

Here we go again… Today is December 12, 2012 in the Gregorian calendar, and people are waxing poetic about how symmetrical, how repetitive and how unique this date is. (Even people who really should know better.) Some people are even getting married today. I wish them the best of luck.

But let me put my science hat on for a moment, and offer the following statement:

The symmetry / reflexivity / repetitiveness / uniqueness of a date expression such as 12/12/12, 11/11/11 etc. ad nauseam, is not axiomatic. It is an artefact of the presentation layer.

In layman’s terms:

It’s not really like that, it’s just written that way.

Continue reading