Replies

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 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

CodenameTim,
@CodenameTim@fosstodon.org avatar

@matthiask Thank you and @sabderemane both for the feedback!

CodenameTim,
@CodenameTim@fosstodon.org avatar

@sethmlarson I think the onboarding process will configure each project team that way. I'd be happy to make you an admin on the playground repo to check my work.

The biggest pain point in this regard is not being able to automate it. Though I haven't looked all that hard yet.

jezdez, to random
@jezdez@publicidentity.net avatar

As the only @jazzband roadie, I want to confirm having gotten repeated offers from Tim (and from others) to help with Jazzband maintenance.

Ultimately and not very ironically, I’ve not had the chance to accept it since the hardest part has not been achieved in Jazzband. (1/3) https://fosstodon.org/@CodenameTim/112485191596931090

CodenameTim,
@CodenameTim@fosstodon.org avatar

@jezdez Thanks Jannis! I appreciate everything you've done. I hope we can collaborate in the future!

CodenameTim, to random
@CodenameTim@fosstodon.org avatar

@gvwilson I've been enjoying "Software Design By Example", thank you for writing it!

I've come across a few exercises now that I'm not 100% sure I understand what's being proposed. Is there a solution bank somewhere that I'm missing?

One of the specific cases is Chap 4's "Rewrite Any so that it does not repeated re-match text."

CodenameTim,
@CodenameTim@fosstodon.org avatar

@gvwilson Seems like it may be in the examples download.

CodenameTim,
@CodenameTim@fosstodon.org avatar

@gvwilson that's totally fair! We have a reading group within @djangonaut who have been working through it. It's been great!

kjaymiller, to random
@kjaymiller@mastodon.social avatar

Awww come on. I wanted to get a photo for my slides.....

[ALT IMAGE] - Google Slides Search for a GIF of the Racist Turtle returning no results

CodenameTim,
@CodenameTim@fosstodon.org avatar

@frank @kjaymiller Damn! 😂 Well played

benjaoming, to django
@benjaoming@social.data.coop avatar

Oy! Today, it's the 10 year anniversary for PR#2692 🥳

It's definitely worth celebrating how the good forces were victorious against all the loud mouth conservatives/trolls. Since my office is full today, I might need to get both a primary cake and a replica cake for redundancy 🍰

Congrats and thanks to @fcurella and everyone else involved in this.

https://github.com/django/django/pull/2692

CodenameTim,
@CodenameTim@fosstodon.org avatar

@benjaoming @fcurella Eesh, that was a rough read.

carlton, to random
@carlton@fosstodon.org avatar

Starting to get warmer ☀️ hopefully the plants will stop breeding now, and my nose will stop running. I love spring and all, but months of mild hay-fever is really boring.

I’m sure I never had this when I was younger. (Maybe I just didn’t notice 🤔)

CodenameTim,
@CodenameTim@fosstodon.org avatar

@carlton I'll let you know if wyndly improves things for me

CodenameTim,
@CodenameTim@fosstodon.org avatar

@carlton FWIW the steroid nasal allergy spray worked really well (until it exacerbated an unknown health defect of mine 🙃)

18+ josh, to random
@josh@joshthomas.dev avatar

I wouldn’t normally post something personal like this, but I feel compelled to.

It seems my mother-in-law’s cancer may have taken a turn for the worse. She had to be hospitalized last night and it doesn’t look great. It’s reminding me a lot of when my mom passed from her cancer a couple of years ago, where there’s a line that is crossed — before crossing it seems like the progress is up and down, better and worse. But once that line’s crossed it’s all down from here.

18+ CodenameTim,
@CodenameTim@fosstodon.org avatar

@josh I'm sorry to hear this. I hope you're able to spend quality time with her for a bit longer

jack, to django
@jack@social.jacklinke.com avatar

I have a custom django model field in an installable standalone app.

This app has a migration file that creates a new composite type in a postgres db (if it doesn't already exist). Users installing the app shouldn't have to manually run this migration.

Anyone know how I tell django's migrations autodetector that if another app's model uses my custom model field and we generate migrations model, it needs to add a dependency to the migration associated with the custom field? 🤔

CodenameTim,
@CodenameTim@fosstodon.org avatar

@jack I suspect you'd need to do something in MigrationAutodetector.detect_changes method similar to the generate* methods. The dependencies get associated with the operation itself as far as I can see.

josh, to random
@josh@joshthomas.dev avatar

Excited to dig in to this and share it with the team at work! Bonus appearance of @paulox !

CodenameTim,
@CodenameTim@fosstodon.org avatar

@paulox @josh good luck Paolo!

josh, to random
@josh@joshthomas.dev avatar

Wrote a cursed custom Django field, OPField, that stores the location to a 1Password item using their custom URI (op://…) and has the ability to get the secret via the op cli.

op_uri, secret = OPField.with_secret()

I blame @CodenameTim and his blog post about the RegisterField that I haven’t been able to get out of my head since he wrote it months ago.

CodenameTim,
@CodenameTim@fosstodon.org avatar

@josh 🕵️🪲🔧

bmispelon, to django
@bmispelon@mastodon.social avatar

New article on my blog: a ORM technique I found for combining JSONObject and Subquery to build model instances: https://blog.bmispelon.rocks/articles/2024/2024-05-09-django-getting-a-full-model-instance-from-a-subquery.html

CodenameTim,
@CodenameTim@fosstodon.org avatar

@bmispelon 🤩 this functionality is something that belongs in the ORM ideally. I think a third party library is a good starting point, but I'd vote for it to go straight to main. People frequently want to fetch a list of discussion threads and the latest post of each thread. Your idea is perfect for that scenario!

CodenameTim,
@CodenameTim@fosstodon.org avatar

@bmispelon I don't know enough about the ORM if this bootstrapping approach has some unseen performance penalty. @lilyf maybe you have some insight?

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