TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #169 · 21 окт.

А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды. Что-то знакомое? Конечно, в Python есть примерно тоже самое. Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел. Давайте просто считать это совпадением 😉 А как это может быть полезно в Bash? Приведу простой пример, который оценят те, кто часто работает в терминале. Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем? :~$ mkdir foldername :~$ cd foldername :~/foldername$ Как это сделать в одну команду? :~$ mkdir foldername && cd foldername :~/foldername$ Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды. :~$ mkdir foldername && cd $_ :~/foldername$ _________________ PS. Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно. #linux#tricks

Резултати

Пронајдени 1,454 слични објави

Глобално пребарување

Linuxgram 🐧

@linuxgram · Post #18610 · 29.04.2026 г., 06:56

📰 AMD Introducing New Linux Driver For Their Halo Box: For Its RGB LED Light Bar AMD CEO Lisa Su back at CES 2026 showed off the Ryzen AI Halo box as a mini PC built around their excellent Strix Halo SoC. The Ryzen AI halo box is to serve as an AI development platform to compete with the likes of NVIDIA's DGX Spark and Dell GB10. This week is the first time I am seeing new Linux driver activity specifically referencing this exciting AMD "Halo Box" system... 🔗 Source: https://www.phoronix.com/news/AMD-Halo-Box-RGB-LED-Driver #amd#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18511 · 21.04.2026 г., 16:15

📰 AMD Ryzen 9 9950X3D2 Benchmarks: The Best Desktop Performance For Linux Developers, Creators Today we can finally share performance benchmarks of the long-rumored AMD Ryzen 9 9950X3D2 Dual Edition processor. This new halo product for the Ryzen 9000 series desktop line-up offers captivating performance for developers frequently compiling code, creators, technical computing workloads for students or hobbyists or those not able to afford a Threadripper / EPYC type workstation, or similar heavy computing use. 🔗 Source: https://www.phoronix.com/review/amd-ryzen-9950x3d2-linux #amd#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18510 · 21.04.2026 г., 14:46

📰 AMD Ryzen 9 9950X3D2 Benchmarks: The Best Desktop Performance For Linux Developers, Creators Today we can finally share performance benchmarks of the long-rumored AMD Ryzen 9 9950X3D2 Dual Edition processor. This new halo product for the Ryzen 9000 series desktop line-up offers captivating performance for developers frequently compiling code, creators, technical computing workloads for students or hobbyists or those not able to afford a Threadripper / EPYC type workstation, or similar heavy computing use. 🔗 Source: https://www.phoronix.com/review/amd-ryzen-9950x3d2-linux #amd#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18327 · 06.04.2026 г., 19:51

📰 A Small But Useful Debugging Addition For AMD Zen Systems With Linux 7.1 A small but convenient feature is coming with the Linux 7.1 that will be useful in debugging AMD Zen system problems and information reporting/transparency purposes... 🔗 Source: https://www.phoronix.com/news/AMD-AGESA-Version-Linux-7.1 #linux#amd

Hashtags

Linuxgram 🐧

@linuxgram · Post #18279 · 02.04.2026 г., 08:02

📰 AMD GPU Driver Sees DC Idle Manager & Multi-SDMA Engine Optimization For Linux 7.1 With Linux 7.0-rc6 having released on Sunday, we are hitting the point of the cut-off of new feature material being allowed into the Direct Rendering Manager's DRM-Next tree of queuing new graphics/display/accelerator feature code ahead of the upcoming Linux 7.1 merge window. As presumably the last AMDGPU/AMDKFD feature pull ahead of Linux 7.1, today's pull request from AMD contains some noteworthy final enhancements... 🔗 Source: https://www.phoronix.com/news/AMDGPU-Linux-7.1-Multi-SDMA #linux#amd

Hashtags

Linuxgram 🐧

@linuxgram · Post #18247 · 30.03.2026 г., 19:43

