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

How To Create Bootable USB Disk For Seagate SeaTools

This entry originally was named «Seatools boot from usb stick», but as I searched on google, results with bad to worse methods to create bootable usb sticks are up in place, so I changed the name in hope that gets more visibility on the net.

Recently I need to use the seagatetools for DOS to diagnose a HDD, to get a RMA for warranty replacement, as my new drive came with several damaged sectors (in fact I can’t even format without getting DMA, and other errors… yes I changed cable, drive, and mobo, so it’s the drive), but there were only two options, available for download, one are a windows download, that requires NET4 framework and obviously Windows, and I don’t have neither at  hand, and the other DOS (FreeDOS) image, I wanted to use the last one, but also don’t have a CD ROM on my machine, so after go crazy, and screamed some curses, searched for the documentation, and it’s really bad documented how to use on anything different than a CD, you can boot freedos with syslinux, but that it’s not for the faint of hearth or easy is also tricky, that at the moment where working from my netbook doesn’t help either [1], update: finally found how to make this from linux, also easy and without that much hassle [2]) I found in some other post a really easy way to make this work using YUMI, this is preferred faster and easier (need windows or wine). This also probably works with unetbootin [3], but not have tested.

I finally get bored and unpacked a old portable USB DVD ROM I had, but the logs of seatools can’t be written easily to other media (no floppy, no other drive, well other but with EXT4 and no fat or VFAT partition). But using a USB stick you can copy directly to disk and do a lot more that undust that old CD RW disc…

by Ramesh Balakrishnan on Mon, 08/06/2012 – 12:30.

GO to http://www.seagate.com/support/downloads/seatools/# and download seatools for DOS and

save the ISO on your hard disk

1)Download YUMI multiboot [3]
2)run YUMI by doubleclicking on it
3) Click on I AGREE
4) Select the drive letter
5)In the box below go to option try an unlisted ISO( boot from Ram)
6. On the box below click browse and give the path to your saved ISO file
7. click CREATE.

thats all . All you have to do is boot from USB and start using the utility.
If in case you have any problem in booting

then download HP usb format tool from
http://www.softpedia.com/get/System/Hard-Disk-Utils/HP-USB-Disk-Storage-Format-Tool.shtml

Format your usb– Uncheck quick format and do a full format( might take some time)

Repeat 1 thro 7. and boot from USB .It should work now !

This worked for me after some sleep and after doing some googling found that is not by far the first response nor a prominent one, so for the record and for kept where I can found fast if I need again, I repost here the insightful comment [5]. Also I got a replacement for my drive within a week after sending along with RMA data.

[1] http://ubuntuforums.org/showthread.php?t=1333956
[2] https://github.com/iiska/bootstick
[3] https://unetbootin.github.io/
[4] http://www.pendrivelinux.com/yumi-multiboot-usb-creator/
[5] http://www.megaleecher.net/Seagate_SeaTools_For_DOS_Bootable_USB_Maker_Kit#comment-38392

Publicado en General, planetalinux, sysadmin, Trabajo | Etiquetado , , , , | 3 comentarios

Arengas, porras, consignas

Siempre me han parecido muy interesantes las arengas que se escuchan en las manifestaciones, marchas, plantones y pintas. No he tenido oportunidad de analizarlas a profundidad ni de hacer trabajo en específico al respecto, pero aprovechando este espacio, voy a colocar algunas que conozco, he escuchado o leído.

Invito a todo lector a quien quiera que lea este a que agregue las que conozca en los comentarios.

«No somos uno, no somos cien, pinche gobierno, cuéntanos bien»

«Si Zapata viviera… con nosotros estuviera»

«Educación primero, al hijo del obrero, educación después al hijo del burgués»

«La lucha sigue, sigue, sigue, Zapata vive, vive…»

«Si Zapata viviera, en su madre les pusiera»

«El pueblo unido, jamas sera vencido»

«No que no, no si que si, ya volvimos a salir»

«Si no hay solución, habrá revolución»

No está de más la definición de wikipedia:

Arengar o perorar es un género de la oratoria que consiste en dirigir una arenga a alguien. Es decir un discurso intencionado, normalmente en tono elevado para enardecer los ánimos.

Publicado en Debraye, Educación, General, Web | 6 comentarios

Chamilo en México

Recibo en una newsletter una interesante noticia.

El Viernes 26 y Sábado 27 de Octubre el presidente de la asociación Chamilo, Yannick Warnier, estará en Puebla, México Ofreciendo seminarios de libre ingreso en el marco del Encuentro Nacional de Software Libre (ENLI 2012). Para mayor información consultar el siguiente enlace: http://www.enli.org.mx Así mismo, el Martes 30 de Octubre, se estará ofreciendo un seminario: Preparación para la certificación internacional “Fundamentos de docencia virtual bajo Chamilo LMS”. Más info aquí: http://www.beeznest.com/es/chamilo_mexico_D_F

Pensar en que todo empezó en Claroline, se escindió para dar paso a Dokeos y ahí si realmente se volvió un problema del tamaño de Mambo=>Joomla y al parecer esta empezando a tomar relevancia en nuestro país, Chamilo que la ultima vez que supe tenia una fuerte proporción de desarrolladores en Sudamérica.

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

Anime Project

Y bueno nuestra página [0] cumplió en julio de este año sus 16 años de existir en la web, claro originalmente no estaba con dominio propio y la pueden ver como se veía en el inicio en la época de geocities [1] vía thewaybackmachine [2] en todo caso ha pasado muchísimo y para no entrar en detalles mórbidos más de lo debido los invito a leer la historia de la misma en el wiki [3] sin embargo los últimos 4 años son los que no están documentados en el mismo y de estos quiero reflexionar un poco.

Nos sigue gustando el anime, en efecto algunos de nosotros ya no podemos ver la misma cantidad o leer la cantidad de títulos que revisábamos antes, tal vez excepción hecha de Map, Nodens y Mostrenco que quien sabe cómo le hacen para seguir una cantidad insana de títulos y seguir al día, hasta el canal respectivo en 4chan.

Hemos crecido, si suena trillado, pero como bien dicen “los años no pasan en balde, se quedan con uno” y aunque un servidor tuvo oportunidad de aventarse Kuroko Basketball en tres sentadas en stream por CrunchyRoll (si lo sé debo reseña de Crunchyroll y jmanga) no hemos podido coordinar para hacer cobacha, ya no digo tan seguido como antes, porque en eso si somos constantes tenemos años donde solo hicimos una. Pero ya yendo al punto es increíble ver y escribir desde otro momento de nuestra vida, ya no es fácil coordinar para grabar nuestra cobacha (que la idea esta de ensalada de otakus ya me parecía interesante cuando estaba como concepto, ahora me parece pudiera ser usable, pero ya estoy divagando) ir de compras a las tiendas que nos gustan o de plano a la librería ya no son cosas que podamos hacer, reseñar las convenciones hace un par de años que no lo hacemos, nos cansamos de hacerlo, de hecho en alguna conversación justo salió “¿vale la pena?, simplemente podemos cambiarle el título y dejar el mismo texto” y desgraciadamente puede que sea verdad.

El futuro de los recursos de Anime Project, es para decirlo con todas sus letras incierto, la página principal que ha sido nuestra especie de fanzin ya que recién oyendo de los que iniciaron en los 90 con esto de la publicación, si ellos se aventaron con las fotocopias (ellas si somos justos con la historia) nosotros ni para eso teníamos, todavía peor para la engrapada y ni decir que para libros de arte no teníamos, lo que si tuvimos la gran suerte de tener, fue acceso a internet en la universidad, si para casi todo mundo eso se da por sentado en 1994 era muy difícil poder decir “tengo correo electrónico”, en fin que parece que el modelo de la página principal carece de las opciones para que exista más participación, curiosamente las personas que dan todos sus datos y le permiten a FB lucrar con su contenido no parecen interesadas en registrarse en nuestro sitio para poder comentar, lo cual ha hecho una pesadilla la moderación de los mensajes basura, pero también es curioso, porque y aunque tengo casi un año con que voy a retomar las guías editoriales y la exhortación a escribir por parte de nuestros visitantes. En este siglo fuera de Nodens no hemos recibido artículos para publicar, culpemos a la web 2.0 y que ahora todo mundo tiene blog o microblog.

Entonces, tenemos un foro prácticamente abandonado, cuatro editores de la página principal de los cuales uno prácticamente no escribe porque la interfaz no es WYSIWYG, otro que ni se acuerda que tiene usuario, otro más que ha dejado de participar por los estudios y un servidor que tiene rato que no publica como hace años, el foro también es un caso especial, en su momento muy activo y muy social, abandonado después de una gran batalla de bandos, escisión e impase, el día de hoy una vez retirado todo los hilos “sociales” de chismografo, chistes y demás, luce bastante desganado (tal vez fue un error retirar todos esos hilos, ya que muchos de nuestros visitantes llegaban por ellos, sin embargo, de todas formas no participaban) en fin que estoy considerando crear archivos históricos de algunas partes y tan solo mantener lo que esta activo, lo cual después de leer esto es un tanto paradójico, ¿Qué sigue activo?

Esa es la gran pregunta, ya lo ha mencionado bastantes veces Mostrenco la página principal requiere un cambio radical… muchas cosas por hacer y poco tiempo, vamos viendo que es deseable y que es posible.

[0] http://animeproject.org
[1] http://web.archive.org/web/20000123030633/http://www.geocities.com/Tokyo/Towers/1811/index.htm
[2] http://archive.org
[3] http://wiki.animeproject.org/index.php?title=Historia_de_Anime_Project

Publicado en Anime|Manga, Debraye, General, Web | 2 comentarios

Juan de los muertos

Por si aun no han ido a verla, que casi seguro ya va que sale de cartelera.


Teaser 1


Teaser 2


Trailer oficial

El teaser 1 es realmente el que da mejor idea de que va la palicula. En todo caso el trailer oficial no canta mal las rancheras.

«Matamos a sus seres queridos»

Publicado en Comic, Debraye, General, Web | Deja un comentario