How to use the Grep command
2:04
16 сағат бұрын
The power of Python enums
4:10
21 сағат бұрын
How to use Operators
1:58
14 күн бұрын
How to use the watch command
1:39
How to use the pv command
1:32
2 ай бұрын
How to use the stat command
1:35
2 ай бұрын
The SL command easter egg
1:16
2 ай бұрын
How to use the Shuf Command
1:15
2 ай бұрын
How to use the chmod command
1:31
How to use the Apropos Command
1:52
How to use the shred command
1:32
How to see login activity
1:41
4 ай бұрын
Better async in Python with AnyIO
5:17
Пікірлер
@WIZURAI-AGV
@WIZURAI-AGV Күн бұрын
can't wait for complete fasthtml tutorial.
@srsh12345
@srsh12345 2 күн бұрын
Thank you for the breakdown. This helped me with a problem I'm dealing with right now
@agedvagabond
@agedvagabond 5 күн бұрын
Thank god for this video. 🎉🎉
@pawjast
@pawjast 8 күн бұрын
Great explanation - just what I needed!
@jimratliff
@jimratliff 9 күн бұрын
I typically use instead the `IntEnum(Enum)` subclass of `Enum`, which has the advantage that each member will be treated as that member’s `.value` integer when appropriate, in calculations, when indexing into a list, etc.
@talhakhan5
@talhakhan5 9 күн бұрын
I use a simple class for it i.e. not inheriting from Enum, rest I keep the same
@ayex86
@ayex86 10 күн бұрын
Great details! Thanks!
@cgllgt4501
@cgllgt4501 13 күн бұрын
Thanks you so much dude
@rafael86ny
@rafael86ny 16 күн бұрын
Wonderful content!
@pythonlibrarian224
@pythonlibrarian224 16 күн бұрын
This feels like an alternative to tkinter (for quick to make UI when being fast to write and simple is more important than pretty)
@InfoWorld
@InfoWorld 9 күн бұрын
Yes, using a web UI as a substitute for something like tkinter or one of the other desktop UI frameworks has become a pretty standard practice. It's easier to create a consistent cross-platform UI using the web than most any other mechanism now. -Serdar
@jigyansunanda
@jigyansunanda 19 күн бұрын
what distro are you using ?
@InfoWorld
@InfoWorld 9 күн бұрын
I used Microsoft Windows for this demo, no Linux distribution. -Serdar
@FabioRBelotto
@FabioRBelotto 22 күн бұрын
What if I want to use poetry on some Jupiter notebooks projects ?
@InfoWorld
@InfoWorld 9 күн бұрын
There's a project called poetry-kernel that may have you covered: github.com/pathbird/poetry-kernel -Serdar
@rohithkumarbandari
@rohithkumarbandari 22 күн бұрын
Dev drive is such a stupid idea smh
@bobsalita3417
@bobsalita3417 25 күн бұрын
I can always count on your videos to be well-scripted and respectful of my time.
@OLIV3R_YT
@OLIV3R_YT 29 күн бұрын
Thanks, that was very well presented.
@user-gh4lv2ub2j
@user-gh4lv2ub2j Ай бұрын
Thank you.
@mattstroker3742
@mattstroker3742 Ай бұрын
Is Guido van Rossum also working on no-gil? Then I'm sure it'll be fine rather quickly. As soon as it's stable and out, I'm sure it'll be adopted really fast.
@InfoWorld
@InfoWorld 9 күн бұрын
I don't know if he's actually working on the underlying code but he is certainly part of the process that's shepherding "free-threaded Python" (as it's now known) to full release. -Serdar
@sssxxxttt
@sssxxxttt Ай бұрын
I've worked on unix/linux systems for a long time and haven't known about the watch command. What a loss. The -g option is super useful
@bigbeast007
@bigbeast007 Ай бұрын
How did it pick the value for $color? Where did you define it as purple?
@DaniellRein
@DaniellRein Ай бұрын
How do i run math.h on vscodium on c files i keep getting errors ie.sqrt undefined how do i solve this am using linux
@neeleshkamkolkar1085
@neeleshkamkolkar1085 Ай бұрын
Thank you for the quick intro video. I am wondering if DuckDb supports a lot of the advanced Tableau Calculations as part of query. Any production large scale deployments of this?
@InfoWorld
@InfoWorld 9 күн бұрын
If you're interested in making DuckDB work with Tableau, there's a whole section in its documentation devoted to it: duckdb.org/docs/guides/data_viewers/tableau -Serdar
@maurakearns8009
@maurakearns8009 Ай бұрын
I think you mean the Unix epoch, Linux wasn't released until 1991. I am dubious about the reliability of this channel.
@danhickok
@danhickok Ай бұрын
Of course, you can perform this all in one go with backticks: expr `date +%s` / 60 / 60 / 24
@user-fz1fh9en5p
@user-fz1fh9en5p Ай бұрын
The command used in the video (worked great for me): winget install Microsoft.VisualStudio.2022.BuildTools --force --override "--passive --wait --add Microsoft.VisualStudio.Workload.VCTools;includeRecommended"
@InfoWorld
@InfoWorld 9 күн бұрын
Glad it worked! -Serdar
@rafaeldemoraessantos7773
@rafaeldemoraessantos7773 Ай бұрын
great, great content! Checking for ur blog!
@miltonrodrigues8417
@miltonrodrigues8417 Ай бұрын
winget install Microsoft.VisualStudio.2022.BuildTools --force --override "--passive --wait --add Microsoft.VisualStudio.Workload.VCTools;includeRecommended"
@gokusaiyan1128
@gokusaiyan1128 Ай бұрын
so if the app is written in JS , can I write the plugin in python ? There is an extension that uses extism that supports plugin system. the extension is written in TS, can I use python to write the plugin for it ?thanks
@InfoWorld
@InfoWorld 9 күн бұрын
Right now it's the other way around: you'd write your main app in Python, and have the plugins in WebAssembly. Compiling Python to WASM is still a very fraught affair that's nowhere nearly as well-supported as other languages. But that may change in time as WASM itself becomes more robust. -Serdar
@mikejohnston9113
@mikejohnston9113 Ай бұрын
what is the git command to get the source code? Thanks for the video
@InfoWorld
@InfoWorld 9 күн бұрын
git clone github.com/python/cpython.git -Serdar
@mikejohnston9113
@mikejohnston9113 9 күн бұрын
Thank you
@bobsalita3417
@bobsalita3417 Ай бұрын
pip install -U shelve ERROR: Could not find a version that satisfies the requirement shelve (from versions: none) ERROR: No matching distribution found for shelve
@mikufd
@mikufd Ай бұрын
It's part of the standard library, bro. You don't need to pip install anything.
@bruno-0
@bruno-0 2 ай бұрын
very powerful
@dev_tarzan
@dev_tarzan 2 ай бұрын
Great job !
@leifericson1658
@leifericson1658 2 ай бұрын
Where to find the alternative soundtracks? I wish you could provide the source of the image in the end of the video
@cemrehancavdar
@cemrehancavdar 2 ай бұрын
It could be redis-like alternative with sqlite. Especially being no dependency is killer feature.
@init1508
@init1508 2 ай бұрын
High quality hardcore stuff! Can you cover the `ast` module and do a tutorial? 😊
@InfoWorld
@InfoWorld 9 күн бұрын
That's a great idea! ast could certainly be the subject of a future video, along with some practical applications for it. -Serdar
@TheSilmarallion
@TheSilmarallion 2 ай бұрын
Great vid. I battled to get Python/Django and env sorted on my Mac for about 4 hours, stumbled on rye and took me 2mins. I do think if people want people to use frameworks (django) and learn Python web dev it should be made much easier and accessible.
@yfiles700
@yfiles700 2 ай бұрын
winget install Microsoft.VisualStudio.2022.BuildTools --force --override "--passive --wait --add Microsoft.VisualStudio.Workload.VCTools;includeRecommended"
@user-tg2gm1ih9g
@user-tg2gm1ih9g 2 ай бұрын
Not all problems admit to parallel processing ... some problems are inherently sequential. here's an inherently parallel problem: if a pixel is inside a polygon, turn the pixel black. if you have 1,000,000 pixels and 1,000,000 processors, you can solve this problem really quickly. here's a problem that is not a parallel problem: compute f(27.194) where f(x) = cos(x^3 + 2x^2 + 13) But even if a problem is admits to parallel processing on GPUs; GPUs don't run Python. But you can translate a C program, into steps that WILL run on a GPU. Sometimes Python is just the *WRONG* language to use, to solve a problem. .
@teawithoutdonuts31
@teawithoutdonuts31 2 ай бұрын
The question I eant answered is how will this affect ASGI and WSGI web frameworks.
@benshapiro9731
@benshapiro9731 2 ай бұрын
My best guess based on experience with FastAPI: the way fast api runs its route handler funcs is if the func is a coroutine (async def) and thus can pause execution during await calls, then it is run on the main thread. If it is a blocking function (def) then it is delegated to the underlying threadpoolexecutor via something like asyncio.to-thread. In my experience, a lot of production code uses just normal functions as opposed to Coroutines for the route handlers due to the relatively recent introduction of async mechanics into the language. If running the no Gil python really has no effect on single threaded code, then at worst this change will have no effect and at best it will give asgi frameworks that work similarly to fastapi a huge speed boost (since those blocking route handler funcs can be executed truly in parallel via the thread pool executor). As far as I know the current best practice is to put non blocking io into async functions and cpu bound tasks into regular functions. Even though Asyncio event loop executes coroutines on the same thread as the event loop, the fact that coroutines are a much lower cost abstraction than threads means that this execution model is faster than using a thread pool. However, the removal of the Gil could change that if the numbers and benchmarks start telling a different story. This may necessitate some internal changes to various asgi frameworks to delegate more coroutines to thread pools as opposed to running them on the main thread. But if your route handler funcs are just regular functions, then out of the box this should yield a major speed increase.
@jaimel8219
@jaimel8219 Ай бұрын
The culprit will be the 3rd party libraries partially unmaintained that most web apps depend on. GIL enabled tons of thread-unsafe code to be written.
@mnoxman
@mnoxman 2 ай бұрын
$ make love make: *** No targets specified and no makefile found. Stop.
@mintoo2cool
@mintoo2cool 2 ай бұрын
lol.
@MLGJuggernautgaming
@MLGJuggernautgaming 2 ай бұрын
Well it’s out officially now. I ran into an issue with np.NaN already that meant I had to downgrade. I wonder how often these issues will come up.
@user-gh4lv2ub2j
@user-gh4lv2ub2j 2 ай бұрын
Looks nice and easy to setup.
@bennguyen1313
@bennguyen1313 2 ай бұрын
There's a older (Red Eye Coder) video that does a side by side comparison to perform a prime-finding task, and it takes python almost 3 minutes to do what javascript does in 9 seconds! I wonder if the performance has changed since then.
@bennguyen1313
@bennguyen1313 2 ай бұрын
So is NiceGui an alternative to Flask? What kind of back-end (server) support is needed? I'd like to make a browser-based application that can access hardware peripherals, do you think that's doable or should I try something else? Flutter + WebUSB?
@cemrehancavdar
@cemrehancavdar 2 ай бұрын
Seems great, thanks
@IvesSteve
@IvesSteve 2 ай бұрын
One thing to be aware of is that if you use Acronis TrueImage to backup your system, you may not want to use Dev Drive (or indeed any ReFS partition) because while Acronis will allow you to configure backups of the partition, and the backups will report successful completion, the partition will NOT be backed up because TrueImage, at this time at least, does not support ReFS and does not issue even warnings if you configure a backup of the partition; it apparently just ignores it!
@user-rq9ht1oo2t
@user-rq9ht1oo2t 2 ай бұрын
The metaphor u use were incredibly amazing. It is clear and appropriate for the title
@akverma6973
@akverma6973 2 ай бұрын
The video description is missing the URL and script, which is making viewers annoyed.
@qsayeed67
@qsayeed67 2 ай бұрын
Ctlr + a = Move curser to start of line Ctlr + e = Move curser to end of line Thanks for this tips.
@russfreelancer
@russfreelancer 27 күн бұрын
thank you for the note!
@MadSimple
@MadSimple 2 ай бұрын
Check out Illinois Mono