Logo Barret Codes
  • Home
  • About
  • Engage With Me
  • Recent Posts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • .NET
  • .NET Aspire
  • Advent-of-Code-2021
  • Advent-of-Code-2022
  • Adventures-in-Net
  • AI
  • AI Builder
  • Ai-Art
  • Alexa
  • Api
  • Application-Insights
  • Approval-Flows
  • April-Dunham
  • Architecture
  • Ardalis
  • Asp-Net-Core
  • Aspire
  • Axug
  • Azure
  • Azure Back to School
  • Azure Cognitive Services
  • Azure Data Factory
  • Azure-App-Service
  • Azure-Devops
  • Azure-Functions
  • Balance
  • Big-Data
  • Bing-Maps
  • Bitly
  • Blazor
  • Blogging
  • BlueSky
  • Burnout
  • C#
  • C# Advent
  • C-Advent
  • Calendar
  • Canvas-App
  • Career
  • Change
  • Charity
  • Chatgpt
  • Cincydeliver
  • Civility
  • Class-Libraries
  • Cleveland C#
  • Code Reviews
  • Code-With-Ania-Kubow
  • Codementor
  • Cognitive-Services
  • Collections
  • Communication
  • Community
  • Conferences
  • Connectors
  • Content
  • Conversion
  • Copilot
  • Crm
  • Culture
  • Custom-Connector
  • Data-Types
  • Database
  • Datetime
  • Delay
  • Deployment
  • Deployment-Slots
  • Desktop
  • Development
  • Devops
  • Dotnet
  • Dotnetrocks
  • Dynamics
  • Ef-Core
  • ELT
  • Employment
  • Entity Framework
  • Equality
  • Error-Handling
  • Estimates
  • Ethics
  • ETL
  • Excel
  • Experience
  • Expressions
  • Extensions
  • Facebook
  • Facial-Recognition
  • Failure
  • Festive Tech
  • Festive-Tech-Calendar
  • Fired
  • Flow
  • Fluentmigrator
  • Forms
  • Function
  • Function Friday
  • Functions
  • Gatekeeping
  • GC 2.0
  • Giving
  • Gmail
  • Guidance-Counselor-2-0
  • Gulp
  • Hard-Drive
  • Hashtags
  • Hate
  • Hiring
  • HTTP
  • Hugo
  • Hybrid-Connector
  • Icymi
  • Ifttt
  • Iis
  • Image-Recognition
  • Images
  • Imposter-Syndrome
  • Inclusivity
  • Instagram
  • Interviewing
  • Javascript-Friends
  • Jira
  • Job-Search
  • Jobs
  • Json
  • Languages
  • Learning
  • Libraries
  • Life
  • Linkedin
  • Logging
  • Logic Apps
  • Love
  • Low-Code
  • Machine-Learning
  • Mastadon
  • Mentoring
  • Microsoft MVP
  • New-Job
  • Nodejs
  • Nosql
  • Nuget
  • Nz365guy
  • Object-Recognition
  • Ocr
  • OneDrive
  • Openai
  • Organizational-Skills
  • Outlook
  • Ownership
  • Ozcode
  • Pc
  • Podcasts
  • Pos
  • Power Automate
  • Power Automate Desktop
  • Power-Apps
  • Powershell
  • Privacy
  • Productivity
  • Racism
  • Razor
  • Recognition
  • Resharper
  • Responsibility
  • Retail
  • Rpa
  • Rss
  • Rss-Feed
  • Sass
  • Scheduled-Tasks
  • SciFiDevCon
  • Security
  • Security-Questions
  • Sentiment-Analysis
  • Service-Fabric
  • Sexism
  • Shorts
  • Slides
  • Smart Cherry
  • Smart-Home
  • Soft Skills
  • Sql
  • Ssl
  • Stackexchange
  • Stackoverflow
  • Startups
  • Stirtrek
  • Summit-Na
  • Surveillance
  • Task-Runner
  • Task-Runner-Explorer
  • Taylor-Desseyn
  • Teams
  • Tech
  • Templates
  • Text-Analytics
  • The-6-Figure-Developer
  • Time-Off
  • ToDo
  • Transition
  • Trello
  • Triggers
  • Troubleshooting
  • Try-Catch
  • Twitch
  • Twitter
  • Unplug
  • Uri
  • Video
  • Vision-Api
  • Vision-Service
  • Visual-Studio
  • Vsts
  • Web-Assembly
  • Website
  • Windows-10
  • Workflow
  • Xml
  • Xpath
  • YouTube
hero image
Advent of Code - Day 12

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solutions for Day 12 - Passage Pathing. Problem 1 The Puzzles for Day 12 are a pathing problem. We are finding our way through a cave system. The system has a start point, and end point and a series of caves that are either large caves (represented by capital letters) or small caves (represented by lower case letters). The cave system input is in a the format of:

  • advent-of-code-2021
  • C#
  • dotnet
Sunday, December 12, 2021 | 6 minutes Read
hero image
Advent of Code - Day 11

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solutions for Day 11 - Dumbo Octopus. Problem 1 For Puzzles for Day 11, we want to navigate through a cave of octopi by predicting when their bioluminescent energy will flash so we don’t disturb them. The octopi are arranged in a 10x10 grid, with each octopus represented by a power level from 0 to 9.

  • advent-of-code-2021
  • C#
  • dotnet
