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 #17853 · 20.02.2026 г., 19:19

📰 Drgn v0.1 Released For Very Versatile Programmable Debugger Drgn is the programmable debugger developed by Meta engineer Omar Sandoval that has proven quite versatile and popular with Linux kernel developers and others. After nearly two dozen releases already, Drgn v0.1 was released this week as another big step forward for this open-source debugger... 🔗 Source: https://www.phoronix.com/news/Drgn-0.1-Released #opensource#linux#kernel

Linuxgram 🐧

@linuxgram · Post #18781 · 13.05.2026 г., 19:33

📰Linux Driver Posted For Intel Silicon Security Engine Interface "ISSEI" Since Intel Meteor Lake has been the Intel Silicon Security Engine to serve as a silicon root-of-trust for secure firmware loading, boot measurements, and similar functionality. This Intel Silicon Security Engine has been built on with Lunar Lake and Panther Lake as well as set to take on more importance with future Intel hardware platforms. 🔗 Source: https://www.phoronix.com/news/Intel-ISSEI-Linux-Driver #intel#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18716 · 08.05.2026 г., 22:16

📰 TUXEDO BM 15 Is an Upgradable Business Linux Laptop with Smartcard and 4G LTE TUXEDO BM 15 is now available for pre-order as an upgradable business Linux laptop powered by an Intel Core i5 120U, up to 64GB RAM, up to 8 TB SSD, and 4G LTE support. 🔗 Source: https://9to5linux.com/tuxedo-bm-15-is-an-upgradable-business-linux-laptop-with-smartcard-and-4g-lte #intel#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18714 · 08.05.2026 г., 20:23

📰 Linux Erroneously Thinks Intel Bartlett Lake CPUs Run At 7GHz With Intel's recently-launched Bartlett Lake P-core-only processors intended for the embedded market, there is a rather surprising oversight under Linux: the Intel P-State driver reporting a 7.0+ GHz clock speed. While many would yearn for a 7GHz CPU, the Core 9 273PE where this issue was discovered in reality can only boost up to 5.7GHz for its maximum turbo frequency... 🔗 Source: https://www.phoronix.com/news/Intel-Bartlett-Lake-7GHz-Linux #intel#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18588 · 27.04.2026 г., 15:16

📰 Intel Core Ultra 5 250K Plus Provides Exceptional Value For Linux Users After looking at the new Intel Core Ultra 7 270K Plus processor earlier this month with its nice performance evolution for Arrow Lake on Linux, today we are looking at the other new Intel desktop CPU offering: the Core Ultra 5 250K Plus that retails for just $219 USD. 🔗 Source: https://www.phoronix.com/review/intel-core-ultra-5-250k-plus #intel#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18257 · 31.03.2026 г., 14:20

📰 Intel Panther Lake & Linux AI/LLM Debates Dominated Q1 For Linux Users With Q1 wrapping up, here is a look back at the most popular news and reviews for the quarter that excited Linux readers the most. During this quarter on Phoronix were 881 original news articles thus far and 61 featured Linux hardware reviews / multi-page benchmark articles... 🔗 Source: https://www.phoronix.com/news/Q1-2026-Highlights #linux#intel

Hashtags

Linuxgram 🐧

@linuxgram · Post #18244 · 30.03.2026 г., 11:55

📰 Intel Graphics Driver For Linux 7.1 Preps Workaround For Dell XPS Panther Lake Laptop Sent out today was the latest batch of drm-intel-next changes as feature work toward DRM-Next for Linux 7.1 winds down. This week's drm-intel-next pull is mostly fixes and some low-level code refactoring. The only item really standing out is some new quirk infrastructure for dealing with laptop display panels that may have buggy Panel Replay handling... 🔗 Source: https://www.phoronix.com/news/Intel-Linux-7.1-Panel-Replay #linux#intel

Hashtags

Linuxgram 🐧

@linuxgram · Post #18155 · 23.03.2026 г., 15:57

📰 Intel FRED Can Yield Greater Performance - FRED Benchmarks On Panther Lake With Intel's new Core Ultra Series 3 "Panther Lake" laptop SoCs, the Xe3-based Arc B390 graphics and much improved CPU performance capture much of the spotlight. One new capability with Panther Lake that isn't featured as much though is the new FRED capability with Flexible Return and Event Delivery. Today's Intel Panther Lake testing is looking at the very interesting performance impact of FRED on Linux. 🔗 Source: https://www.phoronix.com/review/intel-fred-panther-lake #intel#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #17976 · 05.03.2026 г., 11:43

📰 Intel Xe Linux Driver Ready With Fix For Brand New Lenovo ThinkPad T14 Gen 7 Laptop This week at MWC 2026, Lenovo announced the ThinkPad T14 Gen 7 as one of their new Intel Core Ultra Series 3 "Panther Lake" powered laptops alongside other products. With Panther Lake running rather well on Linux, the new ThinkPad T14 G7 should be in good standing on Linux and especially with a pending Xe graphics driver fix that is on the way... 🔗 Source: https://www.phoronix.com/news/ThinkPad-T14-Gen-7-Linux-Xe #linux#intel

Hashtags

Linuxgram 🐧

@linuxgram · Post #17938 · 01.03.2026 г., 19:55

📰 Intel's Clear Linux Website No Longer Online Last July Intel sadly ended their Clear Linux distribution amid cost-cutting measures at the company. Clear Linux for a decade served at the forefront of Linux performance innovations and was consistently the fastest out-of-the-box Linux x86_64 distribution until Intel ended the Linux distribution without any advanced notice for its users. Intel had kept up the ClearLinux. 🔗 Source: https://www.phoronix.com/news/Clear-Linux-Org-No-More #linux#intel

Hashtags

Linuxgram 🐧

@linuxgram · Post #17872 · 23.02.2026 г., 17:20

📰 Intel hiring GPU driver engineers for Linux It's not just NVIDIA hiring to improve their Linux graphics drivers, as Intel are also looking for multiple new driver engineers.Read the full article on GamingOnLinux. 🔗 Source: https://www.gamingonlinux.com/2026/02/intel-hiring-gpu-driver-engineers-for-linux/ #linux#intel

Hashtags

AIGC

@aigcrubbish · Post #32 · 18.03.2025 г., 17:22

[$] Oxidizing Ubuntu: adopting Rust utilities by default Ubuntu 计划在未来采用 Rust 编写的工具替代传统的 GNU 工具,这一举措可能从 2025 年 10 月发布的 Ubuntu 25.10 开始。Canonical 的工程副总裁 Jon Seager 发布了一个名为 `oxidizr` 的命令行工具,帮助用户轻松启用或禁用基于 Rust 的工具,以便测试其适用性。目前,Ubuntu 社区对这一重大变化的反应总体积极,但也存在一些疑虑。Rust 工具的实现主要来自 uutils 项目,该项目此前已被 LWN 报道过。 原文链接:https://lwn.net/Articles/1014002/ 标签:#Ubuntu#Rust#开源#Linux #AIGC Read more

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