Skip to main content

the avatar of Vojtěch Zeisek

Kurz práce v příkazové řádce Linuxu nejen pro MetaCentrum 2023

Kurz práce v příkazové řádce Linuxu nejen pro MetaCentrum 2023

Nebojte se příkazové řádky Linuxu! Je to mocný a přívětivý nástroj umožňující efektivně zpracovat i velká data a zautomatizovat činnosti. Prakticky shodně funguje příkazová řádka i v Apple macOS, BSD a dalších UNIXových systémech, nejen v Linuxu. Kurz je vhodný pro úplné začátečníky i mírně pokročilé. Jediným vstupním požadavkem je zájem (nebo potřeba) pracovat v příkazové řádce, typicky na linuxovém výpočetním serveru.

vojta

a silhouette of a person's head and shoulders, used as a default avatar

Kmon una herramienta para gestionar los módulos del kernel #Linux

Con la herramienta Kmon podrás gestionar módulos del kernel Linux con una interfaz gráfica desde la terminal

Kmon es una herramienta desarrollada por Orhun y escrita en Rust y publicada como software libre bajo una licencia GPL3.0 con la que podrás consultar y gestionar los módulos cargados en el kernel Linux de tu sistema.

Dispone de una interfaz para la línea de comandos en la que muestra información de los módulos cargados en el kernel Linux de nuestro sistema, información y desde la que podremos realizar diferentes acciones.

Desde la interfaz de Kmon, podrás:

  • ver la información de un módulo
  • buscar un módulo en concreto
  • cargar/eliminar un módulo
  • meter un módulo en la lista negra
  • y muchas otras cosas…

A diferencia de los kernels monolíticos estándar, el kernel Linux es modular y acepta módulos de kernel cargables (LKM) que generalmente se usan para agregar soporte para nuevo hardware (como controladores de dispositivos) y/o sistemas de archivos, o para agregar llamadas al sistema.

Dado que los LKM pueden cargarse y descargarse en el sistema durante el tiempo de ejecución, tienen la ventaja de extender el kernel sin reiniciar ni volver a compilar. Por lo tanto, las funcionalidades del kernel proporcionadas por los módulos no residirían en la memoria sin ser utilizadas y el módulo relacionado se puede descargar para liberar memoria y otros recursos.

Kmon proporciona una interfaz de usuario basada en texto para administrar los módulos del kernelde Linux y monitorear las actividades del kernel.

Administrar significa cargar, eliminar, poner en lista negra y mostrar la información de un módulo. Estas actualizaciones en los módulos del kernel, los registros sobre el hardware y otros mensajes del kernel se pueden rastrear con el monitor de actividad en tiempo real en kmon.

Dado que se requiere el uso de diferentes herramientas como dmesg y kmod para estas tareas en Linux, kmon tiene como objetivo reunirlas en una sola ventana de terminal y facilitar el uso tanto como sea posible manteniendo la funcionalidad.

Instalar Kmon

El paquete está disponible para algunas distribuciones de GNU/Linux como Arch y derivadas o Debian y derivadas.

También puedes descargar el binario desde GitHub y ejecutarlo en tu sistema. En el momento de escribir este artículo está disponible la versión 1.6.2. Por tanto ejecutaremos los siguientes comandos:

wget https://github.com/orhun/kmon/releases/download/v1.6.2/kmon-1.6.2-x86_64-unknown-linux-gnu.tar.gz
tar -xvzf kmon-1.6.2-x86_64-unknown-linux-gnu.tar.gz
cd kmon-1.6.2
./kmon

Si queremos, podemos mover el binario kmon a un lugar de nuestro $PATH para poder ejecutarlo desde cualquier parte del sistema.

Navegar por la interfaz

Una vez ejecutado kmon, veremos unas cuantas ventanas que nos ofrecen distinta información y en las que podremos interactuar. Para movernos por ellas lo haremos con las teclas de las flechas del teclado.

Tiene un montón de atajos de teclado con los que podremos movernos por la interfaz e interactuar con la herramienta. Pulsando ? obtendremos un listado de todos los atajos de teclado disponibles.

Buscar un módulo

Accediendo al cuadro de búsqueda de la parte superior, podremos introducir el nombre o parte del nombre un módulo y en la vista de módulos se filtrarán, mostrando los que cumplen los requisitos de la búsqueda.

Cargar un módulo

