@matthiask@hachyderm.io
@matthiask@hachyderm.io avatar

matthiask

@matthiask@hachyderm.io

Interested in social justice, climate, against cars and general stupidity. Programming for the good.

He/him.

Programmer, gardener, cyclist and dad by day.

I (help) maintain a few #Django packages such as django-debug-toolbar, html-sanitizer and others.

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

CodenameTim, to django
@CodenameTim@fosstodon.org avatar

I'm looking for some help running a GitHub organization dedicated to supporting community-maintained third-party #Django packages.

I've written up an introduction here: https://www.better-simple.com/django/2024/05/22/looking-for-help-django-commons/

You can join here: https://github.com/django-commons/membership

matthiask,
@matthiask@hachyderm.io avatar

@CodenameTim Excellent post, thank you!

matthiask, to random
@matthiask@hachyderm.io avatar

I have just released Blacknoise 1.0.

In versioning terms it's a big jump from the previous 0.0.6 release. Code-wise nothing much changed. The 1.0 version should communicate that I consider the package to be production-ready (after using it in production for two months) and also that I intend to continue maintaining the package.

Get it while it's hot:
https://pypi.org/project/blacknoise/

djangochat, to random
@djangochat@fosstodon.org avatar

Ep162: Self-Hosted Open Source with Michael Kennedy is now live!

@mkennedy hosts the Talk Python podcast, co-hosts Python Bytes, and runs courses at Talk Python Training. We discuss his recent shift to mainly self-hosted open-source options for everything from marketing emails to analytics and more.

https://djangochat.com/episodes/michael-kennedy

matthiask,
@matthiask@hachyderm.io avatar

@djangochat @mkennedy Great episode! Now I'm even less happy with my current deployment setup 😅

matthiask,
@matthiask@hachyderm.io avatar

@carlton @djangochat @mkennedy
I meant, I'm already unhappy about k8s (and stressing out my co-workers because they haven't even started to really understand it). I'm now thinking that it would probably be best to lower availability expectations (https://noumenal.es/posts/how-many-nines/0bz/ !!) and move everything to one big box which only runs podman or something.

matthiask,
@matthiask@hachyderm.io avatar

@carlton @djangochat @mkennedy It's really ridiculous and sad at the same time how long someone can work in this industry and still not have a good deployment story. It's truly the worst thing about running Python in the cloud. I'm starting to miss PHP (not!)

carlton, to django
@carlton@fosstodon.org avatar

Come on folks! — my take on Quick CRUD views for Django — is on 295 stars ⭐️ — Did YOU give it yours yet? Can we get to 300? 🦄

https://github.com/carltongibson/neapolitan

matthiask,
@matthiask@hachyderm.io avatar

@carlton

There :)

matthiask, to random
@matthiask@hachyderm.io avatar

Opinion: Kubernetes isn't the problem. The problem is that everything else always lacks 10% of the power in places where workarounds aren't really viable. That's my slightly depressed take.

Please convince me that this isn't true.

matthiask,
@matthiask@hachyderm.io avatar

@webology That's my feeling as well.

My main problem is that k8s/helm/GitOps makes it relatively easy to host and maintain dozens of similar website projects, which only have small differences. It would be straightforward to use a root server for this but then I would be back on call and that's much much worse than using a product which is basically 100 times as powerful as I need it to be.

matthiask,
@matthiask@hachyderm.io avatar

@webology Yes. Luckily, managed k8s exist, but it's still really hard and you have to know a lot.

nedbat, to random
@nedbat@hachyderm.io avatar

My test suite has just one dot on the last line. What would you do?

  • Delete one test
  • Change the width of the terminal
  • Keep it as a visceral reminder of the uncomfortably chaotic nature of the universe
  • Write more tests
matthiask,
@matthiask@hachyderm.io avatar

@nedbat Delete a few tests. Tests are good but test suites also accumulate cruft over time.

matthiask, to random
@matthiask@hachyderm.io avatar

For one of the last blog posts I wrote I have tried using ChatGPT for feedback and proofreading (since I have heard many good things about it) and it was so bad.

The style was pompous, self-important and I truly truly hated it. It's probably due to my general aversion to these tools and the resulting lack of expertise I have in interacting with them.

It's an anecdote, not data, YMMV and all those things. I still thought it's interesting.

matthiask,
@matthiask@hachyderm.io avatar

@carlton Interesting! What types of reformating are you thinking about? My reformating mostly consists of "Vjgq" in vim ... 🙂

