Just recording the following for those lost coding souls like me who are trying to find a solution on the web 🙂
I needed to instantiate a SortedSet for a WinRT application that I am writing. I didn’t want to create a new class that implements an IComparer (just being lazy). I thought that a simple lambda should suffice for the job at hand. After some digging, I found that .NET 4.5 that was just released, offers this capability.
var sorted = new SortedSet<Foo>(Comparer<Foo>.Create((x, y) => x.Bar.CompareTo(y.Bar)));
Hopefully this will help someone!
I am embarking on a side project that involves memory and multimodal understanding for an…
I was in Toronto, Canada. I'm on the flight back home now. The trip was…
The BBC article "How we fell out of love with voice assistants" by Katherine Latham…
Like so many others out there, I played a bit with ChatGPT. I noticed examples…
Hi all… It’s been a while since I posted on this blog. It’s been an…