# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 196314
# self = https://watcher.sour.is?offset=157725
# next = https://watcher.sour.is?offset=157825
# prev = https://watcher.sour.is?offset=157625
@movq Haha, nice. :-D
Pinellas County Running: 3.02 miles, 00:09:02 average pace, 00:27:18 duration
testing out the left knee again, but in the real world. it was fine, took it easy but not super easy so it was a good test.
#running
Moderate: 3.02 miles, 00:09:02 average pace, 00:27:18 duration
testing out the left knee again, but in the real world. it was fine. took it easy but not super easy so it was a good test.
#running
Moderate: 3.02 miles, 00:09:02 average pace, 00:27:18 duration
testing out the left knee again, but in the real world. it was fine. took it easy but not super easy so it was a good test.
#running
Moderate: 3.02 miles, 00:09:02 average pace, 00:27:18 duration
testing out the left knee again, but in the real world. it was fine. took it easy but not super easy so it was a good test.
#running
@xuu Cool! I particularly like the idea of converting it into a grep-able version, that's very neat. Interesting choice of aligning the colons at the values and not the keys, I think I never came across this.
@movq completely agree. Also, love the ability Thunderbird used to have (don't know if still does, don't use it) to allow searching for message-id, which we could use to edit emails to fix threats. I used to do it in Mutt too.
https://blog.guillaume-gomez.fr/Rust Un tuto #rust en français pour apprendre les bases
@mckinley Same here. Reading the spec I came across some confusing or not inherently logical things. Maybe they turn out not so bad in practice.

Being also a Python programmer, I wish there would be more indentation-based stuff. I do like that part with YAML.

