🧮 USERS:1 FEEDS:2 TWTS:856 ARCHIVED:69871 CACHE:2289 FOLLOWERS:14 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:855 ARCHIVED:69866 CACHE:2286 FOLLOWERS:14 FOLLOWING:14
iOS 15.8.1 & iPadOS 15.8.1 Security Updates Released for Old iPhone, iPad, iPod Touch
Apple has released security updates to old model iPhone, iPad, and iPod touch devices running iOS 15 and iPadOS 15. Yes, you read that correctly and you do not need to check your calendar (or your eyes), iOS 15.8.1 and iPadOS 15.8.1 are new releases of system software for old hardware. iOS 15.8.1 and iPadOS … [Read More](https://osxdaily.com/2024/01/23/ios-15-8-1 … ⌘ Read more
Pinellas County - 5 x 1mi [1’30”]: 7.66 miles, 00:08:52 average pace, 01:07:54 duration
during the warm-up my legs felt so heavy. the first interval was a bit rough with the legs, but each afterwards was smooth. did not actually feel too hard which is a great sign i think.
#running
golang 中如何使用 kafka
Kafka 是一種備受歡迎的流處理平臺,具備分佈式、可擴展、高性能和可靠的特點。在處理 Kafka 數據時,有多種最佳實踐可用來確保高效和可靠的處理。本文將介紹這些實踐方法,並展示如何使用 Sarama 來實現它們。Kafka 消費的最佳實踐取決於你的使用場景和需求,以下是一些建議:1 使用 Consumer Group: 在生產環境中,建議使用 Consumer Group,這樣可以確保多個消費 ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:854 ARCHIVED:69854 CACHE:2286 FOLLOWERS:14 FOLLOWING:14
DietPi January 2024 news (version 9.0)
DietPi’s latest release, version 9.0, rolled out today, marks a significant update for the lightweight Linux OS, renowned for its efficiency on single-board computers. This release phases out support for the older Debian Buster version, introduces compatibility with the new 1.5 GB Orange Pi Zero 3, and brings several enhancements and bug fixes across the […] ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:853 ARCHIVED:69849 CACHE:2287 FOLLOWERS:14 FOLLOWING:14
groupcache_exporter - Easily export groupcache metrics in Prometheus format
1 points posted by Everton Marques ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:852 ARCHIVED:69835 CACHE:2282 FOLLOWERS:14 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:851 ARCHIVED:69819 CACHE:2281 FOLLOWERS:14 FOLLOWING:14
Ignite Realtime Blog: HTTP File Upload plugin 1.4.0 released
The HTTP File Upload plugin is a plugin for Openfire that allow users to easily share files (such as pictures) in a chat
A new release is now available for this plugin: version 1.4.0.
This release introduces a couple of interesting security improvements:
- an additional guard has been added that should prevent scripts embedded in data to be executed without the recipient’s approval
- It is now possible to configure a viru … ⌘ Read more
Ignite Realtime Blog: Presence Service plugin v1.7.2 release
The Presence Service plugin is a plugin for Openfire. It provides a service that provides simple presence information over HTTP. It can be used to display an online status icon for a user or component on a web page or to poll for presence information from a web service.
A new release is now available for this plugin: version 1.7.2.
In this release, an incompatibility with the recently released Openfire 4.8.0 was fixed. Als … ⌘ Read more
原來可以這麼使用 Protobuf
*1. Protobuf 簡介1.1 Protobuf 是什麼Protocol Buffers (簡稱 Protobuf) 是 Google 公司開源的一種輕便高效的結構化數據存儲格式, 以及用於序列化和反序列化結構化數據的代碼生成器。它可以用於通訊協議和數據存儲等領域。Protobuf 是以 .proto 文件形式定義結構化數據的方式和格式。並且通過代碼生成器生成各平臺 (Java、C++、Py ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:850 ARCHIVED:69811 CACHE:2290 FOLLOWERS:14 FOLLOWING:14
Vysoká delegácia HKV navštívila DEM Kulpín
Predseda Hospodárskej komory Vojvodiny (HKV) Boško Vučurević so sekretármi pre hospodárstvo a Poľnohospodárstvo Zoranom Trpovskim a Mladenom Petkovićom a tajomníčkou pre médiá Kristinou Đogo navštívili spoločnosť DEM doo z Kulpína. Tento vzorný rodinný podnik sa zaoberá výrobou múky a mlynárskych výrobkov, tiež nudlí a zamestnáva vyše 100 robotníkov. Pri príležitosti 105 rokov Hospodárskej komory Vojvodiny na slávnosti 1. februára … ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:849 ARCHIVED:69806 CACHE:2291 FOLLOWERS:14 FOLLOWING:14
Go 插件機制詳解:原理、設計與最佳實踐
*1. Go 語言插件基礎1.1 插件概述插件是一種動態加載的代碼單元, 它可以在程序運行期間被動態加載和掛接到主程序上, 從而擴展主程序的功能。Go 語言從 1.8 版本開始, 通過 plugin 包提供了對插件的初步支持。利用插件, 可以在不需要重新編譯主程序的情況下, 動態地擴展主程序的功能, 做到高內聚低耦合。1.2 插件的定義和結構從實現上看, Go 語言的插件就是一個獨立編譯的 dyn ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:848 ARCHIVED:69796 CACHE:2309 FOLLOWERS:14 FOLLOWING:14
IN MEMORIAM: Ján Čáni
Mgr. art. Ján Čáni, ArtD. (11. 2. 1971, Nový Sad – 15. 1. 2024, Báčsky Petrovec) bol diplomovaný divadelný režisér (VŠMU – 1995, Akademija dramskih umetnosti, Beograd – 2000) a doktor dramatických umení (Vysoká škola múzických umení v Bratislave – 2004, Univerzitet u Novom Sadu – 2010). Pôsobil v profesionálnom divadle (Bratislava, Kragujevac a Báčsky Petrovec) a ochotníckom divadle (Brezno, Lapovo, Kovačica, Erdevík, Hložany a Báčsky Petrovec). Bol účastníkom profesionálny … ⌘ Read more
Go 1-18 泛型全面講解:一篇講清泛型的全部
序2022 年 3 月 15 日,爭議非常大但同時也備受期待的泛型終於伴隨着 Go1.18 發佈了。可是因爲 Go 對泛型的支持時間跨度太大,有非常多的以 “泛型” 爲關鍵字的文章都是在介紹 Go1.18 之前的舊泛型提案或者設計,而很多設計最終在 Go1.18 中被廢棄或發生了更改。並且很多介紹 Go1.18 泛型的文章 (包括官方的) 都過於簡單,並沒對 Go 的泛型做完整的介紹,也沒讓大家意 ⌘ Read more
Golang 實現程序優雅退出的方法有哪些?
在 Go 語言中,實現程序的優雅退出是一項重要的任務,特別是在涉及到 HTTP 服務器、gRPC 服務器、以及其他後臺工作的情況下。以下是一些常見的平滑關閉方法:1. HTTP Server 平滑關閉Go 1.8 及以上版本提供了 http.Server 結構的 Shutdown 方法,用於平滑關閉 HTTP 服務器。package mainimport ( ”context” ”ne ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:847 ARCHIVED:69793 CACHE:2312 FOLLOWERS:14 FOLLOWING:14
A new simple, low-overhead circuit breaker library
hoglet is a simple circuit-breaker library with low overhead and context support.
1 points posted by Leo Antunes ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:846 ARCHIVED:69788 CACHE:2341 FOLLOWERS:14 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:845 ARCHIVED:69784 CACHE:2343 FOLLOWERS:14 FOLLOWING:14
On my blog: Free Culture Book Club — Space Rover, part 1 https://john.colagioia.net/blog/2024/01/13/space-rover-1.html #freeculture #bookclub
Rust Embedded Working Group Announces Embedded-HAL v1.0
The Rust Embedded Working Group has announced a significant milestone with the release of embedded-hal version 1.0, marking a new chapter in the Rust embedded ecosystem. This release, alongside companion crates like embedded-hal-bus, embedded-hal-async, and embedded-hal-nb, represents a culmination of efforts since 2020 to stabilize and refine the embedded-hal traits. Embedded-HAL is a Rust-based framework […] ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:844 ARCHIVED:69775 CACHE:2342 FOLLOWERS:14 FOLLOWING:14
Pinellas County - 1 mile [1’30”]: 5.34 miles, 00:08:42 average pace, 00:46:26 duration
another great run. i may have pushed it a bit too hard on the last interval towards the end because i noticed my breathing had become ragged.
#running
Duo Display Series: Equipped with RP2040 and ESP32 Microcontrollers
SB-Components has recently introduced an innovative range of compact modules on Kickstarter, featuring the RP2040 and ESP32 S3 WROOM-1 microcontrollers. These devices are equipped with a 6-DoF IMU, interchangeable displays, and versatile options for storage and connectivity. The series showcases two primary models: the Dual Roundy and the Dual Squary. The Dual Roundy boasts a […] ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:843 ARCHIVED:69768 CACHE:2344 FOLLOWERS:14 FOLLOWING:14
沒想到,Go 語言垃圾回收是這樣工作的!
*1. 垃圾回收概述1.1 什麼是垃圾回收垃圾回收 (Garbage Collection,GC) 是一種自動內存管理的機制, 用於自動釋放那些不再被程序使用的內存。它的主要思想是程序在申請內存時不需要釋放, 而是由垃圾回收器在程序運行的過程中找出那些不再使用的內存並回收它們。這與 C/C++ 語言中的手動內存管理形成對比, C/C++ 程序員需要自己跟蹤內存的分配和釋放。而 Go 語言中內存的分 ⌘ Read more
FireBeetle 2 Upgraded with RISC-V Based ESP32-C6 SoC Featuring Zigbee 3.0 and Thread 1.3 Connectivity
DFRobot has announced the launch of the updated FireBeetle 2, now incorporating the latest ESP32-C6 System-on-Chip from Espressif Systems. This enhanced development board integrates standard I/Os, includes comprehensive battery support, and offers advanced connectivity options with Zigbee 3.0 and Thread 1.3. Unlike the FireBeetle 2 (ESP32-S3) … ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:842 ARCHIVED:69763 CACHE:2359 FOLLOWERS:14 FOLLOWING:14
Georg Lukas: Converse.js webchat for prosody-hosted chatrooms
The goal of this post is to make an easily accessible (anonymous)
webchat for any chatrooms hosted on a prosody XMPP
server, using the web client converse.js.
There are two use cases:
Have an easily accessible default support room for users having trouble with
the server or their accounts.Have a working “Join using browser” button on
[search.jabber.network … ⌘ Read more
Go 調用 C-C– 函數全攻略
*一、Go 語言調用 C/C++ 函數cgo 基礎及工作原理Go 語言通過 cgo 和 C 語言的 ABI(Application Binary Interface) 進行交互。cgo 會生成相應的 C 代碼, 與 Go 代碼一起編譯成可執行文件或動態庫。cgo 的工作流程主要分爲 3 步:(1) 預處理: 將 Go 源碼中的 C 代碼塊提取出來, 生成 .c 和 .h 文件(2) 編譯: 調用 ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:841 ARCHIVED:69752 CACHE:2361 FOLLOWERS:14 FOLLOWING:14
Go 運行時的併發原語
這篇文章我們來了解一下隱藏在 Go 運行時中的一些併發原語, 因爲運行時是底座和包循環依賴等原因,運行時中很少使用標準庫中的併發原語,它有自己的併發原語。mutex在 runtime/runtime2.go[1] 定義了一個互斥鎖,它的定義如下:type mutex struct { lockRankStruct key uintptr}它可是運行時中的大紅人了,在很多數據結構中都被廣泛的使用,凡 ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:840 ARCHIVED:69731 CACHE:2356 FOLLOWERS:14 FOLLOWING:14
Affordable $12.99 ESP32-S3 Gizmo with Compact USB Flash Drive Form-Factor
The Waveshare ESP32-S3 GEEK, designed as a compact and versatile embedded device, caters to both developers and hobbyists with its USB Flash drive form factor. Enhancing its functionality, this innovative gadget features a small yet interactive 1.14-inch LCD display, adding a visual component to its array of capabilities. At its core, the ESP32-S3 GEEK Board […] ⌘ Read more
一個例子,給你講透典型的 Go 併發控制
Go 中可以使用一個go關鍵字讓程序異步執行一個比較常見的場景:逐個異步調用多個函數,或者循環中異步調用func main() { go do1() go do2() go do3()}// 或者func main() { for i := range []int{1,2,3}{ go do(i) }}如果瞭解 Go 併發機制,就知道main在其他 goroutine 運行完成之前就已經結束了, ⌘ Read more
掌握 go test 命令,寫出可信賴的代碼
*1. test 命令概述在開發過程中,測試是確保代碼質量和穩定性的關鍵步驟。通過測試,可及早發現潛在的問題,確保代碼的正確性和可維護性。Go 語言提供了強大的測試工具,其中 go test 命令是一個不可或缺的利器。1.1 單元測試單元測試是驗證代碼中最小可測試單元的過程。在 Go 中,單元測試通常位於與被測試代碼相同的包中,以 test.go 結尾的文件中。go test 會執行這些文件中的測 ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:839 ARCHIVED:69718 CACHE:2353 FOLLOWERS:14 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:838 ARCHIVED:69711 CACHE:2351 FOLLOWERS:14 FOLLOWING:14
🧮 USERS:1 FEEDS:2 TWTS:837 ARCHIVED:69697 CACHE:2349 FOLLOWERS:14 FOLLOWING:14
Recovery: 1.00 miles, 00:10:29 average pace, 00:10:29 duration
假如沒有 go install,編譯會多痛苦?
*1. go install 命令簡介go install 命令是 Go 語言的標準命令, 用於編譯和安裝 Go 語言程序。1.1 命令作用及基本原理go install 命令的主要作用是編譯和安裝 Go 語言的可執行文件或庫文件。它的基本原理是: 1. 按照包依賴關係編譯傳遞進來的 main 包及其所有依賴的包 2. 鏈接必要的包生成可執行文件 3. 將生成的可執行文件拷貝到 ⌘ Read more
🧮 USERS:1 FEEDS:2 TWTS:836 ARCHIVED:69681 CACHE:2340 FOLLOWERS:14 FOLLOWING:14
Build 實戰指南:優雅編譯,高效開發
*1. Go Build 命令介紹1.1 基本語法格式Go 語言的 go build 命令用於編譯一個或多個 Go 源代碼文件,生成可執行文件或包。基本語法格式如下go build [標誌] [包名] 標誌:用於指定編譯時的選項和參數。 包名:可選,指定要編譯的包的路徑。如果省略包名,將編譯當前目錄下的所有 Go 源代碼文件。 go build 命令的工作原理包括以下步驟: 1. 分 ⌘ Read more