Welcome to Manicprogrammer Sign in | Join | Help

Browse by Tags

All Tags » Tech   (RSS)

Linq OfType<T> expression

I just discovered a function in Linq that will save me a bit of typing and allow me to better express myself. For a long while, I've written this: ColorWrapper x = combo.Items.Where( obj => obj is ColorWrapper ).Cast< ColorWrapper >().FirstOrDefault(cw
Posted by willeke | 0 Comments
Filed under: , ,

Linq to SQL usage of XML

Just a reminder of something that has bitten us more than once. If you need to copy an XML value from one data object to another, use this syntax: if ( copiedPlacement != null ) { currentPlacement.FormatXML = new XElement (copiedPlacement.FormatXML);
Posted by willeke | 0 Comments
Filed under: , , ,

Dangers of LINQ

We love LINQ! We have used it for a lot of things on our project, and it has helped us with hitting a lot of deadlines. Unfortunately, in one instance it's been burning us for a few months now, and we didn't know it. Look at the code sample below. I've
Posted by willeke | 11 Comments
Filed under: , , ,

Continuous Integration - When and why?

Earlier today, on Twitter Me: Having issues with the positioning of continuous integration vs branching models lately. Absence of latent code pattern description, mostly. Scott: What are the issues? Me: Mostly around cross-team/large product situations
Posted by willeke | 0 Comments

Design Stories - A bridge between roles

This idea has been forming among our architecture group this week and I think it has enough potential to open up for public discussion. I'm hoping to get some good criticism and references to prior art I can draw on. Overview: Traditional stories provide
Posted by willeke | 5 Comments

Silverlight 2 RTW, or, how Microsoft choked

First, I'll repeat the news that's all over: Microsoft has released the "final" version of Silverlight 2.0 to the world! This is a major step for .NET developers, because it means we can do really incredible things on the web without massive injections
Posted by willeke | 1 Comments

Today, I played designer

It was rather nice. For a few minutes earlier today, I was able to experience the designer's perspective of Blend. We had a bug filed on one of our common controls' visual appearance, and a designer and a developer were pairing on cleaning it up. They
Posted by willeke | 0 Comments

Back from Agile2008!

Wow, so much I probably should talk about, but I don't even know where to start. Massive amounts of networking, information, realization, and even contribution going on, and I can't unravel it at all right now. I think there's a lot of potential for transforming
Posted by willeke | 0 Comments

30 days later

Wow - it's been over thirty days since my last post. What's changed since then? First, we've put http://inkubook.com into production. I'm very proud of the work I've done and that my team has done on this one. We killed ourselves getting it done, but
Posted by willeke | 1 Comments
Filed under: , ,

And a subtle shift scrumward

Our team has decided to take a step back towards scrum and away from our previous semi-Kanban approach. I think that it's a good plan at this time, although I also suspect that many of the benefits of our earlier approach will continue to show through.
Posted by willeke | 0 Comments
Filed under: , ,

Thoughts on Batch Size

The concepts surrounding batch size have been floating around my head again in recent days. My current assignment is a rather large batch of work with Silverlight 2.0, but it's one that I've been able to subdivide into a number of small batches that rapidly
Posted by willeke | 0 Comments

Inkubook is (briefly) hiring!

Effective _now_, we are hiring a single experienced individual into an architect or senior developer role. If you have a desire to work with an incredible team, have great .NET coding skills, and have a desire to see your work become a real product in
Posted by willeke | 0 Comments
Filed under: , , ,

And now, the issues past, Silverlife is wonderful!

I've managed to get past the random issues that seem to plague me when adopting new technologies, and I'm digging into the meat of Silverlight 2.0 (Beta 1). This is GREAT! Blend is a great tool, and they've made using resources SO MUCH BETTER! The visual
Posted by willeke | 0 Comments
Filed under: , ,

Nasty upgrade bug with .NET 3.5...

or silverlight, or visual studio, or something. Anyway, my work is in the Silverlight.net installation forum under a post titled "Silverlight startup error with resources - Summary of fix" The corrected file is attached here, and I hate wasting a full
Posted by willeke | 0 Comments
Filed under: ,

Attachment(s): Microsoft.Common.targets

The first time

Thursday, after the main IndyNDA event, I performed my first public presentation. I've presented to teams, classrooms, and my company before, but this is the first time I've had the opportunity to present to an uncontrolled group of my professional peers.
Posted by willeke | 0 Comments
Attachment(s): Rich Branch Management.ppt

My first live blog post... April Indianapolis .NET Developers Association

I've never done this before... I'm sitting in the IndyNDA event for this month, and since there's wireless, and I've got my computer, and IndyNDA's got tables, I thought I'd actually give live posting a try. Expect a stream of thought as I (partially)
Posted by willeke | 0 Comments
Filed under: ,

Linq entities and calling Attach()

Back to tech, for now. I like Linq to SQL. A LOT. However, there have been a handful of things that have annoyed me, and one of them is the story around serialization and disconnected entities. They've built a nice engine for it (DataContract-based),
Posted by willeke | 0 Comments
Filed under: ,

It's been a long, long time

It's been years since a new technology actually got me to the point of being "excited". .NET 2.0 almost did it, but I think the day I finally 'got' .NET 1.0 was the last time I was truly excited about a new technology for its own sake. I think I feel
Posted by willeke | 1 Comments
Filed under:

Linq to XML follow up - how the magic works

If you're curious how the XNamespace works, just do a "Go to Definition" in VS and you'll see the declarations, the key aspects are: public static bool operator !=(XNamespace left, XNamespace right); public static XName operator +(XNamespace ns, string
Posted by willeke | 0 Comments
Filed under: ,

More LINQ (to XML) happiness

Namespace handling is much improved! Yay for easy namespaces! Anybody who has worked with XML in .NET 1.x or 2.0 knows how much of a pain XML namespaces can be in extracting data, yet they fill a very important part of the XML technology. Now, for linq.
Posted by willeke | 0 Comments
Filed under: , ,

Sanity check: is your process doing what it needs to?

I rarely repost, but this single, fairly short article seems to hit many of the high points in a very condensed format. If I were in a southern church hearing this read i would expect a constant stream of "Amen" echoing around me. Read it. Think about
Posted by willeke | 0 Comments
Filed under: , ,

Difference between setting InnerText and InnerHtml

What's the difference between these two lines? scriptInit.InnerHtml = string.Format(creationFormat, outerDiv.ClientID, someOtherString); scriptInit.InnerText = string.Format(creationFormat, outerDiv.ClientID, someOtherString); Answer: The first one doesn't
Posted by willeke | 0 Comments
Filed under: ,

Linq is GREATNESS!

Freaking amazing. Scenario: I need to load the contents of a table into a dictionary of objects keyed by one of the fields. Before: Write the ORM code to load the entire table. (3 lines) Initialize the dictionary (1 line). Write the for each loop to move
Posted by willeke | 1 Comments
Filed under: ,

Linq is Goodness

I'm almost beyond words in a geeky technical sort of way. The ease and simplicity of accomplishing my desires is releasing a sense of joy that I have not felt professionally for quite some time. My desire is made manifest, and I don't have to fight the
Posted by willeke | 0 Comments
Filed under: ,

ASP.NET MVC Framework - first impression

I've read the lengthy articles that Guthrie posted, and I've followed the buzz with interest, but tonight I finally sat down and gave it a shot. First impression: the "default" application is among the most useful I've seen of any templated project. Most
Posted by willeke | 0 Comments
Filed under: ,
More Posts Next page »