Kids Treasure Hunt
Find the English version below
Hi ,
Für eine Schatzsuche für einen 5 Jährigen möchte ich einen Text schreiben. Der Text soll von einem Piraten geschrieben sein, der ein Rätsel beschreibt wo der Schatz des Piraten versteckt ist. Er soll an einem Ort versteckt sein wo gruselige Bäume sind. Kannst du mir den Text schreiben und ihn reimen lassen?
Mit diesem Prompt habe ich ChatGPT gefüttert. Ich war gerade aus Berlin von der RabbitMQ Summit zurück.
Am nächsten Tag war Kindergeburtstag.
Und es musste noch ein Rätsel für die Schatzsuche her.
Es war perfekt. Es war kreativ, lustig, charmant. Und: Es war schnell fertig.
Ich hätte bestimmt eine Stunde auf Word gestart, um ein ähnliches Ergebnis zu produzieren.
ChatGPT ist mächtig.
Damit erzähle ich dir bestimmt nichts neues.
Nutze die Power von ChatGPT in deinem Alltag
Ganze Programme kannst, und solltest, du dir nicht von ChatGPT erstellen lassen. Für komplexe Anwendungen wird kein Code erstellt, der langfristig wartbar ist. Du wirst dadurch keine Zeit sparen.
Aber ChatGPT ist stark, wenn es um Automatisierung rund um deine Anwendung geht.
Ich habe es neulich genutzt, um das Setup eines Projekts zu vereinfachen.
Und dabei musste ich nicht mal nachdenken.
In der readme.md standen die folgenden Setup-Anweisungen:
Create
.env
file withcreate-env.sh
Place
Z12842.zip
file in/archives
Start docker compose with
docker compose up --build
and wait until containers have startedIf you wish to include licenseserver, follow the instructions in
licenseserver/local-development-environment
Create default data including accounts, REST API key and required licenses with
./init.sh
. The script prompts whether to include the licenseserver. Choose yes only if licenseserver container was started in the previous step.
Das Beispiel entspricht nicht ganz der Wahrheit - zur Diskretion meines Kunden ist der Inhalt verändert. In der Sache sind die Schritte equivalent.
Also, Copy-Paste mit der vorangestellten Anweisung:
Create a bash script that does the following:
(step-by-step Liste von oben)
Kurz warten.
Schon habe ich ein Script, dass zu 90% das Richtige macht.
Noch ein paar Verfeinerungen mit weiteren Prompts, wie:
How can I call docker-compose up --build and continue with the main script until all services are running in docker?
Für das resultierende Skript hätte ich sonst Stunden gebraucht.
Natürlich fällt das ein, oder andere, auf, wenn du automatisierst. Da schützt auch ChatGPT nicht. Aber das würdest du auch händisch finden und bearbeiten.
ChatGPT ist mächtig.
Wenn du das nächste mal eine step-by-step Anweisung schreibst, dann schreib sie in ChatGPT und lass dir direkt ein Skript erstellen.
Rule the Backend,
~ Marcus
English
Hi ,
For a treasure hunt for a 5-year-old, I want to write a text. The text should be written by a pirate, describing a riddle where the pirate's treasure is hidden. It should be hidden in a place where creepy trees are. Can you write the text for me and make it rhyme?
With this prompt, I fed ChatGPT. I had just returned from Berlin from the RabbitMQ Summit.
The next day was my child's birthday party.
And there was still a need for a riddle for the treasure hunt.
The result was perfect. It was creative, funny, charming. And: It was quickly done.
I would have definitely spent an hour on Word to produce a similar result.
ChatGPT is powerful.
I'm probably not telling you anything new.
Use the Power of ChatGPT in Your Everyday Life
You shouldn't, and can't, have entire programs created by ChatGPT. For complex applications, it doesn't generate code that is maintainable in the long term. You won't save time that way.
But ChatGPT is strong when it comes to automation around your application.
I recently used it to simplify the setup of a project.
And I didn't even have to think about it.
The following setup instructions were stated in the readme.md:
Create a
.env
file withcreate-env.sh
Place
Z12842.zip
file in/archives
Start docker compose with
docker compose up --build
and wait until containers have startedIf you wish to include license server, follow the instructions in
licenseserver/local-development-environment
Create default data including accounts, REST API key, and required licenses with
./init.sh
. The script prompts whether to include the license server. Choose yes only if license server container was started in the previous step.
The example isn't quite true to reality - the content has been changed for my client's discretion. However, the steps are equivalent in substance.
So, copy and paste with the preceding instruction:
Create a bash script that does the following:
(step-by-step list from above)
Wait a moment.
Now I have a script that does 90% of the right thing.
A few more refinements with additional prompts, like:
How can I call docker-compose up --build and continue with the main script until all services are running in docker?
It would have taken me hours to create the resulting script otherwise.
Of course, one thing or another becomes apparent when you automate. ChatGPT doesn't protect against that. But you would find and edit that by hand as well.
ChatGPT is powerful.
The next time you write a step-by-step instruction, write it into ChatGPT and let it create a script for you directly.
Rule the Backend,
~ Marcus