@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

Would anyone in my Python circle here be willing to review an upcoming article about testing?

I'm not looking for a detailed review, just a quick "yeah that sounds good" or "no, you're way off!"

ehmatthes,
@ehmatthes@fosstodon.org avatar

@jhulten Thanks Jeff! Can you send an email to ehmatthes at gmail? I'll share the post there.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@ryancheley Hi Ryan. I'd love to hear your thoughts. Can you reach out at ehmatthes at gmail? Thanks!

ehmatthes,
@ehmatthes@fosstodon.org avatar

Thanks everyone!

I shared the post over email because the only time I've tried the equivalent of DMs here I think everything ended up public. Hope that's not overstepping boundaries for anyone.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar
ehmatthes, to random
@ehmatthes@fosstodon.org avatar

This time of year, running at 6am -> probably see bears; running at 9am; probably see bear poop.

We put sticks in the poop to make it clear to others that it's not too fresh. You can stick your finger in it to see if it's still warm (it wasn't). This bear had some good berries. :)

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

I've always wanted to write my own terminal-based text editor for fun.

I'm finally digging in, and it really is enjoyable. It's so satisfying to build a tool using that same tool!

brettcannon, to random
@brettcannon@fosstodon.org avatar

If I were to say that the input you provide to pip-tools is input to the resolver to figure out what to install into your environment (i.e. requirements.in), and the output is a lock file (i.e., requirements.txt), does that explanation of what the purposes of those files are make sense to people (and specifically the requirements.in explanation)?

ehmatthes,
@ehmatthes@fosstodon.org avatar

@brettcannon Yes, but only because I've been wrestling with these kinds of explanations for years.

I don't think this would be very clear to people who are new to packaging. Who is your intended audience?

ehmatthes,
@ehmatthes@fosstodon.org avatar

@brettcannon I would absolutely expect what you wrote to make sense to people who are maintaining other packaging projects.

They might have questions about how it's implemented, but that short description certainly makes sense.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

When I finally get around to writing a full test suite for a new project, I always want to run it over and over again just to watch it pass.

Having meaningful coverage is so satisfying!

ehmatthes,
@ehmatthes@fosstodon.org avatar

This will definitely be a fun little project to write up. :)

sbattey, to random
@sbattey@pnw.zone avatar

Approved for and accepted a 5 year refinance on one of my oldest student loans. It was a predatory adjustable rate loan (11.75% this month) that originally was issued by CitiBank. I took this loan out in 2008, and have paid off -8%. It’s a private loan I took to cover the costs of college my freshman year that exceeded the amount I could finance federally. I was able to refinance at a fixed 6%. Fuck predatory lenders.

1/2

ehmatthes,
@ehmatthes@fosstodon.org avatar

@sbattey I got that same forgiveness a while back. The day my balance dropped to zero was one of the lightest days I had experienced.

Student loans carry so much weight. :/

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

There are many valid criticisms of GPT, and certainly of OpenAI and prominent people in the AI space.

That said, however, I am absolutely blown away every week by how useful these tools are already.

ehmatthes, (edited ) to random
@ehmatthes@fosstodon.org avatar

I am struggling to regain my mountain legs, but it was gorgeous above (and below) the clouds today.

ehmatthes,
@ehmatthes@fosstodon.org avatar
andrew, to random
@andrew@aeracode.org avatar

Driving on I-70 through Utah is one of those times where, if there's a viewing area signposted, you should just pull off and see it. Here's the one I just popped into!

ehmatthes,
@ehmatthes@fosstodon.org avatar

@andrew Most of southern Utah feels like a national park. :)

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

There's a lightning talk I've had in the back of my mind for a long time, and I finally wrote it up as a short article instead of a talk.

TLDR: Living with bears for 20 years makes technical crises a little easier to handle.
https://mostlypython.substack.com/p/go-face-bears

ehmatthes,
@ehmatthes@fosstodon.org avatar

@carlton I learned about Zen while riding amongst bears, it was a fantastic backdrop for those early readings. :)

canineical, to random

i’m curious if y’all have any ideas abt this— a camper asked me why the rocks further from the ocean (which is at low tide) are much flatter than the ones by the water

ehmatthes,
@ehmatthes@fosstodon.org avatar

@canineical My guess from sitting on rocky beaches would be that the rocks that get pushed all the way up the beach tend to be the lighter ones, and they get tumbled around a lot more than the heavier rocks that don't make it as far up the beach.

I wonder if there's a reinforcing effect where flatter rocks get pushed around more when the waves are able to get under them?

CodenameTim, to random
@CodenameTim@fosstodon.org avatar

Classic. I started trying to read the code in @ehmatthes "Reading code" post and found myself struggling to keep things aligned. Once I got past the code part, the explanations of how to read code helped tremendously.

https://open.substack.com/pub/mostlypython/p/reading-code?r=4boho&utm_campaign=post&utm_medium=web

I think the lesson learned here is that I infrequently read code without a purpose. It's easy to read code when you're on the hunt for a bug or to seek some specific understanding.

ehmatthes,
@ehmatthes@fosstodon.org avatar

@CodenameTim I think that post is going to turn into a series, because the more I think about it the more I recognize specific strategies I use to make sense of code. No one ever taught me those strategies, but I would have been able to make better sense of more complex codebases sooner if someone had.

I think "Have a purpose" is a good strategy in and of itself for reading through someone else's code.

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

Reading code efficiently and comfortably is a critical skill for programmers, but it's a skill that's often assumed. People think that if you've learned how to write code, you must know how to read code.

I don't think that's a reasonable assumption. There are specific strategies you can adopt to read code more efficiently:
https://mostlypython.substack.com/p/reading-code

ehmatthes,
@ehmatthes@fosstodon.org avatar

@birnim This looks like an interesting project, but it looks like it's been unmaintained for a couple years now?

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

Is anyone else watching this little HN drama unfold?

Real stupid, or fake for attention stupid? Either way, it's probably the dumbest thing I've seen in 12 years of keeping an eye on that site.

https://news.ycombinator.com/item?id=36731320

ehmatthes,
@ehmatthes@fosstodon.org avatar

@webology Even if it's fake, it's serious enough to bring some really not fun attention from some federal agents.

I wondered for a bit if he's struggling with seeing his daughter off to school and trying to keep her safe in the outside world. If that's the case, he might need some mental health support. Sad to see that happening in such a public way.

I have a hard time seeing why they didn't just let the flagging take effect on that post.

webology, to random
@webology@mastodon.social avatar

🏡 I'm not sure why listening to the "Decluttering at the Speed of Life
Winning Your Never-Ending Battle with Stuff" audiobook was so cathartic, but I want to throw everything in our garage away now.

📚 Hat tip to @ruralocity for the recommendation. https://aaronsumner.com/pages/reading.html

ehmatthes,
@ehmatthes@fosstodon.org avatar

@CodenameTim @webology @ruralocity I should add that this house was built in the 1940s, and I think everyone who owned it has left something in the basement. I thinker's getting cleaner than it's been in decades!

Nobody's going to use those 300 pounds of 30-year old shingles that crack when you pick one up. :/

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