I Read Phil Haack's post on Posh Git, and wanted to use it. I am starting from square one with PowerShell so naturally I had some problems getting it to work. What follows are notes that I'm putting up here simply to remind me what I had to do.

read more...

posted by Tombatron on Monday, January 16, 2012 at 5:47 p.m..
filed under: notes, power-shell, git
[permalink]

While I'm thinking about tuples and .NET I figured I should take the subject one step further. One of the things that I referenced in my previous post (see this) was that you can't iterate over a tuple in .NET. System.Tuple doesn't implement IEnumerable. Some people might ask why you would want to? I'll be honest I haven't given it much thought. At this point it's all academic as I haven't encountered a problem that screams for a tuple let alone the ability to iterate over it. But let's say you have and you want to iterate over the values of a tuple.

read more...

posted by Tombatron on Tuesday, January 10, 2012 at 11:56 a.m..
filed under: c-sharp, dot-net, programming
[permalink]

New in the .NET 4.0 framework is the System.Tuple class. A tuple is a data structure used for storing a sequence of values. Tuples are something that have been available in Python since... hrmmm, I don't really know Python's history at all that well so as far as I'm concerned they've always been available. Either way, it doesn't matter, all I want to do is compare and contrast tuples in .NET and Python. Why? Because I use both of them that's why. And I needed a subject to write about.

read more...

posted by Tombatron on Monday, January 9, 2012 at 12:06 p.m..
filed under: python, c-sharp, dot-net, programming
[permalink]

We've all used the "Console Application" project template in Visual Studio at least once. For me console applications usually amount to no more than a sketch pad for code that I plan to implement elsewhere. Well this morning I was itching to write some code and couldn't really think of anything productive to do, so I figured I would mess around with a console application. What follows is what I came up with, which was practically useless, but I still thought it was cool.

read more...

posted by Tombatron on Saturday, January 7, 2012 at 4:36 p.m..
filed under: c-sharp, dot-net, programming
[permalink]

There comes a time in every developer's life when it's time to move on. Sometimes it's your choice, sometimes the choice is made for you, either way you're going. This post is about how I've dealt with both situations.

read more...

posted by Tombatron on Thursday, January 5, 2012 at 12:51 p.m..
filed under: advice
[permalink]