@paulzuradzki@mastodon.social avatar

paulzuradzki

@paulzuradzki@mastodon.social

Healthcare data professional working on price transparency. Studying CS at University of Illinois. Hoosier. Here for Python, data science, & health econ. 🚲 🐍 🧑‍💻🏥

This profile is from a federated server and may be incomplete. Browse more on the original instance.

JMarkOckerbloom, to random
@JMarkOckerbloom@mastodon.social avatar

Anyone know if Simon Willison's #PyConUS keynote will be generally available? I'd be interested in checking out a recording or transcript.

I've seen a few folks credit him for the phrase "imitation intelligence", which sounds to me like a concise way to note how Alan Turing's concept of AI as an imitation game has largely outlived its usefulness in the LLM age.

Magic tricks, e.g., have long fooled even people familiar with how sleight of hand works. But we don't say magicians do real magic.

paulzuradzki,
@paulzuradzki@mastodon.social avatar

@JMarkOckerbloom If you had an in-person ticket and want to watch talk recordings before they get posted to public YouTube, the 2024 talks recordings are now available.

Log in at pycon.us -> Dashboard -> "Join PyCon US 2024 Online". In-person attendees get free access to the online ticket.

#PyConUS

nedbat, to python
@nedbat@hachyderm.io avatar

Do people run unittest suites from inside Jupyter notebooks? Any insights into this as an approach? https://github.com/nedbat/coveragepy/issues/1762

paulzuradzki,
@paulzuradzki@mastodon.social avatar

@nedbat - you can run unittest (or pytest) tests using ipytest cell magic (%%) or direct command execution (!) with the command at the top of the cell like so:

gvwilson, to random
@gvwilson@mastodon.social avatar

The Python version of "Software Design by Example" will be out Real Soon: you can read the content at https://third-bit.com/sdxpy/ or order a hard copy at https://www.routledge.com/9781032725215 - please use the code "SMA22" to get 20% off. All royalties will go to support the Red Door Family Shelter in Toronto (https://www.reddoorshelter.ca/).

Cover of "Software Design by Example: A Tool-Based Introduction with Python"

paulzuradzki,
@paulzuradzki@mastodon.social avatar

@gvwilson preordered. Thanks for writing this. I’ve been following along peeking at the online version. Looking forward to it!

carlton, to random
@carlton@fosstodon.org avatar

I think the DB cascades PR is coming on. Sen, the author, not yet on Mastodon, just gave me a “Try and break it” — that’s the sort of flex I like 😜 He’s doing an amazing job 🏅

(I SO want this feature. SO going to be running off main)

https://github.com/django/django/pull/16851

paulzuradzki,
@paulzuradzki@mastodon.social avatar

@carlton rooting for this👏🙌. Django newb here. I’m more excited by the ability to do raw SQL cascade deletes on Django-managed tables with on_delete=models.CASCADE. I’ve gotten surprised before when I learned that cascade only works with the ORM. Same for other defaults (ex: DateField.auto_now).

paulzuradzki,
@paulzuradzki@mastodon.social avatar

@carlton good to know. Thank you!

simon, to random
@simon@simonwillison.net avatar

I finally spent some time figuring out a minimal way of developing and packaging a Python library using a pyproject.toml file

It turns out you can do it with just a pyproject.toml file - no setup.py, no setup.cfg - and the only tools you need are pip and build, with no need to use Poetry/Hatch/Flit/etc for the simplest case

https://til.simonwillison.net/python/pyproject

paulzuradzki,
@paulzuradzki@mastodon.social avatar

@simon section 3.3 “Controlling Source Code and File Discovery” in Publishing Python Packages via Dane Hillard may be a useful reference on this point. https://www.manning.com/books/publishing-python-packages

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines