Blografia.net

June 02, 2023

Victor Martínez

Desayuno en las alturas

Estos días que han estado muy buenos para desayunar en la terraza y ya que mi mejor parte desempolvo y movio de lugar una mesa que por ahí teníamos arrumbada ahí hemos estado desayunando cuando el clima lo permite.

Y lo ha permitido en bastantes ocasiones.

No estoy bien seguro si empezamos con esto por los arreglos en la casa o si más bien porque a mi mejor mitad le gustó la vista que se tiene en la terraza, sea cual sea la razón, la vista y el lugar lo valen… hace algún tiempo cuando era nueva la terraza desayunabamos más veces arriba con los hijos, en una mesa mucho más grande que se ve al fondo (en ese entonces no estaba techado), por más de una razón no hemos regresado a esa práctica pero al menos nosotros dos si hemos tenido la oportunidad de pasar un rato platicando y poniéndonos al día con lo que pasa en el trabajo o la casa.

by vicm3 at June 02, 2023 06:22 PM

June 01, 2023

Gwolf

Cheatable e-voting booths in Coahuila, Mexico, detected at the last minute

It’s been a very long time I haven’t blogged about e-voting, although some might remember it’s been a topic I have long worked with; particularly, it was the topic of my 2018 Masters thesis, plus some five articles I wrote in the 2010-2018 period. After the thesis, I have to admit I got weary of the subject, and haven’t pursued it anymore.

So, I was saddened and dismayed to read that –once again, as it has already happened– the electoral authorities would set up a pilot e-voting program in the local elections this year, that would probably lead to a wider deployment next year, in the Federal elections.

This year (…this week!), two States will have elections for their Governors and local Legislative branches: Coahuila (North, bordering with Texas) and Mexico (Center, surrounding Mexico City). They are very different states, demographically and in their development level.

Pilot programs with e-voting booths have been seen in four states TTBOMK in the last ~15 years: Jalisco (West), Mexico City, State of Mexico and Coahuila. In Coahuila, several universities have teamed up with the Electoral Institute to develop their e-voting booth; a good thing that I can say about how this has been done in my country is that, at least, the Electoral Institute is providing their own implementations, instead of sourcing with e-booth vendors (which have their long, tragic story mostly in the USA, but also in other places). Not only that: They are subjecting the machines to audit processes. Not open audit processes, as demanded by academics in the field, but nevertheless, external, rigorous audit processes.

But still, what me and other colleagues with Computer Security background oppose to is not a specific e-voting implementation, but the adoption of e-voting in general. If for nothing else, because of the extra complexity it brings, because of the many more checks that have to be put in place, and… Because as programmers, we are aware of the ease with which bugs can creep in any given implementation… both honest bugs (mistakes) and, much worse, bugs that are secretly requested and paid for.

Anyway, leave this bit aside for a while. I’m not implying there was any ill intent in the design or implementation of these e-voting booths.

Two days ago, the Electoral Institute announced there was an important bug found in the Coahuila implementation. The bug consists, as far as I can understand from the information reported in newspapers, in:

  • Each voter approaches their electoral authorities, who verify their identity and their authorization to vote in that precinct
  • The voter is given an activation code, with which they go to the voting booth
  • The booth is activated and enables each voter to cast a vote only once

The problem was that the activation codes remained active after voting, so a voter could vote multiple times.

This seems like an easy problem to be patched — It most likely is. However, given the inability to patch, properly test, and deploy in a timely manner the fix to all of the booths (even though only 74 e-voting booths were to be deployed for this pilot), the whole pilot for Coahuila was scratched; Mexico State is voting with a different implementation that is not affected by this issue.

This illustrates very well one of the main issues with e-voting technology: It requires a team of domain-specific experts to perform a highly specialized task (code and physical audits). I am happy and proud to say that part of the auditing experts were the professors of the Information Security Masters program of ESIME Culhuacán (the Masters program I was part of).

The reaction by the Electoral Institute was correct. As far as I understand, there is no evidence suggesting this bug could have been purposefully built, but it’s not impossible to rule it out.

A traditional, paper-and-ink-based process is not only immune to attacks (or mistakes!) based on code such as this one, but can be audited by anybody. And that is, I believe, a fundamental property of democracy: ensuring the process is done right is not limited to a handful of domain experts. Not only that: In Mexico, I am sure there are hundreds of very proficient developers that could perform a code and equipment audit such as this one, but the audits are open by invitation only, so being an expert is not enough to get clearance to do this.

In a democracy, the whole process should be observable and verifiable by anybody interested in doing so.

Some links about this news:

June 01, 2023 04:22 PM

May 26, 2023

Victor Martínez

Recuerdos

FB me recuerda que compartía hace 3 años este día, es decir en 2020 años, la portada de la revista  la Nación.

https://www.lanacion.com.ar/sociedad/viruela-paperas-y-coronavirus-historia-como-vacunas-nid2367566/

Que poco después andaría siguiendo el Vaccine Tracker del New York Times que supongo segun archive.org apareció por junio…

https://www.nytimes.com/interactive/2020/science/coronavirus-vaccine-tracker.html actualizado hasta agosto de 2022 y disponible a la fecha para consulta

Captura de archive.org de como se veia en junio de 2020.

El vínculo a archive.org https://web.archive.org/web/20200610095640/https://www.nytimes.com/interactive/2020/science/coronavirus-vaccine-tracker.html

