LA.NET [EN]

2008Archive

Nov 06

What’s new in the BCL 4.0

Posted in C#       Comments Off on What’s new in the BCL 4.0

I’ve just found an interesting post with some of the new stuff we’ll have on the next version of the BCL. I’m already testing Code Contracts, but it seems like there’s still a long way to go…

Read the rest of this entry »

Nov 06

Code Contracts: don’t use the overloads that receive a string

Posted in C#, Design by Contract       Comments Off on Code Contracts: don’t use the overloads that receive a string

In my first post about Code Contracts I’ve mentioned that in my machine static analysis wasn’t picking up those evident scenarios where the code was breaking the predefined contracts. Today I’ve got the confirmation on the PEX forum (which, btw, is the place where you should post your questions regarding this framework while we don’t […]

Read the rest of this entry »

Nov 06

More on code contracts: checking return values and old values

Posted in C#, Design by Contract       Comments Off on More on code contracts: checking return values and old values

Today I’ll keep writing about the new Code Contracts framework and we’ll see how we can use the write contracts that validate method return values and “old” values. Lets start with method return values… As you might expect, you’re able to refer to return values on your postconditions. To show you the kind of thing […]

Read the rest of this entry »

Nov 06

C#, LINQ and running several methods over instances of a collection

Posted in C#       Comments Off on C#, LINQ and running several methods over instances of a collection

One of the things that I’ve needed to do in the past is filter a sequence of items and then execute a specific method over each of those filtered instances. The Enumerable class introduces several methods, but it doesn’t have any that lets me pass an Action<T> that is invoked over each instance of an […]

Read the rest of this entry »

Nov 06

Not technical, so move on if you don’t like soccer…just watch how this guy reacts after receiving the yellow card :,,)

Read the rest of this entry »

Nov 05

Yesterday I was really excited after finding out that we’ll finally have a library for performing Design By Contract verifications on our code. Ok, the runtime validations could already be simulated by writing some code (I’ve already written several helpers classes in my current applications), but the truth is that the Code Contracts library adds […]

Read the rest of this entry »

Nov 04

2011-01-12 11:30:32

Read the rest of this entry »

Nov 04

The new MacBook

Posted in Trivia       Comments Off on The new MacBook

I’m pissed! I waited several months before buying a notebook. After having bought the Toshiba, Apple releases the new MacBook which is amazing…Unfortunately, I can’t buy another notebook and that makes me feel really bad…oh well, what can I say?

Read the rest of this entry »

Nov 03

Book review: More Joel on Software….

Posted in Books       Comments Off on Book review: More Joel on Software….

2011-01-12 11:30:22

Read the rest of this entry »

Oct 31

Book review: Joel on Software…

Posted in Books       Comments Off on Book review: Joel on Software…

Ok, this must be book with the longest title I”ve read until today. Here its complete name: Joel on Software and on Diverse and Occasionally Related Matters That Will Prove of Interest to Software Developers, Designers, and Managers, Whether By Good Fortune or Ill Lick, Work with Them in Some Capacity. Phew…That is really a […]

Read the rest of this entry »

Oct 30

PDC 2008 ending…

Posted in Trivia       Comments Off on PDC 2008 ending…

And for those of you that (like me!) didn”t attend, it”s now time to start watching the videos and start playing with the bits.

Read the rest of this entry »

Oct 30

2011-01-12 11:30:06

Read the rest of this entry »

Oct 28

