squaresinger

joined 2 years ago
[–] squaresinger@feddit.de 11 points 1 year ago (1 children)

@aihorde@lemmy.dbzer0.com draw for me Soup with Mona Lisa splashed on it. The soup is enjoying the Mona Lisa and the Mona Lisa is very tasty.

[–] squaresinger@feddit.de 32 points 1 year ago (3 children)

That might sadly be true.

[–] squaresinger@feddit.de 2 points 1 year ago (1 children)

Now this is getting ridiculous.

[–] squaresinger@feddit.de 3 points 1 year ago

That would indeed be very helpful. But if all the other usages keep draining the supply, it will only help extend artificial reserves.

[–] squaresinger@feddit.de 1 points 1 year ago

That happens if you don't have an actual legal team... I am sure they are doing their best, but if you don't have a lawyer, you can't do legal texts.

[–] squaresinger@feddit.de 1 points 1 year ago* (last edited 1 year ago) (3 children)

And you are not getting the point. Every method of killing people is terrible and inhumane. There is no humane way of killing people, because the very act of killing people is inhumane.

The only humane method is one that doesn't kill or harm people.

[–] squaresinger@feddit.de 1 points 1 year ago

Stuff only becomes valuable when it's mostly gone...

[–] squaresinger@feddit.de 1 points 1 year ago (2 children)

All of these happened in the wake of major crises.

Apartheit in South Africa ended, because of massive protests in the country (including violence), massive international pressure (the UN labelled apartheit as crime against humanity and lots of countries banned imports from South Africa), and the South African economy was collapsing due the price of gold dropping a lot.

East Germany collapsed because of massive economic problems. Storming the border crossings was just the last push. If that would have happened 10 years earlier, the police would just have shot the first row of people trying to cross the border and the rest would have fled. The DDR was already collapsing at that point. And the press conference that caused the storm on the border crossing was actually about East Germany opening the border in a month's time. So even without the storm on the border crossings, the same thing would have happend, just a month later.

The Sovjet Union, again, collapsed due to economic problems. Their economiy completely collapsed and with it their power over all the different SSRs. Russia, being the largest and most powerful SSR, being able declaring itself independent of all these other countries that really didn't want to be part of the USSR without having to use violence is really not surprising.

It's kinda as if Great Brittain declared itself independent of the Brittish Empire.

All these situations you mentioned where already under way for a decade or so, before the events you mentioned did the last push. And all of them where only possible to massive crises.

[–] squaresinger@feddit.de 5 points 1 year ago (2 children)

A Fairphone 4. Got it at launch and it's a terribly buggy mess.

Describing all the issues would make a huge wall of text.

The sad part is that the hardware is ok. But they don't seem to have any software QA at all.

My goal was to carry it until 2027, when replacable batteries will become standard, but since I can't even use the phone for calling, I am trying to at least carry it until the Galaxy S55 launches.

[–] squaresinger@feddit.de 3 points 1 year ago (2 children)

I got the 6 million from this link: https://www.chemanalyst.com/industry-report/helium-gas-market-578

The issue is not how much can be produced right now, but the rate at which we are depleting it.

I found different estimates on how long earth's helium supply will last, and most of them are between 10 and 100 years. That's not a long time, considering that it means we will lose access to a whole element.

[–] squaresinger@feddit.de 1 points 1 year ago (5 children)

You seem to have no arguments for your opinion, otherwise why would you have to resort to personal attacks?

These kinds of comments are usually the internet equivalent of a white flag.

[–] squaresinger@feddit.de 8 points 1 year ago (1 children)

Sorry, no condescension intended.

Your post read like one written by someone with very minimal knowledge about the subject, which might have been a misunderstanding on my part. So I tried to cover the basics before talking about the rest.

There is really no shame in asking questions about something where you don't have experience. There are far more topics I have no idea about than there are topics where I do have a deep understanding.

So to get on the same page, I'll summarize what I understood, please correct me if you mean something different.

  • You don't like ActivityPub, you want a new protocol
  • The system should make it easy to create new, small instances
  • The instances should share sessions with the other instances (=single sign on) based on trusting them
  • You prefer a centralized system?
  • You want the system to not use a single protocol (ActivityPub), but use multiple protocols?
  • ActivityPub based services have bad UX due to the complexity of the protocol

Is this correct?

We have a few contradictions here.

You cannot have a system where anyone can easily create servers and at the same time have shared sessions based on trust. These two requirements conflict with each other.

Either servers only work with servers they trust, and then you can't just create a new small server and interact with the network.

Or anyone can easily create a new small server, but then you can't do anything based on trust, since you never know if that server was created with malicious intent.

Regarding centralized/decentralized you have to differentiate between implementation and management.

All major social networks run distributed systems. If you want to serve billions of users, you need to run millions of servers. These servers are distributed around the globe to give fast access to users everywhere. Chances are pretty high that your ISP has a few racks of Facebook, Netflix, YouTube and Tiktok servers.

Their distributed system is orders of magnitude more complex than everything running ActivityPub combined.

But their system works, because they have tens of thousands of highly paid specialists to make them work.

ActivityPub based services on the other hand have almost no funding and manpower.

Mastodon is the best in this respect. They have 6 people who are actually working on the system.

Lemmy has two developers who earn close to minimum wages.

Kbin has a single guy developing it.

That's the real reason why the UX is crap.

If anything, ActivityPub and the services running on them are extremely underengineered and underdeveloped.

Btw, there is something rather close to what you seem to want: online forums with Google single sign on.

The forums are not interacting at all with other forums. No federation or anything at all. There are enough commercial solutions that work really well. And with Google Single Sign On you also don't have to register for each forum.

 

