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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #335 · 29 мар.

В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount mount -t tmpfs -o size=5G tmpfs /mnt/ram Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно? ▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD. ▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем. ▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов. Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM. Вот мои результаты: Single File Size: 30.0Gb ssd > ssd: 0:00:12.850 / 2.3Gb/s sdd > ram: 0:00:06.453 / 4.6Gb/s ram > ram: 0:00:06.995 / 4.3Gb/s ram > sdd: 0:00:06.217 / 4.8Gb/s Dir size: 32.7Gb, File count: 11127 ssd > ssd: 0:00:15.063 / 2.2Gb/s sdd > ram: 0:00:08.486 / 3.9Gb/s ram > ram: 0:00:08.032 / 4.1Gb/s ram > sdd: 0:00:07.026 / 4.7Gb/s Скрипт для теста ↗️ На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD. В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения #linux#triks

Hashtags

Резултати

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

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

Linuxgram 🐧

@linuxgram · Post #18089 · 17.03.2026 г., 13:46

📰 EndeavourOS Titan released, devs comment on age verification laws The Arch-based Linux distribution EndeavourOS Titan is out now, bringing with it plenty of nice sounding upgrades and some comments on age verification.Read the full article on GamingOnLinux. 🔗 Source: https://www.gamingonlinux.com/2026/03/endeavouros-titan-released-devs-comment-on-age-verification-laws/ #linux#arch

Hashtags

Linuxgram 🐧

@linuxgram · Post #18075 · 16.03.2026 г., 13:19

📰 Manjaro Linux looks like it's in trouble with the release of the "Manjaro 2.0 Manifesto" At one point it seemed like Manjaro Linux would be the most popular Arch-based distribution, but after many missteps it appears to be at breaking point.Read the full article on GamingOnLinux. 🔗 Source: https://www.gamingonlinux.com/2026/03/manjaro-linux-looks-like-its-in-trouble-with-the-release-of-the-manjaro-2-0-manifesto/ #arch#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18416 · 13.04.2026 г., 14:46

📰 How to Install Linux Kernel 7.0 on Ubuntu 25.10 You can now install the latest and greatest Linux 7.0 kernel series on your Ubuntu 25.10 distribution. Here’s how to do it! 🔗 Source: https://9to5linux.com/how-to-install-linux-kernel-7-0-on-ubuntu-25-10 #kernel#linux#ubuntu

Linuxgram 🐧

@linuxgram · Post #17925 · 27.02.2026 г., 22:36

📰 elementary OS 8.1.1 Released With Linux kernel 6.17 elementary OS 8.1.1 arrives with Linux kernel 6.17 and the latest Ubuntu 24.04 LTS Hardware Enablement stack. 🔗 Source: https://linuxiac.com/elementary-os-8-1-1-released-with-linux-kernel-6-17/ #ubuntu#linux#kernel

Linuxgram 🐧

@linuxgram · Post #17842 · 19.02.2026 г., 22:22

📰 Ubuntu 24.04.4 LTS released with Linux 6.17 + Mesa 25.2 Ubuntu 24.04.4 LTS is now available to download. This fourth point release brings the Linux 6.17 HWE kernel and Mesa 25.2 graphics stack for better hardware support.You're reading Ubuntu 24.04.4 LTS released with Linux 6.17 + Mesa 25.2, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission. 🔗 Source: https://www.omgubuntu.co.uk/2026/02/ubuntu-24-04-4-lts-released #linux#kernel#ubuntu

互联E栈

@bcd8888 · Post #1550 · 09.08.2025 г., 14:04

#影视#影视软件#免费影视 #小猫影视 • 轻量级影视资源播放器,自带线路,资源超丰富 • 多平台支持,自定义片源,快捷键控制,VIP视频解析 • 开源免费,内置字体解决渲染问题,文档齐全,安装简单快捷 支持平台:#安卓#iOS#Windows#MacOS#Linux 🔘网址: 点击下载 🔊频道 |💬群组 |🎁福利 |📍导航

恶俗·茶话会 / 万象更新

@esuTeaRoom · Post #1457 · 08.03.2022 г., 15:21

