<?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 Giuseppe Sorrentino on Medium]]></title>
        <description><![CDATA[Stories by Giuseppe Sorrentino on Medium]]></description>
        <link>https://medium.com/@glsorre?source=rss-ae26ed79a8a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wnJNKPZ5rimu-6_Z4qPfKA.jpeg</url>
            <title>Stories by Giuseppe Sorrentino on Medium</title>
            <link>https://medium.com/@glsorre?source=rss-ae26ed79a8a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 03:39:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@glsorre/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[Windows Subsystem for Linux: never prompt your ssh passphrase again]]></title>
            <link>https://medium.com/@glsorre/windows-subsystem-for-linux-never-prompt-your-ssh-passphrase-again-353db7c931ab?source=rss-ae26ed79a8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/353db7c931ab</guid>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[ssh-keys]]></category>
            <category><![CDATA[keychain]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[wsl]]></category>
            <dc:creator><![CDATA[Giuseppe Sorrentino]]></dc:creator>
            <pubDate>Sat, 07 Mar 2020 11:45:08 GMT</pubDate>
            <atom:updated>2020-03-20T19:47:10.811Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>How to configure a passphrase-less ssh setup for wsl — windows subsystem for linux —basing on keychain, credentials manager, task scheduler and a bunch of scripts.</h4><h3><strong>Requirements</strong></h3><p>This is the list of the requirements:</p><ul><li>windows 10 home or superior;</li><li><a href="https://docs.microsoft.com/en-us/windows/wsl/wsl2-install">wsl version 2</a> (should work with 1 as well but I have not tested);</li><li>a wsl distribution including <a href="https://www.funtoo.org/Keychain">keychain</a>;</li><li><a href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7">powershell script running enabled</a> for your user ;</li><li><a href="https://www.powershellgallery.com/packages/CredentialManager/2.0">credentialManager module</a> for powershell installed.</li></ul><h3><strong>The scripts</strong></h3><p><strong>keychain.ps1</strong></p><pre>$credentials = Get-StoredCredential -Target sshpassphrase                       </pre><pre>$BSTR = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($credentials.Password)</pre><pre>$passphrase = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)                       </pre><pre>C:\Windows\System32\wsl.exe -u [YOUR_WSL_USERNAME] -d [YOUR_DISTRIBUTION] /home/[YOUR_WSL_USERNAME]/wslu/keychain.sh $passphrase</pre><p><strong>keychain.sh</strong></p><pre><em>#!/bin/bash<br></em>SSH_ASKPASS_SCRIPT=/tmp/ssh-askpass-script<br>cat &gt; ${SSH_ASKPASS_SCRIPT} &lt;&lt;EOL<br>#!/bin/bash<br>echo &quot;$1&quot;<br>EOL<br>chmod u+x ${SSH_ASKPASS_SCRIPT}<br><strong>export</strong> DISPLAY=&quot;0&quot;<br><strong>export</strong> SSH_ASKPASS=${SSH_ASKPASS_SCRIPT}<br>/usr/bin/keychain --clear id_rsa<br>rm ${SSH_ASKPASS_SCRIPT}</pre><p>The scripts are hosted on public <a href="https://gist.github.com/glsorre/4c2fa9eb237fc07e1321f0ff6a267067">gist</a>. There are two of them a poweshell script called keychain.ps1 which:</p><ul><li>get credential from windows credential;</li><li>launches the second script keychain.sh, passing your passphrase, in your wsl distribution.</li></ul><p>Please substitute [YOUR_DISTRIBUTION] with the name of your current distribution and [YOUR_WSL_USERNAME] with the name of your wsl user.</p><p>The second script, called keychain.sh, does:</p><ul><li>create a tmp/ssh-askpass-script and give it the right permissions;</li><li>set the SSH_ASKPASS environment variable;</li><li>launch keychain;</li><li>deletes the temporary script.</li></ul><h3>Configuration</h3><p>Copy the two scripts in your wslu folder in you home directory and give the right execution permissions.</p><p><strong>1)Credential manager</strong></p><ul><li>Launch credential manager;</li><li>Click on windows credentials;</li><li>Click on add a generic credential;</li><li>Insert <em>sshpassphrase </em>in the<em> internet or network address</em> and <em>username </em>fields;</li><li>Insert the value of your ssh passphrase in the password field.</li></ul><p><strong>2)Task scheduler</strong></p><ul><li>Launch task scheduler;</li><li>Click on create basic task;</li><li>Insert a name for your task — Launch Keychain — then click next;</li><li>Choose when I log on and click next;</li><li>Choose start a program and click next;</li><li>Insert <em>powershell </em>in the <em>program/script</em> field and insert <em>-File C:\Users\[YOUR_WINDOWS_USER]\wslu\keychain.ps1</em> in the <em>add arguments</em> field, then click next</li><li>Click on finish</li></ul><p><strong>3)Bash/Zsh configuration</strong></p><p>Add the following to your ,bashrc/.zshrc: test -f /usr/bin/keychain &amp;&amp; eval $(/usr/bin/keychain --eval --quiet id_rsa)</p><h3>Conclusion</h3><p>When you reboot and logon the powershell script shoud run.</p><p>It will recover you passphrase from windows credential and pass it, trough the SSH_ASKPASS environment variable, to keychain and you should never prompt it again.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=353db7c931ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three things I learnt being a scrum master]]></title>
            <link>https://medium.com/hotels-com-technology/three-things-i-learnt-being-a-scrum-master-7af04752b764?source=rss-ae26ed79a8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7af04752b764</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[scrum]]></category>
            <category><![CDATA[scrum-master]]></category>
            <category><![CDATA[kanban]]></category>
            <category><![CDATA[agile-coach]]></category>
            <dc:creator><![CDATA[Giuseppe Sorrentino]]></dc:creator>
            <pubDate>Thu, 21 Feb 2019 14:01:01 GMT</pubDate>
            <atom:updated>2019-02-21T14:01:01.087Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X6V1XYO90ZtqoSPssk132A.png" /></figure><h3>Introduction</h3><p>I am very happy to have had the opportunity to work in the Agile world for almost 4 years, that have been fantastic and challenging.</p><p>Being a Scrum master is an invaluable experience and makes you understand and reflect a lot about company processes and software development in general.</p><p>It is very hard to discover and address disfunctionalities in teams’ processes. In fact, disfunctionalities are often sneaky. Metrics and surveys can help you but you need to develop an insight to recognize them and this helps you improve a lot as person and professional.</p><p>I decided to share with you three thoughts I noted down in these years.</p><h3>1. Training is not enough, make it real by being assertive (when necessary)</h3><p>In these four years I did tons of training. Prepared tons of presentations on the various agile practices and artifacts: Kanban, Scrum, backlog and backlog refinement, pair programming are only examples.</p><p>One thing I learnt is that while training on agile is valuable, practice is more valuable. The capacity toward making practices real in day to day life is fundamental in the scrum master profession. In order to do that there are two different and antithetic approaches:</p><ul><li>wait that a practice emerges in the team</li><li>be assertive and effectively contribute by pushing for the application toward some beneficial practices.</li></ul><p>Being able to find the right balance between these two approaches is a fundamental key in a scrum master role. In a perfect world the Scrum master would always choose the first approach. But in the real world, this is not always feasible. For example, there could be situations where it is not possible to wait until the team becomes mature enough to adopt a practice. On these occasions, in my honest opinion, is when the Scrum master needs to be assertive.</p><h3>2. If you want to go with Kanban, start with Scrum</h3><p><em>I am assuming you are familiar with the </em><a href="https://en.wikipedia.org/wiki/Tuckman%27s_stages_of_group_development"><em>Tuckman’s stages of group development</em></a><em> here.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*ccD6_dJIKjUSO4my" /><figcaption>The <a href="https://en.wikipedia.org/wiki/Tuckman%27s_stages_of_group_development"><em>Tuckman’s stages of group development</em></a></figcaption></figure><p>It is harder to start directly with Kanban than starting with Scrum and transitioning to Kanban. In fact, Kanban requires much more discipline from the team than scrum. Pulling stories at the right time, limiting the amount of work-in-progress items, are very challenging tasks, even for a very small group of people. This makes Kanban more functional in the teams that are in the norming or performing phase or however not at their beginning. While scrum being more prescriptive, is perfect for a team in the forming and storming phase.</p><p>It is a good idea to start with Scrum and transition smoothly to Kanban when you feel the team is ready, or rather when the team is entering in the norming/performing phase. There are many indicators a team is transitioning toward the norming/performing phase:</p><ul><li>stability in practices adopted</li><li>stability in team composition</li><li>continuous success of sprints</li><li>self-organization in main scrum ceremonies</li><li>stability in velocity and throughput.</li></ul><h3>3. Scrum application outside the software world often is not clear</h3><p>While scrum is supposed to be an universal framework, in the sense it should be applicable outside of software world, this application is not always immediately clear.</p><p>In <a href="http://hotels.com/">Hotels.com</a> we give training on Agile to very different functions and we encountered difficulties in recognizing a way to apply scrum to certain realities outside of technology. For example there is not so much literature on how backlog items should be documented. Neither is clear how to manage realities where we have mostly personal work rather than team work.</p><h3>Conclusion</h3><p>I had four challenging years as Scrum master and this opportunity make me grow as person as well as IT professional. During these years I had the opportunity to reflect on some aspect of the Scrum master practices.</p><p>Particularly I discovered that the Scrum master need to be assertive and effectively contribute by pushing for the application toward some beneficial practices when necessary. The natural emergence of all the team practices is simply a Scrum myth.</p><p>I, furthermore, think that Starting directly with Kanban for a new team can be counterproductive. My suggestion here is to evaluate Scrum as bootstrap for Kanban.</p><p>The last point: the fact that Scrum universality (its application outside of IT projects) is not crystal clear. Under this point of view a great community effort to make Scrum more accessible is needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7af04752b764" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hotels-com-technology/three-things-i-learnt-being-a-scrum-master-7af04752b764">Three things I learnt being a scrum master</a> was originally published in <a href="https://medium.com/hotels-com-technology">The Hotels.com Technology Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Users’ Context of Use through Clustering Algorithms]]></title>
            <link>https://medium.com/@glsorre/users-context-of-use-through-clustering-algorithms-3187928d674e?source=rss-ae26ed79a8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3187928d674e</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[user-experience]]></category>
            <dc:creator><![CDATA[Giuseppe Sorrentino]]></dc:creator>
            <pubDate>Sun, 25 Mar 2018 10:28:48 GMT</pubDate>
            <atom:updated>2018-03-25T10:28:48.948Z</atom:updated>
            <content:encoded><![CDATA[<p>The objective of the following blog post is to diffuse the results of a small experiment I ran. The basic idea was to see if using a cluster algorithm as k-means was possible to separate the context of use of the visitors of an e-commerce website (e.g. direct search, exploratory search, etc.).</p><p>I collected a set of custom clickstreams data from <a href="http://www.prezzifarmaco.it/">www.prezzifarmaco.it</a> and I analyzed them as follow:</p><ul><li>eliminated outliers;</li><li>grouped by session and ordered by timestamp;</li><li>counted main events in the clickstreams (page visited, main CTAs, etc.);</li><li>ran a kPCA to extract five principal components;</li><li>run a k-means clustering algorithm with 6 cluster (I will discuss later why the number 6);</li><li>analyzed results.</li></ul><p>The main results are summarized in the following radar graph where the colored lines represent the “label” of the clusters while:</p><ul><li>HOME_PAGE: is the number of visualizations of the home page;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YESjkRtwskhojYFYABHKoQ.jpeg" /></figure><ul><li>PHARMACY_PAGE: is the number of visualizations of the page of details of the vendor;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Me-3-KYb3BqHks1i1ysgtA.png" /></figure><ul><li>SEARCH_RESULTS: is the number of visualizations of the search results page;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BOM-ai9Fo7JS7RZ_916Iuw.png" /></figure><ul><li>PRODUCT_PAGE: is the number of visualizations of the product detail page;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EXdC3DP8_5QjQQaNm8RqUQ.png" /></figure><ul><li>MORE_RESULTS_CTA: is the number of time the visitor used the “more results” CTA;</li><li>ADDCART_CTA: is the number of time the visitor added a product to the cart.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2B70w6qLFzcFya-ywiGPA.png" /><figcaption>Radar graph representing the mean values of each event in the last five clusters.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*ruDgFMRE-xcOY0NpBuHgwQ.png" /><figcaption>Table representing the number of sessions in each cluster and the most frequent starting page.</figcaption></figure><p>As you can see from the graph and the table in the first 5 clusters the data give us interesting insights:</p><ul><li><strong>Cluster 5 AKA “Explorative search”: </strong>this cluster of visitors has its peak values in PRODUCT_PAGE (bigger than~1 event) and ADDCART_CTA (bigger than~1 event) plus the did few exploration using the internal search engine or the more results cta; they landed on the precise page from an external search engine and then tried to buy the product;</li><li><strong>Cluster 4 AKA “Search based navigation starting from home”: </strong>the visitors in this cluster have landed to the home page (HOME_PAGE ~1 event) and then navigated the site mainly using the search engine (SEARCH_RESULTS ~1 event);</li><li><strong>Cluster 3 AKA “Direct navigation”: </strong>this group is very interesting; they landed on a SEARCH_RESULTS (~2, probably they are recurrent users with saved url) and the navigated the site mainly through the internal search engine (SEARCH_RESULTS ~1 events); few part of the group added product to the cart (ADDCART_CTA ~0.0625 events); the group is the nearest to the “direct” search model;</li><li><strong>Cluster 2 AKA “Product page visit”: </strong>this cluster is similar to cluster 5 but they did not add the product to the cart then they preferably left the site; they have their peak value in PRODUCT_PAGE (~2 events);</li><li><strong>Cluster 1 AKA “Pharmacy page visit”: </strong>this cluster is similar to cluster 1 but they did not add the product to the cart then they preferably left the site; they have their peak value in PRODUCT_PAGE (~2 events);</li></ul><p>Cluster 0 is not homogeneous and it is very hard to trace a scenario for it. The number of 6 clusters come from an elbow analysis of the data.</p><p>We can conclude it is possible to separate different context of use from a simple cluster analysis of clickstreams and in the future I hope to have the opportunity to extend this scenario including in the clustering process the number of “transfers” between one type of page and another.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3187928d674e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One thing I learnt about lean UX]]></title>
            <link>https://medium.com/@glsorre/one-thing-i-learnt-about-lean-ux-54201a40d81a?source=rss-ae26ed79a8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/54201a40d81a</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[lean-ux]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Giuseppe Sorrentino]]></dc:creator>
            <pubDate>Wed, 12 Apr 2017 10:50:36 GMT</pubDate>
            <atom:updated>2017-04-12T10:50:36.116Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been reading a lot about lean user experience recently, particularly I read two title published by O’Reilly for “the lean series” collection:</p><p>· <a href="https://www.amazon.com/UX-Lean-Startups-Experience-Research/dp/1449334911">UX for Lean Startups</a> by Laura Klein;</p><p>· <a href="https://www.amazon.com/Lean-UX-Applying-Principles-Experience/dp/1449311652">Lean UX</a> by Jeff Gothelf and Josh Seiden.</p><p>The presented idea of “lean UX” is very coherent across the books and it presents many and significant differences from the traditional world of user experience research and design. One first change is, according to the authors, that lean UX practice is mainly focused on the startup world and, particularly, to non-UX professionals (e.g. product managers and stratup founders) who wants to make small and focused discoveries about their products.</p><p>A second central idea in the Lean UX literature is that of validation of design decisions and, in particular, the validation of the product ideas. In fact, Rosenfeld media even published a title exactly on this concept titled: “<a href="http://rosenfeldmedia.com/books/lean-user-research/">Validating product ideas through lean user research</a>”. In my opinion this focus on product ideas validation is an important shift from the traditional ux research scope. In fact, it moves lean user research research much nearer to the field of marketing. Is really lean user research more about marketing than usability itself? And what would this change mean from a practitioner perspective?</p><p>According to <a href="https://www.uxpin.com/studio/blog/use-validated-learning-ux-design-2/">Venkatesan</a> validating product ideas is a process composed from 4 steps:</p><p>1) <strong>Customer validation</strong>: where the objective is to check the existence and the reachability of a customer group;</p><p>2) <strong>Problem validation</strong>: where the objective is to check the existence of a user problem or understand better how the problem is currently addressed;</p><p>3) <strong>Concept validation</strong>: where the objective is to check the suitability of the solution;</p><p>4) <strong>Experience validation</strong>: where the objective is to reply to the question: does my solution work well?</p><p>Are these four objectives really extraneous to the traditional UX research scope? To reply to this question let’s take the <a href="http://uxpamagazine.org/designing-credible-studies/">ncredible framework</a> presented by Kothandaraman and Ludin as base of our reflection. It is shown in Figure 1 and it categorizes ux research in four quadrants basing on how they reply to the following two questions:</p><p>1. What will the research do for the business? From <strong>Inspire</strong> to <strong>Inform</strong>;</p><p>2. What are considerations feeding into the study? From <strong>Fixed</strong> to <strong>Flexible</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*a0KbKIpHnWjzybwKm95ckw.png" /><figcaption>The <a href="http://uxpamagazine.org/designing-credible-studies/">ncredible framework</a> and the four steps of product idea validation.</figcaption></figure><p>Basing on the <a href="http://uxpamagazine.org/designing-credible-studies/">ncredible framework</a> it is easy, in my opinion, to position experience and concept validation respectively in the definition and validation research quadrants. Making them perfectly comfortable in the traditional ux research space.</p><p>As to the problem validation phase I feel the need to distinguish whether the objective is to investigate how a problem is currently addressed by users, or to validate the existence of a problem in the users’ life. In the former case I would say this type research can be positioned completely in the discovery research quadrant. In the latter case I would say that problem validation would fall down outside the four quadrants completely. The same would happen for customer validation.</p><p>As shown by positioning the four components of product validation in the space described from the <a href="http://uxpamagazine.org/designing-credible-studies/">ncredible framework</a> lean ux research presents new and interesting challenges for a ux practitioner. In fact, checking the existence of a problem in the users’ life or the reachability of a group of users is a completely different beast compared to the type of research we are used to conduct.</p><p>From the lean user research perspective, in my opinion, a very problematic point becomes that of the validity of participants who get part in the study. It seems clear that you can conduct customer validation and problem validation studies only if you can access a “real” sample of users. In this particular case, real is to be considered in the strictest sense of the term (e.g. age, gender, occupation, etc.).</p><p>A second problematic factor is that of quantity of participants to investigate. A pure qualitative method seems, in fact, not able to check the existence or not of a specific users’ group.</p><p>To summarise lean UX seems to be more oriented toward understanding if a digital product is suitable for the market than traditional usability and design research. This peculiar aspect represents a new and challenging change for any UX practitioner. Nonetheless product ideas validation seems to be a crucial aspect in the start-upping phase and here is where lean ux can help a lot.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54201a40d81a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>