Rendered at 20:46:55 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
alexfoo 1 days ago [-]
At a previous company we also used AoC as part of a security exercise.
It went something like this:
1) Wait until a particularly tricky problem day
2) Look for a suitable solution in the appropriate language in the daily solutions thread in Reddit.
3) Download and augment the solution with some typical credential stealing code with mild obfuscation (we'd prepared this bit in advance) that uploads partial credentials (github tokens, kubectl tokens, browser caches, etc) to a seemingly random third party site under our control
4) Upload this new code to a seemingly random github repo
5) Get our plant to share the link to the repo and say on the internal #programming slack channel: "I saw this solution in _language_ linked on the Reddit sub-thread for today's AoC puzzle, it might be useful if you want the correct answer for your input if you're having trouble, I haven't looked at it myself."
Sit back and see who falls for it. A surprising number of people did, and some (but not all) were doing this from the same account they used for their daily dev work. (Think of the recent Binance heist...)
It really hit home when we shared what credentials we had managed to capture and what could be done with them.
Even the ones using it from a non-work account were surprised at what we managed to exfiltrate.
Only a couple of people were using completely clean accounts created purely for aoc with no useful credentials exposed.
schaefer 8 hours ago [-]
>… credential stealing code …
Without informed consent, this is grossly unethical.
So here’s my question to you:
What measures were taken to ensure only employees could reach this repo? Was it on company private git servers?
kccqzy 5 hours ago [-]
You don’t need informed consent to conduct these phishing email test campaigns inside a company. This is just that, except instead of an email with a button, it’s just a link to a repo. Usually such consent is given when an employee joins the company.
There is absolutely no need to take any measure to ensure only employees could reach this repo. Just like internal phishing tests are hosted on public web servers. Code on GitHub isn’t inherently trustworthy.
pc86 6 hours ago [-]
It's only unethical if the code actually steals real credentials. The code doesn't need to ever be executed (or even work) to prove the point about downloading and executing random code on work machines.
elAhmo 6 hours ago [-]
> that uploads partial credentials
They did write this, so I assume no real credentials were stored/logged.
alexfoo 5 hours ago [-]
> … credential stealing code …
Hyperbole. The credentials weren't stolen. It wasn't much more than the presence of specific credentials, with very partial information to demonstrate the point.
If I write something that reports that you have a github session key in an env var and an amazon aws session key, have I leaked your credentials? Metadata, yes. Credentials no. "User X has a github key" does not get me or anyone else access to your account. There's a reasonable bet that the vast majority of people on this forum have a github session key somewhere. (Sorry everyone for leaking that information.)
If I capture just the first bit of each of those keys, have I leaked credentials? Hard to say this is any more useful than just metadata about the fact a key exists. (For everyone that does have such a key I now apologise for leaking the fact that half of you have a 0 in the first bit of that key. Sorry again.)
If I capture all but one bit of those keys then I have definitely as good as leaked those credentials as enumerating and testing all of the possible full keys is trivial.
Where do you draw the line for a realistic "leak" of a key rather than just metadata?
If I capture the first 16 bits of a 128 bit key, or hash the key and report that, is that any use in the real world? Nope, the remaining key space is still too vast for it to be a concern.
> Without informed consent, this is grossly unethical.
Agreed.
For the people running it on company provided equipment, or BYOD equipment enrolled for use accessing company data, there is explicit consent in employment contracts and acceptable use policies.
Most employment contracts have clauses such as "the employee shall comply with all Company information security and data protection policies", "refrain from installing unauthorised software", "The employee shall take all reasonable measures to keep Company Equipment (including laptops, mobile devices, access passes, keys, and tools) secure and protected against theft, loss, unauthorised access, or damage."
Finally there's usually something like "Subject to applicable law, the [Employee/Contractor] may be held liable for loss or damage resulting from negligence, deliberate misuse, or failure to follow security procedures."
(Source was asking Google AI for "example contract clause use of company equipment in terms of security")
Taking a link noted as being third party code and deciding to run it on your own computers without vetting it is beyond the purview of the company's security policy.
I'd agree that would definitely be grossly unethical if the full keys were reported, but that wasn't the case.
I guess it's like the telemetry debate. Opt-out, or even just a "ping the server to check for the latest version" leaks metadata, and some are vehemently opposed to it.
> So here’s my question to you: What measures were taken to ensure only employees could reach this repo? Was it on company private git servers?
It couldn't be on company private git servers as that would have been too obvious for the phishing exercise. "Hey people, try the code at https://github_com/OurCompany/Sec_Team_AoC_Phishing_Repo_Dec_2026_FINAL_FINAL_THIS_ONE_v1_4/"
The link to the repo was only posted on an internal slack channel and the repo was removed at the end of that day. There's no evidence it was ever posted anywhere else.
The collection URL was disabled when the repo was removed.
The server/domain were kept (with information scrubbed) for future use (in other projects) so they could never be registered by someone else.
There was never a hit on the reporting URL from anyone that wasn't part of the company and this exercise.
As far as I know there has never a hit on that URL after that day and it was monitored for at least 3 months after the exercise (probably longer, that's just the limit of my knowledge).
schaefer 3 hours ago [-]
Thanks for the detailed reply.
It's clear you put significant thought into this.
Personally, even the remote possibility that a member of the public (or a member of law enforcement) could stumble upon this code would be a risk I would absolutely not take. They have not consented to anything.
As a thought experiment: Imagine being in a 3 person meeting with your CEO, your chief legal counsel, and yourself where you try desperately to explain what caused you to take this risk on behalf of the company.
paulddraper 4 hours ago [-]
tbf, it was unclear in your original comment whether or not you were obtaining substantive secrets, or just fingerprinting.
The former is indisputably malware; the latter is pedestrian crapware.
brlewis 24 hours ago [-]
I use Deno's sandbox for my AoC with no permissions needed. Your story illustrates why I think this is cool.
zelphirkalt 12 hours ago [-]
Or you know ... just don't copy paste "solutions" found online and run them verbatim without looking at the code.
It's not always possible to review all code we run, but c'mon, this is AoC puzzles. If we are trying to solve them, we shouldn't be so uninterested to blindly trust and run third party code.
I guess as a general practice, having a sandbox is probably good though.
brlewis 5 hours ago [-]
I think a lot of AoC participants have their own utilities for, say, reading a grid input. Somebody might want to run someone else's solution to see how fast it is, without wanting to scrutinize their utilities. So even with puzzles it's nice to have a ready-made sandbox to take away the worry.
[EDIT] Or dependencies. Even if `mathjs` got hacked nobody running my puzzle solutions could get compromised.
wink 10 hours ago [-]
Every time I grabbed someone's code to run because I needed some insight it was a) max 50 lines, easily auditable and b) I already knew how it would look like.
Just sounds weird. A better angle would be one of the cool visualization versions on r/aoc.
alexfoo 8 hours ago [-]
You'd be surprised at what some people do. It's not uncommon for some to just clone a random repo link, cd into the appropriate day directory and just run whatever is there in the hope of getting an answer. I've never understood that level of desparation.
One year someone wrote a bot that would poll the subreddit for the daily solutions thread to open (which only opened after the old top 100 leaderboard was full), and then download code/repos for a subset of languages, blindly run them against their own input, and auto submit the answers if they got something that looked about right.
This was a meta-challenge just to see if it was possible and try to front run some private leaderboards, I think they did it through a different AoC account so anyone in their private leaderboard could ignore the bot's placing and the account could be removed from the private leaderboard once the concept was proven.
They had taken the precaution to download and run the code in sandboxed environments, so collateral damage was limited, but they eventually had to stop their bot because some people had taken on the meta-meta-challenge of writing code that would detect this bot and the sandboxed environment and change behaviour, anything from entering an infinite loop, outputting the wrong answer and upwards (nothing destructive or malevolant thankfully). There was a good bit of cat and mouse going on where the sandboxed environment would be hardened to counter some specific ploy (e.g. an execution timeout to get around infinite loops, CPU and memory limits to avoid excessive resource usage, etc). It was like a reverse CTF contest. Useful for the person building the sandboxed execution environment to have people try and find the cracks.
fzero 8 hours ago [-]
Very interesting, never thought about this being an attack vector
callamdelaney 1 days ago [-]
Sounds like a felony.
probabletrain 24 hours ago [-]
depends where they live
Conscat 19 hours ago [-]
When I was a kid in Texas, I googled how to decrypt the user passwords Minecraft saves on their disk. I then took the file from one of my school's laptops, got the password out, and bragged to the kid over Google Chat that I knew his password. I tried it on various accounts I knew he had and it worked often. Even after he told me he changed it, I was still able to get on various accounts until I finally annoyed him into changing everything. I think he's a PhD candidate at Stanford now. I hadn't thought much of this but now I wonder if I've been a felon my whole life. The same thing happened to me that year when I saved my Gmail password on a school laptop. Despite this experience, my own passwords have been pwned for years and I only once ever changed them.
vintermann 13 hours ago [-]
Around 2000, I went to a school where we had a single shared internet-connected computer. One of the exchange students from Madagascar consistently forgot to sign out of Yahoo mail. I did warn her about this, and sign out whenever I encountered it, but she kept forgetting. So, one time she was in the room and I got promptly dropped into her inbox on going to Yahoo mail, I instead started reading it out in mock French (I don't actually know French). That led to a panicked reaction from her and an amused reaction from her sister. I had thought it was just something random but apparently it was something you really shouldn't leave open on a public computer.
throwup238 12 hours ago [-]
Under 18, get away clean.
Although Texas is a bit liberal with the death penalty so you might want to talk to a lawyer.
derac 15 hours ago [-]
you have to be convicted to be a felon :)
Arch-TK 1 days ago [-]
are internal phishing exercises where people are asked to enter their password into a sketchy form a felony too?
callamdelaney 1 days ago [-]
Not if done properly but sending malicious code i might run on my personal machine to steal credentials and god knows what else? That sounds like a felony.
leetrout 24 hours ago [-]
You ought to see what happens to people working remote and company laptops being used to pivot into your home network by pentesters hired by the company
crimsontech 19 hours ago [-]
This is one of the most stressful parts of my job when doing adversary simulation.
My only protection is that I keep logs of all activity and can show my actions during operations are following the rules of engagement, within scope and following the laws of the country I am operating in. I key all my implants to check the environment they are running in is within scope before the second stage implant is downloaded and executed on a system.
It always feels like such a grey area but I have never been in trouble with the law after almost 20 years of doing this work.
Sometimes it feels like fighting with two hands tied behind my back because most threat actors don't have the same constraints but it also just makes the work more fun by adding additional challenges.
No professional should be using the company laptop to pivot into your home network though, they would be using the laptop to pivot from the internet to access corporate resources either via VPN on the laptop or existing authenticated sessions on the device.
qotgalaxy 17 hours ago [-]
[dead]
callamdelaney 22 hours ago [-]
Doing that without employees permission is also definitely not legal
pc86 5 hours ago [-]
Any company large enough to have a dedicated team doing this (or be doing it at all) is very likely going to have all its employees agree to this as part of onboarding.
samus 23 hours ago [-]
This is one of the reasons why I connect my work devices to a different WiFi network than my private stuff.
TedDoesntTalk 11 hours ago [-]
Same. It’s on the same VLAN as my IoC devices. Untrusted.
esikich 17 hours ago [-]
That is very illegal.
Quekid5 22 hours ago [-]
Believe it or not (without explicit permission), that's also a felony.
... but good luck finding anyone willing to prosecute, I guess.
derac 15 hours ago [-]
should be easy if you have proof
pc86 5 hours ago [-]
Why are you downloading and running work code on your personal machine?
gamephase 19 hours ago [-]
As long as they don't use the stolen credentials to access personal data, they are legally in the clear (in the US).
alexfoo 20 hours ago [-]
Where was the bit where malicious code was sent to anyone? All that was posted was a link to a github repo which came with a caveat that it was a third party and hadn't been looked at.
This is exactly the thing that almost every IT security policy will be trying to educate end users about. Don't just randomly trust stuff on the Internet. Yet very capable and intelligent people do this all the time.
If I say to someone "go ask on stack overflow _generic_link_to_stack_overflow_" am I liable for the fact that they may stumble upon an answer that has contains code that has unintended consequences? Not in any sane legal environment.
Buttons840 19 hours ago [-]
It depends on the prosecutor, judge, and jury. Do you think they would be able to show that you took specific actions to exfiltrate people's private information?
The law does care about intent, not just purely objective technical details observed through a sterile lens.
Suggesting people look on StackOverflow does not imply intent for anything nefarious. Purposely obfuscating code (mildly) and purposely setting up a server for that obfuscated code to utilize does show intent to obtain private information. The first few bytes of my private key is private information.
jzemeocala 19 hours ago [-]
You seem to have missed the part where it was called a "security exercise"....which sort of presumes it was done internally like when companies test their employees with phishing emails
esikich 16 hours ago [-]
That only applies to company property.
alexfoo 13 hours ago [-]
Technically the contents of the internal Slack channel are, by default, company confidential information unless explicitly stated otherwise. The user got themselves into a pickle deciding to exfiltrate that information against company policy.
We're in the weeds here, but that particular link was never posted in the Reddit solutions thread (that really would be stupid, malicious and illegal pretty much anywhere in the world), so the only way they could get it was through the company Slack.
Anyway the users understood the point (and deeper ramifications) of the exercise, and no-one was concerned at the partial information that was exfiltrated. I can't remember all the details but we may have even just taken hashes of the credentials so that people could verify things if they wanted - the legal and security team heads definitely had their input on the plan. There were a whole load of other things were on the original ideas list that (sensibly) got vetoed.
I now defer to the armchair lawyers who weren't there and don't know the details for their response.
callamdelaney 11 hours ago [-]
I think your first point is completely irrelevant and holds up as well as a wet paper bag. Company policy isn’t law. Your ploy was aimed at out-of-work activities.
If I inadvertently ran this shit on my hardware I’m gonna be pissed and a hr complaint isn’t going to cut it.
Stick to sending ‘phishing’ emails from the company domain (with spf, dkim and dmarc set) the day new starters arrive, that’s about the level of internal security teams.
alexfoo 9 hours ago [-]
> I think your first point is completely irrelevant and holds up as well as a wet paper bag.
It was a bit tongue in cheek I'll admit.
> Your ploy was aimed at out-of-work activities.
Company sanctioned activity for L&D and team building/collaboration/competition purposes. As opposed to some companies which are "not a chance you do that on company time or with company resources."
It was useful for the company to understand that employees need to be explicitly told and educated that they should not run random un-vetted code from the Internet in the same environment as their company credentials. Many companies think their engineers would never do that kind of thing and are very surprised when they are presented with evidence to the contrary.
The people that did get dinged on their personal accounts found it useful to understand how something like this could affect their personal lives and that this isn't something they can just forget about the minute they step outside the corporate environment.
If we'd had someone who reacted as vehemently as you have then we'd discuss that and reconsider how things worked. Maybe it needed some logic to prevent it doing anything on non-company hardware/accounts except maybe output a warning locally to help drive that point home to the person.
> If I inadvertently ran this shit on my hardware I’m gonna be pissed ...
that you fell for a social engineering trick and ran un-vetted code on your personal hardware?
Or pissed that it was done in a way that meant your employer was able to see that you'd done that?
Or pissed that you felt that your personal data had been violated by choosing to download and run un-vetted code on your personal equipment?
A heady mix of shame, guilt and intrusion/violation, none of it justified.
Or maybe lucky that it wasn't something far more destructive/dangerous (that wasn't created for this exercise) that you'd downloaded and run somewhere without vetting it first. I've seen the aftermath of those kinds of incidents (both commercially and in personal situations) and really is not pretty, I wouldn't wish that on anyone.
Note that in the process we implemented no-one was singled out and no-one knew who fell into which group (work account, personal account, clean sandbox account). It certainly prompted a healthy discussion about mitigation using sandboxes and transient VMs.
Anyway, stuff like this is hardly likely to please everyone let alone the majority. Some pushback is always to be expected. Sometimes shit like this on the edge of ethical boundaries is useful to help educate people who can be targeted by groups/malware which have absolutely zero ethics and give zero fucks for laws.
callamdelaney 4 hours ago [-]
Pissed like you could think about why from prison, where you'd belong lmao
alexfoo 20 hours ago [-]
Not really. We didn't upload the full credentials. Note I said "partial credentials".
If I publish the first 16 bits of a 2048 bit RSA private key I'm hardly risking anything.
Here you go, here's more than 16 bits:-
----BEGIN OPENSSH PRIVATE KEY-----
b2Zl6n8za
...
vikmals 19 hours ago [-]
man thats a really sad thing to do
crimsontech 18 hours ago [-]
I agree, I work in offensive security and often consider these types of activity as borderline unethical.
Do we actually need to prove that humans will make mistakes or should we just operate on the assumption they will do? Systems used by employees should be designed as such that they account for these mistakes rather than putting the blame onto the employees with stunts like this in my opinion.
One of the more cruel exercises I saw was a phishing email disguised as a bonus for the hard work UK rail staff had done during the pandemic [1].
Where do we draw the line with this stuff? Can we pretend the targets family is in danger? Evacuate an office by sending urgent messages of an imminent threat to life?
I think exercises like this are showing that the security control is in the wrong place which is actually a failure of the security teams rather than the targeted employee. In the described scenario an employee has downloaded and executed code from the internet which resulted in the exfiltration of potentially sensitive data to untrusted systems. This is a failing of the EDR and DLP systems. We can test these without tricking an employee into doing something silly.
> Do we actually need to prove that humans will make mistakes or should we just operate on the assumption they will do?
Both obviously, but getting the balance right is the hard part, and you're always going to piss some people off. You just have to do the research to work out where you are going to draw the lines, be prepared to justify those choices, and be open to discussing them and possible moving them.
(I have to be a bit vague about the next example, it's not as trivial as it sounds but explaining more would leak more information than I'm comfortable with.)
One of the biggest outcomes I've seen in a company was around the bureaucracy involved in getting various bits of software onto the pre-prod servers for testing and evaluation prior to deployment on prod. There were lots of controls in place which took time but the users were annoyed as they often had to try a whole bunch of different options before they settled on the one they wanted.
The end solution was to introduce another tier which ran on a scorched earth model. Each instance in this new tier was isolated but users could install whatever they liked without needing any kind of sign-off, and when things were done it was all securely trashed. It took a lot of work on automation, generation of fake data, etc to get to that point but the reduction in friction was a huge win. The users felt way more productive and were able to narrow down the options much faster and were more prepared for the subsequent process required to get it into pre-prod.
The users never thought to ask for such freedoms as they expected the company to apply similar processes/vetting/security to any new infrastructure, especially as it was impossible to do realistic testing without realistic looking data, and they had no fake data streams. The security teams never thought the company would sign off on the work required to get the new tier up and running (the fake data aspect was a lot of work). Management feared change and wanted to stick with the status quo.
> This is a failing of the EDR and DLP systems.
Most of my dealings in this area are with companies that aren't mature enough to have these types of systems in place. In an early startup stage people are not espousing Zuck's "move fast and install deploy EDR and DLP systems" mantra.
How do you protect an office full of mavericks? A series of soulless online learning courses rarely works. Towards the other end of the spectrum are shock tactics like the security exercise detailed above. There are plenty of other options inbetween obviously.
esikich 16 hours ago [-]
Totally agree. I once worked at a company that had phishing tests that spoofed our fucking internal IT ticketing system to trick users. Spoofed the email address and of course outlook obscures the link so they have no idea where that goes anyway. It was way too hard for a normal user. They were basically training users not to trust our own internal systems. Like what kind of sweaty dickhead does that? What are you trying to prove? That we are incapable of building any internal systems our users can trust? I was irate.
kccqzy 5 hours ago [-]
Yeah that phishing email was indeed cruel. But you just told scammers that they could increase their success ratio by making their scam email to be about bonuses.
boogieknite 14 hours ago [-]
equally harsh, how the most recent championship NBA franchise treated its unsung heroes
tldr; phishing test email to MSG staff to claim their championship ring for being part of the franchise
WD-42 19 hours ago [-]
Using something as joyful as AoC and turning it into an internal phishing scheme is I dunno, just a dick move? I’d hate to work at your company.
alexfoo 12 hours ago [-]
The team saw it as nothing more than a well planned and executed security exercise / prank (the group that did AoC would often have internal underhand coding contests where there were obvious lines that should not be crossed) but any aspect of "dick move" was vastly outweighed by the impact it made on the extremely serious subject of trust and supply chain attacks.
Real malicious attackers do not care if something is a "dick move" or not. In an alternate universe the great company you work for might have to shut down because someone didn't think properly and ran something which compromised enough company secrets to cause its collapse (financially, reputationally, whatever). Then people will say the dick move was the company not educating its employees well enough, or not putting in strict enough controls to prevent it happening.
This is not justification for companies pulling arbitrary dick moves against its employees, but many people consider much of the policies around security to be borderline dick moves due to friction, process, bureaucracy, etc. It's a fine line that's always going to piss some people off.
Talented and experienced developers who should know better fell for something that could easily have been a significant threat because their guard was down due to familiarity or doing something "fun" like AoC. Many of them on a work machine. In an account with live company credentials. In some industries/companies that's gross negligence and you'd be out the door in a heartbeat.
No individual was chastised but it made everyone in the group think about their actions and possible consequences. We didn't call out the people who fell for it because there was no point doing so. We didn't call out the people who didn't fall for it either, for the same reason.
There's also an aspect of humility as I know I've done similar in the past and got away with it only by the grace of $DEITY. It's certainly changed my behaviour. Yes spinning up yet another VM, installing a bunch of packages, vetting the code, etc just to be able to run some random code is a pain but it's a lot better than the alternative. It also makes you automate some of that setup to reduce the friction as much as possible. Fundamentally I still don't want to play Russian Roulette even if the revolver has 999999 empty chambers, there's still one bullet.
(I don't work there, this was part of some consulting gigs that I sometimes help out on so I could pop up anywhere. I just saw the programming/AoC channel as a great attack vector, and I love AoC too. At that company there were other targeted campaigns for other specific departments such as finance/marketing, each using something that those employees were overly familiar and trusting about - but I didn't work on those bits.)
speedgoose 12 hours ago [-]
I think you could have used something else that the AoC.
alexfoo 12 hours ago [-]
Sure we could, and the people who liked what we did use would have said similar about that.
We'll continue to work on our method for making an omelette without cracking any eggs.
leothetechguy 11 hours ago [-]
I have used this logic to justify dick moves before. It's still a dick move man.
midtake 3 hours ago [-]
> 5) Get our plant to share the link to the repo and say on the internal #programming slack channel
This part is stupid. Is this a very large company where people on the internal slack are indistinguishable from bad actors?
thdespou 1 hours ago [-]
"credential stealing code". So nice and ethical...
sire-vc 18 hours ago [-]
Don't download random programs from the internet, said the programmer as he executed random code he found on the internet.
srgb_vs_cmyk 10 hours ago [-]
I am appalled how `curl someurl | bash` is still a common method of distributing software.
0x264 9 hours ago [-]
Same here. The trust we have to the fact that if it suddenly becomes harmful that "somebody" will notice and tweet about it and it will be shut down, is mind blowing.
chrisgd 1 days ago [-]
I love what you wrote but hate that you did this!
tgv 24 hours ago [-]
The point is, I assume, that you can bet it has been done, multiple times, probably with less noble intentions.
16 hours ago [-]
alexfoo 20 hours ago [-]
And you can bet that AI is going to be used to make it far less obvious than the usual security team's phishing tests from billg@thisreallyismicrosoft.com that, even though they are so obvious, some people will still always fall for.
lynx97 10 hours ago [-]
I hope your coworkers alreaedy treat you and your team as not trustworthy. I wouldn't even have a beer with you after such an ass move.
alexfoo 5 hours ago [-]
As said elsewhere, it went down really well with this team as they saw the value of the exercise and how familiarity and distraction can lead to carelessness. Being socially engineered is not a fun feeling, but having experienced it you are a lot less likely to fall for something a second time. So many people came out of it saying "I thought I would never fall for something like this, I thought it only happened to other people."
You never get thanked for helping prevent a possible breach, mostly because it's impossible to prove exactly what helped prevent something that didn't happen from happening. But you certainly get heat for failing to prevent one that does happen.
> I wouldn't even have a beer with you after such an ass move.
I respect your decision. I get called all manner of things due to certain jobs I've done over the years, those without a thick skin don't last long in these kinds of jobs.
I happily have a beer with anyone who saw this as a dick move, and happy enjoy a robust discussion about the ethics and net benefits, but each to their own.
benbristow 22 hours ago [-]
Clever, I can't imagine our security team ever doing anything this genius. Although they do often run email phishing tests via Office 365's built in feature. Brownie points if you report it, security training if you fall for it.
ArcHound 1 days ago [-]
Please, try and use your brain for AoC. At least once a year, to practice and learn. It'll help your skills.
Leaderboard is gone, there are no real stakes. You don't even have to solve the problem on the day it appears, they'll wait.
And maybe you rediscover the joy of creating a solution of your own.
After exclusively vibe-coding (or I guess "agentic engineering") for a year after a long career as a programmer, I made a point to not use AI at all for the first day, and it turns out I don't actually like writing code, I just like building things.
That said, for the rest of the days maybe I'll describe the algorithms I think should be used rather than just giving AI the problem statement, and let it handle the nitty gritty implementation.
TimTheTinker 22 hours ago [-]
I think it's fine to like both building things and coding, though it's hard to watch a lucrative passion lose its economic value.
For me, the original motivation behind coding was that computers are easier to understand than people, software is irresistibly complex, and I love to build cool things.
As I've aged, it's mellowed to "I love to build software to help people get their work done." So I've been able to progress through the stages of grief at a moderate clip, I guess.
dajt 22 hours ago [-]
LOL, the arc of the career programmer!
I could have written your comment. I still like to write code sometimes but I'm also relieved to have what is essentially an amazing junior programmer at my disposal for the grunt work, and something that knows enough about most programming related things that if asked the right questions will point me to the answers I need.
It is a kick to have someone say how much easier you just made their life.
nobody_r_knows 15 hours ago [-]
People who think Astra is a junior programmer have never met junior programmers in their entire lives. Astra is like if you went to Apple, asked for their smartest programmer on the planet, and said, "he's mine now."
ninkendo 6 hours ago [-]
Astra is a junior programmer because junior programmers are eager to please and will do whatever is asked of them without pushing back or working to rethink the requirements. "Junior" doesn't mean "is bad at programming", but "lacks enough industry experience to spot when things are going to go badly."
The problem with LLM's for coding is that they can take any bad idea and execute on it. Normally when a human is tasked with implementing the bad idea, the badness becomes very apparent as they're writing the code, giving an opportunity to clarify or rework requirements (y'know, the whole point of Agile, since it became a thing.) This is something that's absolutely missing with LLM's: The friction. Friction that often causes a better idea to come out in the end.
dingdongditchme 8 hours ago [-]
not quite. I agree its not a junior programmer but it aint godly either. Its something else entirely imho. The occasional absolutely weird lack of common sense but exceptional speed and retention. Very enjoyable to work with. I am reminded of the xkcd about python programming... "programming is fun again!" https://xkcd.com/353/
christianbasile 23 hours ago [-]
I understand this sentiment, but I dont feel like a builder anymore with AI - just feel like a PM telling AI to do the dirty work; to me that is less fulfilling.
koyote 20 hours ago [-]
> it turns out I don't actually like writing code, I just like building things.
Maybe you just don't like writing the kind of code AoC is looking for?
AoC, to me, was never about writing code but more about coming up with algorithms and solving mathematical or logical problems. The code was just a means to an end.
One type of code I enjoy writing is mostly around designing and building architecture that encapsulates complex business logic in an elegant way as well as de-tangling (often legacy) spaghetti code and moulding it into something more maintainable.
This kind of code is also something AI is vastly incompetent at.
noosphr 22 hours ago [-]
>I made a point to not use AI at all for the first day, and it turns out I don't actually like writing code, I just like building things.
In the popular languages of the before times, absolutely. Turns out I didn't like python, I just hated it less than the alternatives.
Now solving the advent of code with an interesting language (say forth or MMIX) is surprisingly relaxing. The same way that whittling a spoon is.
gonzalohm 23 hours ago [-]
But how can you build properly without knowing the building blocks?
The same as when you were coding, the programmer that knew how the computer works or how memory management works wrote better code, you will build better things if you know how to code
noosphr 22 hours ago [-]
I'm not using building blocks, I'm making injection molds to cast the building blocks.
>The same as when you were coding, the programmer that knew how the computer works or how memory management works wrote better code, you will build better things if you know how to code
I still know how that works. I don't write in machine code to get closer to the metal.
gonzalohm 22 hours ago [-]
For how long though? Are you going to keep up with the latest libraries and programming languages if you don't code?
post-it 20 hours ago [-]
I'm doing a side project with Preact. I have no idea what Preact is, Claude picked it. I know my app is fast, small, and does what I want.
noosphr 21 hours ago [-]
Who cares. All of that was churn to justify high salaries. Now that those are gone maybe we can get back to sane languages instead of fads.
nobody_r_knows 15 hours ago [-]
What a backwards take. Tha'ts like saying "how can you build properly without knowing machine code????" You almost want to smack that person int he face like "get with the times man, machine code is not really taht important to know." And it goes on and on and on. To answer you question: "Just watch me."
mkovach 22 hours ago [-]
> I made a point to not use AI at all for the first day, and it turns out I don't actually like writing code, I just like building things.
That is why I call myself a reformed programmer, instead of a DevOps engineer.
But, I did Day 1 in Free Pascal, using the FP TUI IDE they provide. I did the first pass and was happy to remember how interesting Turbo Pascal and C were to use for debugging code. After finding out I still can't "whip through a simple sort," I ask AI to do a code review. I found a few things in Free Pascal's objfpc mode that I didn't know about, and a few edge cases that weren't in my input data but could have been bugs. In the end, after a few trips with AI, I like the refactored code, but enjoyed the learning part more.
Blackthorn 22 hours ago [-]
I don't like going to the gym, but I do it anyway and hit the treadmill for a mile instead of driving for a mile in my car because it's good for me.
yoyohello13 19 hours ago [-]
You don’t like coding but are doing coding puzzles? Why even bother? You could spend your time doing literally anything else.
midtake 2 hours ago [-]
I hear this take often and it never ceases to sound incredibly lazy and smug. We all (well, most of us) like building things. You don't need to shrug off manual coding, for many of us it's a labor of love.
Chinjut 24 hours ago [-]
The day 1 challenge was that bad?
dontdothatok 24 hours ago [-]
He means allocating variables and writing loops manually feels like operating a telegraph. It makes no sense any longer.
Calavar 23 hours ago [-]
A telegraph is never a more effective communication tool than a telephone. It's lower bandwith, lower latency, lower capacity, lower fidelity.
I think a better analogy would be handcarving a piece of wood instead of using machine tools.
It's still very possible for a seasoned programmer to write better code than an LLM. But the only ones who care about or even notice the difference in quality are connoisseurs of the craft (or, depending on your point of view, pedants). The end consumer couldn't care less about how DRY or cyclomatically complex the code is. So handcrafting is relegated to hobby/art form, while automation is used for all practical work.
riffraff 23 hours ago [-]
Well, Day 1 can be done without loops (and a couple variables) in most high level languages :)
Solved it with `cat | sort | uniq -c` and multiplying a couple of numbers by hand.
No, it wasn't very bad.
sevenzero 1 days ago [-]
Thats funny to read given I am the complete opposite. I love to code but hate building things. Building things reminds me of how unimpressive and repetitive software development really is. Maybe I am biased though as that has been my job for the past few years. Just the same stuff over and over again.
rlt 1 days ago [-]
To clarify, I like software development, just one level above writing the actual syntax. Architecture, algorithms, etc are interesting.
I also need the freedom to decide what to build and how to build it. I could see how being told what to build AND using AI to build it could be mind-numbing.
streetfighter64 1 days ago [-]
The fun part of LLMs is that it lets you build large things fast without being a wizard.
Coding as problem solving is fun, but coding for building an app is 95% boilerplate and 5% problem solving. LLMs automate the boilerplate and gives me time to focus on the fun stuff. IMHO.
jakeydus 23 hours ago [-]
There's something fun about the boilerplate, though. I used to love writing sqlalchemy classes and formatting the file. It scratched the same kind of itch that crochet or kneading bread dough does. Sometimes doing a rote task well is what my brain needs.
ArcHound 11 hours ago [-]
It's not just you, there's a study saying working on simpler tasks gives you better capacity to work on bigger tasks. It's even more efficient than resting! We are really doing ourselves a disservice by automating the simple things away.
warinsidehere 23 hours ago [-]
Completely agreed, the simple ones sharpen my mind.
streetfighter64 23 hours ago [-]
That's very true. I used to always try to come up with a clever regex or vim macro to do bulk renames etc. (probably taking more time than just doing it manually). Except at the end of the day when it was nice to just put on some music and do it by hand.
Strange to think all that are now things of a bygone era.
jimbokun 23 hours ago [-]
Why didn’t you go into project management before LLMs became so capable, instead of software engineering?
Because that’s close to the sense of “building” with an LLM.
post-it 20 hours ago [-]
No it's not. Using an LLM is nothing like managing people. People can't do tasks in increments of 5 minutes, they can't stop on a dime and do something else, you can't make a dozen of them out of nothing. LLMs are firmly tools.
1 days ago [-]
booleandilemma 22 hours ago [-]
[dead]
nedt 7 hours ago [-]
I'm doing this year the same as last year. First I solve it. Both parts. Then I let AI solve it (last year Cursor, this year Claude) without giving it my code. It can use the framework I've build and get the sample and input, but that's it. Only after it has gotten the right solution I let it look at my code.
Last year my code was always simpler, as in smaller and/or easier to read, and never had a long runtime. The AI code is harder to read and understand, solves things not in the task and sometimes has a much longer runtime (in seconds, I don't care about milliseconds). This year on day 2 I'm seeing again a way more complicated solution from Opus 5.5, where I just added a single line to go from part 1 to part 2.
It's nice seeing that I still have the skills and generate something that looks better to me as a human.
alxndr 11 minutes ago [-]
This would be a really interesting way to eval different models!
lunar_mycroft 4 hours ago [-]
IMO it doesn't just look better. Sure, LLMs are better/faster than people at wading through piles of badly organized code, but even they have their limits. In a long running project eventually the tech debt will catch up with you.
herghost 1 days ago [-]
It's been eye-opening for me.
A long time ago I was a developer, but don't think I could claim I was ever a real dev, but I could always solve a problem with python when I needed to.
But I've not needed to do it for so long, whilst "vibe coding" things that solved problems for me, that when faced with this it's pretty much caused my brain to freeze.
I don't _need_ to be able to do this anymore in my career, but I feel a bit embarrassed that I can't actually do it anymore.
This will be a fun re-discovery.
jonstaab 23 hours ago [-]
Just solved day 1 writing clojure (squint) with my bare hands. Feels GOOD. Yes, I asked the LLM what functions did what as a convenient reference, but the code is mine, and clojure is beautiful.
Trufa 1 days ago [-]
Oh, while it is somewhat sad that the leaderboard is gone, I think it's a great solution! Do if for the love of it.
I'm gonna see if the old noggin' still works.
Jcampuzano2 1 days ago [-]
If you have some friends or coworkers you work with, it's pretty easy to set up a private leaderboard. I've done that at every job I've worked at for probably the last 10 years.
I just set up a private leaderboard for my workplace for everybody who wants to join and it usually turns out to be pretty fun and have decent attendance.
One of my companies even sponsored giving out rewards for whoever at the company got 1st/2nd/3rd place.
Usually probably 80% of people churn within the first week and by the end only a few people are actually completing the challenges.
Probably harder to justify now though with AI, since we can't prove somebody used AI or not, and giving out rewards always adds incentive to cheat.
mobeigi 21 hours ago [-]
There really is no point partaking if you plan to use AI only to solve.
chicagobuss 21 hours ago [-]
unless of course you're trying to use AI to compare a lot of different solutions?
8-prime 12 hours ago [-]
not the a lot part, but after writing my own submission I compare with that claude would have implemented. Its fun to see how differently the problems can be approached.
Arch-TK 1 days ago [-]
I mean, that's why the leaderboard was removed, given the current circumstances, what is the point of even doing AOC if you're just going to let the bot do it?
rimliu 9 hours ago [-]
What's a point of playing chess when stockfish can beat you every time?
Eji1700 9 hours ago [-]
You can detect when someone is running stockfish. You can’t really tell if someone used Claude to generate an answer faster so why have leader boards?
And yes I know there’s all sorts of scandals in online chess with just using the engine for key moves, but at the end of the day most people don’t come near the leaderboard and there’s not a strong competitive community AoC is trying to police
Biganon 24 hours ago [-]
What's the point of asking AI to excrete a picture or a song for you and then pretend you're an artist?
People are pretty lame
giancarlostoro 1 days ago [-]
I'm someone who uses AI for side projects, but I agree. I dont mind the idea of some "Advent of Vibes" or whatever nonsense name people are calling vibecoding now, but it would need to be named to emphasize that it is not Advent of Code, Advent of Slop could work too. Would be interesting to see a few different models solving various unique problems and then evaluating their output at the end.
HumblyTossed 1 days ago [-]
What fun is that?!
FIRST!
/S
ArcHound 1 days ago [-]
No, I get it (and I see the /S), competition is very fun. But sadly we can't enforce fair game rules, so I think giving up on global leaderboard was a great call.
dontdothatok 24 hours ago [-]
For once I can use my brain all the time now I’m not tied up messing with syntax and half-baked implementations all day..
This shit is getting tiring. Fucking around with “code” was fun, I understand, I enjoyed it as well but it never made any business sense. Now it makes zero.
Even personal it makes no sense. You could be learning a language, art, cello, what you want. Learning “Zig” or whatever and sorting items into buckets and messing around with wonky libraries and obsolete ideas.. I mean come on man.
lcedp 23 hours ago [-]
Do art and cello make business sense to you? People play with brain teasers all the time such as chess and sudoku. Coding is enjoyable for me; maybe not the wonky libraries part.
And as for the business sense, writing code helps to understand it and as of today programmers still need to audit certain critical code and most interviews still require coding with or without AI. We'll see what happens next. Meanwhile, I'm enjoying my brain teaser.
esikich 16 hours ago [-]
He's got a point though. I really dislike the condescending tone of "use your brain". Been doing it for 20 years at work and I'm fucking tired dude. I have enough brain teasers at work. In a previous life I was a musician. Fuckin loved it. But after playing gigs 4 nights a week I'm not practicing on my days off. People need balance and it's unfair to criticize people for not being fucking wired and problem solving 16 hours a day.
ArcHound 11 hours ago [-]
Yeah, I'll work on my titles, my bad.
I'm not saying anybody should crack problems for 16h a day (in fact I state that's not possible).
I argue to keep doing some simple problems (exercises) even if they can be automated away.
peheje 23 hours ago [-]
It's crazy to think about when you put it like that. I guess if you really push that thought, in the end nothing really matters, just do what you love.
I did love Learning Nim|Crystal|F#|Swift and taking my masters' (RL). Looking back what really did I get out of it? Well I stood on giants, maybe contributed a little teeny tiny bit to the next big thing. Idk. Maybe not. Should I have read big works in Philosophy instead? Or just more fiction? Saw this movie today "In the blink of an eye", pretty good (no masterpiece though). Started with small poem:
"Remember, remember, this is now, and now, and now. Live it, feel it, cling to it. I want to become acutely aware of all I’ve taken for granted" Sylvia Plath.
Does it fit here?
prollings 23 hours ago [-]
giving this brand new account the benefit of the doubt: it did (and still does in many cases) make business sense, as it was the only way to get something done.
on using your brain: what was not using your brain about your apparent struggle with syntax and supposed half-baked implementations? sounds like learning stuff?
on "do something else": some people like learning things and becoming good at them, or at least good enough to wield them competently... programming languages and programming itself are some of those things. running around the internet telling people that learning and practising what they're interested in is pointless is kinda mean and tiring for everyone that has to be bombarded with this everywhere they go. and by the way, the other things you mentioned (art, music, langauge) are more and more OFTEN met with the same sentiment as yours by shiny new accounts in the corresponding communities.
dinkumthinkum 6 hours ago [-]
You realize this place used to be called "Hacker News?" Virtually all of the comments in this thread are just pathetic. "Oh, I'm a builder, look at me." And people so AI-brained they even talk like LLMs "I'm not making building blocks, I'm making the cast molds." Knowing and using intricate details of technology is a thing, is a hobby, has and still seems to be a vocation, and is presumably what this community was formed around (of course that and heavy startup culture). So, this is not true of everyone but there is a large percentage of people that came into this field because their parents told them there would be money and they are not really tech people; of course they love this because they don't have to know anything and they can just spout about their AI-psychosis. Everyone talks like they scheming and building the Leviathan type technology with the Max plan or whatever and it is so pretentious and silly. Who is even going to use these things you are "building" in those proposed future?
xavdid 1 days ago [-]
One of my favorites! Eric & co do such a great job putting everything together.
For years I've written up a step-by-step guide to how my code works and published to a little side-blog at https://advent-of-code.xavd.id. It dramatically increases the time it takes to complete each day (I spend much more time writing/explaining than programming) but I've found the practice really rewarding.
I started partly because I wanted to make sure I understand the problems and partly because every solution in the daily Reddit thread is reads like a code golf competition. I get it, people tend to prioritize speed and terseness when solving (leaderboards, etc). But a bunch of inline functions and single letter variables make it really hard to understand their solutions. So in an effort to make something legible to readers of all skill level, my solution looks just like something I'd write at work.
emilbratt 1 days ago [-]
This is a joy to read. I dont do much Python nowadays, however; learning about different Python built-ins and how to use them in different tasks in aoc is a great learning experience.
xavdid 1 days ago [-]
Thank you! Yeah there's so much there (batteries included, etc) but it doesn't do you any good if dont know to reach for it.
I've learned so much over the years so I'm glad I can help others do the same!
Thanks for this, and your write-up. I solved it very similarly (using collections.Counter), but your solution is neater than mine and the use of iterator comprehension is more pythonic. Good luck with the rest, and keep that mind sharp!
xavdid 1 days ago [-]
Thank you for reading! And yeah, it's really just a "practice makes perfect" thing. I'm always pleased with how using good python makes for such approachable solutions
anonu 1 days ago [-]
thank you for supporting your local LLM
WesleyJohnson 1 days ago [-]
That took me far longer than it should have. I can't believe how rusty I've gotten after relying so heavily on AI for the past 4 to 6 months. Definitely considering 1 or 2 days a week of only hand-rolled code to stay sharp.
gwbas1c 1 days ago [-]
> I can't believe how rusty I've gotten after relying so heavily on AI for the past 4 to 6 months. Definitely considering 1 or 2 days a week of only hand-rolled code to stay sharp
Consider:
1: Write "shorter" prompts that have AI do a smaller, "boring," part of the problem
2: Code by hand for 20-60 minutes on the fun part, then hand off to AI when you hit the boring part.
3: Have AI review your work before you send the PR to your peers.
FunkyMushroom 1 days ago [-]
Or just fully don't use AI for the period.
It is basically as fast to type out a boring problem than it is to wait on an LLM to do it for you and review the output. Having a mix of "boring" and complex problems is good for pacing your energy during a workday.
(And any true boilerplate already has tools to generate it conventionally)
> Have AI review your work before you send the PR to your peers.
That's just the exact same problem happening to review skills.
gwbas1c 1 days ago [-]
No, that's what I do every day to keep sharp. Instead of dedicating 1-2 days a week for "by hand" coding, every day I do a little bit of "by hand" coding.
Anonyneko 1 days ago [-]
The "reviewing the output" part is also happening less and less in many workflows, unfortunately. Ship, ship, ship...
WesleyJohnson 1 days ago [-]
Good points.I've tried scaffolding new features, writing some class and method outlines and implementing partial features - then handing over to AI to flesh it out. That's giving some satisfaction for sure, so I'll continue to do more of this but maybe push myself harder to a little more.
cma 1 days ago [-]
also
/output-style explanatory
and
/output-style learning
Learning is like explanatory but also reserves parts of tasks for you to complete, then gives feedback.
criddell 1 days ago [-]
> before you send the PR to your peers
Nobody wants to see your PRs for AoC code.
ethersteeds 1 days ago [-]
I read that as a suggestion to apply at work to stay sharp, not about solving AoC.
criddell 1 days ago [-]
That would make more sense.
zelphirkalt 14 hours ago [-]
Buuurn! Haha! Oh noes! Why am I wasting my time, if no one wants my PRs!... (I am not the GP, just finding it funny.)
But actually imagine, it could be very funny to set up an elaborate review and project management process around AoC and the challenge being to succeed in getting as little as possible merged, due to superficially reasonable steps in the process or requirements, and of course obnoxious reviews.
zodwick 17 hours ago [-]
Same. As an expirement i tried racing claude to see the time difference.
It took me 20 mins for the first star and an additional 1 min for the second.
Claude took 1min for each star.
Not writing code anymore meant I'd forgotten a lot of syntactic sugar and had to look up even some basic stuff. I'm also a victim of deteriorating human attention, and maybe even 25% of the time was spent on random shenanigans.
moffkalast 12 hours ago [-]
These past few years AoC has really been an interesting LLM coding benchmark, since it's always new and uncontaminated.
The first year (i.e. GPT-4) they could only solve the first few. Today there's not even a point in trying since I know Claude would have the entire month done in 10 minutes and it would be flawless. Scary to think how quickly we've gotten here really.
zodwick 9 hours ago [-]
Yess absolutely, going in I knew claude would be good. But I understimated how shit I would be in comparison. like 20x !
zodwick 17 hours ago [-]
Oh and btw i had claude write assembly and i was on python
q3k 8 hours ago [-]
> It took me 20 mins for the first star and an additional 1 min for the second.
20 minutes including reading the fluff text, undertanding the problem, downloading the file, making a coffee, writing the code, and submitting the solution?
Because just writing the code really shouldn't take 20 minutes to anyone proficient in their language of choice here.
I created it so I could do 5 mins daily reps to prevent AI skill rot
animal_spirits 1 days ago [-]
This is great! I am learning rust and this is super helpful. thanks for this!
fantasizr 1 days ago [-]
the deskilling is real and the panic hits like a ton of bricks like the cliche scene of the superhero recognizing his powers are gone
pmarreck 1 days ago [-]
What if you could describe the algorithm just fine, but simply forgot the specific translations into a language's code?
Also, what is the difference, honestly, between these 2 framings of the same knowledge?
Insanity 1 days ago [-]
It’s the difference between knowing the motions of swimming and actually swimming.
Whether or not that’s valuable is a personal choice. But if someone says they know how to swim, I’d expect the latter.
theF00l 1 days ago [-]
I agree. I struggled remembering getting from input file to a list of integers. I hope my brain has more interesting problems to solve than that.
lefra 15 hours ago [-]
I struggled with that every year on the first day of AoC, even before LLMs.
jimbokun 22 hours ago [-]
To me looking up functions in the documentation is different from having an LLM write the code.
mrbnprck 1 days ago [-]
imo thats more a "how to center a div" problem: you've done it n times but still need to look it up ;)
PowerElectronix 12 hours ago [-]
There can be a difference big enough between the idea and the implementation of it that makes you go "nah, better do it this way instead". And that is only accesible if you jump into the dirt and implement it yourself.
wateralien 1 days ago [-]
Genuine question...
> to stay sharp
Is this just for the fun of coding or for some other purpose?
lunar_mycroft 1 days ago [-]
Clearly the consensus is that coding knowledge still matters, because if it didn't almost everyone on this site would already be unemployed. Therefore, you should absolutely take steps to ensure you build and retain that knowledge.
[edit: wasn't -> didn't]
FractionalRadix 1 days ago [-]
You always understand the code that you wrote better than the code that you only read. That's why it's good to write some parts yourself, even if the LLM can do it faster.
lunar_mycroft 1 days ago [-]
And that understanding shapes your thinking about the problem and solution, which can (and IME usually does) change what you build and how you build it. If you hand it off to someone/something else, even if it builds exactly what you initially intended, it would likely be worse than what you would have come up with by hand.
small_model 1 days ago [-]
haven't coded in nearly a year, and probably will never again, i'm now an agent God.
forty 1 days ago [-]
Or an agent's puppet, as you'll need the agent more than the agent will need you.
hi_im_greg_h 1 days ago [-]
Even in the age of LLMs the people producing the most value are those with high skill. If you let your skills atrophy what value do you provide?
The code is still important. Claude can't work it's way through the mess it generates so it's our job to keep it on the rails.
ThrowawayR2 1 days ago [-]
Somewhere in the not too distant future, a conversation unfolds in an office and the voice of Tom Smykowski Jr. is heard: "Well--well look. I already told you: I deal with the god damn AI so the product managers don't have to. I have agentic skills; I am good at dealing with agents. Can't you understand that? What the hell is wrong with you people?" That's a conversation I expect to happen a lot with so many people becoming over reliant on AI.
ramblerman 1 days ago [-]
> Claude can't work it's way through the mess it generates so it's our job to keep it on the rails.
"The computer hasn't proved anything yet. If we were playing a real competitive match, I would tear down Deep Blue into pieces" -- Kasparov 1997
hi_im_greg_h 1 days ago [-]
I've made no claims about what the future will hold. Currently, real skills are still required to wield LLMs effectively in my opinion.
ramblerman 1 days ago [-]
let me then, the AI you are using today is the worst AI you will ever use.
OP was discussing the value of programming skills, so I think it's a little short sighted to answer that question without looking forward just a little bit.
jimbokun 23 hours ago [-]
It’s not clear that any human skills will be safe from being overtaken by AI in the near future.
So might as well just focus on what skills we have that are still valuable today.
Tenemo 21 hours ago [-]
It's a bit like a telegraph operator in early 1920's (or whenever phones pushed them out) telling you it's useful to learn Morse, because it's still a valuable skill, when someone is convincing you to consider being a switchboard operator.
I enjoy(ed?) manually writing code myself, but it's not good industry advice anymore to focus on learning/honing this skill, I think.
hi_im_greg_h 1 days ago [-]
Sure, but I've got work to do today. So today my skills are still valuable and therefore I'll still value them.
If you're willing to let your brain atrophy until AI takes over, by all means go ahead. I'll choose to keep working on myself.
Terr_ 20 hours ago [-]
> let me then, the AI you are using today is the worst AI you will ever use.
Ten years ago, was Google search the worst you'd ever use? Were car-dashboards ten years ago the worst they'd ever be?
There are many reasons for a thing to become worse for you and me as they become "better" for the diverging goals of someone else.
xigoi 22 hours ago [-]
> the AI you are using today is the worst AI you will ever use.
Not necessarily. AI companies are scraping the bettom of the barrel of training data and running at a massive loss, so there isn’t much room to improve and they’ll have to cut corners once investor money runs out.
gadsdengrappler 1 days ago [-]
Maybe, but glib non-sequiturs like this and the Kasparov quote are not really arguments to the contrary.
criley2 22 hours ago [-]
Real skills maybe, but those skills are not coding insofar as you mean hand writing variable names and loops.
The real skills that matter are architecture and engineering.
Give me the architect and white board god, you can keep the 160wpm vim king.
zelphirkalt 14 hours ago [-]
Was that 1997 or 1996, after the practice play?
He was never good at losing, which sort of comes with the job, but it is true that IBM behaved very strangely after the match.
LunaSea 1 days ago [-]
We're playing a game where "wining" isn't always clear cut. That's the problem.
paulhebert 1 days ago [-]
Yep, “winning” the wrong way today may set you up for serious problems tomorrow
B4uler5 1 days ago [-]
Then what’s the point in you doing it over a child is a third world country? Why are you still here on hacker news rather than re-skilling as a lumberjack or some shit?
If you think understanding the code is so useless you’re already done. Just leave people to enjoy things.
What’s the point in even contributing to discussion if you’re okay with your thinking becoming useless? Surely we should leave that kind of thinking to the LLM?
anon7725 1 days ago [-]
But still, Garry can play chess today, right?
zelphirkalt 14 hours ago [-]
And Deep Blue didn't last very long afterwards! In that aspect Kasparov beat it by a long shot.
ThrowawayR2 1 days ago [-]
Deep Blue used an advanced version of old-school chess search algorithms so it implies nothing about modern LLM AI. And 1997 was when Moore's Law was in full swing, unlike today where advancements in chip fab have become a slow, expensive crawl.
This is the sort of thing I mean about "AI bros not getting it"; they have no real understanding of what AI even is or the context surrounding it but they confidently spout balderdash to "prove" it's inevitability.
WesleyJohnson 1 days ago [-]
The fun coding (the typing part), the fun of developing (the engineering part), and the need to be able to guide the AI. Yes, these LLMs are always way smarter and better engineers than I am - but they can still go off the rails. Needlessly complex, over engineered, perhaps not aware of future changes/phases of the project where a choice now matters far more down the line.
I'm basically trying to avoiding falling into what I see as the true definition of "vibe coding". Just asking the AI to build something, with only the outcome in mind and signing off based on vibes alone - "Yeah, that seems good". I still very much feel the need to read and understand what's being built, so I can continually steer the AI in the right direction and step in should I need to. But I do realize, more and more, the "need" to step in is giving way to the "want" to.
wtetzner 1 days ago [-]
> better engineers
I'm not convinced of that. LLMs are incredibly knowledgeable, but (at least in my experience) have very poor judgement.
WesleyJohnson 19 hours ago [-]
That's fair; I've heard a lot of similar anecdotes. I think the same judgement falls on the user too. I think what my agent is spitting out is decent based on my own experience and expectations as a developer. You may have a higher baseline for what's considered "better", which is perfectly valid.
sva_ 1 days ago [-]
I can't point you at any evidence for this, but to me it seems pretty clear that if you have some very specialized (knowledge) skills, and let them dull out too much, that you'll grow dement.
Using those skills is no guarantee for not becoming demented, but not using them seems like a pretty clear trajectory. Use it or lose it
done_lurking 1 days ago [-]
Do you mean "demented" as in "someone who is diagnosed with dementia"?
verysmart 1 days ago [-]
Not becoming a reverse centaur who has no value other than a meat proxy. We will see a complete mean reversion (this happens after all hype cycles, and is already happening) back to emphasis on foundational knowledge. Leetcode/DSA will become more important than ever (in person), to ensure you're not hiring people who've hollowed out their brains with AI.
SuperV1234 21 hours ago [-]
Incredible levels of coping and denial. Hopefully the hiring mechanisms will evolve to correctly weed out people who refuse to use modern tools and cripple themselves due to their inability to accept technological progress and their incapacity to realize they're just rationalizing their fear of becoming obsolete.
verysmart 10 hours ago [-]
[flagged]
jvanderbot 1 days ago [-]
It's mental jogging - why would anyone walk/run when cars exist, after all? Only to hit some personal goal and ostensibly keep the muscles strong.
alexfoo 1 days ago [-]
> why would anyone walk/run when cars exist, after all?
Physical and mental health.
Same with things like Sudoku, crosswords, and puzzles like this. There's growing evidence that things like this can help improve cognitive function and slow decline. (Not in everyone obviously.)
Keyframe 1 days ago [-]
Think of it like Sudoku. Yes, you have tools to solve it but the journey is the purpose.
busssard 1 days ago [-]
Brain training games are effective for the improvement of cognitive functions, processing and working memory.
Even if you work with LLMs you want to be able to properly judge its output. If your company does not use local models and Anthropic has some kind of shutdown or your companies internet connection has trouble, you want to be able to keep working.
I cant believe this is a genuine question to be honest.
user43928 1 days ago [-]
You are presenting it here as self-evident that handwriting code occasionally makes a meaningful difference in your ability to judge AI output. That's far from established.
Arguing with an internet or AI service outage is hardly relevant to most people. If it doesn't work, you enjoy a slow afternoon and spend time on other tasks, like everyone else is doing.
magpi3 1 days ago [-]
It's not the writing of code that needs to stay sharp. It's the problem solving. And I think it's self-evident that you will be a better judge of how a problem is solved if you are a good problem solver.
user43928 1 days ago [-]
I honestly don't see any practical relevance of code puzzles like Leetcode for my work.
None of it matters for the decisions and judgements I need to make - I am not thinking about algorithms at all. Actually, it wasn't even a common part of my work before AI either.
alexfoo 1 days ago [-]
Fair enough, but I've seen people implement code within cloud scale applications with `O(n^2)` algorithms where a well known `O(n log n)` algorithm exists, or an `O(n log n)` algorithm where an `O(n)` algorithm exists. Eventually they've been identified thanks to profiling and replaced with suitable, more efficient, algorithms. This almost always costs more (in terms of human time) than identifying it before it gets into the code-base.
And these algorithms have definitely been covered by LeetCode problems, given the way LeetCode problems are engineered using the wrong class of algorithm complexity will result in a _Time Limit Exceeded_ (TLE) error. I'm no fan of LeetCode but I'm sure it's helped some people learn to think twice about their choice of algorithm.
Many inefficient algorithm choices are caught at code review time, by people who have more experience and/or a better understanding of algorithmic complexity, and so the original programmer is directed to learn why, and improve their knowledge so they are less likely to do the same in the future.
Similarly I'm sure there are hundreds of thousands of coding jobs where this kind of detail does not matter at all as the code involved simply never sees the scale where `O(n^2)` instead of `O(n log n)` becomes a noticeable problem.
user43928 1 days ago [-]
Yes, I don't work on components where this is a concern.
If I would work on changes in such a load-bearing (pun intended) path, I would certainly attempt to have the AI analyze how scalable the solution is and profile it before submitting the merge request.
zelphirkalt 13 hours ago [-]
Well, I sure hope you do think of the things that are happening while you are solving the algorithm. Namely: Code structure, composability, readability, maintainability, finding of edge-cases, organizing a project, learning a new language, and maybe more.
For me solving such puzzles is about finding elegant solutions, not just writing one long unreadable procedure, that happens to contain the algorithm.
wtetzner 1 days ago [-]
Except that the problem solving you do for code
puzzles still keeps your problem solving skills sharp, regardless of the type of problem you're solving. You can of course do other kinds of problem solving instead.
sevenzero 1 days ago [-]
I am paid to develop and my deadlines nor my customers care about service disruptions that delay work. We are expected to deliver on time. What other tasks are you talking about? House keeping?
user43928 1 days ago [-]
So are we, and we don't typically work on last minute changes to meet a deadline.
If we were, the stability of our testing environments are a bigger concern than the uptime of the AI service.
cutthegrass2 1 days ago [-]
likewise, even the AI labs include a round or two of hand coding in their recruitment processes. Can't see this changing, if at all.
jmkni 1 days ago [-]
Same reason people do Wordle or Sodoku I guess, not a bad thing to make sure you've still "got it"
keybored 1 days ago [-]
If someone picks up a basketball and complains about their body being slow and unweildy and that they need to get fitter... does that need to be explained beyond wanting to play basketball? Advent of Code is play.
I’ll even ask the agent to quiz me after major aspects of the impl
Foivos 1 days ago [-]
I tried to do it by exclusively hand, but I had forgotten how aggressive the autocomplete is. :/
allthetime 1 days ago [-]
Turn the autocomplete off. Just use a good LSP.
Fergusonb 1 days ago [-]
The shape of the solution was still clear to me, but I had to look up the correct syntax in my most used language (well, second most now that I've been programming using mostly English)! I've completely stopped thinking about it.
Juvination 1 days ago [-]
Same! For whatever reason I decided to use js for this, then realized even in my prime I didn't work with javascript that much. I had to lookup a lot of syntax I probably would've remembered off the top of my head.
verysmart 1 days ago [-]
LLMs 100% do cause some sort of atrophy, I'm positive of it.
I try to do an hour or so of leetcode or codewars a day, I've gone months without and really felt my competency decline. I'm not sure what the outcome of this think-for-me experiment is going to be, but I'm pretty sure its going to end badly for a lot of people. It will be similar to how obesity became endemic once we had machines capable of carrying us everywhere.
wtetzner 1 days ago [-]
> LLMs 100% do cause some sort of atrophy, I'm positive of it.
Of course they do, at least without some discipline. You're offloading your thinking.
And it's not the same as e.g. delegating work to another human, because it's so easy and you're not inconveniencing anyone. So you don't put in any up front effort before asking for something, and you don't feel bad asking it to do things you wouldn't burden another person with.
verysmart 23 hours ago [-]
I'd rather get things done 10x slower, and burden my fellow human in the process because that means people in my community have jobs and opportunity, they would be improving and so would I!
Instead, we've chosen to get things done a little faster in exchange for becoming reliant on 10 billionaire's thinking machines, who will certainly use this tool as a weapon on the professional middle class to make sure that we stagnate as humans, communities and that there is no social mobility!
Yay!
nobody_r_knows 10 hours ago [-]
a little faster?? more like it's allowed me to finally do what i loved to do since i was a child. make things. by myself. i don't consider a computer to be a person, so i think it's still me making these apps. because i had the idea, i had the vision and the love.
also, this so called hate for billionares i'll just say this, jealousy woes, jealousy woes. billionaires who invented AI, thank you. From the bottom of my heart. You made me refind the joy of making things again.
verysmart 10 hours ago [-]
[flagged]
defrost 10 hours ago [-]
> How pathetic of you to praise people
See HN guidelines please.
verysmart 10 hours ago [-]
[flagged]
mxfactorial 18 hours ago [-]
> I'm not sure what the outcome of this think-for-me experiment is going to be
playing tetris with phonetic symbols to control electronic signals was bound to look absurd once a machine got ahold of the game
signaling on & off in english is ridiculous
forcing it through silicon & metal adds to the absurdity with pure alchemy
(not to mention a heat sink advertisers squat in the middle of)
verysmart 10 hours ago [-]
I keep see you sharing these gists... are you really just having an llm write little remarks for you on github linking them on sites like hackernews?? Very weird. LLMs don't take away from complexity, they multiply it across all domains. Memes and cliches typically mirror reality, they definitely do in the case of the term "LLM Slop"
Have fun being dependent on another man's thinking machine for your competency and self worth. It can get taken away from you at a moments notice, and you'll be left skilless and dependent hardly able to think for yourself.
mxfactorial 5 hours ago [-]
> are you really just having an llm write little remarks for you on github linking them on sites like hackernews??
no
theyre original
but the flood of ai content justifies ur suspicion
now i will prove authorship by resolving a conjecture a talking bell curve cant because of all the social science quackery dominating its weights
but the other reason is the absence of transparent competition: where returns are measurable & known
and that second imposter can be taken down today, right now, in the streets
if hotz were sincere in alleviating his frustration, id counsel him to study the https://github.com/systemaccounting/gradienterp readme very closely for a scientific explanation of how prices are lowered—which no social science regurgitating llm can produce—before turning him loose on the imposter
id expect to first hear "but Anthropic... and AWS..."
and then id say "work with what u got for the time being. with the free market imposter covering up measurability gone, openly operated ai & cloud fall right out"
Cognitive atrophy is a real concern. Everybody who's ever had a formerly technical manager knows what happens when the manager sits down to personally knock out a bug, and everybody developing purely with AI is now one of them.
The good news is that you can almost certainly learn to program again more quickly than you learned the first time.
adamddev1 3 hours ago [-]
How can you expect to stay just as sharp by only doing 30% of the coding that you used to do?
I don't believe people can have their cake and eat it too. To be good at coding you have to code.
mikequinlan 1 days ago [-]
"Drawing a spreadsheet by hand on graph paper took far longer than it should have. I can't believe how rusty I've gotten after relying so heavily on Excel for the past months. Definitely considering 1 or 2 days a week of hand-drawn spreadsheets to stay sharp."
Coding is now a solved problem. There is no reason for humans to do that chore any longer.
zelphirkalt 13 hours ago [-]
As long as LLMs are create unreadable hot messes of code, with terrible naming, and unreadable slop comments, I think coding is not "solved".
bob1029 1 days ago [-]
I have a garage full of crappy symbolic AI experiments I use to keep my manual skills sharp.
This is turning out to be quite fortuitous given that model providers have begun sandbagging on this exact area of use.
small_model 1 days ago [-]
Also write assembly 1 or 2 days a week rather than relying so heavily on compilers. Oh and binary and punched cards, plugs etc.
canelonesdeverd 1 days ago [-]
Are we really still doing the llm == compiler nonsense? Let me know when we commit md files instead of code.
bee_rider 1 days ago [-]
1 seems like the sort of thing that could be banged out quickly, but might have some optimization potential as well. Did you do a clever algorithm?
WesleyJohnson 1 days ago [-]
Not at all, some list comprehension and poorly optimized loops. I completely forgot about Collections. To be fair, most of day job (and side projects) are Django and we do a lot of our data analysis in the ORM and SQL, so I don't often reach for Collections or python-based analytics.
solids 1 days ago [-]
Yeah, good luck explaining that to management (in case you are an employee)
orphea 1 days ago [-]
They don't need to know.
WesleyJohnson 1 days ago [-]
I'm lucky enough that we're a smallish tech team inside a non-tech company (our business is distribution). We're slowing rolling out AI usage, mostly for code reviews, discovery, documentation, and QA. We've got the green light to start using it more and more in development, and so the last 1/2 year has been a lot of usage on a single project at work and personal projects.
We're certainly not forced to use it and management still expects us to retain the skills that got us hired and promoted in the first place.
keybored 1 days ago [-]
It’s to the point that you have to justify maintaining a modicum of the skill that you were hired for to management. Shucks, aren’t we due for another anti-union HN thread here? It’s been a minute.
bothers 20 hours ago [-]
[dead]
porridgeraisin 1 days ago [-]
Yeah, I generally don't enjoy programming puzzles, but I've decided to do AoC fully by hand this time as well, just to unrust myself.
I was sooo rusty even just implementing todays simple bucket sort thing.
pprotas 1 days ago [-]
I did the first level by hand. First time I coded without an AI agent in a year. I even visited Stack Overflow to look up how to sort a list... Feels like the good old times hahah
On a serious note, somehow I am happy that I was still able to do it by hand. Brain is not rotten yet! I'm sure the latter puzzles will destroy me though (but that has always been the case anyways!)
scotty79 1 days ago [-]
Yeah, it was throwback. Googling syntax of a language I never used very much and almost forgot and hitting stackoverflow and the docs. Even Google AI answers did me a courtesy of not popping up.
Another cool idea how to have fun with it that came to my mind would be doing AoC in a language that AI builds for you as you go.
Boxxed 1 days ago [-]
This is going to sound kind of mean, but... If you're happy you could sort a list and find the biggest numbers I think that's already not a great sign. So yes, definitely do the rest by hand! I bet it'll come back.
alexfoo 1 days ago [-]
Part of what I get from AoC is finding a more optimal solution.
Some people stick to just getting the stars at whatever cost, others look at the challenge in a different way.
With this problem there's:
a) Plenty of solutions that are O(n^2) and worse
b) An O(n log n) solution where n is the number of lines of the input
c) An O(m log m) solution where m is the number of unique values in the input
d) An O(n+m) solution where n is the number of lines in the input and m is the number of unique values in the input
I could tell a lot about someone's real world programming ability if I brought this up in an interview, especially with follow-up questions such as:
1) What if the input was so large it could not be held in memory all at once?
2) What if the input was so large that even a list of unique values could not be held in memory?
etc...
[EDIT]
If you can just point an LLM at it and get the answer without providing anything useful yourself then you've got nothing to differentiate you from every other candidate that can do the same. I'm not looking for people with multiple PhD's but I look for people who know enough to know when the LLM is spouting nonsense or is suggesting something suboptimal that will fail when scaled up.
Interviewing has become more fun because of this. We tailor our interviews so the AI assisted portion gives the candidate enough rope for the AI to paint themselves into a corner if not careful, and then the non-AI portion weeds out the people who don't have (or have lost) the ability to think for themselves.
stephencanon 1 days ago [-]
Since m < n by definition, O(n+m) is O(n).
Similarly, there can be no O(m log m) solution, because you have to read every line in general.
alexfoo 1 days ago [-]
Sure, it was shorthand, every algorithm has to be at least O(n) as you have to read in every value at least once. It [Algo (c)] is roughly O(n + (m log m)) but the computation involved generally means that the 'm log m' portion will almost certainly dominate, so the 'O(n)' part is mostly redundant.
A n = 2 billion line input with a valid deterministic solution could have m = 1 billion unique numbers (which means 'm log m' likely dominates), or it could have as few as m = 6 unique numbers in which case the O(n) part will likely dominate. Basic O() notation is too coarse a measure to capture this nuance.
bee_rider 1 days ago [-]
O(n + m) is also practically nice to give a general idea of what you mean, without spoiling anything for folks who are still working on it.
gjulianm 1 days ago [-]
[SPOILERS!]
The O(n log n) solution seems to me like the trivial/straightforward one: count occurrences, then sort the pairs based on the count. Not sure how to get the O(n^2) without trying specifically to do so (like implementing a sort algorithm from scratch and making it quadratic)
dmonitor 23 hours ago [-]
Well you only need the top 2 values, so I suppose you could just do two rounds of bubble sort and ignore the rest of the numbers.
speedgoose 1 days ago [-]
Also a big part of the advent of code is to look at the input data and realize that it's not a worst case scenario at all and heavy shortcuts can be taken.
alexfoo 1 days ago [-]
Indeed. That's what I mean by "some people just want to get the stars and move on".
Taking a deeper look can provide some very useful insights and a better understanding of the more general problem which often translates into real world scenarios in companies that operate at scale.
Optimising something that sorts 20 values is often pointless unless it really lies on a hot path and is called very frequently. It's more about when something that was written to sort ~100 values suddenly starts to become a bottleneck as the service grows and grows unexpectedly and is suddenly needing to sort 100k values, then 100M values, etc.
Taking this particular problem as an example, I've had candidates who run the complete spectrum from claiming it's impossible to find the top 3 and bottom 3 values without sorting the entire list of frequency counts (one even claimed we'd have to sort the raw input list for any chance of getting an answer), to the candidate that says "...once you have the frequency counts then finding the final answer is just a pair of max-heaps of size 3, but this depends on whether you can hold the set of frequency counts in memory or not, if not we'd have to take a different approach. Also, max-heap might seem overkill, if you wanted highest and lowest you wouldn't use a pair of max-heaps of size 1, but 3 is about the cutoff where manual tracking of the top/bottom values becomes tricky, and using a heap makes it trivial to move to 4, 5 or any other value if that becomes a need in the future".
(To be clear, I've never asked/discussed this specific question in an interview, I'm just translating responses for a similar problem.)
slopinthebag 19 hours ago [-]
> "...once you have the frequency counts then finding the final answer is just a pair of max-heaps of size 3, but this depends on whether you can hold the set of frequency counts in memory or not, if not we'd have to take a different approach. Also, max-heap might seem overkill, if you wanted highest and lowest you wouldn't use a pair of max-heaps of size 1, but 3 is about the cutoff where manual tracking of the top/bottom values becomes tricky, and using a heap makes it trivial to move to 4, 5 or any other value if that becomes a need in the future".
I don't think I'd hire the candidate who makes iterating a list of numbers and storing the highest/lowest values so complicated either. especially since they hand wave over the actually interesting part about what to do if you can't store the set of frequencies in memory. especially since in many languages instantiating a heap structure might be less performant than first_highest, second_highest, third_highest etc.
alexfoo 11 hours ago [-]
It was a snippet of an imagined conversation!
I got Claude to implement the function for highest and lowest three values (prompt below) and it did a reasonable job. The function is 46 lines long with 5 lines of comments and 2 blank lines, so 39 lines of actual code (formatted as per gofmt standards).
Telling it to keep track of the highest 4 and lowest 4 and it just extended the function with another set of conditionals. adding another 6 lines of code, and another level of indentation.
45 lines of code within a single function is teetering on the edge of guidelines for maintainability/readability.
Asked it to extend it to highest 5 and lowest 5 and it has extended the function again. Another 6 lines of code. We now have code that is indented 6 levels and a couple of lines are 91 characters wide.
I'm wondering when it's going to switch between adding another layer of conditions to going "this is better refactored as X"
6 highest/lowest and it refactored something to keep the line lengths down but still sticking with its original plan.
Finally at 7 it decides to change things:
"
The number has gone up by one each time, so this time I'll also write a version that takes the count as a setting and benchmark it against the hand-written seven-value function. That will show whether keeping the hand-written approach is still worth it.
...
The any-size version came out almost three times faster, which wasn't what I expected. I'll check whether it also beats the hand-written version at smaller sizes.
...
TopBottomK stays at about the same speed whatever the count, while the hand-written version slows down with each value you add.
"
The generic TopBottomK was also faster than the hand-written version that just tracked the highest and lowest 3 values.
It's implemented this in 31 lines (excluding comments and blank lines) that out-performs the original "hand-written" versions (as Claude describes them), despite the fact that the original prompt suggested that performance was important.
The generic solution is faster than the count specific solutions, in fewer lines, and handles arbitrary length result sets.
Back to the original point, I'm looking for the candidate that can discuss these kinds of nuances, not come to me with preconceived ideas of "this will be the fastest" or at least qualify assertions with "I would assume that algorithm X should be fastest, but bench-marking the various options would give us the data we need to decide". I don't expect candidates to know definitive answers to these types of questions, I'm probing for their ability to acknowledge where their knowledge starts to get fuzzy. Candidates that are truly open and candid like this are becoming rarer in my experience.
Prompt: write a golang method to loop through a slice of integers of arbitrary size keeping track of the highest three values and the lowest three values. This code is on the hot path of a process so performance is important, keep it as close to O(n) as possible.
epiccoleman 1 days ago [-]
I've had a ton of fun doing this over the years, it's like metagaming the puzzle. I'm not great at it but I love it when I can pull it off.
I also have used Benchee (Elixir benchmarking library) to run comparisons between naive/bad algorithms that I wrote initially and then the "correct" method after - always kind of edifying to see the difference between log n and n ^2 or whatever actually visible in the benchmarks.
pprotas 1 days ago [-]
Thanks mate, maybe with practice I'll be able to remember all the arbitrary syntax and finally turn into a real programmer
sedictious 1 days ago [-]
I never understood the point of arbitrary syntax. Multiplication tables are arbitrary numbers but if your job/hobby is to do long calculations all day I expect you to have them memorised.
I understand now most people don't program much of anything, but sorting a list is really far from arbitrary syntax
Boxxed 1 days ago [-]
What does "arbitrary syntax" mean? What's syntax that's not arbitrary?
rootnod3 19 hours ago [-]
Lisp. Came straight from God :D
pprotas 1 days ago [-]
My job isn’t to reverse lists in Python all day. In fact I don’t write Python on the job (that’s my agent’s job)
sedictious 1 days ago [-]
Yes so you're not coding and you shouldn't expect to be competent at this. I'm not commenting on how competent you are at your job, I'm commenting directly on your last remark "remember all the arbitrary syntax and finally turn into a real programmer"
Like if you are not writing Python then.. you can't expect to be a good programmer.
bakugo 1 days ago [-]
What is your job, then?
pprotas 24 hours ago [-]
I prompt the agent, of course.
xigoi 22 hours ago [-]
Why can’t your boss do that directly and cut out the middleman?
Boxxed 1 days ago [-]
I mean from what you said it sounds like you haven't been programming at all
CrimsonRain 1 days ago [-]
Real men write machine code only /s
wkjagt 1 days ago [-]
Strange feeling that another year went by. AoC 2025 feels like such a short time ago. Reading all the comments here, and in the context of AoC, I am pretty happy that I never really started using AI for anything. For me AoC is as fun as it's always been. My only change this year is that I am doing it in C instead of Ruby.
t_mahmood 1 days ago [-]
I am doing with Java instead of Rust/Python.
I can never continue to completion unfortunately, because I get too distracted perfecting things that has nothing to do with solving the actual problem and waste whole days. Like today I started fighting with logging errors instead of just throwing it, then realized what am I doing! Ha ha. Once I got that out, it was a really simple problem, I was not even expecting to part two to be that easy. But I really want to complete it this time.
burnerRhodov3 20 hours ago [-]
you... never starting using AI... for anything!?!? Really, not even to learn or rubber duck with? It's kind of wild and i'd love to hear more about your coding enviroment.
Jtsummers 20 hours ago [-]
Not GP, but if you were programming more than 2-3 years ago you know exactly what their environment was like. One or more editors, one or more compilers. The workflow is think, type, build and test, repeat. Requires a working brain to handle the think step, but most humans have that.
burnerRhodov3 19 hours ago [-]
not true... I mean, 2-3 years ago i still used dozens of tools. Figma for web dev, stackoverflow for questions/ concerns, forums and discords for things i had questions for. Now if you go into any of these discords and ask basic questions in the hyperniche, they are going to tell you to ask AI...
I had autocomplete in the terminal, automated alias' everywhere, scripts that would copy templates, etc. etc.
All of that stuff is useless now, or atleast has been entirely replaced by AI. What i'm saying, is sure, you hard code, and don't let AI touch your codebase... that's fair. But to not use AI at all seems... just like not possible nowadays.
gridspy 18 hours ago [-]
Well, I started programming before the internet was invented (well, widely used). Sure, if you relied on online communities for responses to your queries you are kind of stuck.
However, programming without those tools is certainly possible. Much easier than it used to be circa 1990
However you can always download old tools, read old sites, use established technology, etc. Fortunately none of that stuff is gone ... yet.
However, getting unstuck using ChatGPT at least is such a performance boost ... I'm happy using SOME AI at least.
esikich 16 hours ago [-]
Yeah, and a lot of it was exhausting so I'd go home and collapse on the couch and rot my brain watching TV because I had no mental stamina left. Thinking that using all of your mental energy at work is a flex is fucking weird. Reminds me of the "soft hands" bullshit blue collar workers like to talk about.
wkjagt 11 hours ago [-]
Some people enjoyed that part and weren't mentally drained after a day of doing that. It's the part I enjoyed most, and even did it on personaly projects outside of work. It wasn't even that uncommon, at least among the people I knew.
wkjagt 11 hours ago [-]
I left big tech about 5 years ago and only code for fun now, so that helps. My coding environment is nothing special. Just vim with some plugins.
EDIT: I actually enjoy it that way, and purposefully stay away from AI. I am not telling anyone else to do the same, it's just what I personally enjoy. If I need information on something, which is often, I know AI can get it for me much quicker, but since this is a hobby now, I don't care about quick (quite the opposite actually), you can still find most information on the internet (blogs, youtube, manuals), and even man pages are still great.
fduran 1 days ago [-]
The Advent of Sysadmin variation: https://sadservers.com/advent2026 (free in-browser challenges, no registration needed. Disclaimer: I built this)
zyberzero 1 days ago [-]
Thanks! It was quite fun even though my docker-fu is not what it should be :)
bibelo 6 hours ago [-]
coolio
do you have a reddit or a dedicated page for that, like AoC do?
you know, to gather a community
fduran 6 hours ago [-]
unfortunately no, I've tried a couple times but it didn't take (I also didn't dedicate the time it needs). It's not out of the question to try again.
Imustaskforhelp 1 days ago [-]
Offtopic but your post finally made me understand or connect why Advent of Code is named what it is.
I think that it is connected to Advent Calendar which is I think related to German traditions (I know this because of Netcup and berohost deals, btw Berohost currently has Advent Calendar which I just observed today)
Yet, I didn't connect it to Advent of Code but because the link that you shared says: " A 12-day Advent calendar of Linux and DevOps challenges of different difficulties"
it finally made me all click! and why Advent of code is named what it is and why its done in december
wodenokoto 14 hours ago [-]
From a northern European perspective:
We have what I would translate to “Christmas Calendar” which is something that counts down the 24 days to Christmas. This can be two pieces of cardboard with little gates perforated and you open one everyday. It can be a candle with markings and you burn 1/24th every day or even a TV show filmed in 24 episode for the purpose. A box of 24 pieces of chocolate seems to be the most international recognized version of this.
These are often translated as “Advent calendar”.
But what we call an advent calendar would be something that counts down the 4 sundays leading up to/possibly including Christmas Eve. We usually have an advent decoration with 4 candles and one additional gets lit every Sunday in advent.
spacechild1 8 hours ago [-]
> We have what I would translate to “Christmas Calendar” which is something that counts down the 24 days to Christmas
Here in Austria we call that "Advent(s)kalender". I thought Germans used the same word? What do you call that?
> But what we call an advent calendar would be something that counts down the 4 sundays leading up to/possibly including Christmas Eve.
We count the advent sundays. I have never seen or heard of a calender that counts the days from the first advent sunday to Christmas.
fduran 6 hours ago [-]
yes, it's a countdown to Christmas day of German origin made for kids mostly https://es.wikipedia.org/wiki/Calendario_de_Adviento#/media/... in my house in Spain we had a nativity and a sheep for each child that we'd move forward towards the nativity each day.
I have made a private leaderboard for people who want to compete in C not using AI or an extensive library. (I am using a small library with a function to parse the input into an array of strings.) You are encouraged to login with github and share your solutions in a github repository. The code to join is: 1563228-d419ba6d
I am using literary programming in MarkDown where I use an application to collect C code fragments in one or more MarkDown files and put them in the correct order to be compiled. See: https://github.com/FransFaase/AdventOfCode2026
tgv 24 hours ago [-]
I'm doing to try my hand at C3 this year. The first day was quite easy, and pleasant to write. But it has too many utilities for a fair comparison with C. E.g., reading an int from a line is just one line of code. And it has a generic list that's easy to sort.
Still, it has some of that good old C feel.
cenamus 13 hours ago [-]
Have you tried using org-mode for literate programming? Of course if you don't use emacs it makes little sense to switch, but many people really love org-mode
fjfaase 11 hours ago [-]
I have heard of org-mode for literate programming, but I have never used it. I mostly use my own editor that is based on the Crystal Edit edit control. My literate programming approach that I have implemented in MarkDownC is also bit different in that it does not work with placeholders. It parses all the C code, automatically generate forward declarations and than puts everything in an order that will (most likely) compile. It has some ability to extend existing struct definitions and functions. Look for usage of '...' in https://github.com/FransFaase/RawParser/blob/master/docs/gra...
schaefer 8 hours ago [-]
That’s cool!
I would love if a side effect of LLMs is a revival of literate programming.
nticompass 3 hours ago [-]
I'm having fun with this so far! I see people code-golfing their solutions and stuff like that, but I decided to go in the opposite direction. I created an abstract base class for each day's solution, and even added unit tests for each day (using the example data from the website).
Like, I'm treating this as a full project, and adding all comments/docblocks and everything. It's pretty fun this way, for me.
tomtom1337 1 days ago [-]
I was up at 6AM this morning (Norway time zone) and loved doing this again!
Thank you to the creator!
I always enjoy getting a first solution, then improving it to be more readable, and then being flabbergasted when I look up online how others are solving it.
I'm keen to learn more strong typing languages, open for ideas.
emil-lp 1 days ago [-]
Then I recommend looking at Peter Norvig's solutions!
tomtom1337 1 days ago [-]
Will do!
6d65 1 days ago [-]
This year I'm doing it in my own programming language in my own IDE written in my own programming language. Just chilling and having fun.
Definitely noticing things I have to improve in the language and IDE to make it smoother.
rootnod3 18 hours ago [-]
I was planning the same thing, but didn't have time to finish my language. But at least finished my Emacs/Acme hybrid editor and using that for it.
6d65 14 hours ago [-]
I've been making mine for 3 or 4 years on and off now. And it's a simple language, just a skin over C with some tool niceties.
I got to 20k or 30k of handwritten organic C with working e2e programs.
But early this year gave up and involved some agents to draw the rest of the owl. And it took off to something that can compile reasonably sized and useful programs.
It felt a bit wrong, but the advantage is that I can get a better feel for the language while using it.
tito 1 days ago [-]
I’m not much of a coder. I’ve tried Advent of Code several years in a row. I never got very far.
I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.
And for me, Advent of Code has simply been too big of a mental leap.
This year I’m excited to try it with Claude! An attempt to shrink that mental distance. The risk is it becomes too small and I learn nothing.
If there’s others here who want to compare notes on their process or have suggestions I’m all ears.
jezzamon 21 hours ago [-]
I'm sure you're probably aware but right now pretty much all AIs can solve all the advent of code problems without any other input. So if your goal is to learn you want to make sure you ask bite sized questions or something like that. I would recommend not letting Claude write any of the code
tito 5 hours ago [-]
[dead]
joosd 1 days ago [-]
> I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.
You're spot on, this sweet spot is also one of the premises of the book Flow by Mihaly Csikszentmihalyi
tito 1 days ago [-]
Oh wow thank you, I looked it up and bought the Kindle version just now.
yoyohello13 1 days ago [-]
I do this quite a bit for previous years and I really like it. I have a couple rules I stick too:
1. If I'm stuck, take a break, go cook dinner or something else and mull over solutions in the back of my mind for at least an hour or 2 (better yet, sleep on it). If I'm still stuck after that, I'll ask AI for a hint.
2. I have in my prompt to not give away the answers, but try to give me little hints.
3. Always write the code by hand.
4. Once I've solved the puzzle, I have AI review the solution and suggestion improvements or other techniques I could have used.
hardbass 1 days ago [-]
Lean Dijkstra and loop finding. These two should push you through a lot of the middle problems.
tito 1 days ago [-]
Thank you! First time hearing those terms and I'm interested to see what I learn from them.
wodenokoto 14 hours ago [-]
It is difficult. It usually jump into some algorithms you might know (of) if you took your undergrad in computer science.
One year you had to build some sort of upcode parser, which I guess mimics a theoretical computer processor, but as someone who learned programming by glueing things to gather and eventually writing instead of glueing it does become nearly impossible to crack those ideas.
DrVoltz 1 days ago [-]
Well, if you're looking to give it a shot with an AI study buddy, I've found the following system to be a reasonable way to keep guided learning a thing that has enough friction to keep some actual retention around: https://www.youtube.com/watch?v=nfTDljFG2g0
tito 1 days ago [-]
"Agent Harness for Learning Things", love it thank you!
jackb4040 1 days ago [-]
You are exactly describing a concept from pedagogical theory called the Zone of Proximal Development (ZPD):
These comments are full of experienced engineers (myself included) who are excited to get back to coding by hand and would get nothing out of this if using claude. So it's cool to see someone approaching from a different angle. My 2¢, LLMs make it easy to feel like you're learning more than you actually are. So I would consider setting as a goal that by the time you've completed a challenge using claude, you are confident that you could do it again without claude the next time.
tito 18 hours ago [-]
Okay it's the evening and I'm giving this a shot. Even working on the first one has me smiling a lot more than if I was trying to code this. I know this is probably like the easiest thing to code over, and yes I could furrow my brow and get through it. Which to me is not what I'm looking for with Advent of Code.
Here's my prompt, give it a try if you're curious!
"can you help me learn what's going on in the first advent of code. like don't give me the answer at all, the point is that i learn something. so....maybe you can ask me questions to figure out what i know and don't know. and use this principle to help me: https://en.wikipedia.org/wiki/Zone_of_proximal_development"
It reminds me of reading a C book as a kid in the library. I didn't even have a computer but I enjoyed writing the programs on paper and imagining how they worked. Honestly, my coding ability probably hasn't progressed all that much, but the joy is there.
I invite folks to try this, even if you're like a super experienced programmer. And tell me if you have fun with it or not I'd like to hear either way.
Wow neat first time hearing this term. Describes a lot of my approach to life is being in that zone and learning a lot.
Thank you for the kind words of encouragement!
TiredOfLife 1 days ago [-]
> And for me, Advent of Code has simply been too big of a mental leap.
Because the later days require knowledge of specific algoritms and is not something a regular human can figure out by themselves.
dktoao 1 days ago [-]
I was able to do last year's as an embedded programmer with an EE background and no formal CS education. I don't think they are that hard. The last few days did require me to go on reddit and get some hints.
dunefox 1 days ago [-]
You developed all necessary algorithms by yourself from scratch? That's impressive.
vkazanov 14 hours ago [-]
There are very, very few problems at AoC that go beyond the top 10 algos from your textbook an algos and data structures.
Using python already simplifies solutions through an endless stdlib .
Sometimes, in later days, it makes sense to recogise things unsolveable by default tools and go for, say, smt solvers.
Point being, it is not too bad.
slopinthebag 19 hours ago [-]
they learned them on demand, which is not unlike how compsci students learn algorithms, just at a different time.
diego_sandoval 1 days ago [-]
"What man of us has never felt, walking through the twilight or writing down a date from his past, that he has lost something infinite?"
- Jorge Luis Borges
roncesvalles 1 days ago [-]
Nothing is lost. The world is still AI-optional, the old methods are still all there for anyone to use and perfectly valid. Once could even argue that fully "manual" coding is just a point on some Pareto frontier, considering things like theory-building and quality.
But yes, I did also have a brief pang of whatever emotion that quote conveys.
diego_sandoval 1 days ago [-]
> The world is still AI-optional
Not if you want to make a living out of programming.
I love the fact that AI exists and makes us much more productive, but at the same time, I mourn the loss of programming as a career and as a competitive advantage.
qudat 21 hours ago [-]
> makes us much more productive
Citation needed. I think the biggest impact is likely in the startup world where you have finite resources. But in a production or enterprise setting, manually building out systems is still highly valued especially when everyone else is deskilling.
diego_sandoval 18 hours ago [-]
Using AI doesn't imply deskilling in a global sense, only in a local sense.
I find that AI lets me think more about the actual, fundamental problem that I'm trying to solve, instead of wasting time on incidental problems.
Am I deskilling in git and shell scripting? 100% sure. AI 100% solves git and shell scripting for me.
Am I deskilling in systems thinking? Nope. The opposite, actually
Barrin92 17 hours ago [-]
>Not if you want to make a living out of programming.
I'm making a living as a programmer and I haven't used AI a single day of my working life
sph 16 hours ago [-]
Is your company hiring?
Barrin92 16 hours ago [-]
If you're serious, yes. I work in defence in Germany the entire sector is hiring. If you like low level programming, networking, embedded systems etc, democracy and dislike slop it's a good place to look for work
roncesvalles 14 hours ago [-]
Not really. Not even slightly.
neuwirth 1 days ago [-]
I'm doing the puzzles by hand in Haskell this year. Should be fun!
kccqzy 1 days ago [-]
I’ll be doing it in Lean! I finished reading the FP in Lean book https://leanprover.github.io/functional_programming_in_lean/ earlier this year but I already felt rusty with the syntax without using Lean that much. Much of the concepts like functors and monads basically carry over from Haskell.
neuwirth 1 days ago [-]
That's an awesome idea!
neutrinobro 1 days ago [-]
I'm going to do them by hand in nano, using C++ (STL only). Its like going back on the running track in spring after a winter slouching on the couch.
oalders 1 days ago [-]
The 2026 Perl Advent calendar is also online now. It's season 27. This may be the oldest of the code calendars, but I can't actually prove it. https://perladvent.org/2026/
I might update the text on your site to be explicit that the idea is to solve puzzles by thinking aloud, not just to tell Claude "solve this plz."
I like that I can read your transcript. Some feedback:
- Claude is much more verbose in that transcript than I expected. That makes sense in retrospect, since the prompt is about learning. I might want to change the prompt so it structures technical train-of-thought into a proposed solution. Different vibe, though.
- I'm not sure how much knowledge transfer is happening at the beginning; you're clearly (and reasonably!) having some trouble holding all the logic in your head. Personally, this is a case where I find it much easier to have everything written down and see it all at once.
- Claude going into bigO was great! You'd think that it's too much for someone just learning, but in my experience that's actually exactly what you want to hear when you're wrapping your head around programming and algorithms. Without that kind of background, a lot of what you're doing can seem too abstract, or like you're not really able to see what's happening under the hood.
- Why not have Claude show the code? From a learning perspective, that seems like a good feedback loop. Once you get the star, Claude could display the code and then step through it, tying each section back what you described.
- Claude didn't catch that you didn't do the one-sentence statement of the puzzle. Maybe have the initial prompt from Claude be: "read today's puzzle and describe it to me in your own words"?
tito 4 hours ago [-]
Thank you! I made the homepage say that since that's the whole point, "solve puzzles by thinking aloud".
I've edited the prompt to make it even clearer to Claude that I don't it to spoil the surprise of figuring out the answer myself.
Good point about seeing the code at the end, I added that in, will try for Day 2.
Eji1700 1 days ago [-]
Found Uiua a few days ago so I'm taking a stab with that along with my usual F#. Love it simply because hell yeah glyphs + i like the whole "just type the word and it'll figure it out" approach to glyphs.
amarko 1 days ago [-]
I did AoC in Uiua a few years ago! It's a fun language to solve puzzles in.
skydhash 1 days ago [-]
UIUA is nice. I used it a few years ago on some advent of code puzzles. There's an emacs mode that let you type the name of the function and it will reformat it with the glyphs.
I played Opus Magnum a few weeks back and it was the same exact feeling. The glyphs make it seems like dealing with arcane knowledge instead of the calculus feeling of functional programming and the checklist feeling of imperative programming.
pona-a 1 days ago [-]
If you like Minecraft check out Hexcasting. It's a magic mod with a stack programming language that uses runes you draw in the air as syntax.
kleiba2 1 days ago [-]
By the way, the actual Christian Advent 2026 started already two days before December 1st! :)
CobrastanJorji 1 days ago [-]
Because Christmas is pegged to a date (December 25) and the start of Advent of pegged to a day of the week (Sunday), the length of the Advent changes to be somewhere between 22 to 28 days, which makes building reusable, nice wooden boxes full of small toys somewhat challenging. But since it very nearly lines up with December 1, the Germans who originally started making those nice toy boxes have pretty much always started them on that date.
So while Advent did indeed already start, the website is in fact honoring the tradition of Advent Calendars.
kleiba2 14 hours ago [-]
+1! The First of Advent is just another victim of the secularization of Christmas.
jnellis 1 days ago [-]
Splitters!
jordanscales 19 hours ago [-]
Coding agents make this kinda weird. For some it can be a break and an opportunity to do some hand-coding.
I'm taking an alternative approach: I plan on designing a new programming language for each day and having the LLM build the compiler for that language as well as the solution: https://github.com/jdan/advent-2026/tree/main/01-dusty-shed
wodenokoto 14 hours ago [-]
Using agents here is a bit like taking a forklift to the gym to lift weights.
I don’t have an analogy for your idea of building a language each time. Hope you have fun and learn something, though!
jordanscales 8 hours ago [-]
It'd be like designing new forklift factory lines each day with the intention that each can go lift weights for me in unique and silly ways.
I started coding a solution in Visual Studio but didn't turn autocomplete off at first. The first variable name chosen by autocomplete was elves! Seriously, how does it know the problem?
smithcoin 19 hours ago [-]
because of everyone else
bel8 1 days ago [-]
My problem with AOC is the name.
A good part of the challenges require specific knowledge to solve so it wasn't about code but specific algorithms, math, shortcuts to skip brute force, etc.
Ampersander 1 days ago [-]
Algorithms are integral to programming. Algorithms + Data Structures = Programs, as Niklaus Wirth put it in the title of his famous book.
Coming up with the right algorithm is what people usually find the most interesting about programming puzzles.
bel8 1 days ago [-]
For some problems it's not feasible to just "come up" with the required algorithm. Specially the later ones.
Some of them are very specific. You either remember it if you had the chance to stumble upon them during your studies or you research the specific math required to solve it.
Maybe I have the wrong expectation but I would like for all of the challenges to be feasible without heavy math.
You are given a deck of over 119 trillion cards and must shuffle it over 101 trillion times using three specific shuffling rules, then find which card ends up at index 2020.
Simulating the deck in memory is impossible. You need modular arithmetic and maybe linear congruential functions to do it.
In my mind coding and algorithms are one and the same, so I wonder what you had in mind that you think would better fit the title.
ryathal 1 days ago [-]
It is more of a math challenge than a code one I'd say. It's similar to hacker rank in that the outcome is generally binary. You either know the obscure formula or algorithm being hinted at and it's trivial or you don't and it's nearly impossible. It's admittedly harder to implement a coding challenge where you point people more directly to the answer, so I understand why most are like this.
1 days ago [-]
ChrisRR 1 days ago [-]
Advent of programming doesn't have the same ring to it. AOC is fine, it's hardly an issue
floren 1 days ago [-]
I'm trying it in Medley Interlisp this year. Day 1 was a fun combination of remembering various ways Interlisp differs from Common Lisp, and figuring out how to use the structure editor again, and then just working out the actual code.
drakonka 1 days ago [-]
I did the first day this morning and it was so much fun to just treat it like a little mental exercise. I think now that we use more AI for daily coding little quirky puzzle games like these just become even more joyful to do by hand, for fun.
lexoj 1 days ago [-]
I always find it fun… the first few days
brightball 23 hours ago [-]
We've done an Advent of Code contest since 2023 to win tickets to the Carolina Code Conference. AI changed the formula a little bit this year so it's shifted to more of a personal development exercise since I have no way to regulate it.
If you want to flex your brain we'll be giving away 20 tickets this year.
thibsrn 1 days ago [-]
Does anyone have any fun ideas to share to experiment with the problems ? I was thinking of setting peculiar constraints, such as using specific data primitives or systems to solve it. I don't know how it would exactly take shape in practice but something like using solely HTTP, not as a tool to reach an API to solve it, but using the protocol as the computational model itself.
Or maybe using git primitives, fitting the computation using its data representations and functions. Or maybe bitcoin transactions (using a private simulated network obviously). How about going analog ? There must be something in my bookmarks about people using dominos or radio waves to do computation.
terse-broccoli 1 days ago [-]
I tried to complete it in google sheets a couple of years ago with moderate success. Built in functions only, no custom functions or macros.
I don’t think google sheets itself was the limiting factor on solving more of the puzzles (but rather effort). There was something I found uniquely satisfying about working around a constraint like this to solve what probably would have been a single line of python.
mister_mort 1 days ago [-]
One guy on Reddit said he'd be doing it in Godot this year, perhaps creating a custom visualisation.
I'm doing it on an esp32 board this year. Also have been playing with the idea to use a Rust freestanding binary to deploy to bare metal and boot into from the BIOS.
Not too crazy, but still quite challenging and very different from the plain "run the python script" that most people do.
tatjam 1 days ago [-]
Hmm analog could be interesting, but I have a feeling none are solvable unless you essentially make an analog computer, because they are very "digital heavy puzzles". Just the first day essentially requires counting and sorting, which are not exactly analog-friendly tasks.
I got a bit lazy, thought of reaching for AI and it broke my heart.
ManuLinares 20 hours ago [-]
I'm doing it in C3 again this year, I appreciate the work AoC has put into the puzzles and I'm having fun already
kawogi 17 hours ago [-]
I just prepared a Rust-Talk, where we wanted to use AoC #1 as a beginners-friendly excercise.
I started typing: 'struct BestSolutionSoFar {‘ and that Autocomplete suggested: 'entries: [(u64, u64); 3]' which looked suspicuously specific.
So I started to type a comment as test: 'let's help the elves ' and it went ahead and wrote the entire story of day #1. I think it guessed my intention from the crate name alone.
Totally sucked the fun out of it. It's impressive and creepy at the same time.
On the upside: I solved the same challenge for 'no_std' and 'const fn main()‘ and had quite some Schadenfreude, watching the completion fail on almost every line.
wodenokoto 14 hours ago [-]
Someone more clever than me should build a programming language recommender service for AoC.
“I know Python and R” -> “use X and it’ll blow your mind”
bradley13 1 days ago [-]
Funny feeling. I want to code this without AI. But the IDE autocomplete still exists, and is pretty clearly AI driven. Hmmm...
PaulRobinson 1 days ago [-]
AoC is best when you just start with:
[vi|emacs] day1.[py|c|sh|rb|pl...]
Don't use an IDE unless you want to use it to learn your IDE - just use a simple editor, none of the problems need advanced IDEs to solve. Use a language you like, or you want to learn. Don't use AI, unless you're trying to figure out how to build a spec-driven harness from weird and esoteric problem statements.
The point of AoC for me has always been, and always will be (while it exists), to have fun coding. I don't want it to feel like work. I don't want help. I don't want to write a HLD doc, or a spec, or get around a whiteboard unless a bunch of us are going to have fun debating a solution.
It's just me and some code solving a fun little problem, and then another, every day a puzzle gets published.
It's joyous. IDEs rarely add to that.
epiccoleman 1 days ago [-]
Totally agree. I have a few little scripts that generate a template file (so you just fill in part_1 and part_2, and obviously write as many helpers or whatever as you might feel like). Then you also get a little template unit test file that runs the part functions against the input.
It sounds like a lot but it's really simple, and the net effect is you get to just read the problem and go.
oguz-ismail2 1 days ago [-]
Didn't even have to fire up Vi today
sort |
uniq -c |
sort -nr |
{ head -3; tail -3;} |
sed 's/.* //' |
paste -sd'**\n' |
bc
AnyTimeTraveler 11 hours ago [-]
I was already thinking that this sounded like an easy terminal command, but I didn't quite know the syntax to send it into bc. I have to read the man page for paste again.
Thank you for teaching me that you can do { } in the shell! That's so useful, I can't believe I never knew that!
f17428d27584 1 days ago [-]
I turned off AI assisted IDE autocomplete two years ago because it was making too many mistakes. I never turned it back on and just realized how crazy that must seem today.
OptionOfT 1 days ago [-]
I don't like AI assisted auto-complete because it requires judgement. I am thinking of writing something, I type a couple of characters and the AI auto-complete suggests something. I then need to parse it, validate if it is what I wanted to write, and if it isn't, whether it matches the intend of what I wanted to write.
It's like constant roadblocks in my flow.
jezzamon 1 days ago [-]
Yes you should turn that off during advent of code.
Or not, if that's your thing
mrmckizzle 1 days ago [-]
I'd recommend using vim, emacs, or some more vanilla editor. Helps with the focus.
sebtron 1 days ago [-]
Can it be disabled?
rhdunn 1 days ago [-]
If you are using IntelliJ:
- Settings > Tools > AI Assistant > Project Settings
Uncheck the "Enable inline completion using language models"
Or set "Provider" to "None" and optionally uncheck "Use local model".
sevenzero 1 days ago [-]
Yes
win311fwg 1 days ago [-]
Advent of Coding Tools 2026.
caxco93 1 days ago [-]
just do it on the browser console
mrbnprck 1 days ago [-]
by now even browser consoles have AI integrations
asimovDev 1 days ago [-]
Back to basics
~ # vim main.c
:-)
Ampersander 1 days ago [-]
Starting out with C++ this year, trying to use some stuff I don't normally use, like ranges.
zodwick 17 hours ago [-]
I started programming when I was 16. As a kid who was always fascinated by technology, software was the most accessible form of engineering available. I owe a lot of how my life has shaped up to being good at this skill.
Software has traditionally been hard and rapidly changing, which made it an economically lucrative skill to have. It is quite apparent now that AI is commoditising this skill. A good comparison is tailoring in the early 20th century, which shifted from a high-skilled craft to a mass-produced, low-margin commodity due to rapid industrialisation. There are more clothes being produced today at a higher quality and lower cost than ever before, yet “tailoring” as a skill has little to no economic value, and hence we have fewer tailors.
This is a convoluted way of saying money flows to bottlenecks and it is rapidly flowing away from writing code by hand. There will be more innovations and hence more value created by AI - but it will not be owned by people writing code.
That being said, like in the case of tailoring, there will still be a few passionate hobbyists who enjoy the bespoke art.
DuncanCoffee 1 days ago [-]
I´d like to learn a new language but for now I'll stick to kotlin, I disabled my IDE hints, so I'm forced to go online and read the documentation everytime I can't remember how to use something. I'm also trying to solve everything with a one or two-liner.
Anyway the first problems are always easy, the second day this time is a bit too easy, since it's basically the opposite of the first day: calculating a maximum becomes calculating a minimum, and it just required flipping two conditions on my code.
Advent of Code is, by far, my favorite way of learning languages. In 3 year streak so far, I've learnt Rust, Haskell, Typescript, and Hardcaml. This year, I'm hoping to learn Zig, and at least one esoteric language.
thr1owaway9621 22 hours ago [-]
Looking forward to day 2!
Day 1 gave me an opportunity to play with Python's `collections.Counter`, turns out it has a `.most_common()` method that you can use to return most frequent elements. Neat!
atonse 1 days ago [-]
Wow. The code I wrote for this (did it in elixir) was the first time I've actually written code in probably a year? My syntax was so rusty from not closing parentheses, etc.
But that actually was fun.
ptmvp 2 days ago [-]
I'm not anti-AI but it does feel a bit hollow and sad, sign of the times, I even wondered for a moment if it still makes sense for adventofcode to continue existing.
But I actually think it can play an important role in two ways. First, as a reminder, specially to less technical people like myself, of the challenges and complexity involved in what we now take for granted.
Second, as a (re)spark of passion. People still journal with pen and paper, solve jigsaw puzzles, play solved games like tic-tac-toe with each other and paint portraits that will never match the "quality" of a digital photograph, and those activities are almost universally regarded as healthy and even romanticised a bit.
Maybe now that advent of code no longer works as much of an employability signal it can actually be purer, even if it's a bit sad that we won't ever again have the healthy and impressive (to me at least!) competitiveness of the pre-LLM days.
flexagoon 1 days ago [-]
Has AOC ever been an employability signal??? To me it was always just a fun way to intellectually challenge myself. The people who wanted an employability signal just went to leetcode.
hrunt 1 days ago [-]
> Has AOC ever been an employability signal??? To me it was always just a fun way to intellectually challenge myself.
To me, intellectually challenging oneself is itself an employability signal. Not a requirement and not a guarantee, but a signal. When I hired for such roles, I would ask candidates if they had ever participated in Advent of Code, and if the answer was yes, that led down a whole other line of questioning around favorite problems, toughest problems, learning, etc.
swat535 1 days ago [-]
Interesting, we've done the opposite.
We now look for candidates who practice a healthy work/life balance. We've found that our engineers are productive when they allocate time to their families and hobbies. While we don't penalize anyone for personal software projects or hackathons, we don't attribute much weight to them.
Another thing we've done is simplifying the interview process. We used to have 3 rounds, now there's a culture interview and a single engineering interview of about 2 hours. During the engineering interview, we ask people to review some code and collaborate with refactoring / feature expansion of a fictional project.
I'm not sure how scalable this is, but it has served us well so far.
pjmlp 1 days ago [-]
That is the way, not everyone can afford to keep coding after work, when having a family and other responsibilities.
menaerus 1 days ago [-]
Sounds like a highly biased practice but I understand why. I always preferred talking about the problems I solved at work rather than having to spend my free time solving puzzles on the side.
ChrisRR 1 days ago [-]
Why does it make a difference? People enjoy solving puzzles and challenges, and they will continue to.
If they want to waste their time putting claude to the task and having an answer in 30s, then that's their decision. It has no effect on people who want to undertake the challenge manually
thibsrn 1 days ago [-]
This seems to me like asking if pencils and pens should still exist and be used to write and draw when inkjet printers exist.
materielle 1 days ago [-]
I think there’s a lot of utilitarian type devs who are genuinely hurt that their skills aren’t as useful anymore.
I definitely feel bad for them, but maybe it’s time to revisit the utilitarian part.
I’m still doing advent of code by hand. But I also do a lot of baking, knitting, weaving, etc. I don’t see how hand coding is any more hollow than, say, knitting.
rzmmm 1 days ago [-]
Competitive programming and programming puzzles like this has not changed much. Cheating has always been possible, but arguably in AoC cheating is now easier than ever.
cliche 1 days ago [-]
Always viewed AOC an opportunity to challenge myself and learn stuff I wouldn’t have otherwise.
I don’t think LLMs change much in this regard. Though this year I’ll likely be using an LLM after finishing a solution to go deeper on the problems and algorithms to extend my learning.
It’s going to be really interesting to see the approaches and techniques of winning solutions with LLM assistance.
More excited for it this year than I was last tbh.
Sol- 1 days ago [-]
Doesn't really make a difference to me. It was always about solving puzzles yourself and is perhaps even more necessary than ever in days when we all vibe engineer for a living.
roncesvalles 1 days ago [-]
I feel like programmers are "over-demoralized" because of LLMs.
I still think it's important to know how to code. I still think a better programmer produces better software. I still think solving logic puzzles is good fun and good exercise for the brain, for which code is simply an expression medium.
If your instinctual reaction to Advent of Code this year is "what's the point?", you need to do a good hard think about why you feel this way, what got you excited in previous years, and whether your current reaction is well-calibrated to reality.
altbdoor 1 days ago [-]
Agreed. If they wanna oneshot the solutions, then by all means.
Don't let that take away the joy of self discovering solutions, or learning better algorithms/logic.
I myself cannot finish all the days, but its a very good learning experience, by self, aided by AI, or reading other developers solution.
matsemann 1 days ago [-]
Why so judgemental?
Lots of the fun for me was solving the puzzles and then discussing them with others.
Less people doing them means it's less fun. The people doing them just reiterating what their LLMs said makes it less fun.
emkoemko 1 days ago [-]
i used to get excited to learn something new...and AOC was really fun, but with LLM's i just feel like there is no point anymore, started getting it art now
krapp 1 days ago [-]
Advent of Code is supposed to be fun but the majority of participants will just use an AI. They won't even consider doing it themselves. Hacker culture has become entirely incurious and only focused on offloading the burden of skill and intellect for the sake of maximizing productivity. Yet another aspect of hacker culture reduced to an exercise in demonstrating the capabilities of LLMs, entirely stripped of the value of its humanity.
I think programmers are the proper level of demoralized. As are artists, musicians, writers and everyone else for whom human expression still means something.
tarsierscripter 1 days ago [-]
Advent of Code is meant to be an advent calendar of programming puzzles. Nothing says you need to worry about what others are doing on there. If the puzzles are fun for you then solve them in whatever way you want.
Where you run into trouble is by visiting the leader boards and thinking about it as a contest. I did that my first time around and it ruined things for me. Now I realize that the whole format is not a great competition for typical programmers, since all the leaders wait for the exact instant each problem is released and then scramble to solve it within a minute or two.
That’s led me to dismiss the whole competitive angle and think about it more as a solo experience, which honestly fits the theme of advent calendar much better!
augment_me 1 days ago [-]
Do you tell 100m runners to just go run alone, if they love it they should run?
Like the purpose of many competitions is the social aspect and comparison. At my old job we used to do the advent non-competitively on our time, talk about the trick parts and the social value from that was beyond the coding.
You could say "hey you could still do that", but the issue is that you then need a majority of people taking the hard way and spending time on something that could be achieved in much less time, this is an activity that did not "define" most people but still brought them together because it was the only way to do something before the models
tarsierscripter 1 days ago [-]
I dunno about 100m sprinters, but distance running is a solo hobby practiced by millions.
I’ve done the advent of code solo every time I’ve participated. I didn’t talk to anyone about it. Never felt the need.
If the social element of it is important to you, then fine. But I’m saying it’s not fundamentally a multiplayer activity, because I’ve enjoyed it just fine solo.
I should also point out that you don’t need to be a working programmer to participate. I am not one, yet I still enjoy programming as a recreational activity. The pressure to use an LLM is purely an economic one.
Look at it this way: the automobile replaced the horse in the vast majority of everyday uses. Everyone is under economic pressure to use automobiles (private or public transit) to get around in their daily lives. But if you are a person who enjoys horseback riding, I’m not gonna tell you to take a Jeep out onto the horse trails instead. Nor am I going to insist that you go riding in a group with other people. Riding can be enjoyed as a solo activity, just you and the horse.
augment_me 23 hours ago [-]
I understand and agree with you. For me the distinction was that it was a social activity that was born out of being done a certain was at a certain time.
It's like if 80% of the church congregation stopped showing up because they have Jesus through ChatGPT or something more efficiently. Sure the 20% is still there and will still like it, but for many a part of the fun was the pluralism of discussing solutions which then cross-pollinated into ideas and other adjacent things beyond AoC.
I enjoy solo running, and solo coding on AoC, every year I challenge myself with a new language. But it's just 1 less social thing to do share at work.
matsemann 8 hours ago [-]
Spot on. The social aspect was important. The fact that AI is speedbulldozing talking to people in many hobbies and variants is scary.
ctenb 1 days ago [-]
> but the majority of participants will just use an AI
Almost certainly not, because there is no point in doing so. Solving AoC quickly with AI will not get you anything. You would just do the same boring thing you are already doing at work, but unpaid. It's like buying a sudoku puzzle book, only to solve all the puzzles with a sudoku solver. I makes no sense to spend the time and the tokens, as there is no reward in getting the answer itself.
flexagoon 1 days ago [-]
> Almost certainly not, because there is no point in doing so.
You'd think so, but people also use AI agents to manage fantasy football teams, which is an entirely optional activity which only makes sense to do if you like doing it yourself. I'm sure there will be a lot of people solving AoC with AI for some weird reason.
ungovernableCat 1 days ago [-]
They could have also just solved it by polling public repos of solutions and copy pasting as their own.
Was already possible well before AI.
I can understand why AI kills the competitive part of AOC but if you do it the way you’d do a weekly crossword, a fun intellectual toy problem to solve then I see nothing different.
Hell you could use AI to have fun with it, you use your own code for the actual puzzle but use AI to visualise the problem for example or make an animation of your own code doing the work, seeing how it compares to super optimised solutions etc
dinkumthinkum 6 hours ago [-]
Are people actually using their paid subscriptions for this? Shouldn't they being using every single ounce of their compute to prevent from being part of the permanent underclass? Are they destroying their future by wasting their tokens? Oh, no.
Ampersander 1 days ago [-]
Yeah, I kind of don't see how the world has changed for the programming advent calendar.
On the other hand, the top comment here mentions AoC supposedly having been an "employability signal". Reading this forum these days, it does occur to me that I might have severely overestimated the share of programmers that like and enjoy programming. Maybe everyone really hated programming and only pretended to like it for economic advantage.
Fortunately, HN posters are not actually a representative sample of working programmers.
TiredOfLife 1 days ago [-]
First and last time I tried Advent of Code was in 2023. And while the first couple of days were fine for self taught programmer the rest of them required knowledge of specific algorithms to have the task finish in reasonable time or to even be possible at all.
shmolyneaux 1 days ago [-]
I was tempted to use a new language for this, but `collections.Counter` in Python was just too tempting. I haven't done AoC for several years, but the writing here is really good.
efficax 1 days ago [-]
I haven't written any code since early this year when my company went all in on LLMs and I became obsessed to see what I could do with them. This should be good to do the old fashioned way to get my brain back on its axis
yerik 1 days ago [-]
First day, so far quite fun. Decided to do this one entirely in the terminal, without writing code. Was a bit rusty on some commands but managed to get it pretty fast
ozyschmozy 1 days ago [-]
I do aoc in a different language each year. Was trying to decide what to use this year, this inspired me to do zsh. Will probably be the hardest year yet for me...
bhaak 1 days ago [-]
Me too. I had to look up the awk syntax for multiplying.
But I have almost never used awk, so don't blame it on AI brainrot! :)
LanceH 1 days ago [-]
I both love and hate Advent of Code.
I just can't resist the leaderboards, which means pulling the problems as soon as they are available.
This leads me to trying to perform maximally at 11pm, which leads me to not being able to sleep until my mind is less active.
Now I just have to wait until the whole thing is over and do the month all at once, with no competition.
My personal relationship with it aside, I love that it exists.
Picking up a competitive challenge at 11pm just wasn't working for me, but the actual competition was fun.
pyreko 1 days ago [-]
There aren't public leaderboards since last year.
1 days ago [-]
openingai 1 days ago [-]
Nice. I remember trying a couple problems once but this will be my first time completing the entire series. Very excited!
jgoewert 1 days ago [-]
Love AOC. It helped me flesh out learning all the ins and outs of Python over the years.
Today was great because I could use a python library for the busywork and the [-1] feature of list traversal.
Do all the negative people in the thread here and reddit also just take a picture of the Sudoku puzzle in their newspaper and as Grok to solve?
random_cat_8745 1 days ago [-]
Will pick this up to code without AI like good old times!
On a satirical side note, someone should release an Advent of Vibe Code, featuring, but not limited to:
- one-shot a new operating system kernel
- rewrite a bank's system in Rust
- build a spreadsheet where every cell is an autonomous agent
makerofthings 1 days ago [-]
I love AoC. It's a shame the sloppers killed the global leaderboard, but we still have a nice competition going in the office.
bitbasher 1 days ago [-]
> To play, please identify yourself via one of these services: [GitHub] [Google] [Twitter] [Reddit]
So, I can't play then?
mister_mort 1 days ago [-]
It's just the guy offloading the login logic to bigger providers.
Github is free and you'll probably need an account with them at some point, so why not register there?
1 days ago [-]
Abishek_Muthian 1 days ago [-]
I guess they want the account for leaderboard, they need to have option for those who don't need to be on the leaderboard but want to play.
s3graham 1 days ago [-]
You can still see the problems and _do programming_ without signing in, so I'm not sure what you're being Grinch-y about.
bscphil 1 days ago [-]
Unless I'm missing something, you can't see the full problem unless you sign in. E.g. for the first problem, the "input" list isn't visible to me.
moebrowne 1 days ago [-]
But you can't see the answers to know if you solved it.
criddell 1 days ago [-]
If signing up is really too much of a hurdle, ask an AI to check your answer.
bitbasher 1 days ago [-]
There are multiple problems each day and you can't get the other half until you solve the first part. Which means you need an account unless you rely on people uploading the problems/solutions somewhere else.
Signing up isn't hard-- it's forcing people to sign up to "big company X" that is messed up. If you want me to sign up, let me choose a username/password.
Heck-- if it's not a big deal, you could create a public account usable by anyone for simply submitting answers, etc.
criddell 1 days ago [-]
It's not messed up.
bitbasher 1 days ago [-]
Just because something is normalized doesn’t mean it isn’t messed up.
1 days ago [-]
orphea 1 days ago [-]
If only there was a way to create a temporary account... hmm...
ah27182 1 days ago [-]
Everyone’s complaining about using AI and here I am feeling bad that I used the Duckdb CLI
GuB-42 1 days ago [-]
This whole thread feel like:
Guy posts a bunch of interesting chess puzzles
Here: Let's see what Stockfish can do
Of course you can use AI to solve the Advent of Code, but what's the point? That's not even a clever hack, it is the obvious thing, and there is no global leaderboard anymore, so you won't gain anything by doing that.
Maybe if you are a complete noob in AI coding and want to try it out, or maybe you want to challenge yourself with tiny models, but otherwise, wasting Claude tokens on it seem a bit childish.
rubikscube09 1 days ago [-]
Well, I'm sure when chess computers first came out people behaved the same way.
florentmsl 8 hours ago [-]
I surely wrote less than 100 LoC this year. I'll for sure use AoC to have some fun with coding again. Coding itself has definitely lost it's economical value, it is what it is
larodi 1 days ago [-]
there are plenty of sponsors here https://adventofcode.com/2026/sponsors. what are they actually sponsoring and why advent of code needs sponsors to begin with?
maxhille 1 days ago [-]
The guy who makes it also deserves food and health care I'd say.
BTW you can become a sponsor, too.
MattPerry 1 days ago [-]
AOC needs sponsors as the web server(s) get hammered
larodi 24 hours ago [-]
Well there are see some seeeerious names on the list, besides a CF pages deployment is more than enough for this kind of web page, what servers are we talking here. He’s definitely not serving free inference to the world.
Besides, this very much seems a side hustle for the author. I really don’t get it why he even needs the sponsors. And what precisely are they sponsoring here.
A patreon, given the size of the project, is perhaps more than enough to cover all expenses. But then listing JPMorgan, Citadel and Jane Street as sponsor to a coding advent calendar is surely a statement. And also very good sponsorship package perhaps. One thing I know about such donors is they would not bother with small packages.
sparkilyshpark 14 hours ago [-]
make themselves known to puzzle solvers, potentionally gaining them some cool employees down the road
larodi 8 hours ago [-]
sure about that, but my question was targeted at why the author needs the sponsors, not why the sponsors find it reasonable to be listed on such site. my guess is this list of sponsors easily provides $50-$100k in benefits.
profunctor 1 days ago [-]
Looking forward to some manual coding!
worble 1 days ago [-]
Yes yes we get it no-one here writes code anymore. You don't need to comment that in every single thread because it adds nothing to the dicussion.
streetfighter64 1 days ago [-]
Not to be a negative nancy or anything but every time I read advent of code threads I'm horrified at the level of programming knowledge amongst "techies". I consider myself a fairly mediocre programmer, but when I see how people talk about the "challenge" of finding the three most common elements in a list, I understand why the hiring process at many companies looks like it does.
( I enjoy AoC a lot, but the first week is really just an exercise in typing speed. Or perhaps warm-up on the language if you're using one you haven't used before. )
jackb4040 1 days ago [-]
The day 1 challenge is very similar to my current company's live coding interview question, which is by far the easiest coding interview I've ever interacted with. It's been shocking to experience first-hand how rare it is for someone to pass.
arc-in-space 1 days ago [-]
Feeling the same, and I hate how arrogant this thought is but every year I'm shocked how many supposedly professional programmers struggle with the middle or even early days, and I used to think of the first 60-70% of an AoC as fairly beginner level stuff. No wonder AI coding caught on so quickly even when it was still complete shit.
streetfighter64 23 hours ago [-]
It's definitely an eye opener. Encouraging on a personal level but definitely discouraging for the craft at large. But I suppose given the state of programmers, it's less surprising when we look at the state of software.
The curious thing is, are other professions distributed in such a "long tail" way? Like, being of average (mean) skill, puts you significantly above the 50th percentile.
Perhaps if I knew more about construction or economics or something I'd notice it there too. Perhaps one has to be above the mean in skill in any given field to notice it?
rootnod3 7 hours ago [-]
God this thread is depressing. The amount of people that had to go look up how to sort a list on stack overflow (which is dead now thanks to AI) or people that didn’t know how to code without auto completion or an assistant….
I can only hope it works as a wake-up call, especially if you are supposedly a “senior engineer” or in any role “reviewing the AI slop”.
And if you use AI for these challenges…don’t bother. The leaderboard is gone. These are puzzles for people that care and love the craft.
enjoyyourlife 1 days ago [-]
Will do it in TypeScript since there are still interviewers that ask me to hand code in TypeScript
poulpy123 2 days ago [-]
I totally forgot about this, and I see no one speaking about it online. It seems that AI killed any interest in AoC (not that I was able to do it anyway)
npn 1 days ago [-]
More like that z3 problem killed the interest.
Before then you can solve all the problems using the standard libraries of the common languages, but for that problem you had to use some specific tools, which make many of us feel disappointed.
sebtron 1 days ago [-]
It was not necessary to use any external libraries. I did not know about this Z3 and managed to solve it with linear algebra [1]. It was not the first time I had to implement a linear system solver to solve and Advent of Code problem [2]. Rather than specific tools it required specific knowledge, but that was not unique to this problem.
Which one was that? You've never needed z3 to solve a problem (though if it's in your bag of tricks it can come in handy).
Thorentis 23 hours ago [-]
Being reminded of AoC fills me with what can only be described as something hauntological[1]. It is sad mix of nostalgia, the lost future I'll never have as somebody mastering their craft as a coder, a lament of the current state of the world and the "cheapness" of find solutions to interesting intellectual problems. The future is bleak.
Why does this needs sponsors? Sony, JP Morgan Chase, Citadel Securities...
tgv 1 days ago [-]
It's really a lot of work to set up. Each participant gets a unique data set per problem, and they all must be verified against your answer. That's a lot of work, a lot of code, and a lot of runtime.
pyreko 1 days ago [-]
Infra for the servers? Creator has talked about how they get especially hammered on problem drop.
Jackobrien 1 days ago [-]
We are BACK
saisundar 2 days ago [-]
About to dive in, writing code with my hand like a caveman.
mister_mort 2 days ago [-]
Tools get rusty without use, and my brain is my best tool.
neuwirth 2 days ago [-]
Right? I'm looking forward to this return to the good old days.
MisterMunchkin 1 days ago [-]
On the one hand AI makes it obsolete, but on the other hand, we could have much cooler competitions.
Instead of asking people to solve a simple puzzle, you could ask them to implement the best object storage system, or the best compression algorithm. We could get some way more interesting competitions out of it.
Yajirobe 1 days ago [-]
In what way is it made obsolete? I don’t think it was ever meant to be solved with AI
wmoxam 1 days ago [-]
Just like jogging was made 'obsolete' by the automobile
1 days ago [-]
dinkumthinkum 6 hours ago [-]
I mean, you can literally just go make that thing. You can even post it to HN and see how it fares in the free market of ideas.
pelagicAustral 1 days ago [-]
I wonder if it counts as cheating if I asked Claude to turn the input into a temp-table so I could query it... Would that count as AI assisted Advent?
1 days ago [-]
AnyTimeTraveler 11 hours ago [-]
Of course it does. You used an LLM to get from the input to the solution.
It would have been soo simple to load this files as csv, since it's only one element per line, it is valid csv without any commas.
Then you could have used the csv import feature of whatever database you wanted to use.
desireco42 1 days ago [-]
Great that leaderboard is gone, it was crazy how many people did amazing work, really made me depressed, I literally didn't even start working on it, and there were already reddit threads about problem and everything.
I will post solutions, but few days after. I use AoC to tweak and test my language features and to discover places how to make it more pleasant to use.
If you want something fun to do, try Zhex for your AoC adventure this year. It is pleasant to look at, compiles to Wasm and is fairly performant, a little slower then Go.
mrheosuper 18 hours ago [-]
First time hearing this event, is this leetcode with extra step?
chilicuil 1 days ago [-]
what's is this? , it doesn't render ok in mobile (iphone)
MattCruikshank 1 days ago [-]
So wait, I'm supposed to... type... code?
I should turn off Intellisense...
Or just use Notepad++ or something... Like a cave-person...
joshmoody24 21 hours ago [-]
Day 1 is insane, huh? After 2 hours of performance optimization, I’ve gotten it down to 30 seconds and 1 GB of memory...
I just did both parts of day 1 in PHP. Felt like I was dumpster diving, I loved it!
aaronblomberg 1 days ago [-]
thanks for sharing! reminds me of old BBS games
sph 1 days ago [-]
What a pathetic comment section. It’s like being among a group of addicts.
dinkumthinkum 6 hours ago [-]
It feels like like a normie hellhole.
ArcHound 1 days ago [-]
If you substitute AI with cocaine, you'll get funny/horrifying/mostly equivalent statements.
All my co-workers use cocaine to get through their workload faster, I should learn how to use it too!
My boss has tried cocaine and now he thinks he can do everything so he fired the team.
Etc...
CobrastanJorji 1 days ago [-]
I should warn you about the long term health risks of hanging out with mostly addicts.
sph 17 hours ago [-]
No, I’m here to experience shadenfreude, to enjoy the self-destruction of software engineering.
Aldipower 1 days ago [-]
"Advent aus Kot" more likely this year.
sevenzero 1 days ago [-]
Advent of Claude
irishcoffee 1 days ago [-]
I didn't even "program" anything for the first day, 2 really dead simple bash one-liners and a calculator, which I did not need a model to generate for me. The one-liners could probably get gussied up to do the math for me as well, but I didn't see the point.
jomar 1 days ago [-]
Gussying up the shell one-liner to do the multiplication looked like this in my script:
(oneliner; echo '**p') | dc
Too easy!
irishcoffee 23 hours ago [-]
Nah it was sort and wc and head, the math bit would have used awk
The AI labs always need more training data, and that dataset has good value:
- the same problem with multiple solutions in various languages
- authors are linked to leaderboard
busssard 1 days ago [-]
i am sad its only with signup...
baalimago 1 days ago [-]
"Claude, solve the first task"
dude250711 1 days ago [-]
"Claude, describe the feeling I would have once done with the entire thing.
Approximate any learnings along the way in a tight blurb."
Buttons840 2 days ago [-]
I was disappointed at how little attention this is getting, but, for the record, it's just a countdown at this point. The actual coding challenge hasn't been revealed yet.
breakingcups 1 days ago [-]
It has now
allthetime 1 days ago [-]
Finding it kinda sad how this is entire comment feed is just about AI and de-skilling and has many people questioning why anyone would bother to do this all by hand.
I’d like to take a moment to imagine what the conversation would have been like in 2020. Discussing the actual content.
NoboruWataya 1 days ago [-]
I also find it funny that "by hand" now means coding. In days of yore, when coding was the obvious way to approach these problems, I would have assumed "by hand" meant figuring out the solution with a pen and paper.
esikich 1 days ago [-]
In 2023 the conversation was "LLMs are incapable of doing this" vs "I just used an LLM to do this". Now it's not even a question. Fastest I've ever seen new tech move.
Marazan 11 hours ago [-]
2023 already had a "Don't just feed these puzzles into a LLM that's not the point" disclaimer
Striving7340 4 hours ago [-]
Easy to move fast when there's trillions behind it
streetfighter64 1 days ago [-]
Well I mean so far it's just a warmup exercise. How deep of a discussion can you have about finding the three most common numbers in a list?
I agree that AI is too heavily discussed though. Before I think we'd have seen more discussion about the language people decided to pick up for the year, or such.
On that point, does anybody have an interesting setup? Previous years I tried to use something unusual as many days as I could, like SQL only or assembler or Prolog or something from the APL family. Usually would end up with a regular old procedural language in the later days though.
alexfoo 1 days ago [-]
> Well I mean so far it's just a warmup exercise. How deep of a discussion can you have about finding the three most common numbers in a list?
It can go surprisingly deep if you add some constraints.
How would you solve this if the input was always small (i.e. somewhere around 20 lines)?
Could you make your solution much simpler if you just had to find the single most common number in a list?
How would your solution change if you had to find the n most common numbers in the list?
How would you solve this if you had finite memory which meant you could only hold a given number of the unique numbers in memory?
a) With no local/disk storage, but the ability to rewind and reprocess the file as many times as you like.
b) With access to local/disk storage large enough to store a file or files with total size around the original input file size.
How would you solve this if you had to process the file as an input stream (i.e. you can't rewind or replay it) and output the answer every n input values? (But there are no memory constraints.)
...
All of the above have different nuances which mean what works for one does not work for another, or is complete overkill, etc.
allthetime 1 days ago [-]
I'm gonna try to solve everything inside a game engine using ECS patterns.
streetfighter64 22 hours ago [-]
Hm, that is pretty interesting, though I don't fully get it.
In the Day 1 case, would the entities be the numbers and the component be their count?
bakugo 1 days ago [-]
This applies to most posts on the site now. The majority of current HN users see every topic through a "how can I make this about AI" lens. Or maybe it's all bots, who knows.
Spending half an hour reading through insightful comments on a topic you wanted to know more about used to feel like an educational and intellectually engaging activity. Now that half the comments are some variation of "I just used AI to do this", though, not so much.
dinkumthinkum 5 hours ago [-]
Just consider how many people came to this field from their parents saying there is money in tech or Bloomberg and Obama saying "learn to code" or ZIRP hiring. There are a lot now that entered and are just not real ones. There are old heads too that have succumbed to the psychosis or just super AI-pilled.
sevenzero 1 days ago [-]
People on here regularly let their last 2 braincells fight each other.
12345hn6789 23 hours ago [-]
I'll bite. Youre on a forum full of engineers who their entirely lively hood is currently under attack by AI coding solutions you can purchase online for pennies on the dollar of previous labor. In the vast majority of software cases, the programming portion is no longer a problem. You can pay many(!) providers today and get answers to your software without knowing much at all about traditional programming. This has led to an emotional time. Is our career over? Likely not, but the fact of the matter is that software engineering has changed and will never go back to "hand coding" as it previously was.
So frankly, what are you looking for? This is a thread about boomer coding academic problems. The easy blackpill response is to say "what is the point?". opus 5.5 can oneshot the answer for all 12 of last years problems in literal minutes.
I am responding as someone who has done AoC for 7 years now. I realize some have their full star boards but I am no noob. This is just the state of our industry and you begging the question and not addressing the elephant in the room is odd. People are not happy about their job security.
allthetime 20 hours ago [-]
I thought that went without saying, and I'm not sure how it's relevant. This isn't work, and "what is the point?" has always been a valid question about coding challenges for people who only care about work. The point is to practice and exercise and learn, and that is what would be nice to discuss. In today's world there's an added point which is to get a few fleeting moments away from prompting and code generation and bask in the nostalgia of using our brains.
jakswa 1 days ago [-]
[dead]
oblo_mov 1 days ago [-]
Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.
app17 1 days ago [-]
Joke apart, could be a good opportunity to try running this on a local LLM and learn about their limits. An Opus 5.5 can certainly solve them all quickly, but a smaller one may need a bit more nudging.
"If you want practice prompting an AI, there are almost certainly better exercises elsewhere designed with that in mind."
shikon7 1 days ago [-]
But isn't the appeal of that to solve puzzles that were not designed with AI in mind? After all, neither are real world problems.
nielstw 1 days ago [-]
We built one for exactly that: https://adventofai.techwolf.ai/ (disclaimer: I work at TechWolf). It has daily puzzles designed to be solved by you plus an agent!
ozgung 1 days ago [-]
This looks very interesting. You should sumbit it to hn.
>
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?
What a strange analogy. AoC is delightful and fun. He might as well have used the dentist!
Oh well, different tastes I suppose :)
shikon7 1 days ago [-]
No, but I would expect to become more convincing at sending people to the gym.
mackeye 1 days ago [-]
well, so is the gym :>
zdragnar 1 days ago [-]
I know some would consider it fun, but I don't think I've heard anyone describe the gym as delightful, except perhaps for college boys getting a fix of staring at yoga pants.
jenniferhooley 1 days ago [-]
What an odd perspective, plenty of people really enjoy going to the gym and pushing their physical limits, getting stronger, achieving a new PR, etc.
zdragnar 1 days ago [-]
Like I said, I know some people consider it fun. Perhaps I just have a different mental association with "delightful"- the association with that word is really all I'm picking on here.
brlewis 1 days ago [-]
Picture a rock-climbing gym and maybe "delightful" will read better.
samus 1 days ago [-]
At the end of the day the delight is not about the experience at the gym, but the health benefits, and how regular moderate physical activity improves mood. Everybody should work on building and maintaining a healthy, balanced amount of muscle mass since it sure doesn't get easier the older one gets, and it helps one live longer and with more quality of life.
Granted, it's possible to do it at home, but for a lot of people the cost of a monthly subscription is a good motivator.
UncleOxidant 1 days ago [-]
And plenty of people don't. I'd show up at the corporate gym whenever they bribed us with some kind of insurance discount if we went 3x. But I always found it awkward and unpleasant. I think this isn't an isolated, 'odd' perspective. A lot of us hated PE in HS and the gym gives us flashbacks.
> achieving a new PR
I'm guessing this isn't 'pull-request'?
LordDragonfang 1 days ago [-]
> I think this isn't an isolated, 'odd' perspective.
Eh, not completely, but it's certainly not as universal as GP implies; Hacker News is a filter bubble that selects against the kind of person who would enjoy it.
More to the point, enjoying the gym is an extremely common hobby, as these things go; Our hobby of enjoying tinkering with tech is the isolated, 'odd' one in comparison (Claude estimates it's at least 5-to-1)
andai 7 hours ago [-]
This reminds me of something funny I heard from a gym coach. He said some people think they're super disciplined because they go to the gym every day. But actually, most of those people just really like going to the gym.
There seems to be a lot of natural variation there.
In my case, I've noticed that on microdosing, my desire to exert physical effort is enormous, whereas while sober, my desire to avoid it is enormous.
somethingAlex 1 days ago [-]
I find the gym delightful. Perhaps not Bulgarian split squats but other than that I love it.
joebo 1 days ago [-]
Is there such a thing as token golf (like code golf)? That could be a fun challenge especially with a small localllm with temperature of 0 to make it more verifiable.
davropser99 1 days ago [-]
Isn't code golf itself mostly agents now?
hermannj314 1 days ago [-]
That is actually a great idea, I have a DGX Spark and I need some practice in making Qwen3.8-27B meet even my low expectations of it for coding.
app17 1 days ago [-]
27b is great, you can also try inkling 2 mini. From my testing, they are comparable, but inkling MoE is faster on the spark. Shameless plug to my project if you want an easy way in https://github.com/dotcoreai/dotcore
QuantumNomad_ 1 days ago [-]
I have a machine with 4 GPUs. 16 GB VRAM each, for a total of 64 GB VRAM. Is your tool able to put multi-GPU machines to good use? And to bring out the most capability of such hardware setups?
app17 1 days ago [-]
Not yet. We tackled the single accelerator use case for now, but it's definitely on the roadmap.
chicagobuss 1 days ago [-]
Can I ask what kind of motherboard?
QuantumNomad_ 1 days ago [-]
It’s a Dell PowerEdge R730 server. I don’t have the name of the mobo at hand, but the datasheet for the R730 says it’s based on the Intel C610 series chipset.
If you have a Spark you're missing out not running QFN!
speedgoose 1 days ago [-]
Qwen3.8 Flash Next?
jakswa 1 days ago [-]
yes, it's IMO the best qwen brain out that has a chance to fit on ~100GB total memory (VRAM + RAM). I've run it both in Q2 and Q3 and find it impressive. But I hate its prose. I've switched to inkling 2 mini and am seeing what I can get done with it.
I never thought I'd see people mindfully wanting to practice using underpowered models. Somewhat funnily, it would look closest to a writing workshop. Ex. imagine multiple people write a prompt then compare results. Except it's you iterating on previous results.
frantathefranta 1 days ago [-]
I'm a heavy user of 3.8-27B but never really done Advent of Code past the 1st or 2nd day. I feel like with unlimited usage it will figure out all of the challenges.
I was about to point some agent at this response and ask it to reply with some sarcastic answer, but all things considered it would take me just as much time and attention and would drain all the joy of sarcasm away.
oblo_mov 1 days ago [-]
In another world our respective agents could have had a battle of wits. Maybe it was never about the agents. Maybe it was always about us, arguing with strangers on the interweb.
10111001 1 days ago [-]
> In another world our respective agents could have had a battle of wits.
That world is now. Wits, a form of intelligence, is for machines.
> Maybe it was never about the agents. Maybe it was always about us, arguing with strangers on the interweb.
It won't always be about us. Why do anything that can be automated? Just have an agent do it so you can spend more time mindlessly watch TikTok, as you were always meant to do.
Anyway, it will soon be pointless. Even if you try you'll probably just be arguing with someone's agent.
In the future there will be two distances between people: right in front of you and infinitely far away.
Phlogistique 1 days ago [-]
> right in front of you
Wait till you hear about Meta glasses
vitorfblima 1 days ago [-]
It's not about the destination, it's about the friends our agents make along the way.
rlt 1 days ago [-]
Maybe he pointed his HN-commenting agent at HN.
WJW 1 days ago [-]
Probably not, since AoC only has 12 days of coding since last year. EDIT: Unless your coding agent is exceptionally slow of course, and takes two days per problem.
oblo_mov 1 days ago [-]
Not burning tokens on ultrafast for this.
phkahler 1 days ago [-]
I was going to suggest this. It would be great to let all the different agents to all 24 days. Then humans (and agents) can assess the code quality from each agent.
vismit2000 1 days ago [-]
12 days now since last year :)
wkjagt 1 days ago [-]
It's a he?
legends2k 1 days ago [-]
I don't see the point. You can solve anything else using an agent why this? Something productive and productizable. AoC is for coding connoisseurs and golfers to have fun.
rustyhancock 1 days ago [-]
It's a joke.
legends2k 1 days ago [-]
Right, thanks!
oblo_mov 1 days ago [-]
Maybe I am the Grinch, have you ever considered that? I could have used the tokens for anything. Something useful, something incredible, found the secret of life. But I used these tokens to spoil Christmas by solving AoC.
danielbln 1 days ago [-]
I'm team Grinch. Put up a public Christmas tree, better expect the Grinch to show up to disturb the artisan golfers.
mathgeek 1 days ago [-]
You've fallen for an ongoing annual joke, it's been running for a few years now.
legends2k 1 days ago [-]
Oops! Thank you! Ah.. sarcasm and me!
onetimeusename 1 days ago [-]
I am upset that they removed the global leaderboard which previously gave me credit for pointing my agent at the problems.
stackghost 1 days ago [-]
Good grief look at the replies you are getting. HN really lives up to its reputation, sheesh.
AeroNotix 1 days ago [-]
I've thoroughly enjoyed witnessing HN's decline over the years.
stackghost 1 days ago [-]
My first account dates to 2009 and AFAICT it's always been this way. It's a big echo chamber so people here don't notice it but there's a reason that even HN-beloved authors like Aphyr put stuff like "never read hacker news" on their blog posts, or why people like JWZ redirect requests with HN in the referrer to photoshopped testicles.
HN has always been a place for self-important pseudo-intellectuals to lick the corporate boot while discussing the interesting technical challenges they solved when building a software that goes down the street to buy Hitler a pack of smokes.
You either make your peace with catching lots of downvotes and moderator attention, or you self-select out of here.
AeroNotix 1 days ago [-]
It's been through many declines. The AI slop they're all pushing these days has finally let the mask slip enough that the pseudo-intellectualism can really be seen for what it is.
esafak 1 days ago [-]
Tell it to enjoy Christmas for you too.
oblo_mov 1 days ago [-]
He went absolutely mental when I told him there was not going to be any turkey this Christmas. He went: NO Turkey, NO Turkey! You ** ** **! It was not very christmassy at all.
josittas 1 days ago [-]
I see you're a person of culture.
oblo_mov 1 days ago [-]
It was a joke, a Christmas joke.
josittas 3 hours ago [-]
I'm sorry, I flew off the handle a little bit.
BonitaPersona 1 days ago [-]
No, the Christmas and the presents are for me.
echelon 1 days ago [-]
No, that's what we're for.
The agents do the work and we do the enjoyment.
For example, I don't feel angry that the elevator taking my job of lifting myself and my heavy items to the top floor. I don't think about it at all, really. Only when it breaks down do I think about it.
People feel accomplishment and pride in lots of things they don't directly labor over. Index funds performing, home equity growing, their sports team doing well, playing a video game, fantasy football, aging wine, etc. etc.
aldanor 1 days ago [-]
I don't feel angry about taking a bus. But if I'm on a half-marathon run with a bunch of other runners, the enjoyment is in the process of running itself which may (or may not) lead to crossing the finish line in time, not in catching a cab to the finish line to take a selfie.
adolph 1 days ago [-]
> The agents do the work and we do the enjoyment.
To the degree that the advent of code challenge can bring about a flow state [0] in a person, "the work" is "the enjoyment." For many folks, flow states are not found in what they do to earn money and so they perform activities dubbed "recreational" like rock climbing, snow sking, video gaming, etc. For folks with a certain mind, until the near future they could get paid to do what they enjoy, a wonderful Ikigai [1] condition.
No, AoC is for enjoyment. Pointing your agent at AoC is asking your agent to have fun solving programming challenges while you go do something else.
floren 1 days ago [-]
Forget it, Jake, it's echelontown
otabdeveloper4 1 days ago [-]
The work of pretending to be smart for internet clout.
(Joke's on them, internet clout doesn't exist anymore because interacting with people has been outsourced to agents too.)
JoBrad 1 days ago [-]
But what if it was a special glitzy elevator lovingly created by an upstanding crafter, that only went up one floor and wasn’t especially great for daily use?
FractionalRadix 1 days ago [-]
Sir, please get off the forklift.
theappsecguy 1 days ago [-]
I wonder what you'll think when you can't afford the apartment on that top floor because agents squeezed out your role.
ex-aws-dude 1 days ago [-]
Its a dog treat for agents
pmarreck 1 days ago [-]
Did you just assume its gender?
Perz1val 1 days ago [-]
What do you mean assume, don't you give your agents name, gender and some backstory? I find that asian immigrant working as a founding engineer in US starups is a very solid choice for coding, but it has to be paired with some other agent to make up for the communication skills. I've also extended my searching for the perfect background + model combos, ideas welcome
(Disclaimer: This comment was entire made up as a joke, on the spot)
smokel 2 days ago [-]
Apparently everyone is coding there and forgot to upvote this.
asimovDev 2 days ago [-]
im surprised how little traction this post got when the previous years have gotten hundreds and even hit 4 digits.
Akronymus 2 days ago [-]
I guess with how llm solving there is these days it just no longer feels satisfying to compete
sevenseacat 2 days ago [-]
Today was like two lines of code, so I don’t have much hope for this year :/
aldonius 1 days ago [-]
Day 1's always a bit easier though?
Jtsummers 1 days ago [-]
Yes. Day 1 is a bit of a calibration test. Can you get the input file, read it in your language of choice, and produce some result. Sometimes as easy as just adding things up, it has never been a hard day.
2 days ago [-]
0dayman 1 days ago [-]
[dead]
rfgplk 1 days ago [-]
[dead]
rdevilla 1 days ago [-]
[dead]
oblo_mov 2 days ago [-]
Thank you for sharing! I have pointed my coding agent at it and he will certainly enjoy the 24 days of coding.
orphea 1 days ago [-]
> I have pointed my coding agent at it
Why?
oblo_mov 1 days ago [-]
That's not a very Christmasy question, is it?
1 days ago [-]
hcaz 1 days ago [-]
Only 12 days as of last year
oblo_mov 1 days ago [-]
Christmas come early.
cupofjoakim 1 days ago [-]
This reads as pointless as trying to sweep the desert
josu 1 days ago [-]
I can only code with agents, so last year I tried to get all 12 days of Advent of Code to run in under a millisecond combined. Running in parallel, my Rust solvers clocked a median of 0.805 ms.
I don't see the value. I like building stuff better than coding, so I prefer to spend my effort building.
kleton 1 days ago [-]
> Should I use AI to solve Advent of Code puzzles? No.
A real lack of creativity and willingness to update. There are still interesting problems that would challenge a human working with a coding agent.
sashank_1509 1 days ago [-]
Like what? It’s going to be unsolved problems now
pyreko 1 days ago [-]
Ah yes, the very difficult challenge of... just tossing the question at the agent.
It's a dude making interesting problems for humans for free, if you don't like it, well then just don't do it. I'm sure someone else can make 12 days of vibecoding if they want.
mark_pinecone 2 days ago [-]
Is this even relevant since Clanker is doing all the coding these days?
ctenb 2 days ago [-]
> is doing all the coding
You make it sound as if there is no choice. You can participate in AoC and solve the puzzles yourself.
7734128 1 days ago [-]
More so than for a long time for me. I've never wanted to do these competitivly.
Previously these were quite similar to work, and I might as well just work a bit instead. Now that work is mostly AI-assisted, these become a nice distraction.
shiandow 2 days ago [-]
Sudoku has been solved for ages, how is this different?
miningape 1 days ago [-]
idk about others but for me it sucked all the wind out of my sails, I don't want to think about code, much less participate in something that reminds me of what we've lost.
VariousPrograms 1 days ago [-]
People have fun with crossword puzzles and bar trivia without looking up the answers every day!
rvz 1 days ago [-]
I mean, is there a point to this given that AI is going to ruin it anyway?
It makes no sense to continue this since the cheaters will just spoil the point of it all.
EDIT: There we have it. The truth is, at least one person is going to use AI and then will eventually ruin the answers for everyone.
abound 1 days ago [-]
They got rid of the leaderboard (last year?) for this exact reason, so there's nothing for cheaters to spoil any more. If you do Advent of Code at this point, it's for the love of the game.
jjice 1 days ago [-]
> There we have it. The truth is, at least one person is going to use AI and then will eventually ruin the answers for everyone.
Genuine question: How does one "ruin the answers?" You'd have to go out of your way to find solutions. If someone is doing that, they didn't to begin with. It's a fun puzzle, for fun, because I miss having fun writing code.
trio8453 1 days ago [-]
The leaderboard was never the point.
The leaderboard doesn't exist anymore.
caxco93 1 days ago [-]
I always saw these as a challenge to one self. just with like anything, you can always look up the solution, or use a modern tool to generate it, or you can enjoy the process.
KeplerBoy 1 days ago [-]
Be honest, did you ever compete for the leaderboard?
99.99% of users did not. If you did, I am sincerely sorry for the loss of your hobby of speed-coding. It is gone.
I am kind of nostalgic about the early mornings were I tried to go for the top spot of my private leaderboard. But oh well, nothing lasts forever.
oispakaljaa 1 days ago [-]
I guess that depends on what you consider the point to be. I solve the problems for the joy of solving them, like a crossword. I couldn't care less about the leaderboard.
PaulRobinson 1 days ago [-]
In general, I hate puzzles where there is a score.
I turn it off on the LinkedIn puzzles, as I just want the fun of doing the puzzles.
I'm on some AoC private leaderboards but I never looked at the global leaderboard, and I'm glad it's now gone.
I'll therefore continue to have fun, and not care about the people using AI to solve what are relatively straightforward coding puzzles.
If somebody boasted to me about using AI for AoC, I'd just make a note to never work with that person if I could possibly help it. I'm serious: you'd have to be a psychopath to do that.
graynk 1 days ago [-]
being on the global leaderboard is NOT the "point of it all". idk how other people can spoil your own enjoyment
FractionalRadix 1 days ago [-]
I think it was the point for some people. Competitive coding, being faster than the others.
Don't care much for it myself, but.. for the competetive coders, the fun was taken away.
pona-a 1 days ago [-]
Their official stance is simple: distribute invite codes to people in your life and compete in private teams where nobody wants to cheat.
tgv 1 days ago [-]
Just like the official stance of the Olympic Games is that participation is more important than winning. Tell that to the athletes. And the hundreds of millions of viewers. And the CFO of the IOC.
pona-a 1 days ago [-]
Chill out, it's a tiny nerd competition nobody you'd be trying to impress even heard of, and private boards scale it down to basically LAN party level stakes. Just don't play with douches.
tgv 23 hours ago [-]
Don't worry, I'm chill. Didn't mean it as criticism or anything like that. I meant to say that the official stance and motivation of participants are not always aligned.
sumwise 1 days ago [-]
[flagged]
foltik 23 hours ago [-]
Hahaha, this is hilarious coming from an LLM bot account. Look at their other posts, all the exact same cookie cutter format.
pluc 1 days ago [-]
[flagged]
dathinab 1 days ago [-]
Why?
Like, it's a challenge for _fun_ for humans.
What is the point of "auto solving" it by AI, I mean sure for work that makes sense, but for a hobby programming challenge????
rfgplk 1 days ago [-]
Easy CV entry. Same with Leetcode.
PaulRobinson 1 days ago [-]
Which is why most companies treat leetcode with the contempt it deserves.
If somebody mentioned AoC to me in an interview (and arguably leetcode actually), I'd start asking probing questions and I'd expect to hear answers about having fun solving tricky problems and to hear about appreciation of whimsy in coding. I want to hear about people doing this stuff for fun when they invoke fun things like this.
If they can't bring all that to my follow-ups, they're not going any further in the process.
ecshafer 1 days ago [-]
Why in the hell would you put advent of code on your cv?
pluc 1 days ago [-]
"Because you won't" really is the most illustrative answer here
Aldipower 1 days ago [-]
Do you ever heard of the concept of sarcasm or humor?
dathinab 1 days ago [-]
you mean that concept absent from the op post :blink:
(Like seriously if neither by statement _nor context_ you can differentiate a statement between sarcasm/human then it isn't really either of it but plain bad communication instead. Yes some people will sometimes miss clues, but here there is pretty much no clue, at best you can maybe barely argue the demanding tone instead of a question "if there is ..." could be barely seen as clue.)
sevenzero 1 days ago [-]
The clue is the absurdity of OPs comment and Advent of Codes general stance on using AI to solve the puzzles...
dathinab 20 hours ago [-]
> Advent of Codes general stance
Is not on elaborated on, on the linked site. You can't expect people to know about more or less niche drama from >1 year ago.
> absurdity of OPs comment
but is it? Sure maybe it should be.
But with how things are developing people asking for MCP interfaces or AI-skills for more or less everything is becoming increasingly normal.
sevenzero 13 hours ago [-]
It is elaborated on the advent of code website.
dathinab 11 hours ago [-]
somewhere a docent points down in the FAQ, maybe somewhere else too
but not where the link leads nor in any place you can reasonable expect someone to read which hasn't played/is intending to play AoC
arguing that it's "somewhere" behinds links on a website is completly missing the point
pluc 9 hours ago [-]
It's ok if you didn't get the joke
sevenzero 11 hours ago [-]
Well man, thats kinda just your opinion you know
pluc 1 days ago [-]
Ask your LLM about it!
PaulRobinson 1 days ago [-]
This reminds me of when Tesla introduced self-driving capabilities so you could summon your car to come and meet you.
Some guy was asking "Wait, what if I summon it, and then get on a train? What happens then?"
To which the only legitimate response is: why are you trolling your car?
It's fun sometimes to think about how to optimise or find an edge case, or do something others haven't.
But please, with AoC, let's leave all the AI at the door and just go and have fun for a couple of weeks.
1) Wait until a particularly tricky problem day
2) Look for a suitable solution in the appropriate language in the daily solutions thread in Reddit.
3) Download and augment the solution with some typical credential stealing code with mild obfuscation (we'd prepared this bit in advance) that uploads partial credentials (github tokens, kubectl tokens, browser caches, etc) to a seemingly random third party site under our control
4) Upload this new code to a seemingly random github repo
5) Get our plant to share the link to the repo and say on the internal #programming slack channel: "I saw this solution in _language_ linked on the Reddit sub-thread for today's AoC puzzle, it might be useful if you want the correct answer for your input if you're having trouble, I haven't looked at it myself."
Sit back and see who falls for it. A surprising number of people did, and some (but not all) were doing this from the same account they used for their daily dev work. (Think of the recent Binance heist...)
It really hit home when we shared what credentials we had managed to capture and what could be done with them.
Even the ones using it from a non-work account were surprised at what we managed to exfiltrate.
Only a couple of people were using completely clean accounts created purely for aoc with no useful credentials exposed.
Without informed consent, this is grossly unethical.
So here’s my question to you: What measures were taken to ensure only employees could reach this repo? Was it on company private git servers?
There is absolutely no need to take any measure to ensure only employees could reach this repo. Just like internal phishing tests are hosted on public web servers. Code on GitHub isn’t inherently trustworthy.
They did write this, so I assume no real credentials were stored/logged.
Hyperbole. The credentials weren't stolen. It wasn't much more than the presence of specific credentials, with very partial information to demonstrate the point.
If I write something that reports that you have a github session key in an env var and an amazon aws session key, have I leaked your credentials? Metadata, yes. Credentials no. "User X has a github key" does not get me or anyone else access to your account. There's a reasonable bet that the vast majority of people on this forum have a github session key somewhere. (Sorry everyone for leaking that information.)
If I capture just the first bit of each of those keys, have I leaked credentials? Hard to say this is any more useful than just metadata about the fact a key exists. (For everyone that does have such a key I now apologise for leaking the fact that half of you have a 0 in the first bit of that key. Sorry again.)
If I capture all but one bit of those keys then I have definitely as good as leaked those credentials as enumerating and testing all of the possible full keys is trivial.
Where do you draw the line for a realistic "leak" of a key rather than just metadata?
If I capture the first 16 bits of a 128 bit key, or hash the key and report that, is that any use in the real world? Nope, the remaining key space is still too vast for it to be a concern.
> Without informed consent, this is grossly unethical.
Agreed.
For the people running it on company provided equipment, or BYOD equipment enrolled for use accessing company data, there is explicit consent in employment contracts and acceptable use policies.
Most employment contracts have clauses such as "the employee shall comply with all Company information security and data protection policies", "refrain from installing unauthorised software", "The employee shall take all reasonable measures to keep Company Equipment (including laptops, mobile devices, access passes, keys, and tools) secure and protected against theft, loss, unauthorised access, or damage."
Finally there's usually something like "Subject to applicable law, the [Employee/Contractor] may be held liable for loss or damage resulting from negligence, deliberate misuse, or failure to follow security procedures."
(Source was asking Google AI for "example contract clause use of company equipment in terms of security")
Taking a link noted as being third party code and deciding to run it on your own computers without vetting it is beyond the purview of the company's security policy.
I'd agree that would definitely be grossly unethical if the full keys were reported, but that wasn't the case.
I guess it's like the telemetry debate. Opt-out, or even just a "ping the server to check for the latest version" leaks metadata, and some are vehemently opposed to it.
> So here’s my question to you: What measures were taken to ensure only employees could reach this repo? Was it on company private git servers?
It couldn't be on company private git servers as that would have been too obvious for the phishing exercise. "Hey people, try the code at https://github_com/OurCompany/Sec_Team_AoC_Phishing_Repo_Dec_2026_FINAL_FINAL_THIS_ONE_v1_4/"
The link to the repo was only posted on an internal slack channel and the repo was removed at the end of that day. There's no evidence it was ever posted anywhere else.
The collection URL was disabled when the repo was removed.
The server/domain were kept (with information scrubbed) for future use (in other projects) so they could never be registered by someone else.
There was never a hit on the reporting URL from anyone that wasn't part of the company and this exercise.
As far as I know there has never a hit on that URL after that day and it was monitored for at least 3 months after the exercise (probably longer, that's just the limit of my knowledge).
It's clear you put significant thought into this.
Personally, even the remote possibility that a member of the public (or a member of law enforcement) could stumble upon this code would be a risk I would absolutely not take. They have not consented to anything.
As a thought experiment: Imagine being in a 3 person meeting with your CEO, your chief legal counsel, and yourself where you try desperately to explain what caused you to take this risk on behalf of the company.
The former is indisputably malware; the latter is pedestrian crapware.
It's not always possible to review all code we run, but c'mon, this is AoC puzzles. If we are trying to solve them, we shouldn't be so uninterested to blindly trust and run third party code.
I guess as a general practice, having a sandbox is probably good though.
[EDIT] Or dependencies. Even if `mathjs` got hacked nobody running my puzzle solutions could get compromised.
Just sounds weird. A better angle would be one of the cool visualization versions on r/aoc.
One year someone wrote a bot that would poll the subreddit for the daily solutions thread to open (which only opened after the old top 100 leaderboard was full), and then download code/repos for a subset of languages, blindly run them against their own input, and auto submit the answers if they got something that looked about right.
This was a meta-challenge just to see if it was possible and try to front run some private leaderboards, I think they did it through a different AoC account so anyone in their private leaderboard could ignore the bot's placing and the account could be removed from the private leaderboard once the concept was proven.
They had taken the precaution to download and run the code in sandboxed environments, so collateral damage was limited, but they eventually had to stop their bot because some people had taken on the meta-meta-challenge of writing code that would detect this bot and the sandboxed environment and change behaviour, anything from entering an infinite loop, outputting the wrong answer and upwards (nothing destructive or malevolant thankfully). There was a good bit of cat and mouse going on where the sandboxed environment would be hardened to counter some specific ploy (e.g. an execution timeout to get around infinite loops, CPU and memory limits to avoid excessive resource usage, etc). It was like a reverse CTF contest. Useful for the person building the sandboxed execution environment to have people try and find the cracks.
Although Texas is a bit liberal with the death penalty so you might want to talk to a lawyer.
My only protection is that I keep logs of all activity and can show my actions during operations are following the rules of engagement, within scope and following the laws of the country I am operating in. I key all my implants to check the environment they are running in is within scope before the second stage implant is downloaded and executed on a system.
It always feels like such a grey area but I have never been in trouble with the law after almost 20 years of doing this work.
Sometimes it feels like fighting with two hands tied behind my back because most threat actors don't have the same constraints but it also just makes the work more fun by adding additional challenges.
No professional should be using the company laptop to pivot into your home network though, they would be using the laptop to pivot from the internet to access corporate resources either via VPN on the laptop or existing authenticated sessions on the device.
... but good luck finding anyone willing to prosecute, I guess.
This is exactly the thing that almost every IT security policy will be trying to educate end users about. Don't just randomly trust stuff on the Internet. Yet very capable and intelligent people do this all the time.
If I say to someone "go ask on stack overflow _generic_link_to_stack_overflow_" am I liable for the fact that they may stumble upon an answer that has contains code that has unintended consequences? Not in any sane legal environment.
The law does care about intent, not just purely objective technical details observed through a sterile lens.
Suggesting people look on StackOverflow does not imply intent for anything nefarious. Purposely obfuscating code (mildly) and purposely setting up a server for that obfuscated code to utilize does show intent to obtain private information. The first few bytes of my private key is private information.
We're in the weeds here, but that particular link was never posted in the Reddit solutions thread (that really would be stupid, malicious and illegal pretty much anywhere in the world), so the only way they could get it was through the company Slack.
Anyway the users understood the point (and deeper ramifications) of the exercise, and no-one was concerned at the partial information that was exfiltrated. I can't remember all the details but we may have even just taken hashes of the credentials so that people could verify things if they wanted - the legal and security team heads definitely had their input on the plan. There were a whole load of other things were on the original ideas list that (sensibly) got vetoed.
I now defer to the armchair lawyers who weren't there and don't know the details for their response.
If I inadvertently ran this shit on my hardware I’m gonna be pissed and a hr complaint isn’t going to cut it.
Stick to sending ‘phishing’ emails from the company domain (with spf, dkim and dmarc set) the day new starters arrive, that’s about the level of internal security teams.
It was a bit tongue in cheek I'll admit.
> Your ploy was aimed at out-of-work activities.
Company sanctioned activity for L&D and team building/collaboration/competition purposes. As opposed to some companies which are "not a chance you do that on company time or with company resources."
It was useful for the company to understand that employees need to be explicitly told and educated that they should not run random un-vetted code from the Internet in the same environment as their company credentials. Many companies think their engineers would never do that kind of thing and are very surprised when they are presented with evidence to the contrary.
The people that did get dinged on their personal accounts found it useful to understand how something like this could affect their personal lives and that this isn't something they can just forget about the minute they step outside the corporate environment.
If we'd had someone who reacted as vehemently as you have then we'd discuss that and reconsider how things worked. Maybe it needed some logic to prevent it doing anything on non-company hardware/accounts except maybe output a warning locally to help drive that point home to the person.
> If I inadvertently ran this shit on my hardware I’m gonna be pissed ...
that you fell for a social engineering trick and ran un-vetted code on your personal hardware?
Or pissed that it was done in a way that meant your employer was able to see that you'd done that?
Or pissed that you felt that your personal data had been violated by choosing to download and run un-vetted code on your personal equipment?
A heady mix of shame, guilt and intrusion/violation, none of it justified.
Or maybe lucky that it wasn't something far more destructive/dangerous (that wasn't created for this exercise) that you'd downloaded and run somewhere without vetting it first. I've seen the aftermath of those kinds of incidents (both commercially and in personal situations) and really is not pretty, I wouldn't wish that on anyone.
Note that in the process we implemented no-one was singled out and no-one knew who fell into which group (work account, personal account, clean sandbox account). It certainly prompted a healthy discussion about mitigation using sandboxes and transient VMs.
Anyway, stuff like this is hardly likely to please everyone let alone the majority. Some pushback is always to be expected. Sometimes shit like this on the edge of ethical boundaries is useful to help educate people who can be targeted by groups/malware which have absolutely zero ethics and give zero fucks for laws.
If I publish the first 16 bits of a 2048 bit RSA private key I'm hardly risking anything.
Here you go, here's more than 16 bits:-
...Do we actually need to prove that humans will make mistakes or should we just operate on the assumption they will do? Systems used by employees should be designed as such that they account for these mistakes rather than putting the blame onto the employees with stunts like this in my opinion.
One of the more cruel exercises I saw was a phishing email disguised as a bonus for the hard work UK rail staff had done during the pandemic [1].
Where do we draw the line with this stuff? Can we pretend the targets family is in danger? Evacuate an office by sending urgent messages of an imminent threat to life?
I think exercises like this are showing that the security control is in the wrong place which is actually a failure of the security teams rather than the targeted employee. In the described scenario an employee has downloaded and executed code from the internet which resulted in the exfiltration of potentially sensitive data to untrusted systems. This is a failing of the EDR and DLP systems. We can test these without tricking an employee into doing something silly.
[1] https://www.vice.com/en/article/a-train-company-offered-work...
Both obviously, but getting the balance right is the hard part, and you're always going to piss some people off. You just have to do the research to work out where you are going to draw the lines, be prepared to justify those choices, and be open to discussing them and possible moving them.
(I have to be a bit vague about the next example, it's not as trivial as it sounds but explaining more would leak more information than I'm comfortable with.)
One of the biggest outcomes I've seen in a company was around the bureaucracy involved in getting various bits of software onto the pre-prod servers for testing and evaluation prior to deployment on prod. There were lots of controls in place which took time but the users were annoyed as they often had to try a whole bunch of different options before they settled on the one they wanted.
The end solution was to introduce another tier which ran on a scorched earth model. Each instance in this new tier was isolated but users could install whatever they liked without needing any kind of sign-off, and when things were done it was all securely trashed. It took a lot of work on automation, generation of fake data, etc to get to that point but the reduction in friction was a huge win. The users felt way more productive and were able to narrow down the options much faster and were more prepared for the subsequent process required to get it into pre-prod.
The users never thought to ask for such freedoms as they expected the company to apply similar processes/vetting/security to any new infrastructure, especially as it was impossible to do realistic testing without realistic looking data, and they had no fake data streams. The security teams never thought the company would sign off on the work required to get the new tier up and running (the fake data aspect was a lot of work). Management feared change and wanted to stick with the status quo.
> This is a failing of the EDR and DLP systems.
Most of my dealings in this area are with companies that aren't mature enough to have these types of systems in place. In an early startup stage people are not espousing Zuck's "move fast and install deploy EDR and DLP systems" mantra.
How do you protect an office full of mavericks? A series of soulless online learning courses rarely works. Towards the other end of the spectrum are shock tactics like the security exercise detailed above. There are plenty of other options inbetween obviously.
https://www.espn.com/nba/story/_/id/50258240/report-knicks-c...
tldr; phishing test email to MSG staff to claim their championship ring for being part of the franchise
Real malicious attackers do not care if something is a "dick move" or not. In an alternate universe the great company you work for might have to shut down because someone didn't think properly and ran something which compromised enough company secrets to cause its collapse (financially, reputationally, whatever). Then people will say the dick move was the company not educating its employees well enough, or not putting in strict enough controls to prevent it happening.
This is not justification for companies pulling arbitrary dick moves against its employees, but many people consider much of the policies around security to be borderline dick moves due to friction, process, bureaucracy, etc. It's a fine line that's always going to piss some people off.
Talented and experienced developers who should know better fell for something that could easily have been a significant threat because their guard was down due to familiarity or doing something "fun" like AoC. Many of them on a work machine. In an account with live company credentials. In some industries/companies that's gross negligence and you'd be out the door in a heartbeat.
No individual was chastised but it made everyone in the group think about their actions and possible consequences. We didn't call out the people who fell for it because there was no point doing so. We didn't call out the people who didn't fall for it either, for the same reason.
There's also an aspect of humility as I know I've done similar in the past and got away with it only by the grace of $DEITY. It's certainly changed my behaviour. Yes spinning up yet another VM, installing a bunch of packages, vetting the code, etc just to be able to run some random code is a pain but it's a lot better than the alternative. It also makes you automate some of that setup to reduce the friction as much as possible. Fundamentally I still don't want to play Russian Roulette even if the revolver has 999999 empty chambers, there's still one bullet.
(I don't work there, this was part of some consulting gigs that I sometimes help out on so I could pop up anywhere. I just saw the programming/AoC channel as a great attack vector, and I love AoC too. At that company there were other targeted campaigns for other specific departments such as finance/marketing, each using something that those employees were overly familiar and trusting about - but I didn't work on those bits.)
We'll continue to work on our method for making an omelette without cracking any eggs.
This part is stupid. Is this a very large company where people on the internal slack are indistinguishable from bad actors?
You never get thanked for helping prevent a possible breach, mostly because it's impossible to prove exactly what helped prevent something that didn't happen from happening. But you certainly get heat for failing to prevent one that does happen.
> I wouldn't even have a beer with you after such an ass move.
I respect your decision. I get called all manner of things due to certain jobs I've done over the years, those without a thick skin don't last long in these kinds of jobs.
I happily have a beer with anyone who saw this as a dick move, and happy enjoy a robust discussion about the ethics and net benefits, but each to their own.
Leaderboard is gone, there are no real stakes. You don't even have to solve the problem on the day it appears, they'll wait.
And maybe you rediscover the joy of creating a solution of your own.
I've checked some research on this here: https://blog.miloslavhomer.cz/use-your-brain-even-if-the-mac...
That said, for the rest of the days maybe I'll describe the algorithms I think should be used rather than just giving AI the problem statement, and let it handle the nitty gritty implementation.
For me, the original motivation behind coding was that computers are easier to understand than people, software is irresistibly complex, and I love to build cool things.
As I've aged, it's mellowed to "I love to build software to help people get their work done." So I've been able to progress through the stages of grief at a moderate clip, I guess.
I could have written your comment. I still like to write code sometimes but I'm also relieved to have what is essentially an amazing junior programmer at my disposal for the grunt work, and something that knows enough about most programming related things that if asked the right questions will point me to the answers I need.
It is a kick to have someone say how much easier you just made their life.
The problem with LLM's for coding is that they can take any bad idea and execute on it. Normally when a human is tasked with implementing the bad idea, the badness becomes very apparent as they're writing the code, giving an opportunity to clarify or rework requirements (y'know, the whole point of Agile, since it became a thing.) This is something that's absolutely missing with LLM's: The friction. Friction that often causes a better idea to come out in the end.
Maybe you just don't like writing the kind of code AoC is looking for?
AoC, to me, was never about writing code but more about coming up with algorithms and solving mathematical or logical problems. The code was just a means to an end.
One type of code I enjoy writing is mostly around designing and building architecture that encapsulates complex business logic in an elegant way as well as de-tangling (often legacy) spaghetti code and moulding it into something more maintainable. This kind of code is also something AI is vastly incompetent at.
In the popular languages of the before times, absolutely. Turns out I didn't like python, I just hated it less than the alternatives.
Now solving the advent of code with an interesting language (say forth or MMIX) is surprisingly relaxing. The same way that whittling a spoon is.
The same as when you were coding, the programmer that knew how the computer works or how memory management works wrote better code, you will build better things if you know how to code
>The same as when you were coding, the programmer that knew how the computer works or how memory management works wrote better code, you will build better things if you know how to code
I still know how that works. I don't write in machine code to get closer to the metal.
That is why I call myself a reformed programmer, instead of a DevOps engineer.
But, I did Day 1 in Free Pascal, using the FP TUI IDE they provide. I did the first pass and was happy to remember how interesting Turbo Pascal and C were to use for debugging code. After finding out I still can't "whip through a simple sort," I ask AI to do a code review. I found a few things in Free Pascal's objfpc mode that I didn't know about, and a few edge cases that weren't in my input data but could have been bugs. In the end, after a few trips with AI, I like the refactored code, but enjoyed the learning part more.
I think a better analogy would be handcarving a piece of wood instead of using machine tools.
It's still very possible for a seasoned programmer to write better code than an LLM. But the only ones who care about or even notice the difference in quality are connoisseurs of the craft (or, depending on your point of view, pedants). The end consumer couldn't care less about how DRY or cyclomatically complex the code is. So handcrafting is relegated to hobby/art form, while automation is used for all practical work.
No, it wasn't very bad.
I also need the freedom to decide what to build and how to build it. I could see how being told what to build AND using AI to build it could be mind-numbing.
Coding as problem solving is fun, but coding for building an app is 95% boilerplate and 5% problem solving. LLMs automate the boilerplate and gives me time to focus on the fun stuff. IMHO.
Strange to think all that are now things of a bygone era.
Because that’s close to the sense of “building” with an LLM.
Last year my code was always simpler, as in smaller and/or easier to read, and never had a long runtime. The AI code is harder to read and understand, solves things not in the task and sometimes has a much longer runtime (in seconds, I don't care about milliseconds). This year on day 2 I'm seeing again a way more complicated solution from Opus 5.5, where I just added a single line to go from part 1 to part 2.
It's nice seeing that I still have the skills and generate something that looks better to me as a human.
I'm gonna see if the old noggin' still works.
I just set up a private leaderboard for my workplace for everybody who wants to join and it usually turns out to be pretty fun and have decent attendance.
One of my companies even sponsored giving out rewards for whoever at the company got 1st/2nd/3rd place.
Usually probably 80% of people churn within the first week and by the end only a few people are actually completing the challenges.
Probably harder to justify now though with AI, since we can't prove somebody used AI or not, and giving out rewards always adds incentive to cheat.
And yes I know there’s all sorts of scandals in online chess with just using the engine for key moves, but at the end of the day most people don’t come near the leaderboard and there’s not a strong competitive community AoC is trying to police
People are pretty lame
FIRST!
/S
This shit is getting tiring. Fucking around with “code” was fun, I understand, I enjoyed it as well but it never made any business sense. Now it makes zero.
Even personal it makes no sense. You could be learning a language, art, cello, what you want. Learning “Zig” or whatever and sorting items into buckets and messing around with wonky libraries and obsolete ideas.. I mean come on man.
And as for the business sense, writing code helps to understand it and as of today programmers still need to audit certain critical code and most interviews still require coding with or without AI. We'll see what happens next. Meanwhile, I'm enjoying my brain teaser.
I'm not saying anybody should crack problems for 16h a day (in fact I state that's not possible).
I argue to keep doing some simple problems (exercises) even if they can be automated away.
I did love Learning Nim|Crystal|F#|Swift and taking my masters' (RL). Looking back what really did I get out of it? Well I stood on giants, maybe contributed a little teeny tiny bit to the next big thing. Idk. Maybe not. Should I have read big works in Philosophy instead? Or just more fiction? Saw this movie today "In the blink of an eye", pretty good (no masterpiece though). Started with small poem:
"Remember, remember, this is now, and now, and now. Live it, feel it, cling to it. I want to become acutely aware of all I’ve taken for granted" Sylvia Plath.
Does it fit here?
For years I've written up a step-by-step guide to how my code works and published to a little side-blog at https://advent-of-code.xavd.id. It dramatically increases the time it takes to complete each day (I spend much more time writing/explaining than programming) but I've found the practice really rewarding.
I started partly because I wanted to make sure I understand the problems and partly because every solution in the daily Reddit thread is reads like a code golf competition. I get it, people tend to prioritize speed and terseness when solving (leaderboards, etc). But a bunch of inline functions and single letter variables make it really hard to understand their solutions. So in an effort to make something legible to readers of all skill level, my solution looks just like something I'd write at work.
I've learned so much over the years so I'm glad I can help others do the same!
Consider:
1: Write "shorter" prompts that have AI do a smaller, "boring," part of the problem
2: Code by hand for 20-60 minutes on the fun part, then hand off to AI when you hit the boring part.
3: Have AI review your work before you send the PR to your peers.
It is basically as fast to type out a boring problem than it is to wait on an LLM to do it for you and review the output. Having a mix of "boring" and complex problems is good for pacing your energy during a workday.
(And any true boilerplate already has tools to generate it conventionally)
> Have AI review your work before you send the PR to your peers.
That's just the exact same problem happening to review skills.
Nobody wants to see your PRs for AoC code.
But actually imagine, it could be very funny to set up an elaborate review and project management process around AoC and the challenge being to succeed in getting as little as possible merged, due to superficially reasonable steps in the process or requirements, and of course obnoxious reviews.
It took me 20 mins for the first star and an additional 1 min for the second.
Claude took 1min for each star.
Not writing code anymore meant I'd forgotten a lot of syntactic sugar and had to look up even some basic stuff. I'm also a victim of deteriorating human attention, and maybe even 25% of the time was spent on random shenanigans.
The first year (i.e. GPT-4) they could only solve the first few. Today there's not even a point in trying since I know Claude would have the entire month done in 10 minutes and it would be flawless. Scary to think how quickly we've gotten here really.
20 minutes including reading the fluff text, undertanding the problem, downloading the file, making a coffee, writing the code, and submitting the solution?
Because just writing the code really shouldn't take 20 minutes to anyone proficient in their language of choice here.
I created it so I could do 5 mins daily reps to prevent AI skill rot
Also, what is the difference, honestly, between these 2 framings of the same knowledge?
Whether or not that’s valuable is a personal choice. But if someone says they know how to swim, I’d expect the latter.
> to stay sharp
Is this just for the fun of coding or for some other purpose?
[edit: wasn't -> didn't]
The code is still important. Claude can't work it's way through the mess it generates so it's our job to keep it on the rails.
"The computer hasn't proved anything yet. If we were playing a real competitive match, I would tear down Deep Blue into pieces" -- Kasparov 1997
OP was discussing the value of programming skills, so I think it's a little short sighted to answer that question without looking forward just a little bit.
So might as well just focus on what skills we have that are still valuable today.
I enjoy(ed?) manually writing code myself, but it's not good industry advice anymore to focus on learning/honing this skill, I think.
If you're willing to let your brain atrophy until AI takes over, by all means go ahead. I'll choose to keep working on myself.
Ten years ago, was Google search the worst you'd ever use? Were car-dashboards ten years ago the worst they'd ever be?
There are many reasons for a thing to become worse for you and me as they become "better" for the diverging goals of someone else.
Not necessarily. AI companies are scraping the bettom of the barrel of training data and running at a massive loss, so there isn’t much room to improve and they’ll have to cut corners once investor money runs out.
The real skills that matter are architecture and engineering.
Give me the architect and white board god, you can keep the 160wpm vim king.
If you think understanding the code is so useless you’re already done. Just leave people to enjoy things.
What’s the point in even contributing to discussion if you’re okay with your thinking becoming useless? Surely we should leave that kind of thinking to the LLM?
This is the sort of thing I mean about "AI bros not getting it"; they have no real understanding of what AI even is or the context surrounding it but they confidently spout balderdash to "prove" it's inevitability.
I'm basically trying to avoiding falling into what I see as the true definition of "vibe coding". Just asking the AI to build something, with only the outcome in mind and signing off based on vibes alone - "Yeah, that seems good". I still very much feel the need to read and understand what's being built, so I can continually steer the AI in the right direction and step in should I need to. But I do realize, more and more, the "need" to step in is giving way to the "want" to.
I'm not convinced of that. LLMs are incredibly knowledgeable, but (at least in my experience) have very poor judgement.
Using those skills is no guarantee for not becoming demented, but not using them seems like a pretty clear trajectory. Use it or lose it
Physical and mental health.
Same with things like Sudoku, crosswords, and puzzles like this. There's growing evidence that things like this can help improve cognitive function and slow decline. (Not in everyone obviously.)
https://pmc.ncbi.nlm.nih.gov/articles/PMC12244833/
I cant believe this is a genuine question to be honest.
Arguing with an internet or AI service outage is hardly relevant to most people. If it doesn't work, you enjoy a slow afternoon and spend time on other tasks, like everyone else is doing.
None of it matters for the decisions and judgements I need to make - I am not thinking about algorithms at all. Actually, it wasn't even a common part of my work before AI either.
And these algorithms have definitely been covered by LeetCode problems, given the way LeetCode problems are engineered using the wrong class of algorithm complexity will result in a _Time Limit Exceeded_ (TLE) error. I'm no fan of LeetCode but I'm sure it's helped some people learn to think twice about their choice of algorithm.
Many inefficient algorithm choices are caught at code review time, by people who have more experience and/or a better understanding of algorithmic complexity, and so the original programmer is directed to learn why, and improve their knowledge so they are less likely to do the same in the future.
Similarly I'm sure there are hundreds of thousands of coding jobs where this kind of detail does not matter at all as the code involved simply never sees the scale where `O(n^2)` instead of `O(n log n)` becomes a noticeable problem.
If I would work on changes in such a load-bearing (pun intended) path, I would certainly attempt to have the AI analyze how scalable the solution is and profile it before submitting the merge request.
For me solving such puzzles is about finding elegant solutions, not just writing one long unreadable procedure, that happens to contain the algorithm.
If we were, the stability of our testing environments are a bigger concern than the uptime of the AI service.
I’ll even ask the agent to quiz me after major aspects of the impl
I try to do an hour or so of leetcode or codewars a day, I've gone months without and really felt my competency decline. I'm not sure what the outcome of this think-for-me experiment is going to be, but I'm pretty sure its going to end badly for a lot of people. It will be similar to how obesity became endemic once we had machines capable of carrying us everywhere.
Of course they do, at least without some discipline. You're offloading your thinking.
And it's not the same as e.g. delegating work to another human, because it's so easy and you're not inconveniencing anyone. So you don't put in any up front effort before asking for something, and you don't feel bad asking it to do things you wouldn't burden another person with.
Instead, we've chosen to get things done a little faster in exchange for becoming reliant on 10 billionaire's thinking machines, who will certainly use this tool as a weapon on the professional middle class to make sure that we stagnate as humans, communities and that there is no social mobility!
Yay!
also, this so called hate for billionares i'll just say this, jealousy woes, jealousy woes. billionaires who invented AI, thank you. From the bottom of my heart. You made me refind the joy of making things again.
See HN guidelines please.
some thoughts arent worth the effort: https://gist.github.com/mxfactorial/0f8bd19df984d74f2af8887a...
playing tetris with phonetic symbols to control electronic signals was bound to look absurd once a machine got ahold of the game
signaling on & off in english is ridiculous
forcing it through silicon & metal adds to the absurdity with pure alchemy
(not to mention a heat sink advertisers squat in the middle of)
Have fun being dependent on another man's thinking machine for your competency and self worth. It can get taken away from you at a moments notice, and you'll be left skilless and dependent hardly able to think for yourself.
no
theyre original
but the flood of ai content justifies ur suspicion
now i will prove authorship by resolving a conjecture a talking bell curve cant because of all the social science quackery dominating its weights
the author of https://geohot.github.io/blog/jekyll/update/2026/06/18/price... is genuinely frustrated with a condition that contradicts his belief in the free market
hes right to be suspicious of an imposter there too
r&d lowers prices by pushing expenses down: ur verysmart, so u build things by adding information to them
selling the less expensive clever thing increases profit
capital flows to profit and most to where its highest
as capital continues to fund r&d enabled returns, the clever thing carrying around added information lowers prices
or negentropic prices
why do they currently fail to appear?
2 reasons, 1 i leave aside cuz it targets an imposter let loose by democracy: https://gist.github.com/mxfactorial/3d4bdad79a20e812156a7aa3...
they gotta be dealt with there
but the other reason is the absence of transparent competition: where returns are measurable & known
and that second imposter can be taken down today, right now, in the streets
if hotz were sincere in alleviating his frustration, id counsel him to study the https://github.com/systemaccounting/gradienterp readme very closely for a scientific explanation of how prices are lowered—which no social science regurgitating llm can produce—before turning him loose on the imposter
id expect to first hear "but Anthropic... and AWS..."
and then id say "work with what u got for the time being. with the free market imposter covering up measurability gone, openly operated ai & cloud fall right out"
lets end with some slop: https://gist.github.com/mxfactorial/31b652125ff1ee44804e565b...
The good news is that you can almost certainly learn to program again more quickly than you learned the first time.
I don't believe people can have their cake and eat it too. To be good at coding you have to code.
Coding is now a solved problem. There is no reason for humans to do that chore any longer.
This is turning out to be quite fortuitous given that model providers have begun sandbagging on this exact area of use.
We're certainly not forced to use it and management still expects us to retain the skills that got us hired and promoted in the first place.
I was sooo rusty even just implementing todays simple bucket sort thing.
On a serious note, somehow I am happy that I was still able to do it by hand. Brain is not rotten yet! I'm sure the latter puzzles will destroy me though (but that has always been the case anyways!)
Another cool idea how to have fun with it that came to my mind would be doing AoC in a language that AI builds for you as you go.
Some people stick to just getting the stars at whatever cost, others look at the challenge in a different way.
With this problem there's:
a) Plenty of solutions that are O(n^2) and worse
b) An O(n log n) solution where n is the number of lines of the input
c) An O(m log m) solution where m is the number of unique values in the input
d) An O(n+m) solution where n is the number of lines in the input and m is the number of unique values in the input
I could tell a lot about someone's real world programming ability if I brought this up in an interview, especially with follow-up questions such as:
1) What if the input was so large it could not be held in memory all at once?
2) What if the input was so large that even a list of unique values could not be held in memory?
etc...
[EDIT]
If you can just point an LLM at it and get the answer without providing anything useful yourself then you've got nothing to differentiate you from every other candidate that can do the same. I'm not looking for people with multiple PhD's but I look for people who know enough to know when the LLM is spouting nonsense or is suggesting something suboptimal that will fail when scaled up.
Interviewing has become more fun because of this. We tailor our interviews so the AI assisted portion gives the candidate enough rope for the AI to paint themselves into a corner if not careful, and then the non-AI portion weeds out the people who don't have (or have lost) the ability to think for themselves.
Similarly, there can be no O(m log m) solution, because you have to read every line in general.
A n = 2 billion line input with a valid deterministic solution could have m = 1 billion unique numbers (which means 'm log m' likely dominates), or it could have as few as m = 6 unique numbers in which case the O(n) part will likely dominate. Basic O() notation is too coarse a measure to capture this nuance.
The O(n log n) solution seems to me like the trivial/straightforward one: count occurrences, then sort the pairs based on the count. Not sure how to get the O(n^2) without trying specifically to do so (like implementing a sort algorithm from scratch and making it quadratic)
Taking a deeper look can provide some very useful insights and a better understanding of the more general problem which often translates into real world scenarios in companies that operate at scale.
Optimising something that sorts 20 values is often pointless unless it really lies on a hot path and is called very frequently. It's more about when something that was written to sort ~100 values suddenly starts to become a bottleneck as the service grows and grows unexpectedly and is suddenly needing to sort 100k values, then 100M values, etc.
Taking this particular problem as an example, I've had candidates who run the complete spectrum from claiming it's impossible to find the top 3 and bottom 3 values without sorting the entire list of frequency counts (one even claimed we'd have to sort the raw input list for any chance of getting an answer), to the candidate that says "...once you have the frequency counts then finding the final answer is just a pair of max-heaps of size 3, but this depends on whether you can hold the set of frequency counts in memory or not, if not we'd have to take a different approach. Also, max-heap might seem overkill, if you wanted highest and lowest you wouldn't use a pair of max-heaps of size 1, but 3 is about the cutoff where manual tracking of the top/bottom values becomes tricky, and using a heap makes it trivial to move to 4, 5 or any other value if that becomes a need in the future".
(To be clear, I've never asked/discussed this specific question in an interview, I'm just translating responses for a similar problem.)
I don't think I'd hire the candidate who makes iterating a list of numbers and storing the highest/lowest values so complicated either. especially since they hand wave over the actually interesting part about what to do if you can't store the set of frequencies in memory. especially since in many languages instantiating a heap structure might be less performant than first_highest, second_highest, third_highest etc.
I got Claude to implement the function for highest and lowest three values (prompt below) and it did a reasonable job. The function is 46 lines long with 5 lines of comments and 2 blank lines, so 39 lines of actual code (formatted as per gofmt standards).
Telling it to keep track of the highest 4 and lowest 4 and it just extended the function with another set of conditionals. adding another 6 lines of code, and another level of indentation.
45 lines of code within a single function is teetering on the edge of guidelines for maintainability/readability.
Asked it to extend it to highest 5 and lowest 5 and it has extended the function again. Another 6 lines of code. We now have code that is indented 6 levels and a couple of lines are 91 characters wide.
I'm wondering when it's going to switch between adding another layer of conditions to going "this is better refactored as X"
6 highest/lowest and it refactored something to keep the line lengths down but still sticking with its original plan.
Finally at 7 it decides to change things:
" The number has gone up by one each time, so this time I'll also write a version that takes the count as a setting and benchmark it against the hand-written seven-value function. That will show whether keeping the hand-written approach is still worth it.
...
The any-size version came out almost three times faster, which wasn't what I expected. I'll check whether it also beats the hand-written version at smaller sizes.
...
TopBottomK stays at about the same speed whatever the count, while the hand-written version slows down with each value you add. "
The generic TopBottomK was also faster than the hand-written version that just tracked the highest and lowest 3 values.
It's implemented this in 31 lines (excluding comments and blank lines) that out-performs the original "hand-written" versions (as Claude describes them), despite the fact that the original prompt suggested that performance was important.
The generic solution is faster than the count specific solutions, in fewer lines, and handles arbitrary length result sets.
Back to the original point, I'm looking for the candidate that can discuss these kinds of nuances, not come to me with preconceived ideas of "this will be the fastest" or at least qualify assertions with "I would assume that algorithm X should be fastest, but bench-marking the various options would give us the data we need to decide". I don't expect candidates to know definitive answers to these types of questions, I'm probing for their ability to acknowledge where their knowledge starts to get fuzzy. Candidates that are truly open and candid like this are becoming rarer in my experience.
Prompt: write a golang method to loop through a slice of integers of arbitrary size keeping track of the highest three values and the lowest three values. This code is on the hot path of a process so performance is important, keep it as close to O(n) as possible.
I also have used Benchee (Elixir benchmarking library) to run comparisons between naive/bad algorithms that I wrote initially and then the "correct" method after - always kind of edifying to see the difference between log n and n ^2 or whatever actually visible in the benchmarks.
I understand now most people don't program much of anything, but sorting a list is really far from arbitrary syntax
Like if you are not writing Python then.. you can't expect to be a good programmer.
I can never continue to completion unfortunately, because I get too distracted perfecting things that has nothing to do with solving the actual problem and waste whole days. Like today I started fighting with logging errors instead of just throwing it, then realized what am I doing! Ha ha. Once I got that out, it was a really simple problem, I was not even expecting to part two to be that easy. But I really want to complete it this time.
I had autocomplete in the terminal, automated alias' everywhere, scripts that would copy templates, etc. etc.
All of that stuff is useless now, or atleast has been entirely replaced by AI. What i'm saying, is sure, you hard code, and don't let AI touch your codebase... that's fair. But to not use AI at all seems... just like not possible nowadays.
However, programming without those tools is certainly possible. Much easier than it used to be circa 1990
However you can always download old tools, read old sites, use established technology, etc. Fortunately none of that stuff is gone ... yet.
However, getting unstuck using ChatGPT at least is such a performance boost ... I'm happy using SOME AI at least.
EDIT: I actually enjoy it that way, and purposefully stay away from AI. I am not telling anyone else to do the same, it's just what I personally enjoy. If I need information on something, which is often, I know AI can get it for me much quicker, but since this is a hobby now, I don't care about quick (quite the opposite actually), you can still find most information on the internet (blogs, youtube, manuals), and even man pages are still great.
do you have a reddit or a dedicated page for that, like AoC do? you know, to gather a community
I think that it is connected to Advent Calendar which is I think related to German traditions (I know this because of Netcup and berohost deals, btw Berohost currently has Advent Calendar which I just observed today)
Yet, I didn't connect it to Advent of Code but because the link that you shared says: " A 12-day Advent calendar of Linux and DevOps challenges of different difficulties"
it finally made me all click! and why Advent of code is named what it is and why its done in december
We have what I would translate to “Christmas Calendar” which is something that counts down the 24 days to Christmas. This can be two pieces of cardboard with little gates perforated and you open one everyday. It can be a candle with markings and you burn 1/24th every day or even a TV show filmed in 24 episode for the purpose. A box of 24 pieces of chocolate seems to be the most international recognized version of this.
These are often translated as “Advent calendar”.
But what we call an advent calendar would be something that counts down the 4 sundays leading up to/possibly including Christmas Eve. We usually have an advent decoration with 4 candles and one additional gets lit every Sunday in advent.
Here in Austria we call that "Advent(s)kalender". I thought Germans used the same word? What do you call that?
> But what we call an advent calendar would be something that counts down the 4 sundays leading up to/possibly including Christmas Eve.
We count the advent sundays. I have never seen or heard of a calender that counts the days from the first advent sunday to Christmas.
I am using literary programming in MarkDown where I use an application to collect C code fragments in one or more MarkDown files and put them in the correct order to be compiled. See: https://github.com/FransFaase/AdventOfCode2026
Still, it has some of that good old C feel.
I would love if a side effect of LLMs is a revival of literate programming.
Like, I'm treating this as a full project, and adding all comments/docblocks and everything. It's pretty fun this way, for me.
Thank you to the creator!
I always enjoy getting a first solution, then improving it to be more readable, and then being flabbergasted when I look up online how others are solving it.
I'm keen to learn more strong typing languages, open for ideas.
Definitely noticing things I have to improve in the language and IDE to make it smoother.
I got to 20k or 30k of handwritten organic C with working e2e programs.
But early this year gave up and involved some agents to draw the rest of the owl. And it took off to something that can compile reasonably sized and useful programs.
It felt a bit wrong, but the advantage is that I can get a better feel for the language while using it.
I have this funny belief that sounds something like this: learning happens fastest when the next adjacent step is within a certain mental distance. Too far and you just get stuck. Too small and well you don’t learn something new.
And for me, Advent of Code has simply been too big of a mental leap.
This year I’m excited to try it with Claude! An attempt to shrink that mental distance. The risk is it becomes too small and I learn nothing.
If there’s others here who want to compare notes on their process or have suggestions I’m all ears.
You're spot on, this sweet spot is also one of the premises of the book Flow by Mihaly Csikszentmihalyi
1. If I'm stuck, take a break, go cook dinner or something else and mull over solutions in the back of my mind for at least an hour or 2 (better yet, sleep on it). If I'm still stuck after that, I'll ask AI for a hint.
2. I have in my prompt to not give away the answers, but try to give me little hints.
3. Always write the code by hand.
4. Once I've solved the puzzle, I have AI review the solution and suggestion improvements or other techniques I could have used.
One year you had to build some sort of upcode parser, which I guess mimics a theoretical computer processor, but as someone who learned programming by glueing things to gather and eventually writing instead of glueing it does become nearly impossible to crack those ideas.
https://en.wikipedia.org/wiki/Zone_of_proximal_development
These comments are full of experienced engineers (myself included) who are excited to get back to coding by hand and would get nothing out of this if using claude. So it's cool to see someone approaching from a different angle. My 2¢, LLMs make it easy to feel like you're learning more than you actually are. So I would consider setting as a goal that by the time you've completed a challenge using claude, you are confident that you could do it again without claude the next time.
Here's my prompt, give it a try if you're curious!
"can you help me learn what's going on in the first advent of code. like don't give me the answer at all, the point is that i learn something. so....maybe you can ask me questions to figure out what i know and don't know. and use this principle to help me: https://en.wikipedia.org/wiki/Zone_of_proximal_development"
It reminds me of reading a C book as a kid in the library. I didn't even have a computer but I enjoyed writing the programs on paper and imagining how they worked. Honestly, my coding ability probably hasn't progressed all that much, but the joy is there.
I invite folks to try this, even if you're like a super experienced programmer. And tell me if you have fun with it or not I'd like to hear either way.
There's a leaderboard too, come join! https://advibe-of-code.github.io
Thank you for the kind words of encouragement!
Because the later days require knowledge of specific algoritms and is not something a regular human can figure out by themselves.
Using python already simplifies solutions through an endless stdlib .
Sometimes, in later days, it makes sense to recogise things unsolveable by default tools and go for, say, smt solvers.
Point being, it is not too bad.
- Jorge Luis Borges
But yes, I did also have a brief pang of whatever emotion that quote conveys.
Not if you want to make a living out of programming.
I love the fact that AI exists and makes us much more productive, but at the same time, I mourn the loss of programming as a career and as a competitive advantage.
Citation needed. I think the biggest impact is likely in the startup world where you have finite resources. But in a production or enterprise setting, manually building out systems is still highly valued especially when everyone else is deskilling.
I find that AI lets me think more about the actual, fundamental problem that I'm trying to solve, instead of wasting time on incidental problems.
Am I deskilling in git and shell scripting? 100% sure. AI 100% solves git and shell scripting for me.
Am I deskilling in systems thinking? Nope. The opposite, actually
I'm making a living as a programmer and I haven't used AI a single day of my working life
https://github.com/aspizu/goboscript - My programming language that compiles into Scratch.
I tried Claude and said "don't give me the answer, ask me questions so I come up with the answer, without code."
I did a voice conversation with Claude to solve the first one. Holy crap it was fun. I took the transcript of my conversation and made this: https://advoice-of-code.github.io/#/s/titojankowski-d1
It's a combination of Socratic Method and Zone of Proximal Development (ZPD) philosophy. The idea is that you figure out the solution yourself.
And I added a leaderboard if anyone else wants to try: https://advoice-of-code.github.io
I like that I can read your transcript. Some feedback:
- Claude is much more verbose in that transcript than I expected. That makes sense in retrospect, since the prompt is about learning. I might want to change the prompt so it structures technical train-of-thought into a proposed solution. Different vibe, though.
- I'm not sure how much knowledge transfer is happening at the beginning; you're clearly (and reasonably!) having some trouble holding all the logic in your head. Personally, this is a case where I find it much easier to have everything written down and see it all at once.
- Claude going into bigO was great! You'd think that it's too much for someone just learning, but in my experience that's actually exactly what you want to hear when you're wrapping your head around programming and algorithms. Without that kind of background, a lot of what you're doing can seem too abstract, or like you're not really able to see what's happening under the hood.
- Why not have Claude show the code? From a learning perspective, that seems like a good feedback loop. Once you get the star, Claude could display the code and then step through it, tying each section back what you described.
- Claude didn't catch that you didn't do the one-sentence statement of the puzzle. Maybe have the initial prompt from Claude be: "read today's puzzle and describe it to me in your own words"?
I've edited the prompt to make it even clearer to Claude that I don't it to spoil the surprise of figuring out the answer myself.
Good point about seeing the code at the end, I added that in, will try for Day 2.
I played Opus Magnum a few weeks back and it was the same exact feeling. The glyphs make it seems like dealing with arcane knowledge instead of the calculus feeling of functional programming and the checklist feeling of imperative programming.
So while Advent did indeed already start, the website is in fact honoring the tradition of Advent Calendars.
I'm taking an alternative approach: I plan on designing a new programming language for each day and having the LLM build the compiler for that language as well as the solution: https://github.com/jdan/advent-2026/tree/main/01-dusty-shed
I don’t have an analogy for your idea of building a language each time. Hope you have fun and learn something, though!
A good part of the challenges require specific knowledge to solve so it wasn't about code but specific algorithms, math, shortcuts to skip brute force, etc.
Coming up with the right algorithm is what people usually find the most interesting about programming puzzles.
Some of them are very specific. You either remember it if you had the chance to stumble upon them during your studies or you research the specific math required to solve it.
Maybe I have the wrong expectation but I would like for all of the challenges to be feasible without heavy math.
Take this for example: https://adventofcode.com/2019/day/22
You are given a deck of over 119 trillion cards and must shuffle it over 101 trillion times using three specific shuffling rules, then find which card ends up at index 2020.
Simulating the deck in memory is impossible. You need modular arithmetic and maybe linear congruential functions to do it.
That doesn't sound like "Advent of Code" to me.
For https://adventofcode.com/2023/day/18 I needed the help from a mathematician friend of mine who hinted me at gauss's area formula.
Maybe Advent of Puzzle would be a more apt name.
https://blog.carolina.codes/p/advent-of-code-2026
If you want to flex your brain we'll be giving away 20 tickets this year.
Or maybe using git primitives, fitting the computation using its data representations and functions. Or maybe bitcoin transactions (using a private simulated network obviously). How about going analog ? There must be something in my bookmarks about people using dominos or radio waves to do computation.
I don’t think google sheets itself was the limiting factor on solving more of the puzzles (but rather effort). There was something I found uniquely satisfying about working around a constraint like this to solve what probably would have been a single line of python.
https://www.reddit.com/r/programming/comments/1y9m6dd/commen...
Not too crazy, but still quite challenging and very different from the plain "run the python script" that most people do.
I started typing: 'struct BestSolutionSoFar {‘ and that Autocomplete suggested: 'entries: [(u64, u64); 3]' which looked suspicuously specific.
So I started to type a comment as test: 'let's help the elves ' and it went ahead and wrote the entire story of day #1. I think it guessed my intention from the crate name alone.
Totally sucked the fun out of it. It's impressive and creepy at the same time.
On the upside: I solved the same challenge for 'no_std' and 'const fn main()‘ and had quite some Schadenfreude, watching the completion fail on almost every line.
“I know Python and R” -> “use X and it’ll blow your mind”
The point of AoC for me has always been, and always will be (while it exists), to have fun coding. I don't want it to feel like work. I don't want help. I don't want to write a HLD doc, or a spec, or get around a whiteboard unless a bunch of us are going to have fun debating a solution.
It's just me and some code solving a fun little problem, and then another, every day a puzzle gets published.
It's joyous. IDEs rarely add to that.
It sounds like a lot but it's really simple, and the net effect is you get to just read the problem and go.
It's like constant roadblocks in my flow.
Or not, if that's your thing
- Settings > Tools > AI Assistant > Project Settings
Uncheck "Enable AI Assistant for this project"
- Settings > Editor > General > Code Completion > Inline
Uncheck the "Enable inline completion using language models"
Or set "Provider" to "None" and optionally uncheck "Use local model".
~ # vim main.c
:-)
Software has traditionally been hard and rapidly changing, which made it an economically lucrative skill to have. It is quite apparent now that AI is commoditising this skill. A good comparison is tailoring in the early 20th century, which shifted from a high-skilled craft to a mass-produced, low-margin commodity due to rapid industrialisation. There are more clothes being produced today at a higher quality and lower cost than ever before, yet “tailoring” as a skill has little to no economic value, and hence we have fewer tailors.
This is a convoluted way of saying money flows to bottlenecks and it is rapidly flowing away from writing code by hand. There will be more innovations and hence more value created by AI - but it will not be owned by people writing code.
That being said, like in the case of tailoring, there will still be a few passionate hobbyists who enjoy the bespoke art.
Anyway the first problems are always easy, the second day this time is a bit too easy, since it's basically the opposite of the first day: calculating a maximum becomes calculating a minimum, and it just required flipping two conditions on my code.
Starts off very easy as usual
https://forum.ada-lang.io/t/charity-advent-of-ada-spark-2026...
Day 1 gave me an opportunity to play with Python's `collections.Counter`, turns out it has a `.most_common()` method that you can use to return most frequent elements. Neat!
But that actually was fun.
But I actually think it can play an important role in two ways. First, as a reminder, specially to less technical people like myself, of the challenges and complexity involved in what we now take for granted.
Second, as a (re)spark of passion. People still journal with pen and paper, solve jigsaw puzzles, play solved games like tic-tac-toe with each other and paint portraits that will never match the "quality" of a digital photograph, and those activities are almost universally regarded as healthy and even romanticised a bit.
Maybe now that advent of code no longer works as much of an employability signal it can actually be purer, even if it's a bit sad that we won't ever again have the healthy and impressive (to me at least!) competitiveness of the pre-LLM days.
To me, intellectually challenging oneself is itself an employability signal. Not a requirement and not a guarantee, but a signal. When I hired for such roles, I would ask candidates if they had ever participated in Advent of Code, and if the answer was yes, that led down a whole other line of questioning around favorite problems, toughest problems, learning, etc.
We now look for candidates who practice a healthy work/life balance. We've found that our engineers are productive when they allocate time to their families and hobbies. While we don't penalize anyone for personal software projects or hackathons, we don't attribute much weight to them.
Another thing we've done is simplifying the interview process. We used to have 3 rounds, now there's a culture interview and a single engineering interview of about 2 hours. During the engineering interview, we ask people to review some code and collaborate with refactoring / feature expansion of a fictional project.
I'm not sure how scalable this is, but it has served us well so far.
If they want to waste their time putting claude to the task and having an answer in 30s, then that's their decision. It has no effect on people who want to undertake the challenge manually
I definitely feel bad for them, but maybe it’s time to revisit the utilitarian part.
I’m still doing advent of code by hand. But I also do a lot of baking, knitting, weaving, etc. I don’t see how hand coding is any more hollow than, say, knitting.
I don’t think LLMs change much in this regard. Though this year I’ll likely be using an LLM after finishing a solution to go deeper on the problems and algorithms to extend my learning.
It’s going to be really interesting to see the approaches and techniques of winning solutions with LLM assistance.
More excited for it this year than I was last tbh.
I still think it's important to know how to code. I still think a better programmer produces better software. I still think solving logic puzzles is good fun and good exercise for the brain, for which code is simply an expression medium.
If your instinctual reaction to Advent of Code this year is "what's the point?", you need to do a good hard think about why you feel this way, what got you excited in previous years, and whether your current reaction is well-calibrated to reality.
Don't let that take away the joy of self discovering solutions, or learning better algorithms/logic.
I myself cannot finish all the days, but its a very good learning experience, by self, aided by AI, or reading other developers solution.
Lots of the fun for me was solving the puzzles and then discussing them with others.
Less people doing them means it's less fun. The people doing them just reiterating what their LLMs said makes it less fun.
I think programmers are the proper level of demoralized. As are artists, musicians, writers and everyone else for whom human expression still means something.
Where you run into trouble is by visiting the leader boards and thinking about it as a contest. I did that my first time around and it ruined things for me. Now I realize that the whole format is not a great competition for typical programmers, since all the leaders wait for the exact instant each problem is released and then scramble to solve it within a minute or two.
That’s led me to dismiss the whole competitive angle and think about it more as a solo experience, which honestly fits the theme of advent calendar much better!
Like the purpose of many competitions is the social aspect and comparison. At my old job we used to do the advent non-competitively on our time, talk about the trick parts and the social value from that was beyond the coding.
You could say "hey you could still do that", but the issue is that you then need a majority of people taking the hard way and spending time on something that could be achieved in much less time, this is an activity that did not "define" most people but still brought them together because it was the only way to do something before the models
I’ve done the advent of code solo every time I’ve participated. I didn’t talk to anyone about it. Never felt the need.
If the social element of it is important to you, then fine. But I’m saying it’s not fundamentally a multiplayer activity, because I’ve enjoyed it just fine solo.
I should also point out that you don’t need to be a working programmer to participate. I am not one, yet I still enjoy programming as a recreational activity. The pressure to use an LLM is purely an economic one.
Look at it this way: the automobile replaced the horse in the vast majority of everyday uses. Everyone is under economic pressure to use automobiles (private or public transit) to get around in their daily lives. But if you are a person who enjoys horseback riding, I’m not gonna tell you to take a Jeep out onto the horse trails instead. Nor am I going to insist that you go riding in a group with other people. Riding can be enjoyed as a solo activity, just you and the horse.
It's like if 80% of the church congregation stopped showing up because they have Jesus through ChatGPT or something more efficiently. Sure the 20% is still there and will still like it, but for many a part of the fun was the pluralism of discussing solutions which then cross-pollinated into ideas and other adjacent things beyond AoC.
I enjoy solo running, and solo coding on AoC, every year I challenge myself with a new language. But it's just 1 less social thing to do share at work.
Almost certainly not, because there is no point in doing so. Solving AoC quickly with AI will not get you anything. You would just do the same boring thing you are already doing at work, but unpaid. It's like buying a sudoku puzzle book, only to solve all the puzzles with a sudoku solver. I makes no sense to spend the time and the tokens, as there is no reward in getting the answer itself.
You'd think so, but people also use AI agents to manage fantasy football teams, which is an entirely optional activity which only makes sense to do if you like doing it yourself. I'm sure there will be a lot of people solving AoC with AI for some weird reason.
Was already possible well before AI.
I can understand why AI kills the competitive part of AOC but if you do it the way you’d do a weekly crossword, a fun intellectual toy problem to solve then I see nothing different.
Hell you could use AI to have fun with it, you use your own code for the actual puzzle but use AI to visualise the problem for example or make an animation of your own code doing the work, seeing how it compares to super optimised solutions etc
On the other hand, the top comment here mentions AoC supposedly having been an "employability signal". Reading this forum these days, it does occur to me that I might have severely overestimated the share of programmers that like and enjoy programming. Maybe everyone really hated programming and only pretended to like it for economic advantage.
Fortunately, HN posters are not actually a representative sample of working programmers.
But I have almost never used awk, so don't blame it on AI brainrot! :)
I just can't resist the leaderboards, which means pulling the problems as soon as they are available.
This leads me to trying to perform maximally at 11pm, which leads me to not being able to sleep until my mind is less active.
Now I just have to wait until the whole thing is over and do the month all at once, with no competition.
My personal relationship with it aside, I love that it exists.
Picking up a competitive challenge at 11pm just wasn't working for me, but the actual competition was fun.
Today was great because I could use a python library for the busywork and the [-1] feature of list traversal.
Do all the negative people in the thread here and reddit also just take a picture of the Sudoku puzzle in their newspaper and as Grok to solve?
On a satirical side note, someone should release an Advent of Vibe Code, featuring, but not limited to:
- one-shot a new operating system kernel
- rewrite a bank's system in Rust
- build a spreadsheet where every cell is an autonomous agent
So, I can't play then?
Github is free and you'll probably need an account with them at some point, so why not register there?
Signing up isn't hard-- it's forcing people to sign up to "big company X" that is messed up. If you want me to sign up, let me choose a username/password.
Heck-- if it's not a big deal, you could create a public account usable by anyone for simply submitting answers, etc.
Guy posts a bunch of interesting chess puzzles
Here: Let's see what Stockfish can do
Of course you can use AI to solve the Advent of Code, but what's the point? That's not even a clever hack, it is the obvious thing, and there is no global leaderboard anymore, so you won't gain anything by doing that.
Maybe if you are a complete noob in AI coding and want to try it out, or maybe you want to challenge yourself with tiny models, but otherwise, wasting Claude tokens on it seem a bit childish.
BTW you can become a sponsor, too.
Besides, this very much seems a side hustle for the author. I really don’t get it why he even needs the sponsors. And what precisely are they sponsoring here.
A patreon, given the size of the project, is perhaps more than enough to cover all expenses. But then listing JPMorgan, Citadel and Jane Street as sponsor to a coding advent calendar is surely a statement. And also very good sponsorship package perhaps. One thing I know about such donors is they would not bother with small packages.
( I enjoy AoC a lot, but the first week is really just an exercise in typing speed. Or perhaps warm-up on the language if you're using one you haven't used before. )
The curious thing is, are other professions distributed in such a "long tail" way? Like, being of average (mean) skill, puts you significantly above the 50th percentile.
Perhaps if I knew more about construction or economics or something I'd notice it there too. Perhaps one has to be above the mean in skill in any given field to notice it?
I can only hope it works as a wake-up call, especially if you are supposedly a “senior engineer” or in any role “reviewing the AI slop”.
And if you use AI for these challenges…don’t bother. The leaderboard is gone. These are puzzles for people that care and love the craft.
Before then you can solve all the problems using the standard libraries of the common languages, but for that problem you had to use some specific tools, which make many of us feel disappointed.
[1] https://git.tronto.net/aoc/tree/2025/10/b.py
[2] https://git.tronto.net/aoc/tree/2023/24/24b.c
[1] https://en.wikipedia.org/wiki/Hauntology
Instead of asking people to solve a simple puzzle, you could ask them to implement the best object storage system, or the best compression algorithm. We could get some way more interesting competitions out of it.
Having said that, since I am language creator
https://desireco.github.io/zhex/advent-of-code.html
I will post solutions, but few days after. I use AoC to tweak and test my language features and to discover places how to make it more pleasant to use.
If you want something fun to do, try Zhex for your AoC adventure this year. It is pleasant to look at, compiles to Wasm and is fairly performant, a little slower then Go.
I should turn off Intellisense...
Or just use Notepad++ or something... Like a cave-person...
https://joshmoody24.github.io/skoobert/?example=advent-of-co...
All my co-workers use cocaine to get through their workload faster, I should learn how to use it too!
My boss has tried cocaine and now he thinks he can do everything so he fired the team.
Etc...
Edit: sub head for tail for the second half
Edit 2: you’re smarter than I am haha
A short, creative vibe coding puzzle. The first one is Slop Aquarium.
The AI labs always need more training data, and that dataset has good value: - the same problem with multiple solutions in various languages - authors are linked to leaderboard
Approximate any learnings along the way in a tight blurb."
I’d like to take a moment to imagine what the conversation would have been like in 2020. Discussing the actual content.
I agree that AI is too heavily discussed though. Before I think we'd have seen more discussion about the language people decided to pick up for the year, or such.
On that point, does anybody have an interesting setup? Previous years I tried to use something unusual as many days as I could, like SQL only or assembler or Prolog or something from the APL family. Usually would end up with a regular old procedural language in the later days though.
It can go surprisingly deep if you add some constraints.
How would you solve this if the input was always small (i.e. somewhere around 20 lines)?
Could you make your solution much simpler if you just had to find the single most common number in a list?
How would your solution change if you had to find the n most common numbers in the list?
How would you solve this if you had finite memory which meant you could only hold a given number of the unique numbers in memory?
a) With no local/disk storage, but the ability to rewind and reprocess the file as many times as you like.
b) With access to local/disk storage large enough to store a file or files with total size around the original input file size.
How would you solve this if you had to process the file as an input stream (i.e. you can't rewind or replay it) and output the answer every n input values? (But there are no memory constraints.)
...
All of the above have different nuances which mean what works for one does not work for another, or is complete overkill, etc.
In the Day 1 case, would the entities be the numbers and the component be their count?
Spending half an hour reading through insightful comments on a topic you wanted to know more about used to feel like an educational and intellectually engaging activity. Now that half the comments are some variation of "I just used AI to do this", though, not so much.
So frankly, what are you looking for? This is a thread about boomer coding academic problems. The easy blackpill response is to say "what is the point?". opus 5.5 can oneshot the answer for all 12 of last years problems in literal minutes.
I am responding as someone who has done AoC for 7 years now. I realize some have their full star boards but I am no noob. This is just the state of our industry and you begging the question and not addressing the elephant in the room is odd. People are not happy about their job security.
"If you want practice prompting an AI, there are almost certainly better exercises elsewhere designed with that in mind."
There is also this one with the same name but a different concept. https://adventofai.build/
What a strange analogy. AoC is delightful and fun. He might as well have used the dentist!
Oh well, different tastes I suppose :)
Granted, it's possible to do it at home, but for a lot of people the cost of a monthly subscription is a good motivator.
> achieving a new PR
I'm guessing this isn't 'pull-request'?
Eh, not completely, but it's certainly not as universal as GP implies; Hacker News is a filter bubble that selects against the kind of person who would enjoy it.
More to the point, enjoying the gym is an extremely common hobby, as these things go; Our hobby of enjoying tinkering with tech is the isolated, 'odd' one in comparison (Claude estimates it's at least 5-to-1)
There seems to be a lot of natural variation there.
In my case, I've noticed that on microdosing, my desire to exert physical effort is enormous, whereas while sober, my desire to avoid it is enormous.
https://i.dell.com/sites/doccontent/shared-content/data-shee...
That world is now. Wits, a form of intelligence, is for machines.
> Maybe it was never about the agents. Maybe it was always about us, arguing with strangers on the interweb.
It won't always be about us. Why do anything that can be automated? Just have an agent do it so you can spend more time mindlessly watch TikTok, as you were always meant to do.
Anyway, it will soon be pointless. Even if you try you'll probably just be arguing with someone's agent.
In the future there will be two distances between people: right in front of you and infinitely far away.
Wait till you hear about Meta glasses
HN has always been a place for self-important pseudo-intellectuals to lick the corporate boot while discussing the interesting technical challenges they solved when building a software that goes down the street to buy Hitler a pack of smokes.
You either make your peace with catching lots of downvotes and moderator attention, or you self-select out of here.
The agents do the work and we do the enjoyment.
For example, I don't feel angry that the elevator taking my job of lifting myself and my heavy items to the top floor. I don't think about it at all, really. Only when it breaks down do I think about it.
People feel accomplishment and pride in lots of things they don't directly labor over. Index funds performing, home equity growing, their sports team doing well, playing a video game, fantasy football, aging wine, etc. etc.
To the degree that the advent of code challenge can bring about a flow state [0] in a person, "the work" is "the enjoyment." For many folks, flow states are not found in what they do to earn money and so they perform activities dubbed "recreational" like rock climbing, snow sking, video gaming, etc. For folks with a certain mind, until the near future they could get paid to do what they enjoy, a wonderful Ikigai [1] condition.
0. https://en.wikipedia.org/wiki/Flow_(psychology)
1. https://en.wikipedia.org/wiki/Ikigai
No, AoC is for enjoyment. Pointing your agent at AoC is asking your agent to have fun solving programming challenges while you go do something else.
(Joke's on them, internet clout doesn't exist anymore because interacting with people has been outsourced to agents too.)
(Disclaimer: This comment was entire made up as a joke, on the spot)
https://github.com/josusanmartin/advent-25
why limit your self? anyone can learn to code
A real lack of creativity and willingness to update. There are still interesting problems that would challenge a human working with a coding agent.
It's a dude making interesting problems for humans for free, if you don't like it, well then just don't do it. I'm sure someone else can make 12 days of vibecoding if they want.
You make it sound as if there is no choice. You can participate in AoC and solve the puzzles yourself.
Previously these were quite similar to work, and I might as well just work a bit instead. Now that work is mostly AI-assisted, these become a nice distraction.
It makes no sense to continue this since the cheaters will just spoil the point of it all.
EDIT: There we have it. The truth is, at least one person is going to use AI and then will eventually ruin the answers for everyone.
Genuine question: How does one "ruin the answers?" You'd have to go out of your way to find solutions. If someone is doing that, they didn't to begin with. It's a fun puzzle, for fun, because I miss having fun writing code.
The leaderboard doesn't exist anymore.
99.99% of users did not. If you did, I am sincerely sorry for the loss of your hobby of speed-coding. It is gone. I am kind of nostalgic about the early mornings were I tried to go for the top spot of my private leaderboard. But oh well, nothing lasts forever.
I turn it off on the LinkedIn puzzles, as I just want the fun of doing the puzzles.
I'm on some AoC private leaderboards but I never looked at the global leaderboard, and I'm glad it's now gone.
I'll therefore continue to have fun, and not care about the people using AI to solve what are relatively straightforward coding puzzles.
If somebody boasted to me about using AI for AoC, I'd just make a note to never work with that person if I could possibly help it. I'm serious: you'd have to be a psychopath to do that.
Like, it's a challenge for _fun_ for humans.
What is the point of "auto solving" it by AI, I mean sure for work that makes sense, but for a hobby programming challenge????
If somebody mentioned AoC to me in an interview (and arguably leetcode actually), I'd start asking probing questions and I'd expect to hear answers about having fun solving tricky problems and to hear about appreciation of whimsy in coding. I want to hear about people doing this stuff for fun when they invoke fun things like this.
If they can't bring all that to my follow-ups, they're not going any further in the process.
(Like seriously if neither by statement _nor context_ you can differentiate a statement between sarcasm/human then it isn't really either of it but plain bad communication instead. Yes some people will sometimes miss clues, but here there is pretty much no clue, at best you can maybe barely argue the demanding tone instead of a question "if there is ..." could be barely seen as clue.)
Is not on elaborated on, on the linked site. You can't expect people to know about more or less niche drama from >1 year ago.
> absurdity of OPs comment
but is it? Sure maybe it should be.
But with how things are developing people asking for MCP interfaces or AI-skills for more or less everything is becoming increasingly normal.
but not where the link leads nor in any place you can reasonable expect someone to read which hasn't played/is intending to play AoC
arguing that it's "somewhere" behinds links on a website is completly missing the point
Some guy was asking "Wait, what if I summon it, and then get on a train? What happens then?"
To which the only legitimate response is: why are you trolling your car?
It's fun sometimes to think about how to optimise or find an edge case, or do something others haven't.
But please, with AoC, let's leave all the AI at the door and just go and have fun for a couple of weeks.
There's probably more content about this on HN if you search for it