The question is clear: this is a curve and we want to find Ys for provided Xs and you should use the Euler's Method; now go and write a program for it! Do you know the Euler's Method? I don't. But we have a secret tool: Internet! Lets search, learn and write.
A hacker has tried to nmap one of the systems and now we have a 29MB tcpdump file of this activity. Can we identify which ports were open on this system? Sure we can... Lets see how!
Tools: Wireshark, Scapy, Python
...
https://www.youtube.com/watch?v=kNoY85RDlPk
Python's usage exploded even when it was merely new; lacking lots of features. One main reason for this was its great integration with C libraries. Combine this with the possibility of using Threads and you will get your holy grail: and easy language with threads which can use C libraries! BUT! But python needed a Global Interpreter Lock to be able to run C Libraries in its threads.
In this video we will have a closer look at this concept. I will describe the necessity of GIL in Cpython and will show you why and how it is slowing down multi-threaded CPU hungry program. We will check the source code and will understand why both parties (defending and protesting the GIL removal) are claiming that the "You are slowing down Python!"
00:00 - Intro to the video
01:59 - Python vs. CPython
03:40 - Reference Counting in Python
07:20 - Ref Count Issues with Concurrency / Multi-Thread
09:33 - How GIL fixes Concurrency / Thread issues
14:35 - GIL Issues in CPU intensive threads sample
18:20 - Checking CPython for GIL
24:45 - GIL Removal History & nogil
26:55 - GIL removal side effects
31:00 - Further Reads (see desc)
Some sources:
nogil: https://github.com/colesbury/nogil-3.12
PEP703: https://peps.python.org/pep-0703/
LWN Article: https://lwn.net/Articles/939981/
BackBlaze: https://www.backblaze.com/blog/the-python-gil-past-present-and-future/
RealPython: https://realpython.com/python-gil/
...
https://www.youtube.com/watch?v=6254JnkLg1c
Wat Pho or Wat Po is a Buddhist temple complex in the Phra Nakhon District, Bangkok, Thailand. Calm, friendly and beautiful. A 3 min walk. #travel #thailand #buddha
...
https://www.youtube.com/watch?v=ukoCd0DKpdQ
A Shepard tone is a auditory illusion, created by superposition of sine waves separated by octaves. It is used on various video games and movies to create a sense of suspension using an "illusional" endless increasing note.
In this video, we will see how you can create such a Piano Midi using Python and Music21 library.
Links:
- A 3min video showing more samples of shepard tone by vox: https://www.youtube.com/watch?v=LVWTQcZbLgY
- Shepard Tone on Wikipedia: https://en.wikipedia.org/wiki/Shepard_tone
- Code comes from evpu; https://github.com/evpu/Shepard-tone-music21
- Marios Endless Stairs come from: https://www.youtube.com/watch?v=RhEmd5J2NSE
...
https://www.youtube.com/watch?v=3yNL7U7_E-4
The Warp Terminal emulator is a very special case amont Terminal Emulator options. Some people pay 12USD per month to use it and some people raise their eyebrows when seeing a terminal with AI, blocks which asks you to login even for an "ls" command. But the good news is "You can try it for free and use it forever for free".
In this video I'll do a quick review on it, will show you its advantages and will talk about some negative points.
If you want to support you can download it from here and I may get a t-shirt: https://app.warp.dev/referral/NPM454
...
https://www.youtube.com/watch?v=kQJo2KmPirI
In this module of LPIC1, exam 102 version 500 I'm covering the logging system in Unix and Linux. In the 3d pard, we will see how systemd's journald works and how you can check its logs using the journalctl or even log events manually using systemctl-cat. Later we will review how it is possible to do a logroatet thing on systemd-journald logs (automatically or manually) and the difference between permanent and volatile logs.
At the end I'll describe how you can recover logs from a crashed system and use journalctl to study them.
00:00 - journalctl general usage
05:45 - querying journalctl on time, unit, boots, ..
13:35 - manual logging via systemd-cat
15:52 - managing storage and rotation in journalctl
23:05 - manually removing old logs via vacuum
24:27 - checking journal logs from a crashed system
Full LPIC1 course: https://youtube.com/playlist?list=PLFOYXCPEqdNUU55Xvgst8wGTWnz_sd-cj
Textbook: https://linux1st.com/1082-system-logging.html
...
https://www.youtube.com/watch?v=jXO7q_7a6-s