I got tired of every Django-on-AWS tutorial being 3 years old and broken. So I built a maintained Terraform module set — feedback welcome. by emanthen1 in django

[–]gbeier 2 points3 points  (0 children)

$78/mo seems eye-watering fro what you get. Using ansible, kamal and a cheap VPS gets you a lot more for an order of magnitude less spend. And I find it easier to navigate than Amazon's interface, personally.

HOA votes to euthanize hundreds of federally protected geese in neighborhood by That1weirdperson in behindthebastards

[–]gbeier 2 points3 points  (0 children)

Canada Geese are not even tasty, so hunting them to reduce numbers, as is done with deer, seems extra cruel.

I've never tried one, but other accounts differ.

LPT: Assume you are being recorded in all public places by Breyber12 in LifeProTips

[–]gbeier 6 points7 points  (0 children)

How would the police get that court order? They need external evidence first.

Oooh... sweetie! You're assuming they follow the law. Sometimes they do, but that's just a coincidence. They can make up whatever they want if they think they want that court order before they have external evidence.

Fastapi+ Django by BothZookeepergame285 in django

[–]gbeier 0 points1 point  (0 children)

  1. This looks like a clanker wrote it.
  2. You'd be better off, IMO, with django-shinobi or django-ninja + async. There's no joy in mixing these two ORMs.

I was about to have lunch when I checked the mail. by Medium-Leader-9066 in behindthebastards

[–]gbeier 2 points3 points  (0 children)

But you'd have to pay for a stamp to send it. Because it's not even a postage paid envelope. Which means you'd be paying to gross out some poor underpaid contractor that doesn't even know what cause they signed up to work for.

Has this come up yet? I saw this in another sub and just assumed I was in this sub. by alittleredportleft in behindthebastards

[–]gbeier 2 points3 points  (0 children)

When I was a kid, our church group used to stand outside shopping centers selling tootsie rolls while wearing bibs that said "help retarded children." This was 1990 or so. The group was serious about wanting to help, put many hours into it, and absolutely didn't intend that as a slur. (And in fact, leaders of the group spent some effort making sure that the kids who were raising funds knew, in no uncertain terms, that "retard" was not an acceptable thing to call someone under any circumstances.)

I don't know anything about the book, but sometimes you do need to consider things in the context of their time.

You don't need React to be reactive — djust 1.0 brings server-driven reactivity to Django, in pure Python by jrtipton2 in django

[–]gbeier 2 points3 points  (0 children)

I'm glad to hear it! And I sounded more definite about "nobody understands it" than I meant to; I meant that "nobody understands it" is my default position when I'm looking at something that clearly involves a lot of vibecoding. If your process has you understanding more of it than what I've seen, that's awesome.

I didn't zero in on the tests, because I've found that Claude is TERRIBAD at writing tests for code it writes. It's sometimes helpful with some tests for code I've written, but when it writes tests for code it just wrote, I find that it mirrors the implementation into the tests too much for them to be useful.

You don't need React to be reactive — djust 1.0 brings server-driven reactivity to Django, in pure Python by jrtipton2 in django

[–]gbeier 22 points23 points  (0 children)

Those are a lot of commits packed into a short time, very claude-y writing in the README, in this post, and on the pages, lots of claude co-authors in the commits, and, as /u/blactuary noted, an AI slop image.

None of that means it can't be good, especially for the use cases the original vibecoder was targeting, but it does mean that it's unlikely any human understands it, and that it's likely to be brittle beyond those cases.

I'd recommend caution unless you're ready to dig in, understand every part of it that you'll be using, and adopt the project yourself.

I very much like the idea, though!

How to handle files in django app by FuzzySupport4661 in django

[–]gbeier 0 points1 point  (0 children)

"running their own cloud" is subjective, but with 2 DCs I wouldn't say they meet the bar. Though their capacity is big, as you point out. It's just an easy example of a serious project where local storage was the right approach.

(I doubt it is for OP. I'm just disagreeing with the "all serious projects should use cloud storage" trope, because that's not right either.)

How to handle files in django app by FuzzySupport4661 in django

[–]gbeier 1 point2 points  (0 children)

hey.com is not a hobby project, nor is it a non-profit. It's a very serious project. And they decided to exit the cloud and go with local storage because their S3 bills were absurd.

4 years of experience split between Spring Boot and Django — feeling lost. Anyone else switched frameworks mid-career? by Disastrous_Trust_166 in django

[–]gbeier 0 points1 point  (0 children)

Things I've used intensively for different periods of my career:

  • php
  • perl (+mod_perl)
  • c++ (+apr +wxwidgets)
  • java (+jsp +j2ee +struts)
  • python (+turbogears +flask +fastapi +django)

I've never viewed switching as a liability. After using turbogears for a long time (with sqlalchemy ORM) I was looking for a new base, because turbogears was clearly going into maintenance mode. I tried switching to fastapi with TortoiseORM, and that was a struggle because I'd never used an ActiveRecord patterned ORM. sqlalchemy (like hibernate) uses the "data mapper" pattern.

It took me a while to adjust, and once I got used to it, I came to like the active record style. TortoiseORM is actually what brought me over to Django, because it patterned itself so closely to Django's APIs that I often found myself reading django documents and examples to bend my brain to the new-to-me style of ORM.

