Wednesday, 24 July 2013

John Carmack on Focus

Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something do it both ways and see which works better.

Focus is a matter of deciding which things you're not going to do.

Programming

Windows programming in C# is great, but hear the advice of programming greats, to understand why it is necessary to alternate technologies every once in a while.

"I am a big proponent of temporarily changing programming scope every once in a while to reset some assumptions and habits" - John Carmack, co-founder of id Software

"Low level programming is good for the programmer's soul" - John Carmack.

"You are only competent one level below your training" - Anon.

Sunday, 30 June 2013

System.InvalidOperationException

The exception that is thrown when a method call is invalid for the object's current state.

It inherits from System.SystemException.

It has many child exceptions, such as System.Net.WebException.

Thursday, 27 June 2013

Relational Databases

Thanks to Edgar Codd

Relational databases are built on the concept of relations, which are basically tables. Another way of explaining what a relation is, is a row/column format for storing information. The relational database was first defined in 1970 by Edgar Codd of the IBM San Jose Research Lab (first West Coast research lab for IBM).

Tuples, Attributes and Relations

In the jargon of relational databases, a tuple is a row, an attribute name is a column name, a relation is a table (a set of tuples with the same attributes).


Thursday, 20 June 2013

More mscorlib: System.WeakReference

System.WeakReference references an object while still allowing it to be GC'ed.

Thursday, 30 May 2013

Ambient Transaction

System.Transactions.dll supports transaction-oriented programming in SQL Server, ADO.NET, MSMQ. The core abstraction is the IDisposable Transaction class. An implicit programming model is also supported via the TransactionScope class. This is where you will start hearing terms like "ambient transaction context".

Saturday, 18 May 2013

Good Books on Active Directory, Network Operating System and Cloud Computing

Active Directory, 5th Edition, May 17th 2013, O'Reilly, Brian Desmond, Robbie Allen et.al. - recommended reading. A great book on all things Active Directory.

For wider reading on network operating systems, and how they might change with the cloud, Barrie Sosinsky's books are good ones to dive into:

Networking Bible, Barrie Sosinsky, September 2009, John Wiley and Sons (almost a thousand pages of networking goodness)
Cloud Computing Bible, Barrie Sosinsky, January 2011, John Wiley and Sons