CodenameTim, to random
@CodenameTim@fosstodon.org avatar

And some days you wake up and try to do something new.

If you're into unsettling fiction, hopefully this scratches that itch. If that's not your thing (or amateur writing for that matter), don't click the link.

https://www.better-simple.com/short-story/2024/04/24/a-unsettling-dream/

matthiask,
@matthiask@hachyderm.io avatar

@CodenameTim I enjoyed reading that a lot. Or maybe enjoyed isn't the best word to describe all the feelings it evoked. Thanks :)

danderson, to random
@danderson@hachyderm.io avatar

It's all over my feed already, but in case I get to give you good news: VOYAGER ONE LIVES! Its incredible team managed to work around the damaged region of memory, and they're getting engineering data back again!

https://www.jpl.nasa.gov/news/nasas-voyager-1-resumes-sending-engineering-updates-to-earth

I went digging for more details, and quickly ended up out of my depth, but 🧵 of the bits and pieces I put together...

matthiask,
@matthiask@hachyderm.io avatar

@danderson Thanks for putting this thread together!

jochen, to random
@jochen@wersdoerfer.de avatar

Vacation week, museums and working on django-cast performance - published my for last week: https://wersdoerfer.de/blogs/ephes_blog/weeknotes-2024-04-08/

matthiask,
@matthiask@hachyderm.io avatar

@webology I guess you just added an entry to my list of upcoming blog posts 🙂

matthiask, to django
@matthiask@hachyderm.io avatar
matthiask, to random
@matthiask@hachyderm.io avatar

I wrote a thing: Podcasts I like listening to

https://406.ch/writing/podcasts-i-like-listening-to/

carlton, to random
@carlton@fosstodon.org avatar

Quite often, the reason why I don’t use some package is simply that I don’t want to end up maintaining it.

matthiask,
@matthiask@hachyderm.io avatar

@carlton Yes, this.

But what do you do instead? Write your own package and end up maintaining that one instead? 😅

matthiask,
@matthiask@hachyderm.io avatar

@carlton No, I think you're totally right. To me this sounds like hard earned experience with long(er) term maintenance, not at all like a caveman speaking.

I was writing a longer reply but then I remembered that I have written a very long reply already here https://406.ch/writing/run-less-code-in-production-or-youll-end-up-paying-the-price-later/

matthiask,
@matthiask@hachyderm.io avatar

@carlton Hey, I'm sorry for that but we are getting old!

matthiask,
@matthiask@hachyderm.io avatar

@sabderemane @carlton It may be a good idea 🙂

There's certainly a lot to be learned, documented etc. but that obviously also takes time and energy, and the latter is a bit scarce these days.

Also, I fear a bit that all those reservations would discourage people from jumping in and doing their thing. Some of the bigger and more useful packages and projects wouldn't exist if people had known how much work they would be.

matthiask,
@matthiask@hachyderm.io avatar

@carlton @sabderemane @jazzband I have been thinking about this for a bit but I don't know where to start.

Sarah, do you have any ideas what this package WG could do and what success would look like in terms of results it would have to achieve? A contribution to the Django documentation? Something else?

I'm not saying I want to do this, but it's certainly something I found myself thinking about.

matthiask, to random
@matthiask@hachyderm.io avatar

Sneak peek: I'm working on a prose editor for the Django admin which will replace django-ckeditor in all of my projects. It's based on ProseMirror (https://prosemirror.net/), basically the greatest text editor for the web, ever. I wanted to do this for years, but the Innere Schweinehund always bested me. No more.

Everything here will change, but I'm really happy already.

https://github.com/matthiask/django-prose-editor/

matthiask,
@matthiask@hachyderm.io avatar

@webology @carlton I hope it covers your use case, and if not I'd be interested to hear about it!

matthiask,
@matthiask@hachyderm.io avatar

@webology Yeah, I wish ProseMirror wasn't that hard to use. I don't think I know anything else with such a steep learning curve in the tech space. This probably means I have successfully suppressed a few memories ... 😄

It has been worth it for me. I have also looked into TipTap for a recent project but have gone back to pure ProseMirror. Everything requires more code, but having less layers of indirection is worth it after all, at least that's my impression ~20 months later.

matthiask,
@matthiask@hachyderm.io avatar

I wrote a blog post on django-prose-mirror with more of the background story:
https://406.ch/writing/django-prose-editor-prose-editing-component-for-the-django-admin/

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