[research and develop] use minetest as working environment

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

[research and develop] use minetest as working environment

by bebebeko » Post

Hello, Minetest community!

This is Research and Develop thread, where I share my modest tries to create a working environment in Minetest.

What it means and my motivation I described in the BORING PART

BORING PART
Spoiler

Image
(terraform resources and dependencies required for creating amazon-lambda functions)

My work is an interaction (deploy, upgrade, monitoring) with various complex systems, like virtualization clouds, kubernetes infrastructure, large networks with a lot of network hots, and many many other complex things.

Every time when I working with complex systems, I use the terminal to manipulate them through text input. When I reading the text (log files for example) I need to create some sort of visualization in my mind to understand what's happens, how my actions affect the system, and what I got after changes are over.

At the moment my work is 90% in the terminal emulator. I use some tricks to automate routine actions, use a terminal multiplexer (tmux and tmuxinator), and FVWM (window manager) to orchestration my actions.

I worked in that way so long, that my average typing speed is about 620 characters per minute...

Well, my motivation is to get experience in how some parts of my workflow, can be represented in the 3D world and minetest looks like the best 3D engine to achieve that.
I will upload all code to GitHub and share the videos ;-) I suppose, my Lua code is not perfect, please feel free to criticize it.

If you have technical questions or just want to chat, welcome to this thread too ;-)

The picture to attract attention Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Github https://github.com/metacoma/minetest-server-rack

The floppy disk is a file with server-rack inventory, it's a reclass compiled model: https://github.com/metacoma/minetest-se ... entory.yml

After i use floppy disk on "special node", special node read yaml description and dynamically draw the server-rack based on inventory.
Youtube https://www.youtube.com/watch?v=_G9AmEtgzhU
Image
Last edited by bebebeko on Sun Jul 12, 2020 15:33, edited 3 times in total.

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Another proof of concept: open desktop application after some action in minetest game
Github https://github.com/metacoma/minetest-gnome-terminal

Yep, i have similar mod. The desktop application will opens after player punching specific node.
I'm used modchannel feature in minetest to achieve that. https://github.com/minetest/minetest/pull/6351

The explanation below is only for sandbox environment, DON'T TRY IT IN THE PRODUCTION, BECAUSE IT'S A ONE BIG SECURITY HOLE:

CSM (clientside mod):
https://github.com/metacoma/minetest-gn ... l/init.lua

Also you need to explicitly enable CSM https://wiki.minetest.net/Mods#Client-Side_Mods mod in mods.conf on client side:

load_mod_channel = true


client minetest.conf

secure.enable_security = false
secure.trusted_mods = channel


Server side mod:
https://github.com/metacoma/minetest-gn ... l/init.lua

Example:
minetest.register_node("node:dhcp", {
tiles = { node_dhcp },
paramtype = "light",
diggable = false,
inventory_image = minetest.inventorycube(node_dhcp),
on_punch = function(pos, node, player, pointed_thing)
getUserChannel(player:get_player_name()):send_all("GNOME_TERMINAL_SCREEN='' gnome-terminal -e 'ssh -t entrypoint tmuxinator start dhcp'")
end,
})


Youtube https://www.youtube.com/watch?v=4LH5Fyt-cQM
Image
Last edited by bebebeko on Mon Aug 17, 2020 12:11, edited 1 time in total.

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Just "spiderman" mode for fast movements across the world

Github https://www.youtube.com/watch?v=T8oehmlxaNw
Youtube https://www.youtube.com/watch?v=T8oehmlxaNw
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

3D visualization IP network traffic

Github https://github.com/metacoma/minetest-tcpdump-demo

This is minetest mod (and environment) to start minetest server in a docker container and visualise the tcpdump flow. Instead thousand of words, watch the video:

Youtube https://www.youtube.com/watch?v=pSENbiv_R_g
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey, how about walking through the POSIX file system?

cyan nodes.- directories
white nodes - files

video quality still bad, sry

GitHub https://github.com/metacoma/minetest-po ... ds/mine9fs

Youtube https://youtu.be/hKEwChhyx3A
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey folks!

How about examining kubernetes with minetest?

Video quality still ugly, but I hope you can check out the functionality

Youtube https://www.youtube.com/watch?v=AhSFfJVeJ2U
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

My second video with kubernetes
More textures and more actions like edit kubernetes resource and execute shell to specific pod

