Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Comments

Bent Rasmussen exoteric stuck in a loop, for a while
  • E2E: Erik Meijer and Wes Dyer - Reactive Framework (Rx) Under the Hood 2 of 2

    Charles, do you think it possible to get perhaps a type proliferation overview, maybe in interview format, talking about where you plan to retrofit these types as well as possibly in what order. I imagine this will be a big undertaking as it basically amounts to every single instance of where you have an event today.

     

    I wonder if it wouldn't make sense to systematically and automatically retrofit all of .Net with these types, that is, using some naming convention, simply inject one IObservable property for every event. If I remember correctly, you're just using an event and holding a subscriber delegate to the event and on dispose you just remove the same delegate. So it should be a mechanical process to retrofit. This way we can also have this retrofitted to good old WF.

     

    Also, it would seem like this would have some interesting deeper implications for concurrency and coordination if we have parallel events going on and we coordinate them with these query combinators, hmm...

  • E2E: Erik Meijer and Wes Dyer - Reactive Framework (Rx) Under the Hood 2 of 2

    Still watching but I must say already that the IO<IO<T>> has something extremely satisfying about it. Very simple (well, superficially so).

  • E2E: Erik Meijer and Wes Dyer - Reactive Framework (Rx) Under the Hood 1 of 2

    Still watching. I must say the dualization w/ Brian Beckman was somewhat more clear but this is a nice addition, even if the start at least was a bit messy. And I like the implementation detail here with disposition etc.

  • Countdown to PDC09: Office, SharePoint, Free Win7 Boot Camp, and Turtles

    Let's see.

     

    Analysis: It was obvious from the outset that this was probably a binary sequence or at least could be seen as one. Then the question was what domain did it represent, and ultimately what object. This quickly turned out to be turtle graphics (familar since basic school and much more recently with L-systems, personally speaking). Then in what order to read the bits (top-left to bottom-right; reverse; diagonal, etc. ). Then how to cluster the bits. The latest clues provided the obvious answer. Then the question was what the concrete instruction set to map the bit pairs to. There are many possible instruction sets and many permutations. So first I tried a couple of permutations manually, then set out to do so more systematically by simply querying for all permutations and switching through them.

     

    Implementation: The first ideas was: do not simply provide a final answer, rather show the steps. So I thought I needed to have n steps where each step is represented as an image. C# 2.0 lazy iteraters are perfect for possibly infinite and lazy lists. This was used to set up a pipeline of solutions or steps. Every solution is an image and the enumerator holds the current state of the pipeline where the button simply pushes the computation ahead until exhausted. The code is available in the thread I linked to.

     

    The code is very hacky and does not deal correctly with disposables, but it's just a quick hack after all. The final solution was not nailed, but was enough to tell the text.

     

    E-mail on the way.

     

    See also -

    http://en.wikipedia.org/wiki/Turtle_graphics 

    http://en.wikipedia.org/wiki/L-system

    http://algorithmicbotany.org/

  • Countdown to PDC09: Office, SharePoint, Free Win7 Boot Camp, and Turtles

    My first session got me pretty far. You can clearly see the PDC 09 logo, although it's not 100% correctly traced, probably due to the instruction set

  • Expert to Expert: Erik Meijer and Anders Hejlsberg - The Future of C#

    Static extension methods: A non-feature.

     

    public enum Date { Yesterday, ... } public static DateTime Yesterday(this Date date) { var t = DateTime.Today; if (date == Date.Yesterday) t = t.AddDays(-1); ... return t; }

     

    Besides, having yesterday be relative to a given date is more generic.

  • Andrew Kennedy: F# Units of Measure

    I was very impressed when seeing units of measure in F# the first time and believe it's a great selling point for the language.

  • TWC9: Sven Groot, Beer taste test, Office Web, ASP.NET Auto-Starts, System.IO changes

    I was recently in Brussels, Belgium. Nice beer country! So far I just drink Chimay though. Agree that Brian added some humor to the whole thing heh. That has to be the emptiest stare I've ever seen; it reminded me of this sentence: "opening up the nothing box".

  • What is Microsoft's Visual Basic 6 Support Strategy?

    Sounds like a failure to understand* the idea behind .Net, which is reuse of libraries written in different languages and through a common intermediate language. There no longer is any reason to have one glorified language (although the idea still lurks).  (* Not on your part, contextfree)

  • Brian Beckman Does Higher Algebra with Visual Basic

    I really like this. I read on Joe Duffy's blog that he's working on a language that is a hybrid between C# and Haskell. Maybe it supports the higher-kinded type-system necessary to naturally express these things. I tried to do similar things in ML but in the end the solution wasn't really that appealing.