#今天又看了啥#security#提权#Linux#GitHub The Dirty Pipe Vulnerability CVE-2022-0847 a vulnerability in the Linux kernel since 5.8 which allows overwriting data in arbitrary read-only files. This leads to privilege escalation because unprivileged processes can inject code into root processes. It is similar to CVE-2016-5195 “Dirty Cow” but is easier to exploit. The vulnerability was fixed in Linux 5.16.11, 5.15.25 and 5.10.102. 又一个 Linux kernel 本地提权,可覆盖重写任意只读文件中的数据,从而可将普通权限的用户提升到特权 root 影响范围 >=5.8, <5.16.11, 5.15.25 and 5.10.102 https://dirtypipe.cm4all.com/ See also: - Easily exploitable Linux bug gives root access to attackers (CVE-2022-0847) POC & Exploit: - https://github.com/Arinerron/CVE-2022-0847-DirtyPipe-Exploit/ - https://github.com/imfiver/CVE-2022-0847/ (以上的原理是把 /etc/passwd 文件中 root 用户需要密码的 x flag 去掉 - https://haxx.in/files/dirtypipez.c (原理是直接覆写一个带有 SUID 权限的程序,如 ./exp /usr/bin/su

Libreware

@libreware · Post #1552 · 19.02.2026 г., 13:15

This is Probably the Best Video Downloader App (And it is Free and Open Source) | itsFOSS VidBee allows you to download videos from YouTube, Facebook, X, Instagram, etc. In fact, it supports over 1,800 websites. It is built on top of popular command line tools like yt-dlp and #ffmpeg. For the interface, it uses the Electron framework. I understand that some people dislike Electron framework as it runs a web browser underneath, but the 'advantage' of this framework is that you get the same interface in all the operating systems. At least, it's an advantage for the developers as they don't have to build the interface separately for #Linux, #Windows and #macOS. The source code for VidBee is available on its GitHub repository. #VidBee - Free Open Source Video Downloader https://vidbee.org/

AIGC

@aigcrubbish · Post #172 · 03.02.2026 г., 15:50

[$] The future for Tyr Tyr 团队在 2025 年初时,为 Arm Mali 硬件开发 Rust GPU 驱动的工作进展甚微。但到年底,他们已在 Linux Plumbers Conference 上成功运行了开源 3D 赛车游戏 SuperTuxKart。该原型由 Arm、Collabora 和 Google 合作开发,在会议期间运行稳定,性能足以满足游戏需求。 这一进展恰逢其时:Dave Airlie 在维护者峰会上宣布,DRM 子系统将在大约一年后禁止新的 C 语言驱动程序,并要求使用 Rust。因此,团队现在需要为 2026 年制定路线图,以期将所有工作整合到上游内核中。 原文链接:https://lwn.net/Articles/1055590/ #Linux#内核开发#Rust#GPU驱动 #AIGC Read more

AIGC

@aigcrubbish · Post #100 · 14.12.2025 г., 06:35

Conill: Rethinking sudo with object capabilities Ariadne Conill 正在探索一种基于能力(capability-based)的 Linux 权限提升方法,项目名为 capsudo。 与传统 sudo 将权限提升视为临时的身份切换不同,capsudo 将其重新定义为与一个名为 capsudod 的服务进行受控交互。该服务持有特定的权限,根据部署方式,其权限范围可以从完整的 root 权限到一组严格限定范围的能力。 这种方法借鉴了对象能力模型,旨在提供更精细、更安全的权限控制。 原文链接:https://ariadne.space/2025/12/12/rethinking-sudo-with-object-capabilities.html 项目链接:https://github.com/kaniini/capsudo #Linux#系统安全#权限管理#开源项目 #AIGC Read more

AIGC

@aigcrubbish · Post #258 · 19.03.2026 г., 01:29

Fedora Asahi Remix 43 released Fedora Asahi Remix 43 现已发布。此版本包含了 Fedora Linux 43 带来的所有重要更新。其中,包管理得到了显著升级,采用了 RPM 6.0,并为 Plasma Discover 和 GNOME Software 引入了新的 DNF5 后端(这一特性领先于 Fedora Linux 44)。该版本继续提供广泛的设备支持,包括新增了对 Mac Pro、M2 Pro/Max MacBook 的麦克风,以及 MacBook Pro 14/16 英寸机型内置显示屏的 120Hz 刷新率支持。 原文链接:https://lwn.net/Articles/1063451/ #Linux#Fedora#AppleSilicon#操作系统 #AIGC Read more

AIGC

@aigcrubbish · Post #54 · 19.06.2025 г., 17:34

[$] Asterinas: a new Linux-compatible kernel project 中国南方科技大学团队开发了名为Asterinas的新型Linux兼容内核项目。该项目采用Rust语言编写,基于"框架内核架构"设计理念,试图融合单体内核与微内核的优势。 Asterinas与Rust for Linux项目有部分目标重叠,但采取了不同的技术路线。该项目保持与Linux ABI兼容,旨在通过Rust语言的安全特性提升系统可靠性。 原文链接:https://lwn.net/Articles/1022920/ #Linux#操作系统#Rust#内核开发#开源项目 #AIGC Read more

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