Debconf

No hace mucho David me preguntaba | decía que qué tenía que decir de la última a la que asistí, es decir la Debconf12 y me preguntaba ¿Por qué?, ¿No has escrito sobre las otras? Y lo resumí en algo como esto:

A la 12 fui, casi ni me divertí, trabaje como loco en el video team, conocí gente muy interesante me la pase bien con todo, pero no vi todas las conferencias que quise, de la 11 que no pensaba ir, que ahí realmente me involucre con el video team y que estuve feliz de ser parte de ello, que en la 10 fue mi primera experiencia en el video team y hubo muchísimas manos, por lo que podría decir que es en la que más he turisteado y se me hizo conocer NYC. De porque no fui a las otras, hagamos memoria, la 9 por menso, ni recuerdo porque fue que no termine en España, la 8 porque chocaba con mis clases y trabajo, lo peor una semana antes de que empezara la DC se fue la universidad a huelga, según de solo tres días, que termino durando mes y medio (léase por menso), a la 7 no fui porque era mucho, muy cara para mi salario y bolsillo, la 6 no recordaba bien muchas cosas y no la tenía tan presente y pensando en la última, tenía duda de porque no me involucre tanto como ahora. Haciendo un poco de memoria ya di en el porqué, simplemente estaba con el concurso de oposición para la plaza que ahora ocupo en la universidad y estaba empezando la maestría, además de claro tener mis clases, una vez conecte varias cosas que había intentado olvidar me fue totalmente claro.

Valga como extra decir que en la 12 no pude participar en mayor cantidad en las actividades sociales debido a que estaba cursando una especialización en línea, en la 11 estaba organizando el EDUSOL y realmente hasta no estar en UTC0 no me di cuenta de lo difícil que es seguir una reunión de trabajo a las 20 horas en UTC-0600, y bueno también como propósito para el nuevo año, voy a ahora si escribir mis pato aventuras en las DC que he participado, comenzando por la 6 que tengo tan llena de lagunas…

Publicado en Debraye, Educación, General, planetalinux, sysadmin | Deja un comentario

Gmail no longer accepts self signed certs for pop3/ssl

As six of December Gmail has ceased to accept self signed certs for pop3/ssl/tls I don’t really know why, the help url offered by them is http://support.google.com/mail/bin/answer.py?hl=en&answer=21291&ctx=gmail#strictSSL

Always use a secure connection (SSL) when retrieving mail

As of December 2012, Gmail uses «strict» SSL1 security. This means that we’ll always enforce that your other provider’s remote server has a valid SSL certificate. We made this change to offer a higher level of security to better protect your information.

What are the SSL certificate authority requirements?

We do not accept self-signed certificates. For a certificate to be valid it needs to chain up to a valid CA, like one in the Mozilla CA list.

So this means effective today I only check for mail on machines that are paying for a signed certificate from a recognized CA Authority meaning at this moment $$ and worse, no small amount, yes, there are some el cheapo providers, but again could happen that Gmail also don’t trust them… I just guessing what is going to do Dreamhost as they also use self signed certs, and by the way this will broke their offer for mail integration, and mos probably for a lot of SOHO users… and finally for myself as my set up for reading mail on the web is now totally messed up, maybe is time to return to use IMAP on Thunderbird for on the road reading… as on home I still use Thunderbird/pop3 for archiving and long term storage…

update: 14/12/2012 Google support forums had lots of threads talking about this, but two of them are getting real attention, cause affects a lot of schools & colleges[1], and also business users angry for not receiving notice to plan on beforehand [2].

[1] How can I force use of self-signed SSL certificate.
[2] Strict SSL – We could have been warned.

Publicado en Debraye, General, planetalinux, sysadmin, Web | 2 comentarios

Soledad y genero

El miedo a la soledad es un gran impedimento en la construcción de la autonomía, porque desde muy pequeñas y toda la vida se nos ha formado en el sentimiento de orfandad; porque se nos ha hecho profundamente dependientes de los demás y se nos ha hecho sentir que la soledad es negativa

Marcela Lagarde

Publicado en Debraye, Educación, General, Web | Deja un comentario

On new hard disk continued

Previously I wrote about getting and testing new disk one of the two ordered was sent to warranty the other was subject to stress test, well last Friday the faulty one was replaced with a new one from seller and begun stress test as this one replace one with less space used changed a little the script (BTW I found you can make spew do loops by itself after a second man page read, but I liked my script better).

