Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Michael Kennedy
    @mkennedy_twitter
    Hi @dsod Ok, thanks for the ideas. Nothing yet planned but will keep it in mind.
    Hi @rogerying "how do you refer to the unique mongodb object from html? Objectid is a bson object and I’m trying to refer to objects passing through as links using {id} in the links".
    You just need to come up with some sort of unique identifier. It could be the id itself, but often it's some other thing. Like for example, here is the HTML part from the course listing page that links to the courses:
    <a href="/courses/details/python-language-jumpstart-building-10-apps">

    This part is just the routing to a certain view: /courses/details/ and this part is that unique ID: python-language-jumpstart-building-10-apps.

    When the view is loaded, just do a query in MongoEngine: Course.objects(url=url_part).first()

    Alexander Hultnér
    @Hultner
    @dsod @mkennedy_twitter I've worked extensibly with GraphQL for a 50 000 employee company as part of small team with 8 engineers building their new flagship product, I can not talk about specifics about that particular customers internal codebase but I do have some experience of working with GraphQL
    We also had external companies consuming our API
    The software is running behind the scenes at places such as some of the largest airports in the world, world renowned universities, hospitals and large international enterprises
    Pax
    @paxcodes
    Hello, everyone! After ~1 year of listening to the podcast and hearing Linode ads, I finally have a personal project and decided to go with Linode. I tried using the coupon code PYTHON17 but it "is either expired or invalid." Help?
    Michael Kennedy
    @mkennedy_twitter
    Hi @paxcodes Thanks! I think they have a new one now. Over at talkpython.fm/linode it’s PYTHON2020 :)
    Pax
    @paxcodes
    Thanks, @mkennedy_twitter !
    parity3
    @parity3
    I'm trying to find the name of that library that is a wrapper around temp file that renames on close to the final file name. It may have been mentioned in python bytes, not sure. Pretty sure it was mentioned within the last 12 months. Anyone recall?
    parity3
    @parity3
    hmm. I think I'll just go with the code here (thanks @mitsuhiko)
    Pax
    @paxcodes

    Hello fellow TPTM listeners, I'm looking for a coding buddy --- someone to code with on Saturdays (or every other Saturday) for 4 hours. I want to be more consistent working on my personal projects so I’m looking for someone to be accountable to while also helping each other: having someone to bounce ideas off, share learning resources with, help in research, etc.

    What I Can Help You With
    I’ve finished AppBrewery's Complete Flutter (App Development) Bootcamp [with Dart]. I’ve done projects in Python and also a full-stack web developer in a previous life so I know my way with front-end tech. You can find my code in GitHub (/paxcodes). I also have Python / Full-Stack projects I've completed for work but not available in GitHub: A lot of creating automation tools: backend API and CLI apps in Python, Vue for frontend, and a tiny bit of Docker.

    What You Can Help Me With
    I have a personal app/hobby project in Flutter with FastAPI as the backend API. I’m using the pattern in tiangolo’s cookiecutter full-fastapi-postgres… (+ dockerswam.rocks) for deployment, deploying in Linode.

    If you feel like I can help you with your personal project, and you can help me in mine, please give me a shout...or maybe you're a senior interested in mentoring a beginner-intermediate person like me, that's cool, too! 😅

    (This message is quite long. Feel free to delete @mkennedy_twitter if not appropriate. 😊 )

    davidberglund
    @davidberglund
    @mkennedy_twitter: wanted to drop by and thank you for an awesome podcast! Never thought to check if there was a related chat thingy, cool!
    I'm a Python dev in Sweden since a couple of years. I'm actually very keen on getting in touch with other more experience devs out there since I don't have any dev colleagues on the job (not in previous jobs either, well, a few front end coders but nobody using Python). So while I really enjoy the job it can be hard to know if I'm following good practices or if I'm doing something completely bonkers from time to time :P I think I'm mainly concerned about the day to day dev and deploy flow and how "real devs" set up their environments. Sebastian Witowski's developers toolkit video is definitely on the list to watch. I'd love to learn about other similar resources on workflow related things!
    Michael Kennedy
    @mkennedy_twitter

    I'm trying to find the name of that library that is a wrapper around temp file that renames on close to the final file name. It may have been mentioned in python bytes, not sure. Pretty sure it was mentioned within the last 12 months. Anyone recall?

    It was on https://pythonbytes.fm/episodes/show/180/transactional-file-io-with-python-and-safer

    Called safer I think. :) It’s a great idea.
    <— @parity3
    Hi @davidberglund You’re most welcome. It’s great to provide this community for folks who work in semi isolation (really by themselves or just the only python dev). :)
    parity3
    @parity3
    awesome thanks! better late than never!
    Alexander Hultnér
    @Hultner
    @davidberglund I’m also a Swedish Python Developer, we have a Facebook-group for us Nordic Python users: https://facebook.com/groups/151726878977681/?ref=group_browse
    And there’s PyCon Sweden every year (remote this time) https://www.pycon.se
    Torwag
    @torwag
    @mkennedy_twitter Hey, would it be possible / or is it possible, that the community could ask questions to your next guest. That is, if you announce your next guest early enough, people might write you questions they have and within your interview you could have a section "Questions of the community" and read them to get them answered.
    Philipp Gerhard
    @pgerhard
    Hello everyone. I am currently mainly developing in Java using the Spring Framework. However i would like to get more into Python among other languages. One of the things I like to most about Spring Framework/Spring Boot is the whole ecosystem it provides (it covers most things from core techniques, implementing enterprise integration patterns such as messaging, monitoring applications and cloud patterns such as service discovery). Is there something similar in Python?
    Michael Kennedy
    @mkennedy_twitter
    Hi @pgerhard I don’t know of anything here but probably Django / Django REST Framework would be closest.
    @torwag That’s a great idea. I’ve been thinking about this idea on and off for some time. One of the challenges is we record some episodes really far out (like 2 months) and it’s a lot to juggle the scheduling, planning, and such and getting questions lined up 2 months in advance is another layer.
    I’m thinking of doing some sort of twitch live stream along with the recording. If I did that, it would be a good place people could watch and ask. Not exactly the same but in the ballpark.
    Philipp Gerhard
    @pgerhard
    @mkennedy_twitter thanks for the response. Do you believe there is an appetite for something like that in the Python community? I believe the Javascript community also didnt have something like this, before Next.JS came along. And that seems to have really taken off
    Michael Kennedy
    @mkennedy_twitter
    Hi @pgerhard Honestly, the trend these days is to build your app out of “best in breed” little parts. Like Flask + MongoDB + whatever else people add to it. So I’m not sure.
    Michael Kennedy
    @mkennedy_twitter
    Very exciting @jaclynn1_twitter Thanks for sharing! I think this will be positive for both Guido and Microsoft. :)
    davidberglund
    @davidberglund
    @Hultner hej Alexander! 😃 I'll look into pycon.se. maybe the fb group as well although not a huge fb fan. Definitely going to watch for other meetups and such. And look for open source where the barrier to entry for code contribution is easy enough. I'm at a point where I should rly look for feedback on my code, feedback I'm not going to get from colleagues
    davidberglund
    @davidberglund
    @mkennedy_twitter yup, it's super valuable
    Alexander Hultnér
    @Hultner
    @davidberglund All the videos from pycon-se is up on youtube now :)
    Quincy Larson
    @QuincyLarson

    Sweet. A Gitter room. Glad to see you all still using Gitter. An under-rated tool imho. I just discovered the Talk Python to Me Podcast and wanted to drop in and introduce myself. I'm Quincy Larson and I actually started learning to code with Python and won my first hackathon using Django before switching to JS to build freeCodeCamp.

    We are planning to add a lot more Python-focused learning resources to freeCodeCamp's curriculum. Does anyone know of a good way to run tests in Jupyter Notebook without showing the test itself? (Just the passing/failing test message when a cell is run?)

    Anyway, I'll be working through the backlog of checks notes 300 episodes, and I'm sure I'll learn a lot along the way.

    parity3
    @parity3
    @QuincyLarson there's a library to run a notebook as a pytest, optionally comparing the saved cell outputs, called nbval. Not sure that's what you want.. you might want to just use an assertion library like assertpy
    davidberglund
    @davidberglund
    @QuincyLarson Thank you for creating freeCodeCamp! It's such a great resource. Especially those ten-thousand-hour-courses on YouTube :) Brilliant <3
    @mkennedy_twitter Hey, I'm looking through some courses together with my boss and apart from the Modern APIs with FastAPI course, two upcoming courses stand out for me: Getting Started in Data Science and Full Web Apps with FastAPI. How soon-ish do you think those will be available? Thanks :)
    davidberglund
    @davidberglund
    Checked back and noticed that you released the Full Web Apps course! Awesome :)
    Muhammad
    @mraza007
    I wish this project can be covered on python bytes as there was huge discussion about this on reddit
    davidberglund
    @davidberglund
    OMG that's scary :P But I guess you could make it somewhat secure by only running a small set of commands from specific numbers in a very sandboxed environment. Perhaps a Raspberry Pi in some IoT scenario but then why SMS and not just a simple web interface instead :)
    Michael Kennedy
    @mkennedy_twitter
    Hi @mraza007 and @davidberglund I saw that. I don't really want to cover it. I'd rather not encourage people to install that thing on their system. It seems like a horrible idea. I'm with David, why not just make an API and use that from your device (via a web page or something).
    @davidberglund Glad you're excited about the FastAPI web apps course. It's a fun one!
    @davidberglund Getting started with data science is getting close. I'm hoping in a month or so?
    Muhammad
    @mraza007

    I totally agree with you @mkennedy_twitter
    Its more like an experimental project definitely not intended to run on production or just in general since their are many security flaws

    But thanks alot for the suggestions

    Muhammad
    @mraza007
    By the way guys do we have python related screen casts just like there are for ruby
    Michael Kennedy
    @mkennedy_twitter
    Hi @mraza007 Yes, definitely: https://training.talkpython.fm/
    Muhammad
    @mraza007
    Got it @mkennedy_twitter
    I’ll definitely check it out
    parity3
    @parity3
    I keep waiting for https://www.psycopg.org/psycopg3/docs/ to come out.. maybe @dvarrazzo could come on the show at some point, would love to hear about this project in podcast form!
    parity3
    @parity3
    It'd be great to hear from a Ray expert on the show