LMAC Automation | LMAC Automatisierung (Dev-Blog #2) [EN | DE]

image.png

EnglishLanguage.png

Even during the summer break, LMAC is still very busy. Almost every hour the LMAC Image Library grows by a few more images. That's why it is very important that our automation tools will be finished soon. Most important are the bot to collect the image information and the index generator. Because the index generator will automatically update a Hive post with information about newly submitted images in the future, so it will be much easier to search for images in the LIL.

As promised in the previous post, I want to continue to keep you updated on the LMAC automation work with this post.

The bad news first. Unfortunately, I've had very little time in the last few days to really finish everything around the automation complex as I had planned. But real life, as it is so aptly called these days, interfered.
That's why the index generator is still a work in progress. But it's already good for creating index posts as markdown files. However, the generator cannot yet post to the Hive or update a Hive post with the generated Markdown. This is now the point where I will primarily work on.

Here you can have a look at such a generated Markdown as an example.
Click here to open the Markdown.
What do you guys think? This is about what the index might look like when the index generator is up and running. For suggestions regarding the layout and the data displayed, I'm always happy to listen. Can we leave the thumbnail size as is?
Link to Markdown template.

But the good news is that the index bot, which looks for the image information in the #LIL Hive posts and writes it to a database, is now ready to use.
On the dev branch in the code repository on our Github account is already the current state of the bot.

GermanLanguage.png

Auch in der Sommerpause geht es bei LMAC heiß her. Fast stündlich wächst die LMAC Image Library um ein paar weitere Bilder. Umso wichtiger ist es, dass unsere Automatisierungswerzeuge fertig werden. Am Wichtigsten sind hierbei der Bot zum Sammeln der Bild-Informationen und der Index-Generator. Denn der Index-Generator wird in Zukunft einen Hive-Post automatisch mit Informationen zu neu eingereichten Bildern aktualisieren, so dass man es viel einfacher haben wird in der LIL nach Bildern zu suchen.

Wie im vorherigen Post versprochen, möchte ich euch mit diesem Post weiter über die Arbeit an der LMAC-Automatisierung auf dem Laufenden halten.

Die schlechte Nachricht zuerst. Ich hatte leider in den letzten Tagen nur sehr wenig Zeit hatte um wirklich alles rund um den Automatisierungskomplex fertig zu stellen, so wie ich es eigentlich geplant hatte. Aber das Reallife, wie man es heutzutage so treffend nennt, kam dazwischen.
Deshalb ist der Index-Generator ist noch schwer in Arbeit. Er taugt aber schon zum Erstellen von Index-Posts als Markdown-Datei. Ins Hive posten oder einen Hive Post aktualisieren kann der Generator das Markdown jedoch noch nicht. Das ist jetzt der Punkt, an dem ich primär arbeiten werde.

Hier könnt ihr so ein generiertes Markdown als Beispiel anschauen.
Klicke hier um das Markdown zu öffnen.
Was sagt ihr dazu? So in etwa könnte der Index aussehen, wenn der Index-Generator im Betrieb ist. Für Vorschläge bezüglich des Layouts und der angezeigten Daten, habe ich immer gern ein offenes Ohr. Kann man die Thumbnail-Größe so lassen?
Link zum Markdown-Template.

Die gute Nachricht ist aber, dass der Index-Bot, welcher die Bilder-Informationen in den #LIL Hive-Posts sucht und in eine Datenbank schreibt, mittlerweile fertig ist.
Auf dem Dev-Branch im Code-Repository auf unserem Github-Account liegt bereits der aktuelle Stand des Bots.


Planned infrastructure | Geplante Infrastruktur

Just a few days ago in the LIL database | Vor ein paar tagen noch, in der LIL Datenbank.

Roadmap

EnglishLanguage.png

Here is a roadmap about the next steps and what still needs to be done. Attention: Technical jargon!

  1. Run the bot in a live environment and fix possible bugs that might appear in live use.
  2. Meanwhile, I habe to work on the index generator, so we'll have our LIL image index soon.
    2.1 Secure storage and use of the posting key still needs to be integrated into the code. I will use the wallet of the Beem Library (Hive API wrapper for Python) for this. With this, one don't need to store the posting key in the code. Rather, one have a local wallet, for which one only need a password. This password can then be securely transmitted to the index generator via call argument by the cronjob.
    2.2 Finish writing the code for posting and updating the index post.
    2.3 Test, test, test. :-)
  3. Also run the index generator in live environment and hope that LMAC survives it. I will pray before that! :-D

I plan to have the index generator done and bulletproofed by August 31st. This is a time frame in which I have little to do at work and a manageable amount to do in my private life, and can therefore spend a lot of time developing our automation.