Justo el lunes en mi cierre de semestre comentaba un tanto con mis estudiantes que egresan sobre ciencia abierta y el tiempo que tomó desarrolla las vacunas y cómo cambiaron muchas cosas en poco tiempo de la jornada nacional de sana distancia y las adecuaciones que hubo que realizar y un largo etcétera de cambios que hicieron e hicimos en la universidad, creo no tuvo el impacto que esperaba, pero al menos nadie se durmió… hasta agosto de 2022 ya existían 12 vacunas aprobadas para uso completo.

 

by vicm3 at May 26, 2023 01:18 AM

May 25, 2023

Victor Martínez

Arte godin

Circa 2019.

Tasa godin, loza sobre papel, VM3 2019.

Lo tuve un rato como tweet fijado en 2019 me pareció una puntada muy buena y por eso mejor lo traigo para acá, se puede consultar en twitter [1] pero no está de más tener una copia local.

[1] https://twitter.com/vicm3/status/1161342641969094656

by vicm3 at May 25, 2023 07:43 PM

May 19, 2023

Victor Martínez

Sistema Integrado de Información de la Educación Superior SIIES

Por 2021, me supongo si no es que antes, con la Ley General de Educación (2019), apareció por ahí el Sistema Integrado de Información de la Educación Superior (SIIES).

Que tiene datos muy interesantes al respecto, desde su aparición no tiene un medio de contacto, bueno si lo tiene en la página, pero solo lleva a https://twitter.com/GobiernoMX y no a alguien en concreto y toda la sección de uso lleva a gob.mx entonces aunque hay logos de la UNAM, UANL y otros en la página y esta hospedada en la UNAM https://www.siies.unam.mx/ no hay forma de contacto o creditos, donde dice conocenos nos lleva a la Subsecretaría de Educación Superior donde pasa lo mismo, tengo dos dudas desde que conocí la página, los datos no dice por ningún lado de donde salen, si los proveen las instituciones son los de la subsecretaría o son los de la SEP con el formulario 911 que por ahí pinta a que pudiera ser…

En todo caso, no hay información de metodología, de donde salen los datos o como reportar un error ya lo he hecho dos veces y tal vez no merecería siquiera que lo escribiera por aquí si no fuera porque el logo de la Universidad Pedagógica NAcional que aparece en la página corresponde a la de Colombia y no a la de México y que no hay forma de que lo corrijan o parezca que vaya a suceder.

UPN Colombia, la que aparece en el SIIES

UPN México la que debería aparecer

by vicm3 at May 19, 2023 08:18 PM

May 14, 2023

Diario de un Mexicano en Japon

Recuperando el gusto

Últimamente he estado jugando videojuegos tanto como me es posible. Es señal de que he recuperado el gusto por ellos y el reto que representan.

Aunque sí le he dedicado tiempo a juegos AAA, también he estado jugando títulos “retro”, sacándole provecho a mi Retroid Pocket 3, adquirido.en algún punto del año pasado

Fue otra compra compulsiva

Pensaba contar el “drama” detrás de Retroid Pocket, ya que al poco tiempo de que salió el 3, sacaron el 3+, con mejores especificaciones, pero debido a que, también por compras compulsivas, adquirí el 2, luego el 2+… sí, ya sé… totalmente innecesarios, le paré y no caí en el juego de hacerme de otra consola más. Y miren que he estado tentado a comprar un Miyoo Mini +…

Me hace ojitos, pero la verdad es que no lo necesito

Total, que he estado jugando títulos que tenía en lista de espera desde hace muchos años, en especial, de Gameboy Advance. Ahora estoy con Golden Sun The Lost Age, y vaya que me estoy divirtiendo.

Así comencé la pelea vs el jefe de Gaia Rock
Y así la terminé

Tengo muchos títulos pendientes todavía, pero lo que me agrada de estas consolas es lo siguiente:

  • Su portabilidad
  • Como usan emuladores, la posibilidad de poder dejar de jugar en cualquier momento para atender a la familia, y después seguirle justo donde terminé. Cabe mencionar que yo estaba totalmente en contra de los states en estos juegos, pero ahora siendo padre de familia son una bendición para poder jugar títulos largos
  • Bajo la misma perspectiva, la cantidad de sistemas que se pueden emular. Sí, se pueden conseguir resultados similares en un teléfono, pero prefiero tener un dispositivo especialmente para juegos, con control integrado, en vez de estar cargando un control todo el tiempo

Acá una muestra de lo que he jugado recientemente

Por fin terminé el primer Golden Sun
Metroid Zero Mission
Oh sí. Samus

Terminado
No está mal para puras sesiones casuales
Metroid Fusion también terminado
También le hago al Tetris

También he estado relativamente activo en stream, tanto en YouTube como en Twitch. La idea es seguir haciendo streams em forma frecuente para poder llegar a los 1000 suscriptores que pide YouTube para poder hacer transmisiones en vivo desde el celular, lo que me permitiría volver a hacer las tradicionales caminatas que acostumbraba cuando Periscope era la onda.

Ahí por si gustan apoyarme con suscribirse, estaría muy agradecido.

Según mis terapeutas, estoy en la fase de salida de la horrible pesadilla que viví hace 2 años. Creo que todo esto de los videojuegos realmente me representa y es la viva prueba de que, en efecto, voy saliendo.

The post Recuperando el gusto first appeared on ¡Un mexicano en Japón!.

by Manuel at May 14, 2023 09:13 AM

May 04, 2023

Victor Martínez

De masa madre, pan y freidoras de aire

