Searching txt.sour.is

Twts matching #go
Sort by: Newest, Oldest, Most Relevant
In-reply-to » So, Monday, we meet again. I mean, it is not a complain per se. I am glad to meet Monday! I am just not-so-glad to meet the working-from-office Monday. But, so it is.

@prologic@twtxt.net hahahahaha! Don’t you go watering that seed, mate 😅. I mean, we all dream about it, ain’t that right?

⤋ Read More

Trump when pressed on if he needs to uphold the Constitution: ‘I don’t know’
Gregory Svirnovskiy,  Staff Writer  -  Politico

_Stephan: We have reached the stage in Trump’s fascist coup where he feels secure enough in his power that he is now openly saying he is not compelled to follow the Constitution, or listen to the courts, or Congress. I tell you again, the only thing that is going to stop this is if you and a million other people are out in the st … ⌘ Read more

⤋ Read More
In-reply-to » How do you stop a dog from barking? 🧐

@kat@yarn.girlonthemoon.xyz No no, it’s just barks at the slightest thing going on around the neighborhod 😃 like it just goes a bit nuts often 🤣 it was a rescue dog, two years old, and it wasn’t treated very well, a street dog. I think it’s just basically afraid of every human in the world 😢

⤋ Read More
In-reply-to » Nobody want to be a shitty programmer. The question is: Do you do anything not to not be one? Reading blogs or social media and watching YouTube videos is fun. After them, your code may be a little better, of course. But you need a lot. You need to study! Read good books and study the code of other programmers, for example. Maybe work with a new language, architectures and paradigms. You need break the routine.

@andros@twtxt.andros.dev

You need break the routine.

I haven’t really done that lately. 🤔 Maybe have another go at Rust (given its increasing importance in the Linux kernel)? Or Elixir, yes, I only had some very, very brief contact with it. 🤔

I just came across an old forum posting of mine about Prolog. That brought up some memories. Prolog is pretty alien, but I do miss stuff like that because it’s so different.

Just thinking out loud here. 😅

⤋ Read More

Nobody want to be a shitty programmer. The question is: Do you do anything not to not be one?
Reading blogs or social media and watching YouTube videos is fun. After them, your code may be a little better, of course. But you need a lot. You need to study! Read good books and study the code of other programmers, for example. Maybe work with a new language, architectures and paradigms. You need break the routine.

If you know Object-oriented programming, you learn functional programming.
If you know Model-View-Controller, you learn Model-View-ViewModel.
If you don’t know anything about architectures, you learn Clean Architecture, Hexagonal Architecture, etc.
If you know Python, you learn Ruby or Go.
If you know Clojure or Lisp… you don’t need to learn anything else. You are already a good programmer. Just kidding. You can learn Elixir or Scala.

Be a good programmer my friend.

⤋ Read More

It is Going to Be More Complicated to Remain a Constitutional Federal Republic Than Many Seem to Realize
Stephan A. Schwartz,  Editor  -  Schwartzreport

_Stephan: Last Friday ASO Communications and Research Collaborative published a polling memo of data collected by Data for Progress just days before – 18-21 April. It showed that just as the country approaches Donald Trump’s 100th day in office 52% of likely voters acros … ⌘ Read more

⤋ Read More

