Entries from March 2010 ↓

How-to get a large C: drive for Windows on Amazon

Adam Skogman

Amazon has excellent Windows support these days. Many time you’d like a larger C: drive than the 30 GB that come standard with the Amazon images. Here is how you enlarge the boot drive to 100 GB.

Tags: , , ,

Performing any Selector on the Main Thread

Fredrik Olsson

Many UI frameworks, including AppKit for Mac OS X and UIKit for iPhone OS, require that all methods to UI components are sent on the main UI thread. Cocoa and Cocoa Touch make this quite easy by providing for example -[NSObject performSelectorOnMainThread:withObject:waitUntilDone:] in Foundation. Making updating the text for a text field a snap: [someTextField [...]

Tags: , , , , , , , , ,

Contexts are the new objects

Rickard Öberg

When we went from procedural programming to object-oriented programming, by realizing that we could remove the “object pointer” as the first argument to a procedure, and instead went to a model where methods are invoked on objects with identity, it fundamentally transformed our ability to structure and reason about software. Now, with the introduction of the DCI paradigm, I think that a similar change is possible, by realizing that DCI contexts are to stateless services what objects were to procedures.

Tags: ,

Architectural Enforcement with Aid of AspectJ

Mattias Severson

After working some time within the software industry, you get a feeling for good software architecture. Or, to be more honest, you get a creeping feeling when the architecture is really bad. That is when the code is tangled like a Gordian knot. After some futile refactoring attempts, you consult the software architect at your [...]

Tags: , , ,

Generating diagrams in Asciidoc using Dia

Tobias Södergren

This article describes how Dia can be used to generate diagrams for the Asciidoc documentation toolkit. For those of you that have never worked with these products, I have added some short descriptions: This text is taken from the Asciidoc home page. Asciidoc is a text document format for writing short documents, articles, books and [...]

Tags: , , ,

Microsoft MIX10 brain dump

Håkan Reis

Also cross-posted on my personal blog After three days of the Microsoft Mix10 event the brain tend to overflow. So I sit down at a Starbucks and try to summarize my thoughts before my mind explodes. It’s easy to get caught up in positive buzz during events like this but I really think Microsoft is [...]

Tags: , , , , , , ,

ASP.NET MVC 2.0 & Friends Seminar – Debriefing

Per Ökvist

Thanks to everyone who came to the seminar last week!

As promised, you’ll find the slides and demos attached to this post and some additional links.

Tags: ,

Performance nightmare

Björn Carlsson

22 to 0.3 seconds! I found a simple solution to a very common problem. While profiling I found that remove in this little method took a lot of the time. public void MovePropertyFirst(IProperty property) { properties.Remove(property); properties.Insert(0, property); } The reason was, that it’s time consuming to compare the properties by equality, for complex types. [...]

Tags: , , , ,