His logical progression of how decorators came about is nice.
@DanielTateNZ6 жыл бұрын
You forgot kzbin.info/www/bejne/bZ3QdKhurN9rqNE
@emanuelcastanho4706 жыл бұрын
Saitama you know Python too?
@faisal52656 жыл бұрын
Faisal does anyone know the plugin he is using for vim
@sbarter7 жыл бұрын
The first man to wear a suit to a python conference.
@atahirince7 жыл бұрын
because i am so seriously an expert wuuuuuu :) don't under estimate me situation..
@lukeschollmeyer88116 жыл бұрын
James has a dedication to certain style. Good dude.
@phpn996 жыл бұрын
The guy is a Wall Street quant
@gobeksalata6 жыл бұрын
cmon :) hes a good fella
@Micktion6 жыл бұрын
You didn't notice the big Microsoft logo on the podium? Microsoft is all up for python, R and Machine Learning these days
@felipeeduardobravosilva69807 жыл бұрын
the guy is the perfect teacher methodical, precise, clear and direct to the point i feel like i learn a 3 months worth in classes, in just 1 video
@Zig2856 жыл бұрын
I wouldn't put a check mark in the concise column, but I agree on all other points.
@chaugen16 жыл бұрын
Over the last year, I have rewatched this video 5 times to capture the full depth of information.
@rct9996 жыл бұрын
@@chaugen1 Yeh, I was just thinking I have to re-watch this at least once :P
@cperzam77004 жыл бұрын
@OuaishBolosse I think it is because of the time he had to cover all that in the presentation, I couldn't be happier I stumbled with this video, you can just rewatch this until it is clear enough.
@supertran283 жыл бұрын
@OuaishBolosse it’s a presentation lol he has to go fast to fit everything in the time frame
@red-o77 жыл бұрын
This guy is an exceptionally good orator. What a treat to listen to!
@johnpyp7 жыл бұрын
I don't even know anything about python, I code javascript. Still watched the entire thing cuz it sounded like I would gain brain cells by watching. 10/10
@yeetdatcodeboi5 жыл бұрын
i love js but python is immensely more fun to learn/develop in. get into it and thank me later.
@ekrem_dincel4 жыл бұрын
@Peter Mortensen what type of linker you are?
@nene_san4 жыл бұрын
@Peter Mortensen just use "os.path.join" ffs
@shubhamthakur-wo4um3 жыл бұрын
In the same boat mate. Been a Node developer for five years and just started learning Python. Thought of watching the video for two minutes just for fun and got hooked till the end within no time.
@6s63 жыл бұрын
I remember OOP seeming intimidating until someone explained it in one simple phrase: OOP is giving data behavior. Instead passing data through functions, we can simply ask the data to tell us something about itself or do something to itself.
@abraxasnl3 жыл бұрын
James Powell teaches how I love to be taught. Bottom up, first principles. It strips away all the magic. Awesome, awesome talk!
@brd55484 жыл бұрын
Finally, find this video! Two years ago, I landed a python job literally just after watching this. James Powell's talk inspired me to become an IT professional, I can never thank you more than enough!
@DiptangsuGoswami7 жыл бұрын
This is one of the best python movies I've ever watched!
@xekis5 жыл бұрын
Snakes in Panes!
@architrixs5 жыл бұрын
Even monty python.
@shobanaathiappan42755 жыл бұрын
😂👍🏽
@abcd_123484 жыл бұрын
"You're***** right" - Heisenberg
@jhay_vine50833 жыл бұрын
😂😂😂
@diahrongrismore10547 жыл бұрын
This is a definite PLUS! The information and instructions from this talk should be implemented in every tutorial/lecture given about Python. The concepts of the language have never been as clear as he explains.Great!
@dummypg61294 жыл бұрын
it really amazes me when people like him can be eloquent in speaking at the same time very articulate in explaining his code and coding it live.
@poorlittlesheep40986 жыл бұрын
This guy really made me want to give up atom and use vim. I bet he picks up girls at bars with his sexy vim skills. Edit: it's just a joke guys. Don't be butthurt.
@divinehazrd5 жыл бұрын
Hey girl you want to come over and "esc + i" ?
@WookENTP5 жыл бұрын
His vim skills are not that good actually, why would you do :vsplit manually? ctrl+w+v...
@bluetape665 жыл бұрын
@David Flanagan Which talk?
@pepehimovic31355 жыл бұрын
@David Flanagan hi
@sadhlife5 жыл бұрын
@@bluetape66 search "james powell generators" you'll find it
@glennismade7 жыл бұрын
gotta love the fact that the dude is a an MS conference delivering a talk on python using a linux distro, uses google chrome and Duck Duck go and not a single MS service or product in sight... Makes you wonder why MS even bother having their own damn search engine or browser at this point.
@hvdveer6 жыл бұрын
Just because it's not a success doesn't mean it wasn't worth trying.
@frisosmit89206 жыл бұрын
the fact that he uses chrome is that sort of a setup is weird in and of itself. It's probably the only thing that isn't fully open source.
@klarnorbert6 жыл бұрын
He using Chromium, which is fully open-source version of Chrome.
@TheHellogs44446 жыл бұрын
tbh even MS employees aren't required (or culturally pushed towards) searching with bing or using edge or windows. Most devs don't care about platform these days. Some use a mac at work. Most devs that care are probably free to use linux - it IS the academic choice OS. And all these CS grads they hire come from 4 years of being used to linux
@open.sandbox6 жыл бұрын
Coz Windows was designed for users, not for developers
@glenneric17 жыл бұрын
What an awesome teacher. Everything I've seen from him is gold.
@shortcutDJ7 жыл бұрын
i'm a noob in python and many things in this video are above what i know,but i can't stop watching anyway.
@mohammadniyan28395 жыл бұрын
It's 2019, now these things are maybe obvious to you?
@yellowflashgaming92375 жыл бұрын
Yes
@vegardpig86345 жыл бұрын
U still noob?
@SG3Design7 жыл бұрын
Great presentation packed with high quality information. It certainly expanded my understanding of Python. Shame the audience wasn't more engaged.
@ronaldokun7 жыл бұрын
What a fantastic presentation! It motivates me to get out of my forever intermediate python skills.
@julienbongars42876 жыл бұрын
This is incredible not because it dumps a bunch of technical lingo and just leaves but because it makes you think about how you can use these higher levels concepts in designing and enhancing good software. Awesome work!
@tristanbellingham67597 жыл бұрын
I love watching a vim master at work. Simply beautiful.
@nelsonearle50117 жыл бұрын
The speed at which he was typing and using shortcuts seamlessly was just mindblowing. It took me probably half the talk just to not be mesmerized by it.
@muntoonxt7 жыл бұрын
It wasn't any fancy shortcuts: just the basic day to day vim ones. If you use vim as a main editor for a while, you'll be using them without thinking (even by accident outside of vim).
@nelsonearle50117 жыл бұрын
Sicarius Noctis Oh, I know. Just the learning curve though. It’s so high compared to something like Sublime. Don’t get me wrong, using Sublime as my main editor has shown me it can be just as powerful, if not more, because of the UI. I just have yet to memorize all of the useful key bindings
@rampagemage80417 жыл бұрын
Nelson Earle I'm faster. Much faster.
@tristanbellingham67597 жыл бұрын
Well that's really good and cool. I'm glad you could add to the conversation.
@djchrisi3 жыл бұрын
4:40 shows why James Powell is such a great speaker: nearly all speakers who do this kinds of surveys before the talk do not change the talk depending of the outcome of the attendees answers. James Powell does. He quickly decided (and is able) to adjust the topics a bit in order to give the audience the maximal value he can provide.
@ezequielgarrido39877 жыл бұрын
God damn this guy knows his stuff.
@glock21guy7 жыл бұрын
Honestly, I'm even more impressed by his ninja editor skills than his coding skills.
@Maydays960games6 жыл бұрын
@Name type *S1 ... S9* for superscript letters. Also you can type *s1 ... s9* for subscript digits.
@graphics_dev59186 жыл бұрын
That is a digraph. You can view the available ones with :digraphs along with the keys to enter after pressing in insert mode. Alternatively, you can make an abbreviation like `:abbr xsq x[ + hex value for unicode character]`, and even put that in your vimrc so that you can just type "xsq " and get "x²".
@Lord_of_The_World6 жыл бұрын
lmao
@erikschiegg686 жыл бұрын
He uses vim like ringing a bell and got the high school stuff in swap memory... A black belt!
@wernerlucas123 жыл бұрын
4 years later and I have to say that this guy is really good! Thanks for this!
@jakedones20997 жыл бұрын
*What I don't understand is how people in these comments are so focused on how "rude" he is or how his voice sounds. He has knowledge to give and concepts to teach. Learn what you can and leave his expression out of it. I guess it is my fault for being curious about the comments in the first place.*
@kristypolymath13595 жыл бұрын
I'm sure you've moved on to a different username, but I'll explain it for you. A great teacher allows his or her students to absorb information without the information being drowned out by things like language barrier, tone, gestures. It's very difficult to listen to the guy because his demeanor is so poor. He comes off as a jerk which, unsurprisingly, resulted in little participation from the audience. I'm willing to bet a number of folks in that crowd talked about what a jackwagon he was,once the presentation was over.
@Greyvend3 жыл бұрын
This is one of the highest quality talks I've ever seen. The presenter is clearly an expert, which stands for "the person who has made most mistakes than everybody else". Fantastic programming, presenting and vim skills. ;)
@aoeu2563 жыл бұрын
Raymond Heitegger also has very good talks.
@cacurazi6 жыл бұрын
In order to follow along you have to have a basic understanding of OOP. Otherwise you might just save this vid to watch it later when you already know some basic OOP. Good presentation tho. Thanks
@namadeemo4 жыл бұрын
This talk is gold, simply for highlighting how to write code that protects itself from potential errors found in imported code/modules.
@FilosSofo7 жыл бұрын
They are degree _two_ polynomials.
@adityavartak69907 жыл бұрын
Yeah he didnt use len(poly.args)-1
@toby.2a5 жыл бұрын
Glad someone else noticed :)
@itech405 жыл бұрын
OMG was looking for that comment ty
@CraigalFun5 жыл бұрын
You people are geniuses
@jenszamanian5 жыл бұрын
Also, his add-method does not work correctly. It truncates the longer polynomial if they are of different sizes.
@chronicfantastic6 жыл бұрын
I really liked this content because it doesn't just explain how these advanced techniques work (metaclasses, decorators, generators).. it actually helps you think through scenarios about where they should be used and why.
@georgesoulantikas79817 жыл бұрын
"I can tell you that what it takes to be effective at python is pretty straight forward...". Proceeds into a 2 hour talk.
@TheHellogs44446 жыл бұрын
I mean, if all you need to be more then just 'effective' is basics + a 2 hour talk, that's amazing. Most often this sort of learning material simply doesn't exist.
@artaway66476 жыл бұрын
Haha yea, I put this video on my watch later. Gonna came back when I'm expert at python, brb several years.
@thewiedzmin60626 жыл бұрын
TBH 2 hours aint shit compared to at least 10 hours you must put into something like Dark Souls! shit as much as i know i have spent at least 2000 hours on that damn game!
@adithyavenugopal15226 жыл бұрын
hahaha
@sydsgraphics51085 жыл бұрын
I wish I could Laugh Out Loud
@leonidkerchev42562 жыл бұрын
When I have watched the video 5 years ago - I learned a lot. Watched the video again today - learned a lot. James, thank you!
@joshuadavis48717 жыл бұрын
5:50 that moment when you type ass instead of class in front of an audience.
@younisibrahim45627 жыл бұрын
hhhhhhhhahahahhahaha you're an evil.
@betsegawlemmaamersho16386 жыл бұрын
the reason was that vim was not in insert mode when he type c
@rockroll65526 жыл бұрын
@@betsegawlemmaamersho1638 I thought same
@VishalSharma-ws3jx6 жыл бұрын
😂😂😂😂😂😂
@shantanujadhav57874 жыл бұрын
No he did it on purpose
@caio-jl6qw3 жыл бұрын
Superb talk. I watched the whole thing in one sitting and it felt like it all took 20 minutes.
@aryanarora30175 жыл бұрын
Title:what does it take to become expert at python? Thanos:Everything
@soupnoodles3 жыл бұрын
fax
@chadfreakinL6 жыл бұрын
I know next to nothing about Python but I cannot wait to watch this again when I am further along in my studies. Very engaging speaker.
@pauldacus45905 жыл бұрын
OK, I am confused... Where is the 15 minute intro on *HOW WE'LL BE USING VISUAL STUDIO?*
@SpeakEnglishOfficial4 жыл бұрын
What is the name of his IDE?
@priyanshujindal19957 жыл бұрын
"No context where you need decorators deeper than this" Wait till Christopher Nolan learns about this
I have no idea what is going on in this video but would love to know what your comment means. Please explain!!!
@mohamedhabas73913 жыл бұрын
I very rarely comment on youtube , but this guy is a freaking ninja. one of the best talks on youtube. the best on python in my opinion
@educationandmorellc5655 жыл бұрын
He said "len is 3 -> degree 3 polynomial" _ Actually since he is dealing with squares, it is called a degree 2 polynomial.
@SKREFI4 жыл бұрын
he is a coder I guess, not a math guy, mistake spotted too
@thetedmang4 жыл бұрын
You caught a master making a silly mistake. Your comment contributes nothing to his expert explanation of this complicated subject and even your assertion that the polynomial's "len" is "actually" degree 2 demonstrates a high-school level understanding of the magnitude of a polynomial.
@oluwatosintheophilus57274 жыл бұрын
I stopped the video to see if anyone noticed, I have already started to question all I knew about polynomial.
@chronxdev4 жыл бұрын
I love the way this is presented; focusing on the overarching concepts rather than getting bogged down in minutiae is so much more useful for talks like this. We can lookup the specifics on our own time
@pehash5 жыл бұрын
I've watched all of this, I can confidently say that I understood nothing. All I know is that I'm willing to work to reach this level.
@RoZaxTheGreat4 жыл бұрын
One year later, how are you doing?
@victorvaida42724 жыл бұрын
Not even the first part?
@aoeu2563 жыл бұрын
You can just try it out in the REPL. TL:DR Metaclasses and decorators sort of run at "compile" time allowing Python to do static analysis sort of like a type system, but using the entire language. *args, and **kwargs allow you to have functions with arbitrary number of arguments. Generators are like custom for loops (which is a co-routine a function that returns mulitple times instead once), which you write with yield and context managers/decorator are just a special version of generators which build a wrapper around functions with stuff that happens before and stuff that happens after wards. You can merge decorators and context managers with @contextmanager.
@mvoyager3 жыл бұрын
2 years passed. How are you doing?
@gustavom87263 жыл бұрын
I watched this 3 years ago, I understood nothing but stayed until the end of the video making some questions in a notepad. After 3 years I have answered them all and came back to this video to notice I have overcome my dumbness
@silasalberti35244 жыл бұрын
I revisit this great talk regularly to refresh my Python knowledge!
@DebabrataAcharya935 жыл бұрын
Uses a vi based editor for live presentation at a conference while wearing a suite. That's one aplha male RIGHT THERE!
@ECleanX4 жыл бұрын
Sure Sajib Acharya, you would like to think you are an "aplha male" buddy. :P #LordDust
@cbeHotboyred16146 жыл бұрын
I learned so much from this guy!! He is very informative. Most teacher teach you how to write code, but this guy teach you the most important question when learning codes ... 'Why'. You can know how to write codes, but if you dont know why you are writing them,then you are not learning.
@kenji_x1177 жыл бұрын
Am I the only one who has absolutely no clue what's going on?
@felipeeduardobravosilva69807 жыл бұрын
nothing wrong with that, no one knows everything from birth, if you don't get what's going on, just step back and come back later, eat some basic python tutorials and you will remember this video at some point
@ZeCatable7 жыл бұрын
Don't worry, keep learning and reading code. Get back to this video in a month or so ; then, you will better understand the benefits of this combinaison of pythonisms. ;-)
@TJ-qk3yg7 жыл бұрын
James: "asks a question." Microsoft employees: "........" I don't think your alone!
@whole5ome7 жыл бұрын
I also have no clue whats going on. But everything he says sounds cool... and believable.
@taketheglassesoff93627 жыл бұрын
I just started learning about python basics and I have no idea what he is talking about. Maybe I need to come back here after I learn more basics👀
@MilMike6 жыл бұрын
The way how he talks without any eeehm, uuum - crisp and clear talking. And the way how fast he uses vim. Thats a real pro!
@ryankaminski60377 жыл бұрын
This is my favorite python speech on youtube. Very well done
@GatlingNG6 жыл бұрын
I enjoy Powell's talks a lot, I always learn a ton from his teaching and it actually sticks.
@gaatutube7 жыл бұрын
I'm still wondering if his python skills beats his VIM skills or vice versa !! But thumbs up for the excellent vid.
@anirangoncalvesbr7 жыл бұрын
Started thinking I'd hate this seminar, ended loving it all. Thnx for the upload
@apachaves7 жыл бұрын
This was an amazing speech with very valuable content. Thank you for sharing it.
@zapazap4 жыл бұрын
Exploring __call__ with the Polynomial class. There is a canonical function associated with a polynomial object: the polynomial function. If p2 = Polynomial(3,4,3) then p2(5) should return 3(5^2) + 4(5^1) + 3(5^0). A quibble. I love the talk so far!
@poorlittlesheep40986 жыл бұрын
The moment he wrote x superscript 2 in vim I knew I'm in for some goodies.
@TainuiaKid19736 жыл бұрын
Great to see a tech presentation by someone with presentation skills! i.e. clear, confident voice, organised etc
@smoothbeak5 жыл бұрын
I love that the first thing he wrote was "ass" instead of "class" :P
@aliwaseem59904 жыл бұрын
As a beginner , this presentation motivates me to learn these features and core ideas, to step up my game and move to the next level
@Xpeedspiderman Жыл бұрын
Are you sure that you understood it as a beginner ?
@moazim19937 жыл бұрын
Oh shit! I know this guy, he's at NYC Python Meetup
@glock21guy7 жыл бұрын
This was the best to-the-point description of decorators I've ever seen.
@NeverBeenToBrisbane7 жыл бұрын
That whole __add__ thing at the beginning is what I've been looking for for the past two months and never found until this video which I didn't even mean to watch. Now I can add custom matrices with just a plus xD
@bloodgain6 жыл бұрын
The real question is, why are you using custom matrices instead of numpy? ;-)
@444haluk5 жыл бұрын
The order of polynomial is len(self.coeffs)-1. For example, 2x^2+x+1 has 3 coefficients (2,1,1) and its order is 2 (x^2).
@Carltoffel7 жыл бұрын
Who else calls 'ls' after going into a new created directory? (1:22:36)
@Egzvorg7 жыл бұрын
I guess everybody, that's why file browsers were created.
@MMphego6 жыл бұрын
I rather prefer: $ echo "function cd { builtin cd "$@"; ls -thor; }" >> .bashrc
@zacharybroniszewski4506 жыл бұрын
MphoMphego clever!
@MMphego6 жыл бұрын
Thank you sir For more tips and tricks, checkout my blog: blog.mphomphego.co.za
@CPlayMasH_Tutoriales6 жыл бұрын
Carl I call pwd just to double check
@figloalds7 жыл бұрын
This fed me a lot more information and got me much more interested into python than any other material Ive found in the web to date.
@DiscipleOfHeavyMeta15 жыл бұрын
5:51 I smirked. Clearly, I'll never grow up.
@MeNowDealWIthIt6 жыл бұрын
The bit with the decorator and the response to the guy in the audience looked so cool.
@pursuitofcat7 жыл бұрын
Don't get mistaken / taken aback by his aggressive stance. It's a very important piece of information for python developers that he covers very meticulously and methodically. A very high rated content. Give it some time and follow along.
@NoahHornberger5 жыл бұрын
to be an expert at python, simply start a project that you work on everday for more than a year. That worked for me.
@SQz886 жыл бұрын
not sure if I am more amazed with his python or vim skills
@graphics_dev59186 жыл бұрын
His Vim skills are nothing to be amazed with. I've been using Vim for 6 months and am far better in it albeit he is a faster typist than I am. His knowledge of Python truly exceptional in my opinion.
@WookENTP5 жыл бұрын
His vim power is average young padawan...
@reissner19676 жыл бұрын
Yes at 14:40 there is a mistake. The degree of a polynomial has nothing to do with coefficients. It’s the highest power of a polynomial. This is not used in his functions so they aren’t represented.p1 and p2 are both degree 2 because that’s what he chose to represent. He could have also added a power with each coefficient. Like ax^d+bx^e+c, a,b & c are coefficients and d & e are exponent powers. There are so many different things that could be done.
@OmyTrenav7 жыл бұрын
This is a great talk! Thanks for uploading.
@Zig2856 жыл бұрын
The generator API example was exceptionally helpful. It was the perfect way to explain the coroutine pattern.
@linodil7 жыл бұрын
Holy sh*t he is good at teaching
@TheKeule337 жыл бұрын
Shit! It's shit. FFS!
@skycocaster6 жыл бұрын
No he isn't. He is good at what he does, but very bad at teaching. This dude has no idea what empathy even means. Disgusting sociopath.
@DigitalKlamped6 жыл бұрын
wut
@tyler92126 жыл бұрын
Skycoca Well people have different learning styles. To me this is honestly one of the best lectures I have seen on this channel. But I understand he can be kinda of an ass and if you want someone nice as a teacher this isn’t the guy.
@kristypolymath13595 жыл бұрын
@@skycocaster I agree completely. He's great at showing off his vi/m skills and his Python knowledge, but he has no ability to relate to others.
@kalleidoskop27 жыл бұрын
This talk is remarkable! Great point about conceptual understanding, and excellent flow throughout the presentation, with clever hooks. I really enjoyed it!
@StevenSmith688285 жыл бұрын
I watched this video my first month when I was learning how to program. After 6 months I got stuck using the same basic things. I'll come back in 6 more months to see if I use this stuff now that I know WHEN to use it.
@dronephone99344 жыл бұрын
Its been 6 months!
@StevenSmith688284 жыл бұрын
@@dronephone9934 just rewatched the entire thing and I understand everything besides Meta Classes. I think I might finally ready to apply for jobs in python. I wish he would a section have had async await syntax, don't quite understand how it's not a generator. I've been doing nothing but projects so it's nice to see that I've learnt stuff lol
@aoeu2563 жыл бұрын
@@StevenSmith68828 Metaclasses are similar to class decorators. They control the creation of a class, but they are run at "compile time" (before everything else).
@GeorgeLathem7 жыл бұрын
He is an amazing speaker. So smooth and just confident
@TypingHazard7 жыл бұрын
The first time I heard the language "protocol oriented" being used was in reference to Swift. I'm not a greybeard but I've been using Python for almost a decade, and was previously aware of dunder methods but never once heard anyone call it a protocol oriented practice. Is this just to kinda kick Swift in the ass a little or have I just had selective reading skills for the last 9 years, lol
@ikemkrueger6 жыл бұрын
If you look closely at Swift, you can clearly see that Apple had a good look at Python.
@huohization5 жыл бұрын
I'm nowhere near ready for this yet but this guy is a treat to listen. Great presentation.
@lm13387 жыл бұрын
those are second not third degree polynomials? the degree is the highest power to which a term is raised
@daksh67527 жыл бұрын
Right.
@fredriklundh76497 жыл бұрын
It returns the number of polynomial degrees, not the number of the highest degree. So in this case there are 3 degrees, the 0th, 1st and 2nd degree. Edit: Remember, it,s the len function he is demonstrating. It makes sense that it would return the number of different degrees, not the order of the highest degree.
@mpete02737 жыл бұрын
Should be `return len(self.coefs) - 1`
@peppybocan7 жыл бұрын
The degree of polynomial is the highest power of the polynomial. This will only work, if you assume that the user will behave nicely and for polynomial of degree 27 (x^27 + 1) he will write the full vector: [1, 0, 0, ..., 1].
@mpete02737 жыл бұрын
Oh yeah you're right. The way he wrote it though, you would have to give it zeros for all the missing terms.
@ikramu57194 жыл бұрын
Excellent talk. This guy knows his stuff. And the way he linked the different aspects together was really neat. Will have to look out for other talks he has done.
@patton1376 жыл бұрын
Very educational. Thank you for sharing.
@hudsonbirdsong40255 жыл бұрын
30 minutes into this so far and already learning so much. Excellent!
@richerite7 жыл бұрын
Can anyone identify the setup he's using - distro, window manager and vim customizations?
@WookENTP5 жыл бұрын
wm - looks like xfce (may be lxdm), tmux in terminal, vim conf and linux distro - unknown... I recommend i3 instead of xfce though, goes well with tmux + vim...
@sylvaniathehacker4 жыл бұрын
must be DWM with TMUX
@AbhilashKulkarni14104 жыл бұрын
Excellent talk!! Very nice to hear someone explain the core design philosophy behind these well-known features
@SeVeNEdittt7 жыл бұрын
At 18:00, why in __add__ function is there an * in the return ? Thank you (Ploynomial(* ... )
@goat_wizard7 жыл бұрын
The generator comprehension is being unpacked into arguments. Notice in the constructor of Polynomial (line 9) how the signature accepts *coeffs, this means the construct accepts unlimited arguments with will be expressed as a list. See: docs.python.org/3/glossary.html#term-argument
@Chiramisudo7 жыл бұрын
It's VERY rare that I can't follow a tech video on at least 1.5x speed. Kudos on that! :D
@coced6 жыл бұрын
How to be an expert at anything 1. Say that you are 2. Confuse everybody 3. Make money
@kayaqueen69825 жыл бұрын
man you are a genius
@billdoan86165 жыл бұрын
how come you think it's everybody when it's just you most likely ? Not every human being is at your level of impotance Cedric Coulombe.
@DRDYSTOPIAHANDLE5 жыл бұрын
Big fact
@lightyagami57765 жыл бұрын
Ahh, I see you're a man of culture as well.
@activestate4 жыл бұрын
Really like the note to the audience at 2:36 about getting past just the implementation details
@johanneszwilling7 жыл бұрын
😏 There is a certain sleekness with someone in a suit writing code 😎
@raduhtred12435 жыл бұрын
One of the best Python talks I have ever seen!
@BGivo5 жыл бұрын
He walked into a room filled with Microsoft engineers and proceeded to drop knowledge bombs for nearly 2 hours while winging his presentation in vim.
@DisgustingDrewTV4 жыл бұрын
BGivo not really
@semarova6 жыл бұрын
Actually the degree of the polynomial at 14:44 it’s two (2), three (3) is the number of terms. Since the speaker likes to call things by their “intended” name: A quadratic trinomial.
@cro93647 жыл бұрын
5:49 "I wanna create a class" *Types in "ass"*
@TheDolphinflipper7 жыл бұрын
Cro XV thank you! I was looking through the comments to see if anyone else noticed. I was starting to think I was the only immature one watching this...
@griffinb20087 жыл бұрын
Obviously Vim wasn't in insert mode when he started typing.
@nico_plusone8586 жыл бұрын
PewDiePie coerced him into promoting ASS everybody!
@Anonymous-314157 жыл бұрын
I haven't watched a video with an equal high ratio of noise to signal about Python before. Congrats.
@seanpianka18186 жыл бұрын
19:21 "When, in reality, this is really just a talk about Python Metaclasses"
@ronemail20017 жыл бұрын
fantastic talk. Presenter knew what he was talking about. Learn't a lot. Thank you.
@ousmand7426 жыл бұрын
I just started coding a month ago... this is so out my league what am I doing here
@poglore59105 жыл бұрын
First day researching python to prepare for college courses, brain drain started happening about halfway through.
@sanchitverma28924 жыл бұрын
hello are you a god at it now?
@sanchitverma28924 жыл бұрын
@@tiran315 yes
@scarrgk6 жыл бұрын
Thankyou for a truly great and very well presented talk. For the naysayers that question his python skills, just look at the following line created on the fly around 1:02:30. Could you have written this that quickly and have gotten it to run, correctly, the first time?: print(‘running {.__name__}’.format(f)) for those that criticize the length of the talk, look at the number of folks who are still confused. He is covering a number of relatively complex subjects, and that’s going to take time. I like his choice to talk about the principles involved in dunder methods, deferring us to the docs for more specifics. I’d rather use the docs any day, than try to remember the specific arguments. There are few talks where people really try to explain *why* you might want to do this or that via this mechanism. I think his examples of decorators, contexts, generators etc. are only possible after explaining the generality of dunder methods. Showing how metaclasses provide alternative hooks makes them seem much less mysterious. And yes, “dunder” should be the preferred term. “Special or magic” should be reserved for their usage, not the methods themselves. “magic” is ambiguous because of the magic commands used with IPython. dunder is unambiguous. And he is showing the principles here. the exact value that len should return for a polynomial is debatable, but not really significant to the talk. Yes, evaluation of the polynomial might be appropriate for __call__, but again, the detail isn’t as important as the principle being shown. The way he shows how you can validate the implementation of library vs client code from the other’s perspective, is very instructive. Yes there are subtleties around what you want to do when a module is loaded, and if you’re going to “load” client code to get the assertion failure displayed at build time rather than run time, but knowing that it can be done is very useful. I think a lot of the run-time implementation details of Python are very good to know if you want to be an “Expert”. Knowing when it is appropriate to use that knowledge is equally important. I don’t think think he ever says”this is what you *should* do.” He’s showing that these pretty powerful techniques are not that complicated. Of course, if you’re a Python newbie, *args and **kwargs aren’t going to mean anything to you. But it’s easy to look them up then return to the talk
@xXJse18Xx6 жыл бұрын
5:49 "And I want to create a class" *types "ass" LUL
@seankillian27857 жыл бұрын
I still consider myself a Python newbie especially after seeing speakers like David Murray, Raymond Hettinger, Yuri Selivanov and James Powell and though I first started learning C before I got into Python, Python is the first language that I actually "learned," so I feel like I have a big head when I see videos like this where they talk about metaclasses and decorators but to _me_, it makes perfect sense because I already get the concept of "everything is an object."