Profile avatar
joshthomas.dev
Husband, Father, Programmer, University of Alabama alum - Roll Tide! Website: joshthomas.dev GitHub: github.com/joshuadavidthomas Mastodon: joshthomas.dev/@josh Banner 📸 bartpawlik.format.com
137 posts 1,811 followers 1,002 following
Regular Contributor
Active Commenter
comment in response to post
In all seriousness, given the recent push for Working Groups, I wonder if something akin to a "frontend" WG would be worthwhile
comment in response to post
I'm onboard -- you're good to cover my tickets at work while we hack away at this, right? 🤣
comment in response to post
What @davegaeddert.com is doing with plainframework.com is interesting though and a peek at what an opinionated view on this would look like in Django core.
comment in response to post
And as you said, there are a ton of options for UI kits and other libraries to make building the frontend easier over there. It’s also the one major backend framework I see featured as an integration in JS tool docs eg Tailwind and Vite come to mind
comment in response to post
Laravel’s whole approach to the frontend feels miles ahead. It offers opinions right in the docs and in the project generation for how to set up modern JS tooling. I have to go to third parties like @coryzue.com’s articles about it or third party libraries like django-vite to get the same thing.
comment in response to post
comment in response to post
Ah damn, Hawley completely slipped my mind.
comment in response to post
do i roll my eyes at a lot of DEI stuff? yeah, i wrote a whole essay about why i thought it was bullshit back in 2020. but trump et al aren’t saying, “corporate DEI policies mainly exist to protect corporate interests from discrimination lawsuits.” they’re saying “get the blacks out”
comment in response to post
Once you get the pipeline working though, *chef’s kiss*. Now anyone can just use either uvx or uv tool to get access to it and it just works. Makes distribution and updating trivial.
comment in response to post
Yeah, it’s kinda mind blowing. Maturin makes it dead simple to package it up and provides boilerplate CI to build wheels for the various OSes/arches. (Debugging musllinux wheel CI builds can be a bit of a pain though, depending on the dependencies of the Rust app 🫠.)
comment in response to post
On the plus side, I set up some automation to sync the fork and merge any upstream changes into my branch that contains the Python package. Hopefully that means the maintenance should be relatively low... *hopefully*... 😬
comment in response to post
Funny thing is, I may not even use this in the end. 🙃😅 But I was annoyed that a tool built in Rust didn't publish the CLI binaries somewhere that didn't require using NPM to install it.
comment in response to post
A quick fork, maturin setup, then banging my head against building wheels for musllinux.. and well, you can now install the Lightning CSS CLI via PyPI. 🥳 pypi.org/project/ligh...
comment in response to post
I’m hearing reports of the sketch being cut for time, this aggression will not stand
comment in response to post
youtu.be/XmuGBNBBu3A?...
comment in response to post
youtu.be/3sxRAeh8f7w?...
comment in response to post
Well you don’t want to overextend yourself 🥁
comment in response to post
Never you mind that my parser is returning an invalid error
comment in response to post
comment in response to post
Yes, I was trying to parse HTML and Django at the same time. No, I did not realize how silly this was until about 10 minutes ago.
comment in response to post
Ah, I think I got the blog link wrong www.fourdigits.nl/blog/django-... github.com/fourdigits/d...
comment in response to post
If you’ve been interested in what I’ve been working on with django-language-server — maybe give django-template-lsp a try! It certainly does more today than my project 😄
comment in response to post
Still, some competition is great. 👍 Hopefully we’ll be able to inspire each other to make better end user experiences. I know I’ve gotten a couple of ideas just looking at what they’ve got so far.
comment in response to post
Plus Python vs Rust, djls promises to be much faster — though tbh in a language server that’s responding to client requests it’s probably negligible.
comment in response to post
Thanks! ☺️ I thought about sitting on it until after the holidays, but I am terribly impatient and just wanted to get out for people to play with. 😄
comment in response to post
Noted. I let autocomplete guide me on this one.
comment in response to post
If you have Rust and/or PyO3 expertise and you don't mind holding your nose at Rust code written by a Django CRUD dev, well we could use your help too. 😅
comment in response to post
Anyway, give it a try in your Django projects and let me know in the repository's issues if you run into any troubles. And if you feel so inclined, please contribute documentation in how to get it setup in your personal editor that supports LSP!
comment in response to post
Yes, we're starting from version v5.1.x. Made a conscious decision to adopt DjangoVer (h/t @ubernostrum.bsky.social) in hopes that it's easy to see what version of Django the language server supports.
comment in response to post
I always had a personal goal of getting autocomplete for templatetags working before opening it up to the the public, and I got that earlier this evening. So even if it's alpha software and not even close to ready, I published the first version on PyPI and made the repo public. 🎉
comment in response to post