But I can’t find what I want (which, btw, are the videos. Yesterday it was really easy to see Ray Ozzie’s keynote: you just had to click the watch keynote button on the silverlight banner that exists on the top of the page. Now it’s gone and I can’t seem to find any link pointing […]

Read the rest of this entry »

Oct 27

Azure Service Platform presented on PDC

Posted in Azure, Trivia       Comments Off on Azure Service Platform presented on PDC

I’m not there, but it seems like Ray Ozzie presented something called Azure Services Platform today during its keynote (I’m still seeing it now since I wasn’t at home when it happened). Looks interesting, but I’ll have to dig the documentation a little bit more before having an opinion about it…

Read the rest of this entry »

Oct 24

Using the new Fluent NHibernate project

Posted in C#, NHibernate       Comments Off on Using the new Fluent NHibernate project

If you’re a NHibernate user, you’ve surelly heard about the Fluent NHibernate, a project that allows you to define the mappings by using a fluent API. I didn’t really had the time for testing it until yesterday. Why did I only tested it yesterday? Simple: because I had to perform some major refactorings on the […]

Read the rest of this entry »

Oct 23

Just a few weeks ago I was really happy because I was able to start using Tortoise for getting projjects hosted at Codeplex. In these last few days, I just can’t access the damn site through SVN. This is not good, specially if like me, you’re a codeplex user and you don’t want to mess […]

Read the rest of this entry »

Oct 20

I think that adding verifiability to the language would be great. MS Research has been working on Spec# for some time now, but it seems like it’s always behind the current C# release (for instance, the current version works against C# 2.0, but who wants to go back after using C# 3.0? Not me…). Yes, […]

Read the rest of this entry »

Oct 20

Last week I’ve finally received my black 8GB Zune. To be honest, I’m a little disappointed with it.In fact, I’m really disappointed with it. First, there’s the look and feel. After holding an IPod nano, you won’t really like the Zune (and yes, the nano is not as good as the real thing). Yes, the […]

Read the rest of this entry »

Oct 20

Book review: Managing humans

Posted in Books       Comments Off on Book review: Managing humans

I”ve just finished reading this interesting book by Michael Lopp. I think that we can all agree that interacting with people is a lot harder than interacting with machines. Michael”s book will give you several insights into this difficult art. No, this book isn”t only for managers. If you”re a developer working for some manager, […]

Read the rest of this entry »

Oct 20

FxCop: removing rules

Posted in C#, Tools       Comments Off on FxCop: removing rules

One of the things I’ve been using lately is FxCop. It’s really an interesting tool and I’ve corrected several API problems on my classes after starting using it. In fact, I’ve only found two problems until now: Interface explicit implementation Incorrect spelling of names Ok, let’s start by problem number 1. Here’s the code I’m […]

Read the rest of this entry »

Oct 17

ASP.NET MVC beta is out

Posted in ASP.NET, MVC       Comments Off on ASP.NET MVC beta is out

Check Scott Gu’s post for all the details. I think it’s time to go back and pick where I left in the MVC series…

Read the rest of this entry »

Oct 15

Portugal, governments and crisis

Posted in Trivia       Comments Off on Portugal, governments and crisis

Whenever I see a politician speaking, I always remember this cool whiskas”s add. You know, they speak speak bla bla bla and you know that they mean “we”ll rip you more money this year!”. Well, like Marcus Gronholm, I think it”s time to say I”m fed up (but with these guys that are in charge […]

Read the rest of this entry »

Oct 14

Silverlight 2.0 is out

Posted in Silverlight       Comments Off on Silverlight 2.0 is out

I’ve just seen this on Scott Hanselman’s blog. I’ll make an effort to look at it, though I’m still not convinced about it…

Read the rest of this entry »

Oct 10

Book review: the myths of innovation

Posted in Books       Comments Off on Book review: the myths of innovation

Scott Berkun is really an entertaining writer. Today I’ve just finished reading his last book: The myths of innovation. Scott tries to point out several myths generally associated with innovations and explains really well why they’re myths. With lots of good examples that support his vision, Scott has written a really small addictive book that […]

Read the rest of this entry »

Oct 10

Protected: Book review: High performance web sites

Posted in Books       Comments Off on Protected: Book review: High performance web sites

There is no excerpt because this is a protected post.

Read the rest of this entry »

Oct 09

Really smart, right?

Posted in Trivia       Comments Off on Really smart, right?

It seems like some guy decided to rob a car got caught because he had tattoed  his name and date birth on his neck.

Read the rest of this entry »

Oct 04

Protected: RouteValueDictionary: abuse or elegance?

Posted in ASP.NET, C#, MVC       Comments Off on Protected: RouteValueDictionary: abuse or elegance?

There is no excerpt because this is a protected post.

Read the rest of this entry »

Oct 02

Book review: smart and get things done

Posted in Books       Comments Off on Book review: smart and get things done

Here’s another interesting book I’ve finished reading. Yes, that is correct: another one (and that’s why you’re getting 2 reviews on the same day:),,) When you start using the bus, that means that you have some time for catching up with your reading (and that is what I intend to do in the next months). […]

Read the rest of this entry »

Oct 02

Book review: The naked trader

Posted in Books       Comments Off on Book review: The naked trader

After some delaying, I’ve finally managed to read the Naked Trader: How anyone can still make money trading shares. No, I’m not going to invest all my finances in trading. Why? Well, because I’d only be able to buy 5 or 6 shares :,,) Thanks for asking! Ok, so I needed to get some concepts […]

Read the rest of this entry »