Oh no! :-( That's bad to hear. I configured ejabberd years ago and it just is Erlang if I remember correctly. Quite a cool choice for that software.
@mckinley I hear you, that's why I prefer * as the bullet point wherever possible, e.g. markdown and RST. Not sure if YAML has it, too. I just know at work we use - for lists as well. But then use blank lines to separate list items that are spanning multiple lines. That helps a bit.
and then i have a compact version that makes things more grep'able in scripts.

and then i have a compact version that makes things more grep'able in scripts.

@lyse
> 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
@lyse
> 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
[47°09′08″S, 126°43′03″W] Dosimeter malfunction
Há poucos problemas da alma que não possam ser resolvidos com um megacombo fdp :fire_yolo:​
Há poucos problemas da alma que não possam ser resolvidos com um megacombo fdp :fire_yolo:​
Not making THREADING the default view of e-mail clients and thus teaching users that e-mail is “chaotic” (if you get a lot of mail, it becomes unusable without threading) and “needs” full quoting all the time was one of the worst mistakes ever.
Not making THREADING the default view of e-mail clients and thus teaching users that e-mail is “chaotic” (if you get a lot of mail, it becomes unusable without threading) and “needs” full quoting all the time was one of the worst mistakes ever.
Not making THREADING the default view of e-mail clients and thus teaching users that e-mail is “chaotic” (if you get a lot of mail, it becomes unusable without threading) and “needs” full quoting all the time was one of the worst mistakes ever.
Whoohoo! We finally had a classic leap year bug at work today! 🥳 😂

“Today + 1 year = 2025-02-29” …=
Whoohoo! We finally had a classic leap year bug at work today! 🥳 😂

“Today + 1 year = 2025-02-29” …=
Whoohoo! We finally had a classic leap year bug at work today! 🥳 😂

“Today + 1 year = 2025-02-29” …=
[47°09′34″S, 126°43′39″W] Reading: 1.32 Sv
['Esperando a la siguiente vacuna 💉\nEsta canción es perfecta para acompañar la foto: ', {'type': 'link', 'text': 'https://youtu.be/iYYRH4apXDo?si=T12gygiPlpJqpGh_'}, '']
#catsoftwtxt
['Esperando a la siguiente vacuna 💉\nEsta canción es perfecta para acompañar la foto: ', {'type': 'link', 'text': 'https://youtu.be/iYYRH4apXDo?si=T12gygiPlpJqpGh_'}, '']
/https://duque-terron.cat/media/photos/photo_8829-02-2024_10-58-27.jpg) #catsoftwtxt
['Esperando a la siguiente vacuna 💉\nEsta canción es perfecta para acompañar la foto: ', {'type': 'link', 'text': 'https://youtu.be/iYYRH4apXDo?si=T12gygiPlpJqpGh_'}, '']
#catsoftwtxt
[47°09′08″S, 126°43′44″W] --bad checksum--
[47°09′42″S, 126°43′42″W] Storm recedes -- back to normal work
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, some.deep, some.deep.name, and some.deep.name.space. These can be combined.
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, some.deep, some.deep.name, and some.deep.name.space. These can be combined.
@lyse 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:


@namespace
# multi
# line
# comment
root :value

# example space comment
@namespace.name space-tag 

# attribute comments
attribute attr-tag  :value for attribute

# attribute with multiple 
# lines of values
foo :bar
      :bin
      :baz

repeated :value1
repeated :value2


each @ 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.
@lyse 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:


@namespace
# multi
# line
# comment
root :value

# example space comment
@namespace.name space-tag 

# attribute comments
attribute attr-tag  :value for attribute

# attribute with multiple 
# lines of values
foo :bar
      :bin
      :baz

repeated :value1
repeated :value2


each @ 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.
🧮 USERS:1 FEEDS:2 TWTS:891 ARCHIVED:70188 CACHE:2269 FOLLOWERS:14 FOLLOWING:14
@mckinley Don't forget the syntax for arrays of sets [[foo.bars]] [[foo.bars]] [[foo.bars]]
@mckinley Don't forget the syntax for arrays of sets [[foo.bars]] [[foo.bars]] [[foo.bars]]
Starting (again) to work on something very old, I discovered it modulates up by a halfstep twice. Up, up, done. Maybe I can work in some extremely slow contrary motion, too.
Starting (again) to work on something very old, I discovered it modulates up by a halfstep twice. Up, up, up, done. Maybe I can work in some extremely slow contrary motion, too.
Yeah, the lack of comments makes regular JSON not a good configuration format in my view. Also, putting all keys in quotes and the use of commas is annoying. The big upside is that's in lots of standard libraries.

I think the appeal with YAML is that is has comments, is kind of easy to write and read and also provides unlimited nesting levels. But it has all its drawbacks, no question. Forbidding tabs, thousands of different string flavors, having so many boolean options (poor Norwegians) etc. I use it, but I don't particularly enjoy it.

Among simple key value pairs, I like INI files, but with # for comments, not ;. I never used TOML, read up on it yesteray before writing this question, but it looks a bit weird and has some strange rules. I guess I have to give it a try one day.

And yes, as mentioned by several of you, it always depends on the complexity of the configuration at hand.

I'm developing something for the scouts at the moment with rather simple requirements on the config. Currently, there are just four settings. Even INI would be overkill with its section. I selected JSON for now, because that's readily available with Go's std lib. But I do not like it.

Btw. what's your own config format, @xuu?
[47°09′42″S, 126°43′37″W] Wind speed: 108kph -- batteries low
I like it when I'm too distracted to want decide what to play, but there is a tape waiting to be flipped since yesterday.
[47°09′12″S, 126°43′45″W] Working impossible due to thunderstorm
Tradmill Running: 3.00 miles, 00:10:01 average pace, 00:30:02 duration

#running #treadmill
Easy: 3.00 miles, 00:10:01 average pace, 00:30:02 duration
just an easy run after a few days resting the knee. had a few pings the first half mile and then it went away until about 2.75 miles in. called it soon after.
#running #treadmill
Easy: 3.00 miles, 00:10:01 average pace, 00:30:02 duration
just an easy run after a few days resting the knee. had a few pings the first half mile and then it went away until about 2.75 miles in. called it soon after.
#running #treadmill
Easy: 3.00 miles, 00:10:01 average pace, 00:30:02 duration
just an easy run after a few days resting the knee. had a few pings the first half mile and then it went away until about 2.75 miles in. called it soon after.
#running #treadmill
test from lynx
@lyse It usually depends on how easy it is to parse given the project’s circumstances. For Python, it’s usually JSON because you can easily turn this into a dict. For C with GTK, it’s INI because GLib comes with an INI parser. For minimalistic C, it’s just a config.h. You get the idea. 😃
@lyse It usually depends on how easy it is to parse given the project’s circumstances. For Python, it’s usually JSON because you can easily turn this into a dict. For C with GTK, it’s INI because GLib comes with an INI parser. For minimalistic C, it’s just a config.h. You get the idea. 😃
@lyse It usually depends on how easy it is to parse given the project’s circumstances. For Python, it’s usually JSON because you can easily turn this into a dict. For C with GTK, it’s INI because GLib comes with an INI parser. For minimalistic C, it’s just a config.h. You get the idea. 😃
[47°09′35″S, 126°43′38″W] Wind speed: 76kph
yeah, where and how can we sign up?
yeah, where and how can we sign up?
yeah, where and how can we sign up?
yeah, where and how can we sign up?
[47°09′12″S, 126°43′50″W] Wind speed: 81kph -- batteries low
[47°09′41″S, 126°43′02″W] Wind speed: 84kph -- batteries low
juntando "Penny Travitz" à lista de possíveis nomes drag
juntando "Penny Travitz" à lista de possíveis nomes drag
@lyse 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.
@lyse 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 hson or any other json with comments style.
@lyse 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.
🧮 USERS:1 FEEDS:2 TWTS:890 ARCHIVED:70178 CACHE:2292 FOLLOWERS:14 FOLLOWING:14
@eapl.me Why not 😆
@eapl.me Why not 😆
@eapl.me Why not 😆
@lyse For configuring what?
@lyse For configuring what?
@lyse For configuring what?
funny,_the_price_will_come_back_to_30
Question of the day: What configuration file formats do you all like and use?
@movq Exactly. But I fear you just don't learn these kind of skills for real life in school. I think overall I was pretty lucky with mine, but I don't have the feeling that school particularly prepared me all that well for reality out there. I would give my social environment much more credit. But it's very hard to say, maybe subconsciously school had a larger effect than I think. :-?

Anyway, they definitely should teach that, I fully agree! :-)
[47°09′06″S, 126°43′33″W] Automatic systems disengaged due to heavy rain
[47°09′08″S, 126°43′16″W] Wind speed: 66kph -- batteries low
Once, or possibly never
[47°09′00″S, 126°43′13″W] Working impossible due to heavy rain
Decididamente uma das minhas piores decisões de 2024 foi começar a jogar Balatro :mild_panic:
Decididamente uma das minhas piores decisões de 2024 foi começar a jogar Balatro :mild_panic:
@slashdot wowee, pot-kettle-black Google!
[47°09′50″S, 126°43′18″W] Wind speed: 47kph -- batteries low
@shreyan Ahh 👌
@shreyan Ahh 👌
@shreyan Ahh 👌
[47°09′05″S, 126°43′31″W] Wind speed: 41kph
Bitcoin is kicking asses and taking names!
🧮 USERS:1 FEEDS:2 TWTS:889 ARCHIVED:70170 CACHE:2311 FOLLOWERS:14 FOLLOWING:14
Whaouuh, just discover that #sway has gestures support \o/ #tilingWM. Check man 5 sway.
Whaouuh, just discover that #sway has gestures support \\o/ #tilingWM. Check man 5 sway.
[47°09′23″S, 126°43′23″W] Wind speed: N/A -- Cannot comunicate
@lyse That’s the definition of a dumpster fire, isn’t it? 😂

What we should teach kids in elementary school: If you receive some notification/message that appears to be actually important and you’re not sure if it’s legit or not, then contact the sender of that message *through another totally unrelated channel* and try to verify it.
@lyse That’s the definition of a dumpster fire, isn’t it? 😂

What we should teach kids in elementary school: If you receive some notification/message that appears to be actually important and you’re not sure if it’s legit or not, then contact the sender of that message *through another totally unrelated channel* and try to verify it.
@lyse That’s the definition of a dumpster fire, isn’t it? 😂

What we should teach kids in elementary school: If you receive some notification/message that appears to be actually important and you’re not sure if it’s legit or not, then contact the sender of that message *through another totally unrelated channel* and try to verify it.
[47°09′24″S, 126°43′22″W] Weather forecast alert -- storm from SE
#catsoftwtxt
#catsoftwtxt
/https://duque-terron.cat/media/photos/photo_8726-02-2024_15-30-52.jpg) #catsoftwtxt
what a stupid time to be alive.
On my blog: Developer Diary, Beach Pneumatic Transit https://john.colagioia.net/blog/2024/02/26/beach.html #programming #project #devjournal
h-anniversary ⌘ https://notiz.blog/b/6vA
h-anniversary ⌘ https://notiz.blog/b/6vA