Best of the comments, worst of the mistakes (so far)

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 117

  • @paulchamberlain7942
    @paulchamberlain7942 หลายเดือนก่อน +44

    Ooops! The signed byte range is -128 to +127. I think this is a side effect of not having +0 and -0 as valid number in the range.

    • @neoeno4242
      @neoeno4242  หลายเดือนก่อน +22

      Well, one for the next video 🤣 Thanks

    • @phyphor
      @phyphor หลายเดือนก่อน +12

      Errata to errata is a time honoured tradition, tbh

    • @paulchamberlain7942
      @paulchamberlain7942 หลายเดือนก่อน +1

      Note that this demonstrates why computers need eternal patches. Even with the very best of intentions, releasing a fix for errors introduces chance of more errors.
      These compound errors go all the way down, there is no full stack unwind in the quest for human beings to achieve perfection. The little flaws will always be part of life.
      By all means do your best, but never hope for error free perfection. A life of self punishment otherwise awaits.
      In the end even the most tightly held sand will slip through our fingers. All of it. Enjoy the holding of the sand and how it slips through our fingers in equal measure.
      Keep up your wonderful work!

    • @QW3RTYUU
      @QW3RTYUU หลายเดือนก่อน +2

      Also, if I may add, that would mean that this is a Two's complement approach, which would in turn mean that the first bit is actually not exactly to store the sign as was said in this video. It is to denote a value of -128, which other values after add to. A binary 11111111 is -1 because -128 + 127 = -1. You can check for "Signed number representations" on wikipedia for such explanations along with a nice table showing all the relevant bit-to-decimal mappings.

    • @petevenuti7355
      @petevenuti7355 หลายเดือนก่อน

      Happy accidents

  • @UliTroyo
    @UliTroyo หลายเดือนก่อน +12

    Ha! That dig at Bret Victor.
    You're a fantastic instructor. I'd been looking for your style of content since I started learning.

  • @Lexie_T
    @Lexie_T หลายเดือนก่อน +9

    I've been searching for a teacher to bring me from c++ to the very low level and you're the first to do it with clarity, quality video editing, and a clear love for assembly language! Thank you

  • @nicolaiamrehn9106
    @nicolaiamrehn9106 หลายเดือนก่อน +16

    Remarkable how you got through that whole personal story without once mentioning that you're trained in computer science!

  • @JamesSjaalman
    @JamesSjaalman หลายเดือนก่อน +3

    For C, K&R is the perfect book. You won't get confused by the details, but it is a perfect introduction. For Unix: Stevens' APUE is like a bible (a bit outdated, but very complete, and nearly exact). For ASM: I learned a lot from the drDobbs articles about video programming.

  • @leonardosoteldo9542
    @leonardosoteldo9542 หลายเดือนก่อน +9

    That ending. Hahaha. I love it! You're a beautiful woman and very good at explaining technical topics. I wish you a successful journey with all of your projects.
    I'm learning software engineering as a 30 year old who studied history at college but failed at completing it... All techniques and methodology for researching and all the practice I received for reading and writing have been invaluable for my dubious career choices; both as a baker for a few years and now as a software engineer from now on. DCIC is also a very good resource I was lucky to find. Currently working through it.
    Thanks for all this content. I will tackle it fiercely after I learn C for a while.

  • @arupsan
    @arupsan 16 วันที่ผ่านมา

    Started to follow your class or so called lessons .. absolutely amazing.. you going to be a teacher for long long time and many more things to come …you are gifted …

  • @rishidixit7939
    @rishidixit7939 หลายเดือนก่อน +2

    Art Attack Intro was sick brought back so many memories. We had an Indian Version and as a child it was my favourite show

  • @shaug1536
    @shaug1536 หลายเดือนก่อน +2

    It seems like I love feeling bewildered and confused, when I'm not I get bored.. Too much of it makes me take breaks of course, but somehow that feeling pulls me back to the subject or problem with new ideas

  • @RevolutionAdvanced1
    @RevolutionAdvanced1 หลายเดือนก่อน +8

    Re: Registers (18:00), x86-64 introduced new general purpose registers, which are just numbered R8-R15, so I believe the R is used now with RAX for consistency. To support this, the transition from 16-bit to 32-bit did not involve the introduction of new general purpose registers, just the extension of existing ones.

  • @marcsh_dev
    @marcsh_dev หลายเดือนก่อน +1

    Re writing and programming being similar.
    One thing Ive noticed talking to writers at game companies Ive worked at is that they do a lot of similar thinking about syntax and semantics, correctness, and such
    Also, they have a similar situation where they will have a high level design for something, then be working on a low level piece, and the low level piece ripples into needing to change the high level. Refactoring effectively.
    It was eye opening when talking with them to realize we were so close in a lot of respects

  • @JoshTrim
    @JoshTrim หลายเดือนก่อน +4

    Wow art attack! That caught me completely by surprise. Such good memories.

  • @emystein
    @emystein 14 วันที่ผ่านมา

    I really like 0DE5 so far, and I loved the ending of this video Kay!!

  • @BlueNSour
    @BlueNSour หลายเดือนก่อน +19

    Art attack! Blast from the past

  • @ora_veugle
    @ora_veugle หลายเดือนก่อน +5

    lots of 🖤
    You are really inspiring me to learn my field a bit more in depth
    (funny ending btw)

  • @VoyivodaFTW1
    @VoyivodaFTW1 หลายเดือนก่อน +10

    Great video!! Very insightful. And the ending 💀💀💀

  • @4xelchess905
    @4xelchess905 26 วันที่ผ่านมา +1

    A small part of me was curious about your gender identity but I also loved and love how you're a beautiful person talking eloquently and with great technical aptitude about a passion subject in a video where gender does not necessarily has to be a topic.

    • @pmcgee003
      @pmcgee003 7 วันที่ผ่านมา

      I am also thankful to have this as non-core, background information that adds to our appreciation, but doesn't nee.... 😉

    • @syrus3k
      @syrus3k 16 ชั่วโมงที่ผ่านมา +2

      I work with a transgender person in the it industry and I'm continuously humbled by her knowledge, skill and friendly demeanor. I had to tell off a colleague for speaking bad of transgender people and I'm really really glad I did. People should live however they want to.

  • @crypticsea
    @crypticsea หลายเดือนก่อน +3

    As other people have pointed out a signed integer's minimum value is one less than the negative maximum, which has the interesting side effect that the abs() of an signed integer isn't always positive.

    • @cannaroe1213
      @cannaroe1213 หลายเดือนก่อน

      It's actually implementation specific. Some have +0 and -0, some repurpose -0 for -1
      EDIT: depends on your perspective. Are you squishing two datatypes together or are you trying to pack as much information into a byte.

  • @zsofi6523
    @zsofi6523 หลายเดือนก่อน +5

    Actually, signed integer types like char are usually stored in 2's complement format, which avoids having both a positive and a negative zero value. The minimum value you can represent in n bits is - 2^(n-1), while the maximum is 2^(n-1) - 1, so in case of char -128 to 127. If you look into this, it is also worth understanding how overflow works.

    • @twenty-fifth420
      @twenty-fifth420 หลายเดือนก่อน

      I think seeing a video with Lattner and Feldman (creator of Roc) and his podcast talked something about this with ‘2 complement to overflow’, which is considered standard compiler behavior.
      I would be lying if I said I completely understand this, but something to note. I think this behavior on both GCC and Clang.
      Edit: Okay so it was about SIMD and how overflow is done with SIMD. It is a fairly interesting explanation, but not so related to what you were saying I believe.

  • @gocasimiro
    @gocasimiro หลายเดือนก่อน +2

    Thank you so much for bringing such gems, keep doing, you rock!

    • @thedi0
      @thedi0 หลายเดือนก่อน +1

      nao importa em que buraco da internet voce tenha se metido, saiba que sempre havera um brasileiro nele junto com voce. kkkkkk

  • @pithlyx
    @pithlyx หลายเดือนก่อน +3

    Your videos have been incredible! I've been a hobby dev for about 8 years, and always felt the need to understand how things work under the hood. I took a bootcamp (mainly web dev) last year and haven't had much luck on jobs, so I'm back in school and they are having me skip straight to cs2 and I have needed to cram C++ into my brain over the last two months (after mainly working with Python, JS, and a bit of C#), your videos have changed my perspective on so much. If I had to learn it all again, I’d be right back here. You're an amazing teaching resource and a true inspiration, I'm excited to see where the channel goes!

  • @Notimetootime
    @Notimetootime หลายเดือนก่อน +5

    Helo kay, your upload makes my day.

  • @MrWaalkman
    @MrWaalkman หลายเดือนก่อน +1

    XORing registers (we didn't have variables per se, in a Series Six PLC registers were the variables) was the go-to way of zeroing out the registers. Kind of silly to do it this way these days, but back when 1K PLCs ran your plant, it paid to be frugal.

  • @officialcreatisoft
    @officialcreatisoft หลายเดือนก่อน

    Great video! Interesting take on books. I own some but I don't find myself reading them. Like yourself I usually find what I need freely, and read up on it.

  • @DanielMojoli
    @DanielMojoli หลายเดือนก่อน +2

    I thought it was a video edit mistake or a mind lapse. Then realized I had been tricked and laughed out loud.

  • @EdwardPsCL
    @EdwardPsCL หลายเดือนก่อน

    Hi K! Great channel. Thank you.
    Maybe a roadmap addition for the channel:
    Lambda Calculus and higher order programming. Lebec has a fantastic Lambda -> JS talk on YT and your insight into those aspects of computing would be interesting.

    • @EdwardPsCL
      @EdwardPsCL หลายเดือนก่อน

      Should maybe finish watching the video before commenting 🤣

  • @RSOFT92
    @RSOFT92 หลายเดือนก่อน

    Oh yeah! Art Attack with Beni Weber (in the German Version) was one of my favourite TV-Shows.
    (at 02:21) "I wanna do this for every part of Software field..." -> Yes Please! Count me in! 👍
    [EDIT] Oh and on the Topic of Games and Coding: I love to play Stationeers and Stormworks. Stationeers uses a MIPS like Assembly Language (called IC10), Stormworks uses Lua.

  • @origedit
    @origedit หลายเดือนก่อน +2

    When i noticed that the memory diagrams addressed 4-bit values it startled me and eventually i thought that this was done just to make the diagram smaller

  • @prawtism
    @prawtism หลายเดือนก่อน +9

    9:25 isn't it -128 to 127? the 0000 0000 takes one off the positive side only?

  • @MarianneExJohnson
    @MarianneExJohnson หลายเดือนก่อน +2

    Regarding the pronunciation of "tuple": the word is a generalization of quintuple, sextuple, etc., so a logical pronunciation should be whatever rhymes with those words. Of course languages don't always adhere to strict logic, and Wiktionary lists a total of five different pronunciations.

  • @TheGabrielMoon
    @TheGabrielMoon หลายเดือนก่อน +1

    programming attack channel 🙏🏽🙏🏽

  • @morank3
    @morank3 หลายเดือนก่อน +1

    Grew up watching "Art Attack" and only now realising the title is a pun on "heart attack" 🤦‍♀

    • @cannaroe1213
      @cannaroe1213 หลายเดือนก่อน

      i'm pretty sure it's fart attack😒 Occam where you at?

  • @Mordinel
    @Mordinel หลายเดือนก่อน

    Great video, we have a similar method of learning new stuff!

  • @knkootbaoat6759
    @knkootbaoat6759 หลายเดือนก่อน +4

    that ending 🤣

  • @randomsearches369
    @randomsearches369 หลายเดือนก่อน

    I love you so much, Kay!

  • @shantanutiwari67
    @shantanutiwari67 หลายเดือนก่อน

    Holy shit I subed your channel when it had 1k subs now you have 23k that too so fast.

  • @jumbledfox2098
    @jumbledfox2098 หลายเดือนก่อน +1

    love your videos kay!

  • @ellyse7777
    @ellyse7777 16 วันที่ผ่านมา

    lol love the video and the ending!

  • @gitstautusgitstutasgitstatus
    @gitstautusgitstutasgitstatus 22 วันที่ผ่านมา

    Woooo Devon gang 💚🤍💚

  • @h7qvi
    @h7qvi หลายเดือนก่อน +2

    Lacky my favourite❤

  • @mchlnhs
    @mchlnhs หลายเดือนก่อน +1

    You are awesome

  • @kadavr314
    @kadavr314 หลายเดือนก่อน

    Lovely idea!

  • @cannaroe1213
    @cannaroe1213 หลายเดือนก่อน

    Would you prefer a truthful tuple or a couple of tuples?

  • @DominicGo
    @DominicGo หลายเดือนก่อน

    hey kay! do you have any thoughts about zig and rust?

  • @brekreney5734
    @brekreney5734 หลายเดือนก่อน

    Good video like always!

  • @syrus3k
    @syrus3k 17 ชั่วโมงที่ผ่านมา

    I loved art attack

    • @syrus3k
      @syrus3k 17 ชั่วโมงที่ผ่านมา

      Subscribed. You're obviously an excellent teacher

  • @inerlogic
    @inerlogic หลายเดือนก่อน +3

    Linus says linux is linux, so we go with that.
    But the MFer who invented the gif is WRONG

  • @djsbriscoe
    @djsbriscoe หลายเดือนก่อน +2

    What is the debugger called again? And can you please confirm what development IDE you are using and how to set it up with a C compiler? Thank you.

    • @n6h6
      @n6h6 หลายเดือนก่อน +2

      the debugger is called "radare2". I don't know about the IDE though. I hope you get your answer :)

    • @neoeno4242
      @neoeno4242  หลายเดือนก่อน +2

      And re: the IDE - it's just VS Code, no special setup. The only thing maybe somewhat unusual in what I do with VS Code is that I put the terminal in the editor area - which you can find with cmd/ctrl+shift+p "Terminal: create new terminal in editor area". The C compiler I typically use is clang (along with this template sometimes - github.com/neoeno/toy-c-project-template ) and how you install that will probably vary depending on your OS.
      If I'm missing something that looks different though, do point it out and I can advise!

  • @dvsavocs5290
    @dvsavocs5290 หลายเดือนก่อน +45

    trans queen we love you!!!!

    • @Notimetootime
      @Notimetootime หลายเดือนก่อน +21

      Trans or not still lover them because of their quality

    • @anhkhoiaoduy6072
      @anhkhoiaoduy6072 หลายเดือนก่อน +9

      it doesnt matter, as long as Kay Lack doing great content, a huge wave of supports come to him/her

    • @flflflflflfl
      @flflflflflfl หลายเดือนก่อน +15

      Imagine calling someone a "cis king".

    • @inerlogic
      @inerlogic หลายเดือนก่อน

      ​@@flflflflflflyou rang?

    • @mavisbavingson2299
      @mavisbavingson2299 หลายเดือนก่อน +3

      ^ i do that 24/7

  • @anon_y_mousse
    @anon_y_mousse หลายเดือนก่อน

    I would like to say I paid better attention to the code and noticed all of these mistakes, but TH-cam limits me to 360p in the browser, so I'd have to download the videos and force a higher resolution, which is just annoying. In the browser all coding videos are basically just fuzz. The only correction I had for this video was already addressed by the pinned comment, but I'll add that you can simply include limits.h and print all the limits out for all the standard numerical types. I'm sure someone has a version of that somewhere, and I would post my own, but TH-cam also deletes every post I make that has a link or long tracts of code in it.

  • @7etsuo.c
    @7etsuo.c หลายเดือนก่อน

    Lets go!

  • @petevenuti7355
    @petevenuti7355 หลายเดือนก่อน

    I want to get back to being able to write self-modifying code but so many of the modern systems both in hardware and software design do everything possible to prevent one from doing self-modifying code.
    Do you have any tips or tricks to be able to enable me to successfully do that without having to design my own operating system we're working my own little isolated virtual box(no pun intended)

  • @manuelsuarez7521
    @manuelsuarez7521 หลายเดือนก่อน +1

    cool stuff

  • @ServerGhost-d8p
    @ServerGhost-d8p หลายเดือนก่อน

    bro no way i was not expecting art attack intro - good times thanks for reminding me! my favourite painting was the old haunted castle on the hill with moon BG

  • @BlackwallSys
    @BlackwallSys หลายเดือนก่อน

    art attack teach me who to drawn nice trees

  • @bitmonky8484
    @bitmonky8484 หลายเดือนก่อน +1

    🍌🍌🍌🍌🍌 BitMonky Approved Five Banana Rated!

  • @nolan412
    @nolan412 หลายเดือนก่อน

    At least nobody uses C++ to introduce OOP...before the stl standardized.

    • @nolan412
      @nolan412 หลายเดือนก่อน

      Arduino! 😮

    • @nolan412
      @nolan412 หลายเดือนก่อน

      Fortunately Factorio had the rocket. Mission accomplished. I started Minecraft before the dragon and I still haven't done that.

    • @nolan412
      @nolan412 หลายเดือนก่อน

      Wikipedia is bad. Maybe an LLM can help beginners.

    • @nolan412
      @nolan412 หลายเดือนก่อน

      Hmm, I scan and hopefully find what bits to flip or algorithm to use.

  • @ProgrammingRainbow
    @ProgrammingRainbow หลายเดือนก่อน

    Twople tupple. My life-long struggle.

  • @lauralhardy5450
    @lauralhardy5450 หลายเดือนก่อน

    09:16 Your comment about ( -127 128 ) integer range is something that happens at times in the hardware world when engineers don't think of the consequences. I've had to deal with this before where for example there might be a range of RF channels displaying numbered from 1 to whatever but the program uses 0 to the highest number of channels and then when that becomes legacy code and someone new works with the code they might have a moment deciphering that fact. And the only reason you use 0 to begin a count is that it's simpler to run comparison operands. So, think about it without rushing in.
    Somewhat similar to all the whinging about " C is dangerous because of unsafe pointers ". Programmers need to grow up.

  • @notgiven3114
    @notgiven3114 หลายเดือนก่อน

    Where did my comment disappear to?

  • @witokija
    @witokija หลายเดือนก่อน

    hehehehe it is crazy that you went a whole video without talking about how you're tra-

  • @ProgrammingRainbow
    @ProgrammingRainbow หลายเดือนก่อน

    What i meant about Turing is that a movie was made that made some claims. He invented a computer the bomba. It was not a computer and It was not his invention it was polish. He cracked the german codes, again that was the polish. He named it after a childhood friend, that was made up. He was he was rude and anti-social, he was nice and a team player. He was discovered by a policman, that was made up. The entire movie was not real. He did work at Bletchley park and he did contribute yes. Tommy Flowers invented the first Electronic Computer. He was also at Bletchly and did most of it himself. It was way ahead of it's time. It was kept top secret. Most were destroyed but several were kept to spy on both friends and foes all the way to 1960. Since it was so top secret no one ever knew about it and it was only started to be talked about recently. He was bankrupted by the machine and the govenment gave him nothing. Again much better than Turing since he was basically killed by the government. But the amazing advanced code breaking machine of WWII in all the world was not the Bombas. Those were basic devices. The colossus was something amazing. But there is little content about it. Check out the Colossus, 11 or 12 were made. But they were not known about till much later. That was the first electronic computer.

    • @ProgrammingRainbow
      @ProgrammingRainbow หลายเดือนก่อน

      th-cam.com/video/9HH-asvLAj4/w-d-xo.html and th-cam.com/video/g2tMcMQqSbA/w-d-xo.html

  • @utubercj
    @utubercj หลายเดือนก่อน

    Does ODE4 on rust code

  • @Isaac-zy5do
    @Isaac-zy5do หลายเดือนก่อน +1

    sorry for bringing up more of this, but your pronunciation of POSIX is unusual to me, i prononce it more similarly to posit

  • @painfullyhuman
    @painfullyhuman หลายเดือนก่อน +3

    Lol at the end

  • @raccoons_stole_my_account
    @raccoons_stole_my_account หลายเดือนก่อน

    "For the fun of it" is a good book. Not very "educational" but nontheless fun to read.

  • @pekudzu7498
    @pekudzu7498 หลายเดือนก่อน

    re: reading right to left, you should have a chat with ramsey nasser! en.m.wikipedia.org/wiki/Qalb_(programming_language)