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

36
Python Insider: Python 3.12.4 released (pythoninsider.blogspot.com)
submitted 5 months ago by jnovinger to c/python
 

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.

[–] jnovinger 15 points 8 months ago (6 children)

Do you have a written version?

I really dislike having to watch an entire video to catch the one bit of useful information. I wish I had the time to watch entire videos, but honestly, I don't. On top of that, my brain has often wandered off well before I get to the interesting bit.

[–] jnovinger 2 points 10 months ago (1 children)

Love it. Thanks for the improvement!

[–] jnovinger 2 points 10 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.

[–] jnovinger 3 points 10 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?

[–] jnovinger 4 points 10 months ago

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

[–] jnovinger 2 points 10 months ago

Would love it if this happened. Keep us updated if you do something with the idea.

[–] jnovinger 4 points 11 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.

[–] jnovinger 18 points 11 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.

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

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

[–] jnovinger 1 points 1 year ago

The way they lost this one was brutal.

[–] jnovinger 3 points 1 year ago

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

view more: ‹ prev next ›