La caja de búsqueda anterior, se convierte en una caja para cargar un módulo al pulsar sobre + o i y en ella escribiremos el nombre del módulo que queremos cargar. Deberemos confirmar esta acción.

Eliminar un módulo

De igual forma, podremos eliminar un módulo del kernel situándonos sobre él y pulsando - o u

Poner un módulo en la lista negra

Con esta acción haremos que el kernel no cargue el módulo seleccionado. Para ello, sobre el módulo en cuestión pulsaremos x o b

Dale color a kmon

De manera predeterminada kmon se ejecuta en blanco y gris. Si esa combinación de colores no la vemos bien o no nos gusta, podremos cambiarla ejecutando al inicio ./kmon --color green para verlo en verde, por ejemplo.

O en cyan y azul: ./kmon -a cyan -c blue


Enlaces de interés

the avatar of Efstathios Iosifidis

An awesome KDE Akademy is over. Hello Thessaloniki!!!

This year, I had the amazing opportunity to attend KDE Akademy in person for the first time! The host city was Barcelona. It is my second time visiting the city but it was my first time to attend KDE Akademy. Actually it was my first KDE event.

For KDE friends who don't know me, I mainly contribute to openSUSE, GNOME, Nextcloud, ownCloud and GNU Health. I have fewer contributions to Fedora, Ubuntu and ONLYOFFICE and a few here and there to FOSS projects.

Question. Why did you attend KDE Akademy? Two were the reasons. The first and main reason was to see the organization of the conference from the inside, since my University will host the next KDE Akademy. The second reason was to "introduce" myself to the KDE community, since I contribute to other projects. Actually, I know a person from the KDE board but community is not only one person.

The only familiar person I could meet was openSUSE's community manager. Unfortunately he couldn't attend, so he asked me to represent openSUSE. The duties were to have a booth and present something openSUSE related for 3 minutes. I had an idea to propose my friend George to do his first presentation to an open source conference and start his open source journey. He was very excited and he did it.

Day 0

There was a welcome event on Friday for us, where attendees got to know each other. Unfortunately, my flight was delayed and I arrived too late to attend the event. So I stayed at the hotel and tried to rest for my first Akademy day. I felt like going to school.

Day 1

The first thing we had to do was set up our booth. Well, the only promo material we had was stickers. I think all geeks like stickers so it was the best gift for everyone. I love stickers, not only from openSUSE but from other projects as well.
Stathis at openSUSE booth
During setting up the booth, I met the rest of the guys from the sponsors like Ubuntu, Fedora, Qt and Slim Book.

I attended quite a few interesting talks: Food at the coference wasn't the best for my taste. Maybe it's me. But the most interesting part of the conference was the fact that I had the chance to meet realy important people, developers that changed my point of view on softare developement.

You can see the first day, Room 1 here:

Day 2

After having fun the first day, I was excited for the second day. The first reason was that George and I (actually only George) will have the sponsor talk and the second reason was that the fact that the organizers would announce the place of next year's Akademy. Of cource that place is Thessaloniki and my University.

I attended quite a few interesting talks: You can see the second day, Room 1 here:
Unfortunately I didn't have any team to join the next BoFs days. I had a small hope that we could setup the working environment for the next Akademy but that didn't happen.

We didn't join the trip to the mountain. We went to see the city. It was my second time and I skipped some sites.

I really loved my first KDE Akademy. I would like to thank KDE ev that sponsored my trip to attend the Akademy.

I have a lot of stuff to work here with the organizing committee.
We are working to host you all next year.
a silhouette of a person's head and shoulders, used as a default avatar

Lanzado Plasma 5.26, mejorando los plasmoides

Han pasado ya los cuatro meses de rigor desde la última gran actualización del entorno de trabajo Plasma de la Comunidad KDE, la 5.25. Esto significa que los desarrolladores han estado trabajando en el siguiente paso y que se congratulan en anunciar que ha sido lanzado Plasma 5.26 que destaca por su trabajo en mejorar los plasmoides y en la inclusión de nuevas aplicaciones para Plasma Bigscreen.

Lanzado Plasma 5.26, mejorando los plasmoides

La Comunidad KDE ha publicado hoy Plasma 5.26, una versión que nos ofrecen un gran conjunto de novedades y propuestas que nos acercan a lo que vendrá cuando se realice la transición a Plasma 6. No obstante, en esta versión se han dedicado a, entre otras cosas, a pulir las funcionalidades de los widget, algo que en el blog conocemos como plasmoides.

