Month: February 2012
Optimizing Collatz Sequence with Dynamic Programming
Even though Kurtz and Simon proved that a natural generalization of the Collatz problem is algorithmically undecidable, it is still fairly easy to brute force the 3n+1 conjecture with large values of n and empirically see it converge. Project Euler's problem 14 queries about which starting number, under one million, produces the longest sequence? Since Premature optimization is often considered root…
Bayesian inference - A simple example
Thriving with Paradigm Shifts (or how not to become a dinosaur)
Like most production systems, life happens in real time; and there has been several major paradigm shifts happening lately. It's easy to shrug AJAX off as revamped XMLHTTP from late 90's but we all know this isn't exactly the case. With the thought process, frameworks and development around emerging technologies, sands are shifting faster than…
Feb 15th – Learn Command Query Responsibility Segregation and Mercurial
San Gabriel Valley .NET Developers group's next meeting is Wed Feb 15th. Please swing by to learn more about Command Query Responsibility Segregation and Mercurial source control usage in a team environment. See details below or on the sgv.net user group website Abstract: Command Query Responsibility Segregation (CQRS) is an approach, a mindset to reduce complexities…
On Unit testing Bentley's binary search overflow condition
One of the few unit tests one would write for a simple arithmetic operation such as addition is a check for overflow i.e. if the resulting value is of the operand type and therefore does not cause overflow error. More often than not, programmers mistakenly consider this issue to be GC's responsibility in case of…
Developer's Contest hosted by UCLA Anderson School of Management
WHAT:The Developer’s Contest hosted by the Entrepreneur Association @ the UCLA Anderson School of Management HOW IT WORKS:You and a team (up to three people) develop a business idea from scratch over a single weekend to win cash prizes. WHEN:February 24 - February 26 WHY: Develop a business idea from inception Show off your programming…
How to tweet (or blog) in Urdu
Session Notes – Practical AppFarbic @ Southern California .NET Developers Group
Last night I presented on appfabric at Southern California .NET Developers Group in Buena Park. This talk was an expanded version of my earlier talk in the code camp talk last weekend. I get a chance to talk a little more about network topology and enterprise load balancing scenarios where appfabric caching and session management really…