No hace mucho en una reunión por la elección de un vino, dije que aunque había ampliamente para elegir 2019. 2020. 2021 y 2022, evite el 2020 porque no me traía atractivos recuerdos, por ahí alguien comento que tampoco debería ser muy bueno el vino de ese año ya que hubo pocas o ningunas manos para recoger las uvas, pero más allá de la anécdota jocosa se prestó para escuchar y recordar como se ha dicho más de una vez, que no fue que todos estuviéramos en el mismo barco, todos nos encontramos en el mismo mar, pero cada quien capeo distinto la tormenta.

Y abundo, escuche de “cómo la pasamos en el primer mes, pensando en cómo nos íbamos a morir de aburrición”, de quien por supuesto empezó a hacer pan, le dio por cocinar y se la pasó lavando trastes, pero cocinando, de quien devoró libros, series, servicios de streaming, cultivo plantas ornamentales y comestibles, quien como yo nos pusimos a arreglar todo lo que pudimos o que teníamos en casa descompuesto o terminamos descomponiendo más, los que tomamos todos los cursos que se nos cruzaron enfrente y asistimos a una multitud de congresos que tuvieron que realizarse de manera virtual y a los que normalmente no podíamos asistir por los costos de transportación e inscripción.

La verdad no puedo quejarme porque en efecto, aunque la cocina no es mi fuerte y si hice algunas de esas y un poco al Arduino y la Raspberri le pegue, cuando pienso en esos días no puedo dejar de congratularme porque mi Área Académica colaboro de manera espectacular a la continuidad de las actividades de la universidad y estuvimos capacitando y apoyando a casi todas las demás Áreas y a varios proyectos que lo solicitaron, hubo trabajo para dar y regalar, nunca estuve de acuerdo en como los expertos de la dirección de Informática resolvieron y en la practica muchos seguimos usando el servidor del cuerpo académico, lo malo y no tan divertido fue que se recortó el estimulo de siete niveles a tres y en retrospectiva mucho del trabajo realizado no contó en el catalogo…

La verdad capeamos el temporal, de esa platica al menos me alegro que mis conocidos y amigos con todo no la pasamos tan mal, y que seguimos aquí y podemos reírnos y bromear con algo que hace apenas tres años me parecía el fin de la civilización como la conocíamos.

En fin que a todo esto un tinto 2021 y otro 2022 ambos Cabernet fueron lo que trajeron este debraye a mi memoria aunque solo nos tomamos el primero y los demás prefirieron cerveza, de esa que en abril de 2020 se acabó en el país y que costaba mucho más cara que el dólar… así las cosas en retrospectiva, ni hice masa madre, ni tuve freidora de aire, pero seguimos por acá, igual capeando el temporal ahora con distintas razones de la misma forma, como podemos y con los recursos que tenemos, al menos ya no solo con cámara y micrófono de por medio.

A seguir que la nueva normalidad trajo de regreso demasiadas cosas de la vieja normalidad y de aquella idea romántica de que saldríamos mucho más gentiles, empáticos y sabios del temporal, creo ya nadie duda que igual que otras cosas fue una esperanza que se disipo muy pronto al toparse con la dura realidad.

by vicm3 at May 04, 2023 09:07 PM

Ociologos.org

Como los habituales del blog sabrán es mi galería personal que he utilizado desde allá por 2002, la use en la página del Anime Project y creo que antes de que Flickr fuera lo popular que se volvió lo ofrecí a un par de amigos, en 2014 tras el anuncio de que entraba en hibernación el software que lo soporta [1], probé igal2 [2], piwigo [3], curiosamente nunca probé Coppermine [4] que utilizó en un proyecto que apoyo y que nunca tuvo estos problemas, los dos anteriormente mencionado me dieron buenos resultados pero era un poco latoso migrar algunos datos como los nombres de los directorios o compaginar los permisos de las fotos y como seguía funcionando y algunos entusiastas le hacían de vez en cuando alguna aportación de seguridad pues lo seguí usando, desde más o menos esa época pensaba en mover la galería a un subdirectorio de ociologia.org ya que dicho sea de paso el costo de los dominios ha ido creciendo poco pero constante y ya tener muchos sin obtener una ganancia de los mismos se ha vuelto un peso para el bolsillo a menos que se dedique uno a especular con los mismos cosa que no es mi negocio.

El acabose fue el año pasado cuando mi hosting anunció que dejaba de soportar versiones viejas de PHP y que añadía una opción para empujar a PHP 7.4 todos los sitios que no se hubieran actualizado, esto para nada es malo, pero Gallery no funcionaba muy bien en 7.x ahora si un poco forzado a decidir moverme de software o quitar mi galeria personal, por ahí el grupo de entusiastas publicó un par de modificaciones que lograban que Gallery funcionara en 7.x y eso me dio excusa de nuevo para no abandonar la misma ni retirarla.

Este año mi hosting anunció en marzo que de nuevo movía a los sitios automáticamente a la versión de PHP soportada 8 en esta ocasión y que aunque se podía conservar momentáneamente en 7.x a partir del 9 de mayo cobrarían 5USD extras mensuales por el soporte “extendido”, que me instaban a actualizar, contratar a un tercero o a mi propio hosting para actualizar mi software, por supuesto con un costo adicional, lo cual me tuvo a unos dólares de ahora si cancelar la renovación del dominio y olvidarme de la galería, en eso estaba cuando se me ocurrió dar una pequeña búsqueda y me enteré por la misma página del proyecto que desde 2021, los entusiastas que habían venido dando mantenimiento han lanzado Gallery the revival [5] que permite usar en la versión actual de PHP este software, así que al menos este año ya la libramos, aproveche para organizar mis directorios para en su caso poder hacerlos estáticos con igal2 y después de ver las fotos que están disponibles, de haber compartido bastantes en el confinamiento con google photos y haber usado dos años Google One con 100GB de almacenamiento con un coste de 340 pesos, es decir más o menos lo que cuesta el registro anual del dominio, hizo que me pusiera a considerar en que este será el último año en que conservare la galería al menos con el software, ya que las únicas fotos que realmente tendrían que estar por ahí son las que se usan en mi blog y una búsqueda en la BD que he tenido mucha fiaca de realizar me permitirá ubicar y cambiar a mi propio directorio en blografia, dicho sea de paso la galería utiliza algo así como 16GB de almacenamiento en la nube que puede parecer poco, pero que al menos en el espacio gratis que da google son 1GB más de lo que ofrece en su cuenta básica.