Lanzado Plasma 5.26, mejorando los plasmoides

Además, esta nueva versión de Plasma nos presenta la puesta de largo Plasma Bigscreen, una nueva forma de visualizar el escritorio en pantallas grandes y muchas pequeñas mejoras en aspectos tan importantes de un entorno de trabajo como la gestión de fondos, la instalación de aplicaciones o el manejo de las conexiones de audio .

Más información: KDE

Las novedades de Plasma 5.26

Hoy es un día de descarga y actualizaciones, y mientras espero que esté disponible para mi KDE Neon, os comento algunas de sus novedades:

  • Posibilidad de redimensionar los plasmoides emergentes incrustados en una barra de tareas.
  • Timer: nuevo plasmoide que nos sirve para tener un simple temporizador para las tareas que lo requieran o, inlcuso, asignarle acciones como ejecutar un comando.
  • Añadido el navegador Aura especialmente diseñado para la pantalla grande del modo Plasma Bigscreen que destaca por tener mosaicos grandes y claramente etiquetados te permiten navegar por la red mundial con tu mando a distancia desde el sofá.
  • También se une a Bigscreen Plank Player, un reproductor multimedia sencillo y fácil de usar que te permitirá reproducir vídeos desde un dispositivo de almacenamiento que conectes a tu televisor.
  • Mejoras en el entonor Plasma que utiliza el servidor gráfico Wayland, el cual sigue mejroando y hace que las aplicaciones XWayland escaladas ahora se ven más hermosas, nítidas y claras.

La entrada Lanzado Plasma 5.26, mejorando los plasmoides se publicó primero en KDE Blog.

a silhouette of a person's head and shoulders, used as a default avatar

Actualización de octubre del 2022 de KDE Frameworks

Pasadas Akademy-es y Akademy híbridas de Barcelona siguen las entradas recurrentes de las actualizaciones mensuales de rigor que demuestra que los desarrolladores de KDE no dejan de trabajar en sus librerías. Así que se congratulan en anunciar la actualización de octubre del 2022 de KDE Frameworks. Con esta se llega a la versión 5.99, un suma y sigue de compromiso y constancia que no parece que tenga un final cercano, y que ofrece una novedad, como mínimo, controvertida.

Actualización de octubre del 2022 de KDE Frameworks

La razón de esta afirmación es que KDE Frameworks es básicamente la base de trabajo de los desarrolladores para realizar sus aplicaciones, es como el papel y las herramientas de dibujo para un artista: cuanto mejor sea el papel y mejores pinceles tenga, la creación de una artista será mejor.

Actualización de octubre del 2022 de KDE Frameworks

De esta forma, las mejoras en KDE Frameworks facilitan el desarrollo del Software de la Comunidad KDE, haciendo que su funcionamiento, su estabilidad y su integración sea la mejor posible.

El 9 de octubre de 2022 ha sido lanzado KDE Frameworks 5.99, la nueva revisión del entorno de programación sobre el que se asienta Plasma 5, el escritorio GNU/Linux de la Comunidad KDE, y las aplicaciones que se crean con para él.

Más información: KDE

La constancia del equipo de desarrollo de la Comunidad KDE

Hay que recordar que los desarrolladores de KDE decidieron lanzar actualizaciones mensuales de este proyecto y lo están cumpliendo con puntualmente. La idea es ofrecer pocas pero consolidadas novedades, a la vez que se mantiene el proyecto evolucionando y siempre adaptándose al vertiginoso mundo del Software Libre.

Una gran noticia para la Comunidad KDE que demuestra la evolución continua del proyecto que continua ganando prestigio en el mundo de los entornos de trabajo Libres.

¿Qué es KDE Frameworks?

Para los que no lo sepan, KDE Frameworks añade más de 70 librerías a Qt que proporcionan una gran variedad de funcionalidades necesarias y comunes, precisadas por los desarrolladores, testeadas por aplicaciones especí­ficas y publicadas bajo licencias flexibles. Como he comentado, este entorno de programación es la base para el desarrollo tanto de las nuevas aplicaciones KDE y del escritorio Plasma 5.

Actualización de febrero del 2022 de KDE Frameworks

Aquí podéis encontrar un listado con todos estos frameworks y la serie de artículos que dedico a KDE Frameworks en el blog,

Recuerda que puedes ver una introducción a Frameworks 5.0 en su anuncio de lanzamiento.