Youtube https://www.youtube.com/watch?v=HFgZQHYZGTo
Image

User avatar
Zughy
Member
Posts: 301
Joined: Thu Mar 26, 2020 18:23
GitHub: belongs_to_microsoft
In-game: Zughy
Location: Italy
Contact:

Re: [research and develop] use minetest as working environment

by Zughy » Post

You're crazy. I like it. Keep going!

Nino
New member
Posts: 9
Joined: Tue Jul 14, 2020 16:45
In-game: Nino

Re: [research and develop] use minetest as working environment

by Nino » Post

wooow!

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Nino wrote:
Sat Jul 25, 2020 23:18
wooow!
that was my first thought when i saw it
Zughy wrote:
Sat Jul 25, 2020 22:37
You're crazy. I like it. Keep going!
Thanks ;-) please welcome my new video

Youtube https://www.youtube.com/watch?v=eAdKNowkplw
Image

GitHub https://github.com/metacoma/minetest-poc/


And I need say thanks to guys on #minetest@irc.freenode.net channel, they help me a lot

User avatar
Rayjack
Member
Posts: 25
Joined: Thu Nov 15, 2018 18:18
In-game: Rayjack

Re: [research and develop] use minetest as working environment

by Rayjack » Post

cool

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Rayjack wrote:
Tue Jul 28, 2020 19:39
cool
Thanks, Rayjack!


Well, maybe the next video doesn't contain new minetest functionality, I have invested time to project architecture.

In this video, I connected 9gridchan public services to my filesystem tree over 9p2000 protocol and research them.
Links: https://ants.9gridchan.org/ http://9front.org

Youtube https://youtu.be/EUpbMSknjcM
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Heeeey folks, what's up?

I continue to make technical videos, keep calm, i hope, in next two weeks I'll make something interesting for minetest community ;-)

In this video, i mounted two remote filesystem through 9p2000 protocol


Youtube https://youtu.be/NlfM8WzWmcc
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

HeY!

In this video, i explained how 9p2000 works (i modified https://github.com/iru-/lua9p/ library and add flying packets inside network functions https://github.com/metacoma/minetest-po ... d10376R731 )


Youtube https://youtu.be/nguLRmpQDm4
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey, good news! One more person join me!

And this video is provided by him

Differenet visualization for the same things

Youtube https://youtu.be/rrU_8D0X7go
Image

User avatar
freshreplicant
Member
Posts: 224
Joined: Sun Aug 09, 2020 10:37
In-game: freshreplicant

Re: [research and develop] use minetest as working environment

by freshreplicant » Post

Man, this stuff is trippy. Reminds me of William Gibson's Neuromancer.

https://en.wikipedia.org/wiki/Neuromancer

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

freshreplicant wrote:
Thu Sep 10, 2020 16:33
Man, this stuff is trippy. Reminds me of William Gibson's Neuromancer.

https://en.wikipedia.org/wiki/Neuromancer
Yep, I read this book and I really liked it

Thank you for your feedback! ;-)

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Another video from my collegue: Traceroute for dummies :)


Youtube https://youtu.be/T-0m1XPU9yA
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey folks, using auth/logind(8) as authentication backend for minetest users ;-)


Youtube https://youtu.be/ABRHctf-puo
Image

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Finally, some interesting to minetest community.

A little bit magic, and we got universal minetest console to any entities ;-)


Youtube https://youtu.be/4pgOLk6GPy8
Image
Last edited by bebebeko on Wed Dec 09, 2020 11:10, edited 2 times in total.

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey! How about this?

It's a 24x7 online stream on twitch with real-time visualization about what happened in bitcoin blockhain ;-)

Youtube https://www.twitch.tv/btc_live
Image
Last edited by bebebeko on Wed Dec 09, 2020 11:12, edited 2 times in total.

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: [research and develop] use minetest as working environment

by Yvanhoe » Post

This is silly! I like it!

User avatar
bebebeko
Member
Posts: 35
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Bump

Periodic table filesystem

All the data (elements list, textures) are downloaded on the fly when the player connects the periodic table filesystem to minetest using 9p protocol.

Github repo: https://github.com/9mine/9mine

Youtube https://youtu.be/MK2u67K0u2g
Image

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [research and develop] use minetest as working environment

by Wuzzy » Post

This seems like the most convoluted way to make an UI, but oh well. If you're having fun with it, whatever. :D

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests