I'm in Utrecht for the next few days attending PASS on tour and Redgate Summit. Come and find me if you want to talk all things #flyway
I'm in Utrecht for the next few days attending PASS on tour and Redgate Summit. Come and find me if you want to talk all things #flyway
Can't add any bugs if you don't change any code.
Details.....
It's only taken 9 years, but I finally did the 20 mile round trip commute to the office on the bike. ๐ช
Let's see if my legs still work tomorrow.
Thanks Rob! Let me know if you have any feedback on the new verbs as you start using them. I'll make sure it gets to the dev teams.
Advent of code - Day 16
I used a modified A* algorithm that keeps track of all the previous states that have the same cost to get to the current state.
#AdventOfCode #CSharp #dotnet
github.com/TheEadie/adv...
github.com/TheEadie/adv...
Advent of code - Day 15
After some delay I'm back looking at these problems. Turns out recursion was the way to get this working and not the clever code I wrote for part 1. Some annoying edge cases for left/right too.
#AdventOfCode #CSharp #DotNet
github.com/TheEadie/adv...
Where were you David for the rest of Advent Of Code?
Christmas partying over
Interesting. I still have to think about this every day ๐ . Is the problem that switching tools suddenly shows you loads more context that distracts? Only fixes I can think of - the mega IDE that you can do all parts of the task in, or lots of small single purpose tools where I can't get distracted
Advent of code - Day 14
I got lucky with a hunch in part 2 that the Easter egg might be when all the robots weren't overlapping.
#AdventOfCode #CSharp #dotnet
github.com/TheEadie/adv...
Advent of code - Day 13
Took me far too long to remember the maths I needed to get the answer today. Also came unstuck by trying to use my coordinate record which uses ints rather than longs.
#AdventOfCode #CSharp #dotnet
github.com/TheEadie/adv...
Advent of code - Day 12
Flood fill to the rescue. Part 2 took some time to get to a working solution.
#AdventOfCode #CSharp #dotnet
github.com/TheEadie/adv...
Advent of code - Day 11
Even though I saw part 2 coming a mile away I still wrote the naive implementation for part 1 first.
#AdventOfCode #CSharp #dotnet
github.com/TheEadie/adv...
Advent of code - Day 10
Accidentally solved part 2 before part 1 today. Simple breadth first search.
github.com/TheEadie/adv...
Advent of code - Day 8
My first use of an infinite loop and yield returns this year.
github.com/TheEadie/adv...
Advent of code - Day 7
Some depth first search and an early return when going over the target number. Could probably just be recursion since the depth of calls is quite low.
github.com/TheEadie/adv...
Advent of code - Day 9
I thought the solution to one of the parts would cause me to run out of memory so I modelled it as "zones". Would have been much easier with an array and pointers.
github.com/TheEadie/adv...
Advent of code - Day 6
I spent far too long checking if turning right at the current step would result in a loop and failing to get the right answer. I chucked it all away and did a brute force over the spaces in part 1.
github.com/TheEadie/adv...
Advent of code - Day 5
Custom implementation of `IComparer` makes this quite simple.
#AdventOfCode #CSharp
github.com/TheEadie/adv...
Advent of code - Day 4
Once again using a dictionary of coordinates to prevent complicated bound checks.
#AdventOfCode #CSharp
github.com/TheEadie/adv...
Advent of code - Day 3
Regex to the rescue. Also resisted turning part 2 into an unreadable aggregate.
github.com/TheEadie/adv...
Advent of code - Day 2
Brute force for part 2 today
#adventofcode #csharp
github.com/TheEadie/adv...
Advent of code - Day 1
Got to make use of the new .NET 9 `CountBy()`
github.com/TheEadie/adv...
๐ T-24 hours until #AdventOfCode 2024! ๐
"This PR comment flame war could have been a meeting"
Reported a blatant bitcoin scam last week on Instagram. Screenshots showing them making ยฃ86k in six days, posts of new car and new house. Just contact this other shady person to find out more. Clearly hacked account. Meta's response today? Hasn't broken any community guidelines. WTF
Today's fun was trying to get both the WiFi and ZigBee network to work at the same time. I think I managed to only kick the family off the internet 3 times. Who's idea was it to make them use the same bit of the spectrum?
This article saved my sanity: www.metageek.com/training/res...
Pro tip: Don't leave writing a lightning talk until 2 hours before you're due to give it.
Flyway 11 is out now. The highlights in this release are the new CLI verbs "add" (all editions), "diff", "generate", "model", "prepare" and "deploy" (Enterprise edition)
Looking forward to seeing the cool automations people build with them!
#flyway #redgate #devops