Learning Rust the wrong way - Ólafur Waage - NDC TechTown 2022

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

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

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

    Best cross-over ever. Im learning rust and Norwegian and I've been watching this guy's humourous takes on Norwegian for the past six months. Thanks !

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

      I was wondering if this was the same guy! I'm not great at recognising people, but his voice was tickling my brain.

  • @kahnzo
    @kahnzo 2 ปีที่แล้ว +173

    I love that this applies to everything I want to learn, not just Rust.

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

    I came for Rust, but stayed for everything else, which is pretty much 95% of the take. Basically the talk should be titled "Learing the wrong way, with some Rust along the way". Thanks a lot to Mr. Waage for this refreshingly out of topic talk! I enjoyed every minute of it!

  • @peculiar-coding-endeavours
    @peculiar-coding-endeavours ปีที่แล้ว +47

    Started smiling ear to ear when it dawned on me what he was doing with the constant interruptions to jump into another little topic. Great stuff. Well done sir, well done.

  • @rosly_yt
    @rosly_yt ปีที่แล้ว +73

    I've taken college-level education classes with zero self-awareness, teaching that short blocks and regular breaks is optimal... In a 2 hour long class period with no breaks. Or a 10k word long, confusing to follow, textbook chapter arguing that it's best if you present in small, focused chunks.
    The ability to teach education best practices without using them was astounding.
    Anyway, this talk was the antidote, thank you so much!!

    • @SEOTADEO
      @SEOTADEO ปีที่แล้ว +2

      lol

    • @Brian-ro7st
      @Brian-ro7st 8 หลายเดือนก่อน +1

      The jokes write themselves

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

      Same thing with some architecture classes, that tell you "human design requires windows for natural light and some connection to the outside world as well as ventilation", while teaching that class in a windowless isolated room with bad ventilation, lol

    • @Niki1A_
      @Niki1A_ 10 วันที่ผ่านมา

      Sadly, this often is because the study program of the university dictates the format, so the lecturers have to hold it as a 2 hour lecture, even if they know this is a bad format. I had lecturers that openly said, they would use a different teaching format if the course wasn't specified as a lecture.
      (This is my experience from Germany, it might be different elsewhere.)

    • @rosly_yt
      @rosly_yt 10 วันที่ผ่านมา

      @@Niki1A_ that is unfortunate, especially given that you're in Germany and I'm in America and the problem is the same.

  • @wralith
    @wralith ปีที่แล้ว +75

    I was just looking to devour some Rust content, but this... This was one of the best conference talk I've ever seen!

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

    Wait a minute, it's the Iceland youtube shorts guy

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

      I know right!? I was like wait I'm here for a Rust video what the heck?

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

      Holy crap you're right.

  • @TheDmviper
    @TheDmviper 2 ปีที่แล้ว +97

    This was an interesting talk, I almost wish there was nothing on Rust since the "how to learn" portion was by far the most useful part of the talk.

    • @RootsterAnon
      @RootsterAnon ปีที่แล้ว +6

      pokemon example was great example that I enjoyed so much seeing it as pixel battle. really nice talk.

    • @valshaped
      @valshaped ปีที่แล้ว +15

      The rust portions help space the learning portions, reinforcing your memory of both

    • @pookiepats
      @pookiepats 17 วันที่ผ่านมา

      sOiNsIgHtFuL

  • @jacksonford3057
    @jacksonford3057 ปีที่แล้ว +18

    Cool presentation but I didn't get all the learning tactics.
    So what I have:
    - Mixing up a different style (readinng books, videos, code)
    - Waiting between studies
    - Don't cram
    - Consistent practice for long time
    - Ask questions and find answers

    • @greywolf271
      @greywolf271 ปีที่แล้ว +2

      Nothing new. I did'nt see any flashes of inspiration here.

    • @Ethernel0
      @Ethernel0 ปีที่แล้ว +10

      @@greywolf271 maybe for you, but there was a lot of interesting information
      personally 30:30 was so great it will greatly improve my future learning process !

    • @sergeylypko5817
      @sergeylypko5817 ปีที่แล้ว +3

      I think the most important ideas here are about considering difficulty as en essential component of studying process and ask the questions while working with the topics. I like how Jordan Peterson gives advise to his students skip making notes during the lecture, and instead listen carefully then recall that new knowledge and ask themselves about what they have been learned.
      And I also like how Ólafur explains interleaving approach with specific studies. I mean I agree those result are appearing to be not that obvious I'd may expect.

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

      Well watching this video off and on today I was solving a Windows update error. Took me about two total hours to find three different parts to the solution. And what had me think that I've learned anything in solving my windows issue is the documentation I created that would allow anyone to fully recreate the solution. I even tested it one extra time. That's when I feel I really learned. I enjoyed this talk very much.

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

    I just realized that you are also the guy I watch when I'm procrastinating about my work ... I hadn't thought about it, but I think I would have guessed that you were a school teacher based on your other videos :D
    Jokes aside; this matches my own journey in Rust. I read through "The Book" twice but was unable to really grasp things before work threw me into a project where I had to build a REST API in Rust with an associated CLI client. The struggle that ensued was what finally made the language click.

  • @Fanaro
    @Fanaro ปีที่แล้ว +7

    37:33 And most of the integration learning in the brain happens during REM sleep, so people perform usually much better the very next day, after a good night's sleep, according to Dr. Matthew Walker, in his book *Why We Sleep*.

    • @shneor.e
      @shneor.e ปีที่แล้ว

      Damn that's so true

  • @lmao01
    @lmao01 ปีที่แล้ว +2

    note to self. Occupied right now. Watch later. Seems like a nice talk

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

    Still one of my favorite Rust presentation. Or just presentations in general. Really helped me be less critical of myself and enjoy my failures to better learn from them.

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

      I'm so happy to hear!

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

    I'd give this talk 2 thumbs up if TH-cam could. I like how the discussion is backed by research articles and also his own input as well. Very well done.

  • @mrdupreez9061
    @mrdupreez9061 2 ปีที่แล้ว +13

    Thank you so much, wish we could hear the questions at the end though!

  • @autoramen1632
    @autoramen1632 ปีที่แล้ว +7

    Illusion of fluency really hit hard. Definitely found this to be true with video tutorials. Not saying you can't learn from them, but you do have to go and try to take the concept that is explained in a video and apply it. Will change up my practice to challenge myself to do something with my own noggin and press myself to push pass the difficulty as opposed to reaching out for the easy answer.

  • @PaulJaros
    @PaulJaros ปีที่แล้ว +3

    Listing 46:00 where the video mentions that (at the time the conference was held) there are no rustling exercises for lifetimes, while I'm doing the rustlings quiz (branch named 5.6.1) exercising lifetimes. Which are number 65 - 67 from the total 96 exercises.
    Funny coincidence😀

  • @BerthingBees
    @BerthingBees 2 ปีที่แล้ว +23

    Thanks for a good presentation. I am currently learning rust, it is good to know that the approach is not wrong :)

  • @jonaskoelker
    @jonaskoelker ปีที่แล้ว +4

    The differences between spaced and massed learning make sense to me. At least, having been told the punchline I can retrofit a compatible set-up.
    When you're learning to classify objects into sets (e.g. paintings by artist), what you want to learn is not just the common elements within each set, but also the elements which discriminate between two sets. Not just the middle of each set, but also its boundaries with its neighbors.
    It also makes sense that you learn the most from difficult tasks. If the task was easy you had already mastered it, thus you didn't have a lot of room for improvement. It makes sense if this applies only (or mostly) when you're _successful_ at the difficult task: if you're successful and you know what you did, you can do the same thing again. Success becomes repeatable, and your brain can store the recipe for success.

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

    This jives perfectly with the story about Kobe Bryant (RIP), who was asked to be interviewed while doing his daily routine.
    So the interview/routine begins and the reporter notices Bryant, already a huge star, is spending an hour practicing the most basic maneuvers, and he questions Bryant on this.
    Bryant's answer? To become legendary you have to have a solid grasp of the basics!
    What a loss to basketball. But also, it seems this non-college educated dude knew more about life, learning, and being excellent, than many academics.

  • @ryanvs
    @ryanvs 2 ปีที่แล้ว +8

    At 14:25 a baseball change-up is an "off-speed" pitch where the pitcher uses the same wind-up and arm motion to deceive the hitter. The pitcher uses less or no minimal wrist and finger motion (e.g. put the ball in the palm instead of the fingers) and therefore it travels at a much slower velocity. However to the hitter, it appears from the motion that it should be the same speed as full speed pitches. Note that some curve balls are also off-speed pitches where the wrist and fingers impart more spin and less velocity but faster than a change-up.

    • @NickWindham
      @NickWindham ปีที่แล้ว

      I was thinking the same thing. However, he is out of my league on RustLang

  • @Rose-ec6he
    @Rose-ec6he 7 หลายเดือนก่อน

    I love how you not only discussed many principles behind effective learning but you also used many of the principles within the talk

  • @PaweSkalczynski
    @PaweSkalczynski ปีที่แล้ว +4

    "we are minmaxers" oh god, I will take this a key from this lecture :)

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

    Great talk, Ólafur. I've been learning Rust for about a month and it's kicking my butt. But as you said, that's good. I share my progress on my TH-cam channel and I've been doing the things you mentioned: spacing, variation, interleaving, etc. I often try to include the activities I do between Rust sessions in my videos, too.

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

    I'm surprised to find him here. He makes such funny shorts about the Nordic countries. 😂

  • @Lantalia
    @Lantalia ปีที่แล้ว +11

    I'm a bit confused as to why it is 'counter intuitive' for spaced to be better than massed. Spaced obviously allows for identifying meaningful differences between styles, something that is important for the task of distinguishing those items

    • @olafurw
      @olafurw ปีที่แล้ว +4

      People generally like to focus on one thing when learning, mixing one new thing with another other new thing can make people feel like they are overloaded with new information. The research showed that people prefer focusing on one item or topic. It of course depends on the person and the subject but this is the general feeling.

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

      If you would design some CS classes with the goal to introduce the students to three different programming languages: One interpreted, procedural language, one compiled OO language and one functional language (I'm just too lazy to think which ones I would choose). Would you design in a way that students learn every week new things from all three languages or would you start with one language, then have a block for the second language and finally a block for the last language? I guess most people would (intuitively) go for the approach with the three blocks.
      Edit: When I studied the first semester was Pascal (yes, it's long ago), the second semester started with C, switching later to C++ ... it was a blocked approach.

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

      @@brdrnda3805 My paradigms class had two different instructors, one on Tuesdays, one on Thursdays, one teaching OOP (Java), the other teaching functional (lisp) and logic (prolog). I don't see how they could've done it differently with two instructors.

  • @MarkusBurrer
    @MarkusBurrer ปีที่แล้ว +8

    Very interesting talk. And it scares me because the learning methods in school are going more and more in the "wrong direction". It is made easier and easier for the children.

  • @adwinang4188
    @adwinang4188 ปีที่แล้ว +1

    Thank you for motivating me to continue my studies especially now that I’m finding it super hard

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

    I have always learned a new language by building a significant project. The first one is not as good as the 10th, but it forces me to learn how that language solves real problems.

  • @petrus_nierop_thaigertech
    @petrus_nierop_thaigertech ปีที่แล้ว +1

    Damned... i changed my mind halfway. First it looked like garbage going nowhere... then it works out nicely.

  • @edinalewis4704
    @edinalewis4704 2 ปีที่แล้ว +6

    All the things he describes as counter intuitive or unexpected are the things that I found to be intuitive and expected :)

    • @bogdanpopescu1401
      @bogdanpopescu1401 ปีที่แล้ว +2

      yes, we learn both by similarity and difference; and a lot goes on at subconscious level, we should not expect to control the learning process

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

      I agree! I feel the best when comparing both similarities and differences.

  • @ataniel3289
    @ataniel3289 ปีที่แล้ว +2

    Im speechless, so many clever points

  • @grawss
    @grawss ปีที่แล้ว +1

    Programming video conferences aren't about learning programming, they're about learning the culture and thought processes of other people. Variation is key here too, where you want a broad span of viewpoints in order to hit the target, which is ability to communicate effectively and mesh with other peoples' thought processes.
    I learned programming prior to any talks because I didn't want to have to unlearn anything they might have suggested, but more importantly, I wanted to be able to ignore the programming itself and focus on the motivations and thought processes that led someone to that moment.
    Training on the job is far better than training in a university in basically all cases because you have to jump around, take breaks, run into issues, etc. Watching an expert attempt to solve a problem they don't understand, and maybe even failing, is the absolute best possible learning experience because you see the chain of events necessary to make the process function and the priority the expert places on each part.

  • @이택영-l9h
    @이택영-l9h ปีที่แล้ว +3

    He must be a really good senior to be admired by a junior!

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

    i always read the comments first before watching these and so glad i stayed and watched! great lecturer!

  • @KuldeepSingh-in6js
    @KuldeepSingh-in6js 7 หลายเดือนก่อน +1

    Best way is the hard way let's go 👍

  • @glennmiller394
    @glennmiller394 ปีที่แล้ว +4

    I benefited from this. Thank you.

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

    I checked multiple times to confirm if its really a rust talk, interesting perspective

  • @radekBednarik
    @radekBednarik ปีที่แล้ว +3

    This is an awesome presentation. Thank you.

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

    Like everyone else on the planet that likes computers I'm training toy neural networks for fun. Definitely didn't think this would be incredibly on point for that side of things. Great talk.

  • @ЏонМастерман
    @ЏонМастерман ปีที่แล้ว +2

    This was excellent :) Thanks !

  • @IvanArdillo
    @IvanArdillo ปีที่แล้ว

    came here for Rust, got an even better insight on life. Thanks!!!

  • @lqlaliut897
    @lqlaliut897 2 ปีที่แล้ว +9

    I like these videos. thanks!

    • @AndriiMuliar
      @AndriiMuliar 2 ปีที่แล้ว

      They are for non professionals

    • @MsHofmannsJut
      @MsHofmannsJut ปีที่แล้ว +3

      Funny how these professionals get offended when something is not appropriate for their understanding.

  • @alexpyattaev
    @alexpyattaev 2 ปีที่แล้ว +5

    This is gold!

  • @lifelover69
    @lifelover69 2 ปีที่แล้ว +4

    Great talk, good insights about learning strategy in general 👍.

  • @subspace7290
    @subspace7290 ปีที่แล้ว +1

    extraordinary talk

  • @lucasa8710
    @lucasa8710 18 วันที่ผ่านมา +1

    Isn't this guy very famous yt shorts doind comedic shorts?

  • @chrisalexthomas
    @chrisalexthomas ปีที่แล้ว

    You can literally watch this video on 2x speed and right arrow skip through it and read the captions, finishing the whole video in 5 minutes and get the same comprehension of all the content said

  • @riebeck1986
    @riebeck1986 ปีที่แล้ว +2

    This was an amazing presentation!!

  • @srikanthremani
    @srikanthremani ปีที่แล้ว

    After watching this hour long video, I am a Rust Expert now!

  • @darkeyedwitch
    @darkeyedwitch 2 ปีที่แล้ว +8

    Great talk! The ideas presented are so valuable.

  • @ceving865
    @ceving865 ปีที่แล้ว

    Haven't learned much about Rust, but was still worth the time.

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

    Not the rust I was thinking about, but still very interesting.

  • @vstollen
    @vstollen ปีที่แล้ว +3

    35:20 I‘d really like to see the study showing that cramming has no point compared to not studying at all. While I cannot remember any of it, I‘ve successfully written soo many tests where I would not have any knowledge about the topic at all if I hadn‘t crammed the night beforehand.

    • @olafurw
      @olafurw ปีที่แล้ว +4

      I mean in the long run. Yes you can pass a test but if you actually really want to learn and remember something, cramming is not good for you.
      You can look into "Forgetting as the friend of learning: implications for teaching and self-regulated learning" and "Optimising Learning Using Flashcards: Spacing Is More Effective Than Cramming"

  • @miriamramstudio3982
    @miriamramstudio3982 ปีที่แล้ว

    Great presentation. Thanks

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

    Bravo! This is fantastic

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

    Allman format, nice. I knew I wasn't crazy.

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

      I like the box like look it creates, but I'm down with almost whatever. As long as it's consistent and is done automatically by a tool.

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

      Been dealing with a bunch of that in C#. Couldn't take it, I just gave up. In C++ or Rust it would probably be fine but in a verbose-ass language like C# it's torture.

  • @0xggbrnr
    @0xggbrnr ปีที่แล้ว +2

    Amazing talk!

  • @SardarNL
    @SardarNL ปีที่แล้ว

    It is a great talk about studying in general with some hard evidence on human memory and practising. However, it has very little on Rust.

  • @isurucumaranathunga
    @isurucumaranathunga ปีที่แล้ว

    Thank you so much

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

    I expected this guy to explain to me why it's easier to teach rust to a toddler than it is to teach it icelandic

  • @rahulkulkarni1780
    @rahulkulkarni1780 ปีที่แล้ว

    Refreshing talk 🎉

  • @unduloid
    @unduloid ปีที่แล้ว +1

    I learned Rust while deep-sea diving.

  • @JOHNSMITH-ve3rq
    @JOHNSMITH-ve3rq 10 หลายเดือนก่อน

    Really great talk.

  • @blackwhattack
    @blackwhattack ปีที่แล้ว +2

    24:57, it doesn't work, but it actually should work. The presenter frames it as Rust caught some potential bug, but in reality a perfect Rust compiler should have accepted this code as correct. See the Polonius borrow checker for more details. You are borrowing from two separate memory regions, there is no basis to restrict simultaneous references.

    • @luksch154
      @luksch154 ปีที่แล้ว

      You can do this with slice.split_at_mut(..) or with slice.iter_mut() to work aroudn this borrow checker limitation

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

      This example right there is one key reason why Rust is unsuitable for me. Much of what I write is math; I can't stand on so much ceremony when the straightforward C++ version is perfectly functional, clear, and correct.

  • @myyagis3310
    @myyagis3310 ปีที่แล้ว +1

    very very nice talk

  • @antonkot6250
    @antonkot6250 ปีที่แล้ว

    Nice research of mr Ólafur !

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

    Came for rust, stayed for the philosophy

  • @TheInspctrcat
    @TheInspctrcat ปีที่แล้ว +1

    Useful talk

  • @nextlifeonearth
    @nextlifeonearth ปีที่แล้ว

    "van go"
    Someone should do a Dutch 'G' course. From below the rivers, I don't fancy listening to a chainsaw.

  • @2nafish117
    @2nafish117 25 วันที่ผ่านมา

    This talk goes hard.

  • @roxferesr
    @roxferesr ปีที่แล้ว

    I was confused by "borrowing into" I think the author means "lending"? (ps, I know borrowing is the technical term `borrow checker` but in this case speaking from the caller (main) POV it would be lending)

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

    This validates my ADHD way of learning

  • @michaelmueller9635
    @michaelmueller9635 ปีที่แล้ว

    This video helped me procrastinating harder xD

  • @iamthesamrus
    @iamthesamrus ปีที่แล้ว

    great talk!

  • @Quarky_
    @Quarky_ ปีที่แล้ว

    I thought returning constants (like `str`) in your function exposes you to lifetimes in a rather gentle way.

  • @e.gonnermann4646
    @e.gonnermann4646 2 หลายเดือนก่อน

    Hee Olaf
    Ik vind al je videos heel leuk. Helaas maar waar... de uit-spraak van 'van Gogh' is het zelfde in Noors als in het Nederlands, maar niet op z'n Amerikaans. Tussen Takk

  • @salmanrana9478
    @salmanrana9478 ปีที่แล้ว

    Can someone share rust exercises link Olafur mentioned. Thanks

  • @jimlynchcodes
    @jimlynchcodes ปีที่แล้ว

    Can’t even finish watching this bc there are SO many ads…

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

    As a Swede learning Rust, cool

  • @HyperFocusMarshmallow
    @HyperFocusMarshmallow ปีที่แล้ว +2

    My first impression was that the beginning was a bit long before starting the talk.
    Then you had a pretty long preamble about meta points about the talk.
    Later I saw the point to the intro and taking that time was actually quite nice.
    The baseball section still felt long and I skipped forward a bit and still got the point fine when you got to the point.
    The conclusion was a bit vague in my opinion. Like do a little bit of everything over long time and hope it works. The idea of encountering the various pieces of the language semi randomly is probably sound, granting that the studies generalize to the situation which I’ll grant. And that its fine if it feels hard because you might still learn.
    But I imagine there are plenty of situation where your training data, maybe the tasks you get at work, or the way you happened to pick problems to work on might not automatically cover a broad range of language features or might not cover them in a semi randomized manner.
    So you might actually need to plan to get that kind of distribution.
    Those are just some thoughts.
    I like the talk in general, though it could have hade more rust in there =)

    • @olafurw
      @olafurw ปีที่แล้ว +2

      What excellent feedback. Thank you.
      I'm doing the talk again later this year and I'll definitely take these to heart.

    • @Krasbin
      @Krasbin ปีที่แล้ว

      Basically this stuff is written up in a review article: Teaching the science of learning, 2018 (Yana Weinstein, Christopher Madan, Megan Sumeracki).
      And also in a book callled Make it Stick.

  • @mediocreDevops
    @mediocreDevops ปีที่แล้ว

    Can someone summarize it, honestly I'm not getting what is the way to do this

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

      Forget structured learning. Don't cram learn if you can (i.e. Reading weeks worth of knowledge in a single day) .
      Learn everything you can, and don"t selectively learn stuffs. Read, test, fail, and find out what doesn't stick
      An even shorter and incomplete summary could be "Learn the similarities and differences between the knowledge you learn"

  • @creamOnDs
    @creamOnDs ปีที่แล้ว

    man this was an adhd fueled talk

  • @slicerabbit6166
    @slicerabbit6166 ปีที่แล้ว +1

    hold up... THAT'S THE GUY FROM TIKTOK

  • @maksymiliank5135
    @maksymiliank5135 ปีที่แล้ว

    Can someone explain why the Pokemon code at 22:31 doesn't compile? The error says you cannot borrow self.pokemons as mutable and immutable at the same time. This is fine. But we want to borrow two different objects in the vector and not the entire vector. Is there some sort of a workaround or a way to tell the compiler the objects we want to reference are different?

    • @2teaspoon
      @2teaspoon ปีที่แล้ว +1

      In this case we don't need the objects at all. As the speaker said ( 26:08 ) the programming was correct. Its the Rust compiler is telling us to reconsider implementation. So the proper thing would be to only work with the mutable behaviour instead of the entire object.

    • @typecasto
      @typecasto ปีที่แล้ว +1

      This is just a limitation of the rust compiler, a perfect rust compiler would be able to detect that the borrows don't overlap and allow the code to compile. There are some workarounds involving slices, but this will eventually be fixed by a compiler update.

    • @maksymiliank5135
      @maksymiliank5135 ปีที่แล้ว

      @@typecasto yup. I did a bit of reasearch after watching this video and there is a function which splits the array (or vec) at a given index, and the compiler lets you reference 2 values from each slice, because they never overlap

    • @maksymiliank5135
      @maksymiliank5135 ปีที่แล้ว

      @@2teaspoon yes but it forces you to write code in a different way even though your solution was correct and safe. That's what i felt when i tried rust for the first time. You end up fighting the borrow checker until you learn how to write code "the rust way"

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

    Never see it in other places.
    A programming language drove it's learners to learn about learning. That's really weird

  • @sergesolkatt
    @sergesolkatt ปีที่แล้ว +1

    ❤️

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

    Oh, those Nordics...

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

    welcome to my life ... I like to make things difficult for myself xD

  • @TJ-hs1qm
    @TJ-hs1qm 7 หลายเดือนก่อน

    I use GPTs

  • @emjizone
    @emjizone 2 ปีที่แล้ว +1

    Intelligence is based on discrimination, no confusion. Of course you can't learn to discriminate between things by looking for similarities. For AI builders, all of this is quite obvious.
    (feel free to contact me for math models or philosophy about that)

    • @weavermarquez1271
      @weavermarquez1271 ปีที่แล้ว

      Oh like some math models or philosophy about that! I've been learning cybernetics and I'm dying to see contemporary research on similar themes from an AI perspective, after having sunk my teeth into this university AI course.

    • @emjizone
      @emjizone ปีที่แล้ว +1

      @Weaver Marquez Well... if you accept that everything can be modeled in binary, then it's pretty obvious: you need at least two distinct states (usually written 0 and 1) to describe things. Three states are superfluous, because we can always express in base 2 the equivalent of numbers in base 3 or more. On the other hand, you can't do anything in base 1, because there is no distinction to work with between 0 and 0. In base 1, no matter how many identical symbols you write, it remains the same number, the same object. Unless we count the number of identical symbols we write, but then we need more than 1, so at least base 2.
      Distinction is the basis of intelligence, because it is essential for signaling, perception, discrimination, comparison, decision, classification, memorization, and therefore for identification as well... well, for everything to know.
      Even if you write a method that looks for similarities rather than differences, you end up implementing tests, and those tests make sense only because they can return either true or false, which are distinct things by definition. No matter what you call these things, no matter what symbols you choose, they must be distinct for your program to work. So all models and all knowledge depend on this difference, fundamentally.
      From my point of view, this is why people who seek the absolute unity of everything at all costs necessarily give up intelligence and end up very blind. We only perceive contrasts. We only think of differences. One thing alone without relation to anything else that is different, no one can conceive. Knowledge require structure, structure require relations, and relation require differences. This is also, I think, evidence that the universe cannot be perfectly described, unless the description is the universe itself, simply because there is only one universe by definition.
      Learners simply minimize a distance between their current state and another desired state in a vector space structured by differences.
      Thus, *unperfect* repetition is just an excuse to try many *different* things, to perform many *different* steps. If not, it's not learning, it goes nowhere, it never approaches the optimal state, it's stultifying. The only thing people can learn by perfect repetition is... repetition, without even a meaning.

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

    "Rust is focused on productivity ..." 🤣

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

    omg thats the tiktok guy

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

    35:37 I disagree: if I never crammed, I would have failed everything. It was often the first time I had seen the material.

  • @budimirfilipovic8442
    @budimirfilipovic8442 ปีที่แล้ว

    so

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

    Rust isn’t very fast compared to Python, seriously no idea what rust brings to the table. Thread safety comes at an unnecessary limitations.

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

      Is this bait

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

    i thought this was about the game lol

  • @Axacqk
    @Axacqk ปีที่แล้ว

    Whenever a programming language advocate starts talking of "hubris", the language is summarily disqualified for that reason alone.

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

    Listening to this video is the wrong way to learn rust. This guys simply say everything comes to his mind. Completely disorganized. Going everywhere.

  • @Axacqk
    @Axacqk ปีที่แล้ว

    This video is entirely about programming the programmer, and not at all about programming in rust. There is a tradeoff between what part of the effort lies in writing the program and what part lies in programming the programmer. Rust simply fails that tradeoff. Learning advanced concepts and newest experimental results in cognitive science should not be a prerequisite to learning a programming language. In the case of Rust, it apparently is. There's way too much effort required to program the programmer, and it's much closer to something like "a factor of 20 too much" than to something like "20% too much".