@ambv I never knew that pydoc has a CLI...
Way back when when I was learning Python I used the HTML version to learn all about the standard library modules & probably some ActivePython stuff.
IIRC there used be a small Tkinter GUI for running the HTML server.
Happy #Avril14th, everyone! This is a small cover of the song I made with Adlib #Tracker that was rather popular in the #DOS era. With modern computers, you can run it with DOSbox.
Better yet, there's a piece of hardware called the #RetroWave OPL3 that allows you to connect a REAL SoundBlaster-era FM chip to your computer. So you don't have to emulate the sound, you get the genuine version.
Please don't celebrate half-assing your conference talk. Doesn't matter if it's a small event or a juggernaut like #PyConUS. People pay to travel to the event, take time away from family and work, and have some expectations regarding what they will learn. Understandable!
The hallway track is great value but it isn't everything. It's your responsibility to give your public speaking engagement justice. There's many tips but at least don't prepare your slides the night before.
@ambv I would just add "if you aren't sure that you can pull it off".
In some cases slides are just a tiny bit of preparation. Your experience and knowledge is the most important piece of that anyway.
For instance, I can get away with a talk in my native language about a subject I'm fully submerged in being prepared just an hour before. However I need a couple of week to prepare any talk in English.🤷🏻♂️
@lig I disagree. Winging it is risky in any language, because a lot about a talk comes down to timing. If you're starting "just an hour before" then you can't know if you'll undershoot or overshoot with your presentation.
Sure, you might get lucky. But I don't think we should be counting on that working every time. Ultimately, our bar should be higher than being able to "get away with a talk".
I finally pulled the trigger on upgrading my late 2021 M1 Max Macbook Pro to #macOS Sonoma from Ventura 13.6.6.
I expected some audio stuff to fall apart but AFAICT it’s an entirely seamless switch. I've had more than one regular bug fix update that broke more than this. Pleasantly surprised!
@ambv noted and thank you for the advice. I'm one of those weirdos who updates homebrew daily since it takes seconds over minutes when you keep up on it.
When you say #PiDay, I hear #PyDay. Let's celebrate this day with a special episode with a special guest: sitting Steering Council member and #Python core developer, Emily Morehouse-Valcarcel!
We're talking about the Steering Council, progress bars, least and most favorite parts of Python, and of course, assignment expressions.
I'd use a walrus emoji, but the best we've got is a tuskless seal! 🦭 There's no anonymous crow either...
@borutzki I couldn't fit everything in a single post, but yes, "Miłość w Czasach Popkultury” fits 100%. If we're talking Polish music, I'd also add “10 Łatwych Utworów Na Fortepian” and "Inermis" to the list.
Sunday was #303day and I recorded a song with an #acid line to celebrate. While I don't own a hardware TB-303, my #Moog semimodulars served this role well.
@ambv Really cool episode! And I want to acknowledge that I like longer episodes too. Listening to content I'm actually interested in while doing the dishes etc. is an absolute „living in the future" moment for me 🎉.
I explain tokenizers, grammars, and parsers, while Pedantic Pablo corrects my most egregious oversimplifications. We go as far as #Python 1.0, finding a few surprises along the way.
Thanks for your patience! Pablo was moving, and I also had an excuse, but now I can't remember 🤷🏻♂️
This is available on Spotify, Apple Podcasts, Google Podcasts, and via RSS. All linked in the Spotify landing page below.
@tmr232 The backslash DOES escape the closing quote in raw strings. That's why this behavior is preserved all the way to the last character in a string.
>>> print(r"A"B")
A"B
Sure, it's a bit unexpected, and actively annoying for Windows paths. But it's weirdly consistent.
@ambv Oh, wow, I somehow missed that, even though this has bugged me for years...
The thing is, it escapes the quote in a very weird way. I just ran your example, and it prints:
>>> print(r"A"B")
A"B
And... I never realized you can actually do that. So I always thought it's just a legacy tokenizer issue. But since it actually works inside a literal string, I guess it can't be changed...
You've probably heard #Python 1.0 just turned 30 years old. But did you know you can still download it and poke at its code? 🧐
Head to https://www.python.org/ftp/python/src/ and you can find the 1.0.1 tarball right there. It won't be easy to build it today but you can always treat this as a challenge 😏
And even if you don't get it to run, exploring the source code is a fascinating testament to how much of Python we love today was already there in January 1994 (before Netscape Navigator!).