[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 / qa] [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

[Advertise on 4chan]


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: advent-of-code.png (90 KB, 856x253)
90 KB
90 KB PNG
We're one week out
>Are you preparing for it?
>Have you done it before? How did you go?
>What language are you going to use? Why?
>What is your personal goal? High ranking, new language practice, just fun?
I'm thinking of trying out Zig this year
>>
File: 1630540329711.jpg (129 KB, 1080x1349)
129 KB
129 KB JPG
i'm excited and will do everything in lisp this year
>>
>>84457532
ran out of steam around day 15 the last two years
this is the year i go all the way
using python because im by far the most proficient in it
>>
Never understood the hype behind AoC. Why not just do something practical you have been putting off or if you just want to do algo puzzles just do some leet code, at least that has the side effect of getting you passed technical interviews.
>>
>>84457615
because its *fun*
>>
>>84457532
>Are you preparing for it?
>Have you done it before? How did you go?
First I'm hearing of it, sounds like a fun idea
>What language are you going to use? Why?
Probably go
>What is your personal goal? High ranking, new language practice, just fun?
The latter two
>>
>>84457615
Some people get into CS because it’s fun
>>
>>84457615
technical interviews are just for unemployed people, lmao.
>>
>>84457615
Practical stuff is good but it's nice to be able to just churn out a solution to a hard problem without having to worry about other shit. It's a nice reminder that cooding itself is fun, even if it's a soul rending career choice.
>>
>>84457645
The first two questions from 2020 are literally warm-up interview questions that got a cutesy text story and geek chic attached.
>>
>>84457655
> even if it's a soul rending career choice.
The pay is good and we get to work remote, if you arnt shit you can get the work done in 2-4 hours a day. What’s there to hate?
>>
>>84457776
I am not exaggerating when I say that Scrum has caused me to ideate suicide.
>>
>>84457810
It’s time to switch companies bro. Also you can’t be taking the scrum masters seriously. You can’t save a codebase.
>>
>are you preparing for it
Yeah, I spent a couple of hours setting up my workflow software again. It'll be a tiny bit awkward for puzzles 1-2, but easy as from then on out.
>what language, why
the needful, because I enjoy it
>goal
finish every puzzle before I sleep, for as long as I can.
I hope that nigger eric doesn't cop out and offer a bunch of baby puzzles again.
>>
I burned out on 2020 after trying to do it in ANSI C. Wasn't bad until it became all string parsing shit. Might try again in Python and actually think about the problem and not how to parse strings without regex.
>>
I did up to like 15 days last year and it was enjoyable and all but by day 10 it was starting to take up way too much of my time. I think I'll do what >>84457615 said instead and only join again when I really have the free time.
>>
>>84457615
I got my job through Advent of Code 2018
>>
i'm not preparing
i've done parts of it before, but never finished
i'll probably use go, or maybe i'll try something new to me like ocaml
meh
>>
hopefully no trannies or calendar autism this year
>>
File: catnado.webm (2.61 MB, 960x1706)
2.61 MB
2.61 MB WEBM
>>84457532
>Are you preparing for it?
No. It's a better test of your ability if you don't study for it. I have looked at a few problems from 2020 though. You may find them here:
https://adventofcode.com/2020
I could do any of the challenges that it showed. I know it's also a timed thing, so it's not enough to do them because you also have to do them fast. I'm way too baked to program good and fast.

>What is your personal goal?
I want to participate to see what jobs are displayed and advertised. These events are like job fairs but better. Too bad I just got a really nice job in cybersec.

REMINDER TO ALL: THERE ARE JOB REFERENCE LINKS AS AD POSTINGS ON ADVENTOFCODE, CHECK OUT THE LINK ABOVE IN THE PROBLEMS TO SEE IT. IF YOU ARE LOOKING FOR A JOB, ADVENTOFCODE MIGHT BE THE PLACE TO GO!
>>
>>84458359
>no trannies
Coding is full of pedos and trannies, they infect everything. Just be mean to them IRL and they may kill themselves.
>>
>>84457532
>new language practice
I want to unironically solve it all with powershell
>>
>>84458394
I want to see this, please do it
>>
>>84457916
Really anon? Damn, I was hoping I could do it in C
>>
>>84458454
Powershell is actually very powerful and perfect for challenges like the ones in AoC
>>
>>84457776
>The pay is good and we get to work remote, if you arnt shit you can get the work done in 2-4 hours a day. What’s there to hate?
The feeling of doing literally nothing for "good pay". I don't know, it's soulless and I never get to work on problems nearly as hard as AoC stuff. My workplace had a slack channel for AoC last year and I was the only person to even make it past day 10.
>>
>>84458525
I did a bash pipeline solution for the first few last year. Not bash scripts, end-to-end pipelines. Pretty nasty but fun as a challenge.
>>
>>84457615
I've never done them at the time they're released.
I just do them later in the new year when I feel like solving a programming problem.
>>
>>84458547
here's day 1 from last year in a pipeline
eval "echo {`sed "s/.*/&+/g" < input
| tr '\n' ','`}
{`tr '\n' ','` < input }"
| tr ' ' '\n'
| grep '[0-9]+[0-9]'
| tee additions
| bc | nl | tr '\t' ' '
| grep "2020$"
| cut -d' ' -f2
| head -n 1
| xargs head additions -n
| tail -1 | sed 's/+/*/g' | bc
>>
>>84457755
I got bored last year because the puzzles were so mundane
>>
>>84458465
>>84457916
Doing those challenges in C is a meme anons. C is too low-level to be really effective here.
>But C is fast
Using C or C++ is good if you really know it, but it's still far slower than Java or Powershell in terms of how long it takes to actually write a program. Higher-level programming languages are for high-level problems like AoC.
>But I can write it fast in C or C++
I can't. It would take me forever in C++.
>But what if you need a lot of speed and your database is really big?
That's a use case for C++

>you DO need a good way to parse strings
Of course you do. That's why I'm using Java. Python, Java, or Powershell can easily use regex. You could easily implement those in high level languages.
>>
>>84458569
I'll give you some credit, not even I can read that
who am I kidding I'm just doing it all in Java
>>
>>84458612
it's not about being effective most people aren't competing for the ranking they want to try a language or paradigm they aren't used to and compare their solution with others
>>
>>84458640
Powershell is cool, and you can combine bash with any other programming language so that's the best thing to do really
>>
>>84458548
Seems like a reasonable approach. The ranking race and the time commitment (especially during the holiday season) just seems like turbo autist to me, and that is coming from an autist.
>>
>>84458661
i am going to solve them in powershell
prior to the event starting, im writing some skeleton scripts like
>read list file into array
>>
>>84458669
checked but the ranking race is good for job searchers, nothing better for the holidays than a fresh job offer
>>
You DID already create your input downloading and answer submitting shell scripts, didn't you anon?
>>
>>84457532
Last year was so fucking boring, challenges way too easy, will it be like that again?
>>
>>84457615
I do programming for fun.
>>
>>84458380
>I have looked at a few problems from 2020 though.
Have you looked at any of the second parts to those problems?
(And 2020 was pretty easy compared to 2019 and 2018).
>>
>Are you preparing for it?
Will be doing it. Not really "preparing".
>Have you done it before? How did you go?
Did it in Elixir two years ago. Got about halfway through before feeling like I learned enough, and losing enthusiasm.
>What language are you going to use? Why?
Going to try TypeScript this year, because I've worked with it super minimally, twice, and liked it.
>What is your personal goal? High ranking, new language practice, just fun?
New language practice, which for me is a kind of fun.
>>
ive forgotten basically everything i learned last year so gonna try to learn the language again
>>
File: Capture.png (11 KB, 312x324)
11 KB
11 KB PNG
>>84457532
fucking hell these threads pop up earlier and earlier every year
at least wait until within a couple days before starting a general
>>
>>84457634
>>84457643
>>84457645
>>84457655
>>84458054
>>84458195
>>84458548
>>84459703
So it's one giant codelet cope?
>>
>>84457532
I'm not a mutt so I can't really fight for za high ranking. So I'm doing it for language practice and fun.
I'm probably gonna use zig or nim this year, as last year I've used rust and I'm in love with it.
>>
>inb4 advent of parsing again
2017 still remains the best year.
>>
Can someone share the prompts somewhere this year? I don't care about leaderboards and I don't want to make a reddit account or whatever the fuck.
>>
>>84459416
wtf...do y'all actually do this? i am a normie
>>
>>84459855
retard
>>
>>84459858
only autists
>>
File: friendly_lion.webm (1.82 MB, 576x720)
1.82 MB
1.82 MB WEBM
>>84459416
If you did this, and you show me, I will post my answer here for the first few questions
serious trade deal
you may have this gif for free
>>
>>84459877
retarded dubs of truth
guys I just popped my neck for the millionth time and think I hurt it...
If I die, I died hacking.
>>
>>84457615
You get to discuss challenges with anons.
>>
>>84457532
>Are you preparing for it?
No, I wanna see how much I've naturally improved in the past year
>Have you done it before? How did you go?
Last year, I got filtered about half way through.
>What language are you going to use? Why?
C because it's the one I've been using the most recently
>What is your personal goal?
Get as far as I can while learning
>>
>>84459823
Pretty much, yes.
If you program for a job then there's nothing here for you (hopefully).
>>
>>84459858
He's probably teasing but never underestimate an autist. Those who actually want to win would stop at nothing. Of course, I think it's fair only if you don't have such scripts to begin with, but then again checking what was on the challenge last year is hardly a handicap is it?
Those scripts can't be too hard to write, yet have little to do with the challenge. You should solve them for practice, or try to at least.
>>
>>84460047
As a Cnile, your goal is experience. I respect.
I'm doing the same thing but with PowerShell
>>
>>84460067
>>84459416
>>84459858
>>84459877
>>84459994
Writing such a script is good practice but has little or nothing to do with AoC correct? It's a whole different discipline of knowledge...
Answer submitting scripts, eh? L33tness
>>
>>84459868
Why am I retarded?
>>
>>84460144
Economic factors
>>
>>84459841
This. Most of the pronlems were laughable as long as you kept reusing your parsing code.
>>
I was going to do it in APL, but I'm not comfortable enough with it yet. Same with C. I'll just do it in Common Lisp, which is my strongest language.
>>
File: 1607755532668.jpg (135 KB, 680x667)
135 KB
135 KB JPG
Gonna keep doing it in sepples
>>
good fucking luck anons, hope you got your intcode radar dialed in on sea monster frequencies.
>>
>>84457532
>implying I have time to code after no nut november
lol
>>
>>84461494
cooming is bad, anon. cooding is better.
>>
>>84457532
>Are you preparing for it?
i'm not a faggot
>Have you done it before? How did you go?
2020 in haskek, finished all
2018 in scala, finished all
>What is your personal goal?
learn the language enough to be comfortable solving some puzzles and golfing the solution
this year i want to try idris2
>>
prepare how?
imma use hare, perfect self-contained setting to check it out
>>84457558
this sounds fun as well
if a day lends itself, maybe i will write a simple scheme interpreter and use it to glue together the heavy lifting parts
>>
>Are you preparing for it?
No
>Have you done it before? How did you go?
I did 2019 and 2020 with /g/, and worked through all the older puzzles during the past few years
>What language are you going to use? Why?
Probably Nim since I want to practice it, or maybe C because autism
>What is your personal goal? High ranking, new language practice, just fun?
Finishing each puzzle within 24 hours

2020 was a bit easy so I hope the puzzles will be more interesting this year.
>>
>>84461494
>>84461524
cooming and coding work synergistically
code until you're losing focus/get frustrated, take it out on your dick to clear your head and regain energy
>>
Someone post the filtering timeline from last year, I lost it
>>
>>84461603
>>
>>84461603
>>84461616
also this
>>
>>84461616
based iToddlers
>>
File: calendar2020_90pc-min.png (2.89 MB, 5306x2898)
2.89 MB
2.89 MB PNG
last years calendar
>>
File: 1607463364657.png (1.9 MB, 1280x960)
1.9 MB
1.9 MB PNG
>>
>>84461652
For as much bitching and mental illness trannyposting that went on concerning last year's calendar, looking back it has acquired sovl
>>
>>84461690
because some autist ignored everyone and made his own kek
>>
Im too stupid for things like this
>>
>>84461715
Don't get filtered a week before it even begins bro
>>
>>84461616
>me making the finish line
What a scam.
>>
>>84457532
> >Are you preparing for it?
Not really.
>Have you done it before? How did you go?
No.
>What language are you going to use? Why?
My friend is going to pick a memelang for me. I'll have to learn it as I do tasks.
>What is your personal goal? High ranking, new language practice, just fun?
Me and my friend are going to pick memelangs for each other and see who gets filtered first. I am probably picking GNU Smalltalk for him.
>>
>>84462065
i wish i had a friend like you. wanna be friends, anon?
>>
>>84462129
That cunt is seriously considering cmd for me. I am thinking about your offer at this point.
>>
does your code have to be efficient or does it just have to work? i've never done AOC before
>>
>>84462242
just has to work
you submit an answer/solution to a problem not your code
>>
>>84462242
>>84462265
sometimes the problems are written so that an inefficient algorithm will take forever to calculate it though
>>
>>84462242
Just has to work, though the puzzles are sometimes designed to take obscenely long if you use a retarded approach.
>>
File: 1565268942964.jpg (56 KB, 600x505)
56 KB
56 KB JPG
>>84462277
>>84462281
>inb4 people get filtered for not using hashsets again
>>
>>84462265
>>84462277
>>84462281
>>84462298
fug, i better learn about algorithms fast then
>>
>>84462242
>>84462481
Anons will also tend to make and share a bigboy input which is significantly larger than the input you receieve for the actual question, so any poorly optimised solution will be unable to spit out an answer in any reasonable time.
>>
>>84462298
I passed it. What's a hashset?
>>
>>84462515
A data structure that takes a constant (short) time to search for entries in, as opposed to an array where you have to iterate through every entry until you find a match
Also called a set or dictionary depending on the language and variant
>>
File: 1632576705190.jpg (54 KB, 900x720)
54 KB
54 KB JPG
>>84457532
>AOC time comes
>do 5 problems
>all further problems are too hard for me
>give up
Nobody would believe me if i told them I work as an embedded systems engineer and write safety critical code
>>
>>84462684
I don't want to believe you.
>>
>>84457532
>Preparing
No, I already got everything I need
>Previous experience
Did not finish previous 2 years, life got in the way.
>Language
Maybe JS with Deno or Java, since I've the most experience with the two. Might try something else for a change.
>Goal
Just surviving the entire thing.
>>
File: 1634618462822.png (98 KB, 640x480)
98 KB
98 KB PNG
Got 17 days in last year but had to stop because I had to study for finals (I'm a codelet so thinking up solutions took up way too much time). Then, after finals ended, I lost the motivation to continue. This time, however, I want to make it to the end just as a personal goal. Playing AOC singlehandedly improved my Python 10-fold so I'm excited to play it again this year as well as maybe switch to OCaml (I'm taking a class involving it next semester and a head start like this would be nice) but I'm worried it would take too long to do string parsing.

Anyone with past experience doing AOC in OCaml care to comment on the difficulty?
>>
>>84462935
very easy
all functional languages are at the very least great for parsing
>>
>>84457532
Je pense essayer Zig aussi, maintenant que tu le dis. Zig ou OCaml.
>>
>>84462065
He picked 6502 assembly for me, I picked ReasonML for him. I am a severe disadvantage here. Pickrelated were his choices, he then just picked with a randomizer. Looking forward to being filtered day one.
>>
brainlet here, you won't laugh at me when i share my convoluted retarded solutions right?
>>
>>84463940
That's where the fun is at. Being retarded, sharing it, and having a laugh.
>>
File: s1590006518.7294466.png (742 KB, 792x645)
742 KB
742 KB PNG
last year fucking sucked. the problems were mostly shit except for day 20, finding those dang old sea monsters.
I think he was tired of coming up with puzzles so he took the year off last year.
Hoping he brings it this year. So many good feels:
https://adventofcode.com/2018/day/17
https://adventofcode.com/2019/day/20
https://adventofcode.com/2019/day/18
https://adventofcode.com/2019/day/15
https://adventofcode.com/2019/day/24
There was one where you make the intcode machine play breakout. Fuck that was cool.
hoping for some good maze shits
>>
>>84460016
I don’t have the patience to discuss with retards trying to wrap their heads around the Chinese theorem when they already struggle with hello world.
>>
File: file.png (8 KB, 502x290)
8 KB
8 KB PNG
>>84457532
>Are you preparing for it?
Depends on what you mean by preparing. I haven't been preparing specifically for Advent of Code, but I have been preparing *something* for it.
>Have you done it before? How did you go?
Was top-10 in /g/ and other leaderboards. Got in global top 100 in a couple days last year.
>What language are you going to use?
zigSelf. It's an implementation of the Self programming language in Zig that I've been working on for the past 3 weeks or so. So far I've been able to solve AoC 2020 day 1 part 1 in it, I'm currently working on being able to solve more days and puzzles and expand my standard library by figuring out what I need. I'm also working on performance (because it's slow, pure Self linked lists are not performant lol, pic related).
>Why?
I've been meaning to implement Self for a long time. It speaks to my autism. It's the grandfather of JIT, where Javascript got its prototype-based object system from, and the spiritual successor to Smalltalk. It just tickles my autism. Plus, the programming environment of the original Self VM is a religious experience.
>What is your personal goal?
Being able to complete all the challenges with zigSelf. Will probably solve the challenges in Python first to get a high ranking, and then follow up with zigSelf.
>>
File: yoko-39.png (105 KB, 309x365)
105 KB
105 KB PNG
>>84463988
Couple other favorites
https://adventofcode.com/2016/day/24
https://adventofcode.com/2015/day/22
https://adventofcode.com/2015/day/19
https://adventofcode.com/2015/day/13
https://adventofcode.com/2015/day/9
And of course:
https://adventofcode.com/2020/day/20
>>
>>84463988
>>84464101
None from 2017?
>>
File: Day 13-2.png (35 KB, 802x392)
35 KB
35 KB PNG
You may not like it, but this is what peak performance looks like.
>>
>>84464262
I skimmed back through but didn't really remember any of them
>>
File: 1572893884010.gif (102 KB, 200x236)
102 KB
102 KB GIF
Why can't problems release at a more reasonable time? I can't afford to stay up that late everyday for the whole month.
>>
I should probably try it out as I never have, but I most likely won't bother as I have other things to do and would rather not waste any time and mental energy
>>
>>84461185
Use april so CL can take care of all the shit that would be annoying in APL for you and just use APL for what it is good at.
>>
>>84464654
You have 24 hours for each problem
>>
File: IMG_20211120_095150.jpg (188 KB, 1200x1800)
188 KB
188 KB JPG
>>84464654
just do it while you're grinding 1-7 bro
>>
I remember I tried one year (2019?) and most of the problems past the first week or so were some variant of "clever one liner or annoying input parser"
>>
File: day4part2.png (84 KB, 746x630)
84 KB
84 KB PNG
Hope I make it farther than last year. Pic related filtered me hard.
>>
>>84464887
Yeah but I want to rank on the leaderboard

>>84464907
>not doing 4-6
>>
>>84464654
Just don't, retard.
I'm not falling for this meme passtime.
You can access the problems and solve them during the year. There is no need to marathon.
>>
>>84464925
anon, there is something called hashset. search on it
>>
>>84465041
>hash
no, sorry, i don't do drugs
>>
>>84457532
>Preparing
no
>Done before
Yeah I didn't get far
>language
Prolog just cuz
>personal goal
Fun
>>
>>84464950
Tough shit then. Time zones are a bastard, someone's gotta get screwed over by the very nature of them.
>>
>>84464925
bruh:
('0' <= char and char <= '9') or ('a' <= char and char <= 'f')
>>
>>84465155
char in string.hexdigits
>>
>>84465155
char and char and char and char and char and char and char and char and
>>
>>84464887
You can literally access every 2020 problem even a year later.
>>
>>84465263
Yes but I think you don't get gold stars for them
>>
>>84465284
There is no time limit. You can get every gold star all the way back to 2015
>>
>>84457532
>Are you preparing for it?
Probably will try the 2020's problems
>Have you done it before? How did you go?
Never
>What language are you going to use? Why?
Racket, just picked it up recently and spent some time with it
>What is your personal goal? High ranking, new language practice, just fun?
Hopefully I can go far and learn more stuff
>>
>>84465407
based lisp chad
>>
File: 1630629281202.gif (828 KB, 200x189)
828 KB
828 KB GIF
>>84464654
>wake up still groggy
>glance at the clock
>5:05 UTC
>OH SHIT OH SHIT OH SHIT OH SHIT-
>>
>>84466343
Hah, one time in 2019 I think I woke up literally about 5 minutes before it released. Didn't have time to catch up on the thread until after i was done solving.
Did pretty well for panic programming half asleep IIRC.
>>
Still thinking about which language to use, I'm torn between python (so I can learn and get better in it) or C# (so I can go deeper into it)
>>
>>84459823
yes anon, everything you do not understand or care about it cope, and also seethe and dilate onions tranny zoomer boomer.
>>84460066
80% of "professional" coders get filtered hard by it
t. worked with pajeets
>>
I've never done it before desu
>>
>>84466658
same but for sex as well
>>
>>84466625
Python then C#.
>>
how much math is involved in the puzzles? i'm a mega brainlet so math stuff kills me (i failed at doing euler problems)
>>
>>84466827
anon I urge you to not label yourself a brainlet, you probably just missed some foundational math knowledge and need to start from the very beginning (grade school level) and work your way back up filling in any gaps and refreshing knowledge.
>>
>>84457532
>by the time I get home from work( programmer) only have 4 hours to complete challenge
I don't want to be done work and immediately start programming again. I'll do it just not on the schedule that'll get me in the leaderboards
>>
>>84466827
Very few math prerequisites required. Most of them are strictly logic-based.
>>
>>84466827
they usually have several problems that are taken almost directly from a cs math curriculum that also happen to have little to no no real-world use
>>
>>84457532
Never Heard of this, looks fun might try it out this year.

How hard is it though? Still fairly a beginner here.
>>
don't listen to people saying math isn't required, he always sneaks a problem in that requires knowledge of some obscure math theorem
>>
File: 1543672618246.png (179 KB, 1330x1477)
179 KB
179 KB PNG
Post Advent of Code memes, those ones are some of the best shit /g/ ever produced.
>>
File: matrix apu.gif (1.26 MB, 640x480)
1.26 MB
1.26 MB GIF
>>84467188
I just cheat on those if I get stumped.
>>
>>84467244
completely justified
>>
Finally got around to writing something up to make dumping grids/hashsets of points from my solutions into a png or gif easier. I'm hoping for lots of problems this year that we can make nice visuals for.
>>
>>84457532
>middleschoolers, unite
it's that time of the year again...
thank you for the reminder, time to update the niggerlist with the right keywords...
>>
File: 1459382383670.jpg (33 KB, 600x564)
33 KB
33 KB JPG
I want to try something cool, but I've never done Advent of Code. It's not about the programming lang for me, so I think I'll just use JavaScript or TypeScript to play mindlessly. I'll get filtered anyway but I want to tryhard. Also I got a job so I won't have much spare time.
No, I didn't prepare for it and I just remembered about it!
>>
File: 23423523436534.jpg (467 KB, 1920x1200)
467 KB
467 KB JPG
i wil ltry not to get ifletered this year!
>>
>>84467227
I think that was the day I learned what a set was
>>
>>84469134
have you never taken a math class or what
>>
>>84457532
Great, just in time for the lockdown!
>>
What is this? Can some python fag compete ?
>>
>>84469342
>https://adventofcode.com/2021/about
>>
>>84469342
Python is probably one of the most used languages.
>>
>>84457615
>at least that has the side effect of getting you passed technical interviews.
I'm already employed idgaf
>>
>>84469165
More like I didn't know yet that you could abstract the notion of a set to programming with just a single function call, they are not the same thing as real sets
>>
>>84469583
what is intersection the set of all types that cannot be represented by a computer with the set of all types that are also not types
>>
>>84469609
Ø
>>
>>84469619
>he doesn't know about imaginary types
ngmi
>>
>>84466782
Won't a solution in python change my solution in C#?
>>
File: welfin-1.png (392 KB, 795x504)
392 KB
392 KB PNG
All this bike shedding about language is gay. Nobody cares unless you're postan solves.
But even gayer still is the copes that are already coming through.
Faggot copers are the brainlets who get filtered early, and then they'll stop shitting up the threads so just wait them out adventbros
>>
>>84468010
At least use python anon
>>
>>84470158
I like python, but I have a lot of fun with Typescript, I find the format very elegant. And I've done most competitive programming stuff with python anyway, so it seems fun.
Next year if I have time I'll try to solve the problems with a TDD approach just for autism
>>
I really want to use haskell again, I was near the top of the /g/ leaderboard consistently last year despite finishing very late on a couple of days. I even reserved time in my schedule to do it this year.

But I just got offered a freelance contract for December and if I do it I'll have to use up my AOC time. I'll barely make 5 figures from this contract, is it even worth it? $10k, or /g/toddlers btfo?
>>
>>84470459
>10k vs arguing with autists
just do the job and do AOC as well if you have free time
>>
File: 1637885951704.jpg (126 KB, 900x900)
126 KB
126 KB JPG
>>84470479
I have a full time job already. AOC was going to be my spare time activity.
I don't really need the money either. I really enjoyed AOC last year,i've been looking forward to it for 11 months and I'll miss it. But this contract could lead to a comfy job later.

Good luck sisters, I'll be rooting for you all!
>>
going all in on crystal this year
>>
>>84470553
Go do your troonjob properly and get the comfy job anon, down the line it'll be better
The rest of us will be here for AoC 2022 as well, and you'll be able to have fun with us by then
>>
>>84470553
Ils vont pas disparaître en 2022, tu sais.
Prends ton job, assure ton avenir.
>>
>>84457532
>Are you preparing for it?
Not yet, but might write something to handle the input parsing.
>Have you done it before? How did you go?
Nope, first time. Tried out some older puzzles.
>What language are you going to use? Why?
C. Because I'm studying in it, might switch out to python if I get filtered.
>What is your personal goal? High ranking, new language practice, just fun?
Practicing C I suppose and hopefully some fun.
>>
File: 1634213510160.jpg (512 KB, 828x803)
512 KB
512 KB JPG
My job actually had a sponsored aoc leaderboard with a prize pool.
Looking forward to participating in that.
>>
>>84457558
>lisptrannies
>>
I just want to get all the stars. All the stars for each day before the next challenge.
>>
>>84458569
>eval echo
stopped reading here
>>
>>84462242
You usually have to be within log(n) of the optimal algorithm, but there are some where being within n of the optimal algorithm with a fast language will give you a solution within few hours.
>>
Reminder to learn how to solve a linear congruence, BFS, DFS, Dijkstra's algorithm, and Z3.
>>
File: giga.jpg (100 KB, 1080x1246)
100 KB
100 KB JPG
>>84472793
nerd
i make up my own algorithms on the fly
>>
>>84461603
>>84461616
>>84461624
>being autistic enough to unironically finish AoC
Is the graph on the right of the top image all the people who made it? Did only a few dozen people finish?
>iTODDLERS_BTFO
kek
>>
File: 1514181447176.png (3.35 MB, 3282x2475)
3.35 MB
3.35 MB PNG
Posting previous calendars for posterity, here's 2017
>>
File: 1545720698560.png (3.77 MB, 8000x8000)
3.77 MB
3.77 MB PNG
2018
>>
File: 1577014768496.png (2.86 MB, 4657x2499)
2.86 MB
2.86 MB PNG
2019
>>
>>84472978
best year
>>
>>84472978
heathen
>>
do we want to use a new leaderboard this year, or one from last year?
>>
>>84472978
now post the real 2019 one
>>
>>84457532
I didnt even know this was a thing until I saw the thread; I have a little experience is Javascript bros how do I prepare in less than a week?
>>
>>84473026
just do what you can, you'll learn stuff by trying to figure it out
>>
>>84473026
learn Julia
>>
I just pruned the lowest 120 people from last year's overflow board. If we want, we can keep using it.
993406-8686c1b6
>>
>>84457532
Almost done going through 2015 in clojure
This language fucking sucks for any stateful problem
>>
>>84473123
no need to say you use a lisp dialect twice.
>>
>>84473127
kek
>>
>>84457532
I pyjeeted all the way through the last three years so I might as well keep it going.
My goal is always to shit out a working solution as quickly as possible so I can go to bed, then maybe if I think the code warrants it I'll polish it into something pseudopresentable so it can sit on a secluded hard drive for the rest of eternity.
>>84459855
>just do a shitload of work for me specifically because I'm too lazy to do something that takes three fucking minutes
no
>>
>>84459855
They have inputs tied to accts
>>
>>84457916
>Cnile
>filtered by string manipulation
Name a more iconic duo
>>
>>84473077
that wasnt the main one was it?
>>
>>84473273
oh i just cant read
nevermind
>>
I always try to do them but get filtered in the 2nd or 3rd day. I'm not a CS graduate or anything, I went to a 3rd world community college where half of the class failed to write linked lists in Java.
>>
i think some /g/ anon should host a custom Advent of Code, incorporating /g/ memes into the challenges. ofcourse redditors would be more than welcome to join (assuming they can handle the bants)
>>
>>84473245
I hate string manipulation in C and C++
>>
>>84473478
it would be shit. however, aoc was absolute shit last year, so I doubt people would care.
>>
>>84473221
If you don't intend to submit your answer to the site, it doesn't matter. For the purpose of writing solutions and checking answers, completed question pages and the corresponding input files are all you need.
>>
Which language will you be using this year before switching back to Python?
>>
>>84474668
Python
>>
>>84474668
I'm going to try python, but then inevitably switch back to ruby.
I really should learn python, it's getting near impossible to avoid it.
>>
>>84474668
ruby is way comfier and more smug one liners
>>
>>84474708
>>84474799
>>84474922
>not using Julia
ngmi
>>
>>84457532
Last year I did the first few in Python but I hit one were I was sure the number was right but it didn't take it

This year I'm thinking of going with C++, I know the basics but I never really used it outside my C++ Primer book
>>
File: dots+10M iterations lines.jpg (1.97 MB, 1920x1200)
1.97 MB
1.97 MB JPG
>>84473478
This gets thrown around every year, past attempts have always failed.
The last good spontaneous /g/ challenge I can remember is the trial&error image processing back in 2017.
>>
>>84475246
>but I hit one were I was sure the number was right but it didn't take it
That just means it was wrong.
>>
>>84457532
I'm partecipating again after having joined last year, other anons picking up my caterpillar analogy was heartwarming
>>
>>84475510
Yeah I know but I didnt manage to finish it on the day and I was frustrated that I broke my streak so I didn't continue, this year I'll push through
>>
>>84468010
>JavaScript or TypeScript
>I didn't prepare for it
ngmi
>>
File: AoC2021.png (24 KB, 985x732)
24 KB
24 KB PNG
Just realized the page has changed to show the list. It's another top down one. Predictions for what it will be? The scattered tildes at the top to me hint at a water based year, perhaps diving to the bottom of the ocean for some Christmas related purpose?
>>
>>84457532
Kinda wanna do it in Nim to learn
>>
File: thestars.png (258 KB, 442x447)
258 KB
258 KB PNG
HOW TO COPE WITH BEING FILTERED, A QUICK REFERENCE
The Rick & Morty Fan
>I'm too smart for this, I quit because I was bored
The Business Man
>I'm too busy to do this, you must have a lot of free time if you are wasting it doing this shit
The Input Averse
>the problems are easy, I just can't be bothered parsing the input
The Bisectard
>I could just bisect the answer using the hints on the wrong solution page, why would I bother doing it legit
The ESL
>eric can't explain the problems, it's the english not the problem that is too hard
The chink
>copies solutions from github/reddit, pretends he's not filtered
>>
>>84475823
>>copies solutions from github/reddit, pretends he's not filtered
youll never know
>>
File: wastl.png (312 KB, 600x600)
312 KB
312 KB PNG
>>
>>84475906
I don't remember how but we actually found this out about someone in last year's leaderboard.
>>
>>84475930
that sounds familiar actually
didnt he have his github linked and it had copypasted code in it
>>
>>84475774
>top down
>probably water
not again
>>
>>84475934
grrlic was his name. He left public a repo that contained his solution. The first few days were actually his, but on the 7th or so day, the header had Reddit tranny's name. He stopped posting "his" solutions after that. We then used the leaderboard data to see what he was up to. Chink went through all the previous years copying and pasting solutions.
>>
>>84476034
kek
>>
>>84476034
He was also absolutely sucking up to eric at the end
pretty pathetic desu
>>
https://adventofcode.com/2015
Has this always been animated when not signed in, or am I just a retard?
>>
>>84476034
was he really chinese though? sounds like an indian thing to do. chinese people are intelligent and good programmers.
>>
>>84476097
Yes. He shamed his people and the Great Leader Xi Jinping.
>>
>>84476118
i don't think he was chinese. `grrlic' is not a chinese name. chinese people are intelligent and honest.
>>
>>84476097
I think he was actually Indonesian and living on Hong Kong.
>>
>>84476139
tiananmen
>>
>>84476158
yes, it's beautiful place. you should visit one day. china is the future.
>>
>>84461616
>>84461624
Far more linear than I expected.
>>
Someone I know completed all days last year in python. So I'm obligated to complete all days this year in lisp.
>>
>>84474668
Python to get ranking, then zigSelf.
>>
what do you mean prepare for it?
they're just brainteasers, good problem solving ability is all you need
>>
>>84472964
2017 was SOUL
>>
>>84474668
Joy lang, I got filtered by 64Kb before I even started. I legit tried to find a way to do something like tape loading (just play tape to load more data), but there is really no way to do that with asm alone. As I fail (and my friend does), I'll just switch to Python.

>>84463895-cunt
>>
>>84476723
What was your favorite puzzes in 2017? I don't recall them so well even after reskimming the pages
>>
>>84476888
2017 was very well balanced, it had a good progression of difficulty without getting too hard or too simple. The pen and paper reverse engineering problem was cool and it's a shame that nothing like that returned in 2019 and 2020. 2018 was too hard, 2019 was too repetitive with intcode and 2020 was too easy.
>>
>>84476950
i thought intcode one was alright desu
>>
>>84476950
I agree for sure. I'd say 2018 was definitely hard but it had some of my favorites. There were some tough ones in 19 (ignoring the stupid inverse mod one). 2020 definitely was a disappointment but I don't blame him because I'm sure it's a ton of work.
I bet this year will be good but probably too easy again because of all the redditors and bootcampers complaining about the difficulty. Hope I'm wrong.
Best of luck this year bro
>>
>>84476950
>2018 was too hard
2018 may have been too hard to do daily, but it is one year I did everything in code without having to reverse engineer someone else's solution.
Even if some of my solutions took hours to run (the underground thing near the end took me a long time to debug).
>>
tell me something to do quickly in python to refresh my memory
i havent used it since last december
>>
>>84477424
Write a script to solve AoC for you.
>>
>>84476888
I think it was 16 due to the mathematical beauty of the best solution
>>
looking forward to seeing all the c-users gradually switch to a language that actually has a string data type
>>
Having only done 2019 and 2020 i hope it's more difficult than 2020. I must say i really enjoyed 2019 because of intcode. I think the usage of intcode opened up a big trove of interesting challenges and creative ways to solve them.
>>
>>84475823
>eric can't explain the problems
objectively true
>>
what's the hot language to learn? I wish to use it on AoC as that was very helpful in the previous years.
I refuse to touch rust again on principle because the community has twisted priorities and will eat itself in time.
Must be reasonably fast in the order of magnitude of Java/Haskell/Go and be expressive enough not to make me wish to kms

t. cs and math double degree grad, working in Haskell.
>>
>>84477612
>I refuse to touch rust again on principle because the community has twisted priorities and will eat itself in time.
Such as?
>>
>>84477643
I do not wish to bog down this otherwise good-quality thread with this, but assume that rust is simply not an option here.
>>
>>84477539
I don't even remember doing that problem at all.
But my solution is definitely my code. It's a mess.
>>
>>84477612
nim
>>
>>84475304
Oh yeah, I remember that.

Still playing with it.
>>
>>84477612
Scala
>>
If you enjoy the system emulation problems then you'd probably enjoy this other challenge he made.
https://challenge.synacor.com/
>>
>>84477612
there's probably no hot language to learn that would also satisfy the kms requirement
if you're willing to drop the hot requirement, you could try
- new ocaml
- new scala
- f#
if "reasonably fast" means you want automagic optimizations that allow shitty code to not be unusable, drop ocaml
ocaml is more than reasonably fast but requires you to think
>>
>>84477780
I'd rather kms than write that tbqh >>84477940 mentions "new" scala, what's with that?

>>84477686
I've considered it once at some point. Can't remember why I didn't follow through on that one. Will review.

>>84477940
yeah I'm down to think in fact I'd rather be in a language like that given how interfacing with programs/libraries in Haskell makes me want to kms both for the compile times and also for the garbage implementations.
Is f# any good tho? sounded like a spineless c# last time I looked at it.
>>
I anxiously await rockefeller-anon.
>>
>>84475823
Accurate
The copes are already flying in this thread and it's not even day 1
>>
>>84457532
>Are you preparing for it?
I completetly forgot about it and I havent prepared
>Have you done it before? How did you go?
No, N/A
>What language are you going to use? Why?
GO or C# probably
>What is your personal goal? High ranking, new language practice, just fun?
Language practice
>>
>>84478222
The shitshow is half of the fun of it
>>
>>84478037
>what's with that
scala 3
fixed the extreme autism around implicits and other bullshit
it's still not a pretty language, but it's not unbearable anymore and you can do some pretty cool stuff with it (see zio 2)
build times are still astronomical though, wouldn't want to use it for anything big
also, DOT is proven to be sound, so it's somewhat likely that scala is sound too
>Is f# any good tho?
it's a gutted ocaml pretty much
type system is weaker, so you'd probably suffer but it's pretty much the best you can get on the m$ side and i wanted to cover the biggest platforms - clr, jvm and native
if you go with ocaml, i'd go through cs3110.github.io/textbook/ for intro to the language, the new stuff (you need the multicore branch) is still scattered between inria and jsc so idk about any decent intro to that
better just read the papers (2004.11663, 2104.00250)
>>
Go or Rust
Never done it before.
>>
>>84457558
Same, I will use common lisp for everything
>>
File: welfin-2.png (583 KB, 921x620)
583 KB
583 KB PNG
>>84478456
I stand corrected
>>
The great filtering is coming!
>>
>>84458233
>>84462935
>>84463547
I did it in OCaml last year. And OCaml (if you know how to use it) is perfect for that kind of challenges. You just must be prepared to code some basic functions not in stdlib.

>>84463547
Speak English next time, fucking dumb frog.
>>
>>84457532
>Are you preparing for it?
Nope
>Have you done it before? How did you go?
Yes. This will be my sixth year. The only year I was able to complete it was last year due to COVID cancelling xmas.
This year given the number of COVID incidence rising already I expect a quiet xmas also.
>>What language are you going to use? Why?
Python. It is the only one I know.
>>What is your personal goal? High ranking, new language practice, just fun?
Fun.
>>
Going to give it a try this year. It would be my first year.
I'll mostly use TS since I am pretty comfortable with it (I am stuck in webdev hell), but I will also use Rust, C99, C++17 and Go for fun.
Good luck anons
>>
File: output.png (9 KB, 960x960)
9 KB
9 KB PNG
Day 20 last year was a bitch.
>>
>>84475823
>The ESL
You'd have to be ESL to fail to recognize how asininely half of Eric's prompts are written.
>>
>>84457532
>Are you preparing for it?
No.
>Have you done it before? How did you go?
Solved all previous ones. Slow af though, never been on the leaderboard.
>What language are you going to use? Why?
Prolog. I want to brush up on it. Picked the language up last year, but never used it for anything other than AoC 2020.
>What is your personal goal? High ranking, new language practice, just fun?
Solving them all. Not going to stress about the leaderboard, I will never make it on there anyway.
>>
File: 20-2grid.webm (2.36 MB, 720x720)
2.36 MB
2.36 MB WEBM
>>84479649
lazy guess and check solution for the win
>>
File: hxh-9.png (599 KB, 1002x642)
599 KB
599 KB PNG
>>84479649
Yeah it was. I solved 1 using a clever trick so when I saw part 2 I had to start over.
Still probably best one of 20
>>
>>84477539
>>84477667
Same. My memory has been completely wiped as it appears, even though I solved this about 2 years ago.
>>
I hate that the questions release at the same time as the toradora streams.
>>
File: pepe-popcorn.gif (1.13 MB, 498x498)
1.13 MB
1.13 MB GIF
I just wanna get until the end, no matter what.
>>
>>84480924
Did you succeed last year?
>>
Anyone wanna suggest a meme language?
I'm thinking of trying Factor.
>>
>>84480987
Nope. It was still fun though.
>>
>>84481022
APL
>>
This year I might actually set up some kind of visualizer for the 2d problems!
>He said, again.
>>
>One of the new hires at work said they'll do AoC this year
Hopefully they won't give up by day 8, like all my other co-workers who have tried.
>>
guys how old are you?? I'm just a zoomer and in the /g/ leaderboard of last year I was in one of the last places, im retarded near you anons
>>
How hard was it to solve all days last year?
>>
>>84476097
Chinks are notorious for cheating though
Could just be an eastern thing in general
>>
>>84481278
Millenial website zoomzoom
>>
>>84481353
some of them were rlly hard and I made in some just one star, in others two and in others zero while most of autistic/g/ made 50stars/50
>>
>>84481360
not really. the chinese are honest and hardworking. you're mistaking them for indians.
>>
>>84481472
>chinese are honest and hardworking
hahahahah gtfo chang
>>
File: 1610599066425.jpg (8 KB, 229x250)
8 KB
8 KB JPG
>only know C++
>in UE4 no less (so not even real C++)
What language should I learn from now to launch?
>>
>>84481472
Sure thing chang
>>
>>84481220
Now I'm concerned that people from my new team are on /g/
Gonna have to write 2 solutions, and one for here and one for work.
>>
>>84481502
>>84481581
i'm white.
>>
>>84481577
You are good to go.
>>
>>84481278
32 years old, L4 at SNAP
>>
Will my Haskell LARPers be there that year?
>>
>>84481671
ok.chang
>>
>>84458195
How does that work? do employers look at leaderboards or something?
>>
I'm a web dev and only know JS so I'll probably get filtered hard.
>>
File: 18941685165.gif (2.19 MB, 498x490)
2.19 MB
2.19 MB GIF
>>84457532
I am fucking stupid and I cannot get past day 8 or so.
>>
>>84483036
It's a fun way to learn some algorithms! Even if you don't complete them in good times, follow the threads and learn some stuff from other people's solutions!
>>
>>84461598
Based nimbro. I'll be using nim as well.
>>
I'll continue trying to use a file. I'm content with what I have. looking back I could have saved so much money on my pc.
>>
File: .jpg (1.83 MB, 1697x1000)
1.83 MB
1.83 MB JPG
>>84477612
Nim
>>
>>84457532
>Are you preparing for it?
This is my first year, currently looking back through some of the harder problems from previous years.
>What language are you going to use? Why?
Nim. I'm most proficient in it at the moment.
>What is your personal goal? High ranking, new language practice, just fun?
Ranking. I'm going to tryhard it.
>>
File: d20.png (1.01 MB, 960x7438)
1.01 MB
1.01 MB PNG
>>84479649
My code was the real monster.
>>
>>84483677
Jesus. What was the question?
>>
File: 61mfLFWttZL._SS500_.jpg (28 KB, 500x500)
28 KB
28 KB JPG
Don't forget that there will be some big boys.
>>
>>84483781
You had an "image" that was made up of "tiles" that were all wrongly rotated or flipped. So first you had to build the image by matching the tiles together and then look for monsters in the image, the monsters also being able to be rotated or flipped in the image.
>>
>>84483677
Thanks anon, I was doing that one just now, and felt bad because my code would be over 100 lines.
>>
>>84474982
I just can't get into it. The way it works goes against my programming instincts. I've worked with matlab so I have no issue with things like the arrays starting at 1 or anything, it's just everything else. I tried last year, and did one or two simple tasks, but I really didn't enjoy it at all.
>>
>>84479649
Tedious is the word. Usually I like to optimize stuff when I'm done, but I was just glad it was over with with that one.
>>
File: maxresdefault.jpg (32 KB, 1280x720)
32 KB
32 KB JPG
>>84475817
>>84477686
>>84483216
>>84483476
>>84483592
Nimchads we rise
>>
File: AoC11.png (22 KB, 707x458)
22 KB
22 KB PNG
>>84483065
Still makes you better than like 60% of people who think they can code. Plus it's a good opportunity to learn, if you spend some time after the event looking into how people did the problems you didn't understand.
>>
I got first fastest couple years ago in one of the days that was my goal now I don't care and just look at other people doing it



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.