Readit News logoReadit News
silviogutierrez commented on From: Steve Jobs. "Great idea, thank you."   blog.hayman.net/2025/05/0... · Posted by u/mattl
sn9 · 4 months ago
Did he take these screenshots decades ago and hold onto them all this time?
silviogutierrez · 4 months ago
Was wondering the same thing
silviogutierrez commented on Modern JavaScript for Django developers   saaspegasus.com/guides/mo... · Posted by u/rob
singhrac · 7 months ago
I've tried several boilerplates like SaaSPegasus and one thing I can't really get around is that I feel like the experience of developing in a docker-compose with two build-and-serve containers (e.g. one with gunicorn auto-reload and the other running something like esbuild for the frontend) is very clunky in VSCode?

I feel like I'm doing something crazy, this must be a problem many other people have, but things like language server integration on the JS and Python side separately do not mesh well.

If anyone sees this and has a minimal open source boilerplate to recommend I'd love to try it.

silviogutierrez · 7 months ago
I wrote about docker development (and a library that solves this for Django here): https://www.reactivated.io/documentation/why-nix/#native-per...
silviogutierrez commented on The Future of Htmx   htmx.org/essays/future/... · Posted by u/polyrand
jilles · 8 months ago
I've created a Django application using HTMX. Usually I'd jump to React or Vue. It was a great exercise and I can see where HTMX would be a great fit.

1. If you consider yourself a "backend developer" only and want to write the minimum amount of JS/TS.

2. If your application is simple. Yes you can do more complicated interactivity with oob swaps, but you end up with more complexity than you chose HTMX for.

For my next projects, I will still use Django but with React/Vue for pieces that need interactivity. As an example in my HTMX app, I wanted to add a profile image uploader. Lots of great frontend libraries exist to resize / modify your image before even uploading it to your server.

Finally, HTMX is just not testable the same way modern frontend libraries are. I've managed to write some decent tests using beautifulsoup, but it's night and day compared to vitest or jest.

silviogutierrez · 8 months ago
Check out my project, built exactly for this: https://www.reactivated.io
silviogutierrez commented on Django and Postgres for the Busy Rails Developer   andyatkinson.com/django-p... · Posted by u/plaur782
giancarlostoro · 9 months ago
It can, just needs to be built. I'm thinking of something that can both compile to WASM AND be somewhat like Phoenix Liveview.

Looks like there's some attempts for Phoenix Liveview for Python.

https://github.com/liveviews/liveviews?tab=readme-ov-file#py...

silviogutierrez · 9 months ago
I think the foundation, sure.

But the ecosystem of React, including UI libraries, charting, forms, and so forth, is enormous.

silviogutierrez commented on Django and Postgres for the Busy Rails Developer   andyatkinson.com/django-p... · Posted by u/plaur782
raihansaputra · 9 months ago
thanks for sharing! The server side story is definitely a consideration why I'm not hyped on Inertia.js for now, this seems to solve it. My current nitpick is my personal preference for Svelte/SvelteKit. I hope you don't mind me taking a look at the repo and try to have Svelte as an option.
silviogutierrez · 9 months ago
Sure thing. The magic is in vite.mts, render.mts and renderer.py

In theory, you could swap in Svelte in there.

silviogutierrez commented on Django and Postgres for the Busy Rails Developer   andyatkinson.com/django-p... · Posted by u/plaur782
giancarlostoro · 9 months ago
Funny you mention templating, its one key thing I'd change about Django, that... and maybe scaffolding, I'd crank it up drastically more.

My ideal enhancement to Django would be something like how Microsoft made Razor into Blazor... A template engine that can run purely on the back-end or purely on the front-end, replacing any need to ever use JavaScript, you stick to your native programming tongue if you will.

silviogutierrez · 9 months ago
Nothing on the python side for templating will ever come close to React or things like that. I built https://www.reactivated.io specifically to let python do what it does best (business logic / backend) and render using React. But all still server side without the downsides of a SPA.
silviogutierrez commented on Django and Postgres for the Busy Rails Developer   andyatkinson.com/django-p... · Posted by u/plaur782
pmontra · 9 months ago
I'm working on a Rails and on a Django project for two different customers and I've been doing that for years now. I'd pick Rails over Django any time for every single feature.

The absolute worst Django feature is the templating language. It seems to be designed to slow down developers to the like of old time Java web apps, almost mandatory templatetags et all.

The query language is moderately bad, quite verbose (Model.objects every time) for no good reason.

The lack of common project structure means that every project is different.

There is no Capistrano to deploy. I wrote something like that myself and we have been using it for maybe 7 years.

I'm sure I could go on for a while if I keep thinking about it, but you got the gist of it.

On the Rails side, sometimes I'd like to have a talk with some of the previous developers of the Rails app, which hid some important functionality in a before save callback in a different module for no particular reason, but one can be too clever with Python too. However the language (Python) is quite dull, which can be a good or a bad thing. It's very subjective. It's a Ruby gone bad at design time to me.

silviogutierrez · 9 months ago
Shameless plug for https://www.reactivated.io

It swaps the templating engine for React. But still server side and using all the Django features you know and love. No SPA needed.

silviogutierrez commented on Python 3.13.0 Is Released   docs.python.org/3.13/what... · Posted by u/Siecje
wdroz · a year ago
With the 3.13 TypeIs[0] and the 3.10 TypeGuard[1], we can achieve some of Rust's power (such as the 'if let' pattern) without runtime guarantees.

This is a win for the DX, but this is not yet widely used. For example, "TypeGuard[" appears in only 8k Python files on GitHub.[2]

[0] -- https://docs.python.org/3.13/library/typing.html#typing.Type...

[1] -- https://docs.python.org/3.13/library/typing.html#typing.Type...

[2] -- https://github.com/search?q=%22TypeGuard%5B%22+path%3A*.py&t...

silviogutierrez · a year ago
Big fan of typing improvements in Python. Any chance you can elaborate on the "if let" pattern in Rust and how it would look in Python now? Not sure I follow how it translates.
silviogutierrez commented on Python 3.13 Gets a JIT   tonybaloney.github.io/pos... · Posted by u/todsacerdoti
eternityforest · 2 years ago
I wish Python would have native JSON schema support to stop this issue.

There's https://pypi.org/project/jsonschema-typed-v2/ but it hasn't been updated in a few years.

silviogutierrez · 2 years ago

u/silviogutierrez

KarmaCake day698April 3, 2012
About
Personal blog: https://www.silviogutierrez.com

Business: https://www.joyapp.com

View Original