mCoding

mCoding

Hi! I'm James Murphy and I make videos about programming and mathematics, mostly including Python and C++.

My goal is to help as many people as possible better their own skills by seeing coding and mathematics through my eyes. I'm a Carnegie Mellon and UT Austin trained mathematics Ph.D., I've worked in quantitative finance in Chicago and New York, and I'm taking all my knowledge and passing it on to viewers like you all around the world! In addition to making KZread videos, mCoding offers consulting, contracting, code reviews, and training.

Want to financially support my KZread video production through a one-time or monthly donation? Great! I accept donations through the Patreon (monthly) and PayPal (one-time or monthly), see links below. Note: through Patreon I receive about 88% of what you donate, compared to 97% for PayPal. If you prefer to donate through other means such as via check, Zelle, or cryptocurrency, please contact me through the business email below.

Modern Python logging

Modern Python logging

Cloud Imports in Python

Cloud Imports in Python

Bloom Filters

Bloom Filters

Python 3.12 is HERE!

Python 3.12 is HERE!

Python's ternary operator

Python's ternary operator

21 MORE nooby Python habits

21 MORE nooby Python habits

str vs bytes in Python

str vs bytes in Python

Пікірлер

  • @b4ttlemast0r
    @b4ttlemast0r7 сағат бұрын

    Is there something akin to C++'s resize, reserve and shrink_to_fit methods? These would allow more direct control over the capacity.

  • @budgetarms
    @budgetarms17 сағат бұрын

    Only 5 out of 31, these being 10. not knowing string literal lifetime, generally I would use a global variable string. 11. not using structed binding, auto helps here a lot, but can make you lose track of the type. 12. not using constexpr, just forgetting to add it sometimes, ... 25. any use of new and delete, for win32 programming, low level ish, I have used new and delete. 30. mix up const ptr vs ptr to const. const int* ptr, int* const ptr, I know what both do, but int const* ptr I haven't seen in a while and forgot what it did.

  • @spyv8550
    @spyv855020 сағат бұрын

    #pycharm

  • @paxdriver
    @paxdriver23 сағат бұрын

    I seriously appreciate the pace and length of this video. It really helps a lot.

  • @liam2795
    @liam2795Күн бұрын

    you l literally look like npc

  • @jasonjennings8465
    @jasonjennings8465Күн бұрын

    Just learning Python and I've already run into issues with 3.12. The lora kohya_ss only works up to 3.10. Ran into that same issue while trying to program a script to be a smart assistant. Trying to get it to do things on the computer when asked. Also, if I ask it questions. I want it to find out using llama2 I have installed using WSL.

  • @LiquidMasti
    @LiquidMastiКүн бұрын

    Very Good and Informative series using FASTAPI for 2 years now but never knew this much is going into backend.

  • @Ca1vema
    @Ca1vemaКүн бұрын

    What you really have to know is that it is poorly designed and you cannot start asyncio tasks prior ASGI application startup. So if your application is something more complex than CRUD - you'll have to start all your background tasks in framework's lifespan handler, which, sometimes, is strange, because HTTP API might not be the only part of an application. **It might already be fixed though. ***all the flaws of ASGI applications might be the reason for why it still has no PEP

  • @sebastianrossetti6167
    @sebastianrossetti6167Күн бұрын

    Awesome video as usual. Will this series include a global request rate limiter? Both for incoming requests to avoid sever overload, and requests from the app to an external API. I know you showed how to do an external API rate limiter in a previous video, but it was for batch requests, it was not in the context of an ASGI application. Thanks!

  • @YADOLBAYOB
    @YADOLBAYOBКүн бұрын

    Thank you. This series is very interesting. I have a question about the assertion you used. What is your opinion about it on production code? I always avoid this kind of code, except for test cases (pytest and etc) .

  • @Ontaro
    @OntaroКүн бұрын

    this is amazing! thank you!

  • @prosodyspeaks4036
    @prosodyspeaks40362 күн бұрын

    this series is super useful, thanks so much!

  • @gustavocampos9404
    @gustavocampos94042 күн бұрын

    Wait, in 3:28 "if x" and "if not x" wouldn't be better?

  • @mattmess1221
    @mattmess12212 күн бұрын

    I hope the next video is about middleware.

  • @StanislavStratiev
    @StanislavStratievКүн бұрын

    I can't remember how many times I've had to reread what CORS is and why I need to add CORS middleware. Still don't think I really understand it.

  • @nicholaskomsa1777
    @nicholaskomsa17772 күн бұрын

    great video