• #385 RESTing on Postgres

  • May 27 2024
  • Length: 24 mins
  • Podcast

#385 RESTing on Postgres  By  cover art

#385 RESTing on Postgres

  • Summary

  • Topics covered in this episode: PostgresRESTHow Python Asyncio Works: Recreating it from ScratchBendThe Smartest Way to Learn Python Regular ExpressionsExtrasJokeExtrasJokeExtrasJokeWatch on YouTube About the show Sponsored by Mailtrap: pythonbytes.fm/mailtrap Connect with the hosts Michael: @mkennedy@fosstodon.orgBrian: @brianokken@fosstodon.orgShow: @pythonbytes@fosstodon.org Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 10am PT. Older video versions available there too. Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it. Michael #1: PostgresREST PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch.Speedy First the server is written in Haskell using the Warp HTTP server (aka a compiled language with lightweight threads). Next it delegates as much calculation as possible to the database.Finally it uses the database efficiently with the Hasql libraryPostgREST handles authentication (via JSON Web Tokens) and delegates authorization to the role information defined in the database. This ensures there is a single declarative source of truth for security. Brian #2: How Python Asyncio Works: Recreating it from Scratch Jacob PadillaCool tutorial walking through how async works, including Generators ReviewThe Event LoopSleepingYield to AwaitAwait with AsyncIOAnother great async resource is: Build your Own Async David Beasley talk from 2019 Michael #3: Bend A massively parallel, high-level programming language.With Bend you can write parallel code for multi-core CPUs/GPUs without being a C/CUDA expert with 10 years of experience. It feels just like Python!No need to deal with the complexity of concurrent programming: locks, mutexes, atomics... any work that can be done in parallel will be done in parallel. Brian #4: The Smartest Way to Learn Python Regular Expressions Christian Mayer, Zohaib Riaz, and Lukas RiegerSelf published ebook on Python Regex that utilizes book form readings, links to video course sectionspuzzle challenges to complete onlineIt’s a paid resource, but the min is free. Extras Brian: Replay - A graphic memoir by Prince of Persia creator Jordan Mechner, recounting his own family story of war, exile and new beginnings. Michael: PyCon 2026 Joke: Shells Scripts
    Show more Show less
activate_primeday_promo_in_buybox_DT

What listeners say about #385 RESTing on Postgres

Average customer ratings

Reviews - Please select the tabs below to change the source of reviews.