Louis Feng | Out of Core

brain dump of things

  • Home
  • Blog
    • Tools
    • Algorithms
    • Design
    • Code
  • Projects
    • Shell Maps
    • Anisotropic Noise Samples
  • About
You are here: Home / Archives for Louis Feng

About Louis Feng

I have been a computer graphics enthusiast and researcher for many years. My interests has broadened to include mobile, parallelization, and high performance computing.

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

Filed Under: Blog

The Beginning of the End for Facebook

July 12, 2011 by Louis Feng Leave a Comment

So it has begun, the end of Facebook’s domination of the social network. Two weeks ago, Google has released its own version of the social network Google+. So far I heard it has gathered about 4.5 million users and I’m sure that figure is increasing everyday. It’s pocket change compare to Facebook’s 500 million users, [...]

Filed Under: Blog Tagged With: facebook, google+, social network

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 elsewhere, so I’m not going to repeat [...]

Filed Under: Blog, Code, Mobile Tagged With: cocoa, iOS, ipad, iphone, nib, software engineering, UITableViewController, UIViewController

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, appropriate to [...]

Filed Under: Code, Mobile Tagged With: book, iOS, ipad, iphone, view controller

Scripted Debug Using GDB To Find Memory Leak

June 29, 2011 by Louis Feng 3 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 resulted in 1.7 to 4 KB of leaked [...]

Filed Under: Blog, Code, Tools Tagged With: C++, diff, GDB, memory leak

How to Not Do Business: Mint is Bad, Yodlee is Good.

April 18, 2011 by Louis Feng 2 Comments

Last night I was so angry with Mint.com, I deleted my account at Mint. I wouldn’t even link to them in this post. A little over two years ago, I heard the buzz for Mint. I thought it was useful to track my personal asset (which wasn’t much, but it helps me to see how [...]

Filed Under: Blog, business Tagged With: banking, business, finance, mint.com, yodlee.com

To Flash or Not Flash?

April 16, 2011 by Louis Feng Leave a Comment

I haven’t really done much web development in the last 8+ years or so, and my knowledge in that area has been mostly outdated. I have some ideas of a data centric web site with interactive data visualization and the question is what tool do I use to implement this idea? To educate myself, I [...]

Filed Under: Blog, Tools Tagged With: adobe flash, html

C++ Container Iterator Invalidation

April 5, 2011 by Louis Feng 4 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. But for STL list, I can’t [...]

Filed Under: Blog, Code Tagged With: C++, container, iterator, list, map, stl, vector

iPad 2 Review

April 2, 2011 by Louis Feng Leave a Comment

Finally! After a few weeks of waiting in line then gave up to ordering online then gave up routine, I have gotten my own iPad 2! It’s a gift from my wife who understands my nerdiness, unlike this person’s wife. After playing with it for a few days I would like to share some unbiased opinions. I [...]

Filed Under: Blog, Gadgets Tagged With: apple, ipad, ipad 2, review

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

Filed Under: Blog, Tools Tagged With: clang, llvm, vectorization
«Older Posts

Archives

  • February 2012
  • July 2011
  • June 2011
  • April 2011
  • March 2011
  • December 2010

Tags

adobe flash apple banking book business C++ clang cocoa container diff facebook finance GDB google+ html iOS ipad ipad 2 iphone iterator list llvm map memory leak mint.com nib review social network software engineering stl UITableViewController UIViewController vector vectorization view controller windows yodlee.com

Return to top of page

Copyright © 2013 Louis Feng | Out of Core