Computer Science and Programming for all skill levels. If you like computers, this is the channel for you. My objective is to learn and teach as much as possible. Join me!
This is a really good video. It teaches how to look at error and how to troubleshoot. A lot of dev work during the day is to understand how to read a traceback and properly fix it. Will you be showing breakpoints next ?
You said that it takes screenshots of my screen and at the moment there is no possibility to whitelist certain apps. So how do i stop it from making screenshots of my banking account for example? So lets say i login to my bank account and want to know my account balance, would that be also captured ?
At the moment there's no whitelisting, but I've been told it's coming soon. Also the app should redact personal information such as API Keys or banking information. So it would be captured but not stored as text in the database. I tested this and it worked for me.
Rosie from Pieces here! Just adding on to Jose's comment, you can also disable/enable/pause the Workstream Pattern Engine for a set period of time as well so you can always turn it off when you are doing any type of work that you don't want the WPE to capture.
So basically this is the course that has replaced your advanced flask api course. Because it seems that it's no longer available on your website nor on udemy?
Helllo! It doesn't, because that's unrelated to virtual environments. The virtual environment is created with a Python version of your choosing, and that's the Python version the virtual environment used. I'd recommend looking at pyenv (or pyenv-win on Windows): blog.teclado.com/how-to-use-pyenv-manage-python-versions/
Thank you! I have many, many advanced videos in my course on building REST APIs with Flask: teclado.com/rest-apis-flask-python/ Check it out, and let me know what you think!
From the Processing reference: "In Processing, all fields and methods are public unless otherwise specified by the private keyword." Just to avoid confusion for beginners... (in other tutorials "public" isn't used)
Great video, it would be good to learn how to handle multiple databases (or database connections) in the same API. The example hard codes one specific database connection in the DB_URL variable
Thanks for the comment! I've never required multiple databases simultaneously in a codebase. Is this for a multi-tenant application with super strong security requirements?
@@tecladocode Not strong security but users and different applications need to be restricted to specific databases (IP reasons etc). The API is based off a variety of ingested source data that is all in different formats and setups, but comes together for 2-3 similar applications with different users.
@@Clewerly I get you! In that case you'd opt for a slightly different approach. Instead of setting a DATABASE_URL and passing that to the SQLAlchemyPlugin, you'd have a configuration file with the multiple databases. Presumably they wouldn't all be SQL, so then you'd also have a different way of connecting to each depending on their type. It can get a bit complicated!
As a second year CS student this was great. Everything made sense. After watching this I tried conda, hated it, switched to venv. Now I'm a happy Data Science learner thanks to you.
if i'm just making changes locally & not adding any new dependencies, is it still worth building my docker and running it? or should i just do litestar run? i get you want to build in docker often to have more certainty that your docker file/build is up to date and wont break, but for smaller things im guessing its fine?
I would use Docker, if anything to make sure that when you deploy, the runtime will be the same locally and in production. Also once you get into the habit, it doesn't take any longer than doing `litestar run`. And once you add Docker Compose, you can also spin up (or down!) a database or other services very easily. It all starts with Docker.
thanks for the video - it would be great to see how a proper project directory should be setup for litestar, i saw they encourage you to separate controllers and models but im not exactly sure how that all works
Thanks for the feedback! I'm actually not sure I can go much larger! If I do, you won't be able to see any context around the code I'm typing. Are you on mobile?
ElephantSQL is discontinuing its services. The product will reach its End of Life on January 27, 2025. I wasn't able to create an account to even follow along with this video.
You know, I forgot about this! After some deep searching in my computer, I found a Jinja calendar. I'll make a short about it, it's not overly difficult! Subscribe to the channel, I'll upload it in a few days!
This is how I like it! Mostly I hate youtube videos about coding because there is so much "boilerplate content" around it. This is pretty much straight to the point. Good one! Maybe you could add small things around the subject at hand. For example, can you add type annotations to macros and stuff. I am completely new to the subject, so maybe this point wont make any sense. But you get the point^^
Thank you very much! Glad you liked the video. Regarding type definitions, I don't think you can do it with Jinja. You wouldn't get good editor support anyway. Something I have done is add a comment at the top of particularly complex macros or includes documenting the arguments it should receive and what they are for.
"Important announcement: ElephantSQL will discontinue its services. The product will reach its End of Life on January 27, 2025. After May 1, 2024, we will cease to accept new users."
Hello, Jose I know this isn't related to this topic but I always wondered how you type so fast when you are programming I mean by using Operators, Delimiters, and Special Symbols do you touch type?
Hey! I do touch type. A lot of practice and some lessons (on a typewriter!) when I was a kid. That said typing fast isn't very important. Most of the time is spent thinking, and nowadays with AI-assisted coding, typing will be even less important.
@@tecladocode Thanks for the response Jose! I am truly grateful. I will keep practicing but making sure not to stress too much about it, and I have been making progress. I am a 14 year old currently taking the course "The Complete Python Course Learn Python by Doing" I am astonished by your work and I am looking forward to you! :)
I found this one of the better introductory pytest videos, nice job! I'll be sharing this video with others on my team that also need to come up to speed on pytest.