Searching txt.sour.is

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

Go 指針還能這麼玩?結構體方法調用竟然不用解引用!
Go 語言中的指針詳解包含字段與方法的簡化寫法————在 Go 語言中,指針是高效操作數據、避免大對象拷貝的重要工具。本文將詳細講解 Go 中指針相關的幾個關鍵概念:&:取地址 T:聲明指針類型 p:解引用指針 結構體指針可以使用 ptr.Field 和 ptr.Method() 的簡化寫法 是否支持多級指針如 *T 一、基本操作符解釋——– ⌘ Read more

⤋ Read More

Go 指針還能這麼玩?結構體方法調用竟然不用解引用!
Go 語言中的指針詳解包含字段與方法的簡化寫法————在 Go 語言中,指針是高效操作數據、避免大對象拷貝的重要工具。本文將詳細講解 Go 中指針相關的幾個關鍵概念:&:取地址 T:聲明指針類型 p:解引用指針 結構體指針可以使用 ptr.Field 和 ptr.Method() 的簡化寫法 是否支持多級指針如 *T 一、基本操作符解釋——– ⌘ Read more

⤋ Read More

pt-online-change 工具這麼多,哪一個是你的菜?
前言–今天在 ② 羣看到有位同志提到了這樣一個問題: 把 numeric(20,2) 改成 numeric(20,4) 會鎖表嗎?首先會鎖表肯定是毋庸置疑的,並且是最重的 8 級鎖,其次我們關心的重點應該是,表是否會發生重寫?即改類型是否會導致全表重寫?廢話不多說,一圖勝千言!在 PostgreSQL 中,大多數操作都是 online 的,不會發生重寫,只會獲取短暫的 8 級鎖,但是始終還是有 ⌘ Read more

⤋ Read More

MQTT 通信的核心:Topic 主題
我們這期重點介紹 MQTT 的靈活性和效率的核心,即兩個關鍵概念:主題 Topic 和通配符 Wildcards。這些功能構成了 MQTT 發佈 / 訂閱模型的基礎,使得在複雜的物聯網生態系統中實現無縫且有針對性的通信成爲可能。MQTT 主題作爲消息的地址機制,允許設備和應用程序組織和過濾信息流。它們提供了一種層次結構,可以表示您的物聯網系統中的各種方面,從設備位置到傳感器類型和數據類別。瞭解如何 ⌘ Read more

⤋ Read More

