Arsen6331

joined 2 years ago
MODERATOR OF
[–] [email protected] 1 points 1 year ago

I've hosted the webm and a transcoded mp4 on my servers as well.

 

It seems someone has created a /c/trotskyists community. I believe this community should be removed for what I think are obvious reasons.

[–] [email protected] 1 points 1 year ago

Because it's self-hosted. If you don't want to host it, element.io's instance is probably more trustworthy than Discord.

[–] [email protected] 1 points 1 year ago (2 children)

I think it may be a good idea to move this off of Discord by hosting Jitsi or something similar, because I definitely do not want to use Discord if I can avoid it.

[–] [email protected] 1 points 1 year ago (2 children)

You're just a filthy tankie! Look at how good our US subway is!

Warning: May be disturbing to anyone who prefers public transportation that isn't about to crumble into pieces.Image of New York's filthy subway

 

It shouldn't reply after edit because it already replied.

https://www.youtube.com/watch?v=OTk1hMKbfj4

 

Hopefully, the bot replies to this post

https://twitter.com/prolewiki/status/1614536180355465217

1
TankieReplyBot (lemmygrad.ml)
submitted 2 years ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

This post is about @[email protected]. It's a configurable bot running my lemmy-reply-bot software.

Currently, it has the following functionality:

  • If one or more YouTube links are detected in a comment or post, the bot will reply with links to the same video on three different Invidious instances.
  • If one or more Reddit links are detected in a comment or post, the bot will reply with links to the same location on various Teddit and Libreddit instances.
  • If one or more URLs preceded by !archive are detected in a comment or post, the bot will reply with links to various archive sites for the URL.

Config file for my instance of the bot

[lemmy]
instanceURL = "wss://lemmygrad.ml"

[lemmy.account]
userOrEmail = "TankieReplyBot"
password = 'Insert Password Here'

[[reply]]
regex = '!archive (https?)://([.\w\d]+\.[\w\d]{2,4}[\w\d?&=%/.-]*)'
msg = '''
Here are the archive links you requested:

{{range $i, $match := .Matches}}
{{if len $.Matches | ne 1}}Link {{add $i 1}}:{{end}}
- [archive.vn](https://archive.vn/{{$match.Item 1}}://{{$match.Item 2}})
- [archive.org](https://web.archive.org/web/{{$match.Item 1}}://{{$match.Item 2}})
- [ghostarchive.org](https://ghostarchive.org/search?term={{$match.Item 1}}://{{$match.Item 2}})
{{end}}
'''

[[reply]]
regex = '!paywall (https?)://([.\w\d]+\.[\w\d]{2,4}[\w\d?&=%/.-]*)'
msg = '''
One of these links should get rid of the paywall! :3

{{range $i, $match := .Matches}}
{{if len $.Matches | ne 1}}Link {{add $i 1}}:{{end}}
- [1ft.io](https://1ft.io/{{$match.Item 1}}://{{$match.Item 2}})
- [12ft.io](https://12ft.io/{{$match.Item 1}}://{{$match.Item 2}})
- [archive.ph](https://archive.ph/{{$match.Item 1}}://{{$match.Item 2}})
{{end}}
'''

[[reply]]
regex = '(https?)://(www\.google\.com/amp/s/([.\w\d]+\.[\w\d]{2,4}[\w\d?&=%/.-]*))'
msg = '''
I found {{if len .Matches | eq 1}}a Google AMP link{{else}}Google AMP links{{end}} in your {{.Type}}! I've removed Google's spyware for you! :3

{{range $i, $match := .Matches}}
{{if len $.Matches | ne 1}}Link {{add $i 1}}:{{end}}
- [Regular Link]({{$match.Item 1}}://{{regexReplaceAll `/?\.?amp` ($match.Item 3) ""}})
{{end}}
'''


[[reply]]
regex = 'https?://(?:(?:www|m)\.)?youtu(?:\.be/|be\.com/(?:watch\?v=|shorts/))([\w\d-]{11})[&?]?([\w\d?&=%/-]*)'
msg = '''
{{if len .Matches | eq 1}}A YouTube link was{{else}}YouTube links were{{end}} detected in your {{.Type}}. Here are links to the same {{if len .Matches | eq 1}}video{{else}}videos{{end}} on Invidious, which is a YouTube frontend that protects your privacy:

{{range $i, $match := .Matches}}
{{if len $.Matches | ne 1}}Link {{add $i 1}}:{{end}}
- [yewtu.be](https://yewtu.be/watch?v={{$match.Item 1}}&{{$match.Item 2}})
- [inv.zzls.xyz](https://inv.zzls.xyz/watch?v={{$match.Item 1}}&{{$match.Item 2}})
- [invidious.io.lol](https://invidious.io.lol/watch?v={{$match.Item 1}}&{{$match.Item 2}})
{{end}}
'''

