<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Andrea Lettieri on Medium]]></title>
        <description><![CDATA[Stories by Andrea Lettieri on Medium]]></description>
        <link>https://medium.com/@peorth?source=rss-f391dbefb637------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*fOyPwcQPTpmblRk6.jpg</url>
            <title>Stories by Andrea Lettieri on Medium</title>
            <link>https://medium.com/@peorth?source=rss-f391dbefb637------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 02:07:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@peorth/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using Docker with VirtualBox and Windows 10 (Part II)]]></title>
            <link>https://medium.com/@peorth/using-docker-with-virtualbox-and-windows-10-part-ii-1071aaea6949?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/1071aaea6949</guid>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[docker-image]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Mon, 17 Sep 2018 13:21:01 GMT</pubDate>
            <atom:updated>2018-09-17T13:21:01.445Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*jEEw53pvJJeYD-Ye4kKhNA.png" /><figcaption>Docker logo</figcaption></figure><p>You can find Part I of the series here: <a href="https://medium.com/@peorth/using-docker-with-virtualbox-and-windows-10-b351e7a34adc">https://medium.com/@peorth/using-docker-with-virtualbox-and-windows-10-b351e7a34adc</a></p><p>Back when I installed the Docker Toolbox for Windows 10, and using it from a VM, all I did was validate that the hello-world image actually ran. It did, so I kinda left it here.</p><p>But now I needed to run a docker image that exported a port… So I exported the port 8888, and tried to connect using:</p><blockquote><a href="http://localhost:8888/">http://localhost:8888</a></blockquote><p>from the Virtual Machine.</p><p>But that didn’t work.</p><p>The reason is that the<strong> Docker daemon is actually running on the parent host</strong>, not in <em>localhost</em>.</p><p>So what I need to do is <strong>replace localhost</strong> (which is my virtual machine local host) <strong>with the Docker host IP</strong> (in my case, it’s 192.168.99.100)</p><p><a href="http://192.168.99.100:8888/">http://192.168.99.100:8888</a></p><p>Worked perfectly!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1071aaea6949" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moving a monolith to AWS (Part I)]]></title>
            <link>https://medium.com/@peorth/moving-a-monolith-to-aws-part-i-4e2fea7430d9?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e2fea7430d9</guid>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[amazon-s3]]></category>
            <category><![CDATA[monolith]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Tue, 19 Jun 2018 17:59:02 GMT</pubDate>
            <atom:updated>2018-06-19T18:15:07.246Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HIgel0fWnkTLYzPOvPBaJA.jpeg" /><figcaption><a href="http://www.artofmtg.com/art/grim-monolith-mtgo-promo/">http://www.artofmtg.com/art/grim-monolith-mtgo-promo/</a></figcaption></figure><p>Last year, the company that I’m working for decided to embrace “cloud” tecnologies. We had to choose between Microsoft Azure and Amazon Web Services, and AWS was the winner. We started to investigate and learn the particularies of this cloud environment. We took part of the re:invent 2017, which was an AMAZING experience, and it really opened our eyes.</p><p>A part I of this story can be read at my co-worker’s <a href="https://medium.com/@ncarlinix/lessons-learned-on-migrating-to-aws-a4638541682d">article</a>, which is more focused on the infrastructure, network and services that we choose for the migration. In this article, I’m going to talk about the architecture decisions that we took to move a monolith to the AWS environment, and the plans we have to upgrade the code to make it “modern”.</p><p>A bit of background: I’m the architect of a custom CMS, which is coded in .NET Framework, in C#, using Microsoft SQL as the database layer. This product started in 2007, so as you can see (and imagine!), the architecture and decisions were <strong>VERY DIFFERENT </strong>back then. The product has been online since 2008, supporting thousands of sites, and millions of hits. We know it’s old code, but still got some air on it. It’s very customizable, we can extend it however we need/want, so it’s very easy for us to spin up new intranet, public sites or whatever we need.</p><p>When we started to think what we could move to the cloud-like environments, we found 3 pillars which were very clear points in which we could take advantage of the cloud</p><ul><li><strong>Binary files</strong>, uploaded to our Library — a repository where the images, documents and other binary-files are uploaded. This was stored in the database, as binary fields.</li><li><strong>Search engine</strong> — we were using Lucene for the search engine</li><li><strong>Reports </strong>— the reports were storing the temporary information locally (PDF, Html, images, were all stored in a temporary directory in the web server)</li><li>Bonus:<strong> CSS and image files</strong> related to the look and feel of the site — we were storing these in the local folder.</li></ul><h3>Binary Files</h3><p>This was the biggest challenge, without a single doubt. We had over 60 gigabytes of binary data inside the SQL database, and we had to move it somewhere else.</p><blockquote>The perfect storage for binary information is, of course, S3 buckets. We generated the buckets, and configured the permissions acordingly, using IAM.</blockquote><p>At first we wanted to use signed-urls, but that could cause problems with the cache, because the URLs all had a querystring parameter, and when a image contains a querystring parameter, some browsers (not giving names, but you know <em>WHO YOU ARE</em>) will ignore the cache headers and just re-request the image all the time. That could be problematic for the transfer rate. So we decided to go with regular URLs, and we’re considering adding a <a href="https://aws.amazon.com/cloudfront/">Cloudfront</a> in front of it. For now, we went without the CDN. We are using a internal handler (an ashx), so if we want to change something, we can do it “behind the curtains” without re-parsing or re-creating all the HTML in the pages.</p><p>Now that we know we want to put things in an S3 bucket, how do we do it? We can’t migrate everything the same day as the migration: it’s too much info, and takes several hours to update. If you are located in the USA, you can contact Amazon to use the <a href="https://aws.amazon.com/snowball/">Snowball</a> service: they send you a hard drive with a network plug, you put it on your network, and you export your information there. After you’re done, you contact them again, they pick it up, and they put it on a S3 bucket for you. This is a GREAT service if you have to move several terabytes of information. In our case, the libraries were not THAT big (less than 1 terabyte combined), so we created a custom migrator, which read the binary data from the field, and uploaded it to S3. We ran this on the AWS network, so the upload was pretty fast. <br>Our custom code allowed us to perform the migration in batch: we first imported 10 files, checked that everything was working as expected, then we imported 100, checked again, and when were sure, we imported the rest. The program was prepared run with lots of parameters (IE, “just import this customer’s library” “import just the files that were edited before X date” or “import just X files”). This gave us control of the QA, and also control of the final migration.</p><blockquote>One thing that you need to be aware when you are migrating is that you should <strong>never delete the source data until you are </strong>ABSOLUTELY SURE<strong> that everything was migrated correctly</strong>.</blockquote><blockquote>Deleting is the last step that you perform in a migration.</blockquote><p>In our case, we created a temporary SQL table, which stored the relation between the file id and the S3 key that was uploaded. This small change in the database allowed us to perform the migration while the application was still live, without interrupting the normal usage, and without having to do a release with a patch or change of code.</p><p>Right before “making the final switch” to the AWS server, we run the migration again, to migrate anything that changed, and then we remove the binaries from the SQL.</p><h3>Search engine</h3><p>In our application, we were using local <a href="https://lucene.apache.org/core/">Lucene</a> indexes, which were located in the file system of each server, and automatically synchronized. This worked fine, until we started to read about scaling on the cloud: if you want to perform auto-scalling (adding servers dynamically under certain parameters [for example, if CPU is above 80% for 5 mins, add 3 servers to the pool], each server needs to be <strong>pristine</strong>. This means that you can’t write ANYTHING on the file system, because you might be browsing a site on server1, and then after clicking a link on a page, you are in server65. You can’t asume that the file system is the same on server1 as in server65.</p><blockquote>At first, we wanted to implement a <a href="https://aws.amazon.com/efs/">Elastic File System</a>, which is like a shared hard drive that is accessible through all the servers. But we had a rough time with that:<strong> EFS is only available on </strong>Linux <strong>servers</strong>. We run Windows, so we had to find another solution.</blockquote><p>Amazon offers some application-as-service. What does this mean? it means that they run the service itself, and you just pay for what you use. You don’t have to have a virtual machine running something: you can just use what AWS provides (usually an endpoint). I could talk all day about the offered services, but in the case of the search, we went and pick up<a href="https://aws.amazon.com/elasticsearch-service/"> Elastic Search as a service</a>. We don’t want to run Elastic Search on our own servers in a Virtual Machine, we don’t need ANOTHER server to administer, patch and handle. So we’ll just let the heavy work on Amazon’s hands, and we just use the API to index the documents and perform the search!</p><p>The first thing we had to so is build a custom tool to re-index all the sites. This was slow, because it means that we have to initialize the index for all the sites. We took a similar aproach that the library: we loaded everything initially, and we update the different indexes as days passed by. This allowed us to have all the sites in the ES index before the final migration. When we do the cutover, we changed the source of data (instead of local Lucene, we went to ES), and it worked perfectly.</p><p>We did, however, had a small issue with the initial index: while the search is not something that is widelly used, the initial Elastic was running on a <strong>T2.Micro</strong>, and those instances uses CPU Credits. It means that, they are very very cheap (and small), but if a process uses a lot of CPU, you’ll run out of credits, and it will start to fail. We got lots of 503 errors, and we had to investigate what happened. Once we discovered that it was related to this, we quickly update it to a T2.Medium, and the problem was fixed. We had to reindex everything, tho, because changing the instance type lost the index. Something to keep in mind!</p><p>I’ll continue the series in the Part II, with Reports, CSS and, as a bonus track, some serverless candy using AWS Lambda and Simple Queue Service :) Stay tunned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e2fea7430d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Por que las enfermedades mentales nos cansan tanto?]]></title>
            <link>https://medium.com/@peorth/porque-las-enfermedades-mentales-nos-cansan-tanto-40cc21c3354b?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/40cc21c3354b</guid>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[traducciones]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[ansiedad]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Fri, 02 Feb 2018 12:11:24 GMT</pubDate>
            <atom:updated>2018-02-02T15:19:28.795Z</atom:updated>
            <content:encoded><![CDATA[<p>Este articulo estaba originalmente escrito en ingles, como una serie de threads en Twitter, y pedi permiso para traducirlo:<a href="https://twitter.com/PJ_Palits/status/954617214929223680"> https://twitter.com/PJ_Palits/status/954617214929223680</a></p><p>Permítanme explicar porque las enfermedades mentales hacen que la gente esté tan cansada. Hay altas chances de que si conoces a alguien con una enfermedad o problema mental, le hayas preguntado, o pensado “porque estas tan cansado?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*KX2qJ5eyq6VRWsPE." /></figure><p>Poca gente me pregunta si estoy bien, pero cuando mi respuesta es siempre la misma “Estoy bien, solo estoy un poco cansado” — la gente parece aceptar esa respuesta. Para mi, “Estoy cansado”, no es una queja o ser pesimista. Es simplemente un hecho.</p><p>Permitanme explicar porque una persona, que esta constantemente peleando con su propio cerebro, y contra lo que espera la sociedad de ella, se siente tan agotada. Estas son las personas cuyos cerebros están atascados en modo sobrecargado, y les cuesta muchísimo tratar de “bajar un cambio” para poder dormirse a la noche.</p><p>Para una persona “común”, le lleva 7 minutos dormirse. Imaginen arrastrarse del cansancio a la cama, y que te lleve aproximadamente una hora dormirte, en vez de 7 minutos. Cada siesta, y cada vez que se levantan al baño logra que el cerebro dilate más la posibilidad de relajarse.</p><p>Estas son las personas cuyo sueño es muy liviano, y se pasan toda la noche dando vueltas, en vez de descansar. A veces se despiertan por ruidos, dolores, o imposibilidad de dejar ciertas partes del cuerpo quietas, ruidos fuertes dentro de su cabeza, sueños lucidos, y muchísimas otras razones.</p><p>Estas son las personas que se despiertan, con suerte, un poco mas descansadas de lo que se acostaron — como si fuera una batería que se ha dañado y no puede recargarse de forma correcta. Estas son las personas que durante décadas no pueden descansar luego de un dia agotador.</p><p>Estas son las personas que ponen un inmenso esfuerzo en poner atención en una tarea que deben hacer o cumplir, mientras sus mentes trata de llevarlos por otros caminos, o incluso mientras están luchando para acordarse cuales son las tareas que tienen que hacer.</p><p>Estas son las personas con problemas de memoria, quienes — desde que fueron al colegio, hasta su adultez — no pueden recordar o seguir múltiples instrucciones, en un mundo donde simplemente se espera que lo sepan (y lo puedan) hacer.</p><p>Estas son las personas que están en guerra constante con su cerebro. Gente que está batallando con sus propios pensamientos y miedos, escuchando todos los días que su cerebro les repite que <strong>no son lo suficientemente buenos</strong>, lo <strong>suficiente fuertes</strong>, lo <strong>suficientemente flacos</strong>, que la gente los <strong>odia</strong>, o que <strong>deberían hacer las cosas mejor,</strong> solo para nombrar algunas cosas.</p><p>Estas son las personas que están en guerra constante con el juicio de otras personas, y la falta de entendimiento.</p><p>Quien escucha todo el tiempo las preguntas “Porque estás siempre cansado?” “Aguantatela, y aprende a vivir” “Tenes que tener mas disciplina” “Esta todo en tu cabeza”, “Deja de ser tan pesimista”, y “Deja de ser tan flojo/vago”.</p><p>Estas son las personas que experimentan una sobrecarga que los agota mentalmente. Desde la ropa que se espera que se pongan, la comida que se espera que se coman, los ruidos a su alrededor, lo que se ve, y los olores que lo rodean, estas personas están bajo ataque constante.</p><p>Estas son las personas que están cansadas de estas siempre a la defensiva de la gente que no entiende, o no le importa entender.</p><p>Estas son las personas que pasan la mayoria del tiempo luchando con miedos que otras personas consideran tontos e irracionales.</p><p>Es como vivir en un puente colgante, que se balancea con el viento, sobre un precipicio, mientras tenes miedo de las alturas y escuchas<em> “No entiendo de que te estas quejando, el puente es totalmente seguro. Aguantatela y segui adelante. Si yo puedo, vos tambien”</em>.</p><p>Estas son las personas que están luchando para poder comunicar estos sentimientos, porque la comunicación es algo que debe ser enseñado y ejercitado.</p><p>Es como si una persona que no tienen una vocación artística, tiene que hacer una escultura usando los elementos que tenga alrededor, para explicar cómo se siente, y tiene 5 minutos para hacerlo.</p><p>Estas son las personas que gastan una cantidad enorme de energía tratando de entender el lenguaje corporal y las emociones. Es como mostrarles una foto de mi gato, y esperar que puedan identificar lo que siente, basado en su expresión facial y postura.</p><p>Estas son las personas que están cansadas de los efectos colaterales de la medicación, o auto-medicación, para intentar apaliar los síntomas de su diagnóstico, y lo que espera la sociedad de ellos.</p><p>Estas son las personas que están luchando con sus cerebros para diferenciar que es real y que no lo es, porque sus cerebros presentan todo como si fuera real. Estas son personas que tienen representaciones físicas de sus problemas mentales, porque están siempre al limite, termina explotando por algún lado.</p><p>Estas son las personas a las que le duelen los musculos constantemente, o sus musculos estan cansados de estar tensos todo el tiempo, que tienen dolores de cabezas o migrañas, cuyo apetito funciona mal, y su sistema inmunológicos es también afectado, solo para nombrar algunas cosas.</p><p>Cuando alguien te diga que siempre esta cansado, tienes que mirar más allá de su respuesta obvia. Están realmente cansados? Están físicamente cansados y necesitan dormir? O realmente te necesitan a <strong>vos</strong>?</p><p><strong>Necesitan a alguien que los mire a los ojos y les diga que no esta bien, pero que vos estas ahi para ellos?</strong> Necesitan alguien que se de cuenta que no están bien, y necesitan un abrazo? Porque yo se que, cuando digo que estoy cansado, eso es lo que necesito.</p><p>Así que la próxima vez que alguien, con un problema invisible, diga que esta cansado, por favor no lo trates como alguien vago/flojo o irracional.</p><p>En vez, <strong>intenta imaginarte vivir tu vida en un puente colgante sobre un precipicio</strong>, o imaginate como te sentirias si alguien te sacudiera y te despertara varias veces durante la noche, solo por un año, y el impacto fisico y psiquico que tendría en vos.</p><p>Te lo ruego, por todos los que estamos luchando nuestras propias batallas silenciosas, por favor, se <strong>paciente </strong>y <strong>empatico</strong>. <strong>Solo porque vos no lo experimentas, no significa que no sea una realidad para alguien mas.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40cc21c3354b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using JQuery to access an AWS API Gateway (CORS)]]></title>
            <link>https://medium.com/@peorth/using-jquery-to-access-a-aws-api-gateway-cors-afa11fd27f2a?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/afa11fd27f2a</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[jquery]]></category>
            <category><![CDATA[api-gateway]]></category>
            <category><![CDATA[cors]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Fri, 22 Dec 2017 19:48:54 GMT</pubDate>
            <atom:updated>2017-12-22T19:49:19.111Z</atom:updated>
            <content:encoded><![CDATA[<p>I wanted to access a API Gateway via JQuery, but every time I tried to post something, I got an error:</p><blockquote>Request header field Access-Control-Allow-Origin is not allowed by Access-Control-Allow-Headers in preflight response.</blockquote><p>Not very helpful, actually, but let’s try to understand what is happening.</p><p>When you are in a given site (www.a.com) and want to perform a Ajax POST / GET to another server (api.gateway.com), the service in api.gateway.com needs to have some called CORS (<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">Cross-Origin Resource Sharing</a>) enabled, as a security measure. There’s a whole protocol for that, and you can read more information about it on the link above.</p><h4>Enabling CORS in API Gateway</h4><p>AWS has CORS support, that you need to enable in your API. To do that you need to perform these steps:</p><ul><li>Go to AWS Console</li><li>Go to API Gateway</li><li>Click on your API</li><li>Click on the method that you want to enable CORS on</li><li>Open the menu and click on Enable CORS</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*zhVcX8ekXYlcSbL4N4c6Yg.png" /><figcaption>Enable CORS in an API Gateway</figcaption></figure><ul><li>You will be asked for a couple of parameters. If you want to enable it for everyone, you can just leave this as default and click Enable CORS and replace existing values. You can read more information about the different parameters in the <a href="http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html">official guide</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Eqye95ihlIrmUV9ORy_Qg.png" /></figure><ul><li>Now you need to deploy your URL. Just go to Stages → Create (or use an existing Stage that you already have) and you will get an URL similar to this one</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*538izb236mDc592oJ9zjog.png" /></figure><ul><li>You are going to post to that URL</li></ul><h3>JQuery</h3><p>Now, to use JQuery to call to this API has a couple of tricks that you will need to keep in mind</p><ul><li><strong>You can’t use $.post to perform the POST.</strong> This is because the $.post is a shortcut without parameters that we need to set. You need to use $.ajax</li><li>You don’t need to change the headers to include anything; all you need is part of the parameters.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*w8cqdoL6nNjl_epTm5y2qQ.png" /></figure><h4>The important parts</h4><ul><li><strong>Type</strong>: use the type that you defined in your API Gateway (POST, GET, DELETE, etc.)</li><li><strong>crossDomain </strong>set to <strong>TRUE </strong>(this will set the expected headers)</li><li><strong>contentType </strong>set to “application/json” if you set it like that in your API Gateway</li></ul><h3>Security</h3><p>As a security measure, <strong>you should avoid setting * as Origin the API Gateway</strong>. Sure, you can do it while you develop, but once you go to PROD, you should only allow the sites that should have access to it.</p><p>The other thing to consider is that <strong>this test does not include anything related to security</strong>: it was an open API, and everyone could call it having the correct URL. So should always implement security tokens, or any other mechanism in the calls, to make it secure. You can find some suggestions in the <a href="http://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-control-access-to-api.html">Official AWS Guide</a>. Remember that they are crawlers and bots that will scrape your URLs and will try to get access to it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afa11fd27f2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Docker with VirtualBox and Windows 10]]></title>
            <link>https://medium.com/@peorth/using-docker-with-virtualbox-and-windows-10-b351e7a34adc?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/b351e7a34adc</guid>
            <category><![CDATA[hyper-v]]></category>
            <category><![CDATA[virtualization]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[virtualbox]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Tue, 12 Dec 2017 16:02:47 GMT</pubDate>
            <atom:updated>2017-12-12T16:02:47.190Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*kcGDJHupTCUlgubqqEkCSg.png" /><figcaption>Docker Logo</figcaption></figure><p>Last year, I built a gaming PC, with a nice video card, a nice solid state drive, and 32 gigs of RAM. Since this PC was also going to be my work PC, I wanted to separate the games from the development tools that I need to use.</p><p>So I installed <a href="https://www.virtualbox.org/">Oracle VirtualBox</a>.</p><p>It was all nice and peachy (outside of some audio problems, and a couple of video problems), and I had all the development environment contained a virtual machine running Windows 10, hosted on another Windows 10 install.</p><p>Until I had to install Docker.</p><p>I tried to install it, and run it from inside VirtualBox, and I got this error message:</p><blockquote>“This computer doesn’t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory”</blockquote><p>What does it mean? It means that you <strong>can’t run another virtualization environment inside VirtualBox</strong>, because <a href="https://www.virtualbox.org/ticket/4032">VirtualBox does not support nested virtualization</a>. So, I had two possible solutions:</p><p>1 — I could move to VMWare, but I have to reinstall everything</p><p>2 — I could run Docker on the host, and change the configuration to use the docker daemon from the host IP.</p><p>Because I’m complicated, I choose the 2nd option. And it’s not that hard! So, here are the steps that you need to take to make it work</p><h3>Install Docker</h3><p>To install Docker on Windows, you can’t install the regular and new Docker for Windows, because… you have Virtual Box installed!</p><ul><li><strong>Docker for Windows requires Hyper-V to work.</strong></li><li><strong>VirtualBox does not work with Hyper-V enabled.</strong></li></ul><p>See where I’m going with this? They are not compatible between them.</p><p>What a lovelly thing!</p><p>Thankfully, Docker has an older package, called <strong>Docker Toolbox</strong>, which is actually used for older Windows versions, that doesn’t have Hyper-V.</p><p><a href="https://docs.docker.com/toolbox/overview/">Docker Toolbox overview</a></p><p>You just need to download Docker Toolbox and install it on your host computer.</p><p>If everything went smoothly, running the <em>Docker Quickstart Terminal </em>shortcut will display the following on your host:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uDaltt1iy6tKjXKM3npQkw.png" /></figure><p>As you can see, Docker is now running on your host computer!</p><p>Now you need to configure your virtual machine.</p><p>1 — Right click on your PC and choose Properties</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*FTd5QI40E6uza7yM8qEmgQ.png" /></figure><p>2 — Choose Advanced System Settings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*JCVqQtBsEDYeDlEOGxN_hQ.png" /></figure><p>3 — To go Environment Variables</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*rlaztjxWiqXNbdHgjsTfog.png" /></figure><p>4 — You need to add the following variables:</p><h4>DOCKER_HOST</h4><p><em>Value</em>: For this variable, use the IP that the Docker process in the host machine has displayed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*oa5zTPxUICwbcRDvQfEsyA.png" /></figure><p>and use the following format</p><blockquote>tcp://&lt;IP&gt;:2376</blockquote><p>Example:</p><blockquote>tcp://192.168.99.100:2376</blockquote><h4>DOCKER_TLS_VERIFY</h4><p><em>Value</em>: 1 (this will use the certificates, which we will configure in a bit)</p><h4>DOCKER_CERT_PATH</h4><p><em>Value</em>: the path where your certificates are stored. For this, you will need to copy the certificates that are located in your <strong>host’s</strong> config directory, located at</p><p><em>C:\Users\&lt;user&gt;\.docker\machine\certs\</em></p><p>There are 4 .PEM files there. Copy everything to a folder in the HD of your Virtualbox install, in any directory that you want (I will use <strong>G:\Keys\Certs </strong>as an example. I suggest that you use a directory that doesn’t have spaces on it).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*8rY5Z_60AxKE_kBTFVayhQ.png" /></figure><p>And now set the value for the environment variable DOCKER_CERT_PATH to your directory (G:\Keys\Certs), without a trailing bar</p><h4>Testing docker</h4><p>To verify that Docker is actually correctly installed on both the host and the virtual machine, you can install Docker toolbox on the VirtualMachine as well (even when you won’t be using the server, just the client) and run the command:</p><blockquote>docker run hello-world</blockquote><p>You will see the following screen, if everything worked as expected</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*b-tJnPRJ51rfUUcYiwIayg.png" /></figure><p>And if you do a</p><blockquote>docker images</blockquote><p>on the Docker toolbox on the host, you will see the image hello-world is running there</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*uJzpUVeQTqdw716i9rlzLg.png" /></figure><p>Let me know if this helped you! Or if you had issues, we’ll try to figure them out :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b351e7a34adc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Empezando el primer proyecto]]></title>
            <link>https://medium.com/@peorth/empezando-el-primer-proyecto-497bd8cd529c?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/497bd8cd529c</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Mon, 12 Jun 2017 12:13:11 GMT</pubDate>
            <atom:updated>2017-06-12T12:13:11.176Z</atom:updated>
            <content:encoded><![CDATA[<p>Ya tenemos el ambiente de desarrollo, asi que vamos a empezar con el primer proyecto.</p><p>Esto no es un tutorial de como arrancar react desde 0, asi que yo voy a ir por el camino fácil. Vamos a usar el bendito boiler plate que nos provee Facebook.</p><p>Un boiler plate es como si fuera un <strong>esqueleto </strong>para armar nuestro proyecto. React tiene varios, pero el mas conocido es el <strong>create-react-app</strong></p><p>Para eso, vamos a seguir las instrucciones que se encuentran en el GitHub del <a href="https://github.com/facebookincubator/create-react-app">proyecto</a></p><p><em>npm install -g create-react-app<br> <br> create-react-app my-app<br> cd my-app/<br> npm start</em></p><p>Reemplazando my-app con el nombre de nuestra aplicación. Yo voy a seguir usando ese de ejemplo en todo el articulo.</p><p>Si esta todo bien, vamos a llegar a ver esto:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BQF1KOfVaTRi-biOjzOJeQ.png" /><figcaption>Welcome to React</figcaption></figure><p>Si miramos los archivos que nos dejo, tenemos una estructura asi:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/239/1*Y9B7WrzLbMbzTvqKSKNtWg.png" /></figure><p>De aca, lo que mas importa es</p><ul><li>el directorio <strong>src</strong>, que es donde vamos a guardar nuestro source code</li><li>el directorio <strong>public</strong>, donde esta guardado el HTML que va a hostear nuestra aplicacion</li></ul><p>Si miramos el HTML, vamos a ver que no se ve nada. Absolutamente nada. Es unicamente algo vacio para hostear nuestro root.</p><p>Recordemos que React es una <strong>VIEW </strong>layer, y esta armada en Javascript. Para trabajar, necesita un root node, que es donde va a colgar todo el codigo.</p><p>React trabaja directamente sobre el DOM (document object model), por lo cual, necesitamos decirle a partir de que nodo va a colgar todos los componentes. A partir de ahí, muy básicamente, va haciendo <em>createElement </em>de cada modulo que desarrollemos, y lo va colgando todo del elemento root.</p><p>“<em>O sea que mi pagina esta toda hecha en Javascript?</em>” Si, pequeño saltamontes, si miras el source del create-react-app, vas a ver que no hay HTML, sino una única referencia a un archivo bundle.js”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*ff2g3bOrD2mYj27hgAFmXw.png" /></figure><p>En ese archivo bundle.js esta todo nuestro código compilado. Y se ejecuta en el cliente.</p><p>Lo que logran con esto, es que la pagina puede ser un poco mas lenta en verse la primera vez, pero las sucesivas paginas que navegas son prácticamente instantáneas: ya bajaste tu aplicación completa, y se encuentra en el cache. Únicamente tiene que bajar los resources (imágenes, etc.)</p><p>“Pero el codigo Javascript muchas veces no funciona igual entre distintos browsers, o entre distintas versiones de browsers!”</p><p>Y efectivamente, es verdad.</p><p>Y para ponerle mas picante, Javascript (como lenguaje) sigue evolucionando. Pero, obviamente, los browsers vienen bastante mas atras en las implementaciones.</p><p>Entonces, que es lo que pasa?</p><p><strong>EL INFIERNO, ESO ES LO QUE PASA.</strong></p><p>Tenemos que aprender algo llamado Transpilacion (no, no es un error de sintaxis).</p><p><strong>Referencias:</strong></p><ul><li>Create-React-App: <a href="https://github.com/facebookincubator/create-react-app">https://github.com/facebookincubator/create-react-app</a></li><li>Tutorial basico de GIT: <a href="http://rogerdudler.github.io/git-guide/">http://rogerdudler.github.io/git-guide/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=497bd8cd529c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Una pagina simple]]></title>
            <link>https://medium.com/@peorth/una-pagina-simple-c565fade280f?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/c565fade280f</guid>
            <category><![CDATA[server-side-rendering]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Fri, 02 Jun 2017 18:06:21 GMT</pubDate>
            <atom:updated>2017-06-02T18:58:34.687Z</atom:updated>
            <content:encoded><![CDATA[<p>Como dije antes, esto no es un tutorial de React. Hay miles, y van a ser muchísimo mejores que yo intentando explicar algo que todavía no conozco.</p><p>Lo primero que me tocó investigar es Server Side Rendering.</p><p>Me quiero morir ayer.</p><p>Bueno, básicamente, les explico mi ejemplo:</p><ul><li>Tengo una app que tiene un componente,</li><li>Ese component muestra la información de una API publica sobre los unos usuarios random.</li></ul><p>El ejemplo lo pueden encontrar en <a href="https://github.com/peorth80/wtp-server-render">este repositorio</a> y es un fork de <a href="https://github.com/bluedge/react-seo">este otro.</a> El código esta lleno de ejemplos, comentarios, y estoy segurísima que es un desastre, pero intenten no mirar demasiado. Es solo una prueba de concepto.</p><p>Básicamente, lo que tiene es:</p><ul><li>Express, sobre Node</li><li>EJS para template</li></ul><p>Y hace un <em>renderToString</em>() para devolver el HTML, en vez de devolver unicamente el bundle.js y dejar que todo lo haga el cliente.</p><p>Para correrlo, las referencias están incluidas (y funciona OK en Windows), simplemente:</p><ul><li><em>git clone </em><a href="https://github.com/peorth80/wtp-server-render.git">https://github.com/peorth80/wtp-server-render.git</a> <em>-b jsonV1</em></li><li><em>npm install</em></li><li><em>grunt </em>o <em>npm run build</em></li><li><em>npm start</em></li></ul><p>Si lo corren, se van a encontrar con esta pantalla</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01cgEaMRFBlUaqQ5eRW6Zw.png" /><figcaption>Example</figcaption></figure><p>Si miramos nuestro HTML, vamos a ver que lo único que se ve, que viene escrito en el HTML mismo, es “Loading…”. El resto de la información se trae por un client request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7b7mOFV7hkOh5feCW8NWpw.png" /><figcaption>HTML Source</figcaption></figure><h3>Entendiendo la estructura de código</h3><p>Básicamente, lo que nos interesa a nosotros se encuentra en dos JS:</p><ul><li><em>App.js</em></li><li><em>Users.js</em></li></ul><h4><em>App.js</em></h4><p>En App.js tenemos la llamada a la API. La hacemos en el método <em>componentDidMount</em>, como dicen en <a href="https://stackoverflow.com/questions/27139366/why-do-the-react-docs-recommend-doing-ajax-in-componentdidmount-not-componentwi">StackOverflow</a>, y se hace a través del método <em>fetch</em>. Eso lo que hace es actualizar el state, y poner el JSON completo en el estado en Users, para después reusarlo desde los componentes.</p><blockquote>Porque lo usamos ahi y no desde el componentDidMount del Users.js, que es nuestro componente? porque solo queremos hacer una llamada, que traiga toda la info, y después (eventualmente) filtre.</blockquote><p>Si lo pusiéramos en el <em>componentDidMount </em>del component (Users), en vez de la App, cada usuario que se muestra, debería llamar a ese fetch. En nuestro caso queremos que todo se haga en una sola llamada.</p><h4>Users.js</h4><p>Es solo un componente dummy, que muestra lo que tiene en la propiedad Users, como un string.</p><h3>Que estoy buscando hacer?</h3><p>Lo que quiero lograr es que la llamada que se hace en <em>componentDidMount</em> de App.js, <strong>se haga en el server</strong>, y el HTML ya traiga la información como un string en el HTML puro.</p><p>Porque quiero hacer esto? <strong>Porque necesito que la información inicial se encuentre en el source code, y no en el DOM.</strong></p><p>“Esto va a hacer que tu pagina tarde mas tiempo en renderizarse en los clientes” — puede ser, pero necesito que funcione así.</p><p>No quiero tampoco que esa información este en un JSON tirado, globalmente en la pagina, y después desde el componente, filtrarla por JS. Quiero que se escriba en ese mismo lugar que esta el texto de <em>Loading…</em></p><h4>Pruebas que hice</h4><ul><li>Probe poner el fetch en el metodo <em>componentWillMount()</em>, pero no funcionó, porque esta modificando el State, y no me permite hacerlo en ese método. Tampoco puedo tocar las propiedades.</li><li>Busqué si había alguna forma de ejecutar el fetch en el <em>GetInitialState</em>, para que me traiga la información ahí, pero como trabaja asincrónicamente, no puedo darle return ahí adentro. [1]</li></ul><p><em>[1] esto puede ser por ignorancia mía, todavía no estoy muy canchera con los promises y el tema de llamadas asincrónicas.</em></p><p>Cualquier idea, sugerencia, documento, información que puedan darle, seguramente me va a servir.</p><p>No debe ser algo tan raro lo que quiero hacer!</p><blockquote>Tal vez necesite usar Redux? GraphQL? Algo que se encargue de mi hidratación de los datos, y no un simple fetch a una API?</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c565fade280f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ambiente de desarrollo]]></title>
            <link>https://medium.com/@peorth/ambiente-de-desarrollo-c53b71afdd54?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/c53b71afdd54</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Mon, 15 May 2017 14:39:36 GMT</pubDate>
            <atom:updated>2017-05-15T14:47:27.185Z</atom:updated>
            <content:encoded><![CDATA[<p>Como les contaba en el <a href="https://medium.com/@peorth/hay-que-aprender-react-b0b278dc744d">articulo anterior</a>, para sumarle un poco de picante a todo esto, decidimos programar en Windows. Si, somos así de complicados. La realidad es que todos ya programábamos en Windows, y aprender Linux, sobre todo lo que ya tenemos que aprender, seria prácticamente imposible.</p><h3>Visual Studio Code</h3><p>Para arrancar con lo básico, primero necesitamos el <strong>Visual Studio Code</strong>. Se puede bajar <strong>gratuitamente de </strong><a href="https://code.visualstudio.com/">https://code.visualstudio.com/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*XZrqaTjWikQVhcBF-5tuLA.png" /><figcaption>Visual Studio Code</figcaption></figure><p>Esta version de Visual Studio esta pensada para justamente desarrollar sobre las nuevas tecnologías. No tiene nada que ver con el Visual Studio Standard, para desarrollar en C#, VB.net, etc.</p><p>Se encuentra disponible para varios sistemas operativos, no solo Windows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*FriOwOOZynhtmm3SDhZHLQ.png" /><figcaption>Sistemas operativos disponibles</figcaption></figure><h3>Node</h3><p>Aca es donde la cosa se empieza a complicar un poco.</p><p>Como les comentaba, yo recién estoy aprendiendo. <strong>Así que por favor, si ven un error en estos artículos, déjenme un comentario</strong>, me sirve muchísimo como experiencia y para aprender!</p><p><strong>React es solo una capa de VISTA</strong>. Si están acostumbrados al modelo de <em>MVC (model view controller)</em>, en este caso, react es la “V”: es para armar interfaces. Eso quiere decir que nuestro código (llamadas a la base de datos, a API, etc.) no va a correr SOBRE react, sino que van a correr sobre otra cosa.</p><p>Y que es esta cosa? Bueno, una alternativa muy usada es Node.js</p><p>Y porque sobre Node? Bueno, básicamente porque es lo mas usado</p><blockquote>Node.js® es un motor de Javascript que corre sobre el engine de javascript de Chrome V8. Node.js usa programación orientada a event, modelos de I/O no bloqueables, que lo hacen eficiente y liviano. Node.js tambien contiene npm, que es el ecosistema mas grande de librarias open source del mundo.</blockquote><p>Node.js se baja desde aca <a href="https://nodejs.org/en/">https://nodejs.org/en/</a> y viene también en los distintos sabores (Windows, MacOS, Linux, etc.). Junto con Node, se va a instalar NPM.</p><h3><strong>NPM (Node Package Manager)</strong></h3><p>Bueno, ya tengo instalado Node, tengo el Visual Studio Code, y ahora como arranco?</p><p>Lo poco que aprendí hasta ahora de todas estas nuevas tecnologías, es que no hay una sola forma de hacer las cosas. Para hacer algo, tenes 20 personas diferentes, con 20 soluciones diferentes, y 20 librerías diferentes, que te dicen “<em>Fijate, a mi me funciono usar esto o aquello, </em><strong><em>pero no aseguro que sea la mejor manera de hacerlo</em></strong>”. Eso, particularmente, me esta volviendo loca: si no tengo experiencia, y no tengo un camino “marcado”, quien me indica que el camino que tome es el correcto? Nadie, o mejor dicho, la experiencia. Supongo que si elegimos la librería X, la ponemos en producción, y explota, sabemos que esa librería no era la adecuada.</p><p>Volviendo al tema de <strong>NPM</strong>, <strong><em>para todo lo que hagamos, vamos a encontrar o necesitar una librería.</em></strong></p><p>Hasta para armar nuestra primera aplicación nos vamos a basar en un boiler plate (así se le dice al proyecto pre-armado).</p><p>Con estas 3 cosas (IDE, Node y NPM), ya podemos arrancar nuestro primer proyecto.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c53b71afdd54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Hay que aprender React”]]></title>
            <link>https://medium.com/@peorth/hay-que-aprender-react-b0b278dc744d?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0b278dc744d</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[introduction]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Fri, 12 May 2017 18:24:54 GMT</pubDate>
            <atom:updated>2017-05-12T18:24:54.707Z</atom:updated>
            <content:encoded><![CDATA[<p>Cuando hace un par de meses me dijeron ese titulo, creo que mi mundo medio que se vino abajo. Yo hace mil años que programo, y he pasado por varios lenguajes (C, ASP común, ASP.NET, ASP MVC, C#, Java, PHP, que se yo, de todo un poco), todos somos lo que se puede considerar “Sr Programmers”, así que el problema no es tanto aprender algo nuevo, sino subirse a un tren que hace rato que esta en movimiento y del que no tengo la mas minima idea.</p><h3>Y ahora?</h3><p>Ok, ya sabemos que tenemos que empezar a investigar react.</p><p>La pregunta es: <em>POR DONDE CARAJO EMPIEZO?</em></p><p>Intentamos hacer algunos cursos online, para entender como funciona. No teniamos ni idea de que era npm, yarn, node ni webpack. Babel era una torre, y nada mas. Como haces para no perderte en un mar enorme de herramientas, articulos y sugerencias?</p><p>La respuesta hasta ahora es: no se.</p><p>Hasta ahora, no pudimos sacar nada en claro. Somos varios los que estamos trabajando en esto, todos sin tener mucha experiencia, y nos encontramos dandonos la cabeza contra la pared, sin poder decir “es mejor usar TAL o CUAL cosa”, porque justamente nadie tiene la experiencia de poder hacerlo. Vamos probando, si sale, lo dejamos. Pero realmente no sabemos si es la manera correcta, o si va a explotar todo en produccion.</p><p>ENCIMA, para sumar un poco de condimento a la cosa, estamos desarollando en <strong>Windows</strong> (aunque la idea es que obviamente pueda correr en Linux).</p><p>Esta serie de articulos es un poco una guia para la gente que está tan perdida como yo, y también una forma de afianzar mis conocimientos, y generar un poco de discusión de gente que tenga mas experiencia que yo</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0b278dc744d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Superfish VisualDiscovery will hijack ALL your secure connections]]></title>
            <link>https://medium.com/@peorth/superfish-visualdiscovery-will-hijack-all-your-secure-connections-d08f78e550cc?source=rss-f391dbefb637------2</link>
            <guid isPermaLink="false">https://medium.com/p/d08f78e550cc</guid>
            <dc:creator><![CDATA[Andrea Lettieri]]></dc:creator>
            <pubDate>Thu, 19 Feb 2015 13:26:26 GMT</pubDate>
            <atom:updated>2015-02-19T13:38:40.134Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Superfish </strong>Inc aka <strong>VisualDiscovery </strong>aka <strong>Similarproducts </strong>application will hijack ALL your secure webconnections (SSL/TLS) by using self signed root certificate authority, making it look legitimate to the browser</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*M5ORQ1gFvQVzmBx8fFFr_Q.png" /></figure><p>Here’s an example of my connection to a bank, which looked OK to browser but certificate obviously has been tampered with allowing <strong>Superfish </strong>to collect all data unencrypted!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*4m4Dx_oW7_GFGWc-wcrGDg.png" /></figure><p><strong>A bluntant man-in-the-middle attack malware breaking any privacy laws.</strong></p><p>I have requested return of the laptop and refund as I find it unbelievable that manufacturer as Lenovo would facilitate such applications pre-bundled with new laptops.</p><p>Original source: <a href="https://forums.lenovo.com/t5/Security-Malware/Potentially-Unwanted-Program-Superfish-VisualDiscovery/td-p/1794457">https://forums.lenovo.com/t5/Security-Malware/Potentially-Unwanted-Program-Superfish-VisualDiscovery/td-p/1794457</a></p><p><em>Edit 1</em>: Apparently, when you remove the application, the root certificate is not removed. You need to manually remove it</p><p><em>Edit 2: </em>This is even worse that it looks, as the key is the same for <strong>all installs: </strong><a href="https://twitter.com/fugueish/status/568258997578371072">https://twitter.com/fugueish/status/568258997578371072</a>. The private key is always present on the machine, so, basically, if the key is not public already, it will be shortly, <strong>and anyone will be able to spoof any web site to Lenovo users</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d08f78e550cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>