Edit #issuecomment-18968
@eapl.me@eapl.me @andros@twtxt.andros.dev here’s another variant as per eapl’s suggestion (#issuecomment-18968)[https://git.mills.io/yarnsocial/twtxt.dev/issues/9#issuecomment-18968]
What would you like the new twtxt logo to be?
Comments: https://git.mills.io/yarnsocial/twtxt.dev/issues/9#issuecomment-18960
I\’m learning #Django at paid offline course. My diplom project: https://git.0ut0f.space/doesnm/cms (frontend not included in repo but exists on my usb drive because it’s too worse)
6.14-rc3: mainline
Version:6.14-rc3 (mainline)Released:2025-02-16Source:linux-6.14-rc3.tar.gzPatch:full ( incremental) ⌘ Read more
It would appear that Google’s web crawlers are ignoring the robots.txt that I have on https://git.mills.io/robots.txt with content:
User-agent: *
Disallow: /
Evidence attached (see screenshots):
– I think its the the Small Web community band together and file a class action suit(s) against Microsoft.com Google.com and any other assholes out there (OpenAI?) that violate our rights and ignore requests to be “polite” on the web. Thoughts? 💭
**It would appear that Google’s web crawlers are ignoring the robots.txt that I have on https://git.mills.io/robots.txt with content:
User- ...**
It would appear that Google’s web crawlers are ignoring the `robots.txt` that I have on [https://git.mills.io/robots.txt](https://git.mills.io/robots.txt) with content:
User-agent: *
Disallow: /
”`
Evidence attached ( see screenshots): 
– I think its the the Small Web com … ⌘ Read more”`
PostmarketOS Joins Codeberg’s Fight Against “Right Wing Forces”
Following dubious announcement of attack by “Right Wing Forces” by Git hosting company, a Linux Phone OS project has joined their crusade. ⌘ Read more
[ANN] LocalMonero Clone (openmonero) is now open source
Going strong with a couple of forks will make openmonero more censorship-resistant. The reactjs codebase is now open source. Check out git repository.. (hosted on tor hidden service); contact: https://openmonero.com/support, contact II: @OM_HELP (telegram)
Links:
OpenMonero (Session ID) ⌘ Read more
i made a little twtxt feed fixer for when a feed uses other whitespace instead of tabs.
i made a little twtxt feed fixer for when a feed uses other whitespace instead of tabs.
Codeberg Announces “Fight Against Far-Right”
The Git source code hosting organization, in response to anonymous spam, declares war on “Right-Wing Forces”, encourages others to do the same. ⌘ Read more
6.14-rc2: mainline
Version:6.14-rc2 (mainline)Released:2025-02-09Source:linux-6.14-rc2.tar.gzPatch:full ( incremental) ⌘ Read more
@prologic@twtxt.net we need to remove: https://git.mills.io/yarnsocial/go-lextwt/src/branch/main/ast.go#L776-L784
apparently i can’t make the edit via gitea.. i am guessing its hitting one of your firewall rules.
@prologic@twtxt.net we need to remove: https://git.mills.io/yarnsocial/go-lextwt/src/branch/main/ast.go#L776-L784
apparently i can’t make the edit via gitea.. i am guessing its hitting one of your firewall rules.
@<url>. Submitting this writes @<domain url> instead of @<nick url> in the feed.
While I now have a somewhat working fix for it in yarnd (https://git.mills.io/yarnsocial/yarn/pulls/1232), I also have the feeling that I should fix literal formatting in lextwt as well. This also uncovered more bugs I believe: https://git.mills.io/yarnsocial/go-lextwt/pulls/28
But then there is also the question why the textarea is populated with @<url> in the first place rather than @<nick url> or yarnd’s own @nick@domain/@nick syntax. It indeed has to do something with whether I follow the mentioned feed or not.
Anyway, something to investigate for future Lyse or maybe @prologic@twtxt.net and/or @xuu@txt.sour.is. G’night!
(#2skyjyq) @darch.dk@darch.dk You are welcome to use git.mills.io
@darch.dk @darch.dk You are welcome to use git.mills.io ⌘ Read more
6.14-rc1: mainline
Version:6.14-rc1 (mainline)Released:2025-02-02Source:linux-6.14-rc1.tar.gzPatch:full ⌘ Read more
cli/q: 🌱 A simple programming language. - q - Projects I really like this little q lang that Ed has created ❤️ Really nice and simpler, great design and implementation and really lovely cross-platform compiler supporting DOS, Windows, Darwin and Linux on AMD64 and ARM64 💪
cli/q: 🌱 A simple programming language. - q - Projects I really like this little q lang that Ed has created ❤️ Really nice and simpler, g …
cli/q: 🌱 A simple programming language. - q - Projects I really like this little q lang that Ed has created ❤️ Really nice and simpler, great design and implementation and really lovely cross-platform compiler supporting DOS, Windows, Darwin and Linux on AMD64 and ARM64 💪 ⌘ Read more
@prologic@twtxt.net I believe @andros@twtxt.andros.dev is referring to the one on the original twtxt docs . I’ve been meaning to contribute to the discussion on the git but I’m just lazy 😅 amma throw in a little something in a minute Poke a bee hive and run away style 😆
I would like to make another proposal to the community, to discuss it calmly: https://git.mills.io/yarnsocial/twtxt.dev/issues/9 #twtxt
Amazing! My response: https://git.mills.io/yarnsocial/twtxt.dev/pulls/8#issuecomment-18500
I share a simple API template with Clean Architecture using #flask and #fastapi
https://git.andros.dev/andros/api-template-with-clean-architecture
#cleancode #cleanarchitecture
(#h5hud5a) @kat@kat I also happen to use it to run as well as to front SSh access to 👌
@kat @yarn.girlonthemoon.xyz I also happen to use it to run https://mbox.blue as well as to front SSh access to https://git.mills.io 👌 ⌘ Read more
(#h5hud5a) @kat That was
@kat @yarn.girlonthemoon.xyz That was https://git.mills.io/prologic/sshbox ⌘ Read more
@prologic@twtxt.net Just in case… the git link is missing a c in prologic
(#h5hud5a) @kat Now you just need to front this with sshbox and protect your precious little SSh resource 💪
@kat @yarn.girlonthemoon.xyz Now you just need to front this with sshbox and protect your precious little SSh resource 💪 ⌘ Read more
i self hosted the soft serve git server cuz i felt like it. it’s sooo cute i love everything charm CLI does
ssh -p 24010 soft.git.girlonthemoon.xyz
Git security vulnerabilities announced
A new set of Git releases were published to address a variety of security vulnerabilities. All users are encouraged to upgrade. Take a look at GitHub’s view of the latest round of releases.
The post Git security vulnerabilities announced appeared first on The GitHub Blog. ⌘ Read more
(#nm5tj6a) @andros Yes! 🙌
@andros @twtxt.andros.dev Yes! 🙌 https://git.mills.io/yarnsocial/twtxt.dev ⌘ Read more
6.13-rc7: mainline
Version:6.13-rc7 (mainline)Released:2025-01-12Source:linux-6.13-rc7.tar.gzPatch:full ( incremental) ⌘ Read more
@kat@yarn.girlonthemoon.xyz both scripts are here under the names ‘getlyr’ and ‘now playing’ if you wanna try them out yourself, just make sure you have gum installed (also curl and jq but most people have those i think) https://git.sr.ht/~chasinglightning/dotfiles/tree/main/item/home/.local/bin
Highlights from Git 2.48
The open source Git project just released Git 2.48. Here is GitHub’s look at some of the most interesting features and changes introduced since last time.
The post Highlights from Git 2.48 appeared first on The GitHub Blog. ⌘ Read more
prologic/caddy-gcore: Caddy DNS provider for GCore - caddy-gcore - Mills
prologic/caddy-gcore: Caddy DNS provider for GCore - caddy-gcore - Mills ⌘ Read more
prologic/libdns-gcore: libdns provider for GCore - libdns-gcore - Mills
prologic/libdns-gcore: libdns provider for GCore - libdns-gcore - Mills ⌘ Read more
Building LATAM’s future tech workforce with AI
Git Commit 2024 and our new AI course in Spanish
The post Building LATAM’s future tech workforce with AI appeared first on The GitHub Blog. ⌘ Read more
**(#cmttsmq) Note for reference I was trying to write and fix this rule (fixed version below):
# Ignore Content-Type restrictions for Git
S ...**
Note for reference I was trying to write and fix this rule ( _fixed version below_):
Ignore Content-Type restrictions for Git
SecRule REQUEST_HEADERS:Host “@streq git.mills.io” “id:101,phase:1,t:none,nolog,ctl:ruleRemoveById=920420”
⌘ [Read more](https://twtxt.net/twt/n4ipixa)
**(#cmttsmq) This is how I build my caddy:
proxy-1:~# cat build.caddy.sh
#!/bin/sh
xcaddy build \
--with github.com/caddy-dns/cloudflare \
...**
This is how I build my caddy:
proxy-1:~# cat build.caddy.sh
#!/bin/sh
xcaddy build
--with github.com/caddy-dns/cloudflare \
--with github.com/caddyserver/cache-handler \
--with git.mills.io/prologic/caddy-ratelimit \
--with git.mills.io/prologic/caddy-waf
proxy-1:~#
⌘ [Read more](https://twtxt.net/twt/dokh7ca)
6.13-rc6: mainline
Version:6.13-rc6 (mainline)Released:2025-01-05Source:linux-6.13-rc6.tar.gzPatch:full ( incremental) ⌘ Read more
messing with gemini again, this time a static site generator called gssg - https://git.sr.ht/~gsthnz/gssg
my capsule is linked in my profile but just in case it’s over at gemini://lazuli.sayitditto.net
been having fun updating my dotfiles repo as if i have anything notable to put in there
wanna play with CLI stuff or host something new… maybe play with that charmbracelet git server but i don’t need that lol
Whoohoo! 💪 Last night I added support for SSH Agent Forwarding to sshbox that now enables me to use it as an SSH Reverse Proxy to a private S …
Whoohoo! 💪 Last night I added support for SSH Agent Forwarding to sshbox that now enables me to use it as an SSH Reverse Proxy to a private SSH service. I can now use this to front my Gitea’s SSH service 👌 ( without exposing my infra behind the proxy or the IP addresses). ⌘ Read more
6.13-rc5: mainline
Version:6.13-rc5 (mainline)Released:2024-12-29Source:linux-6.13-rc5.tar.gzPatch:full ( incremental) ⌘ Read more
(#ywl4paq) Ahh I see what I’ve done. That was a bit unfortunate 🤣 Because git.mills.io was a non-proxied DNS entry so that Git+SSH would al …
Ahh I see what I’ve done. That was a bit unfortunate 🤣 Because git.mills.io was a non-proxied DNS entry so that Git+SSH would also work, I now have a problem hmm. How not to expose my IP(s) directly and open them up to attack? 🤔 ⌘ Read more
(#ywl4paq) What’s not working for you? What’s the error? 🤔 I recently had to firewall off access to my infra for Web traffic and only permit …
What’s not working for you? What’s the error? 🤔 I recently had to firewall off access to my infra for Web traffic and only permit ingress via Cloudflare. Why? 😅 Because some asshole(s) on the Internet decided it would be a good idea to send me in excess of 300 rps to my Git server 🤦♂️ ⌘ Read more
Is https://git.mills.io/yarnsocial dead?
6.13-rc4: mainline
Version:6.13-rc4 (mainline)Released:2024-12-22Source:linux-6.13-rc4.tar.gzPatch:full ( incremental) ⌘ Read more
I’ve started a draft over at: https://git.mills.io/yarnsocial/twtxt.dev/src/branch/main/exts/webfinger.md
How to Create and Use an AI Git Agent
We show how to create Git agent and use this Git agent to understand PR branches for a variety of user personas — without needing to know the ins and outs of Git. ⌘ Read more
(#rcpphgq) Oh and I should mention that mbox.blue is running µLinux 😅
Oh and I should mention that mbox.blue is running µLinux 😅 ⌘ Read more
6.13-rc3: mainline
Version:6.13-rc3 (mainline)Released:2024-12-15Source:linux-6.13-rc3.tar.gzPatch:full ( incremental) ⌘ Read more
Neat! 👌 I have been hacking on sshbox and refactored it a fair bit to have much more flexible auth methods. In addition I also toyed around w …
Neat! 👌 I have been hacking on sshbox and refactored it a fair bit to have much more flexible auth methods. In addition I also toyed around with the idea of having a shared (free) unix environment like some of the ones around ( whose name eludes me right now 🤦♂️), with a couple of key differences and differentiators:
- The environment you get is actua … ⌘ Read more
6.13-rc2: mainline
Version:6.13-rc2 (mainline)Released:2024-12-08Source:linux-6.13-rc2.tar.gzPatch:full ( incremental) ⌘ Read more
Over the holiday break I was looking at one of my old projects, µLinux. Turns out I did a fine job realy and have decided to revive the projec …
Over the holiday break I was looking at one of my old projects, µLinux. Turns out I did a fine job realy and have decided to revive the project 🥳 – Just getting the build/tests woring on my Mac Studio ( Apple Silicon). Check it out! 👌
#µLinux ⌘ Read more
(#v72lwdq) Or
Or https://git.mills.io/prologic/static ⌘ Read more
6.13-rc1: mainline
Version:6.13-rc1 (mainline)Released:2024-12-01Source:linux-6.13-rc1.tar.gzPatch:full ⌘ Read more
[LFF] [1.2 XMR] Fundraiser for hosting the Monero archive for one more year
I have now been hosting the monero archive for more than a year now (started sometime in September 2023), I would like to keep on hosting it for one more year (at least). This fundraiser is for one more year of hosting. The price is the same at 0.1 XMR/month for hosting + maintenance.
Links:
- https://kuno.anne.media/fundraiser/yg9f/
- https://git.4rkal.com/
- [archiv32ihkwhf26umylx3u7tg … ⌘ Read more
followers field is deprecated ==>
followers field is deprecated ==> https://git.mills.io/yarnsocial/twtxt.dev/pulls/6 ⌘ Read more
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
@prologic@twtxt.net just rebuild my image.. though git says i am already at latest
@prologic@twtxt.net just rebuild my image.. though git says i am already at latest
6.12-rc7: mainline
Version:6.12-rc7 (mainline)Released:2024-11-10Source:linux-6.12-rc7.tar.gzPatch:full ( incremental) ⌘ Read more
@eapl.me@eapl.me Neat.
So for twt metadata the lextwt parser currently supports values in the form [key=value]
https://git.mills.io/yarnsocial/go-lextwt/src/branch/main/parser_test.go#L692-L698
@eapl.me@eapl.me Neat.
So for twt metadata the lextwt parser currently supports values in the form [key=value]
https://git.mills.io/yarnsocial/go-lextwt/src/branch/main/parser_test.go#L692-L698
Righto, @eapl.me@eapl.me, ta for the writeup. Here we go. :-)
Metadata on individual twts are too much for me. I do like the simplicity of the current spec. But I understand where you’re coming from.
Numbering twts in a feed is basically the attempt of generating message IDs. It’s an interesting idea, but I reckon it is not even needed. I’d simply use location based addressing (feed URL + ‘#’ + timestamp) instead of content addressing. If one really wanted to, one could hash the feed URL and timestamp, but the raw form would actually improve disoverability and would not even require a richer client. But the majority of twtxt users in the last poll wanted to stick with content addressing.
yarnd actually sends If-Modified-Since request headers. Not only can I observe heaps of 304 responses for yarnds in my access log, but in Cache.FetchFeeds(…) we can actually see If-Modified-Since being deployed when the feed has been retrieved with a Last-Modified response header before: https://git.mills.io/yarnsocial/yarn/src/commit/98eee5124ae425deb825fb5f8788a0773ec5bdd0/internal/cache.go#L1278
Turns out etags with If-None-Match are only supported when yarnd serves avatars (https://git.mills.io/yarnsocial/yarn/src/commit/98eee5124ae425deb825fb5f8788a0773ec5bdd0/internal/handlers.go#L158) and media uploads (https://git.mills.io/yarnsocial/yarn/src/commit/98eee5124ae425deb825fb5f8788a0773ec5bdd0/internal/media_handlers.go#L71). However, it ignores possible etags when fetching feeds.
I don’t understand how the discovery URLs should work to replace the User-Agent header in HTTP(S) requests. Do you mind to elaborate?
Different protocols are basically just a client thing.
I reckon it’s best to just avoid mixing several languages in one feed in the first place. Personally, I find it okay to occasionally write messages in other languages, but if that happens on a more regularly basis, I’d definitely create a different feed for other languages.
Isn’t the emoji thing “just” a client feature? So, feed do not even have to state any emojis. As a user I’d configure my client to use a certain symbol for feed ABC. Currently, I can do a similar thing in tt where I assign colors to feeds. On the other hand, what if a user wants to control what symbol should be displayed, similar to the feed’s nick? Hmm. But still, my terminal font doesn’t even render most of emojis. So, Unicode boxes everywhere. This makes me think it should actually be a only client feature.
6.12-rc6: mainline
Version:6.12-rc6 (mainline)Released:2024-11-04Source:linux-6.12-rc6.tar.gzPatch:full ( incremental) ⌘ Read more
(#fmnhewq) @bender@bender Fuck 😅 CI job failed to publish the new OCI image:
@bender Fuck 😅 CI job failed to publish the new OCI image: https://git.mills.io/yarnsocial/yarn/actions/runs/525 ⌘ Read more
👋 PR to propose Feed Format Extension – Request for comment 🙏
👋 PR to propose Feed Format Extension – Request for comment 🙏
👋 PR to propose Feed Format Extension – Request for comment 🙏 ⌘ Read more
6.12-rc5: mainline
Version:6.12-rc5 (mainline)Released:2024-10-27Source:linux-6.12-rc5.tar.gzPatch:full ( incremental) ⌘ Read more
👋 PR to Update Metadata ext to clarify avatar field cc @lyse @movq @sorenpeter and @Codebuzz
👋 PR to Update Metadata ext to clarify avatar field cc @lyse @lyse.isobeef.org @movq @www.uninformativ.de @sorenpeter @darch.dk and [@Codebuzz _@www.co … ⌘ Read more
**(#rjapt4a) I think it uses the first # url too. See here and here – @xuu@xuu Can you confirm this to be the case? 🙏 GetN("url", ...**
I _think_ it uses the first# urltoo. See [here](https://git.mills.io/yarnsocial/go-lextwt/src/branch/main/ast.go#L1062-L1074) and [here](https://git.mills.io/yarnsocial/go-lextwt/src/branch/main/lextwt.go#L88-L95) – [@xuu _@txt.sour.is_](https://twtxt.net/external?uri=https://txt.sour.is/user/xuu/twtxt.txt&nick=xuu) Can you confirm this to be the case? 🙏GetN(“url”, 0)will return the fir ... ⌘ [Read more](https://twtxt.net/twt/5ieybsq)
6.12-rc4: mainline
Version:6.12-rc4 (mainline)Released:2024-10-20Source:linux-6.12-rc4.tar.gzPatch:full ( incremental) ⌘ Read more
How to ace the Certified Argo Project Associate (CAPA) exam
Community post originally published on Medium/IT Next by Giorgi Keratishvili Introduction Over the last five years, GitOps has emerged as one of the most interesting implementations of using GIT in the Kubernetes ecosystem and when people hear about… ⌘ Read more
6.12-rc3: mainline
Version:6.12-rc3 (mainline)Released:2024-10-13Source:linux-6.12-rc3.tar.gzPatch:full ( incremental) ⌘ Read more
Web interface is deleted in https://git.mills.io/saltyim/saltyim/commit/376de2702319686c902ec03b8ca1e17b020fc639 but seems incorrectly (in source i see git lfs metadata). Can be builded if you grab https://git.mills.io/saltyim/saltyim/src/commit/15a64de82829/internal/web/app.wasm and place it in source (go directory has cached source) and rebuild
Highlights from Git 2.47
Git 2.47 is here, with features like incremental multi-pack indexes and more. Check out our coverage of some of the highlights here.
The post Highlights from Git 2.47 appeared first on The GitHub Blog. ⌘ Read more
6.12-rc2: mainline
Version:6.12-rc2 (mainline)Released:2024-10-06Source:linux-6.12-rc2.tar.gzPatch:full ( incremental) ⌘ Read more
How, this is some funny easter egg: https://git.savannah.nongnu.org/cgit/man-db.git/commit/src/man.c?id=002a6339b1fe8f83f4808022a17e1aa379756d99
I share I did write up an algorithm for it at some point I think it is lost in a git comment someplace. I’ll put together a pseudo/go code this week.
Super simple:
Making a reply:
- If yarn has one use that. (Maybe do collision check?)
- Make hash of twt raw no truncation.
- Check local cache for shortest without collision
- in SQL:
select len(subject) where head_full_hash like subject || '%'
- in SQL:
Threading:
- Get full hash of head twt
- Search for twts
- in SQL:
head_full_hash like subject || '%' and created_on > head_timestamp
- in SQL:
The assumption being replies will be for the most recent head. If replying to an older one it will use a longer hash.
I share I did write up an algorithm for it at some point I think it is lost in a git comment someplace. I’ll put together a pseudo/go code this week.
Super simple:
Making a reply:
- If yarn has one use that. (Maybe do collision check?)
- Make hash of twt raw no truncation.
- Check local cache for shortest without collision
- in SQL:
select len(subject) where head_full_hash like subject || '%'
- in SQL:
Threading:
- Get full hash of head twt
- Search for twts
- in SQL:
head_full_hash like subject || '%' and created_on > head_timestamp
- in SQL:
The assumption being replies will be for the most recent head. If replying to an older one it will use a longer hash.
6.12-rc1: mainline
Version:6.12-rc1 (mainline)Released:2024-09-29Source:linux-6.12-rc1.tar.gzPatch:full ⌘ Read more
I believe I’d missed an f:
~/src/jenny $ git diff
diff --git a/jenny b/jenny
index ada8da2..8ae9a06 100755
--- a/jenny
+++ b/jenny
@@ -1194,7 +1194,7 @@ if __name__ == '__main__':
if args.edit:
edit_twt_file(app)
elif args.fetch:
- with DirectoryLock(f'/tmp/jenny-{getuser()}.run'):
+ with DirectoryLock(expanduser(f'~/tmp/jenny-{getuser()}.run')):
retrieve_all(app)
elif args.last_seen:
print('Feeds last seen at (times are local time), oldest first:')
@doesnm@doesnm.p.psf.lt I’ve just given it a try on android/termux and got it to work, I can’t promise it won’t break something else (because i definitely don’t know what I’m doing) but here’s what I broke 😅:
~/src/jenny $ git diff
diff --git a/jenny b/jenny
index ada8da2..8ae9a06 100755
--- a/jenny
+++ b/jenny
@@ -1194,7 +1194,7 @@ if __name__ == '__main__':
if args.edit:
edit_twt_file(app)
elif args.fetch:
- with DirectoryLock(f'/tmp/jenny-{getuser()}.run'):
+ with DirectoryLock(expanduser('~/tmp/jenny-{getuser()}.run')):
retrieve_all(app)
elif args.last_seen:
print('Feeds last seen at (times are local time), oldest first:')
and of course make sure you mkdir ~/tmp
Diving into mblaze, I think I’ve nearly* reached peek email geek.
Just a bunch of shell commands I can pipe together to search, list, view and reply to email (after syncing it to a local Maildir).
EXAMPLES at https://git.vuxu.org/mblaze/tree/README
So far I’m using most of the tools directly from the command line, but I might take inspiration from https://sr.ht/~rakoo/omail/ to make my workflow a bit more efficient.
*To get any closer, I think I’d have to hand-craft my own SMTP client or something.
Official yarn.social tool: git.mills.io/yarnsocial/useragent
Had to build a list of all feeds (that I follow) and all twts in them and there are two collisions already:
$ ./stats
Saw 58263 hashes
7fqcxaa
https://twtxt.net/user/justamoment/twtxt.txt
https://twtxt.net/user/prologic/twtxt.txt
ntnakqa
https://twtxt.net/user/prologic/twtxt.txt
https://twtxt.net/user/thecanine/twtxt.txt
Namely:
$ jenny -D https://twtxt.net/user/justamoment/twtxt.txt | grep 7fqcxaa
[7fqcxaa] [2022-12-28 04:53:30+00:00] [(#pmuqoca) @prologic@twtxt.net I checked the GitHub discussion, it became a request to join forces.
Do you plan on having them join?
Also for the name, how about:
- “progit” or “prologit” (prologic official hard fork)
- “git-stance” (git instance)
- “GitTree” (Gitea inspired, maybe to related)
- “Gitomata” (git automata)
- “Git.Source”
- “Forgor” (forgit is taken so I forgor) 🤣
- “SweetGit” (as salty chat)
- “Pepper Git” (other ingredients) 😉
- “GitHeart” (core of git with a GitHub sounding name)
- “GitTaka” (With music in mind)
Ok, enough fun… Hope this helps sprout some ideas from others if nothing is to your taste.]
$ jenny -D https://twtxt.net/user/prologic/twtxt.txt/5 | grep 7fqcxaa
[7fqcxaa] [2022-02-25 21:14:45+00:00] [(#bqq6fxq) It’s handled by blue Monday]
And:
$ jenny -D https://twtxt.net/user/thecanine/twtxt.txt | grep ntnakqa
[ntnakqa] [2022-01-23 10:24:09+00:00] [(#2wh7r4q) <a href="https://txt.sour.is/external?uri=https://twtxt.net/user/prologic/twtxt.txt">@prologic<em>@twtxt.net</em></a> I know, I was just hoping it might have also gotten fixed by that change, by some kind of backend miracles. 😂]
$ jenny -D https://twtxt.net/user/prologic/twtxt.txt/1 | grep ntnakqa
[ntnakqa] [2024-02-27 05:51:50+00:00] [(#otuupfq) <a href="https://txt.sour.is/external?uri=https://twtxt.net/user/shreyan/twtxt.txt">@shreyan<em>@twtxt.net</em></a> Ahh 👌]
Alright, before I go and watch Formula 1 😅, I made two PRs regarding the two “competing” ideas:
- https://git.mills.io/yarnsocial/yarn/pulls/1179 –
(replyto:…)
- https://git.mills.io/yarnsocial/yarn/pulls/1180 –
(edit:…)and(delete:…)
As a first step, this summarizes my current understanding. Please comment! 😊
I forgot to git add a new test file. Added to the patch now at https://www.falsifian.org/a/oDtr/patch0.txt
Can I get someone like maybe @xuu@txt.sour.is or @abucci@anthony.buc.ci or even @eldersnake@we.loveprivacy.club – If you have some spare time – to test this yarnd PR that upgrades the Bitcask dependency for its internal database to v2? 🙏
VERY IMPORTANT If you do; Please Please Please backup your yarn.db database first! 😅 Heaven knows I don’t want to be responsible for fucking up a production database here or there 🤣
Oh. looks like its 4 chars. git show 64bf
Oh. looks like its 4 chars. git show 64bf
the stem matching is the same as how GIT does its branch hashes. i think you can stem it down to 2 or 3 sha bytes.
if a client sees someone in a yarn using a byte longer hash it can lengthen to match since it can assume that maybe the other client has a collision that it doesnt know about.
the stem matching is the same as how GIT does its branch hashes. i think you can stem it down to 2 or 3 sha bytes.
if a client sees someone in a yarn using a byte longer hash it can lengthen to match since it can assume that maybe the other client has a collision that it doesnt know about.
@prologic@twtxt.net Wikipedia claims sha1 is vulnerable to a “chosen-prefix attack”, which I gather means I can write any two twts I like, and then cause them to have the exact same sha1 hash by appending something. I guess a twt ending in random junk might look suspcious, but perhaps the junk could be worked into an image URL like
. If that’s not possible now maybe it will be later.git only uses sha1 because they’re stuck with it: migrating is very hard. There was an effort to move git to sha256 but I don’t know its status. I think there is progress being made with Game Of Trees, a git clone that uses the same on-disk format.
I can’t imagine any benefit to using sha1, except that maybe some very old software might support sha1 but not sha256.