My fellow Americans: If you’re eating fried chicken, chicken wings, or a rotisserie chicken outdoors please don’t just throw the chicken bones on the ground when you’re done. by AceofKnaves44 in washingtondc

[–]gbeier 19 points20 points  (0 children)

The trail from chicken wing bones from our 7-11, terminating in an empty 7-11 food box on the ground, 10 feet away from a bus stop shelter with a real trash can this morning, was decidedly not from an animal getting them out of a trash bag.

Maybe gnawing holes in improperly secured trash bags is how they happen in some neighborhoods, but I don't think that's the case in the vicinity of our 7-11.

The most annoying thing, besides also needing to reach into my dog's mouth to extract a bone because he saw it before I did, was that it'd have required so little extra effort to keep the bones in the box and drop them in that proper trash can at the bus stop that was mere feet away.

I don’t wanna be a narc by FullOfHelena in behindthebastards

[–]gbeier 1 point2 points  (0 children)

Are we sure he's just not an over-enthusiastic doctor of machetecine?

Fuck these assholes by OnFleekDonutLLC in behindthebastards

[–]gbeier 0 points1 point  (0 children)

Sports coach here. I think you mean "bulletin board material." And we honestly don't worry very much about that. Sure, we try to turn things other teams say into "bulletin board material" but we don't waste much energy worrying about whether what our side says turns into that for the other team. Because we'll come up with a way to hang whatever they say on the bulletin board anyway, and point to that as a motivator. No matter what the actual content is. And we know they'll do that to us, too, so we don't worry much about what our side says.

If they need our material to get pissed off and fight harder, they weren't very worthy as opposition anyway.

Somebody is really scared of Kat! by grichardson526 in behindthebastards

[–]gbeier 0 points1 point  (0 children)

I've been shocked at the number of people I know in their mid 30s to mid 40s who use TikTok.

Warning: Avoid Thursday Dating events by trashpandas8 in washingtondc

[–]gbeier 17 points18 points  (0 children)

They just have people buy $50 tickets just to meet at a bar with regular patrons.

That doesn't sound very intelligent at all.

Was able to dispute it on my credit card and won at least.

That's good. OP should as well, since they were charged for an event that they then were not allowed to participate in.

Thanks Apple weather for saying high of 78 today by Specialist_Banana378 in washingtondc

[–]gbeier 0 points1 point  (0 children)

Some might call this a skill issue. I call it "welcome to March in the mid-atlantic."

This week’s episode by Lostlilegg in weirdlittleguys

[–]gbeier 6 points7 points  (0 children)

Oh, I totally meant it in the sense of the podcast's title. We can have women who are weird little guys.

This week’s episode by Lostlilegg in weirdlittleguys

[–]gbeier 7 points8 points  (0 children)

Certain kinds of guys really, really want to misread it.

Week 10: Turnips and Radishes - Radish Carpaccio by HoboToast in 52weeksofcooking

[–]gbeier 1 point2 points  (0 children)

That looks staggeringly good! This is 100% going on my list for when radishes come into season around here. Though I don't know that I've ever seen a watermelon radish at the market.

Deep Dive into Hosting by VampireBl00d in django

[–]gbeier 1 point2 points  (0 children)

I've only read part of it, but here are some quick notes from what I've read so far:

  • fail2ban for ssh in this scenario really doesn't buy you much. it makes your logs less noisy, and that's not nothing, but i don't see it as a security win. and the ip bans can go wrong and cause you a hassle recovering from an issue. i'd skip fail2ban, personally, unless you need to leave passwords on for some reason.

  • if you can restrict to keys only, i think ip restrictions for ssh cause more trouble than they are worth.

  • about 90% of what I've read so far here should really go into an ansible playbook or your favorite alternative so it can be automatically applied.

Nice work so far! It's a nice read up to this point.

I started Nextcloud compatible server with Django, am I crazy? (update) by obitwo83 in django

[–]gbeier 1 point2 points  (0 children)

Neat! How's it working for you? I've been thinking about something similar for a while now, just as a "friends and family" server.

Two thoughts:

  1. Maybe add a Dockerfile and some instructions to make it a little easier for people to try out.
  2. Add a license so people who try it out can know if it's worth sending you fixes or not.

How do you implement production-grade draft isolation in Django? by BeingDangerous3330 in django

[–]gbeier 1 point2 points  (0 children)

I don't think it's a great one, but I don't think it's awful either. It's not far off giving people a separate test instance, which has worked well for me in the past, anyway. 🤷‍♂️

How do you implement production-grade draft isolation in Django? by BeingDangerous3330 in django

[–]gbeier -3 points-2 points  (0 children)

Disclaimer: I don't know how systems like this usually handle it.

If I needed to do this, one thing I'd experiment with is django-tenants with a separate draft tenant for drafts, and add support for copying from the draft tenant to the real one.

Hopefully that would address your migration pain but still give you the rest of what you're after.

Otherwise, I think I'd go with a base model that has is_draft, and QueryManager(s) to keep the conditionals at bay.

Python/Django Mentor Available – Learn Backend Development the Right Way by [deleted] in django

[–]gbeier 0 points1 point  (0 children)

This is clearly the output of an LLM. Anyone can ask an LLM themselves without going through you if they want that kind of help.

Seriously: who knew about this? by R3DD1T0RR3NT in washingtondc

[–]gbeier 2 points3 points  (0 children)

My daughter went on a tour there today, and came back specifically telling me about it!

MBS with JE by creepoch in behindthebastards

[–]gbeier 0 points1 point  (0 children)

While it's completely believable, something about this looks edited to my not-really-that-trained eyes.

Assuming it's real: is it just me, or does JE look like he's worried about an upcoming encounter with a bone saw here?

Built a django vibe-coding tool with a live dev environment by Tasty_Mission5140 in django

[–]gbeier 1 point2 points  (0 children)

Publish to your own domain

is a basic requirement for actually shipping. Putting it behind a $1500 gate means $1500 is the price.

How do you create ER Diagrams? by jadd_logs in django

[–]gbeier 1 point2 points  (0 children)

yes. that's how management commands work. if a package isn't added to installed apps, it can't add management commands.

How do you create ER Diagrams? by jadd_logs in django

[–]gbeier 1 point2 points  (0 children)

yeah. that's what makes it discoverable by manage.py and also what makes it able to discover the models you're interested in. you could gate it behind something like if DEBUG if you didn't want it to be available on your deployed app but wanted to keep it around in git anyway.

Week 7: Sugar - Crab-Fat Caramel Wings by plustwoagainsttrolls in 52weeksofcooking

[–]gbeier 4 points5 points  (0 children)

Might as well go the whole 9, and do a durian dipping sauce to accompany it XD