@lilyf@fosstodon.org avatar

lilyf

@lilyf@fosstodon.org

Python / Django / Rust developer. Work on Kolo (https://kolo.app)

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

lilyf, to django
@lilyf@fosstodon.org avatar

I'm excited to be at @PyConUK from tomorrow! Come talk to me about , or Kolo (https://kolo.app)!

felixxm, to django
@felixxm@fosstodon.org avatar

My latest article shows how to smoothly propagate Database Changes in Blue-Green Deployments 💙 ➡️ 💚 using migrations :django: Check and share!

https://fly.io/django-beats/smooth-database-changes-in-blue-green-deployments/

lilyf,
@lilyf@fosstodon.org avatar

@felixxm I wonder if we could define a way for makemigrations to generate two-part migrations like this automatically...

Something like makemigrations --blue and makemigrations --green. Though I suspect blue and green aren't descriptive enough, so other names would be required.

The general behaviour though would be that --blue generates backward compatible migrations and --green generates completing migrations.

lilyf,
@lilyf@fosstodon.org avatar

@felixxm sounds like a good start! I'd like to see it make its way into core though. I think this is a feature that would be valuable to a wide enough range of people, and probably has enough edge cases.

lilyf,
@lilyf@fosstodon.org avatar

@shaib @CodenameTim @felixxm Sounds to me that we should create a Django ticket to review the different third party solutions here and decide on what to bring into core.

lilyf,
@lilyf@fosstodon.org avatar

@shaib @CodenameTim @felixxm I think it shouldn't be the default behaviour of makemigrations for this reason. But I would like it to be straightforward to opt into.

lilyf, (edited ) to random
@lilyf@fosstodon.org avatar
thephd, to random
@thephd@pony.social avatar

C is a demonic language made by demonic people. why can't i return arrays? nobody knows. why can't i return strings? oh because you can't return arrays. why does the program segfault when i try to use modulo on a double? well you see …

Preach that truth! — https://cohost.org/trainsfemme/post/2705000-my-c-homework

Someone did write a paper to fix this for C++. As usual, we tiptoed around wanting to handle that problem and the person got busy doing other stuff after the C++ people redirected them to C, and God Knows C doesn't want to address this legacy wart!

https://wg21.link/p1997

lilyf,
@lilyf@fosstodon.org avatar

@anders @thephd I would expect 4.7 % 1.5 to be 0.2.

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

Would you rather...

lilyf,
@lilyf@fosstodon.org avatar

@adamchainz Usually fix the merge conflicts, but sometimes redo it.

webology, to rust
@webology@mastodon.social avatar

🤔 Has anyone stumbled on a good to extension tutorial that spells out the steps for packaging too?

lilyf,
@lilyf@fosstodon.org avatar

@legoktm @webology A big +1 to maturin from me too.

carlton, to django
@carlton@fosstodon.org avatar

Oh, wowser! 🤩 @lilyf just put a tick on this, and it looks like just nitpicks to go 🤞

If this goes in, there's basically no-way we can't be doing weekly tags on a fork and running off of main until December 😜

Django 5.0 is going to be an utter blinder! 🏎️

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

lilyf,
@lilyf@fosstodon.org avatar

@carlton Doesn't @felixxm always find twenty more things to tweak before anything lands?

raiderrobert, to random
@raiderrobert@mastodon.social avatar

I hate Jira, but every other project management system I've ever used for software development was worse.

What do you all use at your places of work?

lilyf,
@lilyf@fosstodon.org avatar

@raiderrobert GitHub issues works fine for the tiny team I'm on.

lilyf,
@lilyf@fosstodon.org avatar

@raiderrobert Two, with another two people occasionally looking in. Plus a public bug tracker also in github issues.

lilyf, to random
@lilyf@fosstodon.org avatar

I'm really looking forward to marching in with the Council of Ex-Muslims of Britain. It's always an honour to support their protest of oppressive theocracy!

nanorepublica, to django
@nanorepublica@indiehackers.social avatar

What tools do you to accelerate your understanding of a new codebase?
Specifically to increase you 'chunk size' (tip to @rixx EU keynote!) of different areas (models, URLs, views, templates, static files etc).

Follow up what tools do you wish existed?

lilyf,
@lilyf@fosstodon.org avatar

@nanorepublica You could try Kolo https://kolo.app/

Kolo is a (free) dynamic code analysis tool for Django in VSCode that I work on. We sponsored DjangoCon Europe in Edinburgh and Porto.

lilyf,
@lilyf@fosstodon.org avatar

@nanorepublica

Feel free to reach out with any feedback you have, especially if you hit rough edges!

lilyf, to random
@lilyf@fosstodon.org avatar

I went to a ball on Saturday!

lilyf, to random
@lilyf@fosstodon.org avatar

I went to a ball Saturday night!

lilyf, to random
@lilyf@fosstodon.org avatar

If you use Django's Form.Media, you probably have some valuable input to give to this discussion: https://forum.djangoproject.com/t/deprecating-form-media/21285

I agree with @rixx that it's worth tidying up somehow, but since I don't use it myself I don't have an opinion on what is best.

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