New default: tmpfs on /tmp

Intro

We made an important change for our Container Host OS openSUSE MicroOS, which our Kubernetes platform openSUSE Kubic will inherit since it is based on openSUSE MicroOS: we use now tmpfs for /tmp.

tmpfs is a temporary filesystem that resides in memory. Mounting directories as tmpfs can be an effective way of speeding up accesses to their files and to ensure that their contents are automatically cleared upon reboot.

A fresh installation will use tmpfs for /tmp by default. Old installations needs to be converted to this manually, but it is still possible to switch back to use disk space for /tmp. This is especially useful and important, if big files are stored in /tmp.

If temporary files or directories are needed below /tmp, this can be created at boot by using tmpfiles.d. But never store important files in /tmp, they will not survive the next reboot.

Converting old installations to use tmpfs

As tmpfs will be mounted on top of /tmp, existing files will be no longer accessible. The following steps will cleanup /tmp and enable /tmpfs:

  1. Backup all important files currently stored in /tmp!
  2. Remove the line for /tmp from /etc/fstab
  3. Remove all files in /tmp
  4. Reboot

After reboot, tmpfs should be used for /tmp.

Using disk space for /tmp

After creating a new btrfs subvolume for /tmp and adding this to /etc/fstab, tmpfs will no longer be used for /tmp.

The easierst way to archive this is to use mksubvolume from snapper 0.8.12 or newer:

# transactional-update shell
transactional update # mksubvolume /tmp
transactional update # exit
# systemctl reboot

Afterwards, all files are stored again on the disk and will survive a reboot.

Future plans

In the future we plan to harden the system by default even more, e.g. by marking /tmp and other write-able parts of the filesystem with noexec.

Libros sobre programación gratuitos

Siempre está bien tener a mano documentación o un libro ya sea físico o, como en este caso, electrónico para consultar. Aquí te dejo una recopilación de libros gratuitos sobre programación.

¿Tienes alguna duda sobre programación? ¿Quieres consultar o aprender sobre programación? Aquí tienes una serie de recursos de libros en formato electrónico sobre programación, seguro que encuentras alguno interesante.

El otro día revisando los artículos de PlanetaLibre, me encontré con uno de la web “Tomates Asesinos” (siempre me ha parecido muy curioso el nombre para un blog sobre software libre) en el que MD detallaba los repositorios de GitHub a los que ha marcado con una “estrellita“.

Entre ellos encontré un interesante repositorio de recopilación sobre libros y otros recursos sobre programación. Hay listas en inglés, pero también hay una lista de libros y recursos sobre programación en español, y que abarca una gran temática y lenguajes de programación.

La lista inicialmente fue un clonado de una lista que se recopilaba por en StackOverflow, y ha pasado a un repositorio de GitHub donde la lista ha crecido aún más incluyendo muchas más referencias de cosulta.

La lista de libros en inglés sobre programación es muy extensa, pero la lista en español también cotiene unas cuantas referencias. Te animo a que le eches un vistazo, y lo compruebes. Seguro que encuentras algo interesante. Si es así, también puedes tu darle “una estrellita” en GitHub.

Enlaces de interés

Jul 27th, 2020

Lanzado digiKam 7.0, con mejoras en el reconocimiento de caras

Que una aplicación sea excepcional no significa que su desarrollo haya finalizado. El mejor gestor de imágenes de la Comunidad KDE (y una de las mejores del mercado tanto libre como privado) sigue su desarrollo. De esta forma ha sido lanzado digiKam 7, una nueva versión que incluye muchas novedades en el algoritmo de reconocimiento de caras.

Lanzado digiKam 7.0

Lanzado digiKam 7

El pasado 19 de julio fue lanzado digiKam 7.0, la nueva versión de uno de los gestores de imágenes más completo que puedes encontrar en el mundo GNU/Linux, e incluso en el mundo privativo.

Este nuevo digiKam ha recibido un intenso trabajo en la renovación del algortimo de reconocimiento de caras ya que todavía se estaba utilizando el primero que se introdujo en la aplicación, justo con digiKam 2.0 y, por lo tanto, su código estaba algo obsoleto y no basado en tecnologías de Aprendizaje Profundo (Deep-Learning).