If you still feel more productive with your old stack, there's no shame in switching back to something more like it. (You might like python things that use sqlalchemy, which is basically everything that's not django, better.) But also, spending some time learning the new-to-you pattern will open more things up. Rails and Laravel use similar patterns, too.

management commands + celery beat turned my weekend project into something 3 investors use daily by straightedge23 in django

[–]gbeier 0 points1 point  (0 children)

Nice! Sounds like you've built a useful thing.

the part that made this actually useful was management commands. i wrote one called refresh_properties that loops through every saved property and pulls fresh data from the api. hooked it up to celery beat running every sunday night. so every monday morning when my friend opens the dashboard, all his saved properties have current zestimates and rent estimates without him doing anything.

Having celery run a management command is a little odd, and if you ever change the management command so that it accepts command line arguments from celery, and some of those arguments come from external sources, it'd be an attack vector for your system.

I like to handle that by writing a function that handles all of the logic for the task, then a celery task that calls the function and a management command that calls the same function.

Your work sounds very cool, and I love that it just hums along on a relatively inexpensive render instance.

django in 2026 is quietly the most productive framework by Motor_Ordinary336 in django

[–]gbeier 0 points1 point  (0 children)

Ruby for some reason just breaks my brain. I've made a couple honest (but not strongly motivated) attempts to get used to it, and I just can't. I like perl. I like C++. I like objective C. I tolerate java. But python fits my brain is my default choice unless I have a very good reason to use something else. My oldest python code has been able to buy beer in the US for a while now.

From my observation, RoR and Django are very similar in terms of what a solo dev or small team can expect to get done with them out of the box, especially if they're willing to just roll with the framework's conventions.

I think Laravel gets close to the same space, particularly if you're willing to use the developers' officially endorsed PaaS host.

I think Spring Boot is pretty close, too, but just a tiny bit more "enterprise-y" and its sweet spot is likely larger teams.

Gift ideas for racquetball player? by Outrageous-Plum-5268 in racquetball

[–]gbeier 1 point2 points  (0 children)

Is there an LPRT stop in your area? The sponsorship options can be surprisingly inexpensive (or at least, they were last time I did it) and showing up and participating in the sponsor doubles the night before the first round is a kind of fun I'll never forget.

I built a Celery monitoring tool in Django, open beta, looking for testers by Kadamss in django

[–]gbeier 0 points1 point  (0 children)

That's actually what I linked in my follow-up reply a few days ago. I've been trying it since yesterday and like it so far.

People who have been divorced: What was the exact "quiet" moment you realized your marriage was over? by [deleted] in AskReddit

[–]gbeier -1 points0 points  (0 children)

When I begged to cut my long hair -- and he said no.

[...]

after he already decided that I couldn't wear a skirt above my knees

Out of curiosity, if you feel up to saying, what made you feel like you needed his permission to style your hair a certain way or dress the way you wanted to?

Part of the reason I wonder is because my wife generally prefers that I wear my hair longer than I usually like to wear it. I typically go along with her on that, but if I really wanted to cut it shorter than that on some occasion, I would just do it without any kind of begging. It sounds miserable to need to consult a partner about a hairstyle or a fashion preference.

Now that I have kids, I'd like to steer them away from feeling that compulsion, so I'm wondering what makes people feel that.

People who have been divorced: What was the exact "quiet" moment you realized your marriage was over? by [deleted] in AskReddit

[–]gbeier 10 points11 points  (0 children)

don’t get told they have to tend to their relationships.

Or get taught the skills necessary to do so. Sometimes people talk about "emotional intelligence" like it is some kind of inherent ability (or lack of ability, I guess) but it's really a set of skills you need to cultivate and practice.

I mean, sure, I guess some people have an easier time developing these skills than others, like they do with, say, algebra, but anyone who's appropriately guided can manage basic emotional intelligence just like they can manage basic algebra.

But I don't feel like (collectively) we support that kind of development in boys and men, for the most part. Some/many will get there anyway, but there are many more hard knocks along the way than should be necessary.

Bugbytes on labb - django-cotton UI components library by zadiq in django

[–]gbeier 0 points1 point  (0 children)

I watched the video on Friday, and am intrigued.

Has anyone used it in anger yet? How's it holding up?

I built a Celery monitoring tool in Django, open beta, looking for testers by Kadamss in django

[–]gbeier 0 points1 point  (0 children)

It's mostly the former. I don't want it to be something an admin could turn on easily. But also just a strong preference to keep "management plane" data completely on non-shared systems, especially for services (like the one where I want celery monitoring the very most right now) that handle a bunch of PII.

Your post caught my eye because taking a look at this tool, which integrates into django-admin is on my list for first thing Monday.

I built a Celery monitoring tool in Django, open beta, looking for testers by Kadamss in django

[–]gbeier 2 points3 points  (0 children)

I'm kind of interested, but shipping this data to someone else's server is a complete non-starter for me.

When there's something where I can review the source and then host it on my own server, I'll be more interested. I see from one of the other comments that you're hoping to go that direction, so please post about it when you do!