<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jj&#039;s blog</title>
	<atom:link href="https://jj.isgeek.net/feed/" rel="self" type="application/rss+xml" />
	<link>https://jj.isgeek.net</link>
	<description></description>
	<lastBuildDate>Fri, 02 Feb 2018 01:54:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>How to reset file input with VueJS</title>
		<link>https://jj.isgeek.net/2018/02/how-to-reset-file-input-with-vuejs/</link>
		<comments>https://jj.isgeek.net/2018/02/how-to-reset-file-input-with-vuejs/#respond</comments>
		<pubDate>Fri, 02 Feb 2018 01:54:56 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[Forgot to categorize]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1129</guid>
		<description><![CDATA[It took me a while of digging to find how to do this. Turns out that you have to resort to using your component&#8217;s `$refs` and then you have access to your HTML object. In your template: &#60;input type="file" ref="myFileInput"/&#62; In your component&#8217;s method: this.$refs.myFileInput.value = '';]]></description>
				<content:encoded><![CDATA[<p>It took me a while of digging to find how to do this.</p>
<p>Turns out that you have to resort to using your component&#8217;s `$refs` and then you have access to your HTML object.</p>
<p>In your template:</p>
<pre>&lt;input type="file" ref="myFileInput"/&gt;</pre>
<p>In your component&#8217;s method:</p>
<pre>this.$refs.myFileInput.value = '';</pre>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2018/02/how-to-reset-file-input-with-vuejs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Http2 and SSL enabled</title>
		<link>https://jj.isgeek.net/2017/06/http2-and-ssl-enabled/</link>
		<comments>https://jj.isgeek.net/2017/06/http2-and-ssl-enabled/#respond</comments>
		<pubDate>Sun, 18 Jun 2017 08:00:46 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1121</guid>
		<description><![CDATA[I&#8217;m hosting this on Linode running Ubuntu and Nginx and I followed this tutorial at Digital Ocean which was damn simple to go through. Letsencrypt is making things super easy to get SSL everywhere. After finishing the setup (15m later) I found that the domain jj.isgeek.net had the &#8220;Unsecure&#8221; icon on the URL bar. Turns &#8230;]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m hosting this on Linode running Ubuntu and Nginx and I followed this tutorial at <a href="https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04">Digital Ocean</a> which was damn simple to go through.</p>
<p><a href="https://letsencrypt.org/">Letsencrypt</a> is making things super easy to get SSL everywhere.</p>
<p>After finishing the setup (15m later) I found that the domain <code>jj.isgeek.net</code> had the &#8220;Unsecure&#8221; icon on the URL bar. Turns out that some resources (the Stackoverflow widget) were being fetched from HTTP, so I just edited those to use their HTTPS coutnerparts (thankfully available) and I got the green padlock <img src="https://s.w.org/images/core/emoji/2.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>When first installing it I forgot to add both domains to the initial <code>certbot</code> command. I had to use the <code>--expand</code> argument in the same command to add the extra domain.</p>
<p>Also, note <a href="https://github.com/letsencrypt/boulder/issues/1225#issuecomment-175963980">this bug about using underscore in subdomains</a>. <strong>You won&#8217;t be able to use Letsencrypt if your subdomain contains an underscore</strong>!</p>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2017/06/http2-and-ssl-enabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download failed.: Could not resolve host: downloads.wordpress.org</title>
		<link>https://jj.isgeek.net/2017/06/download-failed-could-not-resolve-host-downloads-wordpress-org/</link>
		<comments>https://jj.isgeek.net/2017/06/download-failed-could-not-resolve-host-downloads-wordpress-org/#respond</comments>
		<pubDate>Sat, 17 Jun 2017 00:23:25 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[Forgot to categorize]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1117</guid>
		<description><![CDATA[I just ran into this problem when trying to use the Auto Update feature of WordPress. I could Ping from the server&#8217;s terminal to downloads.wordpress.org without problems, but the WordPress app could not. I resolved it by restarting the PHP service, it looks like it had stale DNS records and they&#8217;ve been changed at OS &#8230;]]></description>
				<content:encoded><![CDATA[<p>I just ran into this problem when trying to use the Auto Update feature of WordPress.</p>
<p>I could Ping from the server&#8217;s terminal to <code>downloads.wordpress.org</code> without problems, but the WordPress app could not.</p>
<p>I resolved it by restarting the PHP service, it looks like it had stale DNS records and they&#8217;ve been changed at OS level by my VPS provider so a restart forced the update of them and got it to work.</p>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2017/06/download-failed-could-not-resolve-host-downloads-wordpress-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The problem with Telemetry</title>
		<link>https://jj.isgeek.net/2017/06/the-problem-with-telemetry/</link>
		<comments>https://jj.isgeek.net/2017/06/the-problem-with-telemetry/#respond</comments>
		<pubDate>Sat, 17 Jun 2017 00:04:37 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1114</guid>
		<description><![CDATA[I was just reading through a couple of bugs that removed features or about:config settings that I used and now they&#8217;re gone. The argument always being that &#8220;most users don&#8217;t use it&#8221; which is backed by Telemetry data. Telemetry puts all Firefox users together, so us, the Firefox hardcore users that learned to love it &#8230;]]></description>
				<content:encoded><![CDATA[<p>I was just reading through a couple of bugs that removed features or about:config settings that I used and now they&#8217;re gone.</p>
<p>The argument always being that &#8220;most users don&#8217;t use it&#8221; which is backed by <a href="https://wiki.mozilla.org/Telemetry">Telemetry data</a>.</p>
<p>Telemetry puts all Firefox users together, so us, the Firefox hardcore users that learned to love it by tweaking it to our preference will never be considered for feature decisions, because Telemetry will always play against us.</p>
<p>I&#8217;m learning that driving the decisions by clumping all user data together is alienating the diehard users and evangelists because they will not be seen in the statistics.</p>
<p>So, yeah, Firefox does not show that it cares about expert users in making their decisions, which seems like a big oversight from them, maybe because I&#8217;m biased, but I think that we&#8217;re the loud Firefox users that make the &#8220;community&#8221; that they so much brag about, but they make their decisions on &#8220;users without extensions&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2017/06/the-problem-with-telemetry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Por qué dejamos de jugar?: La ciencia detrás de ir de jugar con figuras a coleccionarlas</title>
		<link>https://jj.isgeek.net/2017/06/por-que-dejamos-de-jugar/</link>
		<comments>https://jj.isgeek.net/2017/06/por-que-dejamos-de-jugar/#respond</comments>
		<pubDate>Thu, 01 Jun 2017 05:57:33 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1093</guid>
		<description><![CDATA[La siguiente es una traducción del artículo escrito por Denny Watkins en Blastr.com: &#8220;Why we stop playing: The science behind moving from playing with toys to collecting them&#8221; hecha por mí. Tengo una memoria muy particular, un poco borrosa, sobre la última vez que jugué con mis juguetes de la infancia. Tenía entre 11 or &#8230;]]></description>
				<content:encoded><![CDATA[<p><img src="http://jj.isgeek.net/uploads/2017/06/Big-Robot-Building-1024x512.jpg" alt="Big-Robot-Building" width="700" height="350" class="aligncenter size-large wp-image-1097" srcset="https://jj.isgeek.net/uploads/2017/06/Big-Robot-Building-1024x512.jpg 1024w, https://jj.isgeek.net/uploads/2017/06/Big-Robot-Building-300x150.jpg 300w, https://jj.isgeek.net/uploads/2017/06/Big-Robot-Building-768x384.jpg 768w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>La siguiente es una traducción del artículo escrito por <a href="https://twitter.com/dennywatkins">Denny Watkins</a> en <a href="http://www.blastr.com">Blastr.com</a>: &#8220;<strong><a href="http://www.blastr.com/2016-11-18/why-we-stop-playing-science-behind-moving-playing-toys-collecting-them">Why we stop playing: The science behind moving from playing with toys to collecting them</a></strong>&#8221; hecha por mí.</p>
<hr />
<p>Tengo una memoria muy particular, un poco borrosa, sobre la última vez que jugué con mis juguetes de la infancia. Tenía entre 11 or 12 años, quizás un poco menor, ya era un tiempo desde la última vez que saqué mis G.I. Joes, mis Transformers or mis Tortugas Ninja. Así que fuí a la alfombra marrón frente al televisor, en el sótano de mis padres, como había hecho probablemente mil veces antes, vacié mi caja de juguetes y comencé a jugar.</p>
<p>Excepto que inmediatamente noté algo raro. Leonardo y Destro y Optimus Prime ya no se veian tan vivos como antes. Verlos tirados en el piso, no podía conjurar ni una tonta historia sobre ellos, y no me provocaba organizar pequeñas batallas como antes con todos alineados con sus vehículos. Mis figuras simplemente dejaron de ser divertidas, recuerdo sentirme muy solo.</p>
<p>Probablemente has tenido una experiencia similar en tu niñez. Nos gusta pensar que es parte de crecer, de abandonar las cosas de niños. Pero es dificil discutir que realmente abandonamos a los personajes que amamos en nuestra juventud. Después de todo, la larga cadena de exitosas películas de Marvel, las menos exitosas de DC, la nueva saga de Star Wars (sin mencionar las docenas de otros reboots) deben mucho al hecho que sus audiencias conocían a estas franquicias cuando eran niños. Y por supuesto, hay un gran nivel de interés en los adultos en juguetes y memorabilia &#8212; antigua y nueva &#8212; que venimos mencionando en <a href="http://www.blastr.com/tags/collectibles-month">Blastr todo el mes</a>.</p>
<p>&#8220;¿Dejamos de jugar con nuestros juguetes? O es que cambiamos los juguetes con los que jugamos?&#8221; dice Scott Eberie, Ph.D., vice presidente de estudios del hyegi en &#8220;The Strong National Museum of Play&#8221; y editor de &#8220;American Journal of Play&#8221;. &#8220;Que de los cohetes, carros, circuitos y radiotelescopios? nuestra actitud hacia el juego cambia hacia los instrumentos, y nuestros juguetes se vuelven mas especializados y complejos.&#8221;</p>
<p>Retrocedamos y hablemos de por que jugamos con juguetes en primer lugar. Jean Piaget, Psicologo suizo de Twentieth-Century, desarrolló la teoría que el desarrollo cognitivo de los niños se separa en cuatro etapas. Aprendemos lo básico de interacciones con el mundo cuando somos bebés y de ahí desarrollamos progresivamente razonamiento más sofisticado y pensamiento abstracto al entender las relaciones entre nosotros, los demás y los objetos que nos rodean.</p>
<p>Nuestros juguetes nos ayudan a desarrollar esas etapas, pero sirven diferentes funciones en cada una de ellas. Al principio, un león de peluche es sólo un león de peluche, pero luego, una pieza de duplo verde puede representar a la figura de Hulk que no tienes, y luego armar historias con tus juguetes. &#8220;Ves a estos niños inventar historias elaboradas, salvajes y divertidas, por que tienen estas nuevas habilidades para juego simbólico e interactivo&#8221; dice Travis Langley, Ph.D, profesor de psicología en Henderson State University y autor de Batman y la Psicología.</p>
<p>Un creciente grupo de investicación ha observado cómo el juego facilita tipos de aprendizaje y pensamiento creativo que puede ser perdido en un día de colegio lleno de tablas de multiplicar y pruebas de deletreo. &#8220;Es la posibilidad de crear nuevas ideas&#8221; dice Hillay Conklin, Ph.D., profesora de educación en DePaul University, quien ha investigado el uso del juego para mejorar los salones de primaria. &#8220;Si te pones a pensar en cómo sucede la innovación, es combinando mundos y experimentando&#8221;. Que es otra forma de decir, no estaba mal que combines las figuras donde Batman se pelea con Hulk Hogan o Capitan Kirk se muda con Barbie.</p>
<p>El hecho de que muchos de nuestros juguetes estén basados en series de televisión y películas (y ocasionalmente un libro que se volverá película) ayuda a desarrollar ciertas formas de pensar. Desde narrativas pre existentes, podemos usar nuestros juguetes para inventar nuevas historias que saquen a los personajes de sus roles predefinidos &#8212; Quizas el malo gana al final, o el bueno y el malo se vuelven amigos.</p>
<p><img src="http://jj.isgeek.net/uploads/2017/06/DSC06310-365AD0DE-web-IgqbiE-1024x489.jpg" alt="Juguetes olvidados por décadas" width="700" height="334" class="aligncenter size-large wp-image-1102" srcset="https://jj.isgeek.net/uploads/2017/06/DSC06310-365AD0DE-web-IgqbiE-1024x489.jpg 1024w, https://jj.isgeek.net/uploads/2017/06/DSC06310-365AD0DE-web-IgqbiE-300x143.jpg 300w, https://jj.isgeek.net/uploads/2017/06/DSC06310-365AD0DE-web-IgqbiE-768x367.jpg 768w, https://jj.isgeek.net/uploads/2017/06/DSC06310-365AD0DE-web-IgqbiE.jpg 1200w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Cuando estamos en el apogeo de la pubertad en la adolescencia, suceden varios cambios psicológicos a la vez que hacen nuestras figuras de acción favoritas menos interesantes. Por un lado, de repente nos interesa tener novio o novia. Fuera de esas relaciones pre-adolescentes, nuestras relaciones con amigos se vuelven mucho más sociales que antes. Por primera vez, sentarse en el sótano jugando con juguetes no puede competir con simplemente salir con tus amigos. (Lo cual explica por que me sentí tan solo el día que mis juguetes dejaron de divertirme).</p>
<p>Además estas en una etapa de desarrollo que Piaget llama &#8220;Etapa formal operacional&#8221;, donde puedes usar lógica compleja, no tan sólo que A causa B, pero también, que B causa C y C causa D que puede relacionarse con B. Has mejorado la capacidad de tener pensamientos abstractos. &#8220;Tu cerebro se pone en el camino de disfrutar el bendito juguete&#8221;, dice Langley.</p>
<p>No quiere decir que eras menos imaginativo en la adolescencia, de hecho todo lo opuesto. &#8220;En esta etapa no necesitas objetos concretos para representar lo que estabas pensando&#8221; agrega Langley. Quizás esos fueron los años donde comenzaste a escribir historias. O el lado artístico de tí comenzó a dibujar personajes originales con historias y motivos rebuscados.</p>
<p>Aún en la adultez, los juguetes de nuestra niñez continúan teniendo un rol en nuestras vidas. Todavía tengo todos mis juguetes de Star Wars, una colección pequeña. Compré el X-wing negro de Poe Dameron el año pasado y está en mi escritorio todavía en su caja. Quizás tienes una repisa llena de He-Man en sus blisters sin abrir, o todos los superheroes de Marvel en Lego en vitrina. Eso cuenta como una forma de juego?</p>
<p>La respuesta, resulta que es &#8220;Sí&#8221;. &#8220;El juego en coleccionar no viene del objeto sentado en la repisa, sino de la búsqueda, la negociación, conocimiento sobre el tema y el suspenso antes de completar la colección, lo cual nunca sucede&#8221; dice Eberie. También hay un componente social, vas a convenciones a buscar los siguientes miembros de tu colección, pero además a hacer amigos que tienen la misma pasión.</p>
<p>Eso va para cualquier tipo de colección, desde Arte americano hasta tarjetas de Baseball. Cuando coleccionamos los juguetes que teníamos de niños, nos ayuda a mentener vínculos con el juguetón e imaginativo que solíamos ser. &#8220;No es sólo sobre las cosa que tenemos, es sobre la coneccíon con quien eramos y el niño que alguna vez jugó con esto&#8221;, dice Langley, agregando que él muestra una colección de 130 batimóviles en su oficina en el campus.</p>
<p>Quizás veas que incluso como adulto, tus juguetes te ayudan a tener esa chispa de inspiración o encontrar una solución creativa a probelmas. Mientras nos metemos en video juegos que nos dejan experimentar todo tipo de experiencias novedosas en mundos digitales, podrías estar ganando algo totalmente distinto si maniobras manualmente tus figuras Mecha.</p>
<p>&#8220;Creo que no deberías simplemente comprarlo, deberías jugar con él, ya que es por medio de la interacción que se crea el conocimiento&#8221;, dice Conklin. &#8220;Por qué no tener un almuerzo de figuras de acción?&#8221;.</p>
<p>Y en esta nota, gentilmente abro el X-wing de Poe Dameron de su caja por primer avez. (No surgan por mí coleccionistas serios, no lo compré por su valor futuro). Es un sólido modelo de metal y más pesado de lo que esperaba. No estoy seguro si pretender una pelea de naves en mi oficina ayude a ser mas creativo o productivo, pero sólo hay una manera de averiguar.</p>
<p><img src="http://jj.isgeek.net/uploads/2017/06/DSC06311-CE1322B4-web-oXtibU.jpg" alt="Ultra Magnus G1" width="800" height="968" class="aligncenter size-full wp-image-1105" srcset="https://jj.isgeek.net/uploads/2017/06/DSC06311-CE1322B4-web-oXtibU.jpg 800w, https://jj.isgeek.net/uploads/2017/06/DSC06311-CE1322B4-web-oXtibU-248x300.jpg 248w, https://jj.isgeek.net/uploads/2017/06/DSC06311-CE1322B4-web-oXtibU-768x929.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></p>
<hr />
<p>Personalmente, los últimos años, tal cual dice el artículo comencé a reconstruir mi colección de Transformers. Puedes verla en <a href="https://www.lostlight.net/@jj/">Lostlight.net</a></p>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2017/06/por-que-dejamos-de-jugar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Almost Photon on Nightly</title>
		<link>https://jj.isgeek.net/2017/05/almost-photon-on-nightly/</link>
		<comments>https://jj.isgeek.net/2017/05/almost-photon-on-nightly/#respond</comments>
		<pubDate>Wed, 31 May 2017 01:35:20 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1087</guid>
		<description><![CDATA[I use Firefox Nightly (2017-05-30) and Photon has been teasing us for quite a while. Turns out that only a few changes are needed to get a pretty close look. I achieved this enabling the Compact Light theme and adding these rules on my userChrome.css. I only tested this on Linux. #TabsToolbar .tab-content { color: &#8230;]]></description>
				<content:encoded><![CDATA[<p>I use <a href="https://www.mozilla.org/en-US/firefox/nightly/all/">Firefox Nightly</a> (2017-05-30)  and <a href="https://www.ghacks.net/2017/05/14/firefox-57-new-photon-design-screenshots/">Photon</a> has been teasing us for quite a while.</p>
<p>Turns out that only a few changes are needed to get a pretty close look.</p>
<p><img src="http://jj.isgeek.net/uploads/2017/05/captura_20170530-202937-1024x705.png" alt="Photon look" width="700" height="482" class="aligncenter size-large wp-image-1088" srcset="https://jj.isgeek.net/uploads/2017/05/captura_20170530-202937-1024x705.png 1024w, https://jj.isgeek.net/uploads/2017/05/captura_20170530-202937-300x207.png 300w, https://jj.isgeek.net/uploads/2017/05/captura_20170530-202937-768x529.png 768w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>I achieved this enabling the <em>Compact Light theme</em> and adding these rules on my <code>userChrome.css</code>. I only tested this on Linux.</p>
<pre>
#TabsToolbar .tab-content {
    color: white !important;
}
toolbar:-moz-lwtheme#TabsToolbar, #tabbrowser-tabs,
#TabsToolbar .scrollbutton-up,
#TabsToolbar .scrollbutton-down,
#TabsToolbar {
    background: #23327A !important;                                        
    -moz-appearance: unset !important;
} 

</pre>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2017/05/almost-photon-on-nightly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redis &#8211; Failed opening .rdb for saving: Permission denied</title>
		<link>https://jj.isgeek.net/2017/02/redis-failed-opening-rdb-for-saving-permission-denied/</link>
		<comments>https://jj.isgeek.net/2017/02/redis-failed-opening-rdb-for-saving-permission-denied/#respond</comments>
		<pubDate>Sat, 25 Feb 2017 05:40:10 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1084</guid>
		<description><![CDATA[Failed opening .rdb for saving: Permission denied This was the error I saw on my redis database when it started to fail. What was mysterious is that the logs showed that the database was working fine for a while and then it stopped working. [19728] 24 Feb 15:22:04.247 * DB loaded from disk: 12.650 seconds &#8230;]]></description>
				<content:encoded><![CDATA[<pre>
Failed opening .rdb for saving: Permission denied
</pre>
<p>This was the error I saw on my redis database when it started to fail. What was mysterious is that the logs showed that the database was working fine for a while and then it stopped working.</p>
<pre>
[19728] 24 Feb 15:22:04.247 * DB loaded from disk: 12.650 seconds
[19728] 24 Feb 15:22:04.248 * The server is now ready to accept connections on port 6379
[19728] 24 Feb 15:26:52.093 * 10 changes in 300 seconds. Saving...
[19728] 24 Feb 15:26:52.116 * Background saving started by pid 20189
[20189] 24 Feb 15:27:08.855 * DB saved on disk
[20189] 24 Feb 15:27:08.874 * RDB: 0 MB of memory used by copy-on-write
[19728] 24 Feb 15:27:08.967 * Background saving terminated with success
[19728] 24 Feb 15:32:09.045 * 10 changes in 300 seconds. Saving...
[19728] 24 Feb 15:32:09.073 * Background saving started by pid 20815
[20815] 24 Feb 15:32:23.947 * DB saved on disk
[20815] 24 Feb 15:32:23.964 * RDB: 1 MB of memory used by copy-on-write
[19728] 24 Feb 15:32:24.076 * Background saving terminated with success
[19728] 24 Feb 15:34:50.542 # Failed opening .rdb for saving: Permission denied
[19728] 24 Feb 15:34:50.543 # Failed opening .rdb for saving: Permission denied
</pre>
<p>Why was my .rdb file changing permissions out of the sudden? Looking at several solutions on Stackoverflow pointed to a bad configuration but that would have caused the problem at start up, not for redis to start working and then suddenly change file permissions.</p>
<p>My problem was that I had 2 <code>redis-server</code> instances running with different users! I had started off a daemonized server from shell with <code>root</code> user and then I had the normal service running with the <code>redis</code> user.</p>
<p>This caused that when the server running with root had to write to the file it left it with root ownership and the next time that the redis user instance wanted to write it failed.</p>
<p>The solution was simple, to just kill the root owned process.</p>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2017/02/redis-failed-opening-rdb-for-saving-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>His name is 4</title>
		<link>https://jj.isgeek.net/2016/10/his-name-is-4/</link>
		<comments>https://jj.isgeek.net/2016/10/his-name-is-4/#respond</comments>
		<pubDate>Thu, 06 Oct 2016 02:10:59 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[Forgot to categorize]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1074</guid>
		<description><![CDATA[Goodbye my little buddy. We had a great time together. You really had a good run for 17yrs and gave me all a pet can give. I couldn&#8217;t have asked for a better companion. I miss you. I love you. Thank you for sharing your life with me. Rip 4.]]></description>
				<content:encoded><![CDATA[<p><img src="http://jj.isgeek.net/uploads/2016/10/DSC06594-70BABCAA-web-ZJjflf-1024x683.jpg" alt="DSC06594-70BABCAA--web-ZJjflf" width="700" height="467" class="aligncenter size-large wp-image-1075" srcset="https://jj.isgeek.net/uploads/2016/10/DSC06594-70BABCAA-web-ZJjflf-1024x683.jpg 1024w, https://jj.isgeek.net/uploads/2016/10/DSC06594-70BABCAA-web-ZJjflf-300x200.jpg 300w, https://jj.isgeek.net/uploads/2016/10/DSC06594-70BABCAA-web-ZJjflf-768x512.jpg 768w, https://jj.isgeek.net/uploads/2016/10/DSC06594-70BABCAA-web-ZJjflf.jpg 1200w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Goodbye my little buddy. We had a great time together. You really had a good run for 17yrs and gave me all a pet can give. I couldn&#8217;t have asked for a better companion. </p>
<p>I miss you. </p>
<p>I love you. </p>
<p>Thank you for sharing your life with me.</p>
<p>Rip 4.</p>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2016/10/his-name-is-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling Xtitle, not that xtitle</title>
		<link>https://jj.isgeek.net/2016/09/compiling-xtitle-not-that-xtitle/</link>
		<comments>https://jj.isgeek.net/2016/09/compiling-xtitle-not-that-xtitle/#respond</comments>
		<pubDate>Sat, 03 Sep 2016 21:52:00 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[Forgot to categorize]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1069</guid>
		<description><![CDATA[I just switched to use i3blocks for my i3 bar. I found this post on how to set the active window title that uses xtitle. Not to be confused with ubuntu&#8217;s apt xtitle which sets the window title. This different utility is to **read** the window title. It comes with a handy Makefile, but I &#8230;]]></description>
				<content:encoded><![CDATA[<p>I just switched to use <a href="https://github.com/vivien/i3blocks">i3blocks</a> for my <a href="https://i3wm.org/">i3 bar</a>. I found <a href="https://bfgeshka.wordpress.com/2014/11/16/howto-showing-a-title-of-focused-window-in-bar-i3wm/">this post on how to set the active window title</a> that <a href="https://github.com/baskerville/xtitle">uses xtitle</a>. Not to be confused with<a href="http://packages.ubuntu.com/source/precise/utils/xtitle"> ubuntu&#8217;s apt xtitle</a> which sets the window title. This different utility is to **read** the window title.</p>
<p>It comes with a handy Makefile, but I didn&#8217;t have the dependencies to get it compiled. These are the Ubuntu packages I needed to install:</p>
<pre>
libxcb-icccm4-dev 
libxcb-ewmh2
libxcb-util-dev 
libxcb1-dev  
</pre>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2016/09/compiling-xtitle-not-that-xtitle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boto can&#8217;t connect to bucket names with &#8216;.&#8217; dot</title>
		<link>https://jj.isgeek.net/2016/08/boto-cant-connect-to-bucket-names-with-dot/</link>
		<comments>https://jj.isgeek.net/2016/08/boto-cant-connect-to-bucket-names-with-dot/#respond</comments>
		<pubDate>Wed, 31 Aug 2016 03:42:04 +0000</pubDate>
		<dc:creator><![CDATA[Jj]]></dc:creator>
				<category><![CDATA[Forgot to categorize]]></category>

		<guid isPermaLink="false">http://jj.isgeek.net/?p=1063</guid>
		<description><![CDATA[This is the long issue with tons of options on how to make it work: Can&#8217;t use bucket names with dots #2836 &#8211; https://github.com/boto/boto/issues/2836 This is what worked for me: conn = boto.s3.connect_to_region( boto.s3.connection.Location.USWest2, aws_access_key_id=AWS_ACCESS_KEY_ID, aws_secret_access_key=AWS_ACCESS_KEY_SECRET, calling_format=boto.s3.connection.OrdinaryCallingFormat() ) Have to use connect_to_region and pass in the region where you created your bucket and use the &#8230;]]></description>
				<content:encoded><![CDATA[<p>This is the long issue with tons of options on how to make it work:</p>
<p><a href="https://github.com/boto/boto/issues/2836">Can&#8217;t use bucket names with dots #2836 &#8211; https://github.com/boto/boto/issues/2836</a></p>
<p>This is what worked for me:</p>
<p><code><br />
    conn = boto.s3.connect_to_region(<br />
        boto.s3.connection.Location.USWest2,<br />
        aws_access_key_id=AWS_ACCESS_KEY_ID,<br />
        aws_secret_access_key=AWS_ACCESS_KEY_SECRET,<br />
        calling_format=boto.s3.connection.OrdinaryCallingFormat()<br />
    )<br />
</code></p>
<p>Have to use <code>connect_to_region</code> and pass in the region where you created your bucket and use the <code>OrdinaryCallingFormat</code> calling format. Otherwise I&#8217;d get the following errors:</p>
<p>Note that this is not possible to do using <code>boto.connect_s3</code>.</p>
<p>Without sending in the region:</p>
<p><code><br />
Traceback (most recent call last):<br />
...<br />
  File "/home/jj/code/site/venv/lib/python3.4/site-packages/boto/s3/connection.py", line 553, in head_bucket<br />
    response.status, response.reason, body)<br />
boto.exception.S3ResponseError: S3ResponseError: 301 Moved Permanently<br />
</code></p>
<p>Not using the right calling format (<code>boto.connect_s3</code>)</p>
<p><code><br />
Traceback (most recent call last):<br />
....<br />
    return _old_match_hostname(cert, hostname)<br />
  File "/usr/lib/python3.4/ssl.py", line 285, in match_hostname<br />
    % (hostname, ', '.join(map(repr, dnsnames))))<br />
ssl.CertificateError: hostname 'www.domain.com.s3-us-west-2.amazonaws.com' doesn't match either of 's3-us-west-2.amazonaws.com', '*.s3-us-west-2.amazonaws.com', 's3.us-west-2.amazonaws.com', '*.s3.us-west-2.amazonaws.com', 's3.dualstack.us-west-2.amazonaws.com', '*.s3.dualstack.us-west-2.amazonaws.com', '*.s3.amazonaws.com'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>https://jj.isgeek.net/2016/08/boto-cant-connect-to-bucket-names-with-dot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