📰AMD Sends Out Linux Patches For Their Next-Gen AIE4 NPU Hitting the mailing list today are patches providing initial support for AMD's next-gen NPU "AIE4" platform, complete with SR-IOV support... 🔗 Source: https://www.phoronix.com/news/AMD-AIE4-NPU-AMDXDNA #linux#amd

Hashtags

Linuxgram 🐧

@linuxgram · Post #18172 · 24.03.2026 г., 21:34

📰 AMD-Optimized Rocky Linux Distribution To Focus On AI & HPC Workloads AMD and CIQ jointly announced today that AMD-optimized Rocky Linux builds are being worked on for this RHEL-derived operating system. The AMD-optimized Rocky Linux will focus on AI and HPC workloads and be nicely integrated with ROCm... 🔗 Source: https://www.phoronix.com/news/AMD-Rocky-Linux-Optimized #amd#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18096 · 17.03.2026 г., 21:02

📰 AMD MLIR-AIE Releases New AIECC C++ Compiler To Help Bring New Workloads To Ryzen AI NPUs AMD Ryzen AI NPUs are now running LLMs on Linux with the recently debuted Lemonade 10.0 server and FastFlowLM 0.9.35 adding Linux support. In addition to those software components, AMD engineers have also been developing MLIR-AIE as a compiler toolchain for AMD AI Engine devices such as Ryzen AI NPUs in leveraging LLVM-based code generation with the Multi-Level Intermediate Representation (MLIR). Out today is MLIR-AIE v1. 🔗 Source: https://www.phoronix.com/news/MLIR-AIE-1.3 #linux#amd

Hashtags

Linuxgram 🐧

@linuxgram · Post #18090 · 17.03.2026 г., 14:54

📰 TUXEDO Gemini 17 Gen4 Linux Laptop Now Available with AMD Ryzen 9 9955HX TUXEDO Gemini 17 Gen4 Linux laptop is now available with AMD Ryzen 9 9955HX, NVIDIA GeForce RTX 5070 Ti, up to 128 GB RAM, and up to 16TB storage. 🔗 Source: https://9to5linux.com/tuxedo-gemini-17-gen4-linux-laptop-now-available-with-amd-ryzen-9-9955hx #linux#amd

Hashtags

Linuxgram 🐧

@linuxgram · Post #18043 · 12.03.2026 г., 14:05

📰 Exclusive Preview Of System76's Completely Redesigned Thelio Desktop It has been eight years already since System76 announced Thelio as their own built-in-the-USA, custom-engineered cases for desktops and workstations. System76 Thelio is an open hardware design and built exceptionally well out of their facilities in Colorado. System76 Thelio has served them well for their range of desktop systems over the years from ARM64 developer workstations to high-end AMD Linux systems. 🔗 Source: https://www.phoronix.com/review/system76-new-thelio #linux#amd

Hashtags

Linuxgram 🐧

@linuxgram · Post #17995 · 06.03.2026 г., 14:17

📰TUXEDO InfinityBook Max 16 Linux Laptop Now Available with AMD Ryzen AI 300 TUXEDO Computers launches a new variant of the InfinityBook Max 16 Gen10 Linux-powered laptop with AMD Ryzen AI 300 processors. 🔗 Source: https://9to5linux.com/tuxedo-infinitybook-max-16-linux-laptop-now-available-with-amd-ryzen-ai-300 #amd#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #17977 · 05.03.2026 г., 11:57

📰 AMD HSMP Linux Driver Preps For Zen 6 EPYC With Finer Power Controls The AMD Host System Management Port (HSMP) Linux driver that provides access to various system management features on modern EPYC server processors is preparing for the upcoming EPYC Zen 6 "Venice" processors... 🔗 Source: https://www.phoronix.com/news/AMD-HSMP-Preps-For-Zen-6-EPYC #amd#linux

Hashtags

12•••6566676869•••100•••121122
ПретходнаСтраница 67 од 122Следна