October 2008 Blog Posts

.NET Framework 4 DeepZoom Poster

Need I say more? http://brad_abrams.members.winisp.net/Projects/PDC2008/DotNet4Poster/DotNetFramework4PosterDeepZoom.htm Brad Abrams put it out there for us! Cheers, M. Technorati Tags: .NET Framework,PDC08This work is licensed under a Creative Commons Attribution Share Alike license.

PDC 2008 language panel: The future of programming languages

The language gods (or icons if  you will) do this at every PDC; engage in a panel and discuss where we are and what the directions for programming languages for the future. On the panel this year we had: Gilad (Newspeak) Bracha, Douglas (Javascript) Crockford, Anders (C# Amen) Hejlsberg, Erik (LINQ, Volta and more) Meijer (as usually hosting), Wolfram Schulte, Jeremy (C++) Siek.   ...

Microsoft Research do great stuff and cool: Surface and programming for children with Boku

It is inspiring to se how Microsoft act in academia (15% of MS Research budget goes direct to grants and mor) and to see the number of areas where they are active. MS as 850 PhDs employed all over the the world to day! A research project is to project two images in parallel from underneath the surface. In fact the images flicker faster than you are able to detect. This means you can project an image on the surface of the Surface and a second image on a piece of plastic or paper being held above the surface....

Does Murphy’s law apply to stone floor tiles

(Filed under noise but related to the fact that I am at the PDC in Los Angeles!) Does Murphy’s law apply to stone floor tiles as well as other things? I just got a shipment of 42 m2 of stone floor tiles delivered to the street outside my home today back home in Sweden! This makes up a couple of tons of stone! Of course my wife is pregnant an cannot carry the stone into our hallway. ;~) But I do love the PDC though! You gootta laugh… what else is there to do? Cheers,...

Entity Framework is “fixed”

I don’t know if you all care or even know but the first version of Entity Framework got some enthusiastic feedback from (unwilling?) parts of the .NET community! In plain English: EF was bashed by among others the ALT.NET movement due to couple of unforgiving initial problems like not supporting model first and not supporting POCO. Today I had the joy to witness a very diplomatic and talented Tim Mallalieu navigate the feedback given and showing how to make the EF V2 a lot better for different groups of users. The most important (?) user; the Agilist...

The goods from PDC… Windows 7, Visual Studio 10

Be green with envy… ;~) I can’t wait to install Windows 7 with Visual Studio 10 and give it a spin! M. Technorati Tags: PDC08,Microsoft,WindowsThis work is licensed under a Creative Commons Attribution Share Alike license.

The Future of C# 4.0 and then 5.0

No PDC would be true to form if it didn’t leave you really really baffled and breathtaken. Anders talks tend to do that to you. This year certainly was not exception to that rule. Neither Anders talk nor PDC for breathtakenness (is that even a word?)! I just saw Anders demo cool stuff from the upcoming C# 4.0 and C# 5.0! Even though I’d already seen some of the stuff from Anders earlier talk on the languages I was still blown away! All of what I wrote in that post still applies and here are a few added points: ...

The bloggers at PDC 2008 from Dotway

Me – but you knew that, you are reading this! ;~) Linus Roslund Björn Carlsson (in Swedish) Truls Clauss (in Swedish) The company blog: blog.dotway.se Cheers, M. Technorati Tags: PDC08This work is licensed under a Creative Commons Attribution Share Alike license.

Microsoft Identity Roadmap for Software + Services

OK – the Identity Roadmap for Software + Services session at PDC by Kim Cameron and Vittorio Bertocci delivered. And they delivered good! I have a problem with this offering, please read below! They are the First Two Lines of Every Connected Application are: 1. Who are you? 2. What are you allowed to do? The solution is to utilize a claims based system. A claim is a statement made about one party about another party. A claim in itself is useless. What is important however is if your app, coded by you, decides to act...

Performance by Design in your .NET Applications

(This .NET Performance by Design review turned out to be a summary of resources, tools and tips & tricks surrounding .NET Performance and Designing for Performance. Hope you enjoy it as much as I did writing it.) There is a lot you can do in respect to taking the correct steps to make sure you have considered performance to a big enough extent in your design of an application in .NET. What’s with the belt and suspenders mumbo-jumbo in the opening sentence here? Well. First of all; it depends. Second I don’t want to offend the YAGNI/premature optimization guys...

The PDC genetic algorithm for the session schedule worked!

I’m very impressed with the genetic algorithm used to create the Master Session List for PDC 2008. It worked near perfect for me! Approximately 55% of all attendees entered their session preferences in the MySessions section of the PDC site. Mike - he’s the content owner for PDC - used this data and a bunch of other factors to arrange all the sessions in an as optimal solution as possible. Optimal being the most satisfactory solution for all factors involved. Attendee satisfaction was a factor in the calculations. Meaning if I as an attendee am able to attend...

