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.
Entries from March 2010 ↓
How-to get a large C: drive for Windows on Amazon
March 31st, 2010 by Adam Skogman — Cloud, Testing, Tips & Tricks
Tags: amazon, ebs, ec2, windows
Performing any Selector on the Main Thread
March 30th, 2010 by Fredrik Olsson — Cocoa, Embedded, Tips & Tricks
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: cocoa touch, concurrency, iphone, mac, mobile, objective-c, open source, programming, tips, tutorial
Contexts are the new objects
March 30th, 2010 by Rickard Öberg — Architecture
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.
Architectural Enforcement with Aid of AspectJ
March 28th, 2010 by Mattias Severson — Architecture, Java
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: aop, aspectj, Java, maven
Generating diagrams in Asciidoc using Dia
March 24th, 2010 by Tobias Södergren — Tips & Tricks
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: asciidoc, dia, diagram, documentation
Microsoft MIX10 brain dump
March 18th, 2010 by Håkan Reis — .Net, User Experience
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: blend 4, html5, internet explorer, microsoft, mix10, silverlight 4, visual studio, windows phone
ASP.NET MVC 2.0 & Friends Seminar – Debriefing
March 17th, 2010 by Per Ökvist — .Net
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: ASP.NET MVC, Seminars
Performance nightmare
March 5th, 2010 by Björn Carlsson — .Net, Tips & Tricks
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: .Net, .NET Framework, performance, programming, windows
