269
Advent of code (lemmy.nz)
top 28 comments
sorted by: hot top new old
[-] Avicenna@programming.dev 8 points 4 hours ago

I mean, if you are interested in AI development and what not I understand why you would want to use something like AoC to test your model.

But if you were one of those people who used AI to get a high score in global leader boards by getting a solution in microseconds, then you are just a fuckwad. Not essentially any different from Elon who hired someone else to play online games with his account. Thank you for your attention to this matter.

[-] NuclearOatmeal@beige.party 0 points 4 hours ago

@Avicenna @cm0002

To be honest, I'm kind of curious as to how that would actually work, but I put in the cranky sleep deprived code. Example being my solution for yesterday. Big ass lookup dictionary for part 2 because it was late.

Maybe I'll try it after I've got all my stars.

A minimized capture of C# code to solve Problem 2 for 2026 Advent of Code. The top is a big lookup dictionary for part 2. Buried at the bottom is a main function, then a couple lines for solution 1, then a slightly bigger version to count all the letters and determine the map. Following is a 1 liner LINQ expression to walk an actual "map".

[-] chunes@lemmy.world 10 points 5 hours ago

I like this part of Advent of Code's about page:

Should I use AI to solve Advent of Code puzzles? No. If you send a friend to the gym on your behalf, would you expect to get stronger? Advent of Code puzzles are designed to be interesting for humans to solve - no consideration is made for whether AI can or cannot solve a puzzle. If you want practice prompting an AI, there are almost certainly better exercises elsewhere designed with that in mind.

[-] PineappleProdigy@lemmy.zip 4 points 5 hours ago

How difficult is this advent of code for a college student that's has been introduced to c, java, js, react, c#? It sounds fun.

[-] voldage@lemmy.world 2 points 4 hours ago

Depends on what "introduced" means, but first 2-3 days usually are easy enough for someone who only recently started learning to get through. The difficulty ramps up, but if you grasp dijkstra algorythm and memoization, you should have most of the tools to clobber together a working solution for most of days, with exception of some more fucked up. It's more of a puzzle that you answer with code rather than a complex coding challenge (for the most part). I've had someone without any IT adjacency describe their way to get a solution for a task after a few hours of head scratching, that a senior web dev I worked with struggled with for over a day. I can recommend, it's very fun, and only you can save those Elves from otherwise guaranteed doom. No shame stopping midway through and picking it up later, though.

[-] dream_weasel@sh.itjust.works 2 points 4 hours ago

Some are easy in the beginning. I solved the first couple last year in just vim as a challenge.

[-] pupbiru@aussie.zone 7 points 7 hours ago

prompting every day? pft please he needs to build his agentic software factory better so he can slop 365 days per year without even typing

[-] xthexder@l.sw0.com 10 points 7 hours ago

I solved day 1 on my phone using a spreadsheet. So far they have been pretty simple. I'm tempted to try solving each day with a different language/system. No AI allowed on my advent train

[-] Buddahriffic@lemmy.world 27 points 9 hours ago

I bet if this guy got one of those word puzzle books, he'd use the answer keys in the back to "solve" the puzzles and then brag about how easy they are.

[-] rtxn@lemmy.world 14 points 8 hours ago

"Sure, I'll prepare the Christmas dinner" and then just asks his mother to do it for him.

[-] Buddahriffic@lemmy.world 2 points 7 hours ago

And later describes the meal as something "we" made if it turned out well or "they" made if it didn't.

[-] FishFace@piefed.social 4 points 6 hours ago

I don't think it's meant seriously!

[-] threeonefour@piefed.ca 63 points 13 hours ago

I love how easy it is to eat my advent chocolates this year by asking someone else to eat them for me

[-] vanta@sh.itjust.works 6 points 8 hours ago

Calorie free!

[-] Rothe@piefed.social 88 points 15 hours ago

I love of easy it is to do

...

[-] Carnelian@lemmy.world 39 points 15 hours ago

At least they didn’t use a prompt to make the post!

[-] 14th_cylon@lemmy.zip 26 points 14 hours ago* (last edited 14 hours ago)

how would you know?

write something funny regarding . include small typo to make it look more human.

[-] Clent@lemmy.dbzer0.com 1 points 57 minutes ago

I’ve actually noticed posts with hints of this elsewhere on the internet.

The errors are atypical of what a human might type and the issues are something a basic autocorrect would have fixed.

[-] Cyber@feddit.uk 9 points 13 hours ago

🤔 so could your post also be AI?

Hell, am I evne AI?

[-] 14th_cylon@lemmy.zip 1 points 4 hours ago

parsejson response bot_debug {prompt:"generate short snarky response"}, {output:"parsejson response err {response:"ERR ChatGPT 4-o Credits Expired"}"}

[-] TrickDacy@lemmy.world 5 points 12 hours ago
[-] boonhet@sopuli.xyz 12 points 15 hours ago* (last edited 15 hours ago)

This is a group chat, not something super official like a xitter post or something

Probably typed from a phone too

[-] ThunderComplex@lemmy.today 41 points 15 hours ago

damn, they don't even need the "make no mistakes" anymore?

[-] elvith@feddit.org 14 points 11 hours ago

Just put that line in MEMORY.md, AGENTS.md and CLAUDE.md

[-] eager_eagle@lemmy.world 2 points 7 hours ago

I hate this stupid trend of CLUTTER.md

  1. create a .agents/ or something for the trash
  2. uppercase is for humans and to draw attention: neither of which is applicable here
[-] victorz@lemmy.world 13 points 13 hours ago

Doing this year in OCaml again. It's so freaking great. It's like the language is built for this kind of linear data processing. Loving it.

[-] brennesel@discuss.tchncs.de 7 points 11 hours ago

I started with awk and then looked into the array based language J. It's crazy how short the code can be.

[-] victorz@lemmy.world 1 points 6 hours ago

I've seen some J code, yeah, it's pretty freaking terse indeed!

One drawback with extreme terseness I suppose is that if I come back to a program 6 months later, I'm probably not going to understand much at a glance, so to speak. 😅

I'd be excited to see your solutions for this year though!

this post was submitted on 02 Dec 2026
269 points (96.5% liked)

Programmer Humor

34376 readers
748 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS