Andrew Turley · @aturls
271 followers · 287 posts · Server macaw.social

J Programs That Look Like Shitposts

```
a =: INPUT_DATA
vis =: (1 , }:@] <&,. }.@]) >./\
cw =: |:@|.
ccw =: |.@|:
+/ ,@,: ((vis a) +. (ccw vis cw a) +. (ccw ccw vis cw cw a) +. (cw vis ccw a))
```

This is my solution to part 1 of day 8 .

#adventofcode22

Last updated 2 years ago

Tereza Iofciu (she/her) · @terezaif
327 followers · 26 posts · Server vis.social

Meanwhile day 22 of the escalated.. again

#adventofcode22 #adventofcode

Last updated 2 years ago

TwoWheelDev :v_gay: · @TwoWheelDev
3 followers · 4 posts · Server tech.lgbt

Every year I start Advent of Code with the ambition of getting of as far as a I possibly can. This year was no different, 2 stars for the first 6 days, then nothing.

I just ran out of steam and time, there's just doesn't seem to be enough hours in the day to do everything!

#adventofcode #adventofcode22 #AdventOfCode2022

Last updated 2 years ago

DameVashj · @DameVashj
8 followers · 20 posts · Server mastodon.gamedev.place

Finally pushed my resolution of Day 7! Ugh this filesystem was difficult to handle with all the multiple references for parent and children hierarchies...

github.com/dtaralla/advent_of_

#adventofcode22 #rust

Last updated 2 years ago

DameVashj · @DameVashj
8 followers · 14 posts · Server mastodon.gamedev.place

Yesterday I finished day 5 in .
Had a lot of fun with iterators and learn new ways to use them!
Also tried to "remove the N last elements" of a vector... and discovered this is not yet supported 🤯 But... I don't want to loop N times and call "pop()" 😭

github.com/dtaralla/advent_of_

#rust #adventofcode22

Last updated 2 years ago

Jonathan Gnagy · @jgnagy
6 followers · 6 posts · Server ruby.social

I’m keeping my solutions to here github.com/jgnagy/aoc2022 where I’m trying to solve each day in , , and . Today’s was fun.

I’m sure none of my solutions are the best, but my goal is to keep learning and have some fun.

#adventofcode22 #ruby #crystal #elixir

Last updated 2 years ago

DameVashj · @DameVashj
7 followers · 12 posts · Server mastodon.gamedev.place

Earlier today I talked about the little proc_macro-based CLI I wrote for ... and it's now available on GitHub! 🦀😎
I'll also push my solutions there 🔥

github.com/dtaralla/advent_of_

#rustlang #rust #adventofcode22

Last updated 2 years ago

DameVashj · @DameVashj
6 followers · 10 posts · Server mastodon.gamedev.place

Yesterday I started in .
I was already 4 days late and I only did day 1... Because somehow I found it was my duty to learn proc_macros and write a complete Advent of Code runner CLI 😅
Might publish it on GitHub soon, stay tuned!

#rust #adventofcode22

Last updated 2 years ago

half/byte · @halfbyte
381 followers · 532 posts · Server ruby.social

Okay, solved day 3 of . I had a cursed solution based on RegExes for part 1 but had to generalise for part 2 and the solution without RegExes is nicer. I don't have a "simple" solution yet, though.

I definitely already learned a bunch of stuff about Array.prototype methods.

#adventofcode22

Last updated 2 years ago

Ron Masse · @Ron_masse
67 followers · 68 posts · Server fediscience.org

Day 2: a change of pace, I was told about and decided to pour my evening into the first puzzle! Took me a while to get this figured out but I can understand what I wrote. Little help from YouTube, but can’t tell you how much fun it was

#merrycodemas #adventofcode #python #adventofcode22

Last updated 2 years ago

Craig McCahill · @craigmccahill
3 followers · 2 posts · Server techhub.social

3 days into the and already I'm feeling like I'm working for the elves.

#adventofcode22

Last updated 2 years ago

Stephan Svoboda · @xandor9
6 followers · 4 posts · Server hachyderm.io

@rc0n yep that is actually one reason I do
I want to learn the std lib of rust
What it offers and what it does not offer
The puzzles help me to guide my learning

#adventofcode22

Last updated 2 years ago

Neil Butler · @neilbutler
162 followers · 76 posts · Server mastodon.ie
_ka_ · @_ka_
11 followers · 128 posts · Server nrw.social

This year I will try to solve the with these languages , Objective-C with and maybe or

What language you choose or is anybody else with these languages on start? 😀

Let me know !

#aoc2022 #ruby #objfw #rust #crystal #adventofcode #adventofcode22

Last updated 2 years ago

Lúmëcolca · @lumecolca
75 followers · 238 posts · Server kolektiva.social

Does anyone have suggestions for this? I haven't had an IDE that I've actually used regularly in many years, and nothing I've ever used with ( ? Which tag should I be using?) What're the preferred tools here? I'm stuck on a Windows laptop for the moment, but can probably get WSL running in short order too.

#nim #nimlang #adventofcode #adventofcode22

Last updated 2 years ago

sairfecht · @sairfecht
21 followers · 51 posts · Server mastodon.scot

Just did day 1 tried JavaScript. What a mess should have used R. 😂 result worked but was grotesque. Now back to Python for the day job! adventofcode.com/2022/about

#adventofcode22

Last updated 2 years ago

Neil Butler · @neilbutler
162 followers · 76 posts · Server mastodon.ie
Neil Butler · @neilbutler
158 followers · 71 posts · Server mastodon.ie

Really excited about starting tomorrow. adventofcode.com/ A coding puzzle a day up to Christmas, to be solved in the language of your choice. Was loads of fun last year. The subreddit is fascinating - there were even some scratch solutions posted! @rmillwood @pamelaaobrien @magsamond

#adventofcode22 #adventofcode

Last updated 2 years ago