Advent of Code 2024 Day 1 - Top 20 Finish!

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 26

  • @nthistlethwaite
    @nthistlethwaite  13 дней назад +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  12 дней назад +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 13 дней назад +22

    Your typing speed is wild

  • @gorillaglued
    @gorillaglued 8 дней назад +1

    The speed at which you understand the problem is insane.

  • @gorunmain
    @gorunmain 12 дней назад +7

    Thanks Paul Dano

  • @adrianvinicius1257
    @adrianvinicius1257 12 дней назад +1

    really good, looking forward for the second day

  • @akashvemulapalli260
    @akashvemulapalli260 13 дней назад +3

    welcome back!

  • @oswwwaldo
    @oswwwaldo 11 дней назад

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

  • @n0ne0ne
    @n0ne0ne 13 дней назад +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  12 дней назад

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

    • @gorillaglued
      @gorillaglued 8 дней назад

      yeah there is pyperclip, which makes it pretty easy

  • @fredoverflow
    @fredoverflow 13 дней назад +4

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

  • @acters124
    @acters124 12 дней назад

    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.

  • @nicholasrobinson6031
    @nicholasrobinson6031 12 дней назад +1

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

    • @nthistlethwaite
      @nthistlethwaite  12 дней назад

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

  • @ATRMvideos
    @ATRMvideos 5 дней назад

    How does he download the input file so fast?

  • @God-i2
    @God-i2 12 дней назад +1

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

    • @nthistlethwaite
      @nthistlethwaite  12 дней назад +1

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

    • @nthistlethwaite
      @nthistlethwaite  12 дней назад +1

      Day 2's quality should be better!

  • @ServusChristi777
    @ServusChristi777 7 дней назад

    Cool now do it in assembly

  • @harisimer
    @harisimer 13 дней назад +5

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

    • @nthistlethwaite
      @nthistlethwaite  13 дней назад +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 13 дней назад +1

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

    • @x87-64
      @x87-64 12 дней назад

      @@nthistlethwaite Where did they apologize?

    • @nthistlethwaite
      @nthistlethwaite  12 дней назад

      @@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"