Read/Write Large XML Files

Up to certain extent the performance quite depends on .NET version your application is running on.

Another quick reference is Microsoft Patterns and Practices article

There’re 4 ways to read and write XML

Continue reading Read/Write Large XML Files


Fix modified date from file-name

The other day, while I was working on my star trail photography album and vacation pictures, I accidently updated all files’ modification time incorrectly. Whoops! For some reason, the “undo” was not a choice. And without proper chronological sequence, there was no way, my post image processing software was going to give me the exact star trail picture. After you chase weather for weeks, and work-out details like a perfect clear sky, no air planes and spend almost entire night in winter taking really long exposure pictures, this not even the last thing you want to happen. What a mess!

Continue reading Fix modified date from file-name

Parsing XML with special characters

Here’s the problem w/ YouTube API’s TOS

Thoughts on YouTube TOS (II. Prohibitions):

YouTube JavaScript API

A quick blog post, just spent few minutes after YouTube JavaScript API v3. Currently this is just a skeleton which queries some public data, without using OAuth 2.0, and just a Browser API Key.

YouTube .NET API

Who Moved My Cheese?

Python: PIL (Pillow) & Numpy intersect images

Input images used :

1.png C.png

Continue reading Python: PIL (Pillow) & Numpy intersect images