As you might already guessed, I am currently in a process of discovering two technologies I had no experience with before.
Sunday, 5 June 2011
Django newby frustrations.
RoR newby frustrations
As usual, trying to adopt something new is really is a frustration. And though Rails is about to be "a breakthrough in lowering the barriers of entry to programming" you will defenitely meet some errors that might stop you on your way.
Wednesday, 1 June 2011
Installing rails on windows
If you tried to install rails with gems and failed with message "...No such file or directory" - dont woly be hapy. Just folllow these instructions: http://stackoverflow.com/questions/849660/how-to-stop-the-gem-utility-from-accessing-my-home-directory
Tuesday, 24 May 2011
JetBrains dotPeek to rescue.
I don't know how you faced the fact that Reflector is no longer free, but I for one was very-very dissapointed. Now, our favorite JetBrains team comes to rescue with their brand new tool called dotPeek.
Monday, 16 May 2011
NServiceBus Saga Idempotency
Should your business entities had a natural identifier (I think even a surrogate one would do in this case), it would be trivial to ensure idempotency of sagas, that drive their processing.


Thursday, 7 October 2010
Applying monadic combinators to build simple parser
After reading this article, it dawned on me, how easy it might be to write parsers using internal dsl syntax. Looks a bit clumsy in C#, yet rather expressive.
I've used wonderful Magnum library built by Dru Sellers and Chris (creators of open source service bus MassTransit project) as a foundation, since it already contains a base for monadic parsers.
As an example, look how easy it is to write a parser for following simple grammar, describing file version structure:
<version> ::= <part>{<delim><part>|<part>}
<part> ::= <positive integer>+ | <letter>+
<delim> ::= “.” | “,” | “(” | “)” | “ “
And parser in mere 10 lines of code:
Good luck!
Tuesday, 21 September 2010
Dependency injection
Below is a presentation I've recently made for my colleagues.
My fellow java developer exclaimed: "But this is ridiculous to make presentations about DI! Everybody supposed to know it!" And this is a big difference between two worlds .Net & Java. In java even junior developers know benefits of DI, whereas you can find a senior developer having no knowledge of DI in .Net realm. I consider it to be a consequence of paying way to much attention to developers' tools by Microsoft. LightSwitch and WebMatrix are a justification to my words. Hey guys, do you really think we are that stupid? Why constantly lower the bar?
Nevertheles, if you are interested, check it out and browse for code examples that come with my presentation.