Lanzado digiKam 7


De esta forma se ha pasado del Cascade Classifier de la librería OpenCV que requería mucha interacción por parte del usuario, al primer intento de utilizar el aprendizaje profundo en 2017 de la mano del estudiante Yingjie Liu (que no proporcionó los resultados esperados y no fue implementado) a la tecnología que se presenta en este lanzamiento, gracias al trabajo de Thanh Trung Dinh, que utiliza, Deep Neural Network también de la librería OpenCV. Los resultados no pueden ser más satisfactorios, como veremos a continuación en las novedades.

Más información: digiKam

Las novedades de digiKam 7

Aunque gran parte del trabajo para esta nueva versión, como he dicho, se lo ha llevado el reconocimiento facial con interesantes mejoras, digiKam también nos ofrece jugosas novedades. Hagamos un repaso:

  • Mejoras reconocimiento facial como:
    • Porcentaje de acierto de un 97%.
    • Mejoras en rapidez y eficiencia en el uso de recursos.
    • Posibilidad de detectar caras no-humanas. ¡También podremos tener registradas a nuestras mascotas!
    • Posibilidad de detectar caras borrosas, cubiertas, pintadas, parciales, etc.
Las novedades de digiKam 7

  • Nuevo soporte para ficheros RAW files para nuevas cámaras como Canon CR3 o Sony A7R4.
  • Mejorado el soporte para las imágenes con formato HEIF.
  • Mejoras en el paquete binario con soporte para FlatPak.
  • Nueva herramienta, ImageMosaicWall, para crear una imagen basada en otra colección de fotos.
  • Nuevas opciones para escribir información de geolocalización en los metadatos del archivo.
  • El plugin HTMLGallery introduce un nuevo tema llamado «Html5Responsive».

Las novedades de digiKam 7

Y, por supuesto, muchos errores solucionados, con lo que parece que tendremos la mejor versión de digiKam que puede tener vuestro ordenador.

¿Qué es digiKam?

La mejor forma de definir digiKam es buscar como se describe esta aplicación de userbase.kde.org y realizar una pequeña síntesis:

«DigiKam es una aplicación que te permite la importación de fotografías desde  cámaras, creación de álbumes, etiquetado con fechas, temas y otras propiedades, utilidades de búsqueda excelentes y modificación de imágenes en masa.»

Pero, Profesor…

En una ocasión, siendo mi papá Decano de la Facultad de Ingeniería en la UCA, Managua (si allá en los 70, antes de la Revolución), un alumno “se atrevió” a acusar a mi papá ante el Rector, de trato injusto y de haberlo aplazado en el examen por puro gusto. El alumno y el Rector […]

Jul 26th, 2020

Oculta la barra de título con Hide Titles

Me sigue sorprendiendo el control total de los elementos de Plasma que puede tener un usuario de este entorno de trabajo. Hoy os quiero presentar Hide Title, un script de Kwin muy sencillo que oculta la barra de título al maximizar las ventanas. Estoy seguro que le será útil a más de un usuario.

Oculta las barra de título con Hide Titles

Oculta las barra de título con Hide Tittle

De la mano de Bahamondev nos llega un script para Kwin que dota de una funcionalidad que puede ser muy interesante para Plasma.

Se trata de Hide Titles, un pequeña funcionalidad que nos permite ocultar la barra de título cuando maximizamos una ventana, con lo que se gana un espacio extra en nuestra pantalla.

He realizado la instalación básica de Hide Titles y funciona a la perfección, aunque tiene un pequeño inconveniente: una vez maximizada no es evidente minimizarla o convertirla. Para solucionarlo, y a falta de buscar un atajo de teclado, podemos simplemente utilizar la tecla [Alt] y arrastrar la ventana para volver a convertir la aplicación en un a ventana.

Hay que insistir que al programador de este Hide Title le encantará que le deis me gusta en la KDE Store y que le comentéis como os funciona. Os recuerdo que ayudar al desarrollo del Software Libre también se hace simplemente dando las gracias, ayuda mucho más de lo que os podéis imaginar, recordad la campaña I love Free Software Day 2017 de la Free Software Foundation donde se nos recordaba esta forma tan sencilla de colaborar con el gran proyecto del Software Libre y que en el blog dedicamos un artículo.

