"Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime" I feel like we developers have an opportunity to really take this quote to heart. As developers we like giving computers instructions. We retrieve an object that we want to update,… Continue reading Teach Your (Domain) Models How to Fish (And Scale)
Author: Being In Tech
TDD of the Domain Model, building a registration app
In the last post we did a TDD walk through building the application but we didn't really get into the event sourcing side of things, which was the original intent of this series. I only recently read about Event Sourcing through the book Understanding Eventsourcing by Martin Dilger. It goes into a lot of detail,… Continue reading TDD of the Domain Model, building a registration app
Trying out TDD, building a registration app
From the last post, I decided to to rename my Aggregate to Individual to align more with a ubiquitous language, a key component of DDD. ;) I also updated the read model to contain a list of multiple batch statistics so the api would return a single object and not an array of objects. One… Continue reading Trying out TDD, building a registration app
Set up MockServiceWorker for easier front-end development
This week I got the opportunity to introduce the Mock Service Worker library into the user story I was working on. Building a fronted app that should behave differently depending on the response we get from the API gets challenging if you always have to rely on a live API. I first used this library… Continue reading Set up MockServiceWorker for easier front-end development
Experiments with Event Modeling, building a Registration App
I have been reading "Understanding Eventsourcing" by Martin Dilger and got inspired to update my wishlist app to use event sourcing. I managed to do it in a branch but then I stopped because I also wanted to see how feasible it would be to start a project from scratch. My highschool batch is now… Continue reading Experiments with Event Modeling, building a Registration App
Advent of Code Starts Today!
I've been participating in Advent of Code since 2020, which was a really great year to start it given the pandemic and all. I have an ex-colleague to thank / blame for introducing it to me back then. I've been pretty good at posting my solutions in my repo https://github.com/therealjawss/aoc2020 but please don't judge as… Continue reading Advent of Code Starts Today!
Chat GPT and the elections:
I'm not sure people fully grasp the impact of AI on our society. There's already been discussions around ethical use when it comes to education, creative works etc, but there's so much more that AI can have an impact on. Let's take the context of the ongoing US elections. I am not an American, but… Continue reading Chat GPT and the elections:
Today I Learned
When using generate clients in Visual Studio, baseUrls should have a trailing '/' especially those with a path at the end otherwise, the generate client only uses the domain name up till the domain suffix. JSON to JSON Schema (transform.tools) - useful tool for quickly converting a json object to schema most common options for… Continue reading Today I Learned
Adventures in CI/CD with Co-pilot
I got the privilege of picking up the CI/CD task from the backlog. I have some background in building CICD pipelines with YAML but that was mainly from the application test and deployment perspective. Creating pipelines that also creates and updates resources in Azure was going to be entirely new for me. Luckily, I had… Continue reading Adventures in CI/CD with Co-pilot
The Freewrite Traveler
Sent from jawss's Freewrite The influenceI was highly likely scrolling through tiktok as I usually am and somehow managed to land on writer tiktor. There I saw a few creators posting about this device that they use for **distraction free writing**. I have an unfulfilled dream of being a writer. Today I write code for… Continue reading The Freewrite Traveler