Ich hab einen Mod Bot geschrieben, der nach konfigurierbaren Regeln konfigurierbare Aktionen automatisch ausführt. Für feddit.de habe ich den auch selbst gehostet. Für andere Instanzen muss ich noch schauen, wie ich dort mach, mal sehen.

Der Code ist auf Github verfügbar. Wer den Mod Bot verwenden will, kann entweder selbst einen Bot-Account erstellen und den Bot irgendwo laufen lassen (braucht quasi keine Ressourcen, rennt bequem auf einem Pi Zero oder einem alten Handy), oder Square_Mod_Bot zum Moderator in der Community machen und mir die Config per PN schicken.

Ich kann auch gerne helfen beim Erstellen einer Config.

Der Bot ist aktuell im Early Access, funktioniert aber stabil. Ich könnte noch Input gebrauchen, welche Trigger/Aktionen oder weitere Features sinnvoll wären.

46
submitted 2 years ago* (last edited 2 years ago) by squaresinger@feddit.de to c/technology@beehaw.org
 

I made a simple mod bot for Lemmy.

It's still "early access", but it's stable and should be fit for everyday use.

I'd be really happy to get some feedback on what kind of features mods would like to see.

If you want to try it in action, go to !bottest@feddit.de. That's the testing community where it currently filters posts with duplicate URLs, same as mentions of Reddit, Lego and other beings-who-must-not-be-named. Feel free to post stuff there and see it get automatically moderated.

 

geteilt von: https://feddit.de/post/1591834

It's all free (if you make it yourself) and open source.

https://github.com/Dakkaron/Fairberry

 

It's all free (if you make it yourself) and open source.

https://github.com/Dakkaron/Fairberry

 
 

I'm thinking about getting Lucky Patcher. Is it safe? Where is the official place to get it from?

 

I was frustrated by the lack of decent phones with physical keyboards. The phones that are currently available are hard to buy, crap, expensive, are old, outdated, have bad software support and/or disappointing hardware.

So I decided to design and build one myself.

This is a Fairphone 4 with a DIY, open source keyboard attachment. It uses a spare Blackberry Q10 keyboard and a custom, self designed Arduino-compatible mainboard, which translates the keyboard matrix to regular USB HID.

This means, it works on any phone without the need of any software modification at all. If the phone can handle a USB keyboard, it can handle this one.

All that's necessary to make it compatible to any other phone is to adjust the case to fit that phone.

(And yes, that's XFCE running on Ubuntu in a chroot jail.)

 

Please excuse my sub-par JavaScript, I am a backend dev.

All you need to do is paste this into Tampermonkey and enter your username and your instance url (on two locations).

This is not showing other users' scores and it doesn't make your score visible to anyone else than yourself.

So no need for karma farming. This is just for fun.

// ==UserScript==
// @name         Lemmy score
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Shows your total post/comment score at the top right.
// @author       You
// @match        ENTER INSTANCE URL HERE (leave the asterisk after the URL)*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=feddit.de
// @grant        none
// @run-at       document-idle
// ==/UserScript==

(function() {
    'use strict';

    var USERNAME = "ENTER USERNAME HERE";
    var INSTANCE_URL = "ENTER INSTANCE URL HERE";

    var totalScore = 0;
    var currentPage = 1;

    function postResult() {
        var navbar = document.getElementsByClassName("collapse navbar-collapse")[0];
        console.log(navbar);
        var ul = document.createElement("ul");
        ul.className = "navbar-nav";
        ul.id = "karma-ul";
        var li = document.createElement("li");
        li.id = "karma-li";
        li.className = "nav-item";
        li.innerHTML = '<div id="karma-div">' + totalScore + '</div>'
        navbar.appendChild(ul);
        ul.appendChild(li);
    }
    function callPage() {
        var userRequest = new XMLHttpRequest();
        userRequest.onreadystatechange = function () {
            if (this.readyState == 4) {
                if (this.status == 200 ) {
                    var res = JSON.parse(this.responseText);
                    if (res.posts.length==0 && res.comments.length==0) {
                        postResult();
                    } else {
                        totalScore += res.posts.map(x => x.counts.score).reduce((partialSum, a) => partialSum + a, 0);
                        totalScore += res.comments.map(x => x.counts.score).reduce((partialSum, a) => partialSum + a, 0);
                        currentPage++;
                        callPage();
                    }
                }
            }
        }
        userRequest.open("GET", INSTANCE_URL + "/api/v3/user?username=" + USERNAME + "&limit=50&page=" + currentPage, true);
        userRequest.send();
    }

    setTimeout(callPage, 200);
})();
 

Just save this as karma.py and run it with Python 3.6 or higher.

import requests
import math

INSTANCE_URL = "https://feddit.de"
TARGET_USER = "ENTER_YOUR_USERNAME_HERE"

LIMIT_PER_PAGE = 50

res = requests.get(f"{INSTANCE_URL}/api/v3/user?username={TARGET_USER}&limit={LIMIT_PER_PAGE}").json()

totalPostScore = 0
totalCommentScore = 0
page = 1
while len(res["posts"])+len(res["comments"]) > 0:
	totalPostScore += sum([ x["counts"]["score"] for x in res["posts"] ])
	totalCommentScore += sum([ x["counts"]["score"] for x in res["comments"] ])
	
	page += 1
	res = requests.get(f"{INSTANCE_URL}/api/v3/user?username={TARGET_USER}&limit={LIMIT_PER_PAGE}&page={page}").json()

print("Post karma:    ", totalPostScore)
print("Comment karma: ", totalCommentScore)
print("Total karma:   ", totalPostScore+totalCommentScore)
 

I was unsatisfied with the lack of decent keyboard phones for a decent price on the market, so I made one myself.

It's all open source.

view more: ‹ prev next ›