@pythonbynight@fosstodon.org
@pythonbynight@fosstodon.org avatar

pythonbynight

@pythonbynight@fosstodon.org

Python By Night is what happens when there's not enough time during the day.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

People who use reveal.js, do you end up duplicating slides with slight tweaks in order to get the effects you want sometimes?

It feels pretty hacky and inelegant, but much simpler than trying to code up what I want to see sometimes.

pythonbynight,
@pythonbynight@fosstodon.org avatar

@ehmatthes I do use copy/paste pretty liberally on a per-section basis.

I thought of adding jinja support, possibly using macros or something or another to alleviate this, but found that copy/pasting is not too bad in the long run...

natera, to random
@natera@fosstodon.org avatar

It's incredible the ammount of code needed for simple stuff using React. Glad that I get to work with

pythonbynight,
@pythonbynight@fosstodon.org avatar

@doublebyte @natera You can also find a lot of htmx resources here, which may include some other tutorials, articles, and examples:

https://github.com/PyHAT-stack/awesome-python-htmx

jonafato, to random
@jonafato@mastodon.social avatar

What's a movie or tv show you think more people should see?

pythonbynight,
@pythonbynight@fosstodon.org avatar

@jonafato I really enjoyed Girls5Eva way more than I thought I would. Occasionally bumpy, but before you know it, you're laughing at something else... and the music satire is on point... highly recommend!

pythonbynight, to random
@pythonbynight@fosstodon.org avatar

I didn't think I would write over 1800 words about my hurt knee, but here we are.

If you're in the mood for something entirely NOT python related, moody, melancholy, and maybe a little entertaining... check out my latest post at Python By Night. ๐Ÿ˜…

https://pythonbynight.com/blog/magnetic-resonance-imaging

polotek, to random
@polotek@social.polotek.net avatar

I think we need to talk more explicitly about why we're settling on "safety" as the term we are pursuing. As a manager, I've been trying to reconcile that term with some of the real expectations and pressures of the workplace. I don't think we are doing enough to create clarity. And I worry instead that talking about "safety" is creating unrealistic expectations.
https://mastodon.social/@grimalkina/112349435602632842

pythonbynight,
@pythonbynight@fosstodon.org avatar

@glyph @polotek There's also the issue that sometimes these "estimates" are made by people up the management chain--themselves under some sort of pressure to pick a number/date from a hat--and then the team members that are then trying to fulfill a deadline that they had no say in to begin with.

pythonbynight,
@pythonbynight@fosstodon.org avatar

@polotek @glyph Yeah, totally agree. It's important, but sometimes difficult, to realize you're in a situation where management is insulated from accountability until the shit hits the fan and flows downward--but in general, there are ways to notice this ahead of time. And yes, I do agree on your larger points.

molly0xfff, to web
@molly0xfff@hachyderm.io avatar

If you've ever found yourself missing the "good old days" of the , what is it that you miss? (Interpret "it" broadly: specific websites? types of activities? feelings? etc.) And approximately when were those good old days?

No wrong answers โ€” I'm working on an article and wanted to get some outside thoughts.

pythonbynight,
@pythonbynight@fosstodon.org avatar

@molly0xfff I liked "right click -> view source"... then open up notepad and try it myself...

_chrismay, to random
@_chrismay@fosstodon.org avatar

After a month and a half of working nearly full-time looking for a job, I accepted an offer today.

I'm worn out and looking forward to a little time off before I start something I'm better at. ๐Ÿ™‚

pythonbynight,
@pythonbynight@fosstodon.org avatar

@_chrismay Happy for you! I'm sure it's a huge sigh of relief!

carlton, to random
@carlton@fosstodon.org avatar

Weโ€™re on 314 now. Youโ€™re all lovely ๐Ÿฅฐ

From: @carlton
https://fosstodon.org/@carlton/112359422380857316

pythonbynight,
@pythonbynight@fosstodon.org avatar

@carlton oops, hadn't starred yet... 315 now ๐Ÿ˜…

pythonbynight, to random
@pythonbynight@fosstodon.org avatar

๐Ÿ“บ I'm enjoying Dead Boy Detective as if I were a ghost that got bored haunting stuff and decided to binge watch some TV instead ... which is to say a lot. Glad I gave it a shot despite the odd premise...

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

Python people, do you make short-lived intermediate variables to make your return statements readable?

For example, which of these would you tend to prefer?

