Karl Matthiasinanc

Coming in Go 1.20: go test -skip <regexPattern> 🎉

You can skip tests, subtests, or examples using a regular expression.

Proposal → go.dev/issue/41583

#golang

Karl Matthiasinanc
Karl Matthias

Digging through my old projects, I remembered this useful #Crystallang library that enables doing nice configuration with environment variables for Crystal projects. https://github.com/relistan/envconfig.cr

Screenshot showing how to use the config library
Karl Matthias

We wanted to have a service that would optionally tail logs from #Kubernetes for apps we deploy and report them over UDP syslog—in an existing JSON log format that we use from #Mesos.

  • It should make the log scrape/relay decision based on Annotations on the Pods.
  • It should rate limit by *pod* and not by host/node so that we don't overrun our log provider (e.g. when someone forgets to turn of debug logging) or starve other apps on the same node from being able to send their logs.
  • It should report rate limiting to our metrics system so we can track which pods are getting limited.

There was nothing that we could find that was able to do all of that. So I spent the last two days writing it in #Golang and we're doing initial deployment of that as a DaemonSet. Seems to work nicely 🎉

Karl Matthias˗ˏˋ wakest ˎˊ˗ :unverified:

Today in #ActivityPub :fediverse:

@relistan implemented Mastodon compatible profile fields in #Ktistec

PlanCat (a finger protocol server) cross implemented AP and now you can follow all the users of plan.cat from the #fediverse

Karl Matthiastoddsundsted
attachment showing profile metadata from both a mastodon site and a ktistec site

i built @relistan 's branch this morning and tried out ktistec support for mastodon profile metadata. the attachment shows profile metadata pulled from the ruby.social mastodon instance, as well as @relistan 's own personal ktistec instance. this is something i've wanted for a long time!

a shoutout is due both these two (the owners of the two profiles shown in the attachment): @alexanderadam has been posting encouragement about ktistec all year long, and maybe before—an intangible that's immensely valuable when you're banging away on open source software—and @relistan is the first person besides me to contribute major feature functionality to the project—which takes a huge leap of faith.

thanks!

#ktistec

Karl Matthias

I now have all the functionality in place, to support Mastodon-style links in the profiles in @toddsundsted 's #Ktistec single-user #ActivityPub server. Still WIP on tests and integration testing but getting close. It's running on my personal site https://k.matthias.org

Screenshot of Mastodon displaying links from my Ktistec profile
Karl Matthias

Links as attachments are now mostly working when pulled in from #Ktistec from #Mastodon. Plenty more to do on the PR, but initial testing looks good. Links not in the correct format don't show up as links in Mastodon, so I will work on fixing that.

Screen Shot 2022-11-28 at 1.57.13 PM.png 746.2 KB
Karl Matthias

Working on adding support for profile links to #Ktistec. Turns out that this is non-standard and has various implementation. Who knew? When completed, this will work like the Mastodon profile links. Thanks to @toddsundsted for working through the changes.

Karl Matthias

I've been adding a basic #Kubernetes API discovery mode to my long-lived Sidecar service discovery system. This will enable us at Community.com to span the Sidecar cluster across Kubernetes and #Mesos, and allow us to migrate services one at a time.

https://github.com/NinesStack/sidecar