Así que tengo ya un proyecto de fin de semana y un curioso remordimiento porque me parece jocoso tener mi correo en s.ociologos.org y ociologos.org aunque jamas lo haya usado formalmente, lo voy a extrañar.

[1] http://galleryproject.org/time-to-hibernate.html
[2] https://igal.trexler.at/
[3] https://piwigo.org/
[4] https://coppermine-gallery.net/
[5] https://galleryrevival.com/

by vicm3 at May 04, 2023 08:31 PM

Venus Wars (1989)

Ayer estaba escuchando música de Anime y me salió el op de Venus Wars… pensando en que no hace mucho puse en la TV la pelea de motos de Tron Legacy recordé que en esta película de 1989 salen unas muy interesantes y teniendo en la memoria muchos huecos en la historia, me la recete por la tarde noche y recordé que en su momento leí la traducción del manga en Dark Horse allá por 1993, del original publicado de 1986 a 1990 en Japón… la cual dicho sea de paso no termine por el aumento en el costo del dólar, en todo caso la película en su tiempo ya en los noventa la vi en copia de VHS ya no en tan buena calidad y tal vez alguna ocasión en alguna convención igual no con la mejor calidad, ayer la vi en HD1080i y wow, mucho bueno. De hecho no estoy seguro si vi primero la película o el manga.

Lo que no recordaba bien y viene a cuento por lo que tenia interés de ver, es justo la edad de los protagonistas, pongamos algo de contexto, Venus que es más cercano a la tierra en cuanto a magnetosfera es golpeado por un cometa y se comienza la terraformación del mismo, tenemos dos facciones, de colonizadores, unos mas al norte y otros al sur, los del norte más belicistas y los del sur más complacientes, los del norte invaden a los del sur y la película es la toma y retoma de la capital del sur.

Pero lo que realmente recordaba como interesante es como la guerra irrumpe en la vida de los chicos del sur, de como una generación sin mucha motivación, la encuentra en la decidía de sus mayores y como se trastorna una vida más o menos tranquila fuera de la tierra, también de esta película recuerdo la ventaja táctica de poner en pequeños vehículos cañones de riel contra los tradicionales tanques grandes y pesados, si tienen oportunidad, aunque es de finales de los ochenta y alguna animación se ve de esa época al igual que los peinados, la historia me parece muy pertinente y nada envejecida, entre la complacencia de los países en este caso la Tierra como el primer mundo y Venus como un planeta en desarrollo.

Si acaso es triste que poco haya cambiado y que hayamos aprendido aún menos sobre varios temas en especial del militarismo.

Voy a intentar retomar el manga, pero eso sí puede que sea un poco más difícil, al iniciar el confinamiento en 2020 me puse al corriente con Battle Angel, me seguí y terminé, Last Order, y me quedé en Mars Chronicle en el Log:032 de noviembre del 2020… que veo al menos existe hasta el Log:046 de 2022…

by vicm3 at May 04, 2023 07:20 PM

May 01, 2023

Gwolf

Scanning heaps of 8mm movies

After my father passed away, I brought home most of the personal items he had, both at home and at his office. Among many, many (many, many, many) other things, I brought two of his personal treasures: His photo collection and a box with the 8mm movies he shot approximately between 1956 and 1989, when he was forced into modernity and got a portable videocassette recorder.

I have talked with several friends, as I really want to get it all in a digital format, and while I’ve been making slow but steady advances scanning the photo reels, I was particularly dismayed (even though it was most expected — most personal electronic devices aren’t meant to last over 50 years) to find out the 8mm projector was no longer in working conditions; the lamp and the fans work, but the spindles won’t spin. Of course, it is quite likely it is easy to fix, but it is beyond my tinkering abilities… and finding photographic equipment repair shops is no longer easy. Anyway, even if I got it fixed, filming a movie from a screen, even with a decent camera, is a lousy way to get it digitized.

But almost by mere chance, I got in contact with my cousin Daniel, ho came to Mexico to visit his parents, and had precisely brought with him… a 8mm/Super8 movie scanner! It is a much simpler piece of equipment than I had expected, and while it does present some minor glitches (i.e. the vertical framing slightly loses alignment over the course of a medium-length film scanning session, and no adjustment is possible while the scan is ongoing), this is something that can be decently fixed in post-processing, and a scanning session can be split with no ill effects. Anyway, it is quite uncommon a mid-length (5min) film can be done without interrupting i.e. to join a splice, mostly given my father didn’t just film, but also edited a lot (this is, it’s not just family pictures, but all different kinds of fiction and documentary work he did).

So, Daniel lent me a great, brand new, entry-level film scanner; I rushed to scan as many movies as possible before his return to the USA this week, but he insisted he bought it to help preserve our family’s memory, and given we are still several cousins living in Mexico, I could keep hold of it so any other of the cousins will find it more easily. Of course, I am thankful and delighted!

