David Eadie's Avatar

David Eadie

@davideadie.dev

Software Architect @ Redgate

14
Followers
37
Following
28
Posts
17.11.2024
Joined
Posts Following

Latest posts by David Eadie @davideadie.dev

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

01.10.2025 16:41 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Can't add any bugs if you don't change any code.

11.06.2025 21:11 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Details.....

03.04.2025 17:36 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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.

03.04.2025 17:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

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.

28.01.2025 17:56 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day16/Day16.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

06.01.2025 14:06 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day15/Day15.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

02.01.2025 15:31 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

Where were you David for the rest of Advent Of Code?

Christmas partying over

02.01.2025 15:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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

30.12.2024 18:00 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
advent-of-code/csharp/2024/Day14/Day14.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

14.12.2024 22:12 ๐Ÿ‘ 7 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day13/Day13.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

13.12.2024 20:01 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day12/Day12.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

12.12.2024 16:44 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day11/Day11.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

12.12.2024 16:42 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day10/Day10.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

Advent of code - Day 10

Accidentally solved part 2 before part 1 today. Simple breadth first search.

github.com/TheEadie/adv...

10.12.2024 14:29 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day08/Day08.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

Advent of code - Day 8

My first use of an infinite loop and yield returns this year.

github.com/TheEadie/adv...

10.12.2024 14:24 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day07/Day07.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

10.12.2024 14:23 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
advent-of-code/csharp/2024/Day09/Day09.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

09.12.2024 17:52 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
advent-of-code/csharp/2024/Day06/Day06.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

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...

09.12.2024 17:47 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
advent-of-code/csharp/2024/Day05/Day05.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

Advent of code - Day 5

Custom implementation of `IComparer` makes this quite simple.

#AdventOfCode #CSharp

github.com/TheEadie/adv...

05.12.2024 14:23 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day04/Day04.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

Advent of code - Day 4
Once again using a dictionary of coordinates to prevent complicated bound checks.

#AdventOfCode #CSharp

github.com/TheEadie/adv...

04.12.2024 15:42 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day03/Day03.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

Advent of code - Day 3
Regex to the rescue. Also resisted turning part 2 into an unreadable aggregate.

github.com/TheEadie/adv...

03.12.2024 15:13 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day02/Day02.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

Advent of code - Day 2
Brute force for part 2 today

#adventofcode #csharp

github.com/TheEadie/adv...

02.12.2024 18:26 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
advent-of-code/csharp/2024/Day01/Day01.cs at main ยท TheEadie/advent-of-code Contribute to TheEadie/advent-of-code development by creating an account on GitHub.

Advent of code - Day 1
Got to make use of the new .NET 9 `CountBy()`
github.com/TheEadie/adv...

02.12.2024 18:20 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

๐ŸŽ„ T-24 hours until #AdventOfCode 2024! ๐ŸŽ„

30.11.2024 05:23 ๐Ÿ‘ 256 ๐Ÿ” 46 ๐Ÿ’ฌ 8 ๐Ÿ“Œ 9

"This PR comment flame war could have been a meeting"

29.11.2024 09:20 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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

26.11.2024 12:36 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 4 ๐Ÿ“Œ 0
ZigBee and Wi-Fi Coexistence ZigBee transmits on the same part of the 2.4 GHz spectrum as Wi-Fi, and when both protocols are transmitting at the same time, it causes interference that can damage the quality of the Zigbee signal. ...

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...

23.11.2024 20:00 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Pro tip: Don't leave writing a lightning talk until 2 hours before you're due to give it.

22.11.2024 13:01 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

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

21.11.2024 15:27 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0