Luca Bolognese's WebLog

This blog will be frozen on 2/19/2010. New one started at http://lucabolognese.wordpress.com/

Browse by Tags

Tagged Content List
  • Blog Post: Luca Bolognese leaves Microsoft

    This is my last post on this blog. My new blog is here: http://lucabolognese.wordpress.com/ I accepted a role as Director for Credit Suisse in London. I’m excited by the opportunity to work in the financial industry, a long-standing desire of mine. I’m also excited to write more F# code and to be closer...
  • Blog Post: My PDC session is online - “Future directions for C# and Visual Basic”

    In case you are training to play the part of a first generation Italian immigrant in a Broadway show or if you want to understand why I never short msft stock: http://microsoftpdc.com/Sessions/FT11
  • Blog Post: Luca at PDC 2009 next week

    I’ll be in Los Angeles next week for PDC 2009. My session is called “ Future Directions for C# and Visual Basic ” and it comes on Tuesday immediately after the first keynote. I’m planning on spending the first half of the session talking about the biggest trends influencing C# and VB. The second part...
  • Blog Post: Becoming really rich with C#

    Or maybe not, please do not hold me responsible if you lose money following this system. Having said that, it is my opinion that there are very few concepts that are important in investing. Three big ones are value, diversification and momentum. This post is about the latter two and how to use C# to...
  • Blog Post: A version of the AsyncCache found its way into the Parallel Programming samples …

    Go here to download them. It is in \ParallelExtensionsExtras\CoordinationDataStructures. It has a slightly different design in that it returns Tasks. I’m trying to get Stephen to blog about it so that you can compare them.
  • Blog Post: I talk about C# and VB Co-Evolution on Channel9 (and some F# …)

    The title says it all. If you are interested, go here .
  • Blog Post: Luca at NDC in Oslo 17 – 19 June 2009

    I’ll be speaking about the future of C# and F#. Oslo brings back so many memories …   “one of the world’s most important conferences for IT developers and leaders”
  • Blog Post: Simulating INumeric with dynamic in C# 4.0

    When I wrote my Excel financial library I agonized over the decision of which numeric type to use to represent money. Logic would push me toward decimal , but common usage among financial library writers would push me toward double . I ended up picking double, but I regret having to make that choice...
  • Blog Post: Financial Functions for .NET released !

    Today I released the following library on CodeGallery. It is the result of three months of coding during my paternity leave in Italy. You can get it from here . What is it? This is a .NET library that provides the full set of financial functions from Excel. The main goal for the library is compatibility...
  • Blog Post: A C# library to write functional code - Part V - The Match operator

    Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator This is my last post of this series. It is about the match operator. To the untrained eyes this operator might look like a case statement. But they are...
  • Blog Post: A C# library to write functional code - Part IV - Type Unions

    Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator I'm sorry for my prolonged absence in the middle of this series of posts. I'm on a long paternity leave in Italy (playing beach volley every day). It...
  • Blog Post: A C# library to write functional code - Part III - Records

    Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator Now that we know what Tuples are, we can start talking about Record, as they use a derivative of Tuples under the cover. But first, what is a record?...
  • Blog Post: A C# library to write functional code - Part II - Tuples

    Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator Tuples are a way for you not to name things. In Object Oriented languages you got to name everything. If you need to represent a bunch of data, you create...
  • Blog Post: A C# library to write functional code - Part I - Background

    Other posts in the series: Part I - Background Part II - Tuples Part III - Records Part IV - Type Unions Part V - The Match operator In December (slow time in msft) I decided to understand what functional programming is all about. When I say 'understanding' I don't mean just paying...
  • Blog Post: "LINQ to SQL Overview" video

    This is my presentation from TechEd Barcelona: The link has been fixed. It should work now. Let me know if it doesn't. http://www.microsoft.com/emea/msdn/spotlight/sessionh.aspx?videoid=716 . The European locale brings out my Italian accent ... On this page there are a bunch of interesting presentations...
  • Blog Post: Creating an immutable value object in C# - Part V - Using a library

    Other posts: Part I - Using a class Part II - Making the class better Part III - Using a struct Part IV - A class with a special value In the last post we presented a variation of implementing a value object using a class. Everything works (obviously), but the amount of code to write is...
  • Blog Post: Creating an immutable value object in C# - Part IV - A class with a special value

    Other posts: Part I - Using a class Part II - Making the class better Part III - Using a struct In the last post we looked at structs as ways to implement immutable value objects and we discovered that they have several issues. A good thing about the struct implementation was the introduction of an explicit...
  • Blog Post: Creating an immutable value object in C# - Part III - Using a struct

    Other posts: Part I - Using a class Part II - Making the class better Part IV - A class with a special value In Part II I talked about the asymmetry created by using 'null' as the special value for our little DateSpan domain. We also noticed the boredom of having to implement Equals, GetHashCode...
  • Blog Post: Bisection-based XIRR implementation in C#

    Here is a quick implementation of XIRR (using Excel nomenclature) written in C#. Disclaimer : this is a super simple Bisection-based implementation. People tend to prefer the Newton method, but this is simpler and works for the app I'm writing. I decided to post it because I couldn't find one on the...
  • Blog Post: Creating an immutable value object in C# - Part II - Making the class better

    Other posts: Part I - Using a class Part III - Using a struct Part IV - A class with a special value In the previous post I showed how to trivially implement a value object. The code works but it has several issues. Some are very simple, others are more interesting. Let's take a look...
  • Blog Post: Creating an immutable value object in C# - Part I - Using a class

    Other posts: Part II - Making the class better Part III - Using a struct Part IV - A class with a special value Value objects are objects for which the identity is based on their state instead of their pointer in memory. For example, a numeric Complex class is, most of the time, a value...
  • Blog Post: Instead of a simple switch statement ...

    This is Luke 's kind of code. I might be catching the virus ... abstract class QIFParserBase { public enum LoadOptions { All, Prices, Securities, Transactions } static readonly Dictionary < LoadOptions , Action < QIFParserBase , string []>> parseFuncs = new Dictionary...
  • Blog Post: Parsing QIF Quicken files in C#

    I'm slightly prouder of the structure of this code than the one in the previous blog post . You can simply inherit from QIFParserBase and override a couple of abstract methods to customize the behavior. Still, I just tested it on a couple of test QIF files. It is not production quality at all. Notice...
  • Blog Post: Retrieve prices, dividends and splits for a stock in C#

    I wrote this code very quickly and I'm kind of ashamed of it, but it gets the job done (I think). You need the HTML Agility Pack for the stock splits retrieving code. You can download it from here or you can simply comment out the code. I wrote it against Visual Studio 2008 beta 2 , but it should be...
  • Blog Post: Here is a semi(not)-funny video of Matt and I talking about the LINQ to SQL query/update pipeline

    And a bit of history of O/R in Microsoft at the end: http://blogs.msdn.com/charlie/archive/2007/08/06/linq-to-sql-pipeline-video-with-luca-bolognese-and-matt-warren.aspx
Page 1 of 2 (46 items) 12