def get_project_name(output_str): """Get project name from output of

pythonbynight,
@pythonbynight@fosstodon.org avatar

@ehmatthes I like the latter, for the most part, unless the statement that is being returned is too verbose. But that distinction is quite subjective.

lorenipsum, to random
@lorenipsum@fosstodon.org avatar

Have you thanked your local @georgically today?

pythonbynight,
@pythonbynight@fosstodon.org avatar
lorenipsum, to random
@lorenipsum@fosstodon.org avatar

I am helping out by painstakingly proofing signage (I am cursed with a close eye for copy editing) and on top of this free headache my reward is noticing how many awesome posters/tutorials/talks/charlas/presentations there are going to be. Get stoked!!

pythonbynight,
@pythonbynight@fosstodon.org avatar

@lorenipsum Guilty as charged?

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

What's everybody using to make their talk slides these days?

I've given a number of talks, but they've been spread out enough over the years that I've never developed deep familiarity with any one tool. I've mostly used PowerPoint and Keynote.

If you use reveal.js, do you use the basic setup? Full install? Hosted version?

pythonbynight,
@pythonbynight@fosstodon.org avatar

@ehmatthes I use reveal.js. I used the basic setup and created a django app to organize all my slideshows. I tend to edit the css a bit to customize things a bit.

pythonbynight,
@pythonbynight@fosstodon.org avatar

@ehmatthes Great question. Since this is a django app, I have a base template for the html file, and the individual "slideshows" are just the actual "content", which includes each slide as a <section> (if that makes sense).

So each "slideshow" file only has the slideshow content in it, and each <section> represents a slide, with an <aside class="notes" data-markdown> for my speaker notes.

pythonbynight,
@pythonbynight@fosstodon.org avatar

@ehmatthes In the app, I can choose/select which "slideshow" to load and present... and creating a new one means I'm "only" creating a file with the <section> elements as noted above.

pythonbynight,
@pythonbynight@fosstodon.org avatar

Lol, this is so true!

But for what it's worth, it was also my "I'm going to write my first django app and I want it to be something useful" attempt--and as such, it's been what I've been using exclusively for my talks.

I do have a version of this on github that I'm kind of embarrassed by... I'd like to refactor a lot of it, but here's the link just in case... This is not the version I use locally, but maybe I'll update in the near future:

https://github.com/tataraba/django-slideshow

pythonbynight,
@pythonbynight@fosstodon.org avatar

keep in mind... this was my very first django app, so YMMV

pythonbynight,
@pythonbynight@fosstodon.org avatar

@josh @ehmatthes This is the true way.

webology, to random
@webology@mastodon.social avatar

๐Ÿ“บ Fallout - Everybody Else Is Doing It, So Why Canโ€™t We? โ˜ข๏ธ

https://trakt.tv/shows/fallout

pythonbynight,
@pythonbynight@fosstodon.org avatar

@webology Heh... beat me to it after all... but I'll get there tonight. ๐Ÿ˜

jonafato, to random
@jonafato@mastodon.social avatar

๐Ÿ“บ โ˜ข๏ธ

pythonbynight,
@pythonbynight@fosstodon.org avatar

@jonafato heh.. Hoping to catch some episodes this weekend.

chrisjrn, to random
@chrisjrn@social.coop avatar

give us more net new talk submissions than newsletter unsubscriptions immediately following an email challenge 2024

https://pretalx.northbaypython.org/nbpy-2024/cfp

pythonbynight,
@pythonbynight@fosstodon.org avatar

@chrisjrn I'll be sending mine in hopefully this week--and the email was helpful in reminding me to do that...

...if that helps...

treyhunner, to python
@treyhunner@mastodon.social avatar

My students often ask me whether they can see a list of every dunder method that has. I've been meaning to compile a categorized list for years.

I finally did it.

Here's every dunder method in Python... all 115 of them! ๐Ÿคฏ

https://pym.dev/every-dunder-method/

pythonbynight,
@pythonbynight@fosstodon.org avatar

@chrisjrn @treyhunner @thejcannon Yes! I highly recommend this one.

mariatta, to python
@mariatta@fosstodon.org avatar

Are you registered for PyCon US 2024?
If you don't mind, please share with me:

  • are you a first time attendee, or a repeat attendee?
  • what made you interested in attending the conference (interested to hear especially about your first PyCon US experience)
  • how did you learn about the conference

This is for personal research ๐Ÿ˜Š but I might quote you later somehow (will ask permission first)

Fun fact: 77% of PyCon US 2023 attendees were first-timers!

pythonbynight,
@pythonbynight@fosstodon.org avatar

@mariatta This will be my third PyCon! Prior to 2022, I had been learning/tinkering with Python in a sort of silo. I had been missing out on the language's best feature... the people! I learned about the conference through the CfP at the end of 2021, and I thought to submit a tutorial idea (never dreaming that I'd be selected). I actually knew next to nothing about the conference aside from the CfP.

I met so many awesome people that year and had so much fun presenting and volunteering!

pythonbynight, to python
@pythonbynight@fosstodon.org avatar

Been slowly tinkering on a Litestar app I'm building just for the hell of it. My local amateur soccer league could really use a website, and I could also stand to learn a new web framework. (I mean, why not?)

While I've been plugging away at it (over-engineering and all), I decided to continue building in public.

Lots of fun stuff in here, but a pretty good "real world" use case for the PyHAT stack (htmx/Tailwind).

https://github.com/tataraba/soccerlite

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • Leos
  • Durango
  • ngwrru68w68
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • Youngstown
  • slotface
  • vwfavf
  • PowerRangers
  • everett
  • kavyap
  • rosin
  • anitta
  • khanakhh
  • tacticalgear
  • InstantRegret
  • cubers
  • mdbf
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • cisconetworking
  • tester
  • normalnudes
  • modclub
  • provamag3
  • All magazines