Some of my session at PDC - here I come!

Tomorrow the journey begins once again: It is time to cross the Atlantic once more for this Swede heading for a major conference in the U.S! And it’s not just any conference – It’s the PDC baby! ;~) L.A. here I come! I will be blogging here (blog.noop.se) and here blog.dotway.se I will be twitting here: twitter.com/noopman I will bring to you my reviews of the sessions I attend. I will recommend what sessions you should take your valuable time to look at. I will meet and greet with a whole bunch of speakers...

The future of programming languages according to Anders Hejlsberg

According to Hejlsberg the three major trends for the future of programming languages are: Declarative, Concurrent and Dynamic. Here is a brief description of these trends: Today most programming languages are imperative in nature. Declarative programming concerns itself more with the what of the programming than the how. In the talk Hejlsberg gave the great and kind of classic example using LINQ to declare what we mean for a piece of code to do rather than imperatively in standard C# code it up in a mess of code that is very hard to read for later...

The Windows Cloud – Steve is back

Sorry you guys but this is really funny. I’ll try to keep these kinds of posts to a bare minimum but… still… funny shit! Cheers, M. Technorati Tags: MicrosoftThis work is licensed under a Creative Commons Attribution Share Alike license.

Lambda Expressions - I’m in love!

Probably the most geeky title ever written! But hey – they are sooo bad ass! Seriously! Think of this post as a history lesson or nostalgic trip if you like! (Meanwhile, yes, my feed is down. Starting to regret my moving feedburner to feedburner.google. The big search company is just another company. Wonder when the public will realize? It’ll be interesting to see if I have any readers left at all once google gets their act together!) Without lambdas – the classic old school way: public class Program { public void Main(string[] args) ...

EventHandler sender and arguments best practice

You should make sure the sender and event arguments use a good standard when you raise an event! Use the correct sender and supply good event arguments. I just got stumped the other day about the sender of an event from a third party control. Doesn’t matter what control. What does matter is the fact that I had to dig around unnecessarily long to figure out how the event parameters worked since they did not work as expected. The control I used encapsulated a text label, a textbox and a collection of buttons. The control...

How to override .Equals, .GetHashCode and implement IEquatable<T>

I will show a good way to code for Equality in types and I will point to some nasty pitfalls and things that may go wrong! This topic keeps coming up and today it did again in my company. It’s a classic and so many things while implementing this can go really pear shaped! Some things are as equal as two nuts. Other things are only as equal as two nuts. ;~) Note: Almost two years ago I blogged about the advantages of using IEquatable<T> when overriding .Equals(): Be careful when you override Equals (and...

PDC & Windows 7 – the boy band

Now that’s funny! Sorry you guys… I’m such a geek: http://vimeo.com/1873174 More seriously: It’s gonna be so cool getting one of the first Windows 7 copies. Being the true bleeding edge nut that I am I will try to run it as a developer environment and see what happens! ;~) Goes without saying that I will live blog from PDC, and twitt of course: http://twitter.com/noopman Cheers, /Magnus Technorati Tags: pdc08,Microsoft

MEF is now MS-PL

Good news today 8when Microsoft shows it’s OpenSource friendly face in the form of MEF moving from the MS-LPL licence to MS-PL. In fact this was always the plan it seems but “just putting it out there” is still something that takes a little bit of time (and maneuvering with the suits no doubt)! Read more from Glenn here: MEF going MS-PL, the little engine that could. Cheers, M. Technorati Tags: .NET

MEF Contrib on CodePlex

Bill Krat started up a MEF Contrib project on CodePlex and he made me a coordinator of it too: (I am NoopMan on CodePlex) In this contribution project I uploaded my sample web Application that uses MEF: MEF Enabled Web on CodePlex. (Sample previously blogged with a lengthy explanation here: Managed Extensibility Framework (MEF) used to make a Composite Web ASP.NET Forms Application). Pretty cool to get down with these guys! Now all we need is Glenn’s announcement early next week: Update on our MEF license status Cheers, M. ...

Playing with Extension Methods - also explaining why they are dangerous!

With great power comes great responsibility! The Spider-Man quote holds true for a lot of situations and Extension methods are not exempt! Below is some toying with extension methods to show the difference between good, useful extensions and crazy "should not do but am able to do"-extensions! Also let's have a look at the brilliant System. delegates Action<T>, Func<T, TResult>, Predicate<T> (which is little more than a special case of Func<T, bool>) and their siblings. Update: Code attached at the bottom Background This is the second time I've used this Spider-Man...