Searching txt.sour.is

Twts matching #6
Sort by: Newest, Oldest, Most Relevant

Golang 字符串拼接 6 種方法性能對比與最佳實踐
在 Go 語言中,字符串 (string) 是不可變 (immutable) 的數據類型,這意味着每次字符串拼接操作實際上都會創建一個新的字符串對象。對於需要頻繁拼接字符串的場景,選擇合適的方法對性能有顯著影響。本文將全面分析 6 種常見的字符串拼接方式,並通過基準測試揭示它們的性能差異。6 種字符串拼接方法詳解1. 直接使用+運算符funcconcatOperator(s string, n i ⌘ Read more

⤋ Read More

Golang 字符串拼接 6 種方法性能對比與最佳實踐
在 Go 語言中,字符串 (string) 是不可變 (immutable) 的數據類型,這意味着每次字符串拼接操作實際上都會創建一個新的字符串對象。對於需要頻繁拼接字符串的場景,選擇合適的方法對性能有顯著影響。本文將全面分析 6 種常見的字符串拼接方式,並通過基準測試揭示它們的性能差異。6 種字符串拼接方法詳解1. 直接使用+運算符funcconcatOperator(s string, n i ⌘ Read more

⤋ Read More

[$] Hardening fixes lead to hard questions
Kees Cook’s “hardening\
fixes” pull request for the 6.16 merge window looked like a
straightforward exercise; it only contained four commits. So just about
everybody was surprised when it resulted in Cook being temporarily blocked
from his kernel.org account among fears of malicious activity. When the
dust settled, though, the red alert was canceled. It turns out,
surprisingly, that Git is a tool with which one can inflict substantial … ⌘ Read more

⤋ Read More

Security updates for Monday
Security updates have been issued by Debian (espeak-ng, kitty, kmail-account-wizard, krb5, libreoffice, libvpx, net-tools, python-flask-cors, symfony, tcpdf, thunderbird, and twitter-bootstrap3), Fedora (chromium, dropbear, firefox, gstreamer1-plugins-bad-free, python-tornado, systemd, and thunderbird), Mageia (coreutils, deluge, glib2.0, and redis), Oracle (firefox, kernel, and systemd), Red Hat (firefox, kernel, kernel-rt, varnish, varnish:6, and zlib), SUSE (bind, curl, dnsdist, … ⌘ Read more

⤋ Read More

Touchscreen Smart Box Based on ESP32-P4 with Wi-Fi 6 or Ethernet
The ESP32-P4 Smart 86 Box is a compact development board with a 4-inch capacitive touchscreen, designed for HMI, smart control panels, and edge processing. Its 86 mm form factor allows it to be easily installed in wall-mounted enclosures for use in embedded automation and smart terminal applications. As the name implies, this board is built […] ⌘ Read more

⤋ Read More

6 visionOS-Inspired Design Elements Coming to iOS 26
With iOS 26, macOS 26, tvOS 26, and watchOS 26, Apple is planning to debut a new design that’s been described as taking inspiration from visionOS, the newest operating system. With WWDC coming up soon, we thought we’d take a closer look at visionOS and some of the design details that Apple might adopt based on current rumors and leaked information … ⌘ Read more

⤋ Read More

Security updates for Friday
Security updates have been issued by AlmaLinux (.NET 8.0, .NET 9.0, firefox, ghostscript, gstreamer1-plugins-bad-free, libsoup3, mingw-freetype, perl, ruby, sqlite, thunderbird, unbound, valkey, and xz), Debian (chromium, firefox-esr, libavif, linux-6.1, modsecurity-apache, mydumper, systemd, and thunderbird), Fedora (coreutils, dnsdist, docker-buildx, maturin, mingw-python-flask, mingw-python-flit-core, ruff, rust-hashlink, rust-rusqlite, and thunderbird), Red Hat (pcs), SUSE (augeas, … ⌘ Read more

⤋ Read More

[$] The first half of the 6.16 merge window
As of this writing, 5,546 non-merge changesets have been pulled into the mainline
kernel repository for the 6.16 release. This is a bit less than half of the
total commits for 6.15, so the merge window is well on its way. Read on for our
summary of the first half of the 6.16 merge window. ⌘ Read more

⤋ Read More

Security updates for Thursday
Security updates have been issued by AlmaLinux (kernel and kernel-rt), Debian (firefox-esr, libvpx, net-tools, php-twig, python-tornado, setuptools, varnish, webpy, yelp, and yelp-xsl), Fedora (xen), Mageia (cimg and ghostscript), Oracle (gstreamer1-plugins-bad-free, kernel, libsoup, thunderbird, and unbound), Red Hat (firefox, mingw-freetype and spice-client-win, pcs, and varnish:6), Slackware (curl and mozilla), SUSE (apparmor, containerd, dnsdist, go1.23-openssl, go1.24 … ⌘ Read more

⤋ Read More

[$] LWN.net Weekly Edition for May 29, 2025
Inside this week’s LWN.net Weekly Edition:

  • Front: Glibc security; How we lost the Internet; Encrypted DNS; 6.15 Development statistics; Filesystem stress-testing; BPF verifier; Network access from BPF; OSPM 2025.

  • Briefs: AlmaLinux 10.0; FESCo decision overturned; NixOS 25.05; Pocket, Launchpad retired; Quotes; …

  • Announcements: Newsletters, conferences, security updates, … ⌘ Read more

⤋ Read More

RocketMQ 高級使用
消息存儲—-分佈式隊列因爲有高可靠性的要求,所以數據要進行持久化存儲。消息生成者發送消息 MQ 收到消息,將消息進行持久化,在存儲中新增一條記錄 返回 ACK 給生產者 MQ push 消息給對應的消費者,然後等待消費者返回 ACK 如果消息消費者在指定時間內成功返回 ack,那麼 MQ 認爲消息消費成功,在存儲中刪除消息,即執行第 6 步;如果 MQ 在指定時間內沒有 ⌘ Read more

⤋ Read More

Cursor - 12306 MCP,打造 AI 智能選票系統,超酷的!
大家好,我是蒼何。昨天線下活動見了米尼的孩子,說句實在的,勾起了我對家裏娃的想念。於是,我決定端午,我要回家,我要陪過度六一。掏出手機 12306,查票、候補、買票。開始計算着出發時間,到達家的時間,選擇高鐵還是硬臥,早上 6 點的車能否趕上,晚上十一點的車到家太晚會吵醒孩子,中午的車正好但往往沒票。。。。受夠了,每次都是這樣,買個票,能把我瞬間變成一隻哈巴狗,咧着嘴,大聲喘氣。於是,我想借助 A ⌘ Read more

⤋ Read More

[$] Development statistics for the 6.15 kernel
The 6.14 kernel development cycle only brought in 11,003 non-merge
changesets, making it the slowest cycle since 4.0, which was released in
2015. The 6.15 kernel, instead, brought in 14,612 changesets, making it
the busiest release since 6.7, released at the beginning of 2024. The
kernel development process, in other words, is back up to full speed. The
6.15\
release happened on May 25, so the … ⌘ Read more

⤋ Read More

The 6.15 kernel has been released
Linus has released the 6.15 kernel, as
expected.

So this was delayed by a couple of hours because of a last-minute
bug report resulting in one new feature being disabled at the
eleventh hour, but 6.15 is out there now.

Significant changes in 6.15 include smarter timer-ID assignment to make
checkpoint/restore operations more reliable, the [ability](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm … ⌘ Read more

⤋ Read More

PicoCore MX93 CoM Features microNPU, Wi-Fi 6, Bluetooth 5.2, and CAN-FD
The PicoCore MX93 from F&S Elektronik Systeme is a compact Computer on Module measuring just 35 x 40 mm. Designed for industrial and embedded edge applications, it supports up to 2GB of LPDDR4 memory, Wi-Fi 6 and Bluetooth 5.2 connectivity, and a wide range of display and I/O interfaces including MIPI-DSI, LVDS, CAN-FD, and dual […] ⌘ Read more

⤋ Read More
In-reply-to » @kat I don’t like Golang much either, but I am not a programmer. This little site, Go by example might explain a thing or two.

One of the nicest things about Go is the language itself, comparing Go to other popular languages in terms of the complexity to learn to be proficient in:

⤋ Read More

Security updates for Thursday
Security updates have been issued by AlmaLinux (kernel, kernel-rt, and webkit2gtk3), Fedora (mozilla-ublock-origin and sudo-rs), Oracle (.NET 8.0, compat-openssl10, grafana, osbuild-composer, redis:6, ruby:2.5, and webkit2gtk3), SUSE (dante, firefox-esr, gnuplot, govulncheck-vulndb, grype, postgresql13, postgresql14, postgresql15, postgresql16, postgresql17, python-tornado6, python314, thunderbird, ucode-intel, and xen), and Ubuntu (bind9, libfcgi-perl, linux-ibm-5.4, linux-oracle-5.4 … ⌘ Read more

⤋ Read More

Security updates for Wednesday
Security updates have been issued by AlmaLinux (.NET 8.0, avahi, buildah, compat-openssl10, compat-openssl11, expat, firefox, gimp, git, grafana, libsoup, libxslt, mod_auth_openidc, nginx, nodejs:22, osbuild-composer, php, redis, redis:7, skopeo, thunderbird, vim, webkit2gtk3, xterm, and yelp), Arch Linux (dropbear, freetype2, go, nodejs, nodejs-lts-iron, nodejs-lts-jod, python-django, webkit2gtk, webkit2gtk-4.1, webkitgtk-6.0, and wpewebkit), Debian (mongo-c-driver), Fedora (openssh, … ⌘ Read more

⤋ Read More

6 Super Useful Continuity Features for Mac, iPhone, & iPad, You Should Be Using
Continuity is a broad set of features for Mac, iPhone, and iPad, that make using all three of the devices together as seamless and easy as possible. Many of the Continuity features also will undoubtedly improve your workflow, making using MacOS, iOS, and iPadOS even better together. We’re going to focus on six of the … [Read More](https://osxdaily.com/2025/05/19/6-super-usefu … ⌘ Read more

⤋ Read More

L’État français n’est plus géré, du tout.
Dans les années 70, la France pouvait s’enorgueillir de finances saines et se contentait de perdre la 7e Compagnie. Cinquante ans plus tard, elle n’a toujours pas retrouvé la 7e Compagnie et perd, avec elle et beaucoup d’autres choses, plus de 6 milliards d’euros dans sa protection sociale. Comme l’explique un récent communiqué de la […] ⌘ Read more

⤋ Read More

Kernel prepatch 6.15-rc7
The 6.15-rc7 kernel prepatch is out for
testing. “So while I wish we hadn’t had some of the excitement of last
week, on the whole it all still looks pretty solid, and unless something
strange happens I’ll do the final 6.15 release next weekend.” ⌘ Read more

⤋ Read More

An Asahi Linux 6.15 progress report
The Asahi Linux
project, which supports Linux on Apple Silicon Macs, has published a
progress report ahead of the 6.15 kernel’s release.

We are pleased to announce that our graphics driver userspace API
(uAPI) has been merged into the Linux kernel. This major milestone
allows us to finally enable OpenGL, OpenCL and Vulkan support for
Apple Silicon in upstream Mesa. This is the only time a graphics
driver’s uAPI has been merged into the kernel independent … ⌘ Read more

⤋ Read More

Security updates for Friday
Security updates have been issued by AlmaLinux (.NET 8.0, .NET 9.0, kernel, kernel-rt, redis:6, and yelp and yelp-xsl), Debian (chromium), Red Hat (compat-openssl11, kernel, and thunderbird), and SUSE (nbdkit, open-vm-tools, and rustup). ⌘ Read more

⤋ Read More

‘Dark swerve’: Analysis shows US quickly becoming a ‘police state’ under Trump
Mattthew Chapman,  News Writer  -  Raw Story

Stephan: I think this is an accurate report, and I think that is all I need to say.

Image

President Donald Trump has not quite turned America into a dictatorship, wrote Eduardo Porter in a [ … ⌘ Read more

⤋ Read More

CBO: 7.6 million would go uninsured under GOP Medicaid bill
Ben Leonard,  Staff Writer  -  Politico

_Stephan: I understand that a lack of integrity is the hallmark of the MAGAt Republican Party. The MAGAt members of Congress make it clear everyday that they are on their knees kissing the ass of their monarch. What I don’t get is how these men and women imagine they are going to stay in office in the 2026 election. The easy answer is that they think Americans in thei … ⌘ Read more

⤋ Read More

MacOS Sonoma 14.7.6 & MacOS Ventura 13.7.6 Updates Released
macOS Sonoma 14.7.6 and MacOS Ventura 13.7.6 have been released by Apple for Mac users who are not running the MacOS Sequoia operating system. These updates focus exclusively on security updates, with no other changes or features. The release of MacOS 14.7.6 and 13.7.6 comes alongside the MacOS Sequoia 15.5 update that was simultaneously released. … [Read More](https://osxdaily.com/2025/05/13/macos-sonoma-14-7-6 … ⌘ Read more

⤋ Read More

iPhone Shipments Crash 50% in China as Local Brands Dominate
Foreign-branded smartphone shipments in China, dominated by Apple’s iPhone, dropped dramatically in March 2025, plunging 49.6% year-over-year according to data released by The China Academy of Information and Communications Technology (CAICT).

Image

The steep decline saw shipments fall to just 1.89 million units, down from 3.75 million during the … ⌘ Read more

⤋ Read More

MacOS Sequoia 15.5 Update Released with Bug Fixes & Security Enhancements
MacOS Sequoia 15.5 is now available as a software update for Mac users running the Sequoia operating system. The system software update includes bug fixes and security enhancements, but does not appear to include any new features or other major changes. Additionally, Apple has also released MacOS Ventura 13.7.6 and macOS Sonoma 14.7.6 for Mac, … [Read More](https://osxdaily.com/2025/05/12/macos-sequoia-15-5-update-downlo … ⌘ Read more

⤋ Read More

Kernel prepatch 6.15-rc6
Linus has released 6.15-rc6 for testing.

Everything still looks fairly normal - we’ve got a bit more commits
than we did in rc5, which isn’t the trend I want to see as the
release progresses, but the difference isn’t all that big and it
feels more like just the normal noise in timing fluctuation in pull
requests of fixes than any real signal.

So I won’t worry about it. We’ve got another two weeks to go in the
normal release schedule, and it still feels … ⌘ Read more

⤋ Read More

Agent 記憶系統:6 大核心操作全景解讀
自 LLM 進入 Agent 時代,如何處理人機交互的歷史信息和狀態,一直是學術前沿思考的核心問題。因此,記憶模塊(Memory)也就成爲了研究重點。以往研究的缺憾在於:關注記憶在特定任務中的應用。如:記憶存儲、檢索或基於記憶的生成,卻忽視了記憶動態變化背後的原子操作。 如何通過記憶增強模型的上下文理解能力。未深入研究記憶如何在不同時間尺度上進行整合、更新和遺忘,導致無法全面理解記憶在複雜交 ⌘ Read more

⤋ Read More

Security updates for Wednesday
Security updates have been issued by Fedora (incus and nodejs20), Red Hat (freetype, kernel, kernel-rt, libsoup, libtiff, redis, redis:6, and thunderbird), SUSE (apparmor, chromium, grafana, ImageMagick, java-11-openjdk, java-17-openjdk, libsoup, libsoup2, libxslt, opensaml, rabbitmq-server, rubygem-rack-1_6, sqlite3, and thunderbird), and Ubuntu (kernel, libfcgi, libraw, libsoup2.4, linux, linux-aws, linux-aws-5.15, linux-gcp, linux-gke, linux-gkeop, linux-hwe-5.15, linux-ibm, linux-ib … ⌘ Read more

⤋ Read More

uv:統一的 Python 包管理
花下貓語:uv 項目自發布起就大受歡迎,目前 Github star 52.6 K,遠超過它的同類競品們。前不久,它的創始人在 X 上披露了一組驚人的數據:uv 曾佔據了 PyPI 超過 20% 的流量,用戶每天通過它發起約 4-5 億次下載請求!我在去年翻譯過 uv 首發時的新聞文章 [1],根據博客後臺不完整的統計,從 Google 搜索進入的訪問量已經超過 3000,妥妥成爲了我博客的搜索訪 ⌘ Read more

⤋ Read More

(Updated) ESP32-C5-DevKitC-1 with 240MHz RISC-V Processor, Zigbee, and Thread Connectivity
The ESP32-C5-DevKitC-1 is another upcoming entry-level development board designed for IoT applications, featuring the ESP32-C5-WROOM-1 module. This board supports key wireless protocols, including Wi-Fi 6 (2.4 GHz and 5 GHz), Bluetooth LE 5, Zigbee, and Thread. The ESP32-C5-WROOM-1 module is equipped with a 32-bit RISC-V single-core processor running at 240 MHz along … ⌘ Read more

⤋ Read More

Security updates for Monday
Security updates have been issued by Debian (ansible, containerd, and vips), Fedora (chromium, java-17-openjdk, nodejs-bash-language-server, nodejs-pnpm, ntpd-rs, redis, rust-hickory-proto, thunderbird, and valkey), Mageia (apache-mod_auth_openidc, fcgi, graphicsmagick, kernel-linus, pam, poppler, and tomcat), Red Hat (firefox, libsoup, nodejs:20, redis:6, rsync, webkit2gtk3, xmlrpc-c, and yelp), and SUSE (audiofile, ffmpeg, firefox, libsoup-2_4-1, libsoup-3_0-0, libva, libxml2, and … ⌘ Read more

⤋ Read More

Announcing Vitess 22
The Vitess maintainers are happy to announce the release of version 22.0.0, along with version 2.15.0 of the Vitess Kubernetes Operator. This release is the first to benefit from a 6-month-long development cycle, after our recent… ⌘ Read more

⤋ Read More
In-reply-to » Finally I propose that we increase the Twt Hash length from 7 to 12 and use the first 12 characters of the base32 encoded blake2b hash. This will solve two problems, the fact that all hashes today either end in q or a (oops) 😅 And increasing the Twt Hash size will ensure that we never run into the chance of collision for ions to come. Chances of a 50% collision with 64 bits / 12 characters is roughly ~12.44B Twts. That ought to be enough! -- I also propose that we modify all our clients and make this change from the 1st July 2025, which will be Yarn.social's 5th birthday and 5 years since I started this whole project and endeavour! 😱 #Twtxt #Update

We have 4 clients but this should be 6 I believe with tt2 from @lyse@lyse.isobeef.org and Twtxtory from @javivf@adn.org.es?

⤋ Read More

AnalogLamb Expands Maple Series with Low-Cost ESP32C6 Breakout Boards
AnalogLamb has introduced three new RISC-V development boards based on the ESP32-C6, designed for low-cost, full-function, and low-power IoT applications. These boards feature Espressif’s first Wi-Fi 6 SoC, integrating Wi-Fi 6 (2.4 GHz), Bluetooth 5 LE, and IEEE 802.15.4 protocols. Each board is built around the ESP32-C6-WROOM-1 module, which combines a high-performance 32-bit RISC-V core […] ⌘ Read more

⤋ Read More

[$] Some nonstring turbulence
New compiler releases often bring with them new warnings; those warnings
are usually welcome, since they help developers find problems before they
turn into nasty bugs. Adapting to new warnings can also create disruption
in the development process, though, especially when an important developer
upgrades to a new compiler at an unfortunate time. This is just the
scenario that played out with the [6.15-rc3\
kernel release](https://lwn.net/ml/all/CAHk-=wgjZ4fzDKogXwhPXVMA7OmZf9k0o1oB2FJmv-C1e=typA@mail. … ⌘ Read more

⤋ Read More

Security updates for Thursday
Security updates have been issued by Debian (haproxy and openrazer), Fedora (c-ares and mingw-poppler), Red Hat (thunderbird), SUSE (epiphany, ffmpeg-6, gopass, and libsoup-3_0-0), and Ubuntu (erlang, haproxy, libapache2-mod-auth-openidc, libarchive, linux, linux-aws, linux-azure, linux-azure-5.15, linux-azure-fde, linux-azure-fde-5.15, linux-gcp, linux-gke, linux-gkeop, linux-hwe-5.15, linux-ibm, linux-intel-iotg, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-nvidia, … ⌘ Read more

⤋ Read More

Security updates for Wednesday
Security updates have been issued by AlmaLinux (bluez, expat, and postgresql:12), Fedora (chromium, golang, LibRaw, moodle, openiked, ruby, and trafficserver), Red Hat (bluez, expat, gnutls, libtasn1, libxslt, mod_auth_openidc, mod_auth_openidc:2.3, ruby:3.1, thunderbird, and xmlrpc-c), and Ubuntu (linux, linux-aws, linux-gcp, linux-hwe-6.11, linux-lowlatency, linux-lowlatency-hwe-6.11, linux-oem-6.11, linux-oracle, linux-raspi, linux-realtime, linux-azure, linux-azure-6.11, linux-gc … ⌘ Read more

⤋ Read More

[$] DMA addresses for UIO
The Userspace\
I/O (UIO) subsystem was first added to the kernel by
Hans J. Koch for the 2.6.32 release in 2007. Its purpose is to facilitate
the writing of drivers (mostly) in user space; to that end, it provides
access to a number of resources that user-space code normally cannot touch.
One piece that is missing, though, is DMA addresses. [A proposal to\
fill that gap](https://lwn.net/ml/all/20250410-uio-dma-v … ⌘ Read more

⤋ Read More
In-reply-to » @lyse It wasn’t our building, yeah, luckily. But I’m pretty scared it might happen some day. I think I’ll put more effort into preparing for that. But whatever I do, it would be horrific to lose all your stuff and the memories attached to it …

I use restic and Backblaze B2 for offline backup storage at a cost of $6/TB/month. I don’t backup my entire ~20TB NAS and its datasets however, so I’m only paying about ~$2/month right now. I only backup the most important things I cannot afford to lose or annot re-created.

⤋ Read More

(#7n4klda) I use restic and Backblaze B2 for offline backup storage at a cost of $6/TB/month. I don’t backup my entire ~20TB NAS and its dataset …
I use restic and Backblaze B2 for offline backup storage at a cost of $6/TB/month. I don’t backup my entire ~20TB NAS and its datasets however, so I’m only paying about ~$2/month right now. I only backup the most important things I cannot afford to lose or annot re-created. ⌘ Read more

⤋ Read More
In-reply-to » @prologic @bender @eapl.me @andros I'm new in the neighborhood and I would like to ask you something :) When a new extension is published in twtxt.dev , is it open for discussion or ready for implementation?

@javivf@adn.org.es having the extension listed means that it has been discussed and, usually implemented. Now, number 6 and 7 on the list as its stands today are not supported by any of the known clients. I believe their (again, 6 and 7) inclusion on the list has been precipitated, and lax.

⤋ Read More

‘The Homegrowns Are Next’: Trump Promises to Send American Citizens to El Salvador in Harrowing Comments to Bukele
Colby Hall,  Founding Editor  -  Mediate

_Stephan: I am surprised the media isn’t saying out loud what is actually going on. American dictator Donald Trump has made a deal with dictator Nayib Bukele of El Salvador to run a concentration camp for which he will pay him $6,000 per person of your tax doll … ⌘ Read more

⤋ Read More

Malcolm: 6 usability improvements in GCC 15
Over on the Red Hat Developer site, David Malcolm has an article\
about improvements in GCC 15, specifically focusing on the diagnostic
information that the compiler emits. This includes ASCII art with a “⚠️”
warning emoji to display the execution path when it detects a problem (like
an infinite loop in one of his examples), better C++ template errors,
machine-readable diagnostics using [Static\
Analysis R … ⌘ Read more

⤋ Read More

[$] LWN.net Weekly Edition for April 10, 2025
Inside this week’s LWN.net Weekly Edition:

  • Front: Debian project leader election; 6.15 Merge window; Lots of LSFMM coverage; Joplin.

  • Briefs: Firefox hardening; OpenSSH 10.0; Supply chain security; FreeDOS 1.4; OpenSSL 3.5.0; Rust 1.86.0; Quotes; …

  • Announcements: Newsletters, conferences, security updates, patches, and more. ⌘ Read more

⤋ Read More

[$] A new type of spinlock for the BPF subsystem
The 6.15 merge window saw the inclusion of a new type of lock for BPF programs:
a resilient queued spinlock that Kumar Kartikeya Dwivedi has been working on
for some time. Eventually, he hopes to convert all of the spinlocks currently
used in the BPF subsystem to his new lock.
He gave a remote presentation about the design of the lock at the
2025 Linux Storage, Filesystem,
Memory-Management, and BPF summit. ⌘ Read more

⤋ Read More