The women:
Friday, 24 August 2007
Security B&B way :)
The women:
Monday, 20 August 2007
From forestry to IT - channel 9 show
The next thing that absorbed my attention was his list of features that a good team should be characterized by:
- trust
- diversity
- no single man show
- shared responsibility
- passion
Saturday, 28 July 2007
80 characters long line is gone
I remember that not so long ago everyone was saying that a line of code should not be longer then 80 characters. The problem with this approach is that it leads you to cryptic method/class/variable names because of the 80 characters hard limit. I could justify that rule back in the epoch of 15 inch CRT monitors because there are not too many things more annoying then constant scrolling from right to left and left to right to be able to read a piece of code. But even nowadays there are people who would stick with that rule which doesn't make sense for me because it's just a waste of space of your 17/19/20 or 24 inch LCD monitor. 24 inch is a really great one and 2 of them are just brilliant :).
Friday, 27 July 2007
Joel Spolsky will come to Dublin
Great news. Joel Spolsky will (more then likely) come to Dublin to promote FogBugz. I don't use FogBugz personally but I've been following Joel's blog for more then one year and I can always learn something from him. It's not about the technology itself. It's rather about how the technology is related to our real life and how we can take advantage of it :).
Sunday, 22 July 2007
Friday, 20 July 2007
Dynamic nature of C# I bet you don't know :)
The bottom line is that I learn every day and .NET doesn't stop surprising me which is fun :).
EDIT: I've modified the image because it looked horrible.
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
class Program
{
static void Main(string[] args)
{
FakeEnumerableClass enumerable = new FakeEnumerableClass();
foreach (object o in enumerable)
{
//works perfectly fine :)
}
}
}
class FakeEnumerableClass
{
public FakeEnumerator GetEnumerator()
{
return new FakeEnumerator();
}
}
public class FakeEnumerator
{
public bool MoveNext()
{
return false;
}
public object Current
{
get
{
return null;
}
}
}
class RealEnumberableClass : IEnumerable
{
public IEnumerator GetEnumerator()
{
throw new Exception("The method or operation is not implemented.");
}
}
Tuesday, 17 July 2007
DTrace - an interesting tracing solution
- zero overhead when it's turned off
- C based query language that allows you to query available probes
- it allows you to analyze the whole system at very low(kernel level operations) and/or high level (number of garbage collections)
- it gathers probes only when it's safe for the system
- it's built-in into Solaris 10 and will be part of the next operating system from Apple called Leopard
