jnovinger

joined 1 year ago
MODERATOR OF
 

Via https://mastodon.cloud/@radiac/112641898082821618

In my experience flask is great until it isn't - I've seen quite a few projects which outgrew it, and the lack of django's batteries and guard rails left a maintenance nightmare. Not sure if it'll be helpful, but as a result I wrote nanodjango, which lets you write a django site in a single file, then convert it to a full project if you outgrow it.

 

DEFNA: Django Events Foundation North America

Via Django News #238

 

I ran across this while looking for tools to provide something like the raw_id_fields widget in Django's list admin view. This post is a few years old at this point, but I think the solution it contains still works pretty well (caveat: I haven't tried it yet).

I also enjoyed the author's take on the conversation with support. I can definitely relate to that.

 

This article is several months old, but if you're like me and missed some of the new changes, it was a nice surprise, with things like generated fields and fields with database default values (as opposed to the existing Python default values).

[–] [email protected] 2 points 8 months ago

There's a brake pedal, but it's almost never needed (and if it is, it's always been because of me being stupid). Releasing the accelerator engages the regenerative breaking, up to and including coming to a stop. I love it and don't ever want to go back.

Having said that, I have had zero problem adapting back to normal breaking in my wife's car (ICE) when I need to drive it for some reason.

I really don't understand people that complain about the 1-pedal driving.

[–] [email protected] 3 points 8 months ago (2 children)

Looking at the docs, it looks like it's an instance of ID3Tags, which appears to be based on couple of helper classes mutagen._util.DictProxy and mutagen._tags.Tags, where DictProxy (and its base DictMixin) provides the dict-like interface. Underneath that, it looks like it's storing the actual values in a simple dict (DictProxy.__dict) and proxying to that.

I'm not seeing anything obvious that would muck with the incoming lookup key anywhere in ID3Tags or DictProxy.__getitem__ or any of the other base classes.

I have to jump off to pack for a trip, but might try this out later in a live shell session to see if there's something odd going on with the API.

In the meantime, OP, are you positive you were looking at the same file each time? Was this in a script or in a live Python shell session?

[–] [email protected] 4 points 8 months ago

I don't have much to say besides, good job. We all believe in you.

[–] [email protected] 4 points 9 months ago (1 children)

Looking at the thinkTank website, I think you're talking about the Secure Pocket Rocket model, but I'm not sure.

[–] [email protected] 17 points 10 months ago (7 children)

Anecdata here in the US, but my local mom and pop pharmacy (which I love) currently would lose $200/mo on my vyvanse because of my insurance and the whole generic vyvanse nonsense. This system sucks.

For the time being, I fill my vyvanse at Walgreens and hope they're losing $200/mo on it. I fill everything else at the mom and pop, until they let me know the situation is better.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

[email protected] is probably a good place to start.

[–] [email protected] 1 points 1 year ago

The way they lost this one was brutal.

[–] [email protected] 3 points 1 year ago

Aaaaaand I'm cleaning the garage this week ...

[–] [email protected] 2 points 1 year ago

Thanks for sharing this here! Far from an expert, but will happily take a look.

[–] [email protected] 6 points 1 year ago (1 children)

The installed packages themselves won't be faster, but they will install faster, sometimes much faster.

view more: ‹ prev next ›