Go 1-22 提供的更加強大的 Tracing 能力
本文是由 Go Team 的 Michael Knyszek 在 2024 年 3 月 14 日發表於 go official blog,原文地址:https://go.dev/blog/execution-traces-2024runtime/trace packageruntime/trace
zig-rust - 新物種的對比
Zig 和 Rust 都是現代編程語言,它們都因注重安全性和性能而備受關注,但它們有着不同的理念和設計目標。很多開發者都對二者有濃厚的興趣,我們來了解下 Zig 和 Rust 這兩個新物種之間的差別。語言理念和目標Rust 的設計目標是在不犧牲性能的前提下提供內存安全性。Rust 的目標是成爲編寫大型系統和應用程序的實用語言,重點關注零成本抽象、安全性和併發性。 Zig 的設計則簡單明瞭。Z ⌘ Read more
Nginx 反向代理最全詳解 -圖文全面總結-
大家好,我是 mikechen。Nginx 反向代理大型網站必備的,也是大廠經常考察的,下面我就全面來詳解 Nginx 反向代理 @mikechen正向代理正向代理最大的特點是:客戶端非常明確要訪問的服務器地址,服務器只清楚請求來自哪個代理服務器,而不清楚來自哪個具體的客戶端,正向代理模式屏蔽或者隱藏了真實客戶端信息。例如:在大陸訪問 www.google.com,我們需要一個代理服務器,我們通過 ⌘ Read more
10 萬行數據耗時 500 毫秒,使用 rust 的 nom 框架實現時序數據庫協議解析 -下-
table data-sort=“sortDisabled” width=“578”tbodytrtd valign=“top” align=“center” width=“577” class=““strongnom 解析時序數據庫協議/strong/td/tr/tbody/table上回我們瞭解了 nom 框架的原理及核心的解析器,這一回我們使用 nom 解析時序數據庫協議,鞏固和提升對 no ⌘ Read more
新手挑戰一小時學一種 Rust 框架之解析框架 nom —— 實現時序數據庫協議解析(上)
table data-sort=“sortDisabled” width=“578”tbodytrtd valign=“top” align=“center” width=“577”sectionstrongnom 簡介/strong/section/td/tr/tbody/tablenom 是一個通用的協議解析框架,提供了通用的解析算子和組合器,聚焦於安全的、零拷貝的、面向流模式的強大解析功能。 ⌘ Read more
North Korea’s latest missile test appears to have failed, South Korean military says ⌘ Read more
分佈式事務設計與實踐
異步消息隊列:用於在服務之間傳遞事務信息和狀態,確保各服務可以異步地處理事務操作。 事務協調器:負責協調和管理全局事務的狀態,包括提交和回滾操作。 補償機制:在事務失敗時,通過補償操作來回滾或修復之前的操作,以保證數據的一致性。 設計步驟1. 事務初始化事務發起者:事務開始時,由事務發起者(例如用戶請求服務)向事務協調器發起一個全局事務。 事務 ID:事務協調器生成一個全局 ⌘ Read more
1 號店的抽獎系統架構實踐(限流削峯到性能優化)
你好,我是悟空。————抽獎是一個典型的高併發場景應用,平時流量不多,但遇到大促活動,流量就會暴增,今年的週年慶期間的日均 UV 就超過百萬。在過去的一年裏,負責過這個項目的多次重構工作,期間各種踩坑無數,就以此文當做總結,來聊聊我們是如何架構這個高併發系統吧。————————————————————- ⌘ Read more
Go 設計模式:責任鏈和函數選項,讓你的代碼更優雅!
最近接觸到越來越多有歷史 “沉澱” 的 Go 項目,深感設計模式和及時干預的重要性。近期會分享一些設計模式,一起學習代碼設計!今天的分享的設計模式是:責任鏈和函數選項模式。在日常程序裏是比較常用的。很多開源庫中也有使用。責任鏈模式—–責任鏈模式(Chain of Responsibility Pattern)是一種行爲設計模式,它允許對象將請求沿處理程序鏈進行傳遞。程序鏈既可以處理請求,也可 ⌘ Read more
系統設計:設計類似 WhatsApp 的應用
在這個系統設計場景中,我們被要求設計一個類似 WhatsApp 的消息應用程序。雖然在實際的討論中可能會重點討論該應用程序的一個或多個功能,但在本文中,我們將對系統的架構進行一個高層次的概述,然後可以根據需要深入探討具體的領域。明確功能需求通過向業務方提問來縮小範圍,因爲在一個小時內設計整個 WhatsApp 平臺是不現實的:• 主要用例: 該應用的主要目的是發送、檢查和接收消息,以及閱讀和標記消 ⌘ Read more
Htmx 2-0 發佈:用易懂的 HTML 屬性取代複雜 JavaScript 框架
作者 | Tim Anderson譯者 | 王強策劃 | Tina用於擴展 HTML 規範的 Htmx 項目發佈了 2.0 版,這是該項目自 2020 年 11 月 發佈 1.0 版以來的第一個主要版本。Htmx 2.0 取消了對 Internet Explorer 的支持,並將擴展項移出了核心存儲庫,這樣每個擴展都可以按照自己的節奏發佈更新了。新版本還刪除了一些已棄用的屬性,並將 HTTP DE ⌘ Read more
(#amokjeq) I’ll fix the URL in the repo later but the right URL is:
I’ll fix the URL in the repo later but the right URL is: https://tunesnap.mills.io/ ⌘ Read more
(#amokjeq) @bender@bender Err sorry wrong URL 🤣 It was late 😅
@bender Err sorry wrong URL 🤣 It was late 😅 ⌘ Read more
(#ze2epsq) @slashdot That’s amazing news for LLMs and efficiency 🥳
@slashdot @feeds.twtxt.net That’s amazing news for LLMs and efficiency 🥳 ⌘ Read more
Russia drops new deadly 3000kg glide bomb as hopes for Ukraine ceasefire snag ⌘ Read more
The plants bees need to maintain a healthy diet have been revealed
As critical pollinators, bees keep our agricultural systems going—but human-caused changes to the planet heavily impact their foraging options. To help protect our food security, we need more information about bees’ own dietary requirements. Scientists writing in Frontiers in Sustainable Food Systems have studied the nutritional value of 57 types of pollen and found that bees need to forage from a variety of plants to balance their diet bet … ⌘ Read more
Cuprate Meeting scheduled for 2 July 2024 1800 UTC
The next Cuprate Meeting is scheduled1 take place on Tuesday, July 2 2024 at 18:00 UTC on IRC-Libera/Matrix2 in the #cuprate channels.
Agenda overviewCuprate is an effort to create an alternative Monero node implementation.
Greetings
Updates: What is everyone working on?
Project: What is next for Cuprate?
Any other business
The meeting’s moderator should be boog9003. Consult the Cuprate code repository[4](# … ⌘ Read more
Monero Research Lab meeting scheduled for 3 July 2024 1700 UTC
The next Monero Research Lab1 meeting is scheduled to take place on Wednesday, July 3rd 2024 at 17:00 UTC on IRC-Libera/Matrix2 in the #monero-research-lab channels.
- Updates. What is everyone working on?
- Potential measures against a black marble attack3
- Research Pre-Seraphis Full-Chain Membership Proofs4
- Stress testing monerod5
This meeting’s chairperso … ⌘ Read more
**
umbrelOS adds Monero support: ‘Welcome to the official app store’
Home cloud operating system umbrelOS 1 has added support for running a full Monero node2 by merging deverickapollo3’s app store submission (PR #6904):
Well done @deverickapollo! This is good to go from a packaging perspective. Welcome to the official app store 🎉
The Monero Node application can be found in the official App Store5 and is compatible with umbrelOS 0.5+.
_This is an ongoing story and … ⌘ Read more
spackle-xmr publishes first progress report for Monero ‘Stressnet’ project
spackle-xmr1 has published the first progress report2 for the Monero Stressnet 3 project one week after stress testing began (June 19th @ 15:00 UTC):
The first week has been a wild ride, and there is a lot to share.
**
Putin Ally’s Kids Suspected in Synagogue Shooting Massacre ⌘ Read more
Of Psion and Symbian
As cool as the organizer was, it was extremely limited in pretty much every way. Psion had got many things right in the first go, as reviewers were quick to admit, and that made iterating on the design somewhat easy. The Organiser II CM released in 1986 was built on the Hitachi HD6303X (Motorola 6803) clocked at 920kHz with 8K RAM and 32K ROM. The screen was a much improved dot matrix LCD with two lines of sixteen characters. This version also shipped with a little piezo beeper built in, a … ⌘ Read more
Russia sentences 15-year-old schoolboy to 5 years for criticizing Putin regime and war against Ukraine ⌘ Read more
AirPods and Beats Firmware Updates Address Important Security Issue
While Apple’s release notes for AirPods firmware typically offer few details on included changes, the company has published a separate support document outlining a security issue that was fixed in today’s firmware updates for AirPods, [AirPods Pro](https://www.macrumors. … ⌘ Read more
The 29 Best Shows on Apple TV+ Right Now (July 2024)
Constellation, Presumed Innocent, and a Steve Martin documentary are among the best shows on Apple TV+ this month. ⌘ Read more
A little improv on double bass with a live echo effect, turned out better than expected:
https://movq.de/v/0a0969059a/2024-06-25–19-59-29–58376.ogg
Still a noob, but I can see some progress and I enjoy playing very much. 😊
(Use headphones, probably sounds like crap otherwise.)
Finland to start bird flu vaccinations for humans, in world first ⌘ Read more
Biden administration moves toward allowing American military contractors to deploy to Ukraine ⌘ Read more
Trump reportedly considering plan to stop Ukraine aid unless Kyiv agrees to surrender occupied territories to Russia ⌘ Read more
Motorola Razr and Razr+ (2024): Specs, Features, Price, Release Date
Celebrating the 20th anniversary of the original Razr, Motorola has two new folding flip phones—and Paris Hilton is back to hype ‘em up. ⌘ Read more
Looking ahead to 30 years of FreeDOS
In a few days, 29 June, FreeDOS will turn 30. This happens to make it one of the oldest, continuously active open source projects in the world, originally created because Jim Hall had heard Microsoft was going to kill DOS when the upcoming Windows 95 was going to be released. After seeing the excitement around Linux, he decided it an open source DOS would be a valuable time investment. I still used DOS, and I didn’t want to stop using DOS. And I looked at wh … ⌘ Read more
Microsoft charged with EU antitrust violations for bundling Teams
The European Commission has informed Microsoft of its preliminary view that Microsoft has breached EU antitrust rules by tying its communication and collaboration product Teams to its popular productivity applications included in its suites for businesses Office 365 and Microsoft 365. ↫ European Commission press release Chalk this one up in the unsurprising column, too. Teams has infested Office, and … ⌘ Read more
We’ve Spent Hours Reading and These Are Our Favorite E-Readers
These WIRED-tested slates let you take the world’s library anywhere. ⌘ Read more
(#amokjeq) This was built over a day or so as a tool so i didn’t have to keep helping my neighbor with fixing a Bash script I wrote 🤣 It was …
This was built over a day or so as a tool so i didn’t have to keep helping my neighbor with fixing a Bash script I wrote 🤣 It was also an excuse to try Beer CSS and htmx for real in anger on a fresh new project 👌 The result has turned out quite nicely! 😍 ⌘ Read more
prologic/tunesnap: tunesnap is a web application for downloading, extracting and encoding the audio tracks of videos into downloadable audio. - …
prologic/tunesnap: tunesnap is a web application for downloading, extracting and encoding the audio tracks of videos into downloadable audio. - tunesnap - Mills ⌘ Read more
Big majority of Canadian Gen Z, millennials support values-testing immigrants ⌘ Read more
(#53qbb2a) @bmallred Also holy crap! 💩
@bmallred @staystrong.run Also holy crap! 💩 ⌘ Read more
(#v3vqhxq) @bmallred Holy crap dude! 😳 That’s insane! Well done 👍
@bmallred @staystrong.run Holy crap dude! 😳 That’s insane! Well done 👍 ⌘ Read more
Microsoft Faces EU Charges Over ‘Abusive’ Bundling
The European Union has issued competition charges against Microsoft, accusing it of illegally linking Teams with Office. ⌘ Read more
‘Local rebellion’: Gazans attempt to stop Hamas from firing at Israel, IDF source says ⌘ Read more
Dollars and scents: How the right smells can encourage shoppers to buy healthier foods
Imagine walking down the aisle of your local grocery store. The scent of mixed herbs catches your attention, mentally transporting you to a kitchen filled with the aroma of your favorite home-cooked meal. ⌘ Read more
Linner Mars Review: Great Hearing Aids for Streaming Media
These hearing aids are excellent for media streaming and offer more than you’d expect at their $400 price. ⌘ Read more
Tropf-Blumat Watering System Review: Key to My Gardening Success
Need an irrigation setup for challenging patios and container gardens? This unique kit may be the solution. ⌘ Read more
Trust Machine Dockerlabs.es ⌘ Read more
SQLi WAF Bypass Techniques Part 1 — Time-Based Attacks ⌘ Read more
Here Is Another Way To Secure Your Browser ⌘ Read more