Advent of Code 2024 Day 1 - Top 20 Finish!

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 26

  • @nthistlethwaite
    @nthistlethwaite  10 днів тому +14

    Hmm, the video quality looks oddly bad. I'm guessing I messed up one of the settings in my video editing pipeline (it has been 11 months since I last did it...), I'll try to fix it for future days!

    • @nthistlethwaite
      @nthistlethwaite  9 днів тому +1

      In case anyone's curious: the issue was that I was exporting a 4k video with a target bitrate of 2 Mbps... I turned it up to 60 Mbps and quality issues seem to be gone (for day 2).

  • @timfennis91
    @timfennis91 10 днів тому +22

    Your typing speed is wild

  • @gorillaglued
    @gorillaglued 6 днів тому +1

    The speed at which you understand the problem is insane.

  • @gorunmain
    @gorunmain 9 днів тому +6

    Thanks Paul Dano

  • @adrianvinicius1257
    @adrianvinicius1257 10 днів тому +1

    really good, looking forward for the second day

  • @akashvemulapalli260
    @akashvemulapalli260 10 днів тому +3

    welcome back!

  • @oswwwaldo
    @oswwwaldo 9 днів тому

    one day I will code like you, just not today! very impressive man

  • @nicholasrobinson6031
    @nicholasrobinson6031 10 днів тому +1

    Randomly looking through AoC solutions for today and ran across your channel. Hope you are doing well Neil!

    • @nthistlethwaite
      @nthistlethwaite  9 днів тому

      Hey Nick! Good to hear from you, and yep I'm doing well 😄

  • @fredoverflow
    @fredoverflow 10 днів тому +4

    What the heck...
    I went away for 2 minutes to fetch a beverage, and when I came back, you were already done?!

  • @ATRMvideos
    @ATRMvideos 3 дні тому

    How does he download the input file so fast?

  • @acters124
    @acters124 10 днів тому

    I used set( ).intersection( ) with .count( ) didn't think of Counter. still pretty fast one
    I have to say that reading the problem statement is slower than writing the code. so it makes sense the guy that used llm to solve it would have got it in a few seconds. llms seem quite capable at reading and extracting meaningful data from the text. so with it being simple tast and has plenty of examples, llms would be very much capable of solving this instantly.

  • @n0ne0ne
    @n0ne0ne 10 днів тому +4

    in your python setup, can't you write a piece of code at the end that automatically copies `ans` to clipboard? I'm pretty sure this can be done and it will save you a few seconds.

    • @nthistlethwaite
      @nthistlethwaite  9 днів тому

      Yeah, I saw that ecnerwala does this, I probably should too I just haven't gotten around to it.

    • @gorillaglued
      @gorillaglued 6 днів тому

      yeah there is pyperclip, which makes it pretty easy

  • @God-i2
    @God-i2 9 днів тому +1

    I raised video quality to 2160p 4K but your camera is still at a quality from dial-up Internet era

    • @nthistlethwaite
      @nthistlethwaite  9 днів тому +1

      Ah yeah, see the pinned comment, I accidentally exported at 2 Mbps 🥲

    • @nthistlethwaite
      @nthistlethwaite  9 днів тому +1

      Day 2's quality should be better!

  • @ServusChristi777
    @ServusChristi777 4 дні тому

    Cool now do it in assembly

  • @harisimer
    @harisimer 10 днів тому +5

    Bro, rank 1 is 9 seconds and rank 2 is 54 seconds.
    Thats a bit much different, isnt it?

    • @nthistlethwaite
      @nthistlethwaite  10 днів тому +10

      Yeah, I think the rank 1 person solved automatically with ChatGPT or similar - it sounds like they weren't aware that this was against the rules and they already apologized for it.

    • @matteolugli1607
      @matteolugli1607 10 днів тому +1

      @@nthistlethwaite They will get away with the first days, but with harder problems LLMs sometimes struggle!

    • @x87-64
      @x87-64 10 днів тому

      @@nthistlethwaite Where did they apologize?

    • @nthistlethwaite
      @nthistlethwaite  9 днів тому

      @@x87-64 they briefly had their github description set to something like "If you're here from Advent of Code, I apologize for not reading the FAQ and won't do it again"