Saturday, December 11, 2021 | 6 minutes Read
hero image
Advent of Code 2021 - Day 10

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solutions for Day 10 - Syntax Scoring. Problem 1 For Puzzles for Day 10, we’re trying to resolve damage to the navigation subsystem of our submarine. Each navigation line contains a series of “chunks”, which are pairs of delimiter characters (), {}, [] and . They may or may not be nested and appear in formats such as:

  • advent-of-code-2021
  • C#
  • dotnet
Friday, December 10, 2021 | 4 minutes Read
hero image
Advent of Code 2021 - Day 9

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solutions for Day 9 - Smoke Basin. Problem 1 In the Puzzles for Day 9, we’re evaluating the low points of a 100x100 grid where each point represents a height with a value of 0 (lowest) to 9. The risk level of a point is 1 + it’s height. We need to find the sum of the risk levels of all the lowest points on the grid.

  • advent-of-code-2021
  • C#
  • dotnet
Thursday, December 9, 2021 | 5 minutes Read
hero image
Advent of Code 2021 - Day 8

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solutions for Day 8 - Seven Segment Search. Problem 1 In the Puzzles for Day 8, the wires on our 7-segment displays are malfunctioning and we need to figure out what it’s really saying. For part 1, we’ll figure out how many times digits 1, 4, 7 and 8 are appearing in the output. Our displays are represented by:

  • advent-of-code-2021
  • C#
  • dotnet
Wednesday, December 8, 2021 | 6 minutes Read
hero image
Advent of Code 2021 - Day 7

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solutions for Day 7 - Whale Attack. Problem 1 In the Puzzles for Day 7, we’re getting attacked by a whale who intends to swallow the submarine. To the rescue come a bunch of crabs in mini-subs. But they’re not in alignment to blast open a rescue tunnel. We have to get them to move into horizontal alignment using the least amount of total fuel possible. They all start in different positions, so the first puzzle focuses on the least amount of fuel required get them into a single horizontal alignment.

  • advent-of-code-2021
  • C#
  • dotnet
Tuesday, December 7, 2021 | 3 minutes Read
hero image
Advent of Code 2021 - Day 6

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solutions for Day 6 - Lantern Fish. Problem 1 Puzzles for Day 6 focuses on fish population growth. In this case, fish are on a 7 day cycle. After that cycle, a fish produces a new fish and restarts its own cycle. The new fish has two additional days for its first cycle. So, given this, each fish is represented by a counter: 6 or 8 counting down to 0 each day. After 0, existing fish create a new fish (starting at 8), and reset their own counter to 6. Also, the fish start with a certain number of fish at various points in their own cycles as dictated by the input file.

  • advent-of-code-2021
  • C#
  • dotnet
Monday, December 6, 2021 | 3 minutes Read
hero image
Advent of Code 2021 - Day 3

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solution for Day 3, Puzzle 1 - Binary Diagnostic Problem Puzzle 1 for Day 3 involves analyzing some binary numbers that are output and using the frequency that a particular bit is 1 vs 0. For each bit position, we get the frequency across all the input data, then use that total to build two final binary numbers.

  • advent-of-code-2021
  • C#
  • dotnet
Saturday, December 4, 2021 | 8 minutes Read
hero image
Advent of Code 2021 - Day 4

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solution for Day 4, Puzzle 1 - Giant Squid Bingo Problem Puzzle 1 for Day 4 is all about bingo. A giant squid has attached to the sub… for a game of bingo. In this case, we’ll process a set of 100 bingo cards and then “call” numbers one at a time until we get a bingo on one of the cards.

  • advent-of-code-2021
  • C#
  • dotnet
Saturday, December 4, 2021 | 6 minutes Read
hero image
Advent of Code 2021 - Day 2

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021. Here’s my solution for Day 2, Puzzle 1 - Dive! Problem Puzzle 1 today involves following a series of commands that will take you forward, up or down. Each line of input is a command, followed by a number in the form of : forward 10 Solution All my solutions are written in C#. You can find all my solutions in my Git repo.

  • advent-of-code-2021
  • C#
  • dotnet
Thursday, December 2, 2021 | 3 minutes Read
hero image
Advent of Code 2021 - Day 1, Puzzle 1

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021 (@adventofcode). Here’s my solution for Day 1, Puzzle 1 - Measuring depth increases Problem The elves have lost the keys to the sleigh into the ocean. Puzzle 1 involves reading depth measurements of the ocean floor to determine how quickly the depth increases. We need to determine from a list of measurements, how many of them are an increase over the previous measurement. We’re given an input list of 2000 measurements to be processed in order.

  • advent-of-code-2021
  • dotnet
Wednesday, December 1, 2021 | 1 minute Read
hero image
Advent of Code 2021 - Day 1, Puzzle 2

Photo by Any Lane from Pexels I’m participating in the Advent of Code 2021 (@adventofcode). Here’s my solution for Day 1, Puzzle 2 - Three Measurement Sliding Window Problem Puzzle 2 involves a more refined measurement of the depth readings by comparing measurements of 3 consecutive readings to the next 3. By that we mean, taking the sum of measurements 1, 2 & 3, and then comparing that to the sum of 2, 3 & 4. If thats an increase, then we count it. We’ll use the same input list of 2000 measurements we used for Puzzle 1.

  • advent-of-code-2021
  • C#
  • dotnet
Wednesday, December 1, 2021 | 2 minutes Read
Navigation
  • About
  • Engage With Me
  • Recent Posts
  • Posts
Contact me:
  • barretblake@live.com
  • barretb
  • Barret

Toha Theme Logo Toha
© 2024 Copyright Barret Blake.
Powered by Hugo Logo