North Bay Python
North Bay Python
  • 101
  • 428 862
"Magical (or not) GraphQL" - David Lord (Nbpy2024)
David Lord
pretalx.northbaypython.org/nbpy-2024/talk/HHDBCS
Introducing [Magql](magql.autoinvent.dev) (pronounced "magical"), a framework for defining GraphQL APIs, including [generating from SQLAlchemy](magql-sqlalchemy.autoinvent.dev) models and [integrating with Flask](flask-magql.autoinvent.dev). Magql is extensible, looks familiar to developers who are used to Flask, and provides convenience on top of the "official" Python GraphQL library. I'll discuss why I decided to write this library, and how I went about it, including some of the technical challenges presented by GraphQL's complexity. GraphQL's nested schema and query language allows for some unique and weird possiblities compared to traiditional HTTP/REST APIs, and I'll show off some clever examples that demonstrate its potential. But that complexity can also lead to difficulties. Ultimately, the decision between GraphQL and REST is not clear cut, and this talk will also discuss some of our findings after using Magql and GraphQL in production, and where we want to go next.
Produced by NDV: ua-cam.com/channels/Q7dFBzZGlBvtU2hCecsBBg.html
Sun Jun 30 14:25:00 2024 at Reis River Ranch
Переглядів: 103

Відео