La entrada Actualización de octubre del 2022 de KDE Frameworks se publicó primero en KDE Blog.

the avatar of Chun-Hung sakana Huang

openSUSE Leap 15.4 安裝小記

openSUSE Leap 15.4 安裝小記


openSUSE Leap 15.3 Lifetime 到 2022/11 


過了一年又到升級的時候 :)


安裝前處理

  • 使用 imagewriter 建立 openSUSE 安裝USB

  • 整理 /home/sakana 目錄

    • 使用 du -h --max-depth=1 /home/sakana 檢查

    • 清掉不要的檔案, 特別是 ~/.cache , ~/.config 內兩大瀏覽器內有佔很大空間的 cache ( 這次懶得刪就沒有這樣做 )

    • 因為有很多相關的 config 在個人家目錄內, 所以先把舊的 openSUSE Leap 15.3 的 /home 目錄, 切換到隨身碟的目錄中

      • 使用# tar    cvf   home.tar  /home 進行打包到隨身碟 ( 不要使用 .gz 方式, 會比較快速 )

      • 如果剛剛的光碟  ISO 放在下載目錄, 記得刪除來節省空間

    • 新機器再使用 tar 指令還原回來

      • 這次先在 console F1 以 root 使用者, 

        • 使用 tar 指令解壓縮 home.tar 到隨身碟目錄 

        • 刪除 /home/sakana 目錄, 將解壓縮的檔案直接移動過去


這次也是使用 USB 來進行安裝


== 安裝過程小記==


這次建立的時候我還是選擇 GNOME 桌面


磁碟區分割的部分, 使用引導的方式安裝, 因為一直出線開機分割區的警告, 所以我就用引導模式

  • 刪除所有分割區 

  • 建立獨立分割區 XFS

  • 根目錄取消 Btrfs 快照


===============


Network Manager:


openSUSE Leap 15.4 預設為 Network Manager



Google Chrome:106

https://www.google.com/intl/zh-TW/chrome/browser/ 


還是會有驗證性問題, 但是功能沒有差異

為了進行google 登入,先使用 Google 驗證App,  後面來處理yubikey


home 資料回復:


因為有很多相關的 config 在個人家目錄內, 所以先把舊的 openSUSE Leap 15.0 的 /home 目錄, 使用# tar    cvf   home.tar  /home 進行打包到隨身碟 ( 不要使用 .gz 方式, 會比較快速 )

新機器再使用 tar 指令還原回來

  • 這次先在 console F1 以 root 使用者, 

    • 使用 tar 指令解壓縮 home.tar 到隨身碟目錄 

    • 刪除 /home/sakana 目錄, 將解壓縮的檔案直接移動過去



Notes

  • Ifconfig 預設沒有安裝, 要使用 ip  address show


關閉GNOME裡面的搜尋功能預設關閉 (點選右上角的設定按鈕), 因為我覺得用不到



中文輸入法問題:


這次預設是 ibus 輸入法



取消 USB 為安裝來源

# yast2  repositories 



Snapd:


因有些軟體可能會透過 snap 來安裝


安裝方式紀錄 

# zypper  addrepo  --refresh  https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.4  snappy


# zypper  --gpg-auto-import-keys  refresh


# zypper  dup  --from  snappy


# zypper  install  snapd


Additional rpm output:

Please reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.

On a Tumbleweed and Leap 15.3+ systems you need to run: systemctl enable snapd.apparmor.service


可以重開機, 登出登入, 讓 路徑變數內有 /snap/bin 這個路徑

  • 在 X 11 下就是開一個新的終端機切換為 root, 檢查 $PATH

  • 建議使用重開機的方式


# systemctl  enable  snapd


# systemctl  start  snapd


# systemctl  enable  snapd.apparmor


# systemctl  start  snapd.apparmor


如果安裝應用程式, 可能重開機才會找的到


Freemind:


因為 Freemind 在 Leap 15.4  只有社群維護套件 

  • 之前是用 snap 安裝, 但是這次有問題, 

  • 所以先用社群維護版本來安裝 https://software.opensuse.org/package/freemind

    • 我用 home:beyerle:IAC 那個版本, 然後把他 repo 裡面的 SLE-15-SP1 ~ SLE-15-SP4 停用了

.mm 的檔案指定用 freemind  開啟

以後應該要考慮其他的方案


新增 Packman 套件庫:


使用 #yast2  repositories 加入社群版本的Packman 


#yast2  repositories


  • 除了 Packman 順便加入 nVidia 套件庫


Firefox Sync:

登入 Firefox Sync, 會處理之前有下載的 Plugin



flash-player:

# zypper   install   flash-player


Telegram desktop:


最後的解法是 使用 Web 的方式來使用 Telegram

  • https://webk.telegram.org/

  • 軟體 (  Flatpak  ) 安裝可以輸入中文 - 但是版本太舊會被 Telegram 說會被停用

  • snap 版本 / 下載 telegram 的 .xz 解壓縮, 不能輸入中文

    • 在 ~/.local/share/applications 目錄下找出 telegram-desktop.desktop 設定檔, 加入 QT_IM_MODULE=gin 也無效



播放器:


Codecs 的部分參考網路上找到的


# zypper  install  opi


# opi codecs


  • 這邊會裝 ffmpeg-4 以及一堆套件

  • 之後就可以使用播放器看 .mp4



Skype:


使用網頁版的 Skype 不另外安裝



GNOME Extension:


參考調校小記


主要是裝 chrome 內的 GNOME Shell integration


然後到 https://extensions.gnome.org/

選想裝的 Extension, 調爲 on 就好

裝了

  • NetSpeed

  • RunCat

  • Show External IP

  • Tray Icons: Reloaded


過期

  • TopIcons Plus (現在都在右上角, 所以就不需要)


.7z 支援:

# zypper  install  p7zip


imagewriter:

# zypper  install  imagewriter

用來製作開機 USB


rdesktop 安裝與測試:

#zypper  install  freerdp


執行方式

#xfreerdp  -g  1280x1024  -u administrator  HOST_IP


修改 LS_OPTIONS 變數

# vi   /etc/profile.d/ls.bash

把 root 的 LS_OPTIONS 的 -A 移除


修改 HISTSIZE 變數

# vi   /etc/profile

修改 HISTSIZE 的筆數



ansible 安裝:


目前版本 2.9.27

#zypper  install  ansible


變更主機名稱:


#yast2 lan



Dropbox 158.4.4564版 :


openSUSE Leap 15.4 預設不支援 dropbox

參考官方網站上面斷頭的安裝方式來安裝


> cd  ~  && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -


接下來,請從新建立的 .dropbox-dist 資料夾執行 Dropbox 精靈。


> ~/.dropbox-dist/dropboxd


順便安裝 Nautilus 相關套件

# zypper  install  nautilus-extension-dropbox



Filezilla 安裝:


#zypper  install  filezilla


Brave 安裝:


# rpm  --import  https://brave-browser-rpm-release.s3.brave.com/brave-core.asc


# zypper  addrepo  --refresh  https://brave-browser-rpm-release.s3.brave.com/x86_64/ brave-browser


# zypper  install  brave-browser


Azure-cli 安裝:


版本: 2.38.0

參考 


匯入 rpm key

# rpm --import   https://packages.microsoft.com/keys/microsoft.asc


新增 Azure CLI 的 repo

# zypper  addrepo --name 'Azure CLI' --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli


安裝 azure-cli 套件

# zypper  install --from azure-cli  -y  azure-cli


使用互動的方式登入 azure ( 現在已經不需要輸入機器碼, 直接驗證帳號就可以  )

> az  login


AWS Cli 安裝:


版本: 2.8.2



# curl  "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip"  -o  "awscliv2.zip"


# unzip  awscliv2.zip


# ./aws/install


# aws --version


aws-cli/2.8.2 Python/3.9.11 Linux/5.14.21-150400.22-default exe/x86_64.opensuse-leap.15 prompt/off


將補齊的指令 寫到或是修改到個人家目錄的 .bashrc 內

  • echo "complete -C '/usr/local/bin/aws_completer' aws" >> /root/.bashrc



Google Cloud SDK ( gcloud )安裝:


參考 http://sakananote2.blogspot.com/2019/04/gsutil-google-cloud-storage-in-opensuse.html

安裝 gcloud

  • 但是目前實務上是使用容器的方式來執行


使用一般使用者安裝


> wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-405.0.0-linux-x86_64.tar.gz  


> tar  zxvf  google-cloud-sdk-405.0.0-linux-x86_64.tar.gz


> ./google-cloud-sdk/install.sh


透過 gcloud 安裝 kubectl


> gcloud  components  install  kubectl


