Luke Plant

1.7K posts

Luke Plant banner
Luke Plant

Luke Plant

@spookylukey

Christian, husband, father. Interests in web dev (full stack), Django, Python, and learning new languages.

United Kingdom Katılım Ekim 2008
220 Takip Edilen1.8K Takipçiler
Luke Plant retweetledi
Django
Django@djangoproject·
You can also access and render partial templates directly! This can be done using the syntax `template.html#partial_name`. This works particularly nicely with front end libraries like HTMX that often need to re-render a specific part of a page in isolation.
Django tweet media
English
1
2
29
6.7K
Luke Plant retweetledi
Albert Mohler
Albert Mohler@albertmohler·
"I try to be appropriately respectful of all elected officials, but Sen. Kaine uttered one of the most profoundly wrong, dangerous, and downright stupid comments a member of the Senate might articulate." From my article @wngdotorg today. Link below. ow.ly/NTxY50WS6r0
English
12
37
223
9.3K
Luke Plant
Luke Plant@spookylukey·
I'm mentoring a junior who is using #VSCode (at my recommendation) and I need to know - how do you do recursive project search workflows? e.g. "Find all references" clobbers the previous results. In Emacs I do this: lukeplant.me.uk/blog/posts/rec… (please don't say Co-pilot/AI).
English
0
1
2
317
Luke Plant
Luke Plant@spookylukey·
@rseroter I'd be interested in hearing the points you'd argue!
English
0
0
0
18
Daniel Roy Greenfeld, writer
I feel like I'm missing something. Assuming def func(*args) can accept 1 or more of anything, shouldn't it be set to def func(*args: tuple[Any])? Alas, the only way I get it to pass type checks is with def funct(*args: Any). Which feels a bit off.
English
2
0
1
874
Luke Plant
Luke Plant@spookylukey·
@didyoupush I'm not doing a huge amount of web dev right now, but I start with vanilla JS and htmx.
English
0
0
1
41
🌬
🌬@didyoupush·
Hi @spookylukey , is there any fronetend library you use with django to build fullstack webapps? I am curious! btw loved your django htmx patterns repo
English
1
0
0
52
Luke Plant
Luke Plant@spookylukey·
@KatiMichel I have a Django project that's been continuously running almost that long - my first commit is Sept 2005. Seems like a good subject for a conference talk or something if people were interested...
English
1
0
3
58
Katherine "Kati" Michel
Katherine "Kati" Michel@KatiMichel·
Was taking a look at the Django Software Foundation website. Check out the clock at the top folks. 19 years and 11 months. It's just about time to get the bubbly ready to celebrate Django's 20th anniversary. 🥂
Katherine "Kati" Michel tweet media
English
1
3
12
866
Luke Plant retweetledi
Glen Scrivener
Glen Scrivener@glenscrivener·
Twice this week our parliament has tried to alleviate burdens — at the beginning and end of life. But we’re not meant to eliminate burdens, we’re meant to carry them:
English
9
156
504
39.2K
John D. Cook
John D. Cook@JohnDCook·
"You can't judge a book by its cover." Except you kinda can. Not with certainty, but you can get a good idea what you're getting into from the cover.
John D. Cook tweet media
English
12
12
116
26.6K
Luke Plant retweetledi
Peter J. Williams
Peter J. Williams@DrPJWilliams·
Nice to be quoted by Lord Frost in today’s Telegraph. But the quotation is significant. Tiberius has lots of coins and inscriptions, but in biographical genres there’s more material about Jesus. The argument is laid out in my little book Can We Trust the Gospels, published by @crossway
David Frost@DavidGHFrost

I've written in @Telegraph this Good Friday about the factual basis of Christianity - and the importance of not diluting into myth the real historical event at the heart of Easter. telegraph.co.uk/gift/1b52914a8…

English
7
29
139
14K
Luke Plant
Luke Plant@spookylukey·
@willmcgugan I think the new syntax is more readable. Plus if you want to assign to a value, it has a more specific type i.e. `some_types = float | int` is better than `some_types = (float, int)` because `some_types` is a `UnionType` rather than a tuple.
English
0
0
1
164
Luke Plant retweetledi
Armin Ronacher ⇌
Armin Ronacher ⇌@mitsuhiko·
Yesterday I talked with @cleptric and a few others at Sentry about ugly code and Flickr's Flamework. It is one of my inspirations to this very day. I decided to write about it and why it is such a fascinating Rorschach Test for developers. lucumr.pocoo.org/2025/2/20/ugly…
Armin Ronacher ⇌ tweet media
English
6
4
31
10.1K