Louis Feng | Out of Core

brain dump of things

  • Home
  • Blog
    • Tools
    • Algorithms
    • Design
    • Code
  • Projects
    • Shell Maps
    • Anisotropic Noise Samples
  • About
DSC_0121

Surface 3 Review

July 8, 2015 By Louis Feng 2 Comments

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...]

Mobile-Advertising-1

Why I Want a Surface 3

April 27, 2015 By Louis Feng Leave a Comment

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...]

git

GIT Commands Cheat Sheet

February 15, 2012 By Louis Feng Leave a Comment

Tracking a remote branch [source]: git branch --track feature1 origin/master git remote add origin /remote/host/path Init blank git repository on host side: git init --bare Amend previous commit with new files [source]: git add [files] git commit --amend –C HEAD …
[Read More...]

1-mobile-application-dev

iOS Development: Proper Use of initWithNibName:bundle: Affects UITableViewController

July 6, 2011 By Louis Feng Leave a Comment

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...]

1-mobile-application-dev

Programming iOS 4: Making Simple Ideas Complicated?

June 30, 2011 By Louis Feng 2 Comments

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...]

cpp

Scripted Debug Using GDB To Find Memory Leak

June 29, 2011 By Louis Feng 4 Comments

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...]

cpp

C++ Container Iterator Invalidation

April 5, 2011 By Louis Feng 7 Comments

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...]

LLVM

LLVM, Clang, and (no) Auto Vectorization

March 5, 2011 By Louis Feng 2 Comments

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...]

LLVM

How to Build LLVM and Clang on Windows

March 5, 2011 By Louis Feng 1 Comment

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...]

Archives

  • July 2015 (1)
  • April 2015 (1)
  • February 2012 (1)
  • July 2011 (1)
  • June 2011 (2)
  • April 2011 (1)
  • March 2011 (2)

Return to top of page

Copyright © 2019 Louis Feng | Out of Core