So Primitive

As it happens now, it's been a little while since my last post. I don't have as much to think through as I did the many prior years. I'm pretty shitty at the "self-promotion" aspect that a prolific blogger or tech-coach will do. It's not me; and I accept that…

Contract Testing

I got a message on LinkedIn a little while ago from a reader (Hi Marcelo!) asking my thinking around Contract Testing. I wrote up a brief answer, but there's definitely some more thoughts bouncing around in my head... so it's ramblin' time! For those unaware "Contract Testing" is writing tests…

Kiss This

It's time for Mono. MonoState objects. MonoState This is a design pattern I found, and then later found this name for. When I originally found the pattern I was calling it a WrappedSingleton because... it's a Singleton that's "wrapped" in a class that must be instantiated to access the singleton…

Well... Well... Well...

Time to put my code where my mouth is; it's a big mouth. I've put my core code of MtgDiscovery.com (version 2) up to be able to blog about. I don't have the code base. Much is currently stripped out. The repo is found on my github in the…

I used IEnumerableAsync SO WRONG

This ties to my site https://MtgDiscovery.com - A shock, right? Sometimes I have to update sets and re-ingest data. This happens a lot when the feed doesn't align with how I collect the cards. Best example is when the size of the set represented on the "booster" cards…

Exception Re-Throw

I've written about the proper way to re-throw an exception before https://quinngil.com/2022/07/28/exception-throwing/ and now I have an update. I created myself this extension method to encapsulate this throwing mechanism AND to help ignore the need for the unreachable throw. public static class ExceptionExtensions { public…

CosmosDb Abstraction

CosmosDb components are a pain to test. There's almost a 1/2 dozen objects to fake and configure to be able to get back the object you want to then do work on for the test. This can be abstracted from the test and hide the complexity in some class…

A MONTH!?

It's been a month... SIGH oh well. I'm bad at this. What have I been doing? Lots of ... stuff? OK; not much. Let's check my MtgDiscovery.com git history and see if anything interesting is going on there... Nope. Not a lot. Probably would have something if I used good…