Más información: KDE Store – KWin Scripts -Hide Tittle

Cómo instalar Hide Titles

La instalación de este Script es muy sencilla ya que se realiza directamente desde las Preferencias del Sistema. Los pasos exactos son los siguientes:

  • Iniciamos el Lanzador de aplicaciones o Kickoff
  • Clicamos en la Preferencias del sistema.
  • Ahora pinchamos en Gestión de Ventanas.
  • Nos dirigimos a la sección de Guiones de KWin.
  • Ahora pinchamos en Obtener nuevos guiones.
  • Buscamos Hide Titles y pinchamos en Instalar.
  • Ahora activamos el guión y pulsamos en Aplicar.

Sencillo y, a partir de ahora, imprescindible en todos mis escritorios Plasma de mis ordenadores.

Zoom Meeting Large UI Elements | Fix

I thought it a fluke the first time it happened to me but when participating in the BigDaddyLinux Live “LUG” meeting on 25 July 2020, the elements were all large and I just couldn’t handle the gigantic everything with the UI. I though maybe my computer was concerned about me needing readers and was starting to scale things up. Zoom is known for doing silly things after an update but I wasn’t willing to wait for another update to correct this awful Zoomed in UI. Now, if it was April 1st, I would have considered it a kind of joke.

This is what I was presented on a 1080p screen

After some web searching on DuckDuckGo, I found this on Reddit and after reading down a bit, I found a solution. Rather than wait for another week, I had to try it out immediately, so, this is what I did:

Using Nano in the terminal, I opened up the config file for Zoom

nano ~/.config/zoomus.conf

From there, you have to change the “autoScale” option to “false”

Next, I quit completely out of Zoom, restarted it and joined the meeting again. Zoom was back to normal. Now everything is good again. I don’t have to page over for more than 12 participants.

It feels good when you can find a solution for an irritating problem and bring to order a bit of the “chaos” out of your little corner of the world.

Final Thoughts

Zoom gets a lot of flak but I truly think Zoom is pretty great. It work well and is mostly reliable. Sure, it does some odd things but just about every application has some weirdness to it that I have ever used. Thankfully, this odd happening was easily corrected.

References

Zoom Meeting Home Page
Zoom Thread on Reddit
DuckDuckGo Web Search Engine

Jul 25th, 2020

Trucos KDE (III): gráficas con Krunner y encontrando ventanas

Tercer capítulo de la sección que presenté hace un tiempo días y que está teniendo un ritmo de publicación adecuado por parte de la cuenta de Youtube de KDE Commnity. Bienvenidos a Trucos KDE (III), una entrada donde repasaremos dos nuevos trucos que está publicando el grupo de promoción de la Comunidad KDE con el objetivo de mostrar al mundo algunas de las cosas sencillas que ofrecen. Es esta nueva edición veremos trucos para dibujar gráficas con Krunner y encontrar esas ventanas perdidas en nuestro escritorio.

Trucos KDE (III): gráficas con Krunner y encontrando ventanas

Dibujando gráficas con Krunner

Si tenemos gnuplot instalado, gracias a krunner podemos realizar gráficas directamente desde Krunner, algo muy útil tanto para estudiantes como para científicos en general. Lo único que necesitamos es seguir los siguientes pasos:

Trucos KDE (III)

1. Abrir KRunner con [Alt] + [Space] o [Alt] + [F2] (que es el que estoy acostumbrado)

2. Escribir «=plot( [some function] )», Por ejemplo.: =plot(sin(x)^2*cos(x))

3. Y ¡ya está!

Encontrando la ventana perdida

Soy una de esas personas que suele tener abiertas un número indecente de ventanas en mi entorno de trabajo, con lo que en ocasiones «las pierdo» o invierto mucho tiempo rotando entre ellas hasta encontrar la que me interesa (en ocasiones se convierte en una distracción casi hipnótica)

Es por ello que me encanta esta funcionalidad con la que podemos encontrar la ventana perdida sabiendo una parte del nombre de la misma de una forma visual.

Trucos KDE (III)

Estos son los pasos:

1. Pulsa [Ctrl] + [F9] ( [Ctrl] + [F10] si queréis buscar en más de un esritorio)

