Been curious to see if can filter out my access.log file and output a list of my twtxt followers just in case I’ve missed someone … I came up with this awk -F '\"' '/twtxt/ {print $(NF-1)}' /var/log/user.log | grep -v 'twtxt\.net' | sort -u | awk '{print $(NF-1) $NF}' | awk '/^\(/'
spaghetti monster of a command and I’m wondering if there’s a more elegant way for achieving the same thing.
@quark@ferengi.one That’s the actual plan for the night, I’m just waiting on a clearer sky. 😆
@david@collantes.us No worries, I got you. And I’ll keep the “Handle with care” reminder in mind, might even use it as mantra if I ever take an arrow in the knee 😆
@david@collantes.us I’m already prepared to blame it on tonight’s full moon if it doesn’t. 🐺
@doesnm@doesnm.p.psf.lt here! create a $HOME/.cache/mutt/twtxt/
directory for example and then add this set header_cache = $HOME/.cache/mutt/twtxt/
to your muttrc (the one you have set up for or use with jenny if you’re using different ones). That’s what helped me with that.
@bender@twtxt.net Here #sgvko5a 😁
@bender@twtxt.net That mention looks like @<bender bender@twtxt.net>
on my side …
@rrraksamam@twtxt.net have the Invidious instances (alternative front-end to the platform) stop working? Otherwise, I have just figured my way around navigating PeerTube content and I wouldn’t even miss it if YT had to disappear from the internet.
@david@collantes.us How much of a computer does it have to be? Would a ZimaBoard do the trick? I don’t have a wife, so I wouldn’t know any better 😅
@sorenpeter@darch.dk I’ve been using weechat for a while then when I started learning my way around Emacs I switched to Circe … a couple months later I setup ZNC, rolled with it for some time but wasn’t sure if I wanted to stick with it. Now I’m mainly using TheLounge and do find it convenient accessing it from anywhere. but quite honestly, I don’t have a preference.
@prologic@twtxt.net yeah, sorry about that, I shouldn’t have put something like that out there in the fist place. It started as a completely different twit then I got overwhelmed noticing that I may have became the exact same thing I despise the most 🤦
@bender@twtxt.net Hehe! I’m flattered.
@prologic@twtxt.net Just gave this one a try to update my twtxt.txt file with a proper # follow = ...
list! 🙏
Feeling suspicious about a little something and I, don’t like it -the feeling- a bit. Maybe I’m just being paranoid… but most probably I’m just being an ignorant judgemental piece of shit and I hate myself for it already.
@sorenpeter@darch.dk Awesome! I’ll dig in as soon as I come back from my late night stroll
LMAO!!! The bitreich landing page is hilarious 😂
”… we only store good cake recipes, this complies with the GCPR - General Cookie Protection Ruling“
Alas, I can’t get myself to resist. Interacting with tech and software makes me feel like a kid in a candy shop: “I wanna taste all of it! Find my favorite Lollipop and wonder about where it came from, who made it? How is it possible to turn any kind of mushy juicy fruit into a hard, forever lasting candy in a freaking stick!? Oh, Wait!! Is THAT chocolate over there!!?”
I’m not even supposed to do be doing any of this, I should be making stuff* with Shapes, forms and color instead of poking at software with a stick like a caveman. 😆
*Stuff: Things I make and refuse to call Art, unless I have to in a resume and what not.
@movq@www.uninformativ.de Although my recent breakage/down time was more of a result of human error than it is something to blame on software itself, I do get your point; and will highly probably end up going the same route in the near future. It’s just that in order to south my forever itching curiosity, I have to learn and try some things first.
@asquare@asquare.srht.site Hi back at you!! 👋 and nice to meet you!
I believe it’s about time I learned to use Treafik.
Yeah I know! My ship was sinking and I’ve just noticed. Patched up the holes and now we’re back afloat.
Apparently I am incapable of getting my sh…Things done unless I drop to TTY xD
@movq@www.uninformativ.de Touch Typing GIGA-CHAD spotted how fast do you type? I can barely do 12wpm xD so I have plenty of time to think about my next short-cut.
gg=G
and to va"
, ci"
, di{
... in vim the other day 😆 Life will never be the same, I can feel it. ref
@bmallred@staystrong.run Sweeeeeeeeeeet!! Just gave it a try and sorted my Jenny follow list; Thank you !!
@prologic@twtxt.net Sure!! gg=G
auto-indents your documents, as for the rest it’s:
v
for selection mode,c
for change andd
for delete actions as usual.
- followed by either ‘a
for around or
i` for inside/in-between whatever special character comes after it
_ the [, (, “ … special characters define the perimeter/extent of the action.
i.e: ci"
would be change the text under the cursor between quotes and da[
_delete text and brackets included_
I’ve linked a reference in the first twt, hope you find it useful.
gg=G
and to va"
, ci"
, di{
... in vim the other day 😆 Life will never be the same, I can feel it. ref
@lyse@lyse.isobeef.org yeah, that’s the thing! I’ve been trying to learn more vim motions and I just can’t get myself to remember any… Now I have that cheat sheet bookmarked, I can look them up on the need to know basis.
@sorenpeter@darch.dk I watched it the other day, it’s pretty neat! do you have more of these?
Learned to gg=G
and to va"
, ci"
, di{
… in vim the other day 😆 Life will never be the same, I can feel it. ref
Note to self: “If your dashboard says you sh..t is down, it means your sh..t is down. It’s not a dashboard miss-config you dumb azz” 😆
My To Learn
list is getting bigger and bigger, ADHD is looking at me funny. 😅
/ME screaming at the mirror: WHAT ARE YOU LOOKING AT LIKE THAT!!? DO YOU WANT!?
@prologic@twtxt.net nick is skinshafi and domain is aelaraji.com 🫡
@https://twtxt.net/user/prologi
FINALLY!! I figured my way around daemonizing #saltyd with an rc.d init script with logs and all! 🥳 still have to try a tiny modification before writing that thing… I hope it doesn’t Bork it 😅
@prx@si3t.ch If you were to read this, I would’ve suggested that you gave Podman a try… alas, you won’t.
Pulled an all nighter for nothing 😅 but hey, better paranoid than sorry!
@doesnm@doesnm.p.psf.lt Much appreciated!! 🙏 I’ll go through the files and see if I can understand any of it. I might learn a thing or two along the way.
@prologic@twtxt.net would you please check my web interface? is that a normal thing or am I missing something?
Anyone has saltyd actually up and running? my deployment was a mess … will tell you all about it when I wake up 😅
@eldersnake@we.loveprivacy.club Wouldn’t it be possible to use it with your older FF profile? smt like this ?
This Zen-Browser is actually not bad! 🤯
- Based on Firefox instead of Chromium.
- Got tiling pans when you need them… (just like a tiling window manager).
- I can hide the Tabs and Nav-Bar with a single short-cut!! AKA Compact Mode …
@slashdot@feeds.twtxt.net Pretend I’m Leonardo.
/ME slow claps…
@fastidious@tilde.town @movq@www.uninformativ.de hehe’ Howdy!
@bender@twtxt.net Not yet! the prompt said the requests are treated manually and that it could take up to 30 days.
@bender@twtxt.net yeah I know, I treat these like the RSS ones. I’m OK with them being one-ways as long as they don’t get Spammy.
@3r1c@3r1c.net 🤔 Interesting! I was thinking about doing something like this in Rofi
, now I can just play with this one.
@off_grid_living@twtxt.net I gave it a try, unfortunately it’s a scanned document (just a bundle of Images), the only real text in there, is the first two pages.
@prologic@twtxt.net I got tricked tow times in row 🥲
@fastidious@tilde.town Wait! I do know you! 😅
@fastidious@tilde.town Yeah, I gave it a try, now I’ll just wait. BTW, Your Nick rings a bell! I probably do remember it from reading old twts 👋 Happy getting to you here!
NGL tilde town’s registration process was quite fun! reminded me of the good old text based adventure game.
@bender@twtxt.net Yes! tilde.town is next on my list if I don’t get a response in… too long.
Been curious about how people on Pubnix instances do manage their feed, if they have access to log? Sent in a req to join one still no res.
Drama
is tech entities' new Going Viral
PR stunt. After the Wordpress vs. WPE mayhem, Godot starts it's own, Who/what's next?
@bender@twtxt.net I can always edit my twt and correct my Oopsie xD Would that make him happier?
f
:
@falsifian@www.falsifian.org You are correct, but I ended up switching to /data/data/com.termux/files/usr/tmp
as suggested by @doesnm@doesnm.p.psf.lt in (#66py4ja). there must have been a reason why that file was placed in /tmp/
in the first place, I just don’t know my way around python that much to figure it out 😅.
Drama
is tech entities' new Going Viral
PR stunt. After the Wordpress vs. WPE mayhem, Godot starts it's own, Who/what's next?
You proud daddy!? My twt is exactly 140 characters! 😂😂😂
Apparently Drama
is tech entities’ new Going Viral
PR stunt. After the Wordpress vs. WPE mayhem, Godot starts it’s own, Who/what’s next?
+1 👆
@off_grid_living@twtxt.net is it locked because of a DRM thing or something else?
Otherwise you can check if you already have the pdftotext
command that comes with the poppler-utils package, try converting converting the pdf into a text file and copy to your heart’s content. I have just tried it myself.
If you don’t have it already here’s what you can do on Ubuntu or any Debian based distribution of Linux:
- Update and upgrade your packages:
> sudo apt update && sudo apt upgrade
- Install the
poppler-utils
package
> sudo apt install poppler-utils
- Now you can convert your pdf to txt file with:
> pdftotxt -layout -enc UTF-8 name_of_source_file.pdf name_of_destination_file.txt
You can always do a pdftotxt --help
to see the rest of possible options.
Hope this helps.
@doesnm@doesnm.p.psf.lt that was a quick and dirty thing I wanted to try 😄 but of course, you can point it wherever you believe it should.
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
Definitely NOT editing that Oupsie… + It looks all the same in terminal, so I can live with it.🤣
() @xuu@txt.sour.is wrote:
”@bender I am also in camp no edit signals. deletes only breaks the head of a thread. all the replies are unaffected.”
I figure I could also answer every single twtxt like this, so that if the original gets edited, or deleted, at least I don’t sound foolish without knowing exactly what I replied to. 🤭
It Sounds like a good idea! should that be limited to just direct replays or can it be extended to replays
to other replays, that way and With just the right amount of chain-replays, we’ll be RRrrrrrevolutionizing the way people Mailing Lists
like, in no time! xD
P.S: Just a reminder! I’ve already told you not to mind my twts for the next couple of hours, right!
@bender@twtxt.net HAHA I’ve just bookmarked that Repo to go through it tomorrow 👌
See!? Even Meta/Facebook uses plain text, not just Twtxt! 🤣
@3r1c@3r1c.net Woa! I love this blog’s format! _ it’s just perfect for reading from terminal…
@lyse@lyse.isobeef.org HAHA Nice one!
@bender@twtxt.net Well Matt should definitely get better Lawyers/PR people who could slap em’ on the wrest and tell “NO!” before he does something childish and effs things up. As for WPE, I believe a billion dollar company should be able to afford investing in their own infrastructure, hosting their resources, deploying their own CDNs and what not instead of leaching on Wordpress (’s infrastructure) for free (as in free coffee) + The Stripe thing they did is so disgusting given the circumstances, I don’t even want to talk about it.
Things could/should’ve been handled better, now it’s just another sh…rimp show.
@stigatle@yarn.stigatle.no You too buddy, have a good one!
@prologic@twtxt.net here… Get the same impression about the dude as everyone else and then (get the other side of the story, although it is a mess)[https://invidious.privacyredirect.com/watch?v=Gd8h_6vYPJ8] … Theeeeen, don’t give an Eff’ about any of it. 🤣
@david@collantes.us and WPE are saints, right? 🤣
@doesnm@doesnm.p.psf.lt nah man! you’re not tricking me into answering that one 🤣🤣🤣
“Fu*** IRC maaan, all the cool kids are on Discord! IRC sucks”
LOL, Now substitute IRC and Discord with Gopher/Gemini
and Web
.
I hope you get the joke 😅
@prologic@twtxt.net does that include mine? otherwise it would make them 8 and 5, maybe even throw off your maths by 0.00001% 😆 … and, come on! 1.04% seems like a good ratio considering how many gopher holes and gem capsules compared to how many Web servers out there in the world 😂
@xuu@txt.sour.is they can take 2% of your disk space/bandwidth and rent it to the highest bidder 🤥
@cuaxolotl@sunshinegardens.org Wait, what!? We’re dropping Gemini support!?
@quark@ferengi.one HAHAHAHAHAHAHAHAHAHAHA! 🤣
@quark@ferengi.one HAHA I wish! but no. It’s actually
as a matter of fact! don’t mind anything I do/say for the next 72 hours xD
Don’t mind this twt!
@david@collantes.us yeah what @lyse@lyse.isobeef.org said. 😅 and I just chickened out seeing bigger numbers than usual.
rsync(1)
but, whenever I Tab
for completion and get this:
@lyse@lyse.isobeef.org and @movq@www.uninformativ.de thanks for sharing those options, they’re a good point to start from. Much appreciated! 🙏
@mckinley@twtxt.net I mean, yes! I’ve heard a lot of good things about how efficient of a tool it is for backup and all; and I’m willing to spend the time and learn. It’s just that seeing those +400 possible options was a buzz-kill. 🫣 luckily @lyse and @movq s
@mckinley@twtxt.net I mean, yes! I’ve heard a lot of good things about how efficient of a tool it is for backup and all; and I’m willing to spend the time and learn. It’s just that seeing those +400 possible options was a buzz-kill. 🫣 luckily @lyse and @movq shared their most used options!
Been trying to get acquainted with rsync(1)
but, whenever I Tab
for completion and get this:
λ ~/ rsync –
zsh: do you wish to see all 484 possibilities (162 lines)?
I’m like: Nope! a scp -rpCq ...
or whatever option salad will do just fine. 😅 [Insert: “Ain’t nobody got time fo’that!” Meme.]
LMAO 🤣 … I’ve been scrolling through mutt(1) man page and found this:
BUGS
None. Mutts have fleas, not bugs.
@prologic@twtxt.net Care to explain how that proves anything when someone else already got the spoofed twt with no way to tell it was? can’t an old twt just be deleted and give a similar result when grep-ed for?
Le me is worried! 😅
@bender@twtxt.net Just desktop notifications at the moment, but you could easily throw in a Ntfy server and get notified about anything you want, wherever you want. 🤣
@prologic@twtxt.net 🕵🏻 Hint: it was a twt about stolen property…
I have just made yet another convoluted twtxt notifications script! Feeling like an old dog learning new tricks! 🤣
@movq@www.uninformativ.de @falsifian@www.falsifian.org @prologic@twtxt.net Maybe I don’t know what I’m talking about and You’ve probably already read this: Everything you need to know about the “Right to be forgotten” coming straight out of the EU’s GDPR Website itself. It outlines the specific circumstances under which the right to be forgotten applies as well as reasons that trump the one’s right to erasure …etc.
I’m no lawyer, but my uneducated guess would be that:
A) twts are already publicly available/public knowledge and such… just don’t process children’s personal data and MAYBE you’re good? Since there’s this:
… an organization’s right to process someone’s data might override their right to be forgotten. Here are the reasons cited in the GDPR that trump the right to erasure:
- The data is being used to exercise the right of freedom of expression and information.
- The data is being used to perform a task that is being carried out in the public interest or when exercising an organization’s official authority.
- The data represents important information that serves the public interest, scientific research, historical research, or statistical purposes and where erasure of the data would likely to impair or halt progress towards the achievement that was the goal of the processing.
B) What I love about the TWTXT sphere is it’s Human/Humane element! No deceptive algorithms, no Corpo B.S …etc. Just Humans. So maybe … If we thought about it in this way, it wouldn’t heart to be even nicer to others/offering strangers an even safer space.
I could already imagine a couple of extreme cases where, somewhere, in this peaceful world one’s exercise of freedom of speech could get them in Real trouble (if not danger) if found out, it wouldn’t necessarily have to involve something to do with Law or legal authorities. So, If someone asks, and maybe fearing fearing for… let’s just say ‘Their well being’, would it heart if a pod just purged their content if it’s serving it publicly (maybe relay the info to other pods) and call it a day? It doesn’t have to be about some law/convention somewhere … 🤷 I know! Too extreme, but I’ve seen news of people who’d gone to jail or got their lives ruined for as little as a silly joke. And it doesn’t even have to be about any of this.
P.S: Maybe make X
tool check out robots.txt? Or maybe make long-term archives Opt-in? Opt-out?
P.P.S: Already Way too many MAYBE’s in a single twt! So I’ll just shut up. 😅
Gotta unplug for a couple of minutes. I’m suspecting the extension cord to be the root of my monitor dead rows of pixels and flickering problems.
@david@collantes.us “Hello back” from the other corner of the world! 🫡
@movq@www.uninformativ.de You’re right! switching from zsh to bash gave me the same result zq4fgq
Thanks!
@prologic@twtxt.net I ran the same command and got an even different result xD
~ » echo -n "https://twtxt.net/user/prologic/twtxt.txt\n2020-07-18T12:39:52Z\nHello World! 😊" | openssl dgst -blake2s256 -binary | base32 | tr -d '=' | tr 'A-Z' 'a-z' | tail -c 7
p44j3q
@prologic@twtxt.net I’m glad to! it just kinda feel a bit off when it’s all I can do 😅
@quark@ferengi.one Mine is a little overkill 😂 but I need to do something for practice:
#!/bin/bash
set -e
trap 'echo "!! Something went wrong...!!"' ERR
#============= Variables ==========#
# Source files
LOCAL_DIR=$HOME/twtxt
TWTXT=$LOCAL_DIR/twtxt.txt
HTML=$LOCAL_DIR/log.html
TEMPLATE=$LOCAL_DIR/template.tmpl
# Destination
REMOTE_HOST=remotHostName # Host already setup in ~/.ssh/config
WEB_DIR="path/to/html/content"
GOPHER_DIR="path/to/phlog/content"
GEMINI_DIR="path/to/gemini-capsule/content"
DIST_DIRS=("$WEB_DIR" "$GOPHER_DIR" "$GEMINI_DIR")
#============ Functions ===========#
# Building log.html:
build_page() {
twtxt2html -T $TEMPLATE $TWTXT > $HTML
}
# Bulk Copy files to their destinations:
copy_files() {
for DIR in "${DIST_DIRS[@]}"; do
# Copy both `txt` and `html` files to the Web server and only `txt`
# to gemini and gopher server content folders
if [ "$DIR" == "$WEB_DIR" ]; then
scp -C "$TWTXT" "$HTML" "$REMOTE_HOST:$DIR/"
else
scp -C "$TWTXT" "$REMOTE_HOST:$DIR/"
fi
done
}
#========== Call to functions ===========$
build_page && copy_files
@bender@twtxt.net LOL normally things (in the vanilla template) render like <time class="dt-published" datetime="2024-09-17T15:05:19+01:00"> 2024-09-17 14:05:19 +0000 UTC+0000 </time>
the datetime=...
atribute is in my local time UTC+1 then the text within the tag is in UTC+0
The thing is, I’ve been poking at the template as well, but nothing changes. I literally whole portionsm added in lorem text just to see if it would do anything, then twtxt2html -T ./layout.html <link to twtxt file> | less
shows same thing as before! nothing changes. LOL I’m not sure I’m going at it the right way.
It feels like an A’ Hole pointing at typos while other people are the ones doing the real work ! 😅