well @username@username rather…
yarnd does not do auto discovery via webfinger though.. i cant put @username and have it fetch the feed url from webfinger. to fully make feeds portable. would also need to be able to use that for hashing.
and then i have a compact version that makes things more grep’able in scripts.
You can’t catch the kill signal. Should this be syscall.SIGTERM instead of os.Kill, xuu? https://git.sour.is/sour-is/go-paste/src/branch/main/main.go#L21
You are totally right.. i think i was going for SIGTERM and SIGQUIT
I can query the configurations a few different ways. i can request the specific name
foo.bar or a glob like
foo.* or trace the hierarchy
trace:some.deep.name.space which will give me the namespaces
some.deep.name.space. These can be combined.
@firstname.lastname@example.org its a hierarchy key value format. I designed it for the network peering tools i use.. I can grant access to different parts of the tree to other users.. kinda like directory permissions. a basic example of the format is:
# example space comment
# attribute comments
attribute attr-tag :value for attribute
# attribute with multiple
# lines of values
@ starts the definition of a namespace kinda like
[name] in ini format. It can have comments that show up before. then each attribute is
key :value and can have their own
# comment lines.
Values can be multi line.. and also repeated..
the namespaces and values can also have little meta data tags added to them.
the service can define webhooks/mqtt topics to be notified when the configs are updated. That way it can deploy the changes out when they are updated.
[foo] [foo.bar] [foo.baz]) and it just feels confusing to me, even with indentation. Simple INI files are okay.
@email@example.com Don’t forget the syntax for arrays of sets
[[foo.bars]] [[foo.bars]] [[foo.bars]]
@firstname.lastname@example.org i made my own :D
I do prefer toml for the old school ini style with added support for object lists.
my second would be hjson or any other json with comments style.
how would that work with your encryption keys? you send them to a server that hopefully you control?
@email@example.com Haha! yeah sounds about like my HS CS program. A math teacher taught visual basic and pascal. and over on the other end of the school we had “electronics” which was a room next to the auto body class where they had a bunch of random computer parts scavenged from the district decommissioned surplus storage.
The advanced class would piece together training kits for the basic class to put together.
@firstname.lastname@example.org pascal was high school for me 10th grade. I remember making an over the top Yahtzee game with text windows and everything. My instructor got mad at me because it was a ton of pages printed out to review.
I finished my data structures classes with C++ and the next year they changed it out with Java. When i transferred up after my assoc degree it was C++ using the counter-strike source game engine.
@email@example.com before this century. Back when colleges taught C++ instead of Java for CS degrees.
@firstname.lastname@example.org Yeah the func in func threw me off.. The generic type
iter.Seq[V] does make things a bit more clear though.
Things can get very interesting when we add the iter.Pull function in the mix. It works like pythons yield from.
I would love to see a world where ones twtxt feed is defined by webfinger. So
@email@example.com => https://text.sour.is/user/xuu/twtxt.txt
Then my identity can exist independent of the feed location. And I can host multiple protocol types for my feed. Ie. http/gopher/Gemini/irc DCC/etc
the function can yield two values to include an index.
The range function can signal when to stop running by returning false from the yield function.
Go 1.22.0 introduces a new experiment for range functions. Have you tried them out? What do you think it can make easier to accomplish?
@firstname.lastname@example.org NASM is great. I remember playing with it back in my HS days. It has lots of little helps to make assembly more approachable.