30p87
@30p87@feddit.org
- Comment on Is there a self-hosted project that does base64 url decoding in a privacy respecting fashion? 2 days ago:
cut --help
andman cut
can teach you more than anyone here.But: “|” takes the output of the former command, and uses it as input for the latter. So it’s like copying the output of “echo […]”, executing “cut -d ‘/’ -f 6”, and pasting it into that. Then copy the output of “cut”, execute “base64 -d” and paste it there. Except the pipe (“|”) automates that on one line.
And yes, cut takes a string (so a list of characters, for example the url), split’s it at what -d specifies (eg. cut -d ‘/’ splits at “/”), so it now internally has a list of strings, “https:”, “”, “link.sfchronicle.com”, “external”, 41488169.38548", “aHR0cHM6Ly93d3cuaG90ZG9nYmlsbHMuY29tL2hhbWJ1cmdlci1tb2xkcy9idXJnZXItZG9nLW1vbGQ_c2lkPTY4MTNkMTljYzM0ZWJjZTE4NDA1ZGVjYSZzcz1QJnN0X3JpZD1udWxsJnV0bV9zb3VyY2U9bmV3c2xldHRlciZ1dG1fbWVkaXVtPWVtYWlsJnV0bV90ZXJtPWJyaWVmaW5nJnV0bV9jYW1wYWlnbj1zZmNfYml0ZWN1cmlvdXM” and “6813d19cc34ebce18405decaB7ef84e41”, and from that list outputs whatever is specified by -f (so eg. -f 6 means the 6th of those strings. And -f 2-3 means the 2nd to 3rd string. And -5 means everything up to and including the fifth, and 3- means everything after and including the third).
But all of that is explained better in the manpage (man cut). And the best way to learn is to just fuck around. So
echo “t es t str i n g, 1” | cut …
and try various arguments. - Comment on What is the current state of Matrix? 1 week ago:
Tbh I had no issues with synapse.
The problems that persist: Very rare issues with decrypting (as I rarely encounter it, while being in encrypted chats with 150+ users, it’s not an issue for me), apart from after you changed clients, slow image loading (a bit annoying, but ok if you multitask anyway) and clients all having different feature sets (some of which you can also hackily make work in others).
- Comment on There is no good reason why there is still homelessness and poverty 1 week ago:
It’s not a bug, it’s a feature.
- Comment on There is no good reason why there is still homelessness and poverty 1 week ago:
Yes. Though capitalism/fascism is the reason, it’s not good.
- Comment on as many human heartbeats happened between 1970 - 2025 as in the entire medieval age 1 week ago:
Heartbeats? Wizards be using anything but total number of people!
- Comment on [deleted] 2 weeks ago:
Which also shows one thing: Kids and teens want to watch it. So they will. And just as with substances as drugs, prohibition failed spectacularly. And just as with other drugs, education by school but especially parents is key. There’s no way around it, if you want to actually protect kids.
But actually, everything claiming to be ‘safety for children’ is just a way to push totalitarianism.
- Comment on [deleted] 2 weeks ago:
From the beginning, the goal was not building an actually decentralized social media, but building an unmoderated hellhole for extremism.
- Comment on Second set of eyes - DNS Nameservers 2 weeks ago:
I prefer the arch wiki as a source: wiki.archlinux.org/title/Certbot#Nginx
- Comment on Second set of eyes - DNS Nameservers 2 weeks ago:
Doesn’t certbot with the nginx plugin on the host just work?
- Comment on If AI “hallucinates,” doesn’t that make it more human than we admit? 3 weeks ago:
No. AI does not hallucinate, it just very often fails to produce garbage data that’s close enough to facts formulated in human language to be correct.
- Comment on This is very funny to me. 3 weeks ago:
Also, there’s a reason why Europe is called a fortress. And it’s not because fascism and totalitarianism is blocked out by any means, but instead humans in need.
- Comment on This is very funny to me. 3 weeks ago:
“Europe is very efficient at killing humans.”
- Comment on [deleted] 4 weeks ago:
Just… use Debian for servers. Using Ubuntu is like trying to use an amphibian car for street racing; it’s just not made and suitable anymore for that purpose at all.
- Comment on I have never seen the 😗 emoji used, but I have seen a TON of :3 5 weeks ago:
But why would I do 😗 when I can do 😘?
- Comment on The number of times a person mentions ChatGPT in a random conversation might work as a rule of thumb to measure her intelligence (inverse proportion, of course) 5 weeks ago:
The uncontacted indigenious tribes are the most intelligent, confirmed
- Comment on What is happening to Lemmy instances? 5 weeks ago:
Well it does make a significant difference for diagnosing; multiple being slow can mean they’re just (D)DOS’d (eg. by scrapers), and the unaffected use Anubis, know the user agents, blocked the IPs etc.; down could mean that the latest lemmy update had a bug and is crashing.
- Comment on What is happening to Lemmy instances? 1 month ago:
.dev is slow, but not down
- Comment on What is happening to Lemmy instances? 1 month ago:
All up for me (Frankfurt IP Address)
- Comment on 1 month ago:
I’d guess all of the braindeads who’d fall for that are not in the fediverse anyway.
- Comment on If I had a hammer … 1 month ago:
Throwing away effective tools and replace them with generic LLMs, because of hype. Eg. throwing away physical customer support and replacing people with a chatbot.
Not using (online) dictionaries but asking an LLM for every word.
Using LLMs to parse static stuff (eg. parse json and extract vars). Yes, some people do that. - Comment on I totally missed the point when PeerTube got so good 1 month ago:
Wanted to say: No, according to Wikipedia global search launched in 2020.
But that actually was 5 years ago, damn.
- Comment on Germans must be pretty happy. 2 months ago:
And other countries - including Germany ofc - are copying it.
- Comment on Let me Google that for you is dead. Long live Kagi that for me. 2 months ago:
That’s not how the real world works though. Platforms need money to exist. An actual alternative is FOSS hosted by individuals, either because they have free capacity or funded by voluntary donations. Just as the fediverse works, which is why I use uBlock/Alternative clients on YT/Twitch and send money to the creators I watch directly. My goal is to harm those platforms directly, because better alternatives exist.
I’m not aware of an equivalent for search engines, that is acceptably maintained and mature. - Comment on How Nintendo locked down the Switch 2’s USB-C port and broke third-party docking 2 months ago:
If I’d play capitalism-bullshit Bingo with any company in the world, it would be extremely boring, because I’d win instantly, all the time.
- Comment on Let me Google that for you is dead. Long live Kagi that for me. 2 months ago:
The alternative is ads.
- Comment on Dogs should have tags with the name of their owners too 2 months ago:
Damn. I thought it may be the proprietary, bug and exploit ridden, hacked together shit such stuff by governments often is.
- Comment on Dogs should have tags with the name of their owners too 2 months ago:
I’m actually curious how the chips are implemented, and if they’re readable by users. Lemme just get a cat from the street
- Comment on Dogs should have tags with the name of their owners too 2 months ago:
You mean like me? :3
But fr, here all cats and dogs have chips with all of the owners data, readable by doctors, animal shelters etc. Also useful for only allowing them to go through cat/dog flaps.
- Comment on No rational person would do this... 2 months ago:
The ultime “all numbers” formula is still \d+
- Comment on No rational person would do this... 2 months ago:
How?