How does heat kill? It confuses your brain. It shuts down your organs. It overworks your heart.
As temperatures and humidity soar outside, what’s happening inside the human body can become a life-or-death battle decided by just a few degrees. ⌘ Read more

⤋ Read More

In (old, pre-compositor) X11, windows were rectangles on screen. Every normal X11 client could query all windows and their positions. Tools like slop were easy to implement: You can use it to interactively select one of the windows on the screen, e.g. to make a screenshot of that window. slop just queries the window under the mouse pointer, it can then highlight it and read its position. Done. (slop includes more bloat/eyecandy, but that’s beside the point.)

Afaik, that’s not possible on Wayland. slurp exists but there is no standard way (yet?) for it to query the window tree. It’s different for each Wayland compositor. slurp’s README includes an example for Sway; for dwl you need this patch; and selecting individual windows probably does not work at all on labwc (because those guys try to stick only to established protocols/standards – an admirable goal).

This is just a small example. I think things like these slow down Wayland progress/adoption a lot. You could get a lot more done on X11 because the rules weren’t so strict. On Wayland, everything has to become an official protocol (that each compositor then has to implement individually) or it’s going to be an incompatible, unofficial, compositor-specific solution.

Both approaches have pros and cons. Wayland is much more idealistic than the “wild west” of X11. The price is that it takes a hell of a lot more time and energy to push things forward on Wayland.

⤋ Read More

Apple’s won’t release its new AI features in the EU because they don’t comply with EU privacy and competition laws
Apple has announced it’s not shipping three of its tentpole new features, announced during WWDC, in the European Union: Apple Intelligence, iPhone Mirroring, and SharePlay Screen Sharing. Ever since the introduction of especially Apple Intelligence, the company has been in hot water over the sourcing of its … ⌘ Read more

⤋ Read More

Perplexity Plagiarized Our Story About How Perplexity Is a Bullshit Machine
Experts aren’t unanimous about whether the AI-powered search startup’s practices could expose it to legal claims ranging from infringement to defamation—but some say plaintiffs would have strong cases. ⌘ Read more

⤋ Read More

Oh boi! 🤦‍♂️ I totally forgot to put this notice up, and the month has flown by so quickly! 😅 Sorry folks! Hope it’s not too late! � …
Oh boi! 🤦‍♂️ I totally forgot to put this notice up, and the month has flown by so quickly! 😅 Sorry folks! Hope it’s not too late! ⏰ for our monthly Yarn.social Online Meetup! 🤞

⤋ Read More

Human activity: A double-edged sword in the face of drought
Earth and environmental scientists have reported that, as human socio-economic activities increase, greenhouse gas emissions will rise, leading to more frequent extreme weather events such as droughts and floods. However, a research team from Pohang University of Science and Technology (POSTECH) has published a study suggesting that anthropogenic greenhouse gases might actually mitigate droughts, offering a new perspective on the impact of human ac … ⌘ Read more

⤋ Read More

My Memories Are Just Meta’s Training Data Now
Meta’s plans to use personal content posted by Facebook and Instagram users to train algorithms suggest our digital histories are being repackaged to teach AI about—and how to mimic—humanity. ⌘ Read more

⤋ Read More

Before Smartphones, an Army of Real People Helped You Find Stuff on Google
Not too long ago, services like GOOG-411, 118 118 and AQA used actual humans to answer questions with witty responses and encyclopedic knowledge. Today’s search engines could learn something. ⌘ Read more

⤋ Read More

CEO pay is rising, widening the gap between top executives and workers. What to know, by the numbers
,    -  Associated Press

_Stephan: The United States has the worst wealth inequality of any developed democracy. This grotesque inequality combined with the Citizens United Supreme Court decision which legalized bribery is why our dmoecracy hangs by a thread, and will be determined by the outcome of the election in November. Bu … ⌘ Read more

⤋ Read More

Yes in God’s backyard? This housing solution may be the answer to your prayers.
Rachel M. Cohen,  Staff Writer  -  Vox

Stephan: Here is the latest on some good news about homelessness SR has been covering.  It offers an example of how real Christians, as opposed to christofascists, behave and seek to foster social wellbeing.

Image

_A rendering of Bethel AME’s new housing compl … ⌘ Read more

⤋ Read More

Four Out of Five People Want Increased Climate Action, UN Poll Says
Cristen Hemingway Jaynes,  Contributing Writer  -  EcoWatch

Stephan: Here is some more good news. It is clear that the collective consciousness of humanity is shifting; people are beginning to realize much more needs to be done to prepare for what climate change is doing. I hope we see this same awareness in the upcoming election.

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

⤋ Read More

Enhancing the performance of proton exchange membrane water electrolysis by constructing electron/proton pathways
The proton exchange membrane electrolysis of water (PEMWE) is a critical process for hydrogen generation. However, the limited ability of electrons and protons to permeate the membrane and the inefficient arrangement of the transport structure in the catalyst layer (CL) presents significant obstacles to the widespread adoption of PEMWE. ⌘ Read more

⤋ Read More

