Sir Jelle · @SirJelle
287 followers · 218 posts · Server mastodon.online
Mathias Dpunkt · @mathiasd
11 followers · 8 posts · Server det.social

Good bye ๐Ÿ‘‹ - at least for day 13 of - going for today
๐Ÿ‘eval did the input parsing
๐Ÿ˜no idea how I would implement the number|number[] type in rust - easy in typescript
๐Ÿคทโ€โ™‚๏ธ the problem called for recursion if you ask me - could not convince the rust compiler to let me do itโ€ฆ

#rust #adventofcode #typescript #aoc22

Last updated 2 years ago

ednl ๐Ÿ‡ช๐Ÿ‡บ · @ednl
69 followers · 269 posts · Server mastodon.social

Fun little embedded software challenge in today's Advent of Code, with clock cycles and pixel beams. Got it down to 32 lines of C code without comments/blank lines! My solution here: github.com/ednl/aoc2022/blob/m or in attached image.

#adventofcode #aoc22 #embedded #software #programming

Last updated 2 years ago

travis · @travis
270 followers · 308 posts · Server social.lol

every I get caught up in meta stuff between puzzles, previously I've added some functionality to view stats based on lines of code and character counts of my solutions, but how hard would it be to measure cognitive complexity in javascript?

#adventofcode #aoc2022 #aoc22 #javascript

Last updated 2 years ago

ednl ๐Ÿ‡ช๐Ÿ‡บ · @ednl
66 followers · 246 posts · Server mastodon.social

Proud of this short and fast solution to day 6 in C without any libraries (well, stdio to read the input and print the result). It uses a sliding window of frequency bins and keeps track of the duplicate count to avoid having to check all the bins every time. The compiled program runs in ~1 ms on a 4. Code at github.com/ednl/aoc2022/blob/m

#adventofcode #aoc22 #raspberrypi #coding #programming #clang

Last updated 2 years ago

ร‰ric Jacoboni · @jaco
26 followers · 48 posts · Server hostux.social

Le day6 de est si simple que j'ai mรชme rรฉussi ร  le faire en ...

#aoc22 #rust

Last updated 2 years ago

Just a hint for the current exercise:

A set only stores unique items. When you put 5 items in and the size of the set is 5, then you can be sure that all items were different.

#AdventOfCode2022 #adventofcode #aoc22 #coding #code #developer #dev #devs #developing #software #exercise #study

Last updated 2 years ago

Sommer · @s0mmer
1296 followers · 144 posts · Server mastodon.social

All caught up with ! Whew! ๐Ÿ˜Œ Sadly, I don't stay up late enough to catch that leaderboard, but still having a lot of fun just tinkering on these puzzles.

#aoc22

Last updated 2 years ago

Christopher · @twopoint718
90 followers · 53 posts · Server mas.to

I did the first part of Advent of Code Day 3 in SQL and a little bit of PL/pgSQL. Anyway I was kind of proud of the query that I came up with:

gist.github.com/twopoint718/df

#aoc22

Last updated 2 years ago

Pro hint: Do NOT copy/paste the input values of over to your IDE and just save it.

Wasted a hell of time with my algorithm, because my IDE removed the tailing white spaces of each line (which is normally useful!).

DOWNLOAD the file and COPY the file!

#AdventOfCode2022 #aoc22 #coding #software #engineering #dev #developing #developer #code

Last updated 2 years ago

My inner monk forced me to do proper OOD in the current exercise of adventofcode.com/2022/day/5

The challenge with exercise 5 was just the parsing of the input file.

Here is my solution: github.com/jeffreygroneberg/Ao

#AdventOfCode2022 #aoc22 #java #coding #developer #developing #dev #devops #secops #code

Last updated 2 years ago

flanker · @flanker
0 followers · 6 posts · Server mastodonapp.uk

@rizwan @s0mmer
We need a leaderboard!

#swift #aoc22

Last updated 2 years ago

Sommer · @s0mmer
1286 followers · 139 posts · Server mastodon.social

Decided to get in on ... so now it's 1am and I'm almost caught up... ๐Ÿคฆ๐Ÿปโ€โ™€๏ธ This is way, way too much fun.

#adventofcode #swift #aoc22

Last updated 2 years ago

ednl ๐Ÿ‡ช๐Ÿ‡บ · @ednl
65 followers · 243 posts · Server mastodon.social

Well, I guess that was a Sunday gimme for . Source code in C: github.com/ednl/aoc2022/blob/m

#adventofcode #aoc22

Last updated 2 years ago

· @ind3p
3 followers · 7 posts · Server nrw.social

Heute morgen bereits das Puzzle bei gelรถst. Bei gibt es jeden Tag eine Programmieraufgabe, die man in Sprache seiner Wahl lรถsen kann.
adventofcode.com/2022/day/4

#adventofcode #aoc22

Last updated 2 years ago

Solved day 4 of adventofcode.com/2022/day/4

I was too lazy. Used . Not sure if >8 already has range checks included.

If you have problems solving this exercise, check out the image

My repo: github.com/jeffreygroneberg/Ao

#AdventOfCode2022 #adventofcode #apachecommons #java #github #aoc22 #aoc

Last updated 2 years ago

ednl ๐Ÿ‡ช๐Ÿ‡บ · @ednl
65 followers · 240 posts · Server mastodon.social

Fun indexing problem in today's . I'm still doing it in low level C. For part 1, I went with char pointers and that worked, but I needed to streamline it for part 2 so I switched to bit masks. Code at github.com/ednl/aoc2022/blob/m or:

#adventofcode #aoc22

Last updated 2 years ago