🌘 修復 Enlightenment E16 中存在了 20 年的臭蟲
➤ 歷史程式碼中的數學陷阱:當牛頓法失效時
https://iczelia.net/posts/e16-20-year-old-bug/
作者 Kamila Szewczyk 是一位 Enlightenment E16 視窗管理器的愛好者。她在處理 PDF 文件時,發現當視窗標題過長需要進行自動截斷(ellipsis truncation)時,視窗管理器會陷入無限迴圈導致桌面凍結。經過深入排查與 GDB 偵錯,她發現問題源於該軟體中一段類牛頓法(Newton’s method)的演算法實作。由於該演算法缺乏迭代上限且在特定寬度下會產生震盪,導致程式無法退出迴圈。作者透過引入迭代次數限制、修正邊界條件並加入防禦性判斷,成功修復了這個潛藏長達 20 年的臭蟲。
+ 這種因為數值演算法震盪導致的無限迴圈在古老的 C 語言程式碼中真的很常見,作者除錯的能力令人佩服。
+ 果然是「能跑就不要動」的程式碼,沒想到 20 年後會因為一個長檔名而崩潰,
#Linux #開源軟體 #除錯 #Enlightenment E16
Fixing a 20-year-old bug in Enlightenment E16.

The editor in chief of this blog was born in 2004. She uses the 1997 window manager, *Enlightenment E16*, daily. In this article, I describe the process of fixing a show-stopping, rare bug that dates back to 2006 in the codebase. Surprisingly, the issue has roots in a faulty implementation of Newton's algorithm!

Kamila Szewczyk
Fixing a 20-year-old bug in Enlightenment E16.

The editor in chief of this blog was born in 2004. She uses the 1997 window manager, *Enlightenment E16*, daily. In this article, I describe the process of fixing a show-stopping, rare bug that dates back to 2006 in the codebase. Surprisingly, the issue has roots in a faulty implementation of Newton's algorithm!

Kamila Szewczyk

#meditation #reflection #knowledge #enlightenment

Beauty is not in the face. Beauty is in the light of the heart."

Khalil Gibran.

AWARE - Videos That Alter Your World View
Dancing with Enlightenment, video edition. Information that might take you outside of your comfort zone and social mores. PROCEED WITH CAUTION
https://youtube.com/playlist?list=PLM1kyOAO_kDYjIa0xC0s0CIGbHdqfyLPj&si=hk9wJy_5krnzrI0c&utm_source=dlvr.it&utm_medium=mastodon #Awareness #PersonalGrowth #Enlightenment #Mindfulness #SelfDiscovery #Courage #Inspiration #ChangeYourPerspective
Why meaningful days look like a 404 error: Because life’s greatest moments are best spent staring at #CAPTCHA challenges and Firewalls. 🤦‍♂️✨ If #enlightenment is one cookie click away, count me out. 🍪🚫
https://pilgrima.ge/p/the-grand-line #meaningfuldays #404error #digitalwellbeing #cookieclicks #HackerNews #ngated
The Grand Line

On bronze pirates, cloudy days, and the roads we do not know we are walking

The Pilgrim Age

Así se ve al día de hoy la vieja iMac a la que le hemos dado nueva vida mi hija y yo. Ya tiene totalmente reemplazado el MacOS 10.13.6 (en el que estaba atorada) con #BodhiLinux 7.0, que usa el entorno #MokshaDesktop, una derivación de #Enlightenment.

Espero que Bodhi continúe y actualice su sistema base a una versión más reciente de Ubuntu (hoy en día sigue en la 22.04). Aunque así como está, nos permite instalar aplicaciones esenciales en su versión más actual para las tareas escolares de mi hija, como Firefox y LibreOffice.

#ViernesDeEscritorio #DesktopFriday #GNU #Linux #ObsolescenciaPostergada

☸️ Taking Pleasure (A free, 1-page sutta translation from 2018)

Tags: #Enlightenment #BuddhaQuotes #Desire
https://buddhistuniversity.net/content/canon/sn22.29

SN 22.29 Abhinandana Sutta: Taking Pleasure

If you take pleasure in consciousness, you take pleasure in suffering.

The Open Buddhist University

“arise” poem
(written a year ago)

… read at:
<https://bwer432.wordpress.com/2025/04/19/arise/>
#poem #enlightenment #grace #love

arise

our patterninherited from imagein which we’re instantiatedlet us follow unfluctuated forget the false featuresof fear, frailty, and fleshlet these fall awayeach moment of every day for intrinsic wi…

beyond the event horizon
Transcending life and death is leaving home. Not suffering another existence is reaching the Way. Not creating delusions is enlightenment. Not engaging in ignorance is wisdom. No affliction is nirvana. And no appearance of the mind is the other shore.
~Bodhidharma, Wakeup Sermon
#zen #enlightenment #ignorance #nirvana