[[reply]]
regex = 'https?://(?:www\.|old\.)?reddit\.com/((?:r|user)/[\w\d?&=%/-]*)'
msg = '''
{{if len .Matches | eq 1}}A Reddit link was{{else}}Reddit links were{{end}} detected in your {{.Type}}. Here are links to the same {{if len .Matches | eq 1}}location{{else}}locations{{end}} on Teddit and Libreddit, which are Reddit frontends that protect your privacy.

{{range $i, $match := .Matches}}
{{if len $.Matches | ne 1}}Link {{add $i 1}}:{{end}}
- [teddit.zaggy.nl](https://teddit.zaggy.nl/{{$match.Item 1}})
- [teddit.hostux.net](https://teddit.hostux.net/{{$match.Item 1}})
- [r.darklab.sh](https://r.darklab.sh/{{$match.Item 1}})
- [reddit.smnz.de](https://reddit.smnz.de/{{$match.Item 1}})
{{end}}
'''

[[reply]]
regex = 'https://(?:i\.)?imgur.com/((?:a|gallery)?/?[A-Za-z0-9]{5,8}(?:\.[a-zA-Z]+)?(?:[\w\d?&=%/.-]*))'
msg = '''
{{if len .Matches | eq 1}}An Imgur link was{{else}}Imgur links were{{end}} detected in your {{.Type}}. Here are links to the same {{if len .Matches | eq 1}}location{{else}}locations{{end}} on alternative frontends that protect your privacy.

{{range $i, $match := .Matches}}
{{if len $.Matches | ne 1}}Link {{add $i 1}}:{{end}}
- [imgur.artemislena.eu](https://imgur.artemislena.eu/{{$match.Item 1}})
- [rimgo.projectsegfau.lt](https://rimgo.projectsegfau.lt/{{$match.Item 1}})
- [imgin.voidnet.tech](https://imgin.voidnet.tech/{{$match.Item 1}})
{{end}}
'''

[–] [email protected] 1 points 2 years ago

How do people live with unread notifications? My brain won't let me. If there's a number next to the icon, my brain will not calm down until I have read, and responded to if necessary, every single notification. If I was in a situation where I had >500 notifications, the entire day would be spent just reading and responding to every single one. The only way I can avoid it is to never see the notifications at all.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Let me finish those libs' sentence: "Capitalism breeds innovation in new ways to exploit the proletariat and, being the bootlickers we are, we're hoping that saying this is going to lead to us not being exploited as much."

[–] [email protected] 0 points 2 years ago (1 children)

That's not the only one either, there's a sequel

Finding Jesus 2

[–] [email protected] 0 points 2 years ago* (last edited 2 years ago) (1 children)

What is a 4D movie supposed to be? Is it just a 3D movie that you can fast forward and rewind?

 

cross-posted from: https://lemmygrad.ml/post/460337

More than 50% more energy was generated than was used for the reaction. 2.05 Megajoules in, 3.15 Megajoules out. Let's see how fast the US fossil fuel oligarchs start creating anti-fusion propaganda like they did with fission.

 

More than 50% more energy was generated than was used for the reaction. 2.05 Megajoules in, 3.15 Megajoules out. Let's see how fast the US fossil fuel oligarchs start creating anti-fusion propaganda like they did with fission.

 
1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

I have created a reply bot that I posted earlier. With it, I can create any bot that replies to users' comments with a set message. It can also get information from the comment and include it in the reply if needed.

The reply bot I made is pretty advanced in terms of what it can detect because it uses PCRE2. For example, I can detect only things that start with something, or only things that have specific characters in specific locations and don't have other characters before or after.

Does anyone know any bots on Reddit that they may want brought to Lemmygrad (other than parenti bot, that's already been brought over), or have any other ideas for bots that could be added?

 

cross-posted from: https://lemmygrad.ml/post/457579

I used my Go API bindings to make a reply bot that replies to comments with custom messages.

Github mirror: https://github.com/Arsen6331/lemmy-reply-bot

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

I am testing the Go API bindings I wrote to see if they can successfully create comments and such.

Edit: I can edit posts as well!

[–] [email protected] 0 points 2 years ago* (last edited 2 years ago) (1 children)

So, essentially, there's a perception in the US that nuclear reactors are always at risk of catastrophic failure and that if this happens, it will be as bad as Chernobyl. Therefore, they oppose anything even remotely related to nuclear power. Of course, this perception has been very intentionally created by the fossil fuel oligarchs.

At this point, it's been so drilled into the heads of most people here that they just won't listen to anything you have to say that counters this point of view.

[–] [email protected] 1 points 2 years ago

More accurately, this says "Freedom to Leonard Peltier"

[–] [email protected] 0 points 2 years ago

And besides, Linux gaming works well. Not perfectly, but certainly well enough for casual gaming. Maybe it'll need some tinkering for some particular games, but there are very nice installers like Lutris that attempt to handle that for you, so you don't have to.

[–] [email protected] 0 points 2 years ago (2 children)

I kept calm for the most part because he is an American teenager.

That's not much of an excuse. I am a teenager born and living in the US. I am also an ML. Before becoming an ML, I never really thought about ideology, but I was anti-capitalist because I realized before I was even a teenager that the incentive structure of capitalism must lead to misery because it prioritizes capital over everything.

view more: next ›