確認版本

> kubectl  version  --client


Visual Studio Core 相關 :


安裝 git

# zypper  install  git


參考 http://sakananote2.blogspot.com/2019/01/visual-studio-code-with-opensuse-leap-15.html


安裝 vscode


# rpm  --import   https://packages.microsoft.com/keys/microsoft.asc


# sh  -c  ' echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc"  >  /etc/zypp/repos.d/vscode.repo '


# zypper  refresh


# zypper  install  code


安裝 vscode extension ( 這次沒有作, 因為將舊的 /home 還原回來, 另外目前 vscode 也有同步機制 )

  • AWS Toolkit for Visual Studio Code

  • Bracket Pair Colorizer

  • Code Time

  • Git Graph

  • GitHub Pull Requests

  • GitLens

  • Kubernetes

  • Python

  • REST Client

  • GitHub Pull Requests and Issues



Podman 安裝:


參考官方網頁


# zypper  install  podman


看起來目前的階段 docker 與 podman 還是要並存 - 生態系支援與 rootless podman 相關考量


Docker 安裝:


目前版本 20.10.17

#zypper  install  docker


將使用者 sakana  加入 docker  群組 

# usermod -a -G docker sakana


#systemctl  start  docker

#systemctl  enable   docker


PPPoE 設定:


目前光世代有配一個固定 IP

參考 http://sakananote2.blogspot.com/2021/05/nmcli-network-manager-pppoe-ip.html


設定 PPPoE 以及固定 IP



這個版本沒有安裝的, 以後要安裝就看之前的筆記

  • http://sakananote2.blogspot.com/2019/08/opensuse-leap-151.html

  • Sqlitebrowser

  • VMware workstation Pro 15

  • Nextcloud client 安裝,  crontab 設定

  • PDF Viewer - Foxit:

  • hexchat

  • youtube-dl

  • Yubico Key ( 現在 google 已經可以直接手機驗證 )

  • smartgit 安裝 ( 現在使用 vscode )

  • PPSSPP ( 沒時間 ….  )



這樣又可以再戰一年 :p


~ enjoy it


參考

the avatar of Open Build Service

More API Endpoint Documentation for Project and Package Sources

Remember our new openAPI Documentation? Of course you do! And we also did! That’s why we added some more documentation about project and package endpoints. You can check them out below! Sources - Projects Sources - Packages After kicking off the API documentation remake in January 2021, we’ve continued with the Build and Workers endpoints in April 2021, we followed with Sources Projects and Search endpoints in December 2021, we documented the Search endpoints in...

the avatar of Alessandro de Oliveira Faria

Diffusion Models 3D: IA que cria trabalhos/objetos 3D para o Metaverso e Games.

Ultimamente um assunto muito presente e popular no mundo da tecnologia é os modelo generativos denominado Diffusion Models. Entendemos que os modelo de difusão tem capacidade de superar GANS (Rede Adversárias Generativas), tudo isto devidos algumas publicações entre 2020 e 2021.

O que é o Modelo de Difusão:

Aprendi este termo nos livros de Física 2 nos capítulos de termodinâmica. Um sistema desequilibrado possui uma grande concentração de um determinado material (exemplo vazamento de gás que resulta no cheiro forte localmente). A difusão coloca o sistema em equilíbrio, como por exemplo a moléculas de perfume se difunde a partir de uma região para todo sistema assim causando o equilíbrio. Ou seja, tudo torna-se homogêneo.

Esta é toda origem motivacional dos modelos de difusão, que utilizam uma série de variáveis onde o valor de cada uma depende do estado do evento anterior. A difusão usa rede neural durante o processo, tentando prever o ruído a cada fase assim simplificando a tarefa.

Tomando este conceito como base científica, diversos projetos surgiram que alcançam o desempenho humano em tarefas de criação de imagens. A função desta IA é gerar imagens a partir de descrições de texto e também utiliza aprendizado multimodal para conectar a semântica entre texto e imagens. Além de revolucionário iram mudar a área de design de produtos e conteúdo visual para diversas finalidades. Existem alguns projetos famoso como Dall E, Midjourney e Stable Diffusion.

Stablle difusion é opensource, inclusive tenho instalado na minha máquina. E justamente por ser opensource, já avançou para uma segunda geração. A criação de modelos e artes 3D, o paper podemos encontrar neste link https://arxiv.org/abs/2209.14988