【一文看懂】什麼是強化學習(RL-?
爲什麼像 ChatGPT 這樣的人工智能,不僅擁有海量的知識,還能和你進行流暢自然的對話,甚至理解你的潛在意圖,給出富有創造性的回覆,或者在面對不恰當請求時進行得體的拒絕?它們是如何從簡單的文字預測工具,變得如此 “善解人意” 且“行爲規範”的?除了在龐大的文本數據中學習語言模式和世界知識(這可以類比於人類的閱讀和記憶),這些大語言模型(LLM)之所以能夠更好地與人類對齊、理解人類偏好並表現出更高 ⌘ Read more

⤋ Read More

從 Go 路由選擇看 “標準庫優先”:何時堅守?何時拓展?
大家好,我是 Tony Bai。最近,知名 Go 博主 Alex Edwards 更新了他那篇廣受歡迎的文章——“Which Go router should I use?1]”,特別提到了 [Go 1.22 版本對標準庫 http.ServeMux 的顯著增強。這篇文章再次引發了我們對 Go Web 開發中一個經典問題的思考:在選擇路由庫時,我們應該堅守標準庫,還是擁抱功能更豐富的第三方庫?這個 ⌘ Read more

⤋ Read More

從 Go 路由選擇看 “標準庫優先”:何時堅守?何時拓展?
大家好,我是 Tony Bai。最近,知名 Go 博主 Alex Edwards 更新了他那篇廣受歡迎的文章——“Which Go router should I use?1]”,特別提到了 [Go 1.22 版本對標準庫 http.ServeMux 的顯著增強。這篇文章再次引發了我們對 Go Web 開發中一個經典問題的思考:在選擇路由庫時,我們應該堅守標準庫,還是擁抱功能更豐富的第三方庫?這個 ⌘ Read more

⤋ Read More

Trump Tells Tim Cook to Stop Building iPhones in India
President Donald Trump has asked Apple CEO Tim Cook to halt the company’s manufacturing expansion in India, in a potential disruption of Apple’s plan to shift iPhone production away from China.

Image

“I had a little problem with Tim Cook yesterday,” Trump said during his state visit to Qatar, according to _[Bloomberg](https://www.bloomberg.com/news/artic … ⌘ Read more

⤋ Read More

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

  • Front: Home Assistant; YaST; bpfilter; Flatpak; More LSFMM+BPF 2025 coverage.

  • Briefs: Screen security; Guix on Codeberg; Postgres I/O; GNOME executive director; Nextcloud blog; Podman 5.5.0; OSL sustainability; Quotes; …

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

⤋ Read More

Gajim: Gajim 2.2.0
This release brings three new features: message retraction, blocking participants in group chats, and updated support for modern group chat avatars. Thank you for all your contributions!

What’s New

Gajim 2.2 comes with support for retracting messages via XEP-0424: Message Retraction. This allow you to retract your messages, if you’ve mistakenly sent it to the wrong recipient or group chat. Please note that your counterpart needs to support … ⌘ Read more

⤋ Read More

Huge System Data Filling Storage on Your Mac? 7 Possible Fixes
Many Mac users are reporting that “System Data” is taking up huge amounts of disk storage capacity on their Macs. While this issue is reported more commonly with MacOS Sequoia, some users find the bloated System Data storage on older versions of MacOS as well. In many cases, the “System Data” in MacOS is taking … Read More ⌘ Read more

⤋ Read More

Deals: Up to $173 Off M4 MacBook Air in 13″ & 15″
Amazon is taking up to $173 off the price of the new M4 MacBook Air series, in both 13″ and 15″ display sizes, and in a variety of RAM, SSD storage, and color configurations (Sky Blue, Midnight, Starlight, Silver). The M4 MacBook Air features an M4 chip with Apple Intelligence support, LCD display in 13″ … Read More ⌘ Read more

⤋ Read More

Huge System Data Filling Storage on Your Mac? 7 Possible Fixes
Many Mac users are reporting that “System Data” is taking up huge amounts of disk storage capacity on their Macs. While this issue is reported more commonly with MacOS Sequoia, some users find the bloated System Data storage on older versions of MacOS as well. In many cases, the “System Data” in MacOS is taking … Read More ⌘ Read more

⤋ Read More

[$] The future of Flatpak
At the Linux Application\
Summit (LAS) in April, Sebastian Wick said that, by many metrics, Flatpak is doing great. The Flatpak
application-packaging format is popular with upstream developers, and
with many users. More and more applications are being published in the
Flathub application store, and the
format is even being adopted by Linux distributions like
Fedora. However, he worried that work on the Flatpak project itself
had s … ⌘ Read more

⤋ Read More

Introducing k0rdent v0.3.0: Smarter observability, smoother operations
In my previous blog I wrote a detailed version describing how k0rdent eases platform engineering at scale. For those of you who are unaware, k0rdent is a Kubernetes-native distributed container management environment (DCME) designed to help… ⌘ Read more

⤋ Read More

[$] Faster firewalls with bpfilter
From
servers in a data center to desktop computers, many devices
communicating on a network will eventually have to filter network
traffic, whether it’s for security or performance reasons. As a result,
this is a domain where a lot of work is put into improving performance:
a tiny performance improvement can have considerable gains.
Bpfilter is a
project that allows for packet filtering to easily be done with BPF, which can
be faster than other mechanisms. ⌘ Read more

⤋ Read More

Apple Music Gets New Transfer Tool to Make Switching From Spotify Easier
Apple this week introduced a new feature designed to allow prospective Apple Music users to import their saved music and playlists from third-party music services to ‌Apple Music‌.

Image

The feature is either in an expanded testing phase or it has started rolling out, and it is available in Australia and New Zealand acco … ⌘ Read more

⤋ Read More

Announcing Kyverno Release 1.14!
TL;DR We are excited to announce the release of Kyverno 1.14.0, marking a significant milestone in our journey to make policy management in Kubernetes more modular, streamlined, and powerful. This release introduces two new policy types… ⌘ Read more

⤋ Read More

Using AI to build a tactical shooter
This video demonstrates a nice mental model of how to structure AI assisted programming for building prototypes (planning stage and implementation stage), how to increase speed by varying the input (audio vs. text), along with different smaller tactics to improve the process.

Comments ⌘ Read more

⤋ Read More
↳ In-reply-to » RIP GitHub https://github.blog/changelog/2025-05-08-updated-rate-limits-for-unauthenticated-requests/

@bender@twtxt.net Basically the way I’m reading this is 1 RPM. This is a rather aggressive rate limit actually. This basically makes Github inaccessible and useless for basically anything unless you’re logged in. You can basically kiss “pursuing” casually, anonymously goodbye.

Imagine if I imposed that kind of rate limit on twtxt.net?! 🤣

⤋ Read More

Security updates for Wednesday
Security updates have been issued by AlmaLinux (emacs, firefox, gnutls, java-17-openjdk, java-21-openjdk, osbuild-composer, python39:3.9, and thunderbird), Arch Linux (screen), Debian (varnish), Fedora (chromium), Gentoo (Atop, FreeType, and Spidermonkey), Mageia (java-1.8.0-openjdk, java-11-openjdk, java-17-openjdk, java-latest-openjdk and postgresql15, postgresql13), Oracle (389-ds-base, emacs, firefox, kernel, libsoup, libtiff, mod_auth_openidc:2.3, nodejs:20, nodejs:22, … ⌘ 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

Trump just uttered the most despicable lie pushed by GOP in decades
Thom Hartmann,  Contributing Writer  -  Raw story | Commentary

Stephan: Although Trump is a terrible multi-bankrupt businessman, as I have pointed out repeatedly, he has real skill with lying and manipulating media to focus on fake or irrelevant stories to avoid attention on the real stories. Thom Hartmann explains what I mean very well.

![](https://www.schwartzreport.net/wp-content/upl … ⌘ Read more

⤋ Read More

Xi Jinping’s defiance against Donald Trump paid off for China: Report
News Staff,    -  Hindustan Times (India)

_Stephan: In my view, the Chinese have played Donald Trump like a flute in the trade war crisis he created. I don’t know why corporate media hardly mentions that Trump has gone bankrupt six times; he couldn’t even make a success of a gambling casino. He is a terrible businessman. What he does understand is how to manipulate American media with big … ⌘ Read more

⤋ Read More

Crossing the U.S. Border? Here’s How to Protect Yourself
Nikita Mazurov ,    -  The Intercept

_Stephan: I live up near the Canadian border and a lot of people I know go back and forth between the U.S. and Canada, and a number own properties in Canada. Today I got a very disturbing email from a reader who had been up in Canada and drove back down with a Canadian friend who has family in Burlington. When they got to the border, the border guards, who were very confrontatio … ⌘ Read more

⤋ Read More

10 Human Inventions That Are Rewriting the Future
Watching the local news in most parts of the world might lead one to believe that we’re completely surrounded by disaster, conflict, and societal decline. Bad news dominates the headlines because it demands our attention. However, it rarely tells us the full story of what’s happening across the planet. Behind the scenes, countless scientists, engineers, […]

The post [10 Human Inventions That Are Rewriting the Future](https://listver … ⌘ Read more

⤋ Read More

En France, les prisons sont solubles dans la politique
La prison, vraiment, c’est trop pénible ! Et puis, en France, les prisons sont trop pleines, comme une boîte qui déborde. Alors un gentil rapport explique que pour faire de la place, on devrait laisser sortir un peu plus tôt certains détenus, sauf bien sûr les méchants qui ont fait des choses très très graves. Et […] ⌘ Read more

⤋ Read More

Nginx 主從最全詳解 -圖文全面總結-
大家好,我是 mikechen 睿哥。Nginx 是大型架構的必備中間件,下面我就全面來詳解 Nginx 主從 @mikechenNginx 主從Nginx 主從配置的核心是利用冗餘備份和故障轉移機制,通過 Keepalived 等工具實現 VIP 的管理和切換,從而確保 Web 服務的高可用性。整體架構,如下圖所示:配置兩臺或多臺 Nginx 服務器,其中一臺作爲主服務器,負責處理主要的 Web ⌘ Read more

⤋ Read More