Kris Jordan

Kris Jordan

Hey, hey, I'm Kris Jordan (he/him/his) and I am a professor who teaches computer science formally at lovely UNC Chapel Hill and informally on KZread. I hope you'll join me by subscribing to the channel and following along!

Пікірлер

  • @wonderfulworld1128
    @wonderfulworld11285 күн бұрын

    Sir please make a video on closures and lexical scoping in python. If like these videos you'll put on your platform with well diagramatic approach that you actually do, this actually makes your content valuable... and makes us visualisation better to excites us to learn more. Lot's of love and hat's off appreciation to your work...

  • @wonderfulworld1128
    @wonderfulworld11285 күн бұрын

    I'm not understanding why we need to store function definition in heap, when all of work has to be done in stack memory???

  • @KrisJordan
    @KrisJordan5 күн бұрын

    @@wonderfulworld1128 functions can be passed as arguments to other functions and references to their heap definitions are what get passed around (in Python). There's nothing special about the main function in Python, you can write it to return values of you'd like.

  • @wonderfulworld1128
    @wonderfulworld11285 күн бұрын

    @@KrisJordan sir your mean to say that whenever a function def encounterd in python script python holds the name in global stack frame and it's reference is hold in the heap memory... Whenever a function is called in script a new call stake frame initialzed in stake memory and all its variables and values stores in that particular frame. My question is that when this function returning a value let say 4(immutable type) or any function inside (not been called yet), the value has to be gone to the the caller end.. and reference has been hold by the any variable let say num_result... but the return value where gone in the stack memory or heap memory?? And also the function we'd returned the definition of insided , where it gone?? Because I know whenever return statement encountered call stacks is removed and the reference it hold in heap it's all gonna be removed..sir please give me some examples to understand what's going in memory when all of this kind stuffs happens in code?? As you shared in this video like that, I would be very happy to learn something in detail???

  • @akhilareddy4098
    @akhilareddy40987 күн бұрын

    Temporary breakpoint 1, main () at debug1.c:6 6 { (gdb) step 8 i=0; (gdb) s 9 h=100; (gdb) s 10 if(max(i,h)!=h) (gdb) s max (a=21845, b=1431654973) at debug1.c:20 20 { (gdb) s 22 uint32_t res=0; (gdb) s why it is getting max (a=21845, b=1431654973) while debugging.plzz rly this query

  • @gedtoon6451
    @gedtoon64517 күн бұрын

    Strictly speaking the __new__ dunder method is the constructor and __init__ is an initialiser. Most people, including myself tend to gloss over the details and think of __init__ as the constructor.

  • @CaseySmith-d5v
    @CaseySmith-d5v18 күн бұрын

    What if I want to keep the first column as a string and convert the following columns to floats?

  • @ashanhimself6350
    @ashanhimself6350Ай бұрын

    thank you for making this video

  • @avixx
    @avixxАй бұрын

    You're doin' good job!

  • @storybozo
    @storybozoАй бұрын

    This was very helpful

  • @leksikon
    @leksikonАй бұрын

    I recently started learning Python - this video was incredibly useful in understanding ranges. Thank you so much for sharing this!

  • @GCAGATGAGTTAGCAAGA
    @GCAGATGAGTTAGCAAGA2 ай бұрын

    Great tutorials! But, I've got really stupid question: 33:00 - if we increment *words pointer it would have the same effect as incrementing **word_ptr, right? It does "switch" to the next address or will it become just garbage?

  • @manoharsagunthalla9215
    @manoharsagunthalla92152 ай бұрын

    Dear Jordon will you please put a separate video for how to get multiple inputs from user using split () and populate the dictionary. 2. One of the dictionary key is having list suppose I need to update the value in the list how to do that? How to add another key-value list in that dictionary?

  • @Ggwpleohar
    @Ggwpleohar2 ай бұрын

    We need more, or at least I would have needed for the rest of this semester

  • @EmilyPalm
    @EmilyPalm2 ай бұрын

    really well explained !

  • @johnjoyce
    @johnjoyce2 ай бұрын

    Module is the wrong term here and may be confusing.

  • @landix537
    @landix5372 ай бұрын

    What is the font you are using ?

  • @pattyspanker8955
    @pattyspanker89552 ай бұрын

    "And that would overlap with the pointer where we would store the pointer for two pairs if this were a pair node. _And that's okay_ !" Perfect moment to cue in the "this is fine" meme from one of the earlier lectures. 😆

  • @cc_snipergirl
    @cc_snipergirl2 ай бұрын

    For some reason I thought it would be more complicated than this. Thank you!

  • @user-bd5mg2wi9p
    @user-bd5mg2wi9p2 ай бұрын

    Very clear explanation. Thanks!

  • @ducksavage
    @ducksavage2 ай бұрын

    Underrated, thank you so much

  • @anasqb607
    @anasqb6072 ай бұрын

    thanks for your effort

  • @robertleechford4250
    @robertleechford42502 ай бұрын

    Thank you

  • @lattehour
    @lattehour3 ай бұрын

    it`s the same as with pointers to arrays you have to use parenthesis around the *name because * has lower precedence than ( ) ... how else would the compiler even know that you ain`t actually declaring a ptr return type , ps when you want to use a function as a parameter in a function implemention you dont even need the pointer just write the function in the declaration and when you call that function it`s generalized by default you can simply call it with any function as the type you used in declaration e.g void euler_method( double generic_F(int, int) , dbl a , dbl b ) you can have as many as you want in the param list thne you simply use your euler_method( sqrt , 5.5, 3.3) the main ideea behind all pointer types is based on 3 reasons 1. type checking, interpretation and arithmetics without encapsulating the type of the object inside the Pointer Metadata this can`t be done as the compiler has absolutely no means of understanding the memory layout to do the arithmetics , it has no way to interpret the bits is it a double or a long int ? and it can`t understand the intent because dividing a char string by 3 has no purpose or meaning it`s absurd

  • @lattehour
    @lattehour3 ай бұрын

    ps in assembly you can only have 6 in the param list dont know in C only ever used 3

  • @AshraRai
    @AshraRai3 ай бұрын

    I found many videos on youtube about capturing group but this one is the best.

  • @dsvhs93
    @dsvhs933 ай бұрын

    Thank you so much!

  • @bobsprite6711
    @bobsprite67113 ай бұрын

    Excellent! Very clear and didactic!

  • @joshuarose3186
    @joshuarose31862 ай бұрын

    how is it didactic

  • @bigfoot1861
    @bigfoot18613 ай бұрын

    that initialized = { x, y} variable will be gone after the function returns since it's on stack. You definitely need to malloc Point structure on heap

  • @RussTanner
    @RussTanner3 ай бұрын

    This is the best presentation I have found on this subject anywhere. I finally understand how this actually works. Fantastic! Thank you.

  • @Inte8ranD
    @Inte8ranD4 ай бұрын

    Hey Kris, my name is Radai. And I'm learning Python and so far, I've created my very own customer database and a simple calculator as well. My question is this, can you make a video using real life examples? Say for example voters for this coming election, people who believe in climate change, voters who want a new political party or fans that follow their favorite team in football, basketball or baseball. Using While Loop with if, elif, else statements and try and except blocks. So could you make a video on any of these subjects so that i can prepare for a job interview? @Kris Jordan

  • @gyanarihant7113
    @gyanarihant71134 ай бұрын

    Awesome videos, sorry to see such quality content not get deserved attention! Thank you tho!

  • @davidoconnor8224
    @davidoconnor82244 ай бұрын

    Excellent explaination, thanks!

  • @tuckerwebb5336
    @tuckerwebb53364 ай бұрын

    The end of this video is too overcomplicated to explain functions to beginners. Use simpler examples for beginner videos.

  • @shekharchaurasiya5236
    @shekharchaurasiya52364 ай бұрын

    You explained Shell Expansions very well. Thank you very much Kris! 😀

  • @nileshgopnarayan4464
    @nileshgopnarayan44644 ай бұрын

    Pls. Suggest book for assembly & c programming

  • @cthecheese1620
    @cthecheese16204 ай бұрын

    Me being in the 20% & 30% who got the first question right: I don't need a debugger, I have eyes! Me after seeing the results of adding a print statement: What the actual f--

  • @mauriciobainycuri9478
    @mauriciobainycuri94785 ай бұрын

    Excellent