I received Surface 3 with keyboard/pen bundle on May 5th, probably the last UPS drop of the day after 7 pm, needless to say it was a long day of anticipation. I have been busy installing and playing with the device since then. After about two months, so far I'm very pleased with it.
Is it …[Read More...]

I never owned a Surface, pro or otherwise. I currently use a Samsung Galaxy Notes 10.1 2014 and an iPad Air. I preordered Surface 3 from Costco as soon as I read the features and specs. Let me tell you why.
I have an iPhone, two tablets, a laptop, and two workstations at home. I almost never use …[Read More...]

I think this post will be useful to someone new to the iOS development. One of the most important and commonly used classes in Cocoa is UIViewController. Creating any non-trivial application will involve subclass and creating your own view controller. There are a lot of topics and tutorials …[Read More...]

I have done a bit of iOS development lately. While trying to get myself familiarized with the new platform, I came across this book titled "Programming iOS 4". I skimmed through some sections and found this paragraph:
You should not use a view controller in any other way. It is not, for example, …[Read More...]

I recently ran into some hard to find memory leaks. The program only runs on Linux. The memory leaks are detected using a custom memory allocator (using an atomic counter for allocation/deallocation size). In single thread mode, the program terminated without leaking, but running in multithread mode …[Read More...]

In a recent coding review a coworker pointed out in my code that modifying a STL list might invalidate the iterators pointing to the elements in the list. That's a good observation. I know STL map will not invalidate iterators when elements are inserted or erased from the container (except the …[Read More...]

A few days looking into LLVM + Clang, I really liked how they are set up and how they work. I played with the IR code and JIT a little bit, then I realized that Clang and LLVM don't support auto vectorization (as of current release 2.8). Yes, the IR language supports vectorization through the vector …[Read More...]

I heard about LLVM roughly two years ago from a coworker. It supposed to be this magical compiler that optimizes your code at multiple levels, or passes, including compile-time, link-time, run-time, and "idle-time". It's on my to-play-with list and I haven't really got a chance to get to it till …[Read More...]