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

Tuomas Hietanen Thorium
  • C9 Lectures: Yuri Gurevich - Introduction to Algorithms and Computational Complexity, 2 of n

    As far as I understand, although functions and algorithms have the same "interface", the difference is that algorithms have(/include) states and functions does not, am I right?


    Both can have multiple sub-algorithms/functions.

    The problem of the sameness is just that we can't define the precise captured begin and end states of the algorithms,

    If the universe is the "main state"... The evolution is just an algorithm, state transforming to another through various sub-states.

    We can use monadic bind to combine functions, so that is also true to algorithms, right? (like in the PDC presentation of F# 3.0, which shows the similarity between compilers and search engines.)

  • C9 Lectures: Greg Meredith - Monadic Design Patterns for the Web 3 of n

    Nice lecture!

    Sounds like this key-value database algorithm to go back in time to resolve transactions is NP-complete, so I wonder if it really works in a large bank. Smiley

    ---

    That A => IOU(IOU(A)) will not guarantee IOU(IOU(A)) => A, can be seen with the type system: The input and output types of the function "=>" will be different.

    Speaking of types... Lecture's description of programming language hits some pain points of C#:

    interface ProgrammingLanguage 
    {  
     IEnumerable<Command> Keywords<Command>() where Command : Func<Command, Command>;
    }

    where the actual Command should be an option type of Func, Action or a Type, right?

  • DevCamp 2010 Keynote - Rx: Curing your asynchronous programming blues

    I have also some problems:

    • I can't really debug Unit tests when using Silverlight Reactive Extensions (Silverlight Rx library with .NET core test cases).
    • One case when calling .Subscribe() I get an exception before onNext evaluation: "Collection was modified; enumeration operation may not execute." But I don't know which collection! How can this be possible, I thought that Observables are like "history of events", and you can't modify history... Because this is before the first onNext, I don't find a way to debug. Sad

    And questions:

    • Ain't there pdb-files to debug the Rx core...?
    • Should I dispose manually? When?
    • How will Rx work with Silverlight two-way data binding?

     

  • DevCamp 2010 Keynote - Rx: Curing your asynchronous programming blues

    This video was so clear and inspiring that our team took Rx into real world use. We have used it a few weeks now, and it have already a) made a few complex source code classes (with async events) a lot simpler, and b) solved some really nasty thread safety issues. So, thanks Bart and the Rx team!

     

  • Rx Update: Async support, IAsyncEnumerable and more with Jeff and Wes

    The "Task vs IObservable" is like the "Nullable vs IEnumerable" (when we have Enumerable.Empty).