在 Rust 中使用 SQLX 集成 SQLite 數據庫
SQLite 是一個 c 語言庫,它實現了一個小型、快速、自包含、高可靠性、全功能的 SQL 數據庫引擎,與 Rust 的安全性和性能非常匹配。sqlx crate 是一個很棒的工具,可以提供到各種數據庫 (包括 SQLite) 的異步連接。sqlx 的美妙之處在於它可以在編譯時檢查 SQL 查詢語句以及它與 Rust 異步特性的兼容。在這篇文章中,我們將探索如何使用 sqlx 將 Rust 與 ⌘ Read more

⤋ Read More

PocketBase:一體化的開源 Go 語言實時後端
PocketBase 是一個開源的實時後端解決方案,採用單一文件的形式進行分發。它由嵌入式數據庫 (SQLite) 和實時訂閱功能組成,提供了開箱即用的文件和用戶管理功能、方便的管理儀表板 UI 以及簡單的 REST 風格 API。本文將深入探討 PocketBase 的功能、安裝、示例代碼和一些高級的應用技巧。主要特性—-嵌入式數據庫PocketBase 內嵌 SQLite 數據庫,這意味着 ⌘ Read more

⤋ Read More

提高系統的併發能力方案
面試中經常會被問到如何提高系統的併發能力,針對此問題我整理如下的提高系統併發能力的方案: (1)分流方案:常見的的方案有負載均衡、數據庫拆分 / 集羣、消息隊列(2)導流方案:緩存、CDN(3)系統自身優化:數據庫優化、代碼優化(4)增加資源:增加服務器、CPU、內存等硬件資源1、分流方案——負載均衡    使用負載均衡技術可以將請求分發到多個服務器上進行處理,從而提高系統的併發處理能力 ⌘ Read more

⤋ Read More

Go: 使用依賴注入實現 Gin 框架路由處理函數的解耦
在 Go 語言開發中,Gin 是一個非常流行的 Web 框架。其輕量級、高性能的特點,使其成爲許多開發者的首選。然而,在實際項目中,隨着業務邏輯的複雜化,我們往往會遇到代碼耦合嚴重、測試困難等問題。依賴注入(Dependency Injection, DI)是一種有效的解耦手段,能夠幫助我們實現代碼的高內聚、低耦合,從而提升代碼的可維護性和可測試性。本文將探討如何在 Gin 框架中使用依賴注入來解 ⌘ Read more

⤋ Read More

長文梳理!近年來 GPT 系列模型的發展歷史:從 GPT-1 到 GPT-4o(前世、今生)
引言–隨着 ChatGPT 的發佈,大語言模型的關注度和數量都在不斷上升, 它引領了人類進入了大模型時代,並且隨着一輪一輪的迭代,最新模型已經進化到了 GPT-4o。在衆多大語言模型中,GPT 系列因其代表性而備受關注,其發展歷程和技術革新值得深入探討。那麼今天帶大家回顧一下近年來 GPT 系列模型的發展。【參考中國人民大學《大語言模型》】GPT 系列模型的基本原理是訓練模型學習恢復預訓練文本數 ⌘ Read more

⤋ Read More

Go:執行跟蹤變得更加強大
簡介Go 語言的 runtime/trace 包含一個強大的工具,用於理解和排查 Go 程序。其中的功能允許跟蹤每個 goroutine 在一段時間內的執行情況。然後,使用 go tool trace 命令(或優秀的開源工具 gotraceui)可以可視化和探索這些跟蹤中的數據。跟蹤的魔力在於,它可以輕鬆地揭示程序中其他方式難以看到的東西。例如,在 CPU 概要文件中很難看到併發瓶頸,因爲沒有要採 ⌘ Read more

⤋ Read More

分庫分表最全詳解 -圖文全面總結-
大家好,我是 mikechen。分庫分表是大型架構的必備技能,也是大廠重點考察的對象,下面我就全面來詳解分庫分表 @mikechen分庫分表分庫分表是數據庫設計、和管理中的一種策略,主要解決隨着數據量、和併發訪問量的增加而帶來的性能、和擴展性問題。分庫分表,主要就是兩種常用手段:“分庫”、和 “分表”。如下圖所示:分庫(Database Sharding): 將數據按照某種規則,分散到多個獨立的數 ⌘ Read more

⤋ Read More

Go singlefight 源碼詳解
寫在前面 通俗的來說就是 singleflight 將相同的併發請求合併成一個請求,進而減少對下層服務的壓力,通常用於解決緩存擊穿的問題。詳解基礎結構—-golang.org/x/sync/singleflight singleflight 結構體:type call struct { wg sync.WaitGroup // 這些字段在 WaitGroup 結束前寫入一次 // 只有在 W ⌘ Read more

⤋ Read More

iOS 18 Expands Convenient AirPods-Like Pairing to More Bluetooth and Wi-Fi Accessories
During its WWDC 2024 keynote last week, Apple announced that iOS 18 and iPadOS 18 will let apps offer AirPods-like pairing for more Bluetooth or Wi-Fi accessories.

Image

In apps that implement this new pairing process, users would be able to … ⌘ Read more

⤋ Read More

New computational tool helps interpret AI models in genomics
Artificial intelligence continues to squirm its way into many aspects of our lives. But what about biology, the study of life itself? AI can sift through hundreds of thousands of genome data points to identify potential new therapeutic targets. While these genomic insights may appear helpful, scientists aren’t sure how today’s AI models come to their conclusions in the first place. Now, a new system named SQUID arrives on the scene, armed to pry open AI’s … ⌘ Read more

⤋ Read More