#!/bin/bash
for a in $(seq 1 10);
do
for i in $(seq 1 1500);
do
spew  --raw -d -o 1m -b 16m 1g /home/F/spew/bigfile$i
echo $i
done
rm /home/F/spew/bigfile*
done
exit 0

And the results are:

And by now this is the disk that gets hotter of the bunch sdb, I thinking on changing places with sdd as its alone and also as its slower 5900RPM, and cooler than this last 7200RPM. At least by now looks like the stress test going fine…

Publicado en Debraye, General, planetalinux, sysadmin, Trabajo, Web | 2 comentarios

Regalo para…

En lo posible se pidió el permiso del autor original, como se notara los mensajes provienen del desaparecido CLUB BBS alojado mucho tiempo en el Instituto Tecnológico de Occidente (ITESO) situado temporalmente en los 90, en muchos casos no se recibió respuesta y de todas formas los pseudónimos ayudan a evitar problemas, también la distancia temporal.

El nom de guerre del autor en este texto, es Genma, cosa que no se ocultó o se explicitó en el texto original, pero que es necesario precisar para que el texto legal tenga sentido y para que el lector a la distancia sepa que partes son recopilación y cuales son creación propia, también baste decir fue un interesante juego de nombres, lectura y escritura.

La primera versión incluía diferentes estilos de letra entre ellas una manuscrita, posteriormente se cambió por Arial al equivocadamente considerarla libre, la versión actual usa la fuente libre Liberation Sans. El texto fue pensado para imprimirse a dos caras en papel tamaño carta, cosa difícil en la época en impresora de matriz de puntos, esta versión tiene un margen de 2 cm a ambos lados, 1 cm arriba y abajo, por lo cual es fácil si se requiere imprimirla por ambos lados de la hoja, no se incluyó espacio para encuadernación, pero está demostrado que funciona bien así, puesto que se encuaderno el impreso.

El nombre actual corresponde al nombre del archivo que se editó en la computadora al que se han añadido puntos suspensivos para sustituir el nombre de a quien estaba dirigido originalmente y que el autor desea obviar, al final funciona de mejor manera, con el subtítulo que fue agregado cuando se rescató esta compilación del disco duro donde estaba arrumbado, en el año 2012 y que el autor considera tiene mejor destino disponible en la red que relegado al olvido.

La primera y única edición impresa, tan solo incluía el empastado y el texto de la página 4 sin mayor explicación, ese empastado fue entregado el 29 de junio de 1998 a su destinatario original, la única réplica al mismo fue un par de meses después un papelito con respuesta a un verso del texto con seis palabras. lo que siguió como escribe otro autor, es otra historia y debe ser contada en otra ocasión.

https://blografia.net/vicm3/data/files/RegaloPara.pdf PDF 1.1MB
https://blografia.net/vicm3/data/files/RegaloPara.odt ODT 62KB

Víctor Manuel Martínez Martínez, primera versión junio 1998, segunda versión CC BY SA 2.5, 26 de noviembre de 2012, tercera versión, CC BY SA 4.0 9, 9 de septiembre de 2014. http://creativecommons.org/licenses/by-sa/4.0/deed.es

Publicado en Debraye, General, Sin categoría, Web | Deja un comentario

Queremos bakaradio

Y bien ya lo dije en Facebook, pero no imagino que muchos encuentren mi modificación de status, más allá de mi circulo social y limitado espacio de alcance, ¿por que no ponerlo en un lugar que se, tiene más lectores? Bueno eso estoy haciendo.

Dain, Ayu, Agus, Andy, Caronte los extrañamos y !nos gustaría saber de ustedes!

Publicado en Comic, Debraye, General, Web | 1 comentario

Nugget

2003-2012

Publicado en Debraye, General, Sin categoría | Deja un comentario

About new disks

I have the bad habit to put to test my new disks for 2 months before moving the original disk to storage and only after another 2 months move/sell/retire the old ones. Recently I buy 2 Seagate Barracuda ST2000DM001 @7200RPM, one is going directly to warranty as never can finish even format, ‘cause of bad sector count and UDMA timeouts.

Well as the primary use for this two disk where to replace two older IDE Seagate Disks ST3320620A 320GB @7200RPM, after copying all the old data, I had a lot of free space to test, and after the fiasco with the first disk I wanted to stress this one.

I searched for tools to test the I/O and stress disk, found spew and iozone both very useful, by the way if you want nice graphs and benchmarks go for iozone, but I needed to create arbitrary files of random data and test write and read accuracy, so I tried spew, first filling what free space was left on each partition of the drive… but as you maybe guessing that after the first test is the same pattern and wanted also to try with smaller files, ended making a small script

#!/bin/bash
for a in $(seq 20);
do
for i in $(seq 1 100);
do
spew  --raw -d -o 1m -b 16m 1g /home/D/spew/bigfile$i
spew  --raw -d -o 1m -b 16m 1g /home/E/spew/bigfile$i
echo $i
done
rm /home/E/spew/bigfile*
rm /home/D/spew/bigfile*
done
exit 0

Also as I’m lazy i running it on screen to let it run for a while and let munin to the graphs and systat to collect I/O usage, also I’m running with the next line:

time sh testdisk.sh 2&>1 >> test.log

So it creates 100GB of files one by one, 20 times… the first run not finished as we had a power outage, but I going to try this for a week or at least until next tuesday that is when I have time to send the other disk to warranty, and if this one fails google’s paper says is going to be sooner than later (at least I hope so).

And by first hand experience a burn test (stress test) serves to show bad components earlier…

Update 15/11/2012
Why change the behavior of spew and not only create a BIG files?, well I wanted sustained stress, and with the cycle, of writing the big file, then checking then deleting I was not what I wanted, so the change of creating»smaller» files, to create sustained activity.

On the image you can see 13-14 the workload of creating, checking and delete big files. 15, the new pattern of smaller files until power outage. And since last night the new pattern, more like I was attempting.

Publicado en Debraye, General, planetalinux, sysadmin, Web | Deja un comentario

Easy way to enconde video for set top box

If you had one of these every day more affordable and really cheap mitzui and others DVD players that also reproduce vidx and xvid video and read USB sticks/Memory Cards, but not MP4 with AC3. Sure you want to be able to reproduce without have to burn a CD with something like nero or similar to convert between formats.

I tried ffmpeg on Debian and found some interesting things:

  1. Build lacks MP3 sound codec, cause patent problems on several countries
  2. Also DivX is not included as is commercially owned and the legal of this is not gray but more like black so not included (even when its a implementation of H264/MPEG-4VC, same or worse problem for DivX ;) (MPEG-4 version 3)
  3. Strange enough never can make Xvid output, I found this is because patent issues on several countries…

So even transforming to AVI, Indeo/M$/H264/MPEG-4, the audio where in mp2 or AC as cant make use of liblame without make a mess o compile my own ffmpeg.

In any case the magic incantation to get what I need was:

ffmpeg -i movie.mp4 -vcodec xvid -acodec mp3 movie.avi

This is cause before I have done a really big file with MPEG-1 video and mp2 sound (terrible if you wonder), to just found that my decoder reads well, but don’t support external subtitles on mpg files :( bummer.

Finally found that even in win you can use ffmpeg for free with WinFF (that regardless of the name runs on Linux and Win) [1] that gives nice menus and combos, yes I know that for win exist a monstrous encoder called Super [2] but that thing is really big, useful when you need  FFmpeg , MEncoder , MPlayer , x264 , MusePack (mpc) , Monkey’s Audio (ape) ,Shorten Audio (shn) , Tom’s Audio Kompressor (tak) , True Audio (tta) , WavPack (wv) ,libavcodec library (compiled inside FFmpeg and MEncoder) & the theora/vorbis RealProducer’s plugIn… but normally FFmpeg is just enough.

By the way searching for info I reached 19 ffmpeg commands for all needs [3] that gives you a very good cheat sheet and examples of how craft ffmpeg switches and options.

[1] http://winff.org/html_new/
[2] http://www.erightsoft.com/SUPER.html
[3] http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs

Publicado en Debraye, planetalinux, sysadmin, Web | Deja un comentario

Webalizer for no system logs

Last month we requested a report from IT department, we expected nice charts, averages, max request, minimum, peak hours / days / weeks, month. What we got was a nice 65MB RTF file with a copy & paste of Apache access.log.

As professors my colleagues where outraged to say the least, «how are supposed to get any sense from this data?», well I just take a copy on my USB stick, as we where handled a full CD to give us the info.

As on 2006 I maintained a site for political discussion, with really big traffic, this short of analysis was no unknow to me, I know there are better tools for the job, but one fast, great and that you can use straight from CLI its webalizer, so I checked still was installed on my system, re-read some of the switches help and after like 4 attempts ended firing something like:

webalizer Bigreport.log -v -i -j -b -T -n http://fu.bar/ -D.cache -N 5 -o tmp/

As you may notice first saved the RTF file to plain text just to be on the safe side.

And voila!, we have better insight from the data… but next time, I just going to plain ask for a full backup of the site, DB and logs.

Publicado en General, planetalinux, sysadmin, Web | Deja un comentario