So, this equipment is a Magnasonic FS81. It is entry-level, as it lacks some adjustment abilities a professional one would surely have, and I’m sure a better scanner will make the job faster – but it’s infinitely superior to not having it!

The scanner processes roughly two frames per second (while the nominal 8mm/Super8 speed is 24 frames per second), so a 3 minute film reel takes a bit over 35 minutes… And a long, ~20 minute film reel takes… Close to 4hr, if nothing gets in your way :-Þ And yes, with longer reels, the probability of a splice breaking are way higher than with a short one — not only because there is simply a longer film to process, but also because, both at the unwinding and at the receiving reels, mechanics play their roles.

The films don’t advance smoothly, but jump to position each frame in the scanner’s screen, so every bit of film gets its fair share of gentle tugs.

My professional consultant on how and what to do is my good friend Chema Serralde, who has stopped me from doing several things I would regret later otherwise (such as joining spliced tapes with acidic chemical adhesives such as Kola Loka, a.k.a. Krazy Glue — even if it’s a bit trickier to do it, he insisted me on best using simple transparent tape if I’m not buying fancy things such as film-adhesive). Chema also explained me the importance of the loopers (las Lupes in his technical Spanish translation), which I feared increased the likelihood of breaking a bit of old glue due to the angle in which the film gets pulled… but if skipped, result in films with too much jumping.

Not all of the movies I have are for public sharing — Some of them are “just” family movies, with high personal value, but probably of very little interest to others. But some are! I have been uploading some of the movies, after minor post-processing, to the Internet Archive. Among them:

Anyway, I have a long way forward for scanning. I have 20 3min reels, 19 5min reels, and 8 20min reels. I want to check the scanning quality, but I think my 20min reels are mostly processed (we paid for scanning them some years ago). I mostly finished the 3min reels, but might have to go over some of them again due to the learning process.

And… Well, I’m having quite a bit of fun in the process!

May 01, 2023 11:21 PM

April 10, 2023

Gwolf

Twenty years

Twenty years… A seemingly big, very round number, at least for me.

I can recall several very well-known songs mentioning this timespan:

  • «It was twenty years ago today Sgt. Pepper taught the band to play», sang four youth idols in 1967 for whom said timespan was not-quite-but-almost their full lifes so far.
  • «Si las cosas que uno quiere se pudieran alcanzar, tú me quisieras lo mismo que veinte años atrás» (if what one wants could be achieved, you would love me the same as twenty years ago), says a heartbroken song by María Teresa Vera where she is resigned not to recover the love of a former lover.
  • «Volver con la frente marchita, las nieves del tiempo platearon mi sien. Sentir que es un soplo la vida, que veinte años no es nada, que febril la mirada, errante en las sombras te busca y te nombra» (To return, with a withered forehead, the snows of time have silvered my temples. To feel that life is but a wind blow, that twenty years is like nothing, how feverish the look, wandering in the shadows, it looks for you and names you) says one of the best known tangos, written by Carlos Gardel, Fernando Maldonado and Alfredo Le Pera, where the singer returns after 20 years, tired and beaten, but still with some hope of finding his long-lost love.

A quick Internet search yields many more… And yes, in human terms… 20 years is quite a big deal. And, of course, I have been long waiting for the right time to write this post.

Because twenty years ago, I got the mail.

Of course, the mail notifying me I had successfully finished my NM process and, as of April 2003, could consider myself to be a full-fledged Debian Project member.

Maybe by sheer chance it was today also that we spent the evening at Max’s house – I never worked directly with Max, but we both worked at Universidad Pedagógica Nacional at the same time back then.

But… Of course, a single twentyversary is not enough!

I don’t have the exact date, but I guess I might be off by some two or three months due to other things I remember from back then.

This year, I am forty years old as an Emacs and TeX user!

Back in 1983, on Friday nights, I went with my father to IIMAS (where I’m currently adscribed to as a PhD student, and where he was a researcher between 1971 and the mid-1990s) and used the computer — one of the two big computers they had in the Institute. And what could a seven-year-old boy do? Of course… use the programs this great Foonly F2 system had. Emacs and TeX (this is still before LaTeX).

40 years… And I still use the same base tools for my daily work, day in, day out.

April 10, 2023 06:01 AM

April 01, 2023

Diario de un Mexicano en Japon

Daigo Umehara en el EVO Japan 2023

Daigo estuvo firmando 100 autógrafos durante el evento. Después de eso, dijo en Twitter qué ya se regresaba a su casa

The post Daigo Umehara en el EVO Japan 2023 first appeared on ¡Un mexicano en Japón!.

by Manuel at April 01, 2023 05:36 AM

Más sobre el EVO Japan 2023

Perdí 0-2. Ni modo. En general siento que el desempeño fue bueno, excepto en el último encuentro en donde cometí un error garrafal del que ya no me pude recuperar.

Area de juego libre. Aquí Vampire Savior
Street Fighter Zero 3

Hay muchas áreas para jugar, incluyendo unas en donde cada quien lleva su consola, computadora o dispositivo, y puede invitar a jugar a quien sea

Tekken 8 estuvo presente en el evento, pero era una prueba alfa cerrada, así que no pude jugar

Las finales de Melty Blood Type Lumina estuvieron muy emocionantes, y me han animado a retomar el juego

The post Más sobre el EVO Japan 2023 first appeared on ¡Un mexicano en Japón!.

by Manuel at April 01, 2023 05:31 AM

March 31, 2023

Diario de un Mexicano en Japon

