I've written code in far worse languages than VBA this year 😉
I spent some time this year with ExactTarget's AMPScript. A language that has no classes, no functions and no arrays
was a blessed relief when I moved onto ExactTarget's server-side JS. Which is ECMAScript 3.0 from 20 years ago. And they stack has basically zero error handling, you put JS in a landing page, publish it and then load the page to see if there was a 500 error or not (with no detail beyond, there was a 500 error indicating either a syntax error or maybe you called an API the wrong way)
but no, I won't be venturing into VBA for AoC, need to decide on python, js or c# 10
Iain M Norman
@IainMNorman
Greetings @leewilkie!
Haven't thought through part one yet, no time. I could go ahead and just loop over strings but...
Andy Norman
@andynormancx
Or…
Iain M Norman
@IainMNorman
Might wanna move that to spoilers :)
Andy Norman
@andynormancx
Or not
Iain M Norman
@IainMNorman
Or not what?
Andy Norman
@andynormancx
Indeed
Iain M Norman
@IainMNorman
Are you well?
I'll have to think about part 2 later.
Paul
@Meakeel
I just used loops!
Lee Wilkie
@leewilkie
Have done... keep my cards to my chest and all that!
Iain M Norman
@IainMNorman
:)
I just used loops!
They are getting you 2nd place!
I presume @Scarecrowe you are getting up stupid early as usual.
Scarecrowe
@Scarecrowe
4:30 wake up for me
Someone else on the nor dev leader board is starting at 5am also
I did part one yesterday in 5.31 yet i still ranked 3618
Scarecrowe
@Scarecrowe
Cant believe that out of over 100'000 people only 4000 odd completed part two yesterday
I feel that submarine will come back in later puzzles
_
Iain M Norman
@IainMNorman
That's 4% that DIDN'T do part 2 @Scarecrowe ?
Brian Norman
@gingemonster
forgot we had even started, this year Ill be mostly baby sitting copilot
till I get bored next week
Iain M Norman
@IainMNorman
Can you do "function SolveAdventOfCode2021Day1Part1(input) TAB..."
Trying to work out how to get it to split the grid into columns or anything that would allow me to sum each is proving a challenge
Scarecrowe
@Scarecrowe
Certainly more challenging today :D
Robert Giffin
@RobGiffin
Nice work Dan, I was so close to getting second place today, but Paul just beat me to completing part two. Was a good challenge.
Iain M Norman
@IainMNorman
Oh ffs. Did we just play a ‘squid game’?
Lee Wilkie
@leewilkie
Day 4 in the AOC house. Part 1 = 2 hours of OOP lovelyness... part 2 = 2 minutes (phew...)
Scarecrowe
@Scarecrowe
Another enjoyable puzzle today, when is the GPS coming :D
Andy Norman
@andynormancx
decided it was finally time to start writing code rather than using Excel, just spent 90 minutes getting my node based runner back up and running from last year 😥
first modern JS I'd written since AoC2020, should be fun
what are all these funny arrow things ?! ;)
Iain M Norman
@IainMNorman
Day 4 caught up on.
Andy Norman
@andynormancx
not sure my heart is in it this year, all feeling a little bit like work at the moment (doesn't help that I'm fighting this JS runner a bit)
Scarecrowe
@Scarecrowe
Can you not write it as a html page and just run the JavaScript solution like that or in the dev console window
Iain M Norman
@IainMNorman
Put the Buffy Once More with Feeling soundtrack on loud and everything will be okay.