LMAC Automation Dev-Blog | LMAC Automatisierung Entwickler-Blog #7 [EN | DE]

Cover image | Titelbild

EnglishLanguage.png

Hi LMACians and Hivians,

Time has passed a little bit again since I updated you on the latest developments around the LMAC automation, the #LIL and the website, by writing a Dev Blog for you.
Nevertheless, a lot has happened in the meantime on the LMAC workbench as usual. Today I finally have enough time to dedicate to the dev blog and am happy to be able to write few lines about it for you.

GermanLanguage.png

Hallo liebe LMACianer und Hivianer,

Es ist wieder ein wenig Zeit vergangen, seit ich euch über die jüngsten Entwicklungen rund um die LMAC Automatisierung, die #LIL und die Website, mit einem Dev Blog informierte.
Dennoch ist in der Zwischenzeit wieder viel auf der LMAC-Werkbank geschehen. Heute habe ich endlich genug Zeit, welche dem Dev-Blog zu widmen und freue mich, euch ein paar Zeilen darüber schreiben zu können.


EnglishLanguage.png

1. What happend recently...

In this section I am talking about everything that has been done since the last Dev Blog.
The computer programs and website scripts described here, are available open source for you in our public Github repositories.

1.1. LMAC.gallery (website)

As part of my efforts to improve the search function of the LIL gallery, I was already able to complete a new feature that some users had been waiting for.
Instead of the simple back&forward navigation, the #LIL gallery now has a normal pagination, like you know it from many other websites. But even this navigation element is not final. Rather, it is the next step towards automatic pagination, which will be included in one of the next website updates.
Technically, everything was already ready for it in the website code, with the implementation of numeric pagination.

Gallery pagination

By the way... We already have 7519 images in the #LIL at this point.
Thanks to everyone who has been contributing to it. You guys are great! :-)

1.2 LIL Bot

The good fairy of our shared image library is the Lil Bot, which has become known as Lily. Since we have been enjoying an unbroken stream of LIL submissions lately, the bot has had a hard time indexing all the images. As a result, it happened sometimes that Lily simply missed some posts.
When I noticed this, I increased the search interval of the bot.

I also had to add a new operation mode to the bot in order to try to re-read posts that were overlooked or unreadable in the past. Especially in the first weeks after the bot started working, Lily still missed some posts. But even today, that can happen if a post has typos in the LIL tables, doesn't have a #LIL hashtag, or doesn't follow the title rule, for example.
Over time, I've made Lily more and more tolerant of common little typos, from which the new operation mode now takes benefit.
First experiments with this new mode have already flushed nearly 100 images from missed posts home into the #LIL.
I'm still working on it and I'm very confident that the bot will soon make many more images available to us using this mode.

1.3 Lilybee & Watchdog

image.png

Previous Wednesday Watchdog started to work. Watchdog is another bot that helps the moderation team a bit. Mainly Watchdog identifies rule violations in LMAC Contest and LIL posts, reports them to us and instructs @Lilybee to leave a comment on the related posts. In addition, Watchdog may also remove posts from the LMAC feed if it is necessary in a particular case and according to our moderation policies. For example, it does this if non-free image sources were used for a collage post.
So it's actually the recurring tasks that this bot saves us a little bit from and helps save time that way. Plus, it helps to continue to keep the quality of our beloved LMAC community.

Since Watchdog is still a relatively young bot, it still makes mistakes every now and then. Please have pardon with this little rascal and contact the moderators at any time if you feel any of his actions are unjustified. I am very grateful for every watchful eye and every hint that helps me to improve Watchdog.

The source codes are open and you are completely free to use, modify or reconfigure it for your own community. You can find the source codes in our Github repository (see 1.1.).

For the technically minded - The Watchdog is fully extensible.
The built-in agent system used to detect rule violations can be extended with new detection capabilities by hooking in new agents. Agents are represented by special classes that inherit from an agent base class.
The same works also for the report functionality. You just have to program new reporter classes and hook them into the report system, for example, to make the bot send reports about rule violations on platforms other than just Hive and Discord. Also the way the reports should look like can be easily upgraded and even individualized via a simple template system.
In principle, I implemented a classic executive level system in Watchdog. The monitoring agents use simple dragnet investigation methods to identify suspicious posts and send investigation reports to the report system, which acts as a kind of post office. The report system employs different reporters (letter carriers) to specificize and deliver the investigation reports to different recipients (comments to posts, Discord notification to specific moderator channels).
The agents of the monitoring level can also suggest actions (e.g. mute post) that can be processed and executed by the action management system. This is just as upgradeable as the other parts of Watchdogs Brain.

GermanLanguage.png

1. Was zuletzt geschah...

In diesem Bereich berichte ich über alles, das seit dem letzten Dev Blog gemacht wurde.
Die hier beschriebenen Computer-Programme und Webseiten-Scripts, sind in unseren öffentlichen Github-Repositories quelloffen für euch zu finden.

1.1. LMAC.gallery (Webseite)

Im Zuge meiner Bemühungen, die Suche-Funktion der LIL Galerie zu verbessern, konnte ich bereits eine neue Funktion fertigstellen, auf die einige Benutzer schon gewartet hatten.
Statt der einfachen vor&zurück Navigation, verfügt die #LIL Galerie nun über eine ganz normale Pagination, wie man sie von vielen anderen Webseiten her kennt. Aber auch dieses Navigationselement ist nicht endgültig. Vielmehr, ist es der nächste Schritt zur automatischen Pagination, die in einer der nächsten Webseiten-Aktualisierungen enthalten sein wird.
Technisch gesehen, war dafür schon alles im Code der Webseite, mit der Einführung der nummerischen Pagination bereit.

Galerie Pagination

Bei dieser Gelegenheit... Wir haben zu diesem Zeitpunkt bereits 7519 Bilder in der #LIL.
Vielen Dank an alle, die bisher dazu beigetragen haben. Ihr seid spitze! :-)

1.2. LIL Bot

Die gute Fee unserer gemeinsamen Bilder-Bibliothek, ist der Lil-Bot, welcher als Lily bekannt geworden ist. Da wir uns in letzter Zeit ungebrochen vieler LIL-Einsendungen erfreuen dürfen, kam der Bot zwischenzeitlich kaum mit der Indizierung all der Bilder nach. Dadurch konnte es vorkommen, dass Lily manche Posts einfach übersah.
Als ich das festgestellte, habe ich den Such-Intervall des Bots erhöht.

Zudem musste ich den Bot um einen neuen Operationsmodus erweitern, um in der Vergangenheit übersehene oder nicht lesbare Posts zu versuchen neu einzulesen. Gerade in den ersten Wochen, nachdem der Bot die Arbeit aufnahm, übersah Lily noch einige Beiträge. Aber auch heute noch kann das passieren, wenn ein Post beispielsweise Typos in den LIL-Tabellen aufweist, keinen #LIL-Hashtag hat oder sich nicht an die Titel-Regel hält.
Im Laufe der Zeit habe ich Lily immer toleranter gegenüber üblichen kleinen Typos gemacht, wovon der neue Operationsmodus nun profitiert.
Erste Experimente mit diesem neuen Modus, haben bereits immerhin knapp 100 Bilder aus übersehenen Posts heim in die #LIL gespült.
Ich bin da noch dran und bin sehr guter Dinge, dass der Bot in diesem Modus noch viele weitere Bilder zusätzlich für uns zugänglich machen werden wird.

1.3. Lilybee & Watchdog

image.png

Am vergangenen Mittwoch ging Watchdog ans Werk. Watchdog ist ein weiterer Bot, welcher dem Moderatoren-Team etwas unter die Arme greift. Hauptsächlich identifiziert Watchdog Regelverstöße in LMAC Contest- und LIL-Beiträgen, meldet diese an uns weiter und beauftragt @Lilybee dazu, einen Kommentar an den entsprechenden Beiträgen zu hinterlassen. Darüber hinaus, kann Watchdog Beiträge auch aus dem LMAC-Feed herausnehmen, wenn es im Einzelfall, gemäß unserer Moderationsstrategien notwendig ist. Beispielsweise tut er dies, wenn für einen Collage-Beitrag unfreie Bildquellen verwendet wurden.
Es sind also eigentlich die immer wiederkehrenden Aufgaben, die uns dieser Bot ein wenig abnimmt und so hilft, Zeit zu sparen. Und er hilft mit, die Qualität unserer geliebten LMAC-Community weiterhin aufrecht zu erhalten.

Da Watchdog noch ein recht junger Bot ist, macht er hin und wieder noch Fehler. Bitte seht dies dem kleinen Racker nach und meldet euch jederzeit bei den Moderatoren, falls ihr irgend eine seiner Aktionen als ungerechtfertigt empfinden solltet. Ich bin sehr dankbar, für jedes wache Auge und jeden Hinweis, der mir hilft, Watchdog zu verbessern.

