Distributed Memory's Image
More about this blog
Latest Post
02 Sep 2010
Total Posts
90
Readers
1266
Liked
0
Disliked
0
Views-Per-Post
14.07
vote up
0
vote down

Caught in the act!

For a while now, I've had my suspicions as to who was responsible for the level of food in an open tin going down. Now I have the suspect red-handed -- "Call me Arthur" At least that's not as bad as bringing a pigeon in through the cat-flap, which is
tags: cats
Sep 02 2010 01:49 PM
vote up
0
vote down

Cambridge Film Festival

An even more dreary and schlocky or right-on selection in the program (though the list on the printed program differs slightly from what are listed on the web-site) this year; down to only 2 that caught my eye The Extraordinary Adventures of Adele
tags: film
Sep 01 2010 03:01 PM
vote up
0
vote down

Cycling Holiday

View August 2010 in a larger map Equipped with the new car and, more importantly, a bike-rack, I strapped my trusty old mount on the back, programmed the satnav, and set off for a couple of mights' stay in one of the country inns that I've stayed in as
tags: cycling
Sep 01 2010 01:26 PM
vote up
0
vote down

Shiny new toy

After six and a bit years, and 37,509 miles, I traded in the old Smart -- chosen as one they had in stock and wanted to shift -- for one customised as I would originally have wanted, only this time it's the 2.0 model, a Passion rather than a Pure. This
tags: gadgets
Sep 01 2010 12:59 PM
vote up
0
vote down

Links for 12-Aug

Using the Reactive Extensions: to simplify tests of asynchronous operations. monkey-patching with IronRuby (parts 1, 2). F# Silverlight template. PartCover patched to avoid writing to HKLM (my first patch to someone else's FOSS project!) Untangling
tags: .net
Aug 13 2010 02:15 AM
vote up
0
vote down

Links for 3-Aug

MSFT WPF Ribbon RTW. Gems for .net -- leveraging Ruby's package and dependency management: How-to series (Parts 1, 2, 3). The nu tool and how-to example. Languages: F# : converting Func<> to  FSharpFunc<>. OSCON 2010 Emerging Languages
tags: .net
Aug 04 2010 12:56 AM
vote up
0
vote down

Towards a “--r” option for PartCover

Here's a C# implementation of the F# script from the other day, as an IDisposable complete with a default no-op disposable namespace Tinesware.PartCover.Registration { using System; using System.Collections.Generic; using System.IO; using
Jul 20 2010 12:36 PM
vote up
0
vote down

Building PartCover 4 on Vista

Following on from yesterday, I pulled the current trunk from SourceForge, and set about building it then putting it to work on some F# code which had caused an earlier version (the most recent available at the end of last year) to balk. Unzipping the
tags: f#
Jul 14 2010 12:57 PM
vote up
0
vote down

Links for 13-Jul

Hacking PoSh 2.0 to run under .net 4 -- a highly unofficial fix-up. PowerGUI 1.0 RTM. Setting up MSFT's WebMatrix beta. Learning resources for jQuery. Mozilla's Rust programming language. The Active Object pattern for concurrency.
Jul 14 2010 06:41 AM
vote up
0
vote down

dotCover 1.0 beta -- first impressions

The beta of the coverage tool from the same people who brought you Resharper came out late last week, and I took the chance to have a quick play with what it offers. As expected, it integrates smoothly with the R# unit test running -- you can see exactly
Jul 13 2010 11:51 AM
vote up
0
vote down

Links for 30-Jun

WCF dev-testing without admin privilege. Understanding Monads (Part1, Part2). Using .net code to interact with USB devices. F#: FsCheck 0.7 release. PowerPack Commandline parser -- even if it didn't get into .net 4 core, it's there and usable if you
tags: wcf
Jun 30 2010 02:14 PM
vote up
0
vote down

Links for 8-Jun

Visual Studio's WCF test client. What code contracts look like after compilation. F#: Using F# dynamic lookup from C# for Silverlight/WPF. Using async and parallel workflows from IronPython. Powerpack 2.0 including Silverlight 4. WPF -- essential tools
tags: wcf
Jun 09 2010 11:23 AM
vote up
0
vote down

Cycling Holiday

This time based at Seckford Hall Hotel, just across the A12 from Woodbridge. This meant that going anywhere by bike meant heading west into the country lanes first; and that routes were circumscribed by not wanting to cross the A12 or A14. After a wet
Jun 06 2010 02:31 PM
vote up
0
vote down

Updates -- new toolset drop

It's been a busy few weeks -- as spring rolls into early summer, the garden has been taking up time that the closedown phase at work doesn't already occupy, especially when we have unusually hot weather, like we did the weekend before the Whit Bank
tags: .net
Jun 06 2010 01:16 PM
vote up
0
vote down

F# -- excessively lazy sequences and stateful visitors

Doing something a little bit complicated here: the functional equivalent of a visitor pattern, where I want to apply a few functions to a long and potentially expensive to traverse sequence of items (so ruling out a series of iterations over the visited
tags: f#
May 19 2010 11:34 AM
vote up
0
vote down

Links for 18-May

ThinVNC -- HTML5+JSON browser based desktop remoting. F#: F# Project Extender for separating file management in Solution Explorer from controlling compilation order. Consuming WPF dependency properties cleanly. .net4/VS2010: The .net 4
tags: .net
May 18 2010 12:54 PM
vote up
0
vote down

An interesting bit of F# behaviour

In one assembly, define a public static class in C#: namespace ClassLibrary1 { public static class Class1 { public static string Hello() { return "Hello"; } } } In another do something similar in F#: namespace ClassLibrary1 module Module1 = let Hello ()
tags: f#
May 17 2010 09:07 PM
vote up
0
vote down

No real change here then

Conservative 47.4; Liberal Democrat 34.1; Labour 10.2; Constituency Swing 2.5% From CON to LD since last time (continuing small erosion). At least the only fascist party standing locally came last -- and the local character and UKIP ejectee standing as
May 07 2010 08:36 AM
vote up
0
vote down

Spring

The garden is in full flush at the moment. The forsythia, daffs, plum blossom, primroses and tulips are just fading, while the Morello, Bramley and grape hyacinths are at their peak, and the bluebells, the Charles Ross and the lilac are just starting to
tags: garden
Apr 29 2010 02:20 AM
vote up
0
vote down

More project type tricks

The trick to make an F# project launch in the Visual Studio web server is a further application of a little trick I picked up a while back for Vs2008. There I wanted to retrofit a Windows Workflow into an existing plain C# library project; which I
tags: .net
Apr 29 2010 12:24 AM
vote up
0
vote down

Links for 28-Apr

StyleCop now open-sourced. Mono's C# compiler-as-service -- now works in .net too! IronRuby+Rails+Rack+IIS7 -- between this stack and the same for JRuby in Tomcat. cross platform web-apps have become fun! No Bugs (e-book). Unit testing FxCop rules. Axum
Apr 28 2010 11:40 AM
vote up
0
vote down

Launching an F# web application inside VS2010 as if it were C#

This is a follow-up to my comments on VS launcher for F# web apps, where I can put an example of the changed markup to the F# class library project to make it act like a web project and launch a browser with your Default.aspx page when you hit F5. First,
tags: f#
Apr 27 2010 12:52 PM
vote up
0
vote down

coverage.exe and instrumenting F# files

I observed yesterday that coverage.exe balked in PdbReader.GetSegmentsByMethod() when trying to instrument F#-derived assemblies. By checking to see whether a new CodeSegment entry would provoke the exception by having an identical offset to a
tags: .net
Apr 19 2010 01:29 AM
vote up
0
vote down

Getting coverage.exe (trunk) to work with nUnit

Following up from yesterday, about an instrumenting coverage tool that I'd spotted on Googlecode, what I needed to do to get the instrumenting coverage tool working under .net 3.5sp1 with nUnit 2.5.2 driving unit tests. First, the command line looks
tags: .net
Apr 18 2010 03:06 PM
vote up
0
vote down

.Net 4.0, VS 2010, F#2 etc -- quick reactions

It's a pain that we don't yet have a F# for .net 4 compiler except in non-Express versions of VS2010; the transition from 1.9.9.9 to 2.0.0.0 for .net 3.5sp1 was completely painless for my infrastructure project, but the migration to building under .net 4
tags: .net
Apr 17 2010 04:20 PM
vote up
0
vote down

More predictable this time

Five years ago to the day I got a very strange result for suggested voting intention. This time it's right on the money. Take the Who Should You Vote For? UK General Election quizUK Independence34Green23Liberal Democrat18Conservative10Labour-44You
Apr 15 2010 06:26 PM
vote up
0
vote down

Links for 14-Apr

Why you can't work at work. .net4/VS2010: IronPython 2.6.1 update. IronRuby 1.0 (at last). Resharper 5.0 release. CodeRush Xpress for VS2010. F# Fake and naturalspec 1.0 release. PowerPack use for code-generation in xsd, svcutil and others. Async
Apr 15 2010 12:20 AM
vote up
0
vote down

Anime — ソ•ラ•ノ•ヲ•ト (Sora No 'oto, Sound of the skies)

An all original anime series, and the only one from the first quarter of this year I've even felt worth investigating. It started with the teaser text "In a future land marred by a long lasting war, a quiet decline has begun. 15-year-old Kumika [sic]
tags: anime
Apr 11 2010 05:06 PM
vote up
0
vote down

Anime — Letter Bee

An offbeat setting, this one : a world in perpetual night, save for an artificial sun; an Edwardian style setting, with occasional anachronisms like the one motorbike shown; D&D style wilderness between each settlement, inhabited by mechanical
tags: anime
Apr 11 2010 03:03 PM
vote up
0
vote down

Anime — Miracle Train : Welcome to the Oedo Line

Japan's love of anthropomorphization strikes again -- at the start of 2009 it was soft drink cans, this time it's train stations, in a man-service anime for girls. I picked this one up as something for Karen to counter the girl-heavy bias of the normal
tags: anime
Apr 11 2010 02:11 PM
vote up
0
vote down

Out like a lion...

For the last week it has been mild, and often dry -- so that the daffodils and forsythia have all suddenly burst into bloom; and the weeds are going mad in the garden. But the forecast is for colder, wet and much windier weather running up to Easter. I
tags: garden
Mar 30 2010 12:24 AM
vote up
0
vote down

Restoring CompressedFolder opening for zip files

Having gotten to the point of being annoyed by the way that WinZip overwrote the association, I finally crawled around the web to find a way to restore the CompressedFolder functionality as a more convenient method for reading, even if I want finer
tags: vista
Mar 29 2010 10:17 PM
vote up
0
vote down

How-To : IronPython and callback delegates with 'out' or 'ref' parameters

Following up on the earlier post, having found time to engage the brain a little... Let's do the int flavoured version, everything non-default: namespace Callback { using System; public delegate IntPtr Hook(ref int handled); public static class Callback
tags: .net
Mar 29 2010 01:10 AM
vote up
0
vote down

Links for March

Programmatically detecting screen-readers. SSL Man-in-the-Middle certificates. .net 4: Changes to events. Workflow migration tool. Reactive Framework: Drag and Drop using Rx and WPF in F#. Introduction in Javascript. JQuery integration. Continuation
tags: .net
Mar 25 2010 12:10 PM
vote up
0
vote down

Spring

Cycled to work again on Friday -- and then a high-speed blitz into town for a short notice appointment early afternoon. So, the tooth with a cracked filling that had been playing me up for the last few weeks is now patched until the proper fix in
tags: garden
Mar 21 2010 09:44 PM
vote up
0
vote down

Milestones

Only 35,932 this year or 5228 miles. Now some of that will be due to not having gone to the gym over the winter because of other commitments and some due to being snowed in a lot more or otherwise working from home. And probably rather more cycling
tags: mileage
Mar 21 2010 09:06 PM
vote up
0
vote down

Spring

Suddenly a spell of mild dry weather -- Saturday, cycling into town for the first time in some weeks, and to the garden centre to pick up some supplies; and having my other gear cable snap while on off-road bridleway. So a bit of pushing as being stuck
tags: garden
Mar 17 2010 01:26 AM
vote up
0
vote down

IronPython, WPF, and button-free windows

So, how do we achieve something like this with WPF, using IronPython? Assume Vista or later (if you want to support XP, do something different if System.Environment.OSVersion.Version.Major < 6) Start with some XAML <Window
Mar 07 2010 02:34 PM
vote up
0
vote down

IronPython and callback delegates with 'out' or 'ref' parameters -- the obvious way doesn't work

The only on-line documentation I could find that mentioned this has a TODO - Delegates with out/ref parameters about halfway down. So, experiment time. Build callback.dll containing (or the same with 'out'): namespace Callback { using System; public
Mar 07 2010 01:18 PM
vote up
0
vote down

Hints of Spring

Last Sunday, after a snowy start, mild sunny weather in the afternoon got me out in the garden clearing out more dead foliage, and spotting this season's weeds starting to emerge. Also cleared the tomato and chilli plants from the greenhouse -- the last
tags: garden
Feb 25 2010 03:33 AM