[$] Flexible data placement
At
the 2025 Linux Storage, Filesystem, Memory
Management, and BPF Summit (LSFMM+BPF) Kanchan Joshi and Keith Busch led a
combined storage and filesystem session on data placement, which concerns
how the data on a storage device is actually written. In a discussion
that hearkened back to previous summits, the idea is to give hints to enterprise-class
SSDs to help them make better choices on where the data should go; hinting
was most recently [discussed at the summit in 2023](https://lwn.net/Articles/932900/ … ⌘ Read more

⤋ Read More
In-reply-to » Confession:

@movq@www.uninformativ.de this is so real… i think we need to bring back topic focused groups but like with a little off topic side of things just in case people wanna go off topic. so the option’s there but the intent is the topic! microblogging isn’t best for this yeah. i think this is part of why IRC still goes strong for many tech people

⤋ Read More

iPhone 17: What’s New With the Cameras
We’ve still got months to go before the new iPhone 17 models come out, but a combination of dummy models and leaks have given us some insight into what we can expect in terms of camera changes.

Image

Apple is adding new camera features, and changing the design of the camera bump for some models. You might be skeptical of dummy m … ⌘ Read more

⤋ Read More
In-reply-to » @movq Oooooohhhhhh, I see. Hmmmm.

@lyse@lyse.isobeef.org there are times that it works out to reply to the “flat” conversation, if it fully relates, or the participants are few, or if the strict topic is kept. When there are too many people, or too many topics being spit out, then forking constantly is the way to go. I am a strong proponent of forking. It’s like telling the rest, “you debate that there, I will take this one aside”.

⤋ Read More

Far-right fight groups endorse ‘youth clubs’ targeting US young men and boys
Ben Makuch,  Contributing Writer  -  The Guardian (U.K.)

_Stephan: If you go back and read the history of Hitler you will very quickly learn that creating youth groups to indoctrinate boys and girls into Nazism. As the Holocaust Encyclopedia describes it, “The Hitler Youth (Hitlerjugend, or HJ) was the Nazi-organized youth movement. It was made up of different sections for b … ⌘ Read more

⤋ Read More
In-reply-to » @prologic not me. I hate monosyllabic replies, specifically on the written medium, so I am just typing this to make it longer. But that doesn't change the truth, and that is, I don't want, nor care, about twtxt, and Activity Pub integration. 😅

@bender@twtxt.net I knew you wouldn’t be interested in a Twtxt+ActivityPub 😂 Now I have to go figure out what “monosyllabic replies” means 🤣

⤋ Read More
In-reply-to » Finally I propose that we increase the Twt Hash length from 7 to 12 and use the first 12 characters of the base32 encoded blake2b hash. This will solve two problems, the fact that all hashes today either end in q or a (oops) 😅 And increasing the Twt Hash size will ensure that we never run into the chance of collision for ions to come. Chances of a 50% collision with 64 bits / 12 characters is roughly ~12.44B Twts. That ought to be enough! -- I also propose that we modify all our clients and make this change from the 1st July 2025, which will be Yarn.social's 5th birthday and 5 years since I started this whole project and endeavour! 😱 #Twtxt #Update

@andros@twtxt.andros.dev @eapl.me@eapl.me @sorenpeter@darch.dk Sad to see you go. 🫤

⤋ Read More

The Trump/Hitler Controversy Misses the Point
John B. Alexander,  Contributing Writer  -  Daily Kos

_Stephan: John Alexander lays out in great detail what I have been saying without all the details. To anyone who is familiar with history and the rise of fascist coups it is very obvious what is going on in the United States. What I particularly liked about Alexander’s essay is the references he provides to books that will give the sources they need to fully comprehend how the Tru … ⌘ Read more

⤋ Read More
In-reply-to » Finally I propose that we increase the Twt Hash length from 7 to 12 and use the first 12 characters of the base32 encoded blake2b hash. This will solve two problems, the fact that all hashes today either end in q or a (oops) 😅 And increasing the Twt Hash size will ensure that we never run into the chance of collision for ions to come. Chances of a 50% collision with 64 bits / 12 characters is roughly ~12.44B Twts. That ought to be enough! -- I also propose that we modify all our clients and make this change from the 1st July 2025, which will be Yarn.social's 5th birthday and 5 years since I started this whole project and endeavour! 😱 #Twtxt #Update

@eapl.me@eapl.me I honestly believe you are overreacting here a little bit 🤣 I completely emphasize with you, it can be pretty tough to feel part of a community at times and run a project with a kind of “democracy” or “vote by committee”. But one thing that life has taught me about open source projects and especially decentralised ecosystems is that this doesn’t really work.

It isn’t that I’ve not considered all the other options on the table (which can still be), it’s just that I’ve made a decision as the project lead that largely helped trigger a rebirth of the use of Twtxt back in July 1 2020. There are good reasons not to change the threading model right now, as the changes being proposed are quite disruptive and don’t consider all the possible things that could go wrong.

⤋ Read More

We havet an AI assistant at work, new version came out today “nearby restaurant recommendations” mentioned. Gotta try that!

Ask it where I can get a burger, knowing there’s 3 spots that had it on the menu, AI says there’s none. Ask it to list all the restaurants nearby it can check… it knows 3, of the 10 or so around, but 1/3, even has a burger, on the menu.

Ask it to list the whole menu at restaurant 1: it hallucinates random meals, none of which they had (I ate there).

Restaurant 2 (the one most people go to, so they must have at least tested it with this one): it lists the soup of the day and ¾ meals available. Incomplete, but better than false.

Restaurant 3: it says “food” and gives a general description of food. You have to be fucking kidding me!

“BuT cAnInE, tHe A(G)i ReVoLuTiOn Is NoW”

⤋ Read More

Signing key change for Kali Linux
The Kali Linux distribution has announced
that software updates will soon start failing for all users:

This is not only you, this is for everyone, and this is entirely
our fault. We lost access to the signing key of the repository, so
we had to create a new one. At the same time, we froze the
repository (you might have noticed that there was no update since
Friday 18th), so nobody was impacted yet. But we’re going to
unfreez … ⌘ Read more

⤋ Read More

『八股文™』詳解 Go 中的深拷貝與淺拷貝
大家好,我是 moooofly。今天我們來聊一聊:Go 語言中關於深拷貝和淺拷貝的問題。0x01 基礎概念在 Go 語言中,針對如下結構體,如何對其進行淺拷貝和深拷貝?代碼示例如下上述問題的核心在於:需要理解 Go 語言中的值類型和引用類型   需要知道 Go 語言中哪些類型可以直接通過賦值完成安全拷貝,哪些類型需要做深拷貝處理 需要知道如何手動處理嵌套結構中的指針類型,以及需要通過 ⌘ Read more

⤋ Read More

『八股文™』詳解 Go 中的深拷貝與淺拷貝
大家好,我是 moooofly。今天我們來聊一聊:Go 語言中關於深拷貝和淺拷貝的問題。0x01 基礎概念在 Go 語言中,針對如下結構體,如何對其進行淺拷貝和深拷貝?代碼示例如下上述問題的核心在於:需要理解 Go 語言中的值類型和引用類型   需要知道 Go 語言中哪些類型可以直接通過賦值完成安全拷貝,哪些類型需要做深拷貝處理 需要知道如何手動處理嵌套結構中的指針類型,以及需要通過 ⌘ Read more

⤋ Read More
In-reply-to » @prologic Can you please draft up a specification for that proposed change with all the details? Such as which date do you actually refer to? Is it now() or the message's creation timestamp? I reckon the latter is the case, but it's undefined right now. Then we can discuss and potentially tweak the proposal.

@lyse@lyse.isobeef.org LOLed in RL, my office mates were, “what’s going on, where, what?!”. 😂

⤋ Read More

Nothing like being paged at 00:30 (midnight) for a P2 incident that is now resolved at 02:10 🤯 Obviously I’m not going to work tomorrow (I mean today lol 😂) at the usual start time 🤦‍♂️

⤋ Read More
In-reply-to » @prologic In few weeks for sure, I have a couple of features in mind that I would like to implement (DM extension for example but I'll ask for permission to @arne to use his PoC or ask him to contribute to twtxtory directly)

@javivf@adn.org.es Go for it! You’re free to use it.
It’s been a community adventure to explore the whole DM/encryption thing. So the community can do with it whatever they want. 😎

⤋ Read More

使用 Go 構建一個高性能鍵值存儲
我們知道 Redis 是一個高性能的鍵值存儲,如果我們要實現一個高性能的鍵值存儲,嵌入在我們的 Go 應用程序中,那麼這個庫可能會幫助到你。Bolt 是一個由 Go 語言編寫的嵌入式鍵值對數據庫引擎,其核心設計目標是提供簡單、快速且可靠的數據存儲能力。目前,作爲 BoltDB 的優化分支(etcd-io/bbolt), 它尤其適用於需要事務支持和高併發讀寫的應用場景,如配置文件存儲、緩存系統和小型 ⌘ Read more

⤋ Read More

使用 Go 構建一個高性能鍵值存儲
我們知道 Redis 是一個高性能的鍵值存儲,如果我們要實現一個高性能的鍵值存儲,嵌入在我們的 Go 應用程序中,那麼這個庫可能會幫助到你。Bolt 是一個由 Go 語言編寫的嵌入式鍵值對數據庫引擎,其核心設計目標是提供簡單、快速且可靠的數據存儲能力。目前,作爲 BoltDB 的優化分支(etcd-io/bbolt), 它尤其適用於需要事務支持和高併發讀寫的應用場景,如配置文件存儲、緩存系統和小型 ⌘ Read more

⤋ Read More

簡潔架構設計:如何設計一個合理的軟件架構?
提示:本文摘自: 「雲原生 AI 實戰營」 知識星球「Go 項目開發中級實戰課」的第 04 | 簡潔架構設計:如何設計一個合理的軟件架構?[1] 節課。 本文介紹的實戰項目 GitHub 地址爲:https://github.com/onexstack/miniblog 在開發項目之前,需要先設計一個合理的軟件架構。一個好的軟件架構不僅可以大大提高項目的迭代速度,還可以降低項目的閱讀和 ⌘ Read more

⤋ Read More
In-reply-to » To the parents or teachers: How do you teach kids to program these days? 🤔

@movq@www.uninformativ.de I started with Delphi in school, the book (that we never ever used even once and I also never looked at) taught Pascal. The UI part felt easy at first but prevented me from understanding fundamental stuff like procedures or functions or even begin and end blocks for ifs or loops. For example I always thought that I needed to have a button somewhere, even if hidden. That gave me a handler procedure where I could put code and somehow call it. Two or three years later, a new mate from the parallel class finally told me that this wasn’t necessary and how to do thing better.

You know all too well that back in the day there was not a whole lot of information out there. And the bits that did exist were well hidden. At least from me. Eventually discovering planet-quellcodes.de (I don’t remember if that was the original forum or if that got split off from some other board) via my best schoolmate was like finding the Amber Room. Yeah, reading the ITG book would have been a very good idea for sure. :-)

In hindsight, a console program without the UI overhead might have been better. At least for the very start. Much less things to worry about or get lost.

Hence, I’d recommend to start programming with a console program. As for the language, not sure. But Python is probably a good choice, it doesn’t require a lot of surrounding boilerplate like, say Java or Go. It also does exceptionally well in the principle of least surprise.

⤋ Read More

使用 Go 進行 HTTP 流量重放測試
在 Web 安全測試、API 調試、流量回歸測試中,HTTP 流量重放(HTTP Traffic Replay)是一項重要的技術。它可以幫助我們復現問題、測試系統兼容性、進行安全研究等。在這篇文章中,我們將簡單探討 HTTP 流量重放的原理,並通過 Go 語言實現不同的流量重放方案,同時介紹常見的開源工具。(身爲一個在小公司裏的網安牛馬,總得幹些雜活🐂🐎)HTTP 流量重放的原理HTTP 流量重放 ⌘ Read more

⤋ Read More

使用 Go 進行 HTTP 流量重放測試
在 Web 安全測試、API 調試、流量回歸測試中,HTTP 流量重放(HTTP Traffic Replay)是一項重要的技術。它可以幫助我們復現問題、測試系統兼容性、進行安全研究等。在這篇文章中,我們將簡單探討 HTTP 流量重放的原理,並通過 Go 語言實現不同的流量重放方案,同時介紹常見的開源工具。(身爲一個在小公司裏的網安牛馬,總得幹些雜活🐂🐎)HTTP 流量重放的原理HTTP 流量重放 ⌘ Read more

⤋ Read More

Go:終於有了處理未定義字段的實用方案
衆所周知,Go 裏沒有 undefined,只有各類型的零值。多年來,Go 開發者一直依賴 JSON 結構標籤 omitempty 來解決 “字段可能缺失” 這一需求。然而omitempty 並不能覆蓋所有場景,而且常常讓人抓狂——到底什麼算 “空”?定義本就含糊不清。在 編碼(marshal) 時:切片和 map 只有在爲 nil 或長度爲 0 時纔算空。 指針只有 nil 時爲空。 ⌘ Read more

⤋ Read More

用 Go 語言開發一個石頭剪刀布遊戲,很簡單
本文將通過 Go 語言實現一個玩家與電腦對戰的石頭剪刀布遊戲,並重點講解如何通過 Go 的 crypto/rand 包生成安全的隨機數,確保遊戲的公平性。一、遊戲模型設計在編寫代碼之前,我們首先要設計遊戲的基本模型,包括參與者、動作和遊戲狀態。1. 用戶與動作遊戲的參與者有兩個:玩家和電腦。每個參與者可以做出三種選擇:石頭、剪刀或布。我們通過 Go 的枚舉類型來表示這些選擇。// 用戶類型type ⌘ Read more

⤋ Read More

Weightedrand:Go 權重隨機選擇
weightedrand (github.com/mroth/weightedrand) 是一個 Go 語言實現的權重隨機選擇庫,可以從一個元素列表中以不同的概率選擇一個元素,也就是所謂的加權隨機選擇(weighted random selection)。你可以爲每個元素設置 “權重”(可以理解爲概率的相對值),然後根據這些權重進行隨機選擇。安裝go get github.com/mroth/we ⌘ Read more

⤋ Read More

靜態程序分析入門之 Go 實踐筆記
編譯與靜態分析的關係在 Introduction to the Go compiler[5] 也能看到相似的流程,靜態分析主要發生在 IR 層,生成機器碼後端部分 (back-end) 那就是編譯器所考慮的了。• 詞法分析器(Scanner)結合正則表達式 (Regular Expression) ,通過詞法分析(Lexical Analysis)將源碼翻譯爲 token。 • 語法分析器( ⌘ Read more

⤋ Read More

Go 利用 github-com-miekg-dns 進行安全分析與防護
在網絡安全領域,DNS(域名系統)是攻擊者和防禦者都非常關注的目標。攻擊者可以利用 DNS 進行隧道通信、數據滲透、欺騙攻擊,而安全專家則需要檢測和防禦這些威脅。本文將簡單地介紹 github.com/miekg/dns 庫,並通過代碼演示如何利用它進行 DNS 監控、流量分析和攻擊檢測。miekg/dns 介紹miekg/dns 是 Go 語言中比較流行的 DNS 解析庫之一,它支持:自定義 D ⌘ Read more

⤋ Read More

Top Stories: iPhone 17 Air Rumors, Apple Watch Turns 10, and More
We’ve known for quite some time about Apple’s plans for a thinner “iPhone 17 Air” coming later this year, but wow, the latest dummy models give us our best look yet at just how thin this phone is going to be.

Image

Other Apple news and rumors this week included another iOS 18.5 beta, the 10th anniversary of the Apple Watch launch, and more … ⌘ Read more

⤋ Read More
In-reply-to » Anyone watching/watched Black Mirror Season 7? 😵‍💫😵 I've been watching the first episode and a couple of minutes into the third act then I was like ... Oh boy, I need a break! They're just so Fu__ing good, I'll give them that!

P.S: the couple first Seasons and Her (The movie) are the main reasons I find it a bit difficult to go back to mainstream social media or even care about smartphones 😆

⤋ Read More

42% of Americans under 30 say they’re ‘barely getting by’ financially, Harvard survey finds
Mike Winters,  Money Reporter  -  CNBC

_Stephan: When I was a boy, the social consensus was that each generation would do better than the one before. Despot Trump has reversed all of that and, as you can see in this report, it is particularly affecting young people who didn’t go to college. We are moving into a recession, maybe even a depression, a … ⌘ Read more

⤋ Read More

ChanX:Go 構建無限緩衝通道
chanx (github.com/smallnest/chanx) 一個用環形緩衝區(ringbuffer)實現的無界通道(unbounded channel)的 Go 語言庫。它非常適合在需要異步處理、生產者快於消費者、或對標準通道容量受限(如 make(chan T, N))感到不滿足的場景中使用。爲什麼需要 Unbounded Channel?Go 原生的 chan 是有限容量的:默認是阻 ⌘ Read more

⤋ Read More

A little-known federal agency is at the center of Trump’s executive order to overhaul US elections
CHRISTINA A. CASSIDY,  Reporter  -  Associated Press

_Stephan: I told you despot Trump and his Republican Congressional servants were going to try and rig the 2026 election so they could not be voted out of office. Well, here it is. The United States is now, at best, a pseudo-democracy. We will definitely have an election in 2026, … ⌘ Read more

⤋ Read More

$8 billion of US climate tech projects have been canceled so far in 2025
Casey Crownhart,  Senior Climate Reporter  -  MIT Technology Review

_Stephan: You, your kids, and their kids are going to have a severely degraded quality of life because despot Trump is doing everything he can to stop any preparation for climate change, or anything that will take the United States out of the carbon energy era. The actions of this psychopath is going to negatively … ⌘ Read more

⤋ Read More

‘Alarming’ Report Shows Billions at Risk From Historically Low Snow Melt in Himalayas
Eloise Goldsmith,  Staff Writer  -  Common Dreams

_Stephan: Climate change is underway, as this article describes.  At a time when the United States should be leading a campaign to have all the nations of the world join together to address a trend that is going to transform the planet and the matrix of life, instead the United States, under despot Trump, is … ⌘ Read more

⤋ Read More
In-reply-to » Also, I should cut down on coffee. Seriously, I've nearly had a ... I honestly don't know what it was; A Panic attack? A heart attack? I dunno, I just felt like my heart and lungs were so about to burst I had to go for a run to cope.

@aelaraji@aelaraji.com I use to be a pot or more a day but have cut that back in the last 4 or so years to just 2-3 cups. Main reason was because I was getting jittery which didn’t happen before. I do think it is good to go without periodically (probably applies to more things than coffee) to just reset the system.

I don’t drink it often but decaf’s taste has gotten better too.

⤋ Read More

Go 1-24 讓項目工具管理更優雅的 tool 指令
工具管理的歷史難題———在 Go 1.24 之前,管理項目依賴的工具(如 linters、代碼生成器等)是一個棘手的問題。雖然有 go.mod 來管理代碼依賴,但工具依賴卻沒有一個官方的解決方案。社區曾流行的做法是創建一個名爲 tools.go 的文件,通過一種 “技巧” 來管理這些工具依賴://go:build toolspackage toolsimport (     ”gol ⌘ Read more

⤋ Read More

Also, I should cut down on coffee. Seriously, I’ve nearly had a … I honestly don’t know what it was; A Panic attack? A heart attack? I dunno, I just felt like my heart and lungs were so about to burst I had to go for a run to cope.

⤋ Read More

I had Chick-fil-A breakfast today (sausage, egg, and cheese biscuit, hash browns, coffee, and orange juice). Then at lunch my work place offered hot dogs. I had two (kosher, if that matters), plus a coke, a macadamia nuts cookie, and a small chocolate brownie.

So, here I am, at home, feeling hungry but guilty and refusing to eat anything else for the rest of the day. To top it off, I have only clocked 4,000 steps today (and I don’t feel like walking). I am going to hell, am I?

⤋ Read More

[$] Code signing for BPF programs
The Linux kernel can be configured so that
kernel modules must be signed or
otherwise authenticated to be loaded
into the kernel. Some BPF developers want that to be an option for BPF programs
as well — after all, if those are going to run as part of the kernel,
they should be subject to the same code-signing requirements. Blaise Boscaccy
and Cong Wang presented two different visions for how BPF code signing could
work at the 2025 Linux Storage, Filesystem, Memory … ⌘ Read more

⤋ Read More
In-reply-to » @bender This story just reminds me of the couple of times we've paid for things in cash 💰 💲 and the stupid banks with the ridiculous "scam alert policy" ask you all kind of dumb ass questions about what you need the cash for 🤦‍♂️ One of these days I need an excuse to buy something that costs a few $k just so I can answer when asked, "what do you need the cash for?" to which my response will be "drugs and hookers of course!" 🤣

@prologic@twtxt.net I would say “We are going to the adult’s toy store for our yearly haul”, though “going to a house of burlesque” would work too! LOL.

⤋ Read More
In-reply-to » Testing mentions, immediately followed by commas. Let's see: @prologic, this one is local, it might not break. Now, this one @ isn't local. Nor this @ one. Will they break. Let's find out!

I’ll see if I can fix this and write a test case for what’s going on here. I think this is made difficult now because folks like @eapl.me@eapl.me decide that it’s okay to have a . (period) in their # nick 🤣 tbh I think nick(s) should have rules of what they can and cannot be comprised of. i.e: no punctuation 🤦‍♂️

⤋ Read More

‘Deep red rural America’ hurts most as Trump attacks on liberal programs backfire: report
Jennifer Bowers Bahney,  Contributing Writer  -  Raw Story

_Stephan: Just as I, and many others have predicted, MAGAt world is going to experience the worst effects of the Trump coup and dismantlement of the economy and government. And in many ways, MAGAt voters didn’t even think about that when they voted. Here is an example of what I mean. I think … ⌘ Read more

⤋ Read More
In-reply-to » All these remind me of the "blog" ability once existed in Yarnd. I hate to be the party pooper, but little to non interest from me. LOL. I am up to increase the length of a twtxt, though. It is rather limiting right now.

There we go. Restored all the old settings 👌

⤋ Read More

EPA Deletes Pollution Tracking Tools as It Offers Exemptions to Polluters
Mike Ludwig ,  Staff Writer  -  truthout

_Stephan: Here is yet another example of Despot Trump’s corruption doing favors for the uber-rich who enrich him so that he permits them to destroy Earth’s matrix of life and wellbeing. His corruption is going to have a decades-long impact, and will be a major factor contributing to the civilization-altering catastrophe that happens betwe … ⌘ Read more

⤋ Read More

Go 定時任務調度從入門到實戰
在開發後臺服務時,我們經常需要處理定時任務。例如每天凌晨備份數據、每 5 分鐘檢查服務狀態、每小時發送統計報表…這些場景都需要可靠的定時任務調度機制。Go 語言就提供了強大的定時任務處理能力,既有標準庫的基礎功能,也有企業級的第三方解決方案。一、標準庫基礎用法———1. 簡單的單次延遲任務timer := time.NewTimer(3  time.Second) // 3秒後 ⌘ Read more

⤋ Read More

Badu-bus:Go 輕量級泛型發佈 - 訂閱事件總線
badu/bus (github.com/badu/bus) 是一個 Go 語言基於泛型實現的輕量級發佈 - 訂閱(Pub/Sub)事件總線庫。它允許不同的組件通過事件機制進行解耦通信,而不需要直接調用彼此的函數。它解決了什麼問題?組件解耦:發佈者和訂閱者彼此無感知,更靈活、可擴展,便於測試。 異步消息:消息可以異步發送和接收,提高系統性能和響應速度。 模塊化:有利於將系統拆分爲更小、 ⌘ Read more

⤋ Read More
In-reply-to » 💡 I had this crazy idea (or is it?) last night while thinking about Twtxt and Yarn.social 😅 There are two things I think that could be really useful additions to the 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

⤋ Read More
In-reply-to » 💡 I had this crazy idea (or is it?) last night while thinking about Twtxt and Yarn.social 😅 There are two things I think that could be really useful additions to the 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

⤋ Read More
In-reply-to » A mate and I had an amazing but also exhausting hike to the highest of the Three Emperor Mountains yesterday with perfect weather conditions. Sunny 18°C, blue sky with barly a cloud and a little welcoming breeze, just beautiful.

@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. 😂

⤋ Read More

China’s Breakthrough: Thorium Discovery Promises 60,000 Years of Clean Energy
,    -  Discovery / Alert

_Stephan: This, I think, is a very big deal and, in a planetary sense, good news, although not for the United States. It is going to be a major factor in ending the carbon era that Despot Trump, his unethical servants, and his oligarch funders are working so hard to keep Americans trapped in. I think this is the technology my remote viewers have b … ⌘ Read more

⤋ Read More

Experts Say Abrupt and “Staggering” CDC Cuts Will Cost Lives
Rita Rubin,    -  Journal of the American Medical Association

Stephan: America’s medical community of physicians and nurses is beginning to recognize how deadly the incompetence and disregard for human life of Despot Trump, his Frankenstein Musk, and the rest of the fascist MAGAts really is.  It is going to have a fatal effect on the population of America.

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

⤋ Read More

Earth’s Atmosphere Faces ‘Thirstwaves,’ Scientists Warn
Paige Bennett,  Contributing Writer  -  EcoWatch

_Stephan: I had never even heard of Thirst Waves, and I doubt if you have either, but this is going to be a big deal as we go through climate change. I read a technical paper on this phenomenon and then found this article that explains it clearly. If you live in an area where it is dry and water is in short supply, I am afraid your life is going to get a lot more diffic … ⌘ Read more

⤋ Read More

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!!!

⤋ Read More

[$] The problem of unnecessary readahead
The final session in the memory-management track of the 2025 Linux Storage,
Filesystem, Memory-Management, and BPF Summit was a brief, last-minute
addition run by Kalesh Singh. The kernel’s readahead mechanism is
generally good for performance; it ensures that data is present by the time
an application gets around to asking for it. Sometimes, though, readahead
can go a little too far. ⌘ Read more

⤋ Read More
In-reply-to » @lyse It wasn’t our building, yeah, luckily. But I’m pretty scared it might happen some day. I think I’ll put more effort into preparing for that. But whatever I do, it would be horrific to lose all your stuff and the memories attached to it …

@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.

⤋ Read More

The measles crisis is worse than we know—and the CDC can’t keep up
Walter Einenkel,  Staff Writer  -  Daily Kos

_Stephan: We are beginning to see the effects resulting from Dictator Trump’s dismantlement of healthcare in the U.S., and it is not pretty. I predict we are going to see an increase in all kinds of healthcare issues in the coming months. I don’t really understand why the MAGAt coup is destroying healthcare in America, because I don’t see what they … ⌘ Read more

⤋ Read More

使用 Go 實現零停機處理數百萬個 WebSocket 連接
引言 —想象一下這樣的場景:你剛剛上線了一款實時聊天應用,用戶數量快速攀升至數十萬。然而,每次服務更新都會導致所有用戶連接斷開,他們需要手動刷新頁面才能重新連接。用戶反饋很差,因爲重要的消息會在服務更新期間丟失。這是一個經典的問題 —— 如何在不中斷服務的情況下更新和擴展 WebSocket 應用?WebSocket 技術爲現代 Web 應用提供了雙向實時通信能力,廣泛應用於聊天應用、遊戲、 ⌘ Read more

⤋ Read More

用 Go 語言打造高併發 MCP 服務器:理論、實戰與 AI 應用全景探索
在這個 AI 與大數據時代,構建一個高性能、可擴展的 MCP(Modular/Model Context Protocol)服務器已成爲打通應用與 AI 模型之間數據孤島的重要橋樑。本文將帶你深入瞭解 MCP 協議的設計理念、使用 Go 語言實現 MCP 服務器的詳細流程,以及 MCP 如何爲 AI 應用提供類似 USB-C 接口般的統一連接能力。 “MCP 提供統一的數據交換框架,幫助企業實 ⌘ Read more

⤋ Read More
In-reply-to » jenny really isn’t well equipped to handle edits of my own twts.

@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.

⤋ Read More

White House embraces Abrego Garcia fight
Brett Samuels,  Staff writer  -  The Hill

_Stephan: The United States has come to the abyss of dictatorship. In the next three weeks we are going to learn whether Donald Trump must follow the laws as the courts decide or whether Donald Trump now defines the laws. Whether we remain a democracy or become a formal dictatorship. When Hitler took power in 1933, 53 days after coming into power he started opening concentration camps. The first one wa … ⌘ Read more

⤋ Read More

Via porn, gore and ultra-violence, extremist groups are sinking hooks online into the very young
John Leicester,  Reporter  -  Associated Press

_Stephan: Concurrent with the coup in the United States, something equally dangerous to democracy is going on internationally: the weaponization of the internet by terrorists and fascists. If you have young children who spend hours of their day on the internet, you would be wise to underst … ⌘ Read more

⤋ Read More

‘The Homegrowns Are Next’: Trump Promises to Send American Citizens to El Salvador in Harrowing Comments to Bukele
Colby Hall,  Founding Editor  -  Mediate

_Stephan: I am surprised the media isn’t saying out loud what is actually going on. American dictator Donald Trump has made a deal with dictator Nayib Bukele of El Salvador to run a concentration camp for which he will pay him $6,000 per person of your tax doll … ⌘ Read more

⤋ Read More

如何用 go 搭建 MCP 服務
什麼是 MCP?———–MCP 是 “模型上下文協議(Model Context Protocol)” 的簡稱,用一句簡單通俗易懂的話描述:是一種讓 AI 模型能夠無縫連接到外部工具和數據源的標準化方式。想象它就像 AI 的“萬能接口”,能讓 AI 像用 USB 線連接設備一樣,輕鬆調用其他程序或服務。官方 MCP 架構圖————-MCP Hosts: 是指 LLM ⌘ Read more

⤋ Read More

Law firms pledge almost $1 billion in free work to Trump
Sam Baker,  Staff Writer  -  Axios

Stephan: Here is a list, it is probably longer today but this was the most fact-based one I could find, of the law firsm that have become the legal servants of dictator Trump. The men and women in these firms are week and unethical. Don’t become a client of any of them, and if you are in law school do not go to work for any of them when you pass your law exam.

![](https://www … ⌘ Read more

⤋ Read More

Trump’s EPA Plans to Stop Collecting Greenhouse Gas Emissions Data From Most Polluters
Sharon Lerner,  Environmental Staff Writer  -  ProPublica

_Stephan: Dictator Trump has made it very clear that in thanks for the millions the carbon industries spent to buy his presidency for him, he will do nothing to prepare the United States for the catastrophe of climate change. As a result, millions of Americans are going to have their lives turned … ⌘ Read more

⤋ Read More

Security updates for Monday
Security updates have been issued by Debian (glib2.0, jinja2, kernel, mediawiki, perl, subversion, twitter-bootstrap3, twitter-bootstrap4, and wpa), Fedora (c-ares, chromium, condor, corosync, cri-tools1.29, exim, firefox, matrix-synapse, nextcloud, openvpn, perl-Data-Entropy, suricata, upx, varnish, webkitgtk, yarnpkg, and zabbix), Mageia (giflib, gnupg2, graphicsmagick, and poppler), Oracle (delve and golang, go-toolset:ol8, grub2, and webkit2gtk3), Red Hat (kernel and kernel-rt), **S … ⌘ Read more

⤋ Read More

Journalists Under Fire in Gaza, Israel’s Deadly War on Reporters
,    -  The Intercept

Stephan: The Israelis and Trump don’t want journalists covering what is happening in Gaza because it is such a moral nightmare, and as the briefing describes, there is an active war on journalists to stop them from really digging into the tragedy that is going on. This is also, I think, why pro-Palestinian college students are having their visas terminated.

![](https://www … ⌘ Read more

⤋ Read More

在 Go 中使用 Redis 管道提升性能
Redis 管道簡介 ———–Redis 的管道是一種優化技術,允許客戶端一次性發送多個命令到服務器,而無需逐一等待響應。服務器執行完所有命令後,再一次性返回所有結果。簡單來說,就是從 “一個一個送信” 變成“打包快遞”,大大減少了網絡通信的次數。來看看直觀的對比:無管道:發送命令 1,等待響應;發送命令 2,等待響應…… 每次都跑一個來回。 有管道:把命令 1、2、3 打包 ⌘ Read more

⤋ 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. 🥴)

⤋ Read More