• New Relic in action at trainline #futurestack

    by  • February 22, 2016 • 0 Comments

    Toward the end of last year I was invited to present at New Relic’s FutureStack conference in their Hacker Lounge track. I had a great time and it was great to introduce trainline to those across the pond and further afield. All the sessions were filmed and mine has made it onto Youtube. The talk […]

    Read more →

    Tracing all SQL generated by Entity Framework

    by  • March 3, 2013 • 1 Comment

    A nice quick one this week. I spent a little bit of time trying to debug some Entity Framework queries, particularly the parameter values used in a SQL INSERT composed when calling AddObject/SaveChanges. There are a few ways to determine the underlying SQL. If you are only interested in LINQ queries, using ToTraceString() on ObjectQuery […]

    Read more →

    WCF Service user impersonation options in IIS7.0 +

    by  • October 3, 2011 • 1 Comment

    I recently had a problem where I wanted my WCF services to run under the context of a user with additional permissions over the standard ApplicationPoolIdentity user used when hosting WCF services under IIS, including opening named pipe clients. I got a little burnt, and thought I’d share a couple of options I explored. ASP.net […]

    Read more →

    Getting Matlab command window history in Windows

    by  • September 28, 2011 • 2 Comments

    A few months ago whilst writing up my thesis and doing some number crunching with Matlab, my machine died spectacularly, leaving the hard drive but not much else intact. Making good use of the command window in Matlab I wanted to recover this history – so armed with the hard drive and not much else […]

    Read more →

    Customising surface plots in Excel 2010

    by  • October 15, 2010 • 0 Comments

    I’ve got a bunch of data in three columns (x,y,z) which I put into a cross tab and output as a surface and contour plot in Excel 2010. I wanted to customise the colours used, remove the shading and filter labels in order to paste the graph into a document. Just a quick heads up […]

    Read more →