"Boxes Full of Python: Understanding ActivityPub and the Open Web" - Philip James (Nbpy2024)
Переглядів 124Місяць тому
Philip James pretalx.northbaypython.org/nbpy-2024/talk/9939A9 In this talk, aimed at Pythonistas of all levels, we will learn how ActivityPub, the protocols underlying distributed social networks, power the open web by building a ActivityPub server in Python. The concepts that make up ActivityPub will be learned with concrete Python examples instead of abstract concepts, with the hope that atte...
"To rewrite or not to rewrite: an OSS community journey in the LLMiverse" - Tilde Thurium (Nbpy2024)
Переглядів 132Місяць тому
Tilde Thurium pretalx.northbaypython.org/nbpy-2024/talk/D8P8PP “I love breaking changes!” said no developer, ever. Backwards incompatibility can be disruptive to a community, but sometimes it’s a necessary evil in the long run to move forward. Haystack is a free open source Python LLM framework. It was launched in 2020, before LLMs were cool. In 2023 we decided to undergo a major re-architectur...
"Could BASIC possibly be an alternative or a companion to Python today?" - Phil Beffrey (Nbpy2024)
Переглядів 296Місяць тому
Phil Beffrey pretalx.northbaypython.org/nbpy-2024/talk/3YMHWY Python is widely used as both a professional software engineering language, and as a "learning" language that many programmers get started with. But in the early days of computing there was BASIC, the Beginners All-purpose Symbolic Instruction Code. BASIC's original developers, Kemeny and Kurtz at Dartmouth University, created it as ...
"WASM all the way down" - Christopher Swenson (Nbpy2024)
Переглядів 278Місяць тому
Christopher Swenson pretalx.northbaypython.org/nbpy-2024/talk/8U8T93 WASM is a compiled set of instructions that can run in the browser and it can be used to as a compilation target. So, it's possible to compile CPython into WASM, like in PyOdide. It's possible to write your own WASM interpreter, which can run those programs compiled to WASM. You can even write such a WASM interpreter in Python...
"Quantifying Nebraska" - Adam Harvey (Nbpy2024)
Переглядів 100Місяць тому
Adam Harvey pretalx.northbaypython.org/nbpy-2024/talk/9EXJ7T [In 2020, xkcd published _Dependency_](xkcd.com/2347/), which posited that "all modern digital infrastructure" is ultimately transitively dependent on "a project some random person in Nebraska has been thanklessly maintaining since 2003". How can we find these projects and ensure that their maintainers get the thanks and - more import...
Exploring the intersection of humanity and technology in a hedonistic context with cocktail robotics
Переглядів 77Місяць тому
Rich Gibson, Christine Story pretalx.northbaypython.org/nbpy-2024/talk/YBS7YN Cocktail Robotics provides an opportunity to explore an entertaining mix of technology, computer human interaction, art, and performance. We will provide a brief history with potentially amusing stories, and an exploration of using Python to control robots. Produced by NDV: ua-cam.com/channels/Q7dFBzZGlBvtU2hCecsBBg.h...
"How to optimize Postgres queries for Python developers" - Lukas Fittl (Nbpy2024)
Переглядів 298Місяць тому
Lukas Fittl pretalx.northbaypython.org/nbpy-2024/talk/DQMNE3 Many Python applications use Postgres as their backing database - and that means, when we think about our application performance, we have to think about the database. In this talk we'll do a dive into best practices for optimizing Postgres queries, aimed at application developers. Starting with EXPLAIN ANALYZE (which shows you a Post...
"The Perfect Python Project" - Glyph (Nbpy2024)
Переглядів 648Місяць тому
Glyph pretalx.northbaypython.org/nbpy-2024/talk/RYQVSH Do you want to create a Python project? Do you want it to be good? There have been lots of talks and posts and books about how to improve your project by adopting this or that tool or technology, by adopting a best practice. We all want to improve. We all want our code to be more correct. Faster. Friendlier. Easier to use. Better documented...
"What Python Can Learn From Other Languages" - Noah Kantrowitz (Nbpy2024)
Переглядів 174Місяць тому
Noah Kantrowitz pretalx.northbaypython.org/nbpy-2024/talk/TDYNUG Python is great! It's been a mainstay of web development and systems programming for decades and is on the cutting edge of many fields like scientific computing. But there is always more to improve, both in the language itself and how we use it. This talk will look at how ideas and features from other languages like Ruby, Go, and ...
"A visual exploration of vectors" - Pamela Fox (Nbpy2024)
Переглядів 715Місяць тому
Pamela Fox pretalx.northbaypython.org/nbpy-2024/talk/DLYZFF Vector embeddings are a way to encode a text or image as an array of floating point numbers, and they make it possible to perform similarity search on many kinds of content. Let's try to wrap our head around vector embeddings and similarity spaces by exploring them visually! We'll compare different embedding models, different quantizat...
"marimo: an open-source reactive notebook for Python" - Akshay Agrawal (Nbpy2024)
Переглядів 728Місяць тому
Akshay Agrawal pretalx.northbaypython.org/nbpy-2024/talk/LSLE9A We introduce [marimo](github.com/marimo-team/marimo), an open-source reactive notebook for Python that addresses several [common complaints](docs.marimo.io/faq.html#faq-problems) about first-generation notebooks. marimo notebooks are reproducible, with a [reactive runtime](docs.marimo.io/guides/reactivity.html) that eliminates hidd...
Hypothesis Levels Up: codegen, observability, fault localization, and a black-magic backend
Переглядів 118Місяць тому
Zac Hatfield-Dodds pretalx.northbaypython.org/nbpy-2024/talk/WNJTKZ You might have heard of Hypothesis - a testing library which has been generating test inputs and finding bugs for eleven years now, and used by about 5% of all Python users (Pytest is about 50%). But have you seen the more advanced tricks? - *GASP* as `hypothesis write` generates the tests themselves! (without a language model)...
"What Not To Document And Why" - Margaret Fero (Nbpy2024)
Переглядів 120Місяць тому
Margaret Fero pretalx.northbaypython.org/nbpy-2024/talk/8RZXD9 We’re hopefully all on board with writing documentation for our projects. However, especially with the rise of supply-chain attacks, there are some aspects of our projects that we really shouldn’t document, and should instead remediate as vulnerabilities. If we do document these aspects of a project, it may help someone compromise t...
"Bridges, or Benefits of Connecting Our Communities" - Mario Munoz (Nbpy2024)
Переглядів 81Місяць тому
Mario Munoz pretalx.northbaypython.org/nbpy-2024/talk/X7ZZPP A bridge can both literally and metaphorically connect people of different communities together. There are many reasons why distinct communities exist within the software space, some good, some bad, some _natural_. For example, "baby duck syndrome"denotes a situation where a computer user "imprints" on the first system they learn. Thi...
Nightmare on LLM Street: The Perils and Paradoxes of Knowing Your Foe
Переглядів 389Місяць тому
Nightmare on LLM Street: The Perils and Paradoxes of Knowing Your Foe
"Automated accessibility audits" - Pamela Fox (North Bay Python 2023)
Переглядів 271Рік тому
"Automated accessibility audits" - Pamela Fox (North Bay Python 2023)
"Beyond Programming Paradigms (with Python examples)" - Luciano Ramalho (North Bay Python 2023)
Переглядів 529Рік тому
"Beyond Programming Paradigms (with Python examples)" - Luciano Ramalho (North Bay Python 2023)
"Catching up on the weird world of LLMs" - Simon Willison (North Bay Python 2023)
Переглядів 46 тис.Рік тому
"Catching up on the weird world of LLMs" - Simon Willison (North Bay Python 2023)
"SVGs, Lasers, Reality, and You" - Evan Kohilas (North Bay Python 2023)
Переглядів 139Рік тому
"SVGs, Lasers, Reality, and You" - Evan Kohilas (North Bay Python 2023)
"Automate Your City Data with Python" - Philip James (North Bay Python 2023)
Переглядів 895Рік тому
"Automate Your City Data with Python" - Philip James (North Bay Python 2023)
Make Your Engineering Team A Fabulous Place for Programmers with ADHD and Autism
Переглядів 180Рік тому
Make Your Engineering Team A Fabulous Place for Programmers with ADHD and Autism
Two Kinds of Scripting: What Writing Plays Has Taught Me About Writing Python Programs
Переглядів 581Рік тому
Two Kinds of Scripting: What Writing Plays Has Taught Me About Writing Python Programs
"Observability For You and Me with OpenTelemetry" - Sarah Hudspeth (North Bay Python 2023)
Переглядів 319Рік тому
"Observability For You and Me with OpenTelemetry" - Sarah Hudspeth (North Bay Python 2023)
"Developing Labs for Teaching Kids Webdev" - Matt Cengia (North Bay Python 2023)
Переглядів 91Рік тому
"Developing Labs for Teaching Kids Webdev" - Matt Cengia (North Bay Python 2023)
"Oh the (Methods) You Can (Make): By Dunder Seuss" - Josh Cannon (North Bay Python 2023)
Переглядів 864Рік тому
"Oh the (Methods) You Can (Make): By Dunder Seuss" - Josh Cannon (North Bay Python 2023)
"Back to the Future of Hypermedia in Python" - Mario Munoz (North Bay Python 2023)
Переглядів 247Рік тому
"Back to the Future of Hypermedia in Python" - Mario Munoz (North Bay Python 2023)
"Celebrating 25 years of Open Source & our friend Betsy" - Josh Simmons (North Bay Python 2023)
Переглядів 70Рік тому
"Celebrating 25 years of Open Source & our friend Betsy" - Josh Simmons (North Bay Python 2023)
"Ship your Python code faster with PEX" - Shalabh Chaturvedi (North Bay Python 2023)
Переглядів 913Рік тому
"Ship your Python code faster with PEX" - Shalabh Chaturvedi (North Bay Python 2023)
"Have you tried..." - Paloma Fautley (North Bay Python 2023)
Переглядів 104Рік тому
"Have you tried..." - Paloma Fautley (North Bay Python 2023)

КОМЕНТАРІ

  • @ej3281
    @ej3281 19 днів тому

    As an intermediate developer who finds all the configuration and overhead a little overwhelming, this was both helpful and validating. Thank you!

  • @adnanpramudio6109
    @adnanpramudio6109 Місяць тому

    I thougt marimo was zoro from one piece😅 Good presentation btw

  • @noonenoone5748
    @noonenoone5748 Місяць тому

    How did Python get its name "Python"? I guess I could duckduckgo an answer.

    • @noonenoone5748
      @noonenoone5748 Місяць тому

      Python, the popular programming language, got its name from the British comedy troupe “Monty Python’s Flying Circus”. Guido van Rossum, the creator of Python, was a fan of the TV show and wanted a short, unique, and slightly mysterious name for his language. Initially, van Rossum considered naming the language “Camel”, but decided against it due to its difficulty in pronunciation and spelling. He also considered “Humpy” and “Fluffy” but ultimately chose “Python” because it had the right balance of fun and professionalism. The name “Python” was chosen to honor Monty Python’s Flying Circus, a BBC comedy series popular in the 1970s. The show was known for its absurdist and surrealist humor, which resonated with van Rossum’s sense of humor. In an interview, van Rossum explained that he wanted a name that was “fun, yet professional” and that “Python” fit the bill. He also mentioned that he was inspired by the show’s absurdity and playfulness, which he aimed to incorporate into the language’s design. And so, Python, the programming language, was born, named after the iconic British comedy troupe that brought laughter and joy to many. 😆

    • @noonenoone5748
      @noonenoone5748 Місяць тому

      Basic is too, well, basic in describing Monty Python comedy 😆

  • @rigen97
    @rigen97 Місяць тому

    "writing my own wasm interpreter in python" is a bit of a menacing statement And it ended in absolutely best way it could 😂😅

  • @raul825able
    @raul825able Місяць тому

    Marimo is really cool. I might try using it.

  • @starpawsy
    @starpawsy Місяць тому

    I started learning programming in 1974 and made a career out of it for 30+ years. To this day, I still do SOME scientific and engineering and other graphics programming in BASIC for one reason and one reason only. BASIC has by far, by far, THE simplest way of doing quality graphics. In one line: SCREEN 21 : REM gives me a 1280 X 1024 16 colour blank page. On that page, I can then do: PSET (ix, iy, ic) : REM set pixel at (ix, iy) to colour ic. LINE (ix1, iy1) - (ix2, iy2), ic : draw a line of colour ic between those two pairs of coordinates. LINE (somewhat paradoxically) can also do boxes. There is also CIRCLE which can do line circles, solid circles, ellipses and arcs. If I want to do text over the top of that, I have LOCATE (iy, ix) : and then PRINT USING which has almost (OK, not quite) the power and flexibility of any printf that I would do in C. And with 30 lines and 80 columns, I have never had problems positioning text exactly where I want it. I have never seen any C or any other high level language compiler suitable for scientific programming that allows that level of functionality and that level of simplicitiy. All in a compiled language that I have known for over 40 years and is free. And which converts pseudocode with barely a touch after copy and paste. What can surpass all of that? As to "But BASIC has GOTO". Have you been living under a rock since last century (which alarmingly now is almost 1/4 century ago)?? BASIC has all of the structures that anyone who does scientific or engineering programming could ever need. I havent used a goto since .... oooh ... at least last century. The Internet has porn and all sorts of vile things. Does that mean you should not use the Internet?

  • @Haleshot
    @Haleshot Місяць тому

    Great presentation; have been getting into marimo more and more as of late; love to see open-source projects grow and get recognition they deserve! Hope to see them progress in the future!

  • @nemopss
    @nemopss Місяць тому

    that's comedy gold

  • @blaiseutube
    @blaiseutube Місяць тому

    Succinct, yet comprehensive summary of project setup. 😑 TIL coverage_enable_subprocess !

  • @420_gunna
    @420_gunna Місяць тому

    easy! :)

  • @jfltech
    @jfltech 4 роки тому

    Aww wish he had more time.. my first thought was why SNEK when MicroPython exists , yet that's explained on the website keithp.com/snek/snek.html

  • @JustinJackson
    @JustinJackson 4 роки тому

    Great work Jay! Awesome talk.

  • @AbhijithPk
    @AbhijithPk 5 років тому

    if any of you are interested in the APL video and lazy to type it in , here's the link ua-cam.com/video/DmT80OseAGs/v-deo.html