2. Empieza a escribir el nombre de la ventana que estás biscando.

3. Las ventanas cuyo nombre no coincide irán desapareciendo hasta quedar solo la que buscas. 💡

4. Si te arrepientes pulsa en el fondo de pantalla o pulsa [Esc] para salir de esta funcionalidad.

Lo cierto es que ambos trucos son muy interesantes y prácticos, una demostración más de la versatibilidad del entorno de trabajo Plasma de la Comunidad KDE.

Proposing a new newsgroup: Internet History

I am thinking about making a formal proposal for one of two new
unmoderated groups. The group would either be comp.internet.history or
soc.history.internet. I think you can see where these two names could
possibly overlap.

The general idea of the new group is to discuss retro internet
technologies such as IRC, ftp sites, BBSs (telnet and otherwise), MUDS,
MOOs, and of course Usenet and others. We could also discuss the culture
that surrounded many of these technologies especially IRC and Usenet as
they were maturing. Many of use don’t consider these technologies to be
“retro” because we use them everyday and yet interest in them is waning
and in order for them to continue, fresh interest must be continually be
added.

I don’t know if anyone could possibly be interested, but the only way to
find out is to ask. If I get enough positive feedback, I’ll write up an
official CFD and submit it to the board. I won’t do anything if no one is
interested.

TUXEDO Pulse 15 | Possible AMD Linux Laptop Upgrade

My main machine a Dell Latitude E6440 has very happily been chugging away and meeting my needs very reliably. For most tasks, I don’t have any issues. I do probably push it by keeping too many tabs open far too frequently but for the things I need to do, CAD, video editing office tasks, VMs this silly CubicleNate.com site, I am very happy with the performance. I think where I am having trouble is that now that I have had a taste of high-resource application multitasking, now I want more of it. Also, the Server / workstation that I built last year has further wet my appetite for more power.

I have looked at Tuxedo Computers several times and have been very interested by their many offerings. Looking at the 10th Generation Intel machines, I found the prospect of super long battery life with greater processing power compelling but not compelling enough. The difference in performance of the integrated GPUs vs the onboard AMD of my current laptop wasn’t enough of a difference to get me to make the purchase. I wanted more of a leap frog than a hop forward if I am going to make a major purchase.

Then I have this article pop up in my Twitter feed. Now I am intrigued as this wasn’t just a few percentage points faster than my current machine. This was almost 6 times the CPU power and although uncertain the GPU performance increase, I am quite certain that the RX Vega 7 will do far better than the Radeon HD 8600M Series GPU I am currently enjoying.

Exciting Features

I am going to outline the features that mean the most to me. Everyone is a bit different so I will illustrate the most compelling aspects of this machine that get me ready to open up my Bitwarden client to punch in my payment information.

CPU

For starters, this is an all AMD laptop. Nothing against Intel, outside of the Spectre and Meltdown issues, I have enjoyed great performance and Linux compatibility over the years. Even now, I am quite satisfied with my 4th Generation Intel. What an all AMD laptop means to me is no funny hybrid graphic commands to utilize the more powerful GPU. By default, having a Vega 7 paired with the Ryzen 7 CPU with 8 cores and 16 threads means a LOT more that I can do and in less time. Specifically, more efficiently working in 3D design, such as Fusion 360 and rendering audio and video files. I shouldn’t complain too much, generally my rendering takes about 1 minute for each minute of video but the more effects I layer on the longer this can take.

GPU

Maybe I should have lumped this into the previous paragraph but I do want to highlight my reasons for a better GPU. For starters, Gaming. I don’t do a lot of it, but when I do, I find that my GPU is a bit lacking for the newer games. I don’t need superb graphics but I would like to be able to play some of the newer titles without having my graphics turned all the way down to the lowest setting to keep up. Obviously that is not all the games but the “Triple-A” titles are just not possible.

“Psss, that is why you built the new server / workstation system”

“Shhhhh, let’s not talk about that computer right now!”

CubicleNate talking to CubicleNate

Whenever I want to use the AMD GPU in my E6440, I have to invoke “DRI_PRIME=1” to activate it and it can be annoying to do it for all the applications that draw on GPU resources. Admittedly, that is not a huge deal but convenience is worth something.

Memory

I don’t tax my memory all that often but I tend to as I have said earlier that once I got a taste for taxing application multitasking, I have wanted to do more of it. Maybe I don’t need to but I have been known to use up the 16 GiB of RAM on my system quite regularly. This machine has a max of 64 GiB and since that number sounds great, I just may want to have a “Linux 64” system to compliment the Commodore 64. See what I did there, 64 GiB of RAM and 64 KiB of RAM?

(Insert eye roll)

Seriously though, I would like to have a bit higher ceiling to work with when doing more complicated tasks and that additional memory should keep me quite satisfied for the next several years.

Battery

The battery performance of this machine looks to be about 10 hours under normal office loads. Now, that is not much more than what I have with my E6440 on a good battery as I get between 6 and 8 hours, depending, but 10 hours is nothing to sneeze at. The battery is also user replaceable in this machine as well. Not as easy as a couple retaining latches on my E6440 but I can live with having to employ a screw driver to remove the lithium-polymer battery, so long as it doesn’t require a heat gun and careful prying to get it out. The question I have here is, “how easy will it be to get a replacement battery?”

Ports

Here is where many machines fall on their face. For the most part, ports on newer machines are loathsome. Possibly the most egregious design I have seen has been Apple laptops. It is as though they have no thought or concern in what users will need. I have seen all brands with this shortcoming. This machine is fairly well equipped and I would be comfortable in saying is far better than most.

It has 1 – USB 3.2 Generation 1 Type-C that can also be used to deliver power. That is great because it opens me up for having a universal USB-C type dock station, which Tuxedo Computers also sells. It seemingly is not DisplayPort capable but I am okay with that. Two ports would have been nice but one is good.

There are 2 – USB 3.2 Gen1 Typ-A ports. I am rather accustomed to the 4 I have on my Latitude but I do NOT currently have a USB-C port so the world of USB-C is out of reach at this time. There is 1 – USB 2.0 Type-A and I wish that this would be a USB 3 instead but the reality is, this is fine, really. I mostly have USB 2 type devices and things like Mice and controllers waste that USB 3 port so I am fine with this.

1x HDMI 2.0 that has output capabilities I don’t fully understand but it can do 4k. I don’t own any 4K anything so this is not a huge deal to me. I am more concerned about having multiple screens that I can plug into the dock station. I will have to get some kind of HDMI to SVGA adapter I keep in my computer bag for the eventuality that I run into a display with that standard.

This has a real RJ45 Gigabit LAN port. So HUGE win here. I can’t have a machine without a real port. Not having a real LAN port is just silly to me.
This has a real 2-in-1 Headphone/Headset (Headphone & Microphone) port. I do use this still even though I have many Bluetooth audio things

It also has a micro-SD Card-Reader. I would prefer a real SD Card slot but I can live with this. Supposedly there is an adapter to read 8 other card formats but the only two for which I am interested is the Large SD Cards and Compact Flash.

Honorable Mentions

It has all the other standard options of the day like Webcam, sound card, speakers and internal storage. I will probably just go with the 2000 GB option as to not have to mess with that in the future. I mean, maybe not, maybe I can live with just 1000 GB but that would be a storage downgrade from current machine.

Concerns

I am a bit concerned by the change in keyboard layout would change how I use tiling on Plasma. This is a small issue and thinking about it, I actually may be able to use it more effectively as there are more keys near by that I could more sensibly configure to take advantage of the tiling features.

Getting more power supplies is my other concern. I can’t have just one or two. I need to have several but there is that USB-C option that everyone is seemingly excited about these days. I do have several Dell Power Supplies and I don’t want to just retire the lot. I wonder if they would be compatible.

Tuxedo Computers is in Germany, I am in the US. I am a bit concerned by the customer service issues I may have. Specifically, replacement parts, like batteries, or should I monkey something up. This is a small concern as I prefer to work on my own machines and assuming I upgrade my E6440 one more time, I could easily fall back to it should this Rysen machine have issues… and I think that is the path that I need to take.

What I wish it had

There are two things I wish the computer had. The first, a TrackPoint, as you see on the Dell Latitudes and ThinkPads. I am quite accustomed to using it regularly when I am mobile with my computer. Perhaps I could become used to using the track pad only, not sure, but this is the only thing that would be difficult. With that TrackPoint comes three physical buttons beneath it. I do like physical buttons too.

Secondly, I wish it had a built in smart card reader. This is not a huge deal and external USB models will work fine, it is just that there is something incredibly convenient in having a built in device so it is always ready to be used. My last 13 years of Dell Latitudes have had them built in and working great in Linux.

Final Thoughts

After a lot of thinking and pondering. I am not going to make the plunge… yet. I have to call myself out right here and remind myself that I previously said that I would buy an all AMD Linux laptop when they became available. My reason for not making the plunge yet is I can squeeze a bit more out of my E6440, I just purchased a new battery for it and the price of 4th Gen CPUs are rather low right now so I am going to extract a bit more performance out of this machine before I replace it. I may make this Tuxedo Pulse 15 a Christmas gift to myself, or maybe Santa will send one my way to end 2020 on a positive note.

Dell has been good to me for nearly two decades and I will never say a new Dell is a bad way to go, but with the changes in the power supply connection, my reasons for staying Dell have become fewer. They new keyboard layouts from Dell are also enough of a difference that I will have to alter some of my shortcut key sequences anyway. The two major reasons for staying with Dell are the lack of TrackPoint and Smart Card devices.

The part that truly interests me most is that I can buy a laptop, from manufacturer that has openSUSE Linux on it. Sure, it’s Leap and I would end up putting Tumbleweed on it but having a computer, from factory, with openSUSE brings about a kind of excitement. I haven’t ever purchased a Linux laptop before, let alone an openSUSE Linux laptop. I would certainly call this a “flagship” experience and for my first [factory] Linux laptop, this sounds like a great way to go.

References

Tuxedo Computers Unveils the Tuxedo Pulse 15 Linux Ultrabook with AMD Ryzen 4000H Series
Tuxedo Pulse 15 Details and Configuration
Dell Latitude E6440
Fusion 360 on openSUSE Linux | Review
Building an AMD Server and Game Machine out of Yester-Year’s Parts
openSUSE.org

#openSUSE Tumbleweed revisión de la semana 30 de 2020

Tumbleweed es una distribución “Rolling Release” de actualización contínua. Aquí puedes estar al tanto de las últimas novedades.

Tumbleweed

openSUSE Tumbleweed es la versión “rolling release” o de actualización continua de la distribución de GNU/Linux openSUSE.

Hagamos un repaso a las novedades que han llegado hasta los repositorios estas semanas.

El anuncio original lo puedes leer en el blog de Dominique Leuenberger, publicado bajo licencia CC-by-sa, en este enlace:

Debido a un cambio de empaquetado en un paquete de bajo nivel (krb5), Dominique decidió lanzar un recompilado de openSUSE:Factory. Ya que muchos paquetes hacen referencia a krb5-config para encontrar la ubicaciones correctas, pero no pudo encontrar una lista concluyente.

El riesgo de no realizar un recompilado completo y tener todos los paquetes siguiendo el cambio de krb5 podría acarrear resultados devastadores, y no quiso correr ese riesgo. Esto ocasionó que OBS estuviera ocupado bastante tiempo, por lo que solo se han podido publicar dos nuevas snapshots (0717 y 0720). La siguiente que se publicará (0721) será la del recompilado completo.

Las dos snapshots publicadas trajeron entre otros, estos cambios:

  • VirtualBox 6.1.12
  • gtk2
  • Linux kernel 5.7.9
  • Kubernetes 1.18.6 y 1.17.9

Los cambios que llegará en próximas actualizaciones:

  • Mesa 20.1.4
  • GCC 10.2
  • LibreOffice 7.0rc2
  • openSSL 3.0
  • Cambios en el nombre de Python 38 para que pueda haber varias versiones de Python en el mismo sistema.
  • Cambios en RPM.

Si quieres estar a la última con software actualizado y probado utiliza openSUSE Tumbleweed la opción rolling release de la distribución de GNU/Linux openSUSE.

Mantente actualizado y ya sabes: Have a lot of fun!!

Enlaces de interés

Geeko_ascii

——————————–