Posts
  • Cyrus' Blather

    NUnit + BadImageFormatException

    • 11 Comments
    I got NUnit to run by telling VS to copy the NUnit.Framework dll locally. However, when i tried starting nunit i got the following exception: --------------------------- Exception Details --------------------------- System.BadImageFormatException:...
  • Cyrus' Blather

    Problems trying to run NUnit

    • 8 Comments
    NUnit install seemed to go off without a hitch. But when i try having it open my dll i get the following exception: --------------------------- Exception Details --------------------------- System.IO.FileNotFoundException: File or assembly name nunit...
  • Cyrus' Blather

    Collections + Count property

    • 3 Comments
    Do I want a Count property on my collections? If so, it seems like I'm fundamentally limiting my collections to represent collections of finite elements. What if i want something that represents the set of all rational numbers? ISet <Rational> would...
  • Cyrus' Blather

    Functional Collections + Delegates

    • 0 Comments
    I haven't decided if i want to my collections totally functional or not. However, it's clear to me that they will have some functional properties to them. For example, people need to be comfortable using folds or maps over these collections as they are...
  • Cyrus' Blather

    Unit testing + Collections

    • 4 Comments
    Another principle that i think I will be following is to design around interfaces. Because I am attempting to write a library, I feel that it's important not to tie people down to classes. If i do this then people are forced to use my implementations...
  • Cyrus' Blather

    Unit testing + Collections + Initial thoughts

    • 2 Comments
    I've started writing up a collections library in C# and I know from the start that it is going to share some similar features with other collections APIs out there, including functional ones. People who know me know I find the BCL collections a bit lacking...
  • Cyrus' Blather

    Unit testing and dogfooding

    • 3 Comments
    The C# IDE team talks a lot about the issues that arise when a team doesn't dogfood it's own product. It's very easy for us to get a false sense of confidence in the quality of the product and not realize problems we have caused until they start affecting...
  • Cyrus' Blather

    Mono + Anonymous delegates

    • 7 Comments
    Tried to get my code to compile but i got this error: cyrusn@Foo ~> /opt/local/bin/gmcs foo.cs Mono C# Compiler 0.91.0.0 for Generics System.NullReferenceException: Object reference not set to an instance of an object in Mono.CSharp.CSharpParser...
  • Cyrus' Blather

    Fink + Mono + Nano

    • 3 Comments
    Installed nano so i could edit my fink.conf file (to add unstable packages). Unfortunately when i run it it segfaults :-( Guess I'm going to be using pico instead. Anyone know if nano doesn't play nicely with Panther?
  • Cyrus' Blather

    Mono and Generics

    • 6 Comments
    Installed the mono beta without a hitch. Had no idea where it ended up in (thank god for OSX HD indexing and searching). Eventually found it in /opt/local/bin (didn't even know that directory existed). Tried to compile some of my code and got: cyrusn...
  • Cyrus' Blather

    Mono and OSX

    • 8 Comments
    Looks like Mono isn't available under Fink (yet). I'm crossing my fingers for Apple to release it in the next version of OSX along with the other great Open Source projects they include like Perl and Python.
  • Cyrus' Blather

    Functional Streams

    • 4 Comments
    A pretty standard functional data type is the Stream. It behaves similarly to a list (in that it has a head and a tail), however with a stream the 'rest' of the list is lazily generated on demand. This allows one to create a data structure that can represent...
  • Cyrus' Blather

    Common functional operations implemented in C#

    • 1 Comments
    When coding in OCaml (one of my favorite languages) there are a few things available that i find myself missing in C#. These include free structural equality and an automatic printed form. Structural equality For example, given the following definition...
  • Cyrus' Blather

    Example of lazy evaluation

    • 1 Comments
    Chris Okasaki has the following example in his book of lazy evaluation: $-notation $ is a constructor for a new datatype called a suspension. In other words: datatype 'a suspension = $ of 'a the constructor $ takes an argument that is an expression...
  • Cyrus' Blather

    Applications of the LazyLoader

    • 1 Comments
    I just got Purely Functional Data Structures by Chris Okasaki. I read his Thesis when I was in college and I wanted to check out the expanded print version. There were several nice things about the data structures presented in the book. Besides being...
  • Cyrus' Blather

    First blog entry

    • 4 Comments
    A couple of week ago I worked with Jay and Kevin on a little mental exercise. It was a lot of fun to do and you can read about it here: LazyLoader After that I found myself responding to several posters about design decisions we made and the usefulness...
Page 15 of 15 (366 items) «1112131415