Em … o projeto foi implementado em pytorch de toda teoria. O projeto foi batizado como Stable-Dreamfusion similar ao modelos de difusão para criar imagens e artes mas agora em 3D. Com isto este modelos poderão ser utilizados no metaverso e também jogos. Abaixo um exemplo gerado com este projeto https://github.com/ashawkey/stable-dreamfusion, digitando o texto “Um fantasmas comendo um harmburger” ! Vale a pena ressaltar que o projeto pioneiro foi o GET3D da Nvidia https://github.com/nv-tlabs/GET3D.

a silhouette of a person's head and shoulders, used as a default avatar

Almuerzos Libres de GNU/Linux València edición octubre 2022

Poco a todo vuelve a la normalidad. La pandemia no disminuyó demasiado los eventos pero deberieon adaptarse a una nueva realidad: la virtualización por necesidad. No obstante, algunos deberieon desaparecer dado su carácter intrínsecamente humano que los hacían imposible de replicar detrás de una pantalla. Además, la extrema virtualización ha hecho que los eventos presenciales retornen pero a una velocidad menor de lo esperado. Es por ello que me complace compartr con todos vostros de esta iniciativa, los Almuerzos Libres de GNU/Linux València edición octubre de 2022, cuyo objetivo principal es poner en contacto físico a las personas que día a día trabajan en el desarrollo del Software Libre en cualquiera de sus facetas: programando, promocionando, diseñando, utilizando, etc.

Almuerzos Libres de GNU/Linux València edición octubre 2022

Organizados por GNU/Linux Valencia vuelve una iniciativa que une la tradición valencian de almorzar de forma contundente mientras se comparte Conocimiento Libre y se disfruta de la companía.

Como es habitual en estos casos, me gusta poner la descripción que hacen del evento los organizadores:

Desde GNU/Linux València os invitamos a una nueva quedada de Almuerzos en Libertad el próximo sábado 29 de octubre en el Puig de Santamaria, València.

Los datos de interés son lo siguientes:

Fecha: 29-10-2022
Tema: Libre
Dirección: Plaça del Ajuntament, 2, 46540 de El Puig de Santamaria.
Hora: 10 de la mañana

Almuerzos Libres de GNU/Linux València edición octubre 2022
Estando en València ¿os vais a perder estos almuerzos?

