Where all Gophers folks
@aelaraji@aelaraji.com Hmmm why do I block twitch.tv again? 🤔
@movq@www.uninformativ.de Oh man that is soooo cool! 😎 I wish I was going to start on-time this year, but I’ll. be away on holidays 😢
[47°09′38″S, 126°43′40″W] Carrier too weak
I wrote about making Glenda’s Joy Division cover (with updated colors and a link to source): http://a.9srv.net/b/2024-11-23
[47°09′55″S, 126°43′20″W] Waiting for carrier
@bender@twtxt.net @prologic@twtxt.net you mean This? if your browser doesn’t jump to the 00h26m56s time(-frame?) automatically you know where to look ;)
@james@yarn.mills.io oh, forgot to mention (and totally off topic), the shorter hair suits you better, with a light, to none, beard!
@james@yarn.mills.io wow, it has been a while since I saw you on this feed! It reminds me of the good old testing days. :-D
@bender@twtxt.net I’d like a copy too! It’d be great actually if I could upt it up on one of ours community sites like maybe yarn.social itself?
In which case I have one that is offline (work) and one that is online, but not public (personal). 🤣 I could publish some of them, but I haven’t figured out how I’d like to do that yet…
@sorenpeter@darch.dk if you can, could you directly link the video in which you presented? I tried searching for you in all of today’s videos but failed.
@prologic@twtxt.net you can keep them online (public, or not), or offline. Mine is offline.
@prologic@twtxt.net it is a compendium of notes and articles, and knowledge base, etc., one keeps on Markdown. Using Obsidian allows you to interconnect them as needed. It is a very powerful tool.
@wbknl@twtxt.net not public, no. I have a personal, and a work one.
@wbknl@twtxt.net Btw is a digital garden like a CV or something you put online or what? I’m not even sure I know what one means 🤔 😅
@lyse@lyse.isobeef.org global warming is a hoax! It never happened, it isn’t happening! 😏
@bender@twtxt.net what’s the url of yours? Is it public?
WTF, it’s getting warmer tonight than it was during the day. O_o
[47°09′02″S, 126°43′45″W] Bad satellite signal – switching to analog communication
@prologic@twtxt.net HAHA, It was the right tool for the task. 😆👍
We had 5cm snow at our scout yard at 10 o’clock. But it was nearly fully gone when we called it quits after sunset.
In May we charred cloth to be used as tinder. A fire steel and some wood shavings lit the fire in under a minute. Maybe half. That was good fun. I reckon I have to replenish the charred cloth soon, though. It’s crazy how great that works. I’m absolutely amazed.
We cut back the thorny brushes for hours and eventually winched out some heavy fallen trees. That was really cool to see this powerful winch in action. Absolutely effortless. It was also a complete one man show. We couldn’t do anything and just watch. There is no chance that we could have moved the tree trunks up the steep hill with just man power. Well, a few dozen people might have made it with great struggle.
Next time we have to cut them into smaller pieces and split them into firewood or keep some for contruction. I will see whether I can safe some to cut some boards from. A sawmill would be really cool to have. :-)
@prologic@twtxt.net I went in way too late for @sorenpeter@darch.dk’s presentation but just in time for the mosh-pit talk 🤘 I’ll have to dig through the Vods afterwards.
[47°09′41″S, 126°43′50″W] Automatic systems disengaged due to thunderstorm
Hurting their engagement numbers eh? 🤔
I guess it was just @david@collantes.us and I today, see y’all next time 😅
Glenda’s on a Joy Division kick: http://a.9srv.net/image/jocelyn.x3y2o10t1.png
@doesnm@doesnm.p.psf.lt You don’t generally call go build main.go
or whatever. You generally call go build .
or go build ./cmd/foo/...
– Because you need to tell the compiler to build a whole package or a bunch of sub-packages + main. go run main.go
only works for the simplest case.
Starting the call: https://meet.mills.io/call/Yarn.social
Come join us!
Very nice presentation! 👏
@sorenpeter@darch.dk@darch.dk i’m there! Just in time I think, can’t comment, wants to signup, which I won’t.
[47°09′14″S, 126°43′15″W] Automatic systems disengaged due to heavy rain
Live from Piksel Festival in about an hour via: https://www.twitch.tv/pikselfest - Also other presentations stating momentary
[47°09′04″S, 126°43′20″W] Wind speed: 62kph
go build is working but not go build main.go
[47°09′32″S, 126°43′29″W] Automatic systems disengaged due to blizzard
@aelaraji@aelaraji.com I knew you’d end up choosing OpenGist 🤣
@aelaraji@aelaraji.com Yeah I’ve been busily refactoring code today to use yt-dlp
under the hood 👌
I ended up deploying an OpenGist instead! unlike MicroBin, the whole things went smoother than posting a twt 😆
@prologic@twtxt.net It has been ages since the last time yt-dl worked for me … maybe give yt-dlp a try?
Same here:
$ youtubedr download 'https://www.youtube.com/watch?v=YpiK1FMy2Mg'
2024/11/23 09:01:12 download to directory .
time=2024-11-23T09:01:12.946+10:00 level=INFO msg="Downloading video" id=YpiK1FMy2Mg quality=medium mimeType="video/mp4; codecs=\"av01.0.01M.08\""
chunk at offset 0 has invalid size: expected=10485760 actual=0
What I’m seeing is some kind of detection going on and the CDN servers responding with 0 bytes.
Wow! Just Wow! 😮 Discovered this whilst trying to debug why my Youtube frontend no longer works:
$ youtube-dl 'https://www.youtube.com/watch?v=YpiK1FMy2Mg'
[youtube] YpiK1FMy2Mg: Downloading webpage
WARNING: unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: unable to download video data: HTTP Error 403: Forbidden
@sorenpeter@darch.dk@darch.dk Post us a link to the livestream as you’re about to go on? 🙏
@sorenpeter@darch.dk@darch.dk Cool! 😎
I’m giving a shot talk about twtxt/yarn/timeline tommow around noon CET at Piksel Festival in Norway. More info and link for live stream at: https://24.piksel.no
(So I will most likely not be joining the call)
@prologic@twtxt.net I’ve just seen that one as well as MicroBin on selfh.st , it looks prettier on your instance than it did on their live demo 😆. But I’ve already started playing around with microBin and will see how things go from there.
@bender@twtxt.net I no longer do, no. But I do run https://gist.mills.io/
This got my thinking. If I remember correctly, @prologic@twtxt.net ran a pastie on mills.io not long ago. I believe it was one he even coded himself! Do you still run that, James?
@aelaraji@aelaraji.com the irony of it is, not just foxes, but foxes living in Berlin! :-D
I prefer the code here, than having to go to another place to see it. :-P Honestly, I do. What you have posted is shorter than most of @abucci@anthony.buc.ci’s twtxts. :-D
I guess I should setup some kind of past-bin or something, I bet somebody’s already angry about them last couple of long twts 😅 Sorry, not sorry! but I’ll try to fix that.
Termux
same thing @doesnm uses and it worked 👍 Media
@doesnm@doesnm.p.psf.lt No it’s all good… I’ve just rebuilt it from master and it doesn’t look like anything is broken:
~/GitRepos> git clone https://github.com/plomlompom/htwtxt.git
Cloning into 'htwtxt'...
remote: Enumerating objects: 411, done.
remote: Total 411 (delta 0), reused 0 (delta 0), pack-reused 411 (from 1)
Receiving objects: 100% (411/411), 87.89 KiB | 430.00 KiB/s, done.
Resolving deltas: 100% (238/238), done.
~/GitRepos> cd htwtxt
master ~/GitRepos/htwtxt> go mod init htwtxt
go: creating new go.mod: module htwtxt
go: to add module requirements and sums:
go mod tidy
master ~/GitRepos/htwtxt> go mod tidy
go: finding module for package github.com/gorilla/mux
go: finding module for package golang.org/x/crypto/bcrypt
go: finding module for package gopkg.in/gomail.v2
go: finding module for package golang.org/x/crypto/ssh/terminal
go: found github.com/gorilla/mux in github.com/gorilla/mux v1.8.1
go: found golang.org/x/crypto/bcrypt in golang.org/x/crypto v0.29.0
go: found golang.org/x/crypto/ssh/terminal in golang.org/x/crypto v0.29.0
go: found gopkg.in/gomail.v2 in gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
go: finding module for package gopkg.in/alexcesaro/quotedprintable.v3
go: found gopkg.in/alexcesaro/quotedprintable.v3 in gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc
master ~/GitRepos/htwtxt> go build
master ~/GitRepos/htwtxt> ll
.rw-r--r-- aelaraji aelaraji 330 B Fri Nov 22 20:25:52 2024 go.mod
.rw-r--r-- aelaraji aelaraji 1.1 KB Fri Nov 22 20:25:52 2024 go.sum
.rw-r--r-- aelaraji aelaraji 8.9 KB Fri Nov 22 20:25:06 2024 handlers.go
.rwxr-xr-x aelaraji aelaraji 12 MB Fri Nov 22 20:26:18 2024 htwtxt <-------- There's the binary ;)
.rw-r--r-- aelaraji aelaraji 4.2 KB Fri Nov 22 20:25:06 2024 io.go
.rw-r--r-- aelaraji aelaraji 34 KB Fri Nov 22 20:25:06 2024 LICENSE
.rw-r--r-- aelaraji aelaraji 8.5 KB Fri Nov 22 20:25:06 2024 main.go
.rw-r--r-- aelaraji aelaraji 5.5 KB Fri Nov 22 20:25:06 2024 README.md
drwxr-xr-x aelaraji aelaraji 4.0 KB Fri Nov 22 20:25:06 2024 templates
#SoftwareLivre na AP: Mais uma vez rejeitado
@ both look pretty good and delicious to me 😀
@movq@www.uninformativ.de What!? why would anyone Geo-lock a documentary about Foxes !!? 🤦
@movq@www.uninformativ.de cheers! Let me know if you ever make it to Florida. We’ll send you back a handful of kilograms heavier, at least! :-D
Termux
same thing @doesnm uses and it worked 👍 Media
I’m cloned repo and go mod init/go mod tidy/go build, only master are broken?
[47°09′24″S, 126°43′41″W] Working impossible due to heavy rain
Este é um vídeo publicado pela Polícia Judiciária na sua conta do Twitter. A começar pela banda sonora brostep, tenho várias questões sobre o estilo de edição e o seu significado
@lyse@lyse.isobeef.org AWESOME! it’ll definitely come up handy… 🙏
@bender@twtxt.net Glad you could find it useful … as for like
I’m glad they’re not a thing here xD otherwise we wouldn’t be having as much conversations going on in here. but I get it, and do appreciate it. 🙏
@aelaraji@aelaraji.com You could use https://lyse.isobeef.org/tmp/twthash.py to generate twt hashes. I cobbled that together in order to generate test data for my client.
@bender@twtxt.net Gave it a try on Termux
same thing @doesnm@doesnm.p.psf.lt uses and it worked 👍
It looks just like this.
@bender@twtxt.net He’ll probably reply from his other feed, let’s see. :-)
@movq@www.uninformativ.de but what kind of pizza? :-D We get pizza once a month, specifically on Fridays (and, of course, we are not alone). Lately we have been buying Pizza Hut’s “tavern style”, everything in it, large pizzas (well, just one). Thinking of it makes me hungry! :-)
This video is quite lengthy (almost 3.5 hours long), but really worth watching.
@wbknl@twtxt.net ah, a digital garden… that reminds me to water mine. I am sure much of my plants are wilting.
@aelaraji@aelaraji.com I often wish “like” was a thing here. I would have just giving it one to this twtxt, and a re-post, to boost. :-) Thank you!
[47°09′12″S, 126°43′57″W] Wind speed: 76kph
Working on my digital garden, using Obsidian
@bender@twtxt.net here:
FROM golang:alpine as builder
ARG version
ENV HTWTXT_VERSION=$version
WORKDIR $GOPATH/pkg/
RUN wget -O htwtxt.tar.gz https://github.com/plomlompom/htwtxt/archive/refs/tags/${HTWTXT_VERSION}.tar.gz
RUN tar xf htwtxt.tar.gz && cd htwtxt-${HTWTXT_VERSION} && go mod init htwtxt && go mod tidy && go install htwtxt
FROM alpine
ARG version
ENV HTWTXT_VERSION=$version
RUN mkdir -p /srv/htwtxt
COPY --from=builder /go/bin/htwtxt /usr/bin/
COPY --from=builder /go/pkg/htwtxt-${HTWTXT_VERSION}/templates/* /srv/htwtxt/templates/
WORKDIR /srv/htwtxt
VOLUME /srv/htwtxt
EXPOSE 8000
ENTRYPOINT ["htwtxt", "-dir", "/srv/htwtxt", "-templates", "/srv/htwtxt/templates"]
Don’t forget the --build-arg version="1.0.7"
for example when building this one, although there isn’t much difference between the couple last versions.
P.S: I may have effed up changing htwtxt’s files directory to /srv/htwtxt
when the command itself defaults to /root/htwtxt
so you’ll have to throw in a -dir whenever you issue an htwtxt command (i.e: htwtxt -adduser somename:somepwd -dir /srv/htwtxt
… etc)
@aelaraji@aelaraji.com wow, the difference in size is astonishing! What your Dockerfile looks like?
@aelaraji@aelaraji.com I am not sure, because I might have names confused, but I think @doesnm@doesnm.p.psf.lt main problem is the fact they use a phone as their main computer. Don’t fully quote me on that, though! :-D
P.S:
~/remote/htwtxt » podman image list htwtxt the@wks
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/htwtxt 1.0.5-alpine 13610a37e347 3 hours ago 20.1 MB
localhost/htwtxt 1.0.7-alpine 2a5c560ee6b7 3 hours ago 20.1 MB
docker.io/buckket/htwtxt latest c0e33b2913c6 8 years ago 778 MB
@bender@twtxt.net I built my own, a much smaller one with a multi stage build… shouldn’t that do the trick? 🤔
@doesnm@doesnm.p.psf.lt I tried to go install github.com/plomlompom/htwtxt@1.0.7
as well as
# this is snippet from what I used for the Dockerfile but I guess it should work just fine.
cd ~/go/pkg && wget -O htwtxt.tar.gz https://github.com/plomlompom/htwtxt/archive/refs/tags/1.0.7.tar.gz
tar xf htwtxt.tar.gz && cd htwtxt-1.0.7 && go mod init htwtxt && go mod tidy && go install htwtxt
both worked just fine…
@bender@twtxt.net here… Enjoy 🦊🧡 😂
@aelaraji@aelaraji.com hehehehe! Being a nine years old container, the first thing to do is to bring the code complaint to the latest Go release. :-P
Yeah, metadata is an extension, and not part of the original spec.
@movq@www.uninformativ.de been getting so sloppy my feed is slowly turning into a fox nursery, I might end up renaming it into nature-reserve.txt
@bender@twtxt.net highly probably, unless I learn go and implement it myself (or someone else more capable does) … but I’m so lazy I’d just copy them from twtxt.net and call it a day xD and yeah, it’s kinda rough the way things are…
- I don’t see a way to follow others, all I can do is go to the /feeds URI for a list of the server’s users/feeds.
- I still couldn’t figure out how to get a direct link to a user’s twtxt file, curling /feeds/usernick spits out a list of the user usernick twts, so I guess you could use that to follow them.
- no way to add in your
# nick = usernick
/# url = proto://domain.ltd/path/to/twtxt.txt
…etc. Probably because that wasn’t part of the spec back then?
So yeah, it would make for a nice project while learning Go. :P
@movq@www.uninformativ.de I know, right?! Kind of jealous, I love those little rascals! :-D
@lyse@lyse.isobeef.org I don’t see a single reply on that feed. Looks like a one way kind of feed to me, but I might be wrong.
@aelaraji@aelaraji.com you will have to compute hashes by hand, right? How is the timeline, to read from those you follow? I figure it was a nice exercise to raise the dead, but with very little practical purposes, wouldn’t you agree? ;-)
@prologic@twtxt.net it seems to have stabilised on 18.1.1, just when 18.2 is around the corner (9 December?). All good. :-)
@bender@twtxt.net Can’t say I have sorry 😔
[47°09′00″S, 126°43′35″W] Weather forecast alert – storm from SE
Listening to Buffalo Springfield’s - For What it’s Worth - the topic seems still very relevant these days sadly.
[47°09′29″S, 126°43′51″W] Storm recedes – back to normal work
[47°09′55″S, 126°43′53″W] Working impossible due to thunderstorm
@bender@twtxt.net Yep! Twtxt spec by the letter I guess 🥲
Ever made an Oopsie, fixed it then Fuxed it up all over again? That’s clearly my queue to get AFK … Have a good one TWTXT!
@aelaraji@aelaraji.com I am sure @yarn_police@twtxt.net already knows. Nothing passes by law and order here!
well… 🦊
I’m getting way too comfortable with editing twts and fixing Eff’ ups… I gotta stop auto-syncing my twtxt file, at least I’ll have a breathing room for quick fixes when needed. I know, Michael Lucas might not approve of this but, I wouldn’t want the @yarn_police@twtxt.net in the middle of the night, right?
Alright, I gave #htwtxt container a quick spin. The thing lives and feels dead simple, like, echo -e “date -Im
\tHello world!” >> twtxt.txt kind of simple but with a GUI. and I LOVE IT! Now let’s see if we can rebuild the image with the latest version of htwtxt.