[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 12.png (45 KB, 1679x242)
45 KB
45 KB PNG
Eric has failed us, he has literally one job, and that is to provide 25 puzzles, per year, on schedule. Now it's only a 12 day challenge, how can you even call that "advent" of code, which is supposed to count down to Christmas. I am outraged, and you should be too. What if Santa's elves just decided to stop making half the toys??? Ridiculous.

>Also, starting this year, there will be 12 days of puzzles each December.

>Why did the number of days per event change? It takes a ton of my free time every year to run Advent of Code, and building the puzzles accounts for the majority of that time. After keeping a consistent schedule for ten years(!), I needed a change. The puzzles still start on December 1st so that the day numbers make sense (Day 1 = Dec 1), and puzzles come out every day (ending mid-December).
>>
>>106969369
Around day fifteen it starts getting rather tedious and the puzzles convoluted to fit the story.
>>
>>106969416
After day 15 is when the actually fun puzzles start to appear. Everything has to be dumbed down for morons I guess. Hopefully I'm wrong and it's 12 excruciatingly painful puzzles.
>>
>>106969369
Seems like a good change and better for students. I haven't participated in the last 2 years because the puzzles weren't interesting enough and didn't have time for later ones. They really aren't interesting before that point anyway so 12 is just right.

>>Will the difficulty curve of the questions remain as it is today? Will day 12 be as difficult as day 25 previously? Or will the difficulty now be equal to roughly the first 12 questions in previous years?
>I'm still calibrating that. My hope right now is to have a more condensed version of the 25-day complexity curve, maybe skewed a little to the simpler direction in the middle of the curve? I'd still like something there for everyone, without outpacing beginners too quickly, if I can manage it.
>>Quick question: Will there be 2 parts per day or could there be days with 1 part or even 4 parts?
>I'm currently planning 2 parts per day (but I reserve the right to some day have a 37-part puzzle!)
>>
It better the most ball busting, ai destroying problems on earth.
>>
>>106969536
Don't get your hopes up.
>no consideration is made for whether AI can or cannot solve a puzzle.

Full response:
>Should I use AI to solve Advent of Code puzzles? No. If you send a friend to the gym on your behalf, would you expect to get stronger? Advent of Code puzzles are designed to be interesting for humans to solve - no consideration is made for whether AI can or cannot solve a puzzle. If you want practice prompting an AI, there are almost certainly better exercises elsewhere designed with that in mind.
>>
Is there an Advent of HDL?
>>
File: jeetdetect.jpg (37 KB, 512x512)
37 KB
37 KB JPG
>While trying to get a fast time on a private leaderboard, may I use AI / watch streamers / check the solution threads / ask a friend for help / etc? If you are a member of any private leaderboards, you should ask the people that run them what their expectations are of their members. If you don't agree with those expectations, you should find a new private leaderboard or start your own! Private leaderboards might have rules like maximum runtime, allowed programming language, what time you can first open the puzzle, what tools you can use, or whether you have to wear a silly hat while working.

The good thing about the /g/ board is that it's autist enforced, so suspicious times from jeet will be caught.
>>
>>106969748
Not that I know of, but the IntCode puzzles map well to an FPGA.
>>
File: 1752251442886395.png (254 KB, 1020x948)
254 KB
254 KB PNG
>>106969369
Are there any programming puzzle sites similar to AoC in that they don't invest extra effort to hide input from you and only require output as an answer and are thus fully language agnostic?
I only know project euler, which is also fun but obviously more geared towards math.
> "muh leetcode, muh codeforces, muh judges, muh competitive programming, muh leaderboards"
No interest. I just want to solve puzzles in my obscure esolangs for fun and learning.
>>
>>106969468
Praying for this. i actually like having something to wake up to every day but I'd never stay up til midnight to do them. If they're spaced out, I might have more of a chance.
>>
>>106970039
Isn't that more or less what the Big Boy input files posted here accomplish?
>>
>>106969369
So it's true. Year 10 was the last year of advent of code.
>>
>>106970078
He could also have just spaced out Part1 and Part2. His wording about the puzzle ending in "mid December" is curious, why not just say December 12? Maybe he's skipping some days?

Maybe Eric converted, and is now unable to operate a computer on the Shabbat, so there's no puzzle on those days. Hannukah starts on Dec 15, did Eric need to get everything out of the way before that starts? As you can see from the evidence, this is clearly a Jewish conspiracy.
>>
>>106970096
Those are nice. But just an add-on to the existing aoc puzzles.
I mean a different site that just works the same as aoc and Euler.
>>
>>106970039
https://everybody.codes/
Their puzzles start in November
>>
>>106970104
Year 10 sucked. It was far too easy.
Looking at the Q&A the reason just seem to be that Eric is a commie faggot who can't handle the stress of people not being playdo clay
>>
>>106969369
if the puzzles are all good and insightful then sure quality > quantity
>>
>>106970307
>everybody
Seems a bit inclusive.
>>
>>106969749
>>While trying to get a fast time on a private leaderboard, may I use AI / watch streamers / check the solution threads / ask a friend for help / etc?
All of this would slow down the people who are really fast.
>>
>>106970349
>Seems a bit inclusive.
Every day has three parts. One for idiots, one to confirm you didn’t just look at the input and solved it in your head, and one’s the real deal.
20 datys x 3 parts is 30 puzzles. And unlike Eric Fagstl they add even more puzzles throughout the year in mini 3x3 stories.
>>
>>106970410
Sounds good, I'll check it out.
>>
File: 20251019_192326270.webm (3.1 MB, 480x270)
3.1 MB
3.1 MB WEBM
Maybe I can complete all days in assembly this year.
>>
File: day7gba.webm (631 KB, 882x372)
631 KB
631 KB WEBM
>>106970643
This is basically the same code as my solution for GBA from last year.
Only 240x faster.
>>
>no comfy /g/ christmas thread
FUCK
Hopefully the puzzles are more interesting to make up for it, if it's 12 of the best puzzles then I can't really complain I guess.
About time the global leaderboard was nixed. Sucks to not have global points but I never had much of a chance past 2018 with how popular AoC got.
>>
>>106970740
The fun is shitposting here anyways.
>>
File: 1702289120592492.png (1.37 MB, 1440x1080)
1.37 MB
1.37 MB PNG
eric wtf I cant point fingers since I have perma low energy too but wtf
>>
>>106970844
He probably took the vax, and suffers mental fatigue.
>>
>>106970898
that is moreof a result of having actual covid (possibly several times) and not the vaccine
>>
>>106970844
I'll finish shuffling my cards sometime.
>>
>>106970906
Get vaxed for strain A, immune system wiped out for strain B. Many such cases.
>>
>>106970915
you are possibly unwittingly spreading propaganda by business owners and air travel who hate WFH/distancing and dont want people to realize just how bad hanging out in badly ventilated open office environments with dozens of others for hours and hours every day during flu season is going to be in the long run
>>
>>106970844
it means you probably have an integer overflow in your program. turn on UB sanitizer if available on your platform. I think MSVC has an equivalent /RTC thing that checks overflows.
>>
>>106970932
Confess, how many boosters did you get?
>>
>>106970944
>overflow
I meant underflow.
>>
>>106970944
This has to be a bot, right? Why answer the question?
>>
>>106970956
>Why answer the question?
why not?
>>
>>106970915
>Get vaxed for strain A, immune system wiped out for strain B.
That's not really how that works.
>>
>>106970307
I'll take a look, thanks
>>
/aocg/ memes ranked by retardedness:
1. unwashed ass
2. showtime cancer music
3. FUCK
4. the dog fucker namefag
5. retards not being able to read and then blaming eric
6. retards coming into the threads and LARPing as non-neets who are too busy getting paid 100 bucks / hour to waste their time doing AoC
7. retards claiming that you aren't filtered if you've spent more than 1 hour on a problem or if you've looked at other solutions
8. code screenshots with tranime background
9. big boys that change the rules of the problem
10. code screenshots made with carbon without disabling window controls
11. calendar
12. cniles posting their shit code with fixed sized arrays, integer overflows, etc.
13. quirky solutions (e.g. excel)
>>
>>106970039
https://easters.dev/
For the easter weekend.
>>
I HATE stupid people.
Eric was asked this on reddit:
Will the difficulty curve of the questions remain as it is today?
>I'm still calibrating that. My hope right now is to have a more condensed version of the 25-day complexity curve, maybe skewed a little to the simpler direction in the middle of the curve? I'd still like something there for everyone, without outpacing beginners too quickly, if I can manage it.

Skewed to the simpler side for the dumb masses.
>>
> What happened to the global leaderboard? The global leaderboard was one of the largest sources of stress for me, for the infrastructure, and for many users. People took things too seriously, going way outside the spirit of the contest; some people even resorted to things like DDoS attacks. Many people incorrectly concluded that they were somehow worse programmers because their own times didn't compare. What started as a fun feature in 2015 became an ever-growing problem, and so, after ten years of Advent of Code, I removed the global leaderboard. (However, I've made it so you can share a read-only view of your private leaderboard. Please don't use this feature or data to create a "new" global leaderboard.)

I don’t mind this so much. As long as the private boards work as before, it should result in a reduction of jeets cheating for status.
>>
I wonder if rank is still going to be tracked at all, I guess probably not if they're stripping out the global leaderboard infrastructure
Was always nice to see on the submission page whenever I got sub-1000
>>
>>106969369
>Eric has failed us, he has literally one job, and that is
and how much does this job pay?
>>
>>106971942
https://adventofcode.com/2016/sponsors
https://adventofcode.com/2017/sponsors
https://adventofcode.com/2018/sponsors
https://adventofcode.com/2019/sponsors
https://adventofcode.com/2020/sponsors
https://adventofcode.com/2021/sponsors
https://adventofcode.com/2022/sponsors
https://adventofcode.com/2023/sponsors
https://adventofcode.com/2024/sponsors
>>
12 days * 2 puzzles? why not do 24 days * 1 puzzle
>>
Holy shit, this dumb retarded faggot just broke all of my tooling with this retarded change.
Now I have to look at my absolutely disgusting spaghetti code I wrote 8 years ago and modify it without breaking everything.
>>
File: 1564928678768.png (739 KB, 749x764)
739 KB
739 KB PNG
>>106972020
>tooling
My tooling consists of Ctrl-A/C/V/S.
The 3 extra seconds it takes won't matter for my leaderboard position much. Not that it exists anymore.
>>
>>106970307
Wait, does it display your username and COUNTRY automatically? Is there a way to hide those? I'm not playing if I have to see the flag of my shithole.
>>
>>106971272
>9. big boys that change the rules of the problem
I'm still mad about the file system with zero size files taking up space
>>
>>106972111
You can hide them
>>
12 parsers instead of 25 the end is nigh
>>
>12 days of Christmas
>Not actually on Christmas
I bet Americans don't even know why it's 12 days.
>>
>>106972345
I like parsing. Or well, I don't like the parsing part but I like the part where I decide on the best way to structure my data to make solving the tasks more convenient.
>>
If you need regex to parse a text you're a fucking moron! *CLAP CLAP*
If you need regex to parse a text you're a fucking moron! *CLAP CLAP*
It's not that its bad or has no uses,
it is just that it allows you to be incompetent
If you need regex to parse a text you're a fucking moron! *CLAP CLAP*
>>
>>106972364
The 12 days of Christmas are the twelve different days just before Christmas starting at December first where Jesus 12 different diciples arrived at the stable where he was born.
>>
>>106972409
wrong
>>
>>106972415
I think you need to read the bible more then, my friend. It says clearly that Jesus had 12 diciples
>>
>>106972393
Hello ESL
>>
>>106972393
what? why?
show solution to day 3 on 2024. is it possible? sure? but the regex solution is easy as fuck.
>>
File: solve.png (434 KB, 5600x3062)
434 KB
434 KB PNG
>>106972519
skill issue
>>
>>106972524
or you could have just tokenized it with a regexp engine and not fiddle with it.
>>
>>106972664
I don't have my solutions accessible to me but I whipped this up in python in like, 5 minutes and most of that was remember re isn't like Google RE2

import re

reg = re.compile(r"""
(?P<do>do\(\))
|(?P<dont>don't\(\))
|(?:mul\((?P<num1>\d{1,3}),(?P<num2>\d{1,3})\))
""", re.VERBOSE)

with open('input/03', 'r') as f:
inp = f.read()

p1 = 0
p2 = 0
toggle = True

for m in reg.finditer(inp):
print(f"{m}")
if m.group('do'):
toggle = True
elif m.group('dont'):
toggle = False
else:
n1 = int(m.group('num1'))
n2 = int(m.group('num2'))
n = n1 * n2
p1 = p1 + n
if toggle:
p2 = p2 + n

print(f"p1 {p1}, p2 {p2}")
>>
>>106969369
I'm hoping the puzzles become more clever
>>
>>106972664
>just pull in 200 kloc just to tokenize the input of some stupid little puzzle
no thanks
>>
>>106969369
>Advent of Code: Only 12 days
thanks Eric, won't participate this year then.
>>
>>106971961
so Eric got greedy, more sponsors == less days
>>
File: aoc24_03a.png (159 KB, 858x1136)
159 KB
159 KB PNG
Apparently we've had this discussion before, since I have a solution in C for this puzzle only
>>
>>106972823
see >>106971272
>12. cniles posting their shit code with fixed sized arrays, integer overflows, etc.
>>
>>106970740
>About time the global leaderboard was nixed
This. The leaderboard was completely irrelevant to like 99.999% of users anyway.
Also the leaderboard autism led to Eric wording the requirements in a retarded roundabout way due to AI paranoia (mind you AI still got people on the leaderboard), so it made the experience worse for everyone.
>>
>>106972860
it was funny when the problems actually required braincells and the AI got shrekt though.
>>
File: its over.png (370 KB, 549x450)
370 KB
370 KB PNG
>>106969369
>12 days
what the fuck bros its so over
eric has been phoning it in and pandering to the reddit shitters more and more and now hes not even trying
>>
>>106969369
>After keeping a consistent schedule for ten years(!), I needed a change.
people have completely lost the concept of passing the torch. i blame boomers for this.
>>
which puzzle last year had the christmas tree in the simulation?
>>
>>106972838
can you point to the fixed size arrays or interger overflows in this code? or are you just a rust troon that seethes every time they see evil racist white man code?
>>
>>106973096
>
char buffer[BUFFER_NN]

........
>>
>>106969369
>After keeping a consistent schedule for ten years(!), I needed a change
BULLSHIT
NO ONE'S EVER DONE SOMETHING FOR 10 YEARS AND THEN THOUGHT "YOU KNOW WHAT I SHOULD STOP"
5 YEARS MAYBE
NOT 10 BY 10 YEARS IT'S PART OF YOU
>>
>>106973096
seething cnile spotted, lmao
>>
>>106973054
found it
2024-14
that problem was both fun and annoying since he never defines what a christmas tree is.
>>
huh? he even removed the global leaerboard because it's too much stress for him.
>>
>>106972519
What does the word "need" mean to you?
>>
>>106973113
You know what you should do? Send him pictures of Santa, elves, reindeers, a christmas tree, wrapped gifts, food, everything
And everything beign sliced in half with a chainsaw, and there's blood and guts everywhere.
>>
File: aoc03.png (268 KB, 1280x2754)
268 KB
268 KB PNG
>>106972519
hmmm
>>
are you ready to get TWONED
>>
>>106973787
LoL



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.