En el EVO Japan

Llegó el día. El EVO Japan ha comenzado.

Estaré subiendo fotos y vídeos aquí y en el canal de YouTube, por lo que este documento todavía no está concluido.

The post En el EVO Japan first appeared on ¡Un mexicano en Japón!.

by Manuel at March 31, 2023 02:00 AM

March 27, 2023

Victor Martínez

El mundo detenido

Septiembre 28 de 2020, visite la universidad, por unas cosas que necesitaba de mi cubículo o por un curso que no arrancó ya no recuerdo por cual de las razones, pero tome estas fotos que acabo de encontrar ordenando un montón de fotos escolares.

El periodico Mural de febrero de 2020… aún en la pared en septiembre…

Los pasillos y anuncios sin cambio hasta 2021.

Esto ya ni siquiera está en este orden, pero estuvo todo el confinamiento así.

Ese año o llovió más o aún regaban los árboles

Todo se veía verde… necesitamos una de este año.

Fue increíble en 2020 tuve que ir unas tres veces a la oficina, por documentos, computadora y libros… solo la segunda vez que fuí tome fotos, la primera, no tome del jardín pero si parecía muy crecida la vegetación, no al grado que vi en fotos de la UAM, pero si bastante, en estas no se nota tanto pero había pasto creciendo en el piso en los adoquines.

Si hay algo que extraño de entonces, es que estaba solo el periférico y la calle y se podía uno mover mucho más rápido que hoy, no más barato ya que era difícil encontrar transporte para viajes largos Uber y Didi, pocos taxis.

by vicm3 at March 27, 2023 12:20 AM

March 25, 2023

Gwolf

Four days to fix a simple configuration bug

Phew!

Today, after four days of combing through code I am unfamiliar with, I was finally able to change my expression.

I’m finally at the part of my PhD work where I am tasked with implementing the protocol I claim improves from the current situation. I wrote a script to deploy the infrastructure I need for the experiment, and was not expecting any issues — I am not (yet) familiar with the Go language (in which the Hockeypuck key server is developed), but I have managed to install it several times, and it holds no terrible surprises anymore for me. Or so I think.

So, how come it’s possible the five servers in my laboratory network don’t gossip to each other? The logs don’t show anything clear… Only a sucession of this:

hockeypuck[5295]: time="2023-03-24T00:00:28-06:00" level=error msg="recon with :0 failed" error="[{/srv/hockeypuck/packaging/src/gopkg.in/hockeypuck/conflux.v2/recon/gossip.go:109: } {dial tcp :0: connect: connection refused}]" label="gossip :11370"
hockeypuck[5295]: time="2023-03-24T00:00:28-06:00" level=info msg="waiting 27s for next gossip attempt" label="gossip :11370"

And while tcp :0: connect: connection refused sounds fishy… It took me too long to find the reasons.

But, at least, along the way I decided to find my errors by debugging the code, rather than by rebuilding the laboratory and random-stabbing at the configuration.

And yes, finally… I came to my senses, and found out my silly mistake was to have my configuration read:

[hockeypuck.conflux.recon.partner.10.0.3.13]
httpAddr="10.0.3.13:11371"
reconAddr="10.0.3.13:11370"

where it should have read:

[hockeypuck.conflux.recon.partner.10-0-3-13]
httpAddr="10.0.3.13:11371"
reconAddr="10.0.3.13:11370"

…Because, of course, TOML would find no child declarations for hockeypuck.conflux.recon.partner.10 (as the following period makes the rest of the entry an entirely distinct one from what I thought I specified).

Anyway, this made me at least:

  • Lose my fear of trying to understand the logic of a Go program (and of the Go language)
  • Understand the logging framework for Go
  • Learning how to use the (great!) format strings infrastructure it has
  • Do some minor logic modifications, trying to find the issue
  • Dig into how TOML parsing is done, idiomatically

Now… Why am I posting this? Not only because I feel very happy and wanted to share my a-ha moment, but also because I’m sure this time that seems that I mindlessly spent poking at Go without knowing the basics will be somehow rewarded — I have to learn bits of the language anyway, so it’s time well spent.

Or so I hope.

(oh, and the funny spectacles? I am not sure, but I believe them to have been property of my grandfather or great-grandfather when they came from Europe, in 1947 or in 1928 respectively. One glasspiece is sadly lost, but other than that, I love them!)

March 25, 2023 10:31 PM

Now that we are talking about kernel building... What about firebuild?

After my last post, Bálint (who prompted it with his last post) suggested I should do a hybrid test of his tests and my extremes. He suggested I should build the Linux kernel using my Raspberry Pi 4 (8GB model), but using the Firebuild build accelerator.

Before going any further: I must make clear that while Firebuild is freely redistributable, it is not made available under a free license. It is free for personal use or commercial trial, but otherwise requires licensing.

Bálint managed to build a Linux kernel in just over 8 seconds. So, how did my test go? My previous experiment, using -j 4, built Linux in ~100 minutes; this was about a year ago, and I’m now building linux 6.1, so I timed this again. To get a baseline, I built my kernel from a just-unpacked tree, just as usual:

# cd /usr/src/linux-source-6.1
# make clean
# make defconfig
# time make -j4
(...)
real    117m30.588s
user    392m41.434s
sys     52m2.556s

Of course, having all of the object files built makes the rebuild process quite faster (this is still done without firebuild). I understand calling make defconfig without cleaning does not change much, but I saw it often referenced in firebuild’s docs, so I’m leaving it:

# time make -j 4
(...)
real    0m43.822s
user    1m36.577s
sys     0m40.805s

Then, I did a first run using firebuild. Firebuild is a caching build optimizer, so the first run will naturally be somewhat slower (but if you often rebuild your kernel, it should be seen as an investment). Now, in the Raspberry Pi, that uses a slow SD card interface for its storage… It is a heavy investment. The first time I built with firebuild, it meant almost a 100% build time hit:

# cd /usr/src/linux-source-6.1
# make clean
# make defconfig
# time firebuild make -j 4
(...)
real    212m58.647s
user    391m49.080s
sys     81m10.758s

Not only that; I am using a fairly decent and big 32GB card, but this is quite a big price to pay in such a limited system!

# du -sh .cache/firebuild/
4.2G    .cache/firebuild/

I did a build without cleaning the build directory, using firebuild, and it does help — although not by so much as in higher performance systems:

# cd /usr/src/linux-source-6.1
# make clean
# make defconfig
# time firebuild make -j 4
(...)
real    68m6.621s
user    98m32.514s
sys     31m41.643s

So, it built in roughly 65% of the time it would take to build regularly. And what about rebuilding without cleaning?

# make defconfig
# time firebuild make -j 4
(...)
real    1m11.872s
user    2m5.807s
sys     1m46.178s

In this case, using firebuild worked roughly 30% slower than not using it. I guess the high number of file ops inside .cache/firebuild are to blame, as in the case of the media I’m using, those are quite expensive; make went its way basically checking date stamps between *.c and *.o (yes, very roughly), and while running under firebuild, I suppose each of these meant an extra lookup inside the cache.

So… Experiment requested, experiment performed! 😉

March 25, 2023 06:31 PM

March 21, 2023

Gwolf

Impact of parallelism and processor architecture while building a kernel

Given that Bálint just braggedblogged about how efficiently he can build a Linux kernel (less than 8 seconds, wow! Well, yes, until you read it is the result of aggressive caching and is achieved only for a second run), and that a question just popped up today on the Debian ARM mailing list, «is an ARM computer a good choice? Which one?», I decided to share my results of an experiment I did several months ago, to graphically show to my students the effects of parallelism, the artifacts of hyperthreading, the effects of different architecture sets, and even illustrate about the actual futility of my experiment (somewhat referring to John Gustafson’s reevaluation of Amdahl’s law, already 30 years ago«One does not take a fixed-size problem and run it on various numbers of processors except when doing academic research»; thanks for referring to my inconsequential reiterative compilations as academic research! 😉)

I don’t expect any of the following images to be groundbreaking, but at least, next time I need to find them it is quite likely I’ll be able to find them — and I will be able to more easily refer to them in online discussions 😉

So… What did I do? I compiled Linux repeatedly, on several of the machines I had available, varying the -j flag (how many cores to use simultaneously), starting with single-core, and pushing up until just a bit over the physical number of cores the CPU has.

Sadly, I lost several of my output images, but the three following are enough to tell interesting bits of the story:

  • A nice little server my Institute acquired in early 2021: Xeon Silver 4208, with 8 physical cores (plus hyperthreading)

  • My laptop, an 8-ARM-core Lenovo Yoga C630. Do note it’s a “big.LITTLE” system, where 4 cores are smaller and 4 are bigger.

  • A Raspberry Pi 4 (8GB version)

Of course, I have to add that this is not a scientific comparison; the server and my laptop have much better I/O than the Raspberry’s puny micro-SD card (and compiling hundreds of thousands of files is quite an IO-stressed job, even though the full task does exhibit the very low compared single-threaded performance of the Raspberry even compared with the Yoga).

No optimizations were done (they would be harmful to the effects I wanted to show!), the compile was made straight from the upstream sources.

March 21, 2023 06:02 PM

March 20, 2023

Diario de un Mexicano en Japon

En los últimos meses

Querido blog:

Durante estos meses que he estado inactivo por aquí he tenido altibajos (como cualquier persona), y también he recibido comentarios valiosos acerca de este blog en general.

La verdad es que no dimensiono el poco o mucho alcance que lo que escribo pueda tener, pero si lo veo desde el punto de vista de que la mayor parte de esto lo escribo para mí mismo, entonces no hay de qué preocuparse. Y realmente nunca me ha preocupado eso. Todo lo contrario: es muy chido que lo que he escrito aquí a lo largo de los años le sea útil a alguien. Si bien es cierto que la actividad aquí ha disminuído con el paso de los años y el aumento de responsabilidades, eso no quiere decir que ya se murió ni mucho menos. Éste siempre será mi espacio personal en el fantabuloso mundo del internet.

Asimismo, con la mejora en mi estado emocional he comenzado a realizar muchas otras actividades, que ya luego detallaré con calma aquí. No obstante, sí voy a mencionar las más destacadas:

Peso

Primero que nada: alcancé mi meta de peso (menos de 76 kilos) la semana pasada. Hubo semanas en las que pesé 76.1 y sí me daba coraje porque ya habían pasado varios meses del año pero no se veía una mejora. El caso es que la báscula y mi cuerpo por fin se entendieron, y ahora lo que sigue es cumplir la promesa de aventarme del Bungee, con video y, de ser posible, tranmsión en vivo. Voy a avisar en todos lados, incluyendo aquí, cuándo será tan importante evento, para quienes quieran acompañarme virtualmente.

Cumpleaños 3

La neta sí me falló gacho no haber puesto un mensaje a mi hijo menor por su tercer cumpleaños el día y a la hora en la que nació, pero en mi defensa puedo decir que se me fue la onda por lo mismo de que ha sido una tarea titánica criarlo. Mi hijo mayor, en contraste, no dio tanta guerra cuando tenía esa edad, pero el pequeño trae una pila interminable que, en pocas palabras, nos termina por sacar de quicio a mí y a mi esposa. Mi mamá y mi hermana mayor se ríen porque dicen que es igualito a mí cuando era niño, y aseguran que mi hijo tiene lo mexicano y lo “Medina” mucho más concentrado que su lado japonés.

Latoso o no, mi hijo ya cumplió 3 años, lo que significa que hay que dar el siguiente paso: entrar al kínder. Ya está inscrito (y luego voy a detallar qué onda con la educación en Japón ahora desde mi punto de vista de padre de familia) y está decretado el día en que comienzan las clases, incluyendo el traslado en autobús que hará cada mañana.

¡Felicidades atrasadas, hijo! Ahora que estés en el kínder, y tu hermano en la escuela, tu mamá y yo POR FIN vamos a tener más tiempo para nosotros. Ya hasta tenemos planes de qué hacer ahora que los niños ya estén ocupados en la escuela. ¡LIBERTAAAAD!

Streaming

Con la realización del EVO Japan 2023, me inscribí para participar en el torneo de The King of Fighters XV, y para ello he estado practicando, y al mismo tiempo transmitiendo en vivo mis sesiones de prácticas y de Ranked Matches. Por lo mismo, mis canales de YouTube y de Twitch han tenido mucha actividad en las últimas semanas. Eso, aunado con el hecho de que ya no he hecho transmisiones en vivo de mis caminatas, me han incentivado a volver a hacerlo. Hice algunas transmisiones en Instagram, pero la verdad es que preferiría que fueran en YouTube simplemente porque es una plataforma más “común”, más conocida e identificada por la gente. Lo malo es que para poder hacer transmisiones en vivo en YouTube desde mi celular necesito tener al menos 1000 suscriptores y, ¿qué creen? No los tengo 😛 Tengo como 688 al momento de escribir esto, por lo que si usted, sí, usted amable lector me quiere regalar una suscripción al canal, me ayudaría bastante para poder ofrecer más contenido del que usted ya sabe que puedo proveer.

Liga al canal: https://www.youtube.com/@mmedina

También transmito en Twitch al mismo tiempo por acá: https://www.twitch.tv/mmedinajp

Como nota, en Twitch trato de enfocarme más en videojuegos, por lo que es probable (mas no decisivo) que las caminatas no sean transmitidas ahí.

Acá un pequeño video de cómo voy en KOFXV

Waifu #1, y es mexicana

20 aniversario

En efecto: el próximo 2 de abril de 2023 cumpliré 20 años viviendo en este país llamado Japón. Y para celebrar tan memorable evento planeo escribir respecto a todos estos años, haciendo una recapitulación de mi llegada, estancia y desarrollo en el país del sol naciente. Habrá nostalgia 🙂 Solamente espero que el escrito esté listo a tiempo, y no, no voy a usar un modelo estilo GPT para generarlo (al menos no todavía). Si usted no entiende esta referencia, no se preocupe, no es relevante.

Conclusión

Ahí la llevo. Estoy agarrando tracción otra vez en todas las actividades que me gustaban, y he comenzado otras nuevas. Me emociona comenzar cada día pensando que hay muchísimo que aprender (pero no me motiva mucho el trabajo, la verdad, pero ya hablaré en detalle de eso). Así que para usted, querido lector, o respetable internauta que cayó aquí de pura casualidad, le digo lo siguiente: Aquí ando, y aquí voy a estar hasta que ya no pueda dar más de mí 😀

The post En los últimos meses first appeared on ¡Un mexicano en Japón!.

by Manuel at March 20, 2023 08:56 AM

February 16, 2023

Gwolf

We are GREAT at handling multimedia!

I have mentioned several times in this blog, as well as by other communication means, that I am very happy with the laptop I bought (used) about a year and a half ago: an ARM-based Lenovo Yoga C630.

Yes, I knew from the very beginning that using this laptop would pose a challenge to me in many ways, as full hardware support for ARM laptops are nowhere as easy as for plain boring x86 systems. But the advantages far outweigh the inconvenience (i.e. the hoops I had to jump through to handle video-out when I started teaching presentially, which are fortunately a thing of the past now).

Anyway — This post is not about my laptop.

Back in 2018, I was honored to be appointed as a member of the Debian Technical Committee. Of course, that meant (due to the very clear and clever point 6.2.7.1 of the Debian Constitution that my tenure in the Committee (as well as Niko Tyni’s) finished in January 1, 2023. We were invited to take part of a Jitsi call as a last meeting, as well as to welcome Matthew Garrett to the Committee.

Of course, I arranged so I would be calling from my desktop system at work (for which I have an old, terrible webcam — but as long as I don’t need to control screen sharing too finely, mostly works). Out of eight people in the call, two had complete or quite crippling failures with their multimedia setup, and one had a frozen image (at least as far as I could tell).

So… Yes, Debian is indeed good and easy and simple and reliable for most nontechnical users using standard tools.

But… I guess that we power users enjoy tweaking our setup to our precise particular liking. Or that we just don’t care about frivolities such as having a working multimedia setup.

Or I don’t know what happens.

But the fact that close to half of the Technical Committee, which should consist of Debian Developers who know their way around technical obstacles, cannot get a working multimedia setup for a simple, easy WebRTC call (even after a pandemic that made us all work via teleconferencing solutions on a daily basis!) is just… Beautiful 😉

February 16, 2023 07:12 PM