Share via


Being Cellfish

Stuff I wished I've found in some blog (and sometimes did)

I hate software that assumes things about database instances

I recently had to install some software that wouldn't run because I gave my SQL Server instance a...

Author: Emil Gustafsson Date: 01/12/2012

Development specific azure config

Over the holidays I've been starting to clean up a backlog of old RSS items I should read and one of...

Author: Emil Gustafsson Date: 01/10/2012

New year, new team

As of 2012 I'm no longer working on the robotics team. I'm now working on the Xbox Live team.

Author: Emil Gustafsson Date: 01/03/2012

2011 statistics

Time for my 2011 according to this blog's statistics. As last year we'll start of with the five most...

Author: Emil Gustafsson Date: 01/01/2012

TPL Dataflow and async/await vs CCR - part 6

Same co-worker as the other day pointed out an important difference between how CCR and TPL data...

Author: Emil Gustafsson Date: 12/28/2011

TPL Dataflow and async/await vs CCR - part 5

I got a tip from a co-worker that your choice of waiting for a scatter gather operation as described...

Author: Emil Gustafsson Date: 12/27/2011

TPL Dataflow and async/await vs CCR - summary

As you have seen there is really much less to cover when doing "CCR tips & tricks for TPL...

Author: Emil Gustafsson Date: 12/24/2011

TPL Dataflow and async/await vs CCR - part 4

Today I wanted to show a number of simple examples of how to do things with TPL data-flow compared...

Author: Emil Gustafsson Date: 12/22/2011

TPL Dataflow and async/await vs CCR - part 3

While you could use TPL data-flow for scatter/gather patterns in much the same way as CCR...

Author: Emil Gustafsson Date: 12/20/2011

TPL Dataflow and async/await vs CCR - part 2

Dealing with asynchronous APIs will also be much easier than with CCR. First of all you can expect...

Author: Emil Gustafsson Date: 12/18/2011

TPL Dataflow and async/await vs CCR - part 1

As when working with CCR, working with async/await you need to have good tools for writing tests and...

Author: Emil Gustafsson Date: 12/16/2011

TPL Dataflow and async/await vs CCR - Introduction

In the .Net framework 4.5 developer preview there are two new great additions; TPL data-flow classes...

Author: Emil Gustafsson Date: 12/14/2011

Dependency injection and good design

I helped preparing a meeting on dependency injection on my team and we had that meeting last week...

Author: Emil Gustafsson Date: 12/12/2011

ForEach enumeration with index

Yesterday I did a code review that used a pattern I've seen a couple of times in the past. The...

Author: Emil Gustafsson Date: 12/06/2011

Computer Science courses you should take if you're a student today

14 years ago I was attending a job fair and a student asked me which courses he should take to get...

Author: Emil Gustafsson Date: 11/17/2011

Roborazzi

Read about the roborazzi which is build on top of the reference platform we've released. Or just...

Author: Emil Gustafsson Date: 11/01/2011

CCR tips and tricks - part 25

In the very first CCR tips and tricks I gave you a utility to essentially make CCR code synchronous...

Author: Emil Gustafsson Date: 10/25/2011

RDS 4 Beta now available

This weekend we announced the availability of Robotics Developer Studio 4 Beta. I would say that the...

Author: Emil Gustafsson Date: 09/19/2011

Robot news

One of my collegues got tired of searching for news related to robotics so he put together a little...

Author: Emil Gustafsson Date: 09/14/2011

CCR tips and tricks - summary

So it turned out to be an advent calendar in the middle of the summer... Here is an overview:...

Author: Emil Gustafsson Date: 08/08/2011

CCR tips and tricks - part 24

Today I'll show you an example of how can use the pattern used in part 23 to make the utilities from...

Author: Emil Gustafsson Date: 08/06/2011

CCR tips and tricks - part 23

Sometimes you work with an API that returns a Choice. If you want to add a timeout to any choice we...

Author: Emil Gustafsson Date: 08/04/2011

CCR tips and tricks - part 22

As mentioned in part 11 there is a good idea to use timeouts when waiting for a result on a result...

Author: Emil Gustafsson Date: 08/02/2011

CCR tips and tricks - part 21

