Searching yarn

Twts matching #twtxt.txt
Sort by: Newest, Oldest, Most Relevant
In-reply-to » Heck yeah, that's really cool! Let's hope for a clear sky: "On the evening of 28 February 2025, all seven of the other planets in the Solar System will appear in the night sky at the same time, with Saturn, Mercury, Neptune, Venus, Uranus, Jupiter, and Mars all lining up in a neat row – a magnificent sky feast for the eyes known as a great planetary alignment." https://www.sciencealert.com/a-rare-alignment-of-7-planets-is-about-to-take-place-in-the-sky

@movq@www.uninformativ.de Hmm yeah, you’re right. I should have checked for our location prior to getting too excited.

@aelaraji@aelaraji.com Yeah, a sore neck is always a win. :-P Here’s nothing really to see, all cloudy. And also a bit cold at -2°C. I don’t feel like standing still all that long outside at the moment. :-D

⤋ Read More
In-reply-to » Heck yeah, that's really cool! Let's hope for a clear sky: "On the evening of 28 February 2025, all seven of the other planets in the Solar System will appear in the night sky at the same time, with Saturn, Mercury, Neptune, Venus, Uranus, Jupiter, and Mars all lining up in a neat row – a magnificent sky feast for the eyes known as a great planetary alignment." https://www.sciencealert.com/a-rare-alignment-of-7-planets-is-about-to-take-place-in-the-sky

@lyse@lyse.isobeef.org /Me throws his keyboard off to the side, grabs his camera just in case and runs upstairs screaming “Yeah! Science B_ !”

⤋ Read More
In-reply-to » been playing with making fun scripts using charm CLI's gum library :P

@kat@yarn.girlonthemoon.xyz To improve you shell programming skills, I highly recommend to check out shellcheck: https://github.com/koalaman/shellcheck It points out common errors and gives some suggestions on how to improve the code. Some details in shell scripting are very tricky to get right at first. Even after decades of shell programming, I run into “corner cases” every now and then.

E.g. in getlyr’s line 7 it warns:

echo -e $(gum style --italic --foreground "#f4b8e4" "'$artist', '$song'")
        ^-- SC2046: Quote this to prevent word splitting.

For more information:
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...

Most likely not all that problematic in this application, but it’s good to know about this underlying concept. Word splitting is basically splitting tokens on whitespace, this can lead to interesting consequences as illustrated by this little code:

$ echo $(echo "Hello   World")
Hello World

$ echo "$(echo "Hello   World")" 
Hello   World

In the first case the shells sees two whitespace-separated tokens or arguments for the echo command. This basically becomes echo Hello World. So, echo joins them by a single space. In the second one it sees one argument for the echo command, so echo simply echos this single argument that contains three spaces.

⤋ Read More
In-reply-to » @doesnm the logic that keeps on growing! :-D

Need to summary all of these logic. So:\u2028 1. If file named twtxt.txt then grab parent directory name or hostname if file in root (and maybe delete ~?) \u2028 2. If file named nick.txt then grab filename

⤋ Read More
In-reply-to » @doesnm I see problems with that, that do not exist on my approach. You could see, example.com/x/bananas/yo.txt, and the feed has no nick. What is the nick?

I mean, since most feeds are named twtxt.txt, following your recommendation, there could be many “twtxt” nicks. 😀

⤋ Read More
In-reply-to » Hmm, I just noticed that the feed template seems to be broken on your yarnd instance, @kat. Looking at your raw feed file (and your mates as well), line 6 reads:

@prologic@twtxt.net so i did a mistake that i’ve done before and i think i just pulled from the main branch which is STUPID i KNOW and i don’t LEARN but whatever. i was having trouble with my go version and the makefile so i think i literally just ran it as my user with go in the path and redirected the binaries to go to a temporary directory i made and then moved them to /usr/bin lol. i’m not sure what could’ve caused this! probably something in the pipeline of weirdness i just wrote out

⤋ Read More
In-reply-to » good morning yarn friends. we need a funny name for yarn posters. what's something that fits the yarn theme.... i mean we quite literally have threads here. yarn threads. how epic is that. now us posters need a funny name too.

@prologic@twtxt.net wait thats so cute re: the yarn name! i had no idea! we’re all just keeping the yarn ball rolling…

⤋ Read More
In-reply-to » Or using the same twt hash method, but only for the URL, to generate the nick, if it doesn't exist, like so, @5vxo4ia

Let’s return to previous conversation: what if detect nick from url: pubnix.com/~nick/twtxt.txt is nick, domain.com/anick.txt is anick and etc

⤋ Read More
In-reply-to » 🤔 Prosoal: Disallowed the @<url> form of mentions. Strictly require that all mentions include a nickname/name; i.e: @<name url>.

@prologic@twtxt.net If you’ve got the feed URL in yarnd’s cache, you can easily look up a missing nick. If you can’t find it, just show the URL (or maybe just the domain name to be halfway consistent with this @nick@domain thing that yarnd invented) and be done. It’s really that simple.

When yarnds peer with each other, the odds of actually having come across that feed URL in the past are higher than with traditional clients that only have their local set of subscribed feeds. One additional improvment would be to also look at all the mentions and see if somebody used a nick for that URL and go with that.

Yeah, yarnd currently renders some really weird shit when the mention contains just a URL, but I’d call that a bug for sure.

Personally, I do not like the @nick@domain syntax at all. It looks silly to my eyes. What might have also contributed is the fact of this mentions syntax gotten screwed up so many times by yarnd in the past. But that’s a totally different topic.

⤋ Read More
In-reply-to » @johanbove But which one(s)? 🤔🤔 Serious question; my neighbor next door swears by the BBC and ABC (I'm Australian); but honestly even those news sources are full of political rhetoric and non-facts (opinions, etc) -- I have yet to see a single news source of actual facts and nothing more.

@prologic@twtxt.net Since I live in Germany, I do believe the media here is generally reputable. It really depends where you live of course. Source I look at are Reuters, NPR, The Guardian, Die Zeit, NY Times, CNN, Tagesschau, Spiegel Online, RP Online (for local news), … I would never just trust what I see in my social media feeds.

⤋ Read More
In-reply-to » Shit in my life has been spiraling out of control at an unbelievable rate. And just when you think life can't get shittier it dumps an even bigger N° 2 on yO face.

Thanks, I’m trying my best. Also, nice to meet you (and welcome back?) @oevl@twtxt.net, never seen you around before. 🙌

⤋ Read More

Hmm, I just noticed that the feed template seems to be broken on your yarnd instance, @kat@yarn.girlonthemoon.xyz. Looking at your raw feed file (and your mates as well), line 6 reads:

# This is hosted by a Yarn.social pod yarn running yarnd ERSION@OMMIT  go1.23.4
                                                         ^^^^^^^^^^^^

Looks like the first letters of the version and commit got somehow chopped off. I’ve no idea what happened here, maybe @prologic@twtxt.net knows something. :-? I’m not familiar with the templating, I just recall @xuu@txt.sour.is reporting in IRC the other day that he’s also having great fun with his custom preamble from time to time.

That “broken” comment doesn’t hurt anything, it’s still a proper comment and hence ignored by clients. It’s just odd, that’s all.

⤋ Read More
In-reply-to » i wanna try streaming with owncast using my camcorder as the input device because i found out that i might be able to do that and now i really wanna fuckin try it lol

@kat@yarn.girlonthemoon.xyz i don’t even have like time or space to stream unless it was no mic/video and just me doing stuff on my computer which can be boring without even mic input. plus no way to use camcorder that way. but. it’d be cool if i could so i dream

⤋ Read More
In-reply-to » 🤔 Prosoal: Disallowed the @<url> form of mentions. Strictly require that all mentions include a nickname/name; i.e: @<name url>.

@prologic@twtxt.net @movq@www.uninformativ.de Well, the original Twtxt Specification explicitly allows for the short form with just a URL and no nick: https://twtxt.readthedocs.io/en/latest/user/twtxtfile.html#format-specification

Mentions are embedded within the text in either @<source.nick source.url> or @<source.url> format […]

I’d just continue supporting it, even though I don’t see it all that often in the wild. I guess more common is the case where just a nick is given, which is illegal. But yarnd users seem to produce it every now and then.

What’s the motivation for deprecation?

⤋ Read More
In-reply-to » Heute gab es mal wieder eine Netzwerkveranstaltung / LAN-Party. Mit feinen Leuten einfach nur daddeln, Pizza essen und Bier trinken. Toll!

@movq@www.uninformativ.de An ähnliche Aktionen, von vor 20 Jahren, kann ich mich auch noch erinnern. Viel aktueller als damals™ waren unsere Spiele gestern auch nicht. BF1942, CoD, Flatout, CnC, AoE2, Unreal und Quake3, um nur einige zu nennen.

⤋ Read More