GermanLanguage.png

Anbei eine Roadmap über das weitere Vorgehen und was noch zu tun ist. Achtung: Fach-Chinesisch!

  1. Den Bot in Betrieb nehmen und mögliche Fehler, die im Live-Einsatz auftauchen könnten, reparieren.
  2. Währenddessen arbeite ich munter am Index-Generator weiter, damit wir bald unseren LIL Bilder-Index haben.
    2.1. Die sichere Aufbewahrung und Nutzung des Posting-Keys muss noch in den Code integriert werden. Ich werde dazu die Wallet der Beem Library (Hive API Wrapper für Python) verwenden. Damit braucht man den Posting-Key nicht im Code lagern. Man hat vielmehr eine lokale Wallet, wofür man nur noch ein Passwort benötigt. Dieses Passwort kann dann sicher per Call-Argument durch den Cronjob an den Index-Generator übermittelt werden.
    2.2. Den Code für das Posten und Aktualisieren des Index-Posts fertig schreiben.
    2.3. Testen, testen, testen. :-)
  3. Auch den Index-Generator in Betrieb nehmen und hoffen, dass LMAC dies überlebt. Ich werde vorher beten! :-D

Ich habe geplant, den Index-Generator bis zum 31ten August fertig und kugelsicher gemacht zu haben. Das ist ein Zeitraum, in dem ich beruflich wenig und privat überschaubar viel zu tun habe und daher viel Zeit für die Entwicklung unserer Automatisierung aufwenden kann.


NAQ - Never asked questions

EnglishLanguage.png

This is a perfect opportunity for me to tell you a little bit about behind the scenes...

  • Why do you program a single tool for each aspect of the automation?
    For reasons of maintainability and interchangeability, it makes perfectly sense. For example, if the handling of one of the automation aspects should become obsolete, we can simply take it out of the cronjob chain or put a new tool in its place.

  • Why Python as programming language for the tools?
    Other mothers also have beautiful daughters. But I wanted only the one!
    Because Python is cross-platform and has everything I need to create what I need to create.
    Luckily, Python also works wonderfully on a Raspberry PI, on which the bot and the index generator will initially run. ( This is the latest status I knew).

  • Why does the development takes such a long time?
    Actually it doesn't take that long yet, if one counts the hours together, on which I have found time to work on it. It's only a few hours so far.
    In the next few days I'll be a bit richer in time and finish it.

  • Which database do the tools use
    A MySql database will be used. This will also make it possible later, if we ever have a website, to retrieve the data from a CMS and integrate it as content there.

  • Is it allowed to use parts of your code or the whole project for own purposes?
    Definitely yes, it's open source! Of course we would be happy if you tell us about it.
    And if refined forks somehow would flow back to us, we would be even super thankful.

  • How can I contribute to this project?
    Just contact us in the LMAC Discord-Chat. We are always happy about ideas and helping hands. :-)

If you have any questions about this project, I'm happy to answer it in the comment section.

GermanLanguage.png

Eine perfekte Gelegenheit, mal aus dem Nähkästchen zu plaudern...

  • Warum programmierst du jeweils für jeden Aspekt der Automatisierung ein einzelnes Tool?
    Aus Gründen der Wartbarkeit und Austauschbarkeit, ist es sinnvoll. Wenn zum Beispiel die Handhabung von einem der Automatisierungsaspekte obsolet werden sollte, kann man es einfach aus der Cronjob-Kette nehmen oder ein neues Tool an der jeweiligen Stelle einsetzen.

  • Warum Python als Programmiersprache für die Tools?
    Auch andere Mütter haben schöne Töchter. Doch ich wollte nur die eine!
    Denn Python ist ist plattformübergreifend und hat alles was ich brauche um zu schaffen was ich schaffen soll.
    Zu allem Glück funktioniert Python auch noch wunderbar auf einem Raspberry PI, auf dem der Bot und der Index-Generator initial erst einmal laufen sollen. (So mein letzter Stand.)

  • Warum dauert die Entwicklung so lange?
    Im Grunde dauert sie noch gar nicht so lange, wenn man die Stunden zusammen zählt, an denen ich bisher Zeit gefunden haben, daran zu arbeiten. Es sind bisher nur ein paar Stunden.
    In den nächsten Tagen werde ich etwas reicher an Zeit sein und es fertig stellen.

  • Welche Datenbank verwenden die Tools
    Es kommt eine MySql-Datenbank zum Einsatz. Das macht es uns später, falls wir einmal eine Website haben sollten, auch möglich, von einem CMS aus die Daten abzurufen und als Inhalt zu integrieren.

  • Ist es erlaubt, Teile eures Codes oder das ganze Project für eigene Zwecke zu verwenden?
    Definitiv ja. Es ist Open Source! Natürlich würden wir uns freuen, wenn du uns davon erzählst.
    Und wenn weiterentwickelte Forks irgendwie zu uns zurückfließen würden, wären wir sogar mega dankbar.

  • Wie kann ich da auch etwas beitragen?
    Sprich uns einfach im LMAC Discord-Chat an. Wir freuen uns immer über Ideen und fleißige Hände. :-)

Falls du irgendwelche Fragen zu diesem Projekt haben solltest, freue ich mich sehr, sie dir im Kommentarbereich zu beantworten.


Best regards | Viele Grüße
QuantumG


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

Sort:  

Congrats, @quantumg, this markdown template looks very good. A question (yeah I know that this is just a demo) - will be there an option to click and see full-size screen pic on all devices?

Sure, it's a demo. But it exists for the community to be able to participate in the development.
Great idea! I'm going to implement it.

Thanks a lot for that! :-)

That will be great! I mean, that the pic should be enough big to see the details and maybe with an option to download or something ... not necessary in Full resolution ... 👏 😎

Hello @quantumg. Great news of your progress. We all understand everyone's offline life and responsibilities. That takes priority. So happy to see the bot has indexed my images from my 2nd LIL contribution post.

Thanks so much for highlighting them. It gives me a chance to see who they will look in the actual database.

Appreciate the time and effort you dedicate to this project. Take care.

woo my friend a really great job thank you for always sharing with us.

It is always my pleasure. :-)

Achtung: Fach-Chinesisch!

你说的没错 ... aber ich weiß das es gut wird! 😎
!BEER

Danke :-)
Auch tokenisiertes !BEER trinkt man nicht alleine.


Hey @muelli, here is a little bit of BEER from @quantumg for you. Enjoy it!

Do you want to win SOME BEER together with your friends and draw the BEERKING.

Wow wow wow! You are so far ahead of the job! I have nothing but congratulations for you since I don't understand all that technical jargon! 😁

What I can tell you is that if that way we are going to see the images when we are doing the searching, then I would like them to be a little bigger. Well, that's what I personally suggest, but let's see what others think.

Great job @Quantumg, keep up the good work!👍

Many thanks, also for the tip. :-)

That's right, if you're looking for something, it would be nice to be able to see it. ^^
It's a bit of a balancing act that on the one hand the images are loaded resource efficient and fast, on the other hand that they can still be seen well.
So the thumbnails could be made a only bit bigger. I think a maximum width of 300 in width. After all, that's twice as big as now. What do you think? Is a width 300 Pixel ok?
About 38% of all mobile users have a screen width of 320 pixels in portrait mode (which is the most common used) and about 30% of all internet users exclusively use mobile devices for things they do on the Internet. So at least a lot of mobile users would see the thumbnails in a size that fills the screen width.

Ok insprak Dutch , English and German and A few others a bit but what the heck I had to read this three times an both languages and still I want to scream I am lost hahahah

The fact that we have so much knowledge in the lmac house is great and teh future is ours. Ofcourse you got my vote and I wish you well on the final details.

Thanks

I'm sorry for that. xD
But at least I left a warning message in the middle of the post. :-D

In the next development update blog, I'll try to reduce the technical bullshit bingo. Promise!!!

Your content has been voted as a part of Encouragement program. Keep up the good work!

Use Ecency daily to boost your growth on platform!

Support Ecency
Vote for Proposal
Delegate HP and earn more

You are amazing. A jewel on the LMAC team. Thank you @quantumg for all the work you do. Even on vacation, you think of the 'mission'.

Respect, my friend, respect ;)

A thousand thanks. I was also very happy for the tip. :-)

Even on vacation, you think of the 'mission'.

"Alles für den Dackel, alles für den Klub!" (Everything for the dachshund, everything for the club!), as we say here. :-D
It really was just daily hiking trips in areas that I can easily reach by car. But almost every day.
Fresh air and hiking actually fits very well for me to develop a software. Brain works very efficiently under such Kind influences. Only enough time for implementing all the results of the thinking was a bit rare.

Congratulations @quantumg! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You published more than 150 posts.
Your next target is to reach 200 posts.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Greetings friend, it is a hard work of excellent programming, great work for our LMAC image library

Te felicito @quantumg, aunque no entiendo el procedimiento si sé que estas haciendo un gran trabajo y que cada una de las imágenes que enviamos pronto tendrá su lugar en ese gran universo. Sin tu ayuda sería muy difícil ubicar lo que buscamos.
Éxito y deseo que te llueva tiempo para lograrlo.


Hey @quantumg, here is a little bit of BEER from @muelli for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.