12 ms·
PyCon US 2021 Recordings are Available
- pjmlp 5y agoFor those that care about performance while using Python, "From 3 to 300 fps: NES Emulation in Python and Cython" https://www.youtube.com/watch?v=3of9pY2vovA https://www.youtube.com/watch?v=3of9pY2vovA "Restarting Pyjion, a general purpose JIT for Python- is it worth it?" https://www.youtube.com/watch?v=YFeUUdKBrJ8 https://www.youtube.com/watch?v=YFeUUdKBrJ8 "Python Performance at Scale - Making Python Faster at Instagram" https://www.youtube.com/watch?v=xGY45EmhwrE https://www.youtube.com/watch?v=xGY45EmhwrE and for some hardware fun, "More Fun With Hardware and CircuitPython - IoT, Wearables, and more!" https://www.youtube.com/watch?v=GnteZjiHVdA https://www.youtube.com/watch?v=GnteZjiHVdA
- kzrdude 5y agoPyjion has some excellent documentation that makes the whole thing seem approachable/introspectable. (See the talk.) See optimizations breakdown here https://pyjion.readthedocs.io/en/latest/optimizations.html https://pyjion.readthedocs.io/en/latest/optimizations.html
- allyourhorses 5y agoI randomly flicked a few videos, the first segment I settled on was loaded with terminology from critical race theory. Instantly closed the tab
- emmap21 5y agoThanks for sharing this link
- precern_harlan 5y agoThere’s some great stuff on there. I’m blown away by the pace of innovation in the Python community.
- boublepop 5y agoWhat stuff blew you away?
- precern_harlan 5y agoAs someone who writes lots of code that wrangles messy raw data inputs via DataFrames, the talk on Pandera type checking for DataFrames was very interesting. Dunno if it will work in practice for my use case, but I’ll definitely be checking it out.
- mushufasa 5y agocool -- what talk was that? Could you share a link? I've looked through the youtube uploads but can't find the Pandera talk based on the titles
- precern_harlan 5y agohttps://youtu.be/PI5UmKi14cM https://youtu.be/PI5UmKi14cM
- exegete 5y agoAny recommended talks to watch from this?
- emj 5y agoI liked the pyKnit presentation it was a very relaxing experience, but mostly because even if I don't knit I've met very nice people who knit at conferences. https://www.youtube.com/watch?v=y7LEN2oqpkM https://www.youtube.com/watch?v=y7LEN2oqpkM
- yuy910616 5y agoQuestion about youtube: Youtube video thumbnails abbreviates long video titles to "..." For example: TALK / Mariatta Wijaya / Oops! I Became an Open.. Is there a way to fix this?
- yuy910616 5y agoanother poster found a way: https://www.youtube.com/playlist?list=PL2Uw4_HvXqvYk1Y5P8kryoyd83L_0Uk5K https://www.youtube.com/playlist?list=PL2Uw4_HvXqvYk1Y5P8kry...
- cvlax 5y agoI'd fix it by skipping the talks and looking at the commit histories instead. Works for every PyCon and is quite instructive.
- mkl 5y agoThe playlist is easier, but if you like the grid view, pasting the following into the browser console seems to work: style = document.createElement('style'); style.innerText = 'html:not(.style-scope)[typography] { --yt-link-line-height: 4rem; }\nytd-grid-video-renderer #video-title.yt-simple-endpoint.ytd-grid-video-renderer { -webkit-line-clamp: 10!important }'; document.getElementsByTagName("head")[0].appendChild(style);
- ehsankia 5y agoNot the best, but right click on one of the titles, inspect element, it should put you on a #video-title, you then just want to uncheck the -webkit-line-clamp and set a very high max-height like 999999px Or just add the following to any CSS injecting extension: #video-title { -webkit-line-clamp: 999 !important; max-height: 999999px !important; }
- flakiness 5y agoPlaylist: https://www.youtube.com/playlist?list=PL2Uw4_HvXqvYk1Y5P8kryoyd83L_0Uk5K https://www.youtube.com/playlist?list=PL2Uw4_HvXqvYk1Y5P8kry... This page has full titles of the talks. No abbreviation.
- yuy910616 5y agoway better! thank you!
- slver 5y agoWhat's the TL;DWWWW? (Too Long; Didn't Waste a Whole Week Watching)
- anticodon 5y agoI watched several talks on 2x speed. It's not comfortable, but some speakers speak so slow, that 2x sounds almost normal, also, I can skip that way long introductions and slow down where the interesting part starts.
- yuy910616 5y agoAfter watching this 2018 talk on typing: https://www.youtube.com/watch?v=hWV8t494N88 https://www.youtube.com/watch?v=hWV8t494N88 and this one last year: https://www.youtube.com/watch?v=ST33zDM9vOE&t=68s https://www.youtube.com/watch?v=ST33zDM9vOE&t=68s and finally this one in 2021: https://www.youtube.com/watch?v=Lj_9TyT3V98 https://www.youtube.com/watch?v=Lj_9TyT3V98 I think I'll finally start using type checking - it really seems to just eliminate a whole class of potential bugs; a class that is often not tested at that.
- kbmunchkin 5y agoI've never had problems that strong typing would have prevented and see no use for them in languages that originally didn't provide them. They add noise to the code and require more effort in reading around them.
- jeeeb 5y agoI started a new project in Python in late 2019. Coming from a C++/Java background I elected from the start to use type checking and data classes heavily. The project has now scaled to multiple developers and many thousands of lines of code. If I compare my experiences this time around with past experiences in Python, I feel those early choices are paying big dividends in terms of code readability and correctness. In particular: The ergonomics of data classes is great (IMO). They avoid a lot of boiler plate, integrate well with type checking and auto completion, and provide clear context to anyone reading the code. I’ve found Mypy a bit flaky (sometimes it misses errors it seemingly should catch) and some things that cannot be expressed in the type system to be pain points but overall having type annotations present and enforced helps document code, works well with IDE auto completion, and occasionally picks up errors that would have been otherwise missed. In particular I’ve found it’s picked up a lot of errors around missing None checks (nullability). These seem to be particularly easy to miss in unit tests. I’ve also found that PyCharm’s built in code code checking has often been able to pick up and highlight problems which it would have otherwise missed thanks to having type annotations. Having early feedback on problems is nice productivity boost. One hint if you do use Mypy make sure to enable check-untuned-defs. You’ll get much better coverage.
- BiteCode_dev 5y ago
- neves 5y agoAny suggestion about good presentations?
- jshen 5y agoI hate it when YouTube channels put the subject of the video at the end of the title. It gets cropped and I can’t tell which videos are of interest to me without clicking on each one to see what it’s about.
- hathym 5y agohttps://www.youtube.com/playlist?list=PL2Uw4_HvXqvYk1Y5P8kryoyd83L_0Uk5K https://www.youtube.com/playlist?list=PL2Uw4_HvXqvYk1Y5P8kry...
- qbasic_forever 5y agoAgreed, hover over it if you have a mouse and the tooltip should show the full name.
- notsrg 5y agoFound this annoying too. I manually set the width of the playlist div to like 2000px just so the titles wouldn't get cropped.
- kqr 5y agoThis sounds like something that "increases engagement metrics" ...
- memco 5y agoBeen waiting for these! There's a lightning talk from day 1 about the new Flask that explained some of the performance improvements, which actually answers a question I've had since its release. Also really enjoyed the talk on the new profiler Scalene, I would love to try it out ASAP. Looking forward to the rest.
- revskill 5y agoToo many conference recordings without a touch on refactoring the broken mapped function ? Wish i could have a real `array.map` just like in javascript.
- ptx 5y agoScheme, which was an inspiration for JavaScript, works the same way Python does in this case. See page 57 of the spec: http://dspace.mit.edu/bitstream/handle/1721.1/5600/AIM-848.pdf http://dspace.mit.edu/bitstream/handle/1721.1/5600/AIM-848.p... That was written in 1985. If you're thinking of this as a mistake and waiting for it to be corrected, you're going to be waiting a long time. Edit: Although it would be awesome if Python had extension functions like Kotlin, which would make this super easy to fix (either in your own code or the standard library). But that would require static typing to be more baked into the core language.
- ivanivanovich 5y agowhy is it broken?
- revskill 5y agoIn common sense, u just need to put a function into map, right ? x.map(fn) In python, mapped takes some arguments that makes me confused in order and types of arguments. Secondly, it broke my thinking process.
- whymauri 5y agoHaving a different interface doesn't mean its broken...
- kzrdude 5y agoInline code completion/IDE integration can have it show the parameter names or docstring inline in the editor. That helps me with map, specifically. :) With that configured, a window pops up in Vim and says we have: map(func: Callable[[_T1], _S], iter1: Iterable[_T1], /) -> Iterator[_S] —————————————————————————————————————————————————————————————————————————————— map(func, *iterables) --> map object Make an iterator that computes the function using arguments from each of the iterables. Stops when the shortest iterable is exhausted. —————————————————————————————————————————————————————————————————————————————— There are things to criticize here. Note that the type hinting (this is Python 3.8 btw) doesn't agree with the full generality of the stated function interface (the multiple iterables part).
- mandliya 5y agoPycon videos are such a quality content. Best use of time. I always learn so much. Is there a JS equivalent conference which has such content? JS newbie here.
- scrapcode 5y agoAs a young ambitious man I always knew programming was going to be my passion, but life had different plans and I have ended up in less technical IT related roles. I used to think that this ever-revolving door of advancement in tech would create an interesting career but now that I realize that programming is not my career path, I now feel that in my mid 30s with a family it could become extremely cumbersome to those in the field. I'm interested in opinions of how experienced and mid to high-level devs still feel after 15+ years of experience about the constant evolutions of technologies and their associated "metas" such as TDD, project mgmt systems such as agile, etc jive with that mentality. Does the chase/"circle around" ever get old? I try to keep up with it all through HN, but wasn't the basis of a lot of languages such as python and php to reduce that and get things to MVP? Maybe I'm just way off course.
- void_mint 5y ago1. Learn something, be really good at it. Have demonstrable experience in that thing. 2. Learn a handful of things a little bit less well. Diversify your learnings. Some database stuff, some devops stuff, maybe some game stuff, network stuff, whatever. Try to have demonstrable experience in this stuff well. 3. In 3-5 years, repeat step 1 and 2. Do this over and over and you'll be competitive in tech indefinitely. It doesn't really matter what you pick to be good at or care about, something current (but not bleeding edge), and then dabble in a bunch of other current technologies and tools. In general, don't worry about things like project management. Every company bastardizes any written practice, and every company is very different. Just do what your employer does, and then if you find a new employer, do what they do. Maybe have some opinions and reflect on what you liked and didn't like, because employers might pretend to care what you think about processes and improvements, but it's really all just buzzword nonsense. Regardless of what you pretend, it's all going to go how it's going to go. r.e. "metas" - Play around with stuff. Spend some time reading about TDD, maybe give it a shot every now and then. Understand why it's good and understand why it's bad. Stay away from "never"s and "always"s. As I write this, I realize you're already doing half of what I'm suggesting, which is just to pay attention to the industry and the comings and goings of tech/tools. The other half is to learn and get interested in various pieces of tech. If it feels "cumbersome", it might just not be the right career path for you. That's totally okay - the work you're doing now is totally fine! Do what you like. Don't force stuff you don't like. Most of the successful programmers I know think that toying with a new language or tool is fun/interesting. It doesn't feel cumbersome because it's both a job and a hobby.
- deleted 5y ago[deleted]