#291 Operational Resilience with Pyomo
Play • 1 hr
Do you have a scientific system that needs optimization or solving? Our guest, on this episode, Clark Petri is here to tell us all about pyomo. This is a library that can solve all sorts of cool problems, linear programming, nonlinear equations, and many other things you can throw at it.

We're gonna solve a really fun diet problem: What is the most nutritious meal that you can eat for the least amount of money? The answer might surprise you a little bit! It's going to be a lot of fun. So listen in to hear about how Clark has used pyomo to do his work and how you might use it in yours.

Links from the show

Pyomo: pyomo.org
Clark on Twitter: @clarkpetri
Center for Infrastructure Defense: nps.edu
Thesis: apps.dtic.mil
I’m not alone in my work post: morenuance.com
handcalcs package: github.com
Diet optimization problem: nbviewer.jupyter.org

Talk Python [Pro Edition]: talkpython.fm/pro
Black Friday at Talk Python: talkpython.fm/blackfriday

Sponsors

Talk Python Training
Linode
Google Cloud Platform Podcast
Google Cloud Platform Podcast
Google Cloud Platform
2020 Year End Wrap Up
This week, four of the podcast’s greatest hosts come together to celebrate all of the fun and informative episodes we’ve been privileged to do this year! Join Mark Mirchandani, Jon Foust, Priyanka Vergadia, and Brian Dorsey as we talk about our favorite guests and shows, some cool things that happened this year, and what we’re looking forward to in 2021! Cool things of the week * A Giant List of Google Cloud Resources blog * Google Cloud 4 Words site Our favorite episodes * Jon’s Favorites * GCP Podcast Episode 212: Data Management with Amy Krishnamohan podcast * GCP Podcast Episode 237: NVIDIA with Bryan Catanzaro podcast * Priyanka’s Favorite * GCP Podcast Episode 240: reCAPTCHA Enterprise with Kelly Anderson + Spring ML Potholes with Eric Clark podcast * Mark’s Favorites * GCP Podcast Episode 242: NASA and FDL with James Parr and Madhulika Guhathakurta podcast * GCP Podcast Episode 217: Cost Optimization with Justin Lerma and Pathik Sharma podcast * GCP Podcast Episode 228: Fastly with Tyler McMullen podcast * Brian’s Favorites * GCP Podcast Episode 223: Voice Coding with Emily Shea and Ryan Hileman podcast * GCP Podcast Episode 233: Bare Metal Solution with James Harding and Gurmeet Goindi podcast * GCP Podcast Episode 212: Data Management with Amy Krishnamohan podcast Sound Effects Attribution * “Bad Beep” by RicherLandTV of Freesound.org * “Small Group Laugh 6” by Tim.Kahn of Freesound.org * “It’s Always Night in Space” by JamesSilvera of HDInteractive.com * “Easy Cheesy” by LoboLoco of FreeMusicArchive.org
36 min
Towards Data Science
Towards Data Science
The TDS team
66. Owain Evans - Predicting the future of AI
Most researchers agree we’ll eventually reach a point where our AI systems begin to exceed human performance at virtually every economically valuable task, including the ability to generalize from what they’ve learned to take on new tasks that they haven’t seen before. These artificial general intelligences (AGIs) would in all likelihood have transformative effects on our economies, our societies and even our species. No one knows what these effects will be, or when AGI systems will be developed that can bring them about. But that doesn’t mean these things aren’t worth predicting or estimating. The more we know about the amount of time we have to develop robust solutions to important AI ethics, safety and policy problems, the more clearly we can think about what problems should be receiving our time and attention today. That’s the thesis that motivates a lot of work on AI forecasting: the attempt to predict key milestones in AI development, on the path to AGI and super-human artificial intelligence. It’s still early days for this space, but it’s received attention from an increasing number of the AI safety and AI capabilities researchers. One of those researchers is Owain Evans, whose work at Oxford University’s Future of Humanity Institute is focused on techniques for learning about human beliefs, preferences and values from observing human behavior or interacting with humans. Owain joined me for this episode of the podcast to talk about AI forecasting, the problem of inferring human values, and the ecosystem of research organizations that support this type of research.
48 min
Kubernetes Podcast from Google
Kubernetes Podcast from Google
Adam Glick and Craig Box
CNCF and the Linux Foundation, with Chris Aniszcyzk
After building the Eclipse IDE and Twitter’s Open Source office, Chris Aniszcyzk bootstrapped the CNCF, joining its parent the Linux Foundation in 2015. He’s now a VP of DevRel there, as well as CTO at the CNCF and Executive Director of the Open Container Initiative. Chris joins us to share his technology journey and Cloud Native predictions for 2021. And all that is now And all that is gone And all that’s to come And everything under the sun is in tune But the sun is eclipsed by the moon Do you have something cool to share? Some questions? Let us know: * web: kubernetespodcast.com * mail: kubernetespodcast@google.com * twitter: @kubernetespod Chatter of the week * Adam on LinkedIn News of the week * Otomi from RedKubes * Nutanix now supports Anthos * Tanzu Advanced is GA * Pivotal Labs is Tanzu Labs * VMware needs a new CEO * New CSI driver for Google Kubernetes Engine * Slim.ai announces seed funding * Grafana Cloud introduces free tier * Sysdig container security usage report (PDF) * 63 node Kubernetes cluster using Firecracker by Álvaro Hernández * The definitive guide to Vertical Pod Autoscaling by Povilas Versockas Links from the interview * ZX Spectrum * R-Type and Jet Pac * GORILLA.BAS * Gentoo Linux * Java Virtual Machine (JVM) * Eclipse * Object Technology International * Erich Gamma * code9, Chris’s startup * Backstage and Roadie * Twitter OSS * Pants * Mesos * twemproxy * Linux Foundation, and its sub-projects CNCF and OCI * Services for projects * Linus Torvalds and Greg Kroah-Hartman * Chris’s Cloud Native predictions for 2021 * Developer experience: Gitpod, GitHub Codespaces or Google Cloud Shell * Wasm in Envoy * Wasi, the WebAssembly Systems Interface * Chris Aniszcyzk on Twitter and on the web * Canada Revenue Agency on Twitter
39 min
The Cloudcast
The Cloudcast
Cloudcast Media
An Event-Driven Apps Look Ahead for 2021
James Urquhart (@jamesurquhart, Global Field CTO @VMware, O’Reilly Author) talks about event-driven application architectures, how it's changing real-time business models, and technology stack driven the evolution.  *SHOW: *483 *SHOW SPONSOR LINKS:* * BMC Wants to Know if your business is on its A-Game * BMC Autonomous Digital Enterprise * Datadog Security Monitoring Homepage - Modern Monitoring and Analytics * Try Datadog yourself by starting a free, 14-day trial today. Listeners of this podcast will also receive a free Datadog T-shirt. * Okta - You should not be building your own Auth * Learn how Okta helped Cengage improve student success rates during COVID. *CLOUD NEWS OF THE WEEK *- http://bit.ly/cloudcast-cnotw *CHECK OUT OUR NEW PODCAST - **"CLOUDCAST BASICS"* *SHOW NOTES:* * Flow Architectures - The Future of Event Streaming & Event-Driven Integration * The Cloudcast Eps.43 - James Urquhart * The Cloudcast Eps.344 - Bringing AI to the Edge (Swim.ai) * The Cloudcast Eps.334 - The Future of Edge Computing (Derek Collison, Synadia) *Topic 1 *- Welcome back to the show. We’ve known you for quite a while, going back to working together on very early Cloud stuff. You’ve always enjoyed being focused on complex, distributed systems. Tell us what you’re focused on these days.  *Topic 2 *- Let’s talk about this concept of “event-driven” and flow. Where did it come from, what does it do, why is it valuable to application designers? *  * *Topic 2a *- What is a “flow” and how is it related to event-driven? *Topic 3 *- Events are data. We’ve had relational databases for data, and then we had NoSQL or eventually-consistent databases for data. Are events a new type of data, or a new way to deal with data in a different context?  (channels, replays, etc.) *Topic 4 *- Can we talk through an example of an event-driven application, or an event-driven integration between multiple organizations? How is it new/different? What unique capabilities does it bring now?  (Kafka, IoT, API Gateways, etc.) *Topic 5 *- Cloud made IT self-service. Serverless made Ops become on-demand. If I’m a business leader, what does event-driven give us?*  * *Topic 6 *- Where are we in the maturity of event-driven architectures? What might be some of the next stages coming in 2021 or 2022?   *FEEDBACK?* * Email: show at thecloudcast dot net * Twitter: @thecloudcastnet
43 min
Python Bytes
Python Bytes
Michael Kennedy and Brian Okken
#217 Use your cloud SSD for fast, cross-process caching
Sponsored by Linode! pythonbytes.fm/linode Special guest: Ogi Moore Watch the live stream on YouTube. Michael #1: diskcache * via Ian Maurer * Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python. * The cloud-based computing of 2020 puts a premium on memory. Gigabytes of empty space is left on disks as processes vie for memory. * Among these processes is Memcached (and sometimes Redis) which is used as a cache. * Wouldn't it be nice to leverage empty disk space for caching? * Features: * Pure-Python * Fully Documented * Benchmark comparisons (alternatives, Django cache backends) * 100% test coverage * Hours of stress testing * Performance matters * Django compatible API * Thread-safe and process-safe * Supports multiple eviction policies (LRU and LFU included) * Keys support "tag" metadata and eviction * Developed on Python 3.8 * Tested on CPython 3.5, 3.6, 3.7, 3.8 * Tested on Linux, Mac OS X, and Windows * Tested using Travis CI and AppVeyor CI Brian #2: TOML is 1.0.0 now. * What does that mean for Python? * Hopefully, some kind of toml parser will make it into Python core. * Any Python access to 1.0.0? Mixed * Implementations and TOML version support page lists: * pytomlpp supports 1.0.0-rc.3, which is a wrapper around C++ tomlplusplus, which does support 1.0.0. Confusing * tomlkit supports 1.0.0-rc.1, so that’s promising * toml supports 0.5.0, great name. It’d be cool if it would support 1.0.0 * What’s different between 0.5.0 and 1.0.0? * Unless I’m mistaken, not much: CHANGELOG * 1.0.0-rc1 * Leading zeroes in exponent parts of floats are permitted. * Allow raw tab characters in basic strings and multi-line basic strings. * Allow heterogenous values in arrays. * Other than that, lots of “Clarify …”, which I’m not sure how those all affect implementation. * I’d love to hear more from people who know more about this Ogi #3: pyqtgraph * pyqtgraph - plotting library, for when you need fast/interactive plots * Uses qt5 (and soon qt6) bindings to generate plots within Qt applications * Fills a niche role, want easy mouse interactivity, running locally on a machine * Often used in engineering/scientific applications when looking at a lot of data, and wanting interactivity Michael #4: Parler + Python = Insurrection in public * via Jim Kring and Mark Little * According to Wikipedia: Parler (/ˈpɑːrlər/) is an American alt-tech microblogging and social networking service. Parler has a significant user base of Donald Trump supporters, conservatives, conspiracy theorists, and right-wing extremists. * ArsTechnica article send in by Mark Little * Ars: Parler’s amateur coding could come back to haunt Capitol Hill rioters * Coding mess * A key reason for her success: Parler’s site was a mess. Its public API used no authentication. * When users deleted their posts, the site failed to remove the content and instead only added a delete flag to it. * Oh, and each post carried a numerical ID that was incremented from the ID of the most recently published one. * Another amateur mistake was Parler’s failure to scrub geolocations from images and videos posted online. * Some 80 terabytes of posts, 1M videos, many already deleted, preserved for posterity. * Catalog and Python pointed out by Shaun King. * See the catalog (maybe, it’s the ugly side of people). * The gist: https://gist.github.com/kylemcdonald/d8884da1a82ef50754ee49e0b6561071 * Partially back online with Russian hosting service? Brian #5: Best-of Web Development with Python * Suggested by Douglas Nichols * Cool list with nice icons * Covers * Frameworks, HTTP Clients, Servers * Auth tools, HTML Processing, URL utilities * OpenAPI, GraphQL, Websocket * RPC, Serverless, Content Management * Web Testing, Web Forms, Markdown * Third-party APIs * Email, Web Scraping & Crawling, Monitoring * Admin UI * API Proxies * Flask/FastAPI/Pyramid/Django Utilities * Nice to see lots of FastAPI projects: * fastapi-sqlalchemy - Adds simple SQLAlchemy support to FastAPI. * fastapi-plugins - FastAPI framework plugins. * fastapi_contrib - Opinionated set of utilities on top of FastAPI. * starlette_exporter - Prometheus exporter for Starlette and FastAPI. * fastapi-utils - Reusable utilities for FastAPI. * fastapi-code-generator - This code generator creates FastAPI app from an.. * slowapi - A rate limiter for Starlette and FastAPI. * fastapi-versioning - api versioning for fastapi web applications. * fastapi-react - Cookiecutter Template for FastAPI + React Projects. Using.. * fastapi_cache - FastAPI simple cache. Ogi #6: Assorted * Pyjion - https://github.com/tonybaloney/Pyjion a JIT extension for CPython that compiles python code using .NET 5 CLR * CuPy - NumPy compatible multi-dimensional array on CUDA, uses _``*array_function_* (enabled with numpy 1.17) code using numpy to operate directly on CuPy arrays * see NEP-18 and CuPy docs * compatible with other libraries as well Extras: Michael: * Trying Firefox + Brave + VPN * Python Web Conf 2021 call for talks, due Jan 29, I’ll be speaking! * PyCon US 2021 launched call for proposals: * December 22, 2020 — Call for proposals opened * February 12, 2021 — Proposals are due * March 16, 2021 — Notifications will be sent to presenters * March 23, 2021 — Deadline for speakers to confirm participation * March 30, 2021 — Schedule is publicly released * April 28, 2021 — Deadline to submit pre-recorded presentation (tutorials will be live) * May 12-13, 2021 — Tutorial days * May 15-16, 2021 — Conference days * Apple launching Racial Equity and Justice Initiatives with partners across a broad range of industries and backgrounds — from students to teachers, developers to entrepreneurs, and community organizers to justice advocates Brian: * PyCascades 2021 schedule https://2021.pycascades.com/program/schedule/ Ogi: * Anthony Explains Video Series * Learn X in Y minutes * Reading Working in Public by Nadia Eghbal - provides some sanity checks for existing maintainers, might be a fantastic perspective for new contributors to open source Joke Tech Support, 2x Working at the help desk? Get the theme song: Here to help song And help by chat: * "Running a successful open source project is just Good Will Hunting in reverse, where you start out as a respected genius and end up being a janitor who gets into fights." - Byrne Hobart
39 min
More episodes
Search
Clear search
Close search
Google apps
Main menu