Mike Goatly

86 Followers
186 Following
430 Posts

Software developer, professional and hobby. Guitarist and pretend musician. You can expect me to post about building stuff with Visual Studio, VSCode, C#, .NET, TypeScript, React, Avalonia, Raspberry PI, Azure and Kubernetes.

I'm responsible for maintaining the LIFTI full text indexing library for .NET (https://github.com/mikegoatly/lifti), and I also build Chordle in my spare time (https://www.chordle.com)

Opinions my own, always reserving the right to change my mind.

Bloghttps://www.goatly.net
GitHubhttps://github.com/mikegoatly
PronounsHe/Him
My feelings about #28yearslater can be summed up with this year's UK's Eurovision entry
I couldn't carry the top slab for this one by myself!
Trying to show the kids that real life can be more fun than #minecraft!
Thanks to the archive site https://arcarc.nl/ I found a public domain game called Arion that I wrote back in 1994 on the Acorn RISC PC! Having played it now, I'm impressed with the level of detail I put into it, but it's very hard - so hard that when you die, there's a random chance that a passing wizard will ressurect you so you can keep trying! #gamedev
Every year for birthdays and #Christmas I draw a card for the kids - I think these ones came out well!

Harmony is an awesome library for patching #dotnet applications at runtime. I've just tricked Maui.Essentials sharing into working in an #avaloniaui Windows application by patching part of the internals so that it uses the HWND of the Avalonia window instead of looking for the main Maui window.

https://github.com/pardeike/Harmony

GitHub - pardeike/Harmony: A library for patching, replacing and decorating .NET and Mono methods during runtime

A library for patching, replacing and decorating .NET and Mono methods during runtime - pardeike/Harmony

GitHub
It's not the first time that Bing has answered my questions this way - does anyone else hear it in their head with a Keanu Reeves accent?

Random #dotnet question. Can a source generator emit code that *another* source generator then processes?

This generator generates a [GeneratedRegex] https://gist.github.com/mikegoatly/fe36bc559e01b757c6ccb33d4020c8e9 , but the RegularExpressions generator doesn't pick it up, so compilation fails with the error:

`Partial method 'RegexGeneratedClass.CapitalizedWords()' must have an implementation part because it has accessibility modifiers.`

My guess is it's a limitation, but I might be doing something wrong!

README.md

GitHub Gist: instantly share code, notes, and snippets.

Gist
I think they may be mixing up their vegetables and minerals...