Si quieres apuntarte al almuerzo contacta con nosotr@s por nuestros canales de comunicación habituales Matrix (https://riot.im/#/room/%23gnulinuxvalencia:matrix.org) o Telegram (https://t.me/gnulinuxvalencia)/etc…) lo antes posible para ayudarnos a organizar mejor.

¡¡¡ANÍMATE!!!

Info completa en: GNU/Linux Valencia

¡Únete a GNU/Linux València!

Aprovecho para recordar que desde un tiempo los chicos de GNU/Linux Valencia ya tienen su menú propio en el blog, con lo que seguir sus eventos en esta humilde bitácora será más fácil que nunca, y así podréis comprobar su alto nivel de actividades que realizan que destacan por su variedad.

Y que además, GNU/Linux València creció y se ha convertió en asociación. Así que si buscas una forma de colaborar con el Software Libre, esta asociación puede ser tu sitio. ¡Te esperamos!

La entrada Almuerzos Libres de GNU/Linux València edición octubre 2022 se publicó primero en KDE Blog.

a silhouette of a person's head and shoulders, used as a default avatar

Do you need a Strong Leader?

“Strong” is often used as a metaphor for capable, competent, effective leadership. 

Strength is not always the most helpful metaphor for leadership skills. 

Listen to how people describe strong leaders, sometimes there are connotations at odds with effective leadership. Sometimes even hints of toxic masculinity. What does it say about our gender biases that we so often use strength as a metaphor for leadership effectiveness?

If you stopped pouring fuel onto the fires, maybe you would not need heroic firefighters.

What does Strong Imply?

Resilient?

Do you want strong leaders who are tough and resilient, who can withstand the pressures of the role… 

…or leaders who facilitate simple mechanisms to help the team handle big challenges

Do you need strong leaders who don’t need help? Is everyone else too busy to help? What’s causing that busy-ness? Is the lack of slack in your system precluding the possibility for collaboration towards better outcomes? 

Adding a leader who can handle more is a treatment for a symptom. The underlying disease may be incentives for high utilisation. Are you cramming quarterly plans full? Are you setting OKRs with goals to stretch beyond what you know you can achieve? 

Does this road need an extra lane to handle more cars? or a train, or a bicycle? The fix for your overload may need more creative thinking.

Powerful?

Do you need strong leaders who are powerful and can wield that power to achieve great feats? Why is achieving great outcomes so hard in your organisation? What’s getting in the way of folks self-organising towards the most important outcomes? What is disempowering any and every individual on the team from getting things done? 

Is it bureaucracy? What would happen if you removed all the rules? What if you gave everyone authority (with accountability) to spend money as they saw fit, and autonomy to choose what to work on? 

Is it fear of failures? Tackle the things causing it to be unsafe to fail rather than adding a more reckless leader. Praise people for saying no to things. Celebrate what’s learned from failures as well as successes. Reward humility and vulnerability. Bet on a team where everyone learns from each other’s missteps and comes to trust each other, over a team that avoids traps but never achieves greatness.

Is it perchance that your mighty leaders are not leaving space for others to step up?

Dispassionate?

Do you need leaders who don’t let emotion cloud their judgement? It sounds positive, but everyone has emotions; we are not Vulcans. 

Do we not want leaders who are sensitive to the emotional impact of decisions and events on those they have a responsibility to serve? As well as aware of how their own emotions are influencing their judgement.

Feelings exist and we ignore them at our peril. A rational decision is not rational if it leaves the team despondent, fearful, angry, or demotivated.

Decisive?

Do you want leaders who think they know better than their teams? The group is often smarter than any one individual. Do you want to limit your success to the limits of your leader? Why do you have a team if one person knows best? 

Do you want leaders who act confident in their own judgement? Or those who are open about their rationale, their intent, as well as the reasons their judgement could be wrong. Articulating intent enables the team to adapt in the face of new information.

Do you want stubborn leaders who need persuading to try something different? People who stick to their guns even in the face of evidence they may be wrong? 

What’s making it hard for the groups to make decisions without a decisive leader? 

Groups get stuck when there’s a lack of psychological safety: Are folks safe to express their opinions? Leaders who are quick to express their strong opinions undermine safety. A power imbalance adds friction to the voicing of dissenting opinions. 

Decisive leaders are not necessary for decisive teams. Groups get stuck when they think they need consensus, unanimity or permission, lacking mechanisms such as 

Inspirational?

If you need a leader to inspire the team to achieve great things, what’s destroying the team’s intrinsic motivation? 

Inspire sounds positive but has coercive undertones. 

A charismatic leader who inspires their team to follow them without dissent may be very effective; as long as their chosen destination is actually a good outcome. 

The organisation can lose its resilience and adaptability in the face of a leader whom folks blindly follow.

Visible?

Folks often want a visible leader so that people know who to go to if they want to get something done.

Good leadership is often nearly invisible. Tending to the systems. A quiet word of feedback here. Pointing out an opportunity there. Asking the right questions at the right times. 

Which of these organisations has a highly visible leader?

Which of these organisations is fragile? 

Different?

“We need a strong leader” implies “we need a different leader”. 

What is causing the current leadership (whether vested in a single person explicitly or distributed) to be inadequate?

Changing or adding one person with authority can be a quick fix, but isn’t guaranteed to work; especially if you don’t have a diagnosis that explains the need for a new leader. Do you really need a superhero to save you? 

What are your best hopes for what a new leader will do? What stops you doing those without them? 

Instead

Helping a team overcome its weaknesses requires an appreciation for weakness more than a show of strength. Being the strongest member of a team can even be a disadvantage.

We need leaders who

  • model vulnerability, being open about their weaknesses, limitations, and uncertainties.
  • build others up rather than hoarding power themselves. 
  • can adapt and help their team adapt to their context. Diagnosis and strategy over strength and power.
  • connect people, more than leaders who translate.
  • are curious about the options their team sees, more than they inspire action towards their preconceptions.
  • remove impediments to others making decisions more than they make decisions.
  • set examples with boundaries, protecting their mental health more than projecting invincibility.
  • disperse power instead of wielding power. 
  • tend to the systems that enable us more than using systems to control us.

Strength? Of a sort: Courage and humility. 

Reflecting

What’s behind your desire for a strong leader?

How strong is your organisation if you remove the strong leader? 

What mechanisms could make the group’s success inevitable, despite the fallibility of whoever is currently serving as leader? 

The post Do you need a Strong Leader? appeared first on Benji's Blog.