Die Quellcodes sind offen und es steht dir völlig frei, ihn für deine eigene Community zu verwenden , umzubauen oder umzukonfigurieren. Du findest die Quellcodes in unserem Github-Repository (siehe 1.1.).

Für technisch Interessierte - Der Watchdog ist rundum erweiterbar.
Das integrierte Agentensystem, das zum Aufspüren von Regelverletzungen verwendet wird, kann durch das Einhängen neuer Agenten um neue Aufspürfähigkeiten erweitert werden. Agenten werden durch spezielle Klassen repräsentiert, die von einer Agenten-Basis-Klasse erben.
Das gleiche trifft auch auf die Reportfunktionalität zu. Man muss nur neue Reporter-Klassen programmieren und ins Report-System einhängen, um zum Beispiel zu erreichen, dass der Bot Reports über Regelverletzungen auch auf anderen Plattformen, als nur Hive und Discord zu senden. Auch die Art, wie die Reports aussehen sollen, lässt sich einfach erweitern und sogar über ein einfaches Template-System individualisieren.
Im Prinzip habe ich im Watchdog ein system der klassischen Exekutiv-Ebene umgesetzt. Die Agenten der Überwachungsebene verwenden einfache Methoden der Rasterfahndung um verdächtige Posts zu ermitteln und senden einen Ermittlungsbericht an das Reportsystem, welches als eine Art Poststelle fungiert. Das Reportsystem beschäftigt unterschiedliche Reporter (Briefträger), um die Ermittlungsberichte für unterschiedliche Empfänger (Kommentare an Posts, Discord-Benachrichtigung in bestimmte Moderator-Kanäle) zu konkretisieren und zuzustellen.
Die Agenten der Überwachungsebene können auch Aktionen (z.B. Post stummschalten) vorschlagen, die von einem Aktionsverwaltungssystem verarbeitet und ausgeführt werden können. Dieses ist genauso erweiterbar wie die anderen Teile von Watchdogs Gehirn.


Watchdogs brain areas | Watchdogs Hirnbereiche

image.png


EnglishLanguage.png

2. Never asked questions

2.1 What's next?

Besides the ongoing development of the website and the bots, I don't have any other concrete programming tasks to do at the moment.
But that doesn't mean that there is nothing to do. I just missed to talk to shaka and the team about further priorities.
I will promptly report back to you on this as soon as I have sought the dialogue on this.

2.2 Is Watchdog a male or a female?

So far, females have clearly outnumbered males on the LMAC team (@agmoore, @mballesteros, and @lilybee).
To restore balance here, I used only very masculine-sounding variable names in Watchdog's source code and avoided to use any cute-sounding term in all the nomenclature. So Watchdog is a lad! :-)

2.3. Why do I always get comments from @lilybee whenever Watchdog finds something to criticize in my post?

Watchdog is indeed a smarter dog than Lassie, but unfortunately he can't speak by himself.
He uses the @lilybee account via Hive API to send comments to posts.

2.4 How do I get faster information about developments around LMAC automation?

On our Discord Server you can use the #dev-corner channel. Between the dev-blogs, there I keep you informed about updates on the website and other LMAC developments.

2.5. What can I do if I have received a comment by @lilybee about a problem in my post?

Lilybee's comments usually contain detailed information about what went wrong. Just fix the problem in your post (e.g. remove non-free image elements from your collage) and reply to her comment. @lilybee can't read comments herself. It is therefore important to mention one of the moderators in your reply (@agmoore, @mballesteros, @shaka, @quantumg) so a moderator is notified of your reply.
Alternatively, you can contact us on the Discord server in the #help channel.

GermanLanguage.png

2. Nie gefragte Fragen

2.1. Wie gehts weiter?

Neben der Weiterentwicklung der Webseite und der Bots, habe ich derzeit noch keine weiteren konkreten Programmieraufgaben zu erledigen.
Das heißt aber nicht, dass es nichts zu tun gäbe. Ich habe es bisher lediglich versäumt, mich mit shaka und dem Team über weitere Prioritäten zu unterhalten.
Ich werde euch zeitnah darüber berichten, sobald ich das Gespräch darüber gesucht habe.

2.2. Ist Watchdog ein Männchen oder ein Weibchen?

Bisher waren die Frauen im LMAC-Team klar in der Überzahl (@agmoore, @mballesteros und @lilybee).
Um hier wieder ein Gleichgewicht herzustellen, verwendete ich nur sehr männlich klingende Variablen-Namen in Watchdogs Quellcode und verzichtete gänzlich auf jegliche Formen der Verniedlichung in der gesamten Nomenklatur. Watchdog ist also ein Bube! :-)

2.3. Warum bekomme ich Kommentare von @lilybee, wenn Watchdog etwas in meinem Post bemängelt?

Watchdog ist zwar ein schlauerer Hund als Lassie, aber selbst sprechen kann er leider nicht.
Er verwendet den @lilybee Account über die Hive-API, um Kommentare an Posts zu senden.

2.4. Wie werde ich schneller über Entwicklungen der LMAC Automatisierung informiert?

Auf unserem Discord Server steht dir hierzu der #dev-corner Kanal zur Verfügung. Zwischen den Dev-Blogs berichte ich dort über Updates auf der Website und anderer LMAC-Entwicklungen.

2.5. Was kann ich tun, wenn ich einen Kommentar von @lilybee über ein Problem in meinem Post erhalten habe?

Lilybees Kommentare enthalten in der Regel genaue Informationen darüber, was schief gelaufen ist. Behebe einfach das Problem in deinem Post (z.B. unfreie Bildelemente aus deiner Collage entfernen) und antworte auf den Kommentar. @lilybee kann selbst keine Kommentare lesen. Es ist daher wichtig, dass du in deiner Antwort einen der Moderatoren erwähnst (@agmoore, @mballesteros, @shaka, @quantumg), damit ein Moderator eine Benachrichtigung über deinen Antwort-Kommentar erhält.
Alternativ kannst du dich auch bei uns auf dem Discord-Server im Kanal #help melden.


Best regards | Viele Grüße
QuantumG


╭━━⋞ ☙ My NFT artworks ≻≺ ♖ My dCity ⋟━━╮
╰━━━━⋞ ♫ My Rising Star(s) ⋟━━━━╯

Sort:  

Wonderfully informative, @quantumg. Must reading for everyone who participates in the community. Your writing style is delicious:

Please have pardon with this little rascal and contact the moderators at any time if you feel any of his actions are unjustified. I am very grateful for every watchful eye and every hint that helps me to improve Watchdog

Personification of Lily and Watchdog make them relatable...relatable bots! People can understand more clearly if they can relate to the character.

A great blog. Great accomplishment. Congratulations. How far we (you, Lily and Watchdog) have come!

Hi @agmoore.

Sorry for replying so late. I am currently a bit buried in work. :-\

Many thanks for the compliments and for stopping by. I'm always very happy to read from you below my blogs. :-)

Personification of Lily and Watchdog make them relatable.

Seems to work. Users already tried to have conversations with Lilybee. :-D

And on this point, once again, I am very glad this is a community of imagination. Here we have a small but limitless LMAC world.

Users already tried to have conversations with Lilybee

Of course they do. But isn't that wonderful. What do we perceive, and what is real? Very hard to define that line. Lilybee defies it. And, as you suggest, we do every week in LMAC.

Don't work too hard, @quantumg.

This is an impressive Update💯
Yes I noticed the Pagination, really cool & helpful. Can just jump pages or easily return to any page with a click.
👋Hey there Lilybee & watch Dog🤖❤️
Bravo👏

Hi @queenstarr.

Very pleased you have stopped by. Thank you. :-)

image.png

Pleasure is mine
untitled.gif

I am in awe of all that this little dog can do and all that he will be able to do in the future. Thank you Quantumg for keeping us informed of all the effort and heart you put into automating tasks in the community. You do a great job! 💜

A thousand thanks for the tip. Now that I have to do less because of Lilybee&Watchdog, I may not deserve it anymore. xD
Thank you very much. Very glad you stopped by. :-)

Thank you very much for your efforts. @quantumg, I had cooled down a bit with sending images. I felt that some were getting lost in limbo or that I wasn't doing it right. Now I will try again. I hope to have better luck.
Your input is immensely important to all of us who gather weekly in the fantastic world of collage.

Greetings friend, good hard programming work for the benefit of the entire @Lmac and Hive community, so we have two new members bot @lilybee the girl and the boy Watchdog,This is going to be an automated way to streamline the work of reviewing and curing collages. may the successes continue

Great, very good updates. Welcome Watchdog good guy.

Hola, @quantumg. Es un hermoso y avispado perrito. Gracias por todo este trabajo.

Hello I am new here how can set @lmac account please tell me