Skip Navigation
Arsen6331 Arsen6331 ☭ @lemmygrad.ml

I have evolved. New account: @[email protected]

Posts 19
Comments 18

Remove the Trotskyist community

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

6
Follow-up post about ProleWiki's book club
  • Because it's self-hosted. If you don't want to host it, element.io's instance is probably more trustworthy than Discord.

  • Follow-up post about ProleWiki's book club
  • 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.

  • Shanghai Metro, Line 15
  • 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

  • Making sure the bot survived the update to Lemmy 0.17.0

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

    0

    Testing if TankieReplyBot can handle links in the URL field 3

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

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

    2

    Testing if TankieReplyBot can handle links in the URL field 2

    1

    Testing new TankieReplyBot functionality

    Hopefully, the bot replies to this post

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

    0
    Bots @lemmygrad.ml Arsen6331 ☭ @lemmygrad.ml

    TankieReplyBot

    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}} ''' ```
    0
    Apologies for not answering messages and notifications
  • 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.

  • Ah yes, innovation
  • 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."

  • Something strange I found
  • That's not the only one either, there's a sequel

    Finding Jesus 2

  • Has anyone seen the new Avatar? How was it?
  • What is a 4D movie supposed to be? Is it just a 3D movie that you can fast forward and rewind?

  • Science @lemmygrad.ml Arsen6331 ☭ @lemmygrad.ml

    Fusion ignition has been achieved

    www.llnl.gov Lawrence Livermore National Laboratory achieves fusion ignition

    The U.S. Department of Energy (DOE) and DOE’s National Nuclear Security Administration (NNSA) today (Dec. 13) announced the achievement of fusion ignition at Lawrence Livermore National Laboratory (LLNL) — a major scientific breakthrough decades in the making that will pave the way for advancements ...

    Lawrence Livermore National Laboratory achieves fusion ignition

    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.

    0

    Fusion ignition has been achieved

    www.llnl.gov Lawrence Livermore National Laboratory achieves fusion ignition

    The U.S. Department of Energy (DOE) and DOE’s National Nuclear Security Administration (NNSA) today (Dec. 13) announced the achievement of fusion ignition at Lawrence Livermore National Laboratory (LLNL) — a major scientific breakthrough decades in the making that will pave the way for advancements ...

    Lawrence Livermore National Laboratory achieves fusion ignition

    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.

    0

    Testing my reply bot

    0
    meta @lemmygrad.ml Arsen6331 ☭ @lemmygrad.ml

    Which bots should be brought over from Reddit?

    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?

    0

    Configurable reply bot for Lemmy

    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

    0

    Testing my Go API bindings

    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!

    0
    Anti-Nuclear Trend in the Western Left?
  • 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.

  • Free Leonard Peltier! Soviet poster.
  • More accurately, this says "Freedom to Leonard Peltier"

  • My server cluster

    A while ago, I realized how pervasive big tech spyware was. It's everywhere. In search engines, word processors, even the OSes themselves. Upon this realization, I decided to try to get away from that spyware, and researched how to do that. This is when I came upon self-hosting. There are certain open-source programs that allow you to do the same thing the big tech services allow you to do, but you host them yourself, so you control them. There was just a slight problem: I had no servers.

    This is when I learned about "the cloud" and how you could rent servers from companies and then use those to host your software. I tried it, but realized I was just hosting my own services on big tech servers, so it wasn't helping. I'd been wanting a raspberry pi cluster for a while at that point, but never had the motivation to get one, so I waited until my birthday, collected the money gifted to me by my relatives, and bought 4 raspberry pi 4s with just 1GB of RAM, as well as all the equipment to run them (an 8-port network switch, power cables, etc.). Since then, my cluster has grown. Little by little, I've collected money and bought new parts. Now, I have 8 raspberry pi 4s (four 1GB, four 2GB), a Pine H64, a RockPro64, and my old 2012 Mac Mini running Debian. I also have an old 2011 MacBook that I've revived and patched to run the newest macOS which I will use to compile and test apps for iOS and macOS, as well as a Radxa Rock5 Model B with 16GB RAM on the way that I will be adding as well.

    Originally, whenever I wanted to run a new service, I'd just kind of find a server and stick it on there, then manually configure everything and hope I remember where it's running. Now, I have a Nomad cluster with Consul and Traefik handling everything automatically for me. If I want to run a new service, I just make a Nomad config for it, and Nomad finds a free server with enough resources, downloads it, configures it, runs it, and then publishes it to Consul, from where Traefik automatically picks it up, sets up routing rules, acquires a TLS certificate, and exposes the service. Everything happens automatically. If a server goes down, Nomad will run the services that were running there on a different server and Traefik will reconfigure itself to match.

    This is what my setup looks like:

    !Image of the glass cabinet containing my servers

    At the top is my Mac Mini, a WiFi antenna for Home Assistant, and a RockPro64, on the shelf under that, there are 8 raspberry pis, under that is a network switch and a Pine H64 running the reverse proxy, and under that is a UPS that lasts over an hour in the event of power loss. On the right is my 3D printer, which is connected to one of the Pi 4s for OctoPrint.

    This has been very useful for me. Not only does it mean I own my data AND my services, it also means outages don't affect me and my services are always very fast and reliable. I've had numerous times where Github was down and most people couldn't do any work, except me because I have my own Gitea instance, for example. I think anyone with the expertise, time, and resources to do this should do it.

    0
    How do I get started Linux?
  • 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.

  • People disagreeing with me? This wouldn't have happened if we had chattel slavery. Just saying.
  • 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.

  • AUR on non-Arch distros

    I've been using Arch on all my daily driver devices for years now. One of the main reasons for this is the AUR. It's very convenient for installing all kinds of software, since it can build a full, native package from a simple build script written in bash. I personally have packages on the AUR and use it daily.

    Anyway, I've thought many times of such a simple and easy solution being missing from other distros, but have never had the experience and motivation to create it. Recently, I used goreleaser to automatically build and release my project, ITD, for several distros at the same time. While doing so, I had an idea, so I went to check what goreleaser uses to build packages, and it turns out they have a separate library for this purpose: nfpm. This was the only thing missing for me to be able to build an AUR-like system.

    I did notice one issue. It didn't support Arch Linux packages, so I created a PR adding support for them. The PR is completely working and it has been reviewed and approved. So, I started working on my idea, and so far, it's going really well. I've already been able to build and install multiple packages using my program on my Arch system and inside a Fedora and Debian docker container. I just uploaded my program now that I've finished implementing the basic features and testing them. I hope it ends up being useful.

    Link to the repo with my new program: https://gitea.arsenm.dev/Arsen6331/lure

    The README is very small right now, I'm working on making a better one.

    0
    Digital Privacy @lemmygrad.ml Arsen6331 ☭ @lemmygrad.ml

    My personal digital privacy solution

    Now that I have started this community off with a non-technical post, I will share my own, personal solution to digital privacy. This post will be more technical.

    I self-host every service I possibly can from a cluster of servers (mostly low-power ARM SBCs) that are in my room. Until recently, I was just manually throwing services onto servers and then manually configuring everything. As I've mentioned before in a GenZedong General Discussion Thread, I am now using an orchestrator called Nomad as well as a service discovery solution called Consul.

    This allows me to submit a single configuration file, and my servers all automatically configure themselves to perform whatever task I wanted them to. I've placed all my configuration files along with relatively detailed READMEs about them into this repository if anyone wants to take a look at them: https://gitea.arsenm.dev/Arsen6331/nomad.

    Due to using SBCs, I am able to do all of this with a power consumption of just 50W.

    Here is a list of things I host and what they're meant to replace:

    • Matrix Dendrite: Discord
    • Nextcloud: Google Drive
    • OnlyOffice: Google Docs
    • Home Assistant: HomeKit/SmartThings/<insert smart home platform here>
    • Gitea: Github/Gitlab
    • Minio: Amazon S3 (storage and download for files)
    • LMS: Spotify
    • SearXNG: Google Search (Note: I used to use my own metasearch engine but switched to SearXNG a couple days ago because mine kept getting ratelimited)

    There are more but they're not really alternatives to anything, I'll list them here:

    • Authelia: Provides authentication and 2fa for services that don't provide their own mechanism. Can also work similarly to "Sign in with Google" buttons via OAuth2 and OIDC.
    • Traefik: Reverse proxy that provides access to all the rest
    • Homer: Provides a dashboard for all my services. My instance can be found at: https://dashboard.arsenm.dev
    0
    Digital Privacy @lemmygrad.ml Arsen6331 ☭ @lemmygrad.ml

    Increasing digital privacy for average users

    Since most people don't have the resources or knowledge to host their own servers, this post will provide recommendations for increasing digital privacy without self-hosting. If anyone can think of something to add, please comment and I will edit the post.

    ---

    Alternatives to big tech services

    This section will list alternatives to common big tech software that steals your data.

    • Discord: Matrix; Easy to use clients: Nheko, Element
    • Github: Codeberg
    • Twitter: Mastodon
    • YouTube: LBRY; Easy to use clients: LBRY Desktop, Odysee
    • Google Search: SearX/SearXNG; List of public instances: https://searx.space/
    • Windows: Any Linux distribution. Seriously, don't use Windows. Linux isn't as hard as people say it is. My parents and grandparents use it.
    • Google Chrome: Firefox. Do not use Chrome, it is one of the worst things that exists for privacy. Chromium (the open-source version of Chrome) is a little better but I still wouldn't use it.

    Suggestions for privacy-respecting hardware

    Suggestions for privacy-respecting software

    • TOR: Encrypts your traffic in three layers, then routes across a randomized network of nodes, providing very high security and privacy, and making it near impossible to track your activities.
    • Mullvad VPN: VPN that allows you to make an account without providing any details, and pay in cash or crypto (or just with a card) to ensure your identity cannot be found out since it's not even known by Mullvad.
    • LibreWolf: Browser focused on privacy and security. May break some sites, especially streaming sites like Netflix, Hulu, etc. Broken sites can be fixed by changing settings at the expense of some privacy if required.
    0
    Why America is So Damn Big (Johnny Harris is a Propagandist) - Hakim
  • Image of Hakim explaining that YouTube demonetized his video, despite it being identical to Johnny Harris' video.

    Is this the free speech all the libs here are talking about?

  • So I guess the redditors and their charming racism, anti-communist propaganda, and chauvinism finally made their way to lemmy
  • This one is worse than normal though. Most of them just say "Stalin bad" or something. This ingrate decided that they need to disrespect the people who died for them, and that is where I draw the line.

  • So I guess the redditors and their charming racism, anti-communist propaganda, and chauvinism finally made their way to lemmy
  • I'm getting angry myself just thinking about how this person must be proud of their utter disrespect for those who have died for them.

  • So I guess the redditors and their charming racism, anti-communist propaganda, and chauvinism finally made their way to lemmy
  • This piece of human waste has the audacity to disrespect the 27 MILLION people that died? What kind of disrespectful, ungrateful, arrogant imbecile must this person be to think that's a good thing to do? I bet they're proud of their disregard for the sacrifice made for them to be free from the Nazis.

  • Bionic Eye Patients Are Going Blind Again After Manufacturer Decides They're Obsolete
  • Yes, Capitalism does in fact create innovation, in precisely the wrong direction.

  • Poland to annex western parts of Ukraine
  • So they're lambasting Russia for invading Ukraine while plotting to invade Ukraine? How does this make sense? Oh right, it's only bad if someone the US doesn't like does it.