When working with resource ports as in part 19 and 20 there is another thing you may need to do if...

Author: Emil Gustafsson Date: 07/31/2011

CCR tips and tricks - part 20

In robotics you sometimes work with a sensor that sends data very often but you really just want to...

Author: Emil Gustafsson Date: 07/29/2011

CCR tips and tricks - part 19

When you want to throttle execution based on some resource you can do this easily with CCR and also...

Author: Emil Gustafsson Date: 07/27/2011

CCR tips and tricks - part 18

The CCR interleave is a very powerful construct to create read/write type of locking but on...

Author: Emil Gustafsson Date: 07/25/2011

CCR tips and tricks - part 17

Sometimes when you have a number of things that have to be executed in sequence a common pattern is...

Author: Emil Gustafsson Date: 07/23/2011

CCR tips and tricks - part 16

The pattern used in part 15 can be implemented as a helper method that looks like this: 1: public...

Author: Emil Gustafsson Date: 07/21/2011

CCR tips and tricks - part 15

In part 14 I showed you how to work with an asynchronous API from CCR. Today we'll handle...

Author: Emil Gustafsson Date: 07/19/2011

CCR tips and tricks - part 14

Sometimes you need to call an asynchronous API that is not created for CCR. While there are several...

Author: Emil Gustafsson Date: 07/17/2011

CCR tips and tricks - part 13

Another very common misunderstanding is that the Receive with no arguments is the same as using an...

Author: Emil Gustafsson Date: 07/15/2011

Kinect services for RDS 2008 R3

I hope you noticed that we realeased an update for RDS yesterday......

Author: Emil Gustafsson Date: 07/14/2011

CCR tips and tricks - part 12

I think it's a common engineering practice to not reuse a variable for multiple things in the same...

Author: Emil Gustafsson Date: 07/13/2011

CCR tips and tricks - part 11

A very common pattern in CCR is the use of a result port. That means that you have a port you give...

Author: Emil Gustafsson Date: 07/11/2011

CCR tips and tricks - part 10

Today we'll continue using the same base helpers as in part 9 and today we'll look at a common...

Author: Emil Gustafsson Date: 07/09/2011

CCR tips and tricks - part 9

The pattern in CCR to use iterators to implements tasks is very powerful since it means that the...

Author: Emil Gustafsson Date: 07/07/2011

CCR tips and tricks - part 8

The scatter gather pattern where you spawn multiple tasks and then wait for them all to complete is...

Author: Emil Gustafsson Date: 07/05/2011

CCR tips and tricks - part 7

There are many ways you can receive messages on a port. In all examples below I'll be using two...

Author: Emil Gustafsson Date: 07/03/2011

CCR tips and tricks - part 6

Today I have three recommendations for your CCR methods. For methods that are public interfaces to...

Author: Emil Gustafsson Date: 07/01/2011

CCR tips and tricks - part 5

There is one thing in CCR I think should not be there in its current form and that is the...

Author: Emil Gustafsson Date: 06/29/2011

CCR tips and tricks - part 4

Sometimes when working with causalities you want to clear all causalities. One common case where you...

Author: Emil Gustafsson Date: 06/27/2011

CCR tips and tricks - part 3

Causalities are very powerful in CCR. It's essentially an unhandled exception handler that travels...

Author: Emil Gustafsson Date: 06/25/2011

CCR tips and tricks - part 2

Apart from the utility mentioned in part one I use another utility to make sure my unit tests report...

Author: Emil Gustafsson Date: 06/23/2011

CCR tips and tricks - prologue

Today I've been little over a year on the Robotics team. I've learned a lot of new things and I had...

Author: Emil Gustafsson Date: 06/19/2011

Why I started to blog

The reason I started to blog a long time ago was that I sometimes solved a problem and had to spend...

Author: Emil Gustafsson Date: 06/12/2011

Green card medical exam

In order to get a green card (permanent residency in the US) you need to undergo a medical exam. And...

Author: Emil Gustafsson Date: 06/05/2011

Drunken estimation

As I've pointed out before, estimation is usually a waste of time in my opinion. The time can be...

Author: Emil Gustafsson Date: 06/03/2011

<Previous Next>