@david@daiwei.me I truely think it’s one of the best ways to “login with your domain” really. It’s basically a lightweight version of OAuth2 – So it has merits.
↳
In-reply-to
»
The original twt is unavailable. It may have been edited or deleted, or is from an unknown or muted feed.
⤋ Read More
↳
In-reply-to
»
The original twt is unavailable. It may have been edited or deleted, or is from an unknown or muted feed.
⤋ Read More
@david@daiwei.me Who said I was trying to sell anything 🤣
Mates, awk is so fantastic! I just cobbled this together to get an overview of all my table test cases for a certain Go function:
awk '/^func/ { p=0 } /^func TestValidateCustomFields/ { p=1 } /name:/ { if (p) { sub(/^\s+name:\s+"/, ""); sub(/",$/, ""); print } }' registration_test.go
The structure is like this:
func TestValidateCustomFields(t *testing.T) {
for _, tt := range []struct {
name string
…
}{
{
name: "<test description>",
…
},
…
} {
t.Run(tt.name, func(t *testing.T) {
…
})
}
}
It’s so handy, I should make an alias for this.
↳
In-reply-to
»
The original twt is unavailable. It may have been edited or deleted, or is from an unknown or muted feed.
⤋ Read More
@david@daiwei.me If I’m to be honest, I think it’s more of a statement of the IndieWeb in general. I think it along with Small Web efforts and even out orn community-driven efforts such as Yarn.social / Twtxt and Salty.im all suffer from the same problem(s). To be fair, I’m not much good at marketing myself or convincing others that self-hsoted / decentrlaised stuff like IndieAuth is great, better, etc 😅