Showing posts with label toolbox. Show all posts
Showing posts with label toolbox. Show all posts

2014-11-13

The NoMemoryStream

The say there are two hard problems in computer science; cache invalidation, naming things and off by one errors. Hence I can proudly present the NoMemoryStream.

2014-10-16

What's on tap? And stay hydrated!

Recently when I was experimenting with Spark and Scala I encountered two patterns that I liked; Tap and Hydrate. So I decided to add them to the toolbox as LINQ extensions.

2014-07-10

Writing async tests

Ever since async/await was introduced in .net 4.5 I've seen people happily using those keywords in their (unit) tests. A usage I believe to be a mistake.

2014-03-06

Logical task combinators

When I had to use Erlang for the very first time it was a brand new language and I was in collage. Back then Erlang did not have a logical not function so we had to define our own in order to make our code readable. At least given the knowledge me and my lab partner had at the time. So the other week I had a deja vu moment since I had a Task<bool> that I wanted to negate. At first it felt real weird and I ended up solving my problem in a different way. But then I started to think.

2013-10-10

Unexpected Progress

When I was working on the WithProgress extensions I learned something about Progress<T> that I didn't expect.

2013-10-03

Evolution of a handrolled fake - part 5

As you may know if you followed my blog before; I like to roll my own fake. For interfaces it is pretty straight forward with explicit implementation of the interface and properties with delegates for implementation.

2013-09-26

Task-based Asynchronous pattern - for your pleasure

If you liked my old series of articles covering TAP and especially the different extension methods I showed. Then you will be even happier now.