@ehmatthes@fosstodon.org
@ehmatthes@fosstodon.org avatar

ehmatthes

@ehmatthes@fosstodon.org

Author, teacher, programmer, outdoor guy · ehmatthes.com · Python Crash Course · django-simple-deploy

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

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

For everyone I spoke with recently about moving to NC later this summer, this is part of the reason we're looking forward to being somewhere else:

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

For my talk last week, I ended up rendering images of my code snippets for the slides.

I wrote up my process for generating those snippets, with the ability to regenerate all of them with different formatting options at any time:

https://www.mostlypython.com/generating-code-snippets/?ref=mostly-python-newsletter

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

Wow @webology, Syncthing made it so easy to jump back onto my desktop this morning and pick up right where I left off on the plane last night.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@phildini @webology I have a simpler case than Jeff, I just have a desktop where I do most of my work, and a laptop that I use in other parts of the house, and when I travel.

All the work I care to sync is somewhere in my home directory. So, I'm just syncing "one" folder, my home folder. But I set up ignore/include rules in that folder so I just keep a running list of the directories I want to sync: Desktop/, projects/, and a few others.

It's set up to "sync these folders, ignore all others".

ehmatthes,
@ehmatthes@fosstodon.org avatar

@phildini @webology If you can specify the right set of higher-level directories, I think you can have a setup where you don't have to add new directories very often.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@webology @phildini I ignore virtual environments, but include .git dirs. It's worked flawlessly so far, and I second how nice it is to hop into the same state on a different machine.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@phildini @webology I think that approach would work quite well.

Just make sure you have a good backup before running your sync, because the syntax is different than I'm used to from git and rsync. It would not be fun to mess up your first sync.

That said, you can set up the main system as read-only for your first sync, and once it's all synced set it back to read and write.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

One of the things I respect most about how organizers handled the masking policy is that they A) made a clear policy, and B) stuck to that policy.

Many people made their decision about whether to attend - both attendees and non-attendees - based on that policy.

I believe they were also collecting air quality data throughout the conference, in order to inform next year's policy. I have tremendous respect for that approach.

ehmatthes,
@ehmatthes@fosstodon.org avatar

There's a world of difference between the effectiveness of one-way masking and two-way masking.

It's clear that there are a bunch of people who can only come to events where they can rely on two-way masking. Those are people I want to be around, and I think it's important that they continue to have a voice in our community.

Those people are not "paranoid"; they have very valid reasons for only putting themselves in masked gatherings.

ehmatthes,
@ehmatthes@fosstodon.org avatar

FWIW, I don't really worry about dying from a single Covid infection. I do worry about long-term respiratory health, including athletic performance as I age, and cognitive impacts of repeat infections.

So I really like the opportunity to be around masked crowds, with plenty of opportunity for unmasked time as well.

I came away from PyCon this year thoroughly impressed with the way masking was handled. I respect that PyCon organizers have not just given up on this like most of society has.

jacob, (edited ) to random
@jacob@jacobian.org avatar

If for no other reason*, I support a mask requirement at because the kind of person who doesn’t attend because they’re required to mask is the kind of person who I don’t want to hang out with anyway.

(* and there are lots of other good reasons too)

ehmatthes,
@ehmatthes@fosstodon.org avatar

@jacob And the people who can attend only with a mask mandate are a bunch of the people I want to listen to.

AlSweigart, to random
@AlSweigart@mastodon.social avatar

What's funny about the "put glue on pizza" advice from Google AI is that that screenshot could have easily been faked... but you can't prove the AI didn't make this recommendation.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@AlSweigart I want to start a collection of AI horror stories - situations where someone followed an AI's directions, and suffered some bad consequences. Think "I accidentally wiped my computer", not "I ate glue".

But I don't know how to validate stories when there'd be motivation from anti-AI people to make things up.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

About to touch down in SIT, ~3:00 am Pittsburgh time. Thanks for a great conference everyone!

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

For anyone following django-simple-deploy, the biggest change that will happen before 1.0 is implementing a plugin model.

It's on my short list, but I still have some open questions about what that means for the project's structure. If you have a moment, please take a look at the relevant discussion:

https://github.com/ehmatthes/django-simple-deploy/discussions/266

I'd love to know if you have any thoughts, even if it's just a thumbs-up.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

It's been a productive plane ride. 24 issues closed, all open issues triaged on django-simple-deploy.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@frank Sorry I missed you this week! I kept my head down a bit before my talk; it took a bit more out of me than usual.

I'm very much looking forward to DjangoCon again this fall. We should be in NC by then, so that should be the first conference I get to drive to. :)

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

Merging PRs at 40,000 feet like I'm still at the sprints. :)

glyph, to random
@glyph@mastodon.social avatar
ehmatthes,
@ehmatthes@fosstodon.org avatar

@glyph I think I made sigmoid curves with my hands in many conversations this weekend.

frank, to random
@frank@frankwiles.social avatar

Wondering when @revsys will get its first "Can you help us untangle this code base entirely written by newbies with GenAI?" project.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@frank That was the dinner conversation last night. I'm looking forward to this work!

In the old days people could only come to you with ideas. Now they can do a bit of validation before they come to you.

I think this is going to be an important role for people who know what they're doing with code. We'll use AI tools to untangle the mess built by AI tools used by people with less programming experience.

anze3db, to random
@anze3db@fosstodon.org avatar

Quick takeaway from the public speaking workshop: you don’t need an about me slide.

BRB while I update my presentations 😂

ehmatthes,
@ehmatthes@fosstodon.org avatar

@mathsppblog @carlton @anze3db @hamatti Like so many things, it depends. I just gave a talk about landslide monitoring, and the about me slide was framed in a way to set up how I look at this kind of work differently than other people.

I think the big takeaway from all this is, "don't give us your resume". Instead, tell us briefly about yourself in a way that gives a little context for what you're about to share.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

For anyone still at looking for dinner plans, I think I'm going to head over to Bridges & Bourbon around 6 or 7. I ate there once, and would love to try something else.

I'm happy to eat alone after all this social time, and just as happy to spend another dinner sharing stories.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@kevin I'm trying to coordinate with a couple people. I believe we're heading that way shortly.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@kevin We have met up, for anyone watching this. :)

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

Where do people put guidelines around implementation choices in a project?

For example I want to make a note to use path.read_text() instead of with open(), and a brief rationale.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@diazona @SnoopJ I decided to go with "Coding Guide".

ehmatthes,
@ehmatthes@fosstodon.org avatar

@blakeNaccarato Thank you, that is a good suggestion. I tend to think of linters as only addressing formatting, not the actual coding choices.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • everett
  • khanakhh
  • mdbf
  • thenastyranch
  • DreamBathrooms
  • Durango
  • magazineikmin
  • cubers
  • cisconetworking
  • Youngstown
  • slotface
  • kavyap
  • JUstTest
  • tacticalgear
  • normalnudes
  • osvaldo12
  • ethstaker
  • GTA5RPClips
  • tester
  • ngwrru68w68
  • InstantRegret
  • megavids
  • anitta
  • Leos
  • modclub
  • lostlight
  • All magazines