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

EnglishLanguage.png

Hello Hivians and LMACians,

There are some new developments in the LMAC universe worth talking about. I did not want to hide any of it from you and therefore wrote for you a brief dev update.

GermanLanguage.png

Hallo Hivianer und LMACianer,

Über neue Entwicklungen im LMAC-Universum, gibt es wieder einiges zu berichten. Ich mochte euch nichts davon vorenthalten und schrieb euch daher ein kleines Dev-Update.


Cover image | Titelbild

EnglishLanguage.png

What is LMAC and what is LIL?

LMAC ist the abbrevation for "Let's make a collage". It is a great community with weekly collage making contests and awesome prizes for the winners.

LIL is the abbreviation for "Let's make a collage Image Library". It is an initiative of the LMAC(Let's make a collage) community to build a library of images that can be used as a material source for collages but also for other aspects.

The images in it are contributed by Hive users and automatically indexed by a bot. All images indexed so far can be found on lmac.gallery. They are linked there.

GermanLanguage.png

Was ist LMAC und was ist LIL?

LMAC ist die Abkürzung für "Let's make a collage". Es ist eine großartige Community mit wöchentlichen Collage-Wettbewerben und tollen Preisen für die Gewinner.

LIL ist die Abkürzung für "Let's make a collage Image Library". Es eine Initiative der LMAC(Let's make a collage)-Community, um eine Bilder-Bibliothek aufzubauen, die als Material-Quelle für Collagen aber auch für andere Dinge verwendet werden kann.

Die Bilder darin werden von Hive-Benutzern beigetragen und automatisiert von einem Bot indiziert. Alle bisher indizierten Bilder sind auf lmac.gallery zu finden. Sie sind dort verlinkt.


EnglishLanguage.png

News

Website - Keywords

So far it was not very easy to identify which types of images are still missing in the #LIL or from which ones there exists the most. Furthermore, the search for images by keyword was not always very reliable. Because you simply couldn't know if the respective keyword was used for images at all.
Fortunately, this situation is over now!

Since today there is a special page on https://lmac.gallery containing two tabs, on the first tab there is a Top 100 - keyword cloud and on the second tab there is a list of all keywords used for images in the #LIL.
In the latter you can select single keywords by clicking on them and combine them to a search query to search in the gallery.

This is a completely new way of searching in the #LIL gallery.
Every keyword that is selected really exists and leads to a search result in any case. By combining all the keywords you want to search for, you can get everything you need for your collage in one go. You can find a GIF in " Illustration: Tag cloud", which demonstrates how it works.

LMAC Watchdog - New home

LMAC Watchdog, which used to live on my home server, has now moved to a new home. Now it lives on my phone. :-D
When I had to think about how to save power, I got this idea.
For the small tasks performed on my home server (a retired desktop PC), I needed an equally small and more power-efficient solution. There was no more space on my Raspberry Pi (mini computer), which I actually wanted to use for this. So I decided to order another one.
I was searching for good offers for Raspberry PIs on the internet with my phone. And when I was holding the phone in front of me, it popped out of my eyes.
I realized my phone is indeed a mini-computer and even more powerful than any Raspberry PI I could have bought.

I own an Android phone and remembered that there are so-called terminal emulators for utilizing the Linux base of Android. After a short search on the open-source app store F-Droid, I soon found what I was looking for. The app Termux became my choice. According to its description, it seemed to be able to do everything I needed for my endeavor.

To avoid turning this into a blog for tech nerds, I'll keep it short now.
I installed a Python3 interpreter together with various runtime libraries and Linux tools using the Termux terminal. Then I downloaded Watchdog from LMAC code repository and then configured the program.

Well, since then LMAC's Watchdog lives happily on my phone. And although Watchdog is not just a simple script and is very hard working, the little rascal runs like a charm and even quite fast in this new environment. (See "Illustration: Watchdog".)

My phone is the perfect environment for such kind of programs which have to run 24/7.
Because it is kept on 24/7 anyway. So running my home server tasks there doesn't cost me much more for the power on the phone and now even less than before on the home server.

If you want to know more about this and how to get Python3 and the Python package Beem running on Android using Termux terminal, this weekend I plan to write a separate post about all these details. No later than Sunday, it should be avaiable on my Hive blog feed.

GermanLanguage.png

Neues

Webseite - Schlüsselworte

Bisher war es nicht sehr einfach zu erkennen, welche Arten Bilder noch in der #LIL fehlen oder von welchen es am Meisten gibt. Ebenso war die gezielte Suche nach Bildern nach Schlüsselworten nicht immer sehr zuverlässig. Denn man konnte einfach nicht wissen, ob es das jeweilige Schlüsselwort überhaupt gibt.
Das hat nun zum Glück ein Ende!

Seite heute gibt es auf https://lmac.gallery eine spezielle Seite, auf welcher innerhalb zweier Reiter, zum einen eine Top 100 - Schlüsselwortwolke und zum Anderen eine Liste aller, für Bilder in der #LIL verwendeten Schlüsselworte enthält.
In Letzter kann man einzelne Schlüsselworte durch klicken auswählen und zu einer Suchanfrage in der Galerie zusammenstellen.

Dies stellt eine völlig neue Art&Weise wie in der #LIL Galerie gesucht werden kann dar.
Jedes Schlüsselwort das ausgewählt wird, existiert wirklich und führt auf jeden Fall zu einem Suchresultat. Durch eine Kombination aller Schlüsselworte, zu welchen man Bilder suchen möchte, kann man sich in einem Rutsch aus dem Suchresultat alles zusammensuchen, was man für seine Collage benötigt. Du findest unter "Illustration: Tag cloud" ein GIF, das die Funktionsweise zeigt.

LMAC Watchdog - Neues Zuhause

LMAC Watchdog, welcher bisher auf meinem Heimserver lebte, ist nun umgezogen. Es lebt nun auf meinem Telefon. :-D
Als ich mir Gedanken darüber machen musste, wie ich Strom sparen könnte, kam mir die Idee dazu.
Für die kleinen Aufgaben, die auf meinem Heimserver (ein ehemaliger Desktop-PC) ausgeführt werden, musste eine ebenso kleine und stromsparendere Lösung her. Auf meinem Raspberry Pi (Mini-Computer) , den ich eigentlich dafür nutzen wollte, war kein Platz mehr. Also entschied ich mich, einen weiteren Bestellen.
Ich suchte also mit meinem Telefon im Internet nach guten Angeboten für Raspberry PIs. Und als ich so das Telefon vor mich hielt, fiel es mir wie Schuppen von den Augen.
Mein Telefon ist ja bereits ein Mini-Computer und sogar noch weitaus leistungsstärker, als jeder Raspberry PI den ich erstehen könnte.

Ich besitze ein Android-Händi und erinnerte mich, dass es für die Nutzung des Linux-Unterbaus von Android sogenannte Terminal-Emulatoren gibt. Nach kurzer Suche auf dem open-source App-Store F-Droid, wurde ich auch schon fündig. Die App Termux wurde meine erste Wahl. Es schien laut Beschreibung alles zu können, was ich für das Unterfangen brauchte.

Um hieraus keinen Blog für Technik-Nerds zu machen, mache ich es nun kurz.
Ich installierte mithilfe des Termux-Terminals einen Python3-Interpreter nebst diversen Laufzeitbibliotheken und Linux-Werkzeugen. Anschließend lud ich Watchdog von LMAC Code-Repository herunter und konfigurierte das Programm.

Nun, und seitdem lebt LMACs Watchdog fröhlich auf meinem Telefon. Und obwohl Watchdog nicht nur ein simples Script ist, sondern Recht viel Arbeit erledigen muss, läuft der kleine Racker wie geschmiert und sogar recht schnell unter dieser neuen Umgebung. (Siehe "Illustration: Watchdog".)

Mein Telefon ist die perfekte Umgebung für solche Programme, die ja rund um die Uhr laufen müssen.
Denn es ist ohnehin 24/7 eingeschaltet. So kostet mich der Betrieb meiner Heimserver-Aufgaben auf dem Telefon nicht arg viel mehr für den Strom und nun sogar weniger, als vorher auf dem Heimserver.

Wenn du mehr darüber wissen möchtest und wie man Python3 und das Python-Packet Beem unter Android mittels Termux-Terminal zum Laufen bekommt, am Wochenende gedenke ich einen einen separaten Post über all diese Details zu schreiben. Spätestens Sonntag, dürfte es auf meinem Hive Blog-Feed zu finden sein.


Illustration: Tag cloud

cloud.gif

Illustration: Watchdog

image.png


EnglishLanguage.png

What's next?

LMAC Poll

Starting this week, I'm working on LMAC Poll, a subpage for https://lmac.gallery, which will soon allow voting for the contest finals.
LMAC Poll will work almost exactly like dpoll.xyz. The voting and all votes will be saved on the blockchain and you will even be able to view old polls that were still made with Dpoll on this page.

The reason for this project was the unreliability of the DPoll service, which we still used regularly for the contest finals not long ago. In the meantime we switched to comments for a work-around solution. With our own poll solution, we will soon be able to vote in the usual way again, and malfunctions will then be our own fault.

It is also planned to improve the poll tool and offer it later as a compatible DPoll alternative.

Gallery search

Currently I am also rebuilding the search mechanism of the LIL gallery. Objective is to enable search inputs like we are used to from search engines. Furthermore the search logic will be changed.
So far the search logic still behaves in OR mode.
Example:

Search input: flower white forest
Result: All flowers or none, everything white or nothing, all forests or none.

When the changes are done, the search logic will behave in AND mode.
Example:

Search input: flower white forest
Result: White flowers in forests. Or Flowers in white forests. Or white flowers in white forests. 

GermanLanguage.png

Was steht an?

LMAC Poll

Seit dieser Woche arbeite ich am LMAC Poll, einer Unterseite für https://lmac.gallery, auf welcher bald für die Contest-Finalen abgestimmt werden kann.
LMAC Poll wird nahezu genau so funktionieren wie dpoll.xyz. Die Abstimmung und alle Stimmen werden auf der Blockchain gespeichert werden und man wird sich sogar alte Abstimmungen, die noch mit Dpoll gemacht wurden, auf dieser Seite anschauen können.

Der Grund für dieses Projekt liegt in der Unzuverlässigkeit des DPoll-Dienstes, welches wir noch vor Kurzem für das Contest-Finale regelmäßig nutzten. Zwischenzeitlich sind wir dann auf Kommentare als Behelfslösung umgestiegen. Mit der eigenen Poll-Lösung, können wir bald wieder auf gewohnte abstimmen und sind dann selbst schuld, wenn einmal etwas damit nicht funktionieren sollte.

Geplant ist auch, das Poll-Tool später generalisiert als kompatible DPoll-Alternative auszubauen und anzubieten.

Galerie-Suche

Zur Zeit baue ich auch den Such-Mechanismus der LIL-Galerie um. Ziel ist es, Sucheingaben wie man sie von Suchmaschinen gewohnt ist, zu ermöglichen. Zudem wird auch die Suchlogik geändert.
Bisher verhält sich die Suchlogik noch im ODER-Modus.
Beispiel:

Sucheingabe: blume weiß wald
Resultat: Alle Blumen oder keine, alles weiße oder nichts davon, alle Wälder oder keine.

Nach Abschluss der Änderungen, wird sich die Suchlogik im UND-Modus verhalten.
Beispiel:

Sucheingabe: blume weiß wald
Resultat: Weiße Blumen in Wäldern. Oder Blumen in weißen Wäldern. Oder weiße Blumen in weißen Wäldern.

Best regards
QuantumG


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

Sort:  

What you have published is interesting, the improvements are good. Success friend

Glad you like it Thanks. :-)

Excelentes avances en pro de LMAC.

Me alegro que te guste. Gracias. :-)

Greetings friend, impressive advances in programming for the improvement of the entire LMAC community, then we will see the new application to vote for the endings of the collages.

Eres no solo un artista sino un magnífico docente!
Tengo tiempo sin publicación por problemas de conexión y también con mi equipo de computación. Gran saludo!

Genial @quantumg gracias por mejorar cada vez más el ecosistema de la comunidad LMAC.
Esto será grande!

That's interesting