jnovinger

joined 1 year ago
MODERATOR OF
 

DEFNA: Django Events Foundation North America

Via Django News #238

36
Python Insider: Python 3.12.4 released (pythoninsider.blogspot.com)
submitted 3 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.

 

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).

4
submitted 5 months ago by jnovinger to c/django
4
submitted 5 months ago by jnovinger to c/python
16
submitted 5 months ago* (last edited 5 months ago) by jnovinger to c/python
 

The repo also links to some similar tools, like coveragepy, uncalled, and dead.

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

Love it. Thanks for the improvement!

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

[–] jnovinger 4 points 8 months ago

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

[–] jnovinger 2 points 8 months ago

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

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

[–] jnovinger 18 points 9 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 11 months ago* (last edited 11 months ago)

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

[–] jnovinger 1 points 11 months ago

The way they lost this one was brutal.

[–] jnovinger 3 points 11 months ago

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

[–] jnovinger 2 points 1 year ago

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

view more: ‹ prev next ›