“How I use Kate Editor”
I love the Kate Text editor. I use it for pretty much all the programming projects I do. Kate has been around for long time now, about 20 years! At least earliest blog post for it I could find was written in 2004. I wanted to go over my workflow with it, why I like it so much and hopefully get more people to try it out. ↫ Akseli Lahtinen Programmers and developers tend to be very set in their ways and have their preferred workflows – which profession doesn’t, honestly – and since there … ⌘ Read more
There we go. Restored all the old settings 👌
good morning everyone. before going to bed last night i accidentally password protected the entirety of my biggest site superlove because i botched a refactor of my caddyfile config. lmao
Go 定時任務調度從入門到實戰
在開發後臺服務時,我們經常需要處理定時任務。例如每天凌晨備份數據、每 5 分鐘檢查服務狀態、每小時發送統計報表…這些場景都需要可靠的定時任務調度機制。Go 語言就提供了強大的定時任務處理能力,既有標準庫的基礎功能,也有企業級的第三方解決方案。一、標準庫基礎用法———1. 簡單的單次延遲任務timer := time.NewTimer(3 time.Second) // 3秒後 ⌘ Read more
Badu-bus:Go 輕量級泛型發佈 - 訂閱事件總線
badu/bus (github.com/badu/bus) 是一個 Go 語言基於泛型實現的輕量級發佈 - 訂閱(Pub/Sub)事件總線庫。它允許不同的組件通過事件機制進行解耦通信,而不需要直接調用彼此的函數。它解決了什麼問題?組件解耦:發佈者和訂閱者彼此無感知,更靈活、可擴展,便於測試。 異步消息:消息可以異步發送和接收,提高系統性能和響應速度。 模塊化:有利於將系統拆分爲更小、 ⌘ Read more
yarnd UI/UX experience (for those that use it) and as "client" features (not spec changes). The two ideas are quite simple:
#event:abc123 Go Meetup – Sat Apr 27, 3pm @ Darling Harbour
(#6kkpdda) #event:abc123 Go Meetup – Sat Apr 27, 3pm @ Darling Harbour
#event:abc123 Go Meetup – Sat Apr 27, 3pm @ Darling Harbour ⌘ Read more
yarnd UI/UX experience (for those that use it) and as "client" features (not spec changes). The two ideas are quite simple:
#poll:xyz123 Favorite Go framework?
- Gin
- Echo
- Chi
**(#6kkpdda) #poll:xyz123 Favorite Go framework?
Gin
Echo
Chi**
#poll:xyz123 Favorite Go framework?Gin
Echo
Chi ⌘ Read more
@lyse@lyse.isobeef.org You’re realling pushing it with those distances. 😅 I went for a quick 2km walk today, saw two deer, that’s it. 😅
What the heck is going on in 86.jpg? An art installation, apparently, but, uh, I wouldn’t trust that. 😂
10 Most Unique and Remote Vacation Retreats
Many times, when people go away on vacation, one of the goals is to be as far removed from civilization as possible. Seeking out secluded getaways can result in the discovery of some very exotic destinations that often feature resorts geared toward the adventurous tourist and make the most of the unusual locale. From fjord […]
The post [10 Most Unique and Remote Vacation Retreats](https://listverse.com/2025/04/20/10-most-unique-and-remote-vacat … ⌘ Read more
@movq@www.uninformativ.de Yeah 👍 Haha 🤣 Does your own cache go back this far? 🤔
(#6uo24ta) @movq@movq Yeah 👍 Haha 🤣 Does your own cache go back this far? 🤔
@movq @www.uninformativ.de Yeah 👍 Haha 🤣 Does your own cache go back this far? 🤔 ⌘ Read more
@kat@yarn.girlonthemoon.xyz go Ergo (https://github.com/ergochat/ergo/tree/stable).
Some A hole has been trying to pull every single Twtxt feed that existed/still exists since forever. How do I know? Welp’ They’ve been querying my Timeline™ instance for all of it, every single twtxt file and twt Hash they can find. 😆🤦 It must have been going on for days and I have just noticed… + it’s all coming from the same ASN AS136907 HWCLOUDS-AS-AP HUAWEI CLOUDS
Thank you Huawei for the DDos you sons of Glitches!!!
@bender@twtxt.net My choices might be a bit limited, at least going by this list: https://www.hetzner.com/storage/storage-box (That would be some incredibly cheap storage.) I’ll probably have to order such a box and then play with it a little bit to see what’s possible.
使用 Go 實現零停機處理數百萬個 WebSocket 連接
引言 —想象一下這樣的場景:你剛剛上線了一款實時聊天應用,用戶數量快速攀升至數十萬。然而,每次服務更新都會導致所有用戶連接斷開,他們需要手動刷新頁面才能重新連接。用戶反饋很差,因爲重要的消息會在服務更新期間丟失。這是一個經典的問題 —— 如何在不中斷服務的情況下更新和擴展 WebSocket 應用?WebSocket 技術爲現代 Web 應用提供了雙向實時通信能力,廣泛應用於聊天應用、遊戲、 ⌘ Read more
用 Go 語言打造高併發 MCP 服務器:理論、實戰與 AI 應用全景探索
在這個 AI 與大數據時代,構建一個高性能、可擴展的 MCP(Modular/Model Context Protocol)服務器已成爲打通應用與 AI 模型之間數據孤島的重要橋樑。本文將帶你深入瞭解 MCP 協議的設計理念、使用 Go 語言實現 MCP 服務器的詳細流程,以及 MCP 如何爲 AI 應用提供類似 USB-C 接口般的統一連接能力。 “MCP 提供統一的數據交換框架,幫助企業實 ⌘ Read more
@kat@yarn.girlonthemoon.xyz It’s more like a cache, it stores things like “timestamp of the most recent twt we’ve seen per feed” or “last modification date” (to be used with HTTP’s if-modified-since header). You can nuke these files at any time, it might just result in more traffic (e.g., always getting a full response instead of just “HTTP 304 nope, didn’t change”).
@quark@ferengi.one Yes, I often write a couple of twts, don’t publish them, then sometimes notice a mistake and want to edit it. You’re right, as soon as stuff is published, threads are going to break/fork by edits.
Bloody WhatsApp, bloody chat apps on smartphones, I’m going nuts. If you want to TYPE, use a device WITH A KEYBOARD. Don’t send me useless undecipherable gibberish. FFS!
Planning for Scotland, second try
My fiancée and I were in Scotland in 2023 on an Interrail trip. But with some bad luck, we got COVID-19 after half of the trip and had to go home and recover. We always said we wanted to finish our trip in one of the next years. ⌘ Read more
@prologic@twtxt.net I am just going over things. I don’t use it, do you?
Pinellas County Running - 8 miles: 8.09 miles, 00:09:00 average pace, 01:12:47 duration
another great run although i know i was going a bit hard
#running
如何用 go 搭建 MCP 服務
什麼是 MCP?———–MCP 是 “模型上下文協議(Model Context Protocol)” 的簡稱,用一句簡單通俗易懂的話描述:是一種讓 AI 模型能夠無縫連接到外部工具和數據源的標準化方式。想象它就像 AI 的“萬能接口”,能讓 AI 像用 USB 線連接設備一樣,輕鬆調用其他程序或服務。官方 MCP 架構圖————-MCP Hosts: 是指 LLM ⌘ Read more
Wild - A high performance, flexible and unicode compliant wildcard matching library
1 points posted by xrfang ⌘ Read more
Why is there a “small house” in IBM’s Code Page 437?
There’s a small house ( ⌂ ) in the middle of IBM’s infamous character set Code Page 437. “Small house”—that’s the official IBM name given to the glyph at code position 0x7F, where a control character for “Delete” (DEL) should logically exist. It’s cute, but a little strange. I wonder, how did it get there? Why did IBM represent DEL as a house, of all things? ↫ Heikki Lotvonen Don’t waste any time here, and go read the article. It’ … ⌘ Read more
在 Go 中使用 Redis 管道提升性能
Redis 管道簡介 ———–Redis 的管道是一種優化技術,允許客戶端一次性發送多個命令到服務器,而無需逐一等待響應。服務器執行完所有命令後,再一次性返回所有結果。簡單來說,就是從 “一個一個送信” 變成“打包快遞”,大大減少了網絡通信的次數。來看看直觀的對比:無管道:發送命令 1,等待響應;發送命令 2,等待響應…… 每次都跑一個來回。 有管道:把命令 1、2、3 打包 ⌘ Read more
We’ve been on a trip to another city this weekend and one thing struck me as really odd:
The lack of “public water” in our cities.
Almost no way of washing your hands or going to the toilet or whatever. You can’t even pee in a bush, because a) that’s illegal and b) there are no bushes!
(It’s always been that way, I just never noticed before. 🥴)
用 Go 語言輕鬆構建 MCP 客戶端與服務器
★ 該文章已被 Model Context Protocol(MCP) 中文教程講解 收錄,歡迎 star 收藏。 若想獲取可執行的完整項目代碼,可關注本公衆號,回覆 MCP。前言模型上下文協議(Model Context Protocol,簡稱 MCP)是一種開放標準,旨在標準化大型語言模型(LLM)與外部數據源和工具之間的交互方式。隨着 MCP 越來越受歡迎,Go MCP 庫 ⌘ Read more
golang 每日一庫之 aceld-zinx
aceld/zinx 是一個基於 Go 語言開發的輕量級、高併發 TCP 服務器框架,專注於簡化遊戲服務器、長連接應用及消息中轉服務的開發。其設計目標是提供清晰的結構和高度可擴展性,幫助開發者快速構建高性能網絡服務。以下從核心特性、架構設計、應用場景等方面詳細介紹:一、核心特性輕量級與高併發 基於 Go 的 Goroutine 協程模型,實現高效併發處理,支持海量連接。 提供線程池(W ⌘ Read more
Conduwit is set to archive on GitHub. It was my favourite Matrix server, which I still self host. I think I am going to get off Matrix altogether now.
Maybe go back to Jabber?
10 World-Changing Ideas Explained First-Hand by Their Creators
Unfortunately, most of the ideas that human beings conceive never go anywhere. This is true even for very good ideas. Many appear briefly, only to fade into obscurity as history marches on. But every so often, an idea emerges that is so bold, visionary, and fundamentally transformative that it cannot be forgotten. These are the […]
The post [10 World-Changing Ideas Explained First-Hand by Their Creators](ht … ⌘ Read more
“Move to iOS” app continuously refused to run as intended and expected, so couldn’t migrate mum’s Android based phone data. Most of her stuff is on a Google account, but not the SMS/MMS/RCS messages. Haven’t found a way to export, then import those into iOS.
She isn’t too happy having to keep the old phone just for the messages. Need to find a way to go through them, export multimedia attachments, and import them into iOS. I don’t think it’s going to happen, but I am not letting her know yet. 😅
Pinellas County - 8 miles: 8.01 miles, 00:08:43 average pace, 01:09:49 duration
felt so light today (minus the last hill) but i knew i was probably going a bit too fast for the workout.
#running
Generic sync.Pool now v1.0.0 (after 5 years)
1 points posted by pj ⌘ Read more
Based on a recent study of the brains of mice I estimated the human brain to have 200B cells/neurons and 50,000T connections. We have several orders of magnitude to go before we reach that kind of scale with these fucking stupid Big LLMs 🤣 And the best part of all? 🧐 It is estimated that the human brain only consumes the equivalent of 5 Watts of power !!! 🤣🤣🤣
Based on a recent study of the brains of mice I estimated the human brain to have 200B cells/neurons and 50,000T connections. We have several or …
Based on a recent study of the brains of mice I estimated the human brain to have 200B cells/neurons and 50,000T connections. We have several orders of magnitude to go before we reach that kind of scale with these fucking stupid Big LLMs 🤣 And the best part of all? 🧐 It is estimated that the human brain only consumes the equivalent of 5 Watts of power !!! 🤣🤣🤣 ⌘ Read more
One was able to purchase iPhones on instalments (and interest free), whether they were associated with a carrier, or not. The only way to buy them on instalments now is if the are associated with a carrier; otherwise one gets charged the full amount up front.
So, yeah, going to return a couple of those this weekend.
@aelaraji@aelaraji.com oh yeah! You will feel in heaven, me thinks, because that new machine will go around the Pi a few laps. Have fun, mate!
@prologic@twtxt.net sweet! Is it going to be your new all-around desktop, or the hobbyist server, or all of the above?
SqliteCache backend I'm working on here, what are your thoughts regarding mgirations from old MemoryCache (which is now gone in the codebase in this branch). Do you care to migrate at all, or just let the pod re-fetch all feeds? 🤔
@abucci@anthony.buc.ci Apologies, the basic summary is as follows:
- Decided to rewrite the cache backend.
- It will now be a SQLite backend going forward.
- I’m planning on no data migration.
**(#axtyevq) @abucci@abucci Apologies, the basic summary is as follows:
Decided to rewrite the cache backend.
It will now be a SQLite …**
@abucci @anthony.buc.ci Apologies, the basic summary is as follows:Decided to rewrite the cache backend.
It will now be a SQLite backend going forward.
I’m planning on no data migration. ⌘ Read more
Go - MCP SDK 新玩法:實現海報生成 MCP Server 與 DeepChat 無縫集成
DeepChat 是國內主導的一個非常優秀的智能助手,開源 2 個月,已經收穫 1k+ 的粉絲關注,最近聽說新版本已經支持 MCP,迫不及待開始嚐鮮。但做個什麼插件好了,無意看到阿里雲的 “創意海報生成” 接口文檔,索性給 DeepChat 添加一個 “海報生成” 的功能。構建 MCP Server 看過我前面文章的小夥伴應該知道,我以前一般使用 mark3labs/mcp-go 這個庫,但發現國 ⌘ Read more
Go 語言新版的迭代器是怎麼個事
很多流行的編程語言中都以某種方式提供迭代器,其中包括 C++、Java、Javascript、Python 和 Rust。Go 語言現在也加入了迭代器。iter 包是 Go 1.23 新增的標準庫,提供了迭代器的基本定義和相關操作。爲什麼需要迭代器——–在 Go 1.18 引入泛型之後,便可以很方便的定義一些泛型容器類型來提升編碼效率。例如我們可以基於 map 類型定義了一個集合類型—— ⌘ Read more
I’m going to cry why is he so cute ⌘ Read more
I feel like they’re going to tell me a riddle. ⌘ Read more
Aside from fetching feeds every three minutes (which kind of adds mystery to this puzzle), I think there is something else going on with the client you are using, @andros@twtxt.andros.dev. Some of those twtxts are seconds apart, making me truly stumped. 😅
利用 Katana 作爲 Go 庫實現高性能 Web 爬蟲
在信息收集、安全測試等領域,高性能、高併發的 Web 爬蟲工具是核心基礎設施之一。ProjectDiscovery 出品的 Katana 是一個基於 Golang 編寫的輕量級爬蟲,它默認以 CLI 工具形式提供。但實際上,它也可以作爲庫被直接集成進你的 Go 項目中,從而實現更靈活的定製。本文將介紹:Katana 的設計理念與功能,如何將 Katana 作爲庫引入到我們的項目當中,如何編寫自定義 ⌘ Read more
golang 每日一庫之高性能無鎖隊列 bruceshao-lockfree
bruceshao/lockfree 是一個基於 Go 語言實現的高性能無鎖隊列庫,旨在通過無鎖(Lock-Free)算法提升多線程環境下的併發性能。其設計靈感來源於 Java 的 Disruptor 框架,但針對 Go 語言的特性進行了優化,適用於高吞吐量、低延遲的場景,如實時數據處理、高頻交易系統等。以下是該庫的核心特性、實現原理、性能對比及使用場景的詳細分析:核心特性無鎖設計基於 CAS(C ⌘ Read more
@prologic@twtxt.net “Indiana, let it go” 😂