7
17
4

PGDay Chicago is a non–profit, community–run conference series in the United States focused on PostgreSQL, the world’s leading open source database. Our conference delivers one day packed with presentations about PostgreSQL and related technologies and the usual hallway and social track. Our conference will be held April 26th, 2024, in Chicago, IL.

8
Home - PyOhio 2023 (www.pyohio.org)

Via https://mas.to/@mpirnat/111592702753147583

Looks like talks are already live!

33
Real-world match/case (nedbatchelder.com)
7
submitted 2 years ago* (last edited 2 years ago) by jnovinger@programming.dev to c/python@programming.dev

As seen in https://news.ycombinator.com/item?id=38561682

Memray tracks and reports memory allocations, both in Python code and in compiled extension modules.

8
PostgreSQL and FIPS mode (peter.eisentraut.org)
5
1
2
5
7
[-] jnovinger@programming.dev 2 points 3 years ago

Hey, sorry we missed helping out!

Did you get everything sorted? Mind adding a "[Solved]" to the beginning of your post title if so?

[-] jnovinger@programming.dev 2 points 3 years ago

Wow, nice. Thank you!

[-] jnovinger@programming.dev 2 points 3 years ago

Would also be nice if I could use some sort of pattern in the --ignore-names option. Apologies if that's already there and I missed it.

[-] jnovinger@programming.dev 2 points 3 years ago

Just coming back around on the count thing, in order to use wc -l, you need to ensure that stderr is piped too. Like:

deadcode . --exclude=*/tests,conftest.py --ignore-names-in-files=core/settings.py 2>&1 | wc -l

I ran this against a ~8 month old Django project and it turned up 11 unused names, of which 5 were expected and can be whitelisted. Nice!

[-] jnovinger@programming.dev 2 points 3 years ago* (last edited 3 years ago)

I cross-posted to !devops@programming.dev too, hope you don't mind.

[-] jnovinger@programming.dev 2 points 3 years ago

Ha! Great catch. Yeah, I'll get that sorted.

[-] jnovinger@programming.dev 2 points 3 years ago

🤦‍♂️

Thank you

[-] jnovinger@programming.dev 2 points 3 years ago

It's alive!

I noticed an update from @subrehab@mastodon.social and went and looked.

[-] jnovinger@programming.dev 2 points 3 years ago

They talk about it in another post about the library.

[-] jnovinger@programming.dev 2 points 3 years ago

Also, a blog post from the new security developer-in-residence himself, Seth Larson, about the announcement.

[-] jnovinger@programming.dev 2 points 3 years ago* (last edited 3 years ago)

Looking at the LemmyHttp docs, mentioned above, it looks like you probably want to use the ListCommunities resource with the type_ ListingType of "Subscribed".

To do that with Plemmy, it looks like you want to use LemmyHttp(...).list_communities(type_='Subscribed').

Fair warning, I'm making this comment just from reading docs and source code, I haven't had a chance to try this yet.

[-] jnovinger@programming.dev 2 points 3 years ago

Ugh, my apologies folks. Clearly still figuring out how to do this Lemmy/Mastodon federation thing.

view more: ‹ prev next ›

jnovinger

0 post score
0 comment score
joined 3 years ago
MODERATOR OF