{"id":1824,"date":"2017-12-05T20:27:59","date_gmt":"2017-12-06T02:27:59","guid":{"rendered":"http:\/\/blografia.net\/vicm3\/?p=1824"},"modified":"2017-12-07T10:44:14","modified_gmt":"2017-12-07T16:44:14","slug":"visualizacion-de-trabajo-distribuido","status":"publish","type":"post","link":"https:\/\/blografia.net\/vicm3\/2017\/12\/visualizacion-de-trabajo-distribuido\/","title":{"rendered":"Visualizaci\u00f3n de trabajo distribuido"},"content":{"rendered":"<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">Hace mucho tiempo vi una visualizaci\u00f3n de como se desarrolla Moodle [0], lo cual es muy interesante, de hecho me pareci\u00f3 tan interesante que le dedique un rato a eso y cree un par de visualizaciones de proyectos en los que estaba trabajando o a los que tenia acceso con gource [1] y hasta me sent\u00ed tentado a probar la versi\u00f3n para logs de servidores [2], pero ya no me dio tiempo hoy que estaba buscando un correo de otra cosa d\u00ed con mi mensaje en su momento, aqu\u00ed lo reproduzco.<\/span><\/p>\n<blockquote>\n<p class=\"western\" align=\"left\">from: Victor Martinez<br \/>\nto: yoreme<br \/>\ndate: Sun, Nov 11, 2012 at 2:33 PM<br \/>\nsubject: Visual representation of yoreme repo<\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">Recently one Moodle developer posted one nice video about the history of Moodle via the actions on the code repository, well, after three days playing with the tool (gource) I finally got one myself from our own repo&#8230; I will not enter too much in details but each second passes a day and if there is not activity in a second skip to the next activity (let&#8217;s say we skip the time the repo is idle or without modifications) in any case its interesting to watch is a 75MB ogv and only last 2 minutes, but hey! the original output was 17.5GB. Here is the link <a class=\"western\" href=\"http:\/\/vic.jerx.net\/yoreme.ogv\">http:\/\/vic.jerx.net\/yoreme.ogv<\/a><\/span><\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">Making takes lots of cpu and hdspace, as you need first to pipe all images to disk and then compress&#8230; I just noticed that forgot to link the page for the package gource [1] there are very good examples on their wiki to use it, on Debian you may need to change codecs I used, also you need first to get a log from the repo you want to visualize its well documented, if you only want to see the video is very easy, if you want to write it to disk I have done this:<\/span><\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">gource yoreme.log &#8211;seconds-per-day 1 &#8211;camera-mode overview &#8211;auto-skip-seconds 1 -o yoreme.ppm<\/span><\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">and then<\/span><\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i yoreme.ppm -crf 1 -bf 0 -b 5000k yoreme.ogv<\/span><\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">As Debian don&#8217;t have some of the libs and codecs mentioned in the gource page, also gource exists as Debian package.<\/span><\/p>\n<\/blockquote>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">El d\u00eda de hoy Debian incluye muchas m\u00e1s cosas sobre gource y ffmpeg y tambi\u00e9n mi CPU en casa es mucho m\u00e1s r\u00e1pido por lo mismo estoy haciendo uno de <a href=\"http:\/\/planetalinux.org\">planetalinux<\/a> [3] que probablemente termine en youtube dependiendo del tama\u00f1o del archivo, si quieren ustedes probar, que hoy en d\u00eda es bastante f\u00e1cil, simplemente instalando gource.<\/span><\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">gource planetalinux\/ -f &#8211;auto-skip-seconds 1 \u2013seconds-per-day 1<\/span><\/p>\n<p class=\"western\" align=\"left\"><span style=\"font-family: 'Liberation Serif', serif;\">Es decir que cree la visualizaci\u00f3n de planetalinux en pantalla completa, se salte cuando no haya actividad en un segundo y que cada segundo presente un d\u00eda\u2026 lo cual con todo es largo, mhhh tendr\u00e9 que subir el resultado de la oficina 2.2GB no es algo que en DSL con 383kbs sea placentero subir.<\/span><\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/kwA-yfVXnuk?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=es-ES&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n<p align=\"left\">La encantaci\u00f3n fue:<\/p>\n<p align=\"left\">gource -1280&#215;720 &#8211;auto-skip-seconds 1 &#8211;seconds-per-day .09 &#8211;stop-at-end -o &#8211; | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i &#8211; -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 planeta.mp4<\/p>\n<p align=\"left\">Archivo fuente 2.2 GB <a href=\"https:\/\/blografia.net\/vicm3\/data\/files\/planeta.mp4\">Planeta.mp4<\/a><\/p>\n<p>[0]\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=Ut5JoqIaUHs\">https:\/\/www.youtube.com\/watch?v=Ut5JoqIaUHs<br \/>\n<\/a>[1] <a href=\"http:\/\/gource.io\/\">http:\/\/gource.io\/<\/a><br \/>\n[2] <a href=\"http:\/\/logstalgia.io\/\">http:\/\/logstalgia.io\/<\/a><span style=\"font-family: 'Liberation Serif',serif;\"><br \/>\n[3] <a href=\"http:\/\/planetalinux.org\">http:\/\/planetalinux.org<\/a><br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hace mucho tiempo vi una visualizaci\u00f3n de como se desarrolla Moodle [0], lo cual es muy interesante, de hecho me pareci\u00f3 tan interesante que le dedique un rato a eso y cree un par de visualizaciones de proyectos en los &hellip; <a href=\"https:\/\/blografia.net\/vicm3\/2017\/12\/visualizacion-de-trabajo-distribuido\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3,10,8,6],"tags":[761,101,312,150,759,100,50,762,151,760],"class_list":["post-1824","post","type-post","status-publish","format-standard","hentry","category-general","category-planetalinux","category-sysadmin","category-trabajo","tag-cvs","tag-debian","tag-dev","tag-git","tag-gource","tag-linux","tag-moodle","tag-planetalinux-org","tag-svn","tag-visualizacion"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1691,"url":"https:\/\/blografia.net\/vicm3\/2016\/11\/automagic-moodle-update\/","url_meta":{"origin":1824,"position":0},"title":"Automagic Moodle update","author":"vicm3","date":"14 noviembre, 2016","format":false,"excerpt":"Well its monday so semi auto magic roll of patches on CentOS via yum-cron on Debian broken for some dumb and strong firewall rules but applied via unattended updates now done through a ssh tunnel using tsocks, been thinking on create a permanent tunnel or one based on apt.conf and\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":752,"url":"https:\/\/blografia.net\/vicm3\/2010\/10\/on-the-debian-upgrade-for-moodle-to-1-8-13-miss-profile-pics-i-found-this\/","url_meta":{"origin":1824,"position":1},"title":"Miss the profile pics when upgrading Moodle to 1.8.13 on Debian?  I found this","author":"vicm3","date":"12 octubre, 2010","format":false,"excerpt":"On the upgrade from 1.8.2 to 1.8.13 the way \/var\/lib\/moodle profile pics where handle changed in a subtle way. From users\/x to user\/0 user\/1000 user\/2000 this is a very good idea, but I can't find info about it on README.Debian or any other documentation, would be nice to add to\u2026","rel":"","context":"En \u00abEducaci\u00f3n\u00bb","block_context":{"text":"Educaci\u00f3n","link":"https:\/\/blografia.net\/vicm3\/category\/educacion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":922,"url":"https:\/\/blografia.net\/vicm3\/2012\/06\/the-sorry-state-of-moodle-on-debian\/","url_meta":{"origin":1824,"position":2},"title":"The sorry state of Moodle on Debian","author":"vicm3","date":"7 junio, 2012","format":false,"excerpt":"Well, yes I know, for starters i would be involved on the -team for Moodle, but it bug me out that the important security fixes takes really time to get out to stable, yes I know some are not that severe, but also 1.9.x that is currently on Stable (squeezy)\u2026","rel":"","context":"En \u00abEducaci\u00f3n\u00bb","block_context":{"text":"Educaci\u00f3n","link":"https:\/\/blografia.net\/vicm3\/category\/educacion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2259,"url":"https:\/\/blografia.net\/vicm3\/2020\/09\/como-actualizo-moodle-a\/","url_meta":{"origin":1824,"position":3},"title":"\u00bfComo actualizo Moodle a?","author":"vicm3","date":"15 septiembre, 2020","format":false,"excerpt":"Lo voy a poner en mi p\u00e1gina https:\/\/docs.moodle.org\/39\/en\/Upgrading_FAQ#How_do_I_upgrade_from_1.9.x_to_3.9.3F porque si es muy frecuente la pregunta: How do I upgrade from 1.9.x to 3.9? 1.x -> 1.9.19+ -> 2.2.11 -> 2.7.20 -> 3.2.9 -> 3.9 (It is better to upgrade to latest current stable before going to next branch, the same\u2026","rel":"","context":"En \u00absysadmin\u00bb","block_context":{"text":"sysadmin","link":"https:\/\/blografia.net\/vicm3\/category\/sysadmin\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1300,"url":"https:\/\/blografia.net\/vicm3\/2014\/03\/de-documentacion-malentendidos-y-rollo-es-decir-moodle\/","url_meta":{"origin":1824,"position":4},"title":"De documentaci\u00f3n, malentendidos y rollo es decir Moodle","author":"vicm3","date":"29 marzo, 2014","format":false,"excerpt":"Bueno originalmente andaba un poco frustrado, pero ya d\u00e1ndole un poco de distancia vale de todas formas la aclaraci\u00f3n por ah\u00ed hace unos d\u00edas fui a un seminario, quien estaba hablando es un experto en Moodle y efectivamente tiene mucha experiencia en \u00e1mbitos que yo no manejo y me congratulo\u2026","rel":"","context":"En \u00abEducaci\u00f3n\u00bb","block_context":{"text":"Educaci\u00f3n","link":"https:\/\/blografia.net\/vicm3\/category\/educacion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1537,"url":"https:\/\/blografia.net\/vicm3\/2016\/01\/bits-of-code-php-and-self-signed-cert-on-moodle\/","url_meta":{"origin":1824,"position":5},"title":"Bits of code, php and self signed cert on Moodle","author":"vicm3","date":"22 enero, 2016","format":false,"excerpt":"And a hack, if you happen to have a Moodle 2.6.x with phpmailer old library and you had php5.6.x you may find if you use ssl\/tls to send mail that now php is strictier with self signed certificates, well there are good documentation on php.net about [1] and [2] but\u2026","rel":"","context":"En \u00abEducaci\u00f3n\u00bb","block_context":{"text":"Educaci\u00f3n","link":"https:\/\/blografia.net\/vicm3\/category\/educacion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/1824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/comments?post=1824"}],"version-history":[{"count":0,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/1824\/revisions"}],"wp:attachment":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/media?parent=1824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/categories?post=1824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/tags?post=1824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}