<?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 Leonardo D&#39;Ambrosi on Medium]]></title>
        <description><![CDATA[Stories by Leonardo D&#39;Ambrosi on Medium]]></description>
        <link>https://medium.com/@leodambrosi?source=rss-8984e59eb30c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FgkwUycw2bmiIKocWH2_Pg.jpeg</url>
            <title>Stories by Leonardo D&amp;#39;Ambrosi on Medium</title>
            <link>https://medium.com/@leodambrosi?source=rss-8984e59eb30c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:34:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leodambrosi/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[Learn from Italy: start social distancing to fight coronavirus NOW!]]></title>
            <link>https://medium.com/@leodambrosi/learn-from-italy-start-social-distancing-to-fight-coronavirus-now-895ba252bdb8?source=rss-8984e59eb30c------2</link>
            <guid isPermaLink="false">https://medium.com/p/895ba252bdb8</guid>
            <dc:creator><![CDATA[Leonardo D'Ambrosi]]></dc:creator>
            <pubDate>Sun, 15 Mar 2020 19:25:45 GMT</pubDate>
            <atom:updated>2020-03-15T19:52:50.556Z</atom:updated>
            <content:encoded><![CDATA[<p>The internet is full of coronavirus articles. We don’t need yet another one. So why am I writing? To share the learnings from Italy so that we can more swiftly and effectively contain the rapid spread of this deadly virus.</p><p>How can we do this? There are 2 main things we can do to protect ourselves and our communities:</p><ol><li>increase awareness of the real vs perceived danger</li><li>trigger effective changes in habits and behaviors, including social distancing</li></ol><h3>The Italian experience</h3><p>Being Italian, I can share the experience of my family, friends and country. At the beginning of the pandemic Italians were behaving <strong>exactly</strong> like Americans, Germans and all other Europeans are behaving now. And sadly, as of March 15th, Italy is the country with the second highest number of active coronavirus infections in the world. Please learn from it!</p><h3>tl;dr:</h3><blockquote>Learn from what happened to Italy: stop meeting friends, do not join parties, avoid restaurants and stop traveling. Avoid as much social contact as possible. Please act NOW!</blockquote><blockquote>And remember: your household is only as strong as your weakest link. Make sure everyone observes social distancing; otherwise your efforts will be pointless. Washing your hands, despite necessary, is NOT enough!</blockquote><h3>Am I paranoid? Am I excessive? No, here’s why</h3><p>For those who are still willing to read on, follow my timeline:</p><h4>Feb 15th: (only 1 month ago!) Italy had reported only <a href="https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200215-sitrep-26-covid-19.pdf?sfvrsn=a4cc6787_2">3 cases</a>.</h4><p>The Italian government even shipped 18 tons of masks and medical supplies to China (<a href="https://bari.repubblica.it/cronaca/2020/02/15/news/coronavirus_e_partito_da_brindisi_volo_umanitario_dell_onu_per_la_cina_18_tonnellate_di_guanti_e_mascherine-248659728/">source</a>) on this day.</p><h4>Feb 22nd: <a href="https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200222-sitrep-33-covid-19.pdf?sfvrsn=c9585c8f_4">9 cases</a> in Italy</h4><h4>Feb 29th: <a href="https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200229-sitrep-40-covid-19.pdf?sfvrsn=849d0665_2">888 cases</a> in Italy. Wait what? from 9 to ~1000 in one week?</h4><p>Newspapers were discussing if it was worthwhile closing schools and cinemas. Politicians (on both the left and right) were in complete denial, cheering and organizing aperitifs like the Governor of Lazio (who later tested positive for coronavirus ) with the theme of “we are not scared of coronavirus and we will never stop.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*aXnk9K-6gTUGU5EO8YLPWg.png" /><figcaption>Feb 27th: Governor of Lazio (who later tested positive for coronavirus ) cheering to the strength of Italy and its economy in the face of the virus (source: Facebook)</figcaption></figure><p>Another popular politician, <a href="https://twitter.com/matteosalvinimi">Matteo Salvini</a>, asked to re-open any businesses that could be reopened (the clip was later deleted but is <a href="https://twitter.com/elivito/status/1238050903552405504?s=20">still available</a> on Twitter)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*zA1NtGIEpzeuFKw4b00mmg.png" /><figcaption>Feb 27th: Matteo Salvini request to open everything that can be opened (<a href="https://twitter.com/elivito/status/1238050903552405504?s=20">source</a>)</figcaption></figure><p>And then just a few days later he asked to close everything to restart healthy tomorrow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*I-86kza-EaalpNZbsmksrw.png" /><figcaption>March 12th: 2 weeks after, Salvini asking to close everything (source: Twitter)</figcaption></figure><p>Despite calls to stay home, people in Italy were still going to the beach and skiing (see picture from March 1st near Torino). Continuing to meet friends, going to restaurants and having a normal social life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*kmX1dP1LSOP70NzDETyGFQ.png" /><figcaption>Source: …</figcaption></figure><h4>March 7th: <a href="https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200307-sitrep-47-covid-19.pdf?sfvrsn=27c364a4_4">4636 cases</a></h4><h4>March 14th: <a href="https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200314-sitrep-54-covid-19.pdf?sfvrsn=dcd46351_6">17660 cases</a></h4><p>Hospitals are now overwhelmed with sick people needing intensive care. There are not enough hospital beds so there has been proposals that doctors <a href="https://www.smh.com.au/world/europe/italian-doctors-propose-intensive-care-age-limit-to-save-younger-patients-20200312-p5499t.html">triage patients based on their age</a>. Doctors and nurses are getting sick as well, becoming true (understaffed) silent angels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*z2tB-T0_WoGGKnoKYqE4OQ.png" /><figcaption>Silent heroes in this pandemic, doctors and nurses are overworked and exhausted (source: Facebook)</figcaption></figure><p>Some hospital staff have died as young as 46 years old, leaving a wife and an 8 year old son (<a href="https://bergamo.corriere.it/notizie/cronaca/20_marzo_14/coronavirus-bergamo-morto-anche-operatore-118-33769f44-65df-11ea-a287-bbde7409af03.shtml">source</a>).</p><h4>“Sorry Italy! But fortunately we won’t be like you”: here is why you are wrong</h4><p>And please do not make the mistake of considering this “just an Italian problem” because the <a href="https://www.washingtonpost.com/health/2020/03/13/coronavirus-numbers-we-really-should-be-worried-about/">numbers are scary and rising fast for the US</a> and other European countries too.</p><p>In fact, many other countries including the US are exactly on the same trajectory as Italy. If we don’t change our behavior now, we will face the same fate as Italy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*C5-x7sdsEaYX7nx8" /><figcaption>Source: <a href="https://twitter.com/MarkJHandley/status/1238997770515763205/photo/1">https://twitter.com/MarkJHandley/status/1238997770515763205/photo/1</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Af46H3IY0-j36C_C" /><figcaption>Source: <a href="https://twitter.com/MarkJHandley/status/1238604695700209664/photo/1">https://twitter.com/MarkJHandley/status/1238604695700209664/photo/1</a></figcaption></figure><h3>So what?</h3><p>You can slow down this pandemic. As written above:</p><p>Stop meeting friends, do not join parties, avoid restaurants and stop traveling! Avoid as much social contact as possible. If you can work from home, do so.</p><p>Please act NOW! Your household is only as strong as your weakest link. Make sure everyone observes social distancing; otherwise your efforts will be pointless. Washing your hands is NOT enough!</p><h3>Not convinced yet?</h3><p>Look at this nice <a href="https://www.washingtonpost.com/graphics/2020/world/corona-simulator">Coronavirus simulator</a> to learn why social distancing is so important!</p><p>Stay healthy, enjoy your home!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=895ba252bdb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in marketing: what is bullshit and what are the real opportunities?]]></title>
            <link>https://medium.com/@leodambrosi/ai-in-marketing-what-is-bullshit-and-what-are-the-real-opportunities-caf3e2ff09dd?source=rss-8984e59eb30c------2</link>
            <guid isPermaLink="false">https://medium.com/p/caf3e2ff09dd</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Leonardo D'Ambrosi]]></dc:creator>
            <pubDate>Sun, 11 Nov 2018 18:24:42 GMT</pubDate>
            <atom:updated>2018-11-25T21:16:56.544Z</atom:updated>
            <content:encoded><![CDATA[<p>Working in data over the past decade, I’ve been exposed to different industries like healthcare, banking and online marketing. Despite their differences, I’ve recognized a common denominator: to leverage the power of data, business objectives have the priority over technology. To rephrase: technology is a tool to serve the business. Not vice versa.</p><p>As explained in this <a href="https://blogs.wsj.com/cio/2018/11/02/its-all-about-business-model-innovation-not-new-technology/">WSJ article</a>, <em>“New technology alone” — </em>including<em> </em>over-hyped AI — <em>“no matter how transformative, is not enough to propel a business into the future. The business model wrapped around the technology is the key to its success or failure.”</em></p><p>To give an example, while leading the Data Analytics team for <a href="https://www.plista.com/">plista</a>, an advertising agency, everyday I was asking myself how to enable truly data-driven decisions, a culture of experimentation and analytics as key success factors to pursue a competitive advantage.</p><p>Our data engineering team was responsible for developing and maintaining a real time proprietary ad recommendation algorithm. This algorithm aimed to serve the best advertisement to the best user in the right moment. Data like previous user clicks, cookie history and ad impressions were foundational.</p><p>But taking a step back, in order to achieve a full 360° optimization, how could data be used to predict ad performance even before the ad went live?</p><p>I concepted and developed with my team an AI algorithm able to optimize ads based on statistical text modeling (grammatical patterns, text length, entity types) and image analysis (objects in the image). Results: the average CTR increased by +15% resulting in a more compelling and effective marketing communication.</p><p>As other examples of data and technology serving the business, my team implemented analytics to automate A/B testing, anomaly detection and forecasting. No matter which programming language we used, R or Python or Scala, and whether or not we used AI the most important aspect was related to fast continuous experimentation, clear business objectives and time to market.</p><p>Unless you’re living on another planet, I probably don’t need to tell you that there is a lot of <a href="https://trends.google.com/trends/explore?date=all&amp;q=%2Fm%2F0mkz">hype around AI</a>— it’s everywhere. But what’s the actual opportunity with AI?</p><p>I would like to shed some light on what AI is and what it isn’t. How does it relate to Machine Learning and to Deep Learning? Are they all synonyms or is one a subset of another?</p><p>As explained by <a href="https://www.linkedin.com/in/fchollet/">François Chollet</a> in his book “<a href="https://www.manning.com/books/deep-learning-with-python">Deep learning with Python</a>”:</p><blockquote><strong>AI</strong>: <strong>Artificial intelligence</strong> was born in the 1950s to automate intellectual tasks normally performed by humans. Early chess programs, for instance, only involved hard-coded rules crafted by programmers, and didn’t qualify as machine learning. For a fairly long time, many experts believed that human-level artificial intelligence could be achieved by having programmers handcraft a sufficiently large set of explicit rules for manipulating knowledge. This approach is known as <strong>symbolic AI</strong>, and it was the dominant paradigm in AI from the 1950s to the late 1980s. Although symbolic AI proved suitable to solve well-defined, logical problems, such as playing chess, it turned out to be intractable to figure out explicit rules for solving more complex, fuzzy problems, such as image classification, speech recognition, and language translation.</blockquote><blockquote><strong>ML</strong>: A <strong>machine-learning</strong> system is <em>trained </em>rather than explicitly programmed. It’s presented with many examples relevant to a task, and it finds statistical structure in these examples that eventually allows the system to come up with rules for automating the task. Machine learning is tightly related to mathematical statistics, but it differs from statistics in several important ways. Unlike statistics, machine learning tends to deal with large, complex datasets (such as a dataset of millions of images, each consisting of tens of thousands of pixels) for which classical statistical analysis such as Bayesian analysis would be impractical. As a result, machine learning, and especially deep learning, exhibits comparatively little mathematical theory — maybe too little — and is engineering oriented. It’s a hands-on discipline in which ideas are proven empirically much more often than theoretically.</blockquote><blockquote><strong>DL</strong>: The <em>deep </em>in <strong><em>deep learning</em></strong><em> </em>isn’t a reference to any kind of deeper understanding achieved by the approach; rather, it stands for this idea of successive layers of representations. How many layers contribute to a model of the data is called the <em>depth </em>of the model.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*twA44aWrd4UCgjuUO6Pt7A.png" /><figcaption>What’s the difference among AI, machine learning and Deep Learning?</figcaption></figure><blockquote>How does machine learning differ from classical programming?</blockquote><p>Let’s think about a very <strong>simple algorithm</strong>: greetings. For the sake of simplicity, let’s assume that after 6 pm the greeting should be “good evening”. With traditional programming, the engineer would handcraft this rule and given any time after 6 pm, the outcome would be “good evening”. With machine learning, this same rule would be instead derived <em>automatically </em>from the training data. This subtle but significant difference, combined with the development and the evolution of the computation power + the ability to store data cheaply, dramatically boosted the development at scale of machine learning and later on deep learning — with the effect being scalable algorithms that are sometimes biased (like an AI recruiting tool built by Amazon that was later scrapped because it showed <a href="https://www.reuters.com/article/us-amazon-com-jobs-automation-insight/amazon-scraps-secret-ai-recruiting-tool-that-showed-bias-against-women-idUSKCN1MK08G">bias against women</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yYdHZkiDA19xZSczWdBx5w.png" /><figcaption>How machine learning differ from classical programming</figcaption></figure><p>As explained by the AI guru <a href="https://twitter.com/AndrewYNg">Andrew Ng</a> in a recent <a href="https://www.mckinsey.com/featured-insights/artificial-intelligence/how-artificial-intelligence-and-data-add-value-to-businesses">interview</a>:</p><blockquote>Almost all the economic value created by AI is through one type of technology, <strong>supervised learning</strong>, which learns inputs, outputs, or maybe A-to-B mappings, such as you might input an email, telling you it’s spam or not. For speech recognition, you input an audio clip and output a text transcript. For machine translation, input an English sentence, output a Chinese sentence. For a self-driving car, input a picture of what’s in front of your car and your radar readings and output the position of the other cars.</blockquote><blockquote>In the AI research literature, we often talk about <strong>unsupervised learning</strong>, which roughly means letting the AI look around the world and figure things out by itself.</blockquote><blockquote>We sometimes talk about<strong> transfer learning</strong>, where you learn to do one thing and use that knowledge to do something else as well.</blockquote><blockquote>Sometimes, we talk about <strong>reinforcement learning</strong>, which is a little bit like how you might train a puppy. The dog does something good, and you go, “Good dog.” It does something bad, and you go, “Bad dog.” And over time, the dog figures out what it did well, what it did poorly, and hopefully does more of the good things.</blockquote><p>Having clarified the terminology, we are still asking ourselves what are the real <strong>AI applications</strong>. Is AI a magical tool doing things better than humans?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*w3rfMoaCjBWuXlprAU0Vlg.png" /><figcaption>$432,500 <a href="https://www.christies.com/features/A-collaboration-between-two-artists-one-human-one-a-machine-9332-1.aspx">Christies</a> AI artwork sells</figcaption></figure><p>Just recently, during a famous Christie’s auction, an <a href="https://www.christies.com/features/A-collaboration-between-two-artists-one-human-one-a-machine-9332-1.aspx">AI artwork sold for $432,500</a> — nearly 45 times its high estimate. This was the first auction of a work of art created by an algorithm.</p><blockquote>So if AI can paint, why can’t it manage a marketing budget? Why can’t AI automatically define which channels are and are not relevant to your business? Why can’t AI finally succeed in real-time marketing, personalization and minimizing the cost of customer acquisition?</blockquote><p>Companies like Facebook, <a href="https://9to5google.com/2018/11/09/google-health-efforts-planning-head/">Google</a> and <a href="https://www.fastcompany.com/90246028/how-ai-is-helping-amazon-become-a-trillion-dollar-company">Amazon</a> use AI in every aspect of their business — often in <a href="https://www.wired.co.uk/article/facebook-ai-research-fair-google-experiments">competition</a> against each other. They have released many interesting tools open source. Among others, Facebook released <a href="https://github.com/facebookresearch/Detectron">detectron</a> for visual object detection research, and <a href="http://object detection research">fastText</a> for text representation and classification. Google released <a href="https://github.com/tensorflow/adanet">Adanet</a> for machine learning automation (AUTOML) and <a href="https://github.com/google-research/bert">Bert</a>, a state-of-the-art pretraining technique for natural language processing.</p><p>AI targeted several applications: content review, object detection within images, automated ad buying, and chat bot/virtual assistant.</p><blockquote>The outcome of AI, despite being impressive, is still below the expectations<strong>.</strong></blockquote><p>Even despite Facebook’s significant investment in AI, content review algorithms still need human help. In the period 2017–2018, Facebook went from 7,5k to 20k human moderators.</p><p><a href="https://www.nytimes.com/2018/11/05/opinion/artificial-intelligence-machine-learning.html">Melanie Mitchell</a> in the NYT pointed out how AI doesn’t yet understand things the way humans do — having sometimes disastrous consequences.</p><blockquote><a href="https://arxiv.org/abs/1808.03305">A study</a>, humorously called “The Elephant in the Room,” showed that inserting a small image of an out-of-place object, such as an elephant, in the corner of a living-room image strangely caused deep-learning vision programs to suddenly misclassify other objects in the image. Even more worrisome are recent demonstrations of the vulnerability of A.I. systems to so-called <strong>adversarial</strong> examples. In these, a malevolent hacker can make specific changes to images, sound waves or text documents that while imperceptible or irrelevant to humans will cause a program to make potentially catastrophic errors.</blockquote><p>As another example of unmet expectations, Programmatic Advertising, the use of software to automatically purchase digital advertising, ended up in fraud and security threats for $6.5 billion in 2017.</p><p>The long expected AI impact on smart chatbots in 2016 saw Microsoft turning off their AI bot, which was called TAY (Thinking About You). The AI bot had the slogan “the more you talk, the smarter Tay gets.” Yet it took less than 24 hours for Twitter to corrupt an innocent AI chatbot. After the bot turned into racist nazi, Microsoft turned it off.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/238/1*0v6ITdV1HtoLMtdXaT2aoA.png" /><figcaption>It took less than 24 hours for Twitter to corrupt an innocent AI chatbot.</figcaption></figure><p>In spite of the disappointment and failure of certain applications, the fast pace of development of AI is unlikely to stop. After all, as tweeted by the futurist <a href="https://twitter.com/gleonhard/status/875399290465734656">Gerd Leonhard</a>: “humanity will change more in the next 20 years than the previous 300 years.”</p><p>Andrew Ng recently defined AI as “<a href="https://medium.com/syncedreview/artificial-intelligence-is-the-new-electricity-andrew-ng-cc132ea6264">the New Electricity</a>,” set to revolutionize every sector.</p><blockquote>About a century go, we replaced steam powered machines with those using electricity. We transformed transportation, manufacturing, agriculture, healthcare and so on.</blockquote><blockquote>Now, AI is poised to start an equally large transformation on many industries. For example, the IT industry is totally transformed by AI. FinTech is being also being totally transformed. Healthcare is starting to be, and there is huge opportunities there. Self-driving is an industry built on AI. Others industries, like search engines and food delivery, are also supported by AI. The only industry which will not be transformed will probably be hairdressing.</blockquote><blockquote>AI already today offers great opportunities,<strong> if expectations are well managed</strong>.</blockquote><p>Today AI can serve marketing for personalization: recommendations algorithms can be enhanced by unstructured data, like text (Natural Language Processing) and images (computer vision).</p><p>Voice searches require marketers to adapt their content so that it’s closer to the way a user would verbally express themselves.</p><p>AI can analyze millions of pieces of data about the consumer to determine the best times and days of the week to contact the user, the recommended frequency, and the content that catches their attention most.</p><p>Facebook recently open-sourced <a href="https://code.fb.com/ml-applications/horizon/">Horizon</a>, a <strong>reinforcement learning</strong> platform used in a wide range of applications, like helping to personalize <a href="https://techcrunch.com/2015/08/26/facebook-is-adding-a-personal-assistant-called-m-to-your-messenger-app/">M suggestions</a> and delivering more meaningful notifications.</p><p>Marketing is slowly moving away from social media to messaging apps (eg. WeChat, iMessage and Facebook Messenger). As brands need to find a way to be a part of that conversation without being perceived as too intrusive, chatbots are the answer.</p><blockquote>“Where chatbots get really interesting is in personalising media and responses. Here you can really do one-to-one marketing at scale.” said Mr Christian Brucculeri, CEO of mobile messaging company Snaps.</blockquote><p>Companies are realizing that Augmented Reality, Virtual Reality, wearables and chatbots are complementary. According to Chris Bell, the Asia Pacific Business director of Blippar, an augmented reality and image recognition app:</p><blockquote>“AI-driven AR will finally kill the term ‘digital marketing’ as the virtual and digital world will be bridged as one through augmented and mixed-reality views giving brands and advertisers the ability to engage with their consumers in ways that never existed before”</blockquote><blockquote>So concretely, what are the next step to leverage AI today?</blockquote><p>A really insightful <a href="https://www.businessinsider.com/companies-using-ai-technology-struggling-because-data-2018-10?IR=T">Business Insider</a> article explained:</p><blockquote>Companies to really reap the benefits — to be able to detect trends, identify anomalies, and make predictions about future behaviour — they’re going to have to come to terms with their data. The biggest challenge most organizations face when they start thinking about AI is their data: some companies don’t have enough data, others have it in disparate places, others don’t have it in a usable format.</blockquote><p>Read: AI is not <a href="https://www.technologyreview.com/s/612394/ai-is-not-magic-dust-for-your-company-says-googles-cloud-ai-boss/">magic dust</a> for your company. Along the same lines the <a href="https://blogs.wsj.com/cio/2018/10/15/tech-chiefs-need-to-manage-ai-expectations/">WSJ</a> pointed out that:</p><blockquote>Many corporate directors perceive AI as a <strong>magical tool</strong> for doing things “better than humans, but AI is really about augmenting what we can do,” especially in the business world, said Janelle Hill of Gartner.</blockquote><blockquote>According to Gartner research, 75% of companies are only in the “awareness stage” of developing AI-driven processes, and only 20% have active AI projects in operation. The ability of AI to crunch massive amounts of data and generate real value-creating decisions for businesses will not climb above $2 billion in added revenue until roughly 2025.</blockquote><blockquote>“You need to reset some of those expectations,” said Hill. That means starting now to identify possible AI use cases throughout a business, learn the skills needed to get a competitive advantage from AI, and gather the right talent — all while preparing current internal systems to work with these new, smart capabilities.</blockquote><blockquote>At the end of the day, she said, the value of AI is proportional to how much a company is willing to rethink its business model, for both the short and long term.</blockquote><p>AI is a mean to an end. To derive the full potential of AI in marketing, it’s important to <a href="https://www.forbes.com/sites/andrewstephen/2018/10/08/ai-marketing-backtobasics/#76e5eede4973">go back to the basics</a>. That means starting with the questions and exploring if AI can help get to the answer. Not vice versa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caf3e2ff09dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remotely control your radiator heating for less than €20]]></title>
            <link>https://medium.com/@leodambrosi/remotely-control-your-heating-for-less-than-20-dec9c4c2effa?source=rss-8984e59eb30c------2</link>
            <guid isPermaLink="false">https://medium.com/p/dec9c4c2effa</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bluetooth]]></category>
            <category><![CDATA[smart-home-automation]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Leonardo D'Ambrosi]]></dc:creator>
            <pubDate>Sun, 15 Jan 2017 14:37:48 GMT</pubDate>
            <atom:updated>2019-11-30T21:16:32.420Z</atom:updated>
            <content:encoded><![CDATA[<p>Smart home automation devices can be really expensive, especially for radiator heating. Yet, on the market, you can find very good and inexpensive <a href="https://www.google.it/#q=thermostat+bluetooth">thermostats controllable via BLE</a> (Bluetooth low energy) that upgrade your old manual ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*0MWdxsNioOQU3Eboy8CWUQ.jpeg" /><figcaption>Old manual radiator’s thermostat</figcaption></figure><p>You can manage the electronic thermostat through its app within a short distance via bluetooth. That’s helpful when you’re at home but not if you’re looking to control it from afar.</p><p>So how can you control them over the Internet? Let me show you how.</p><p>First I sniffed bluetooth packages sent via the original app. Then, I replicated the signal via Raspberry Pi.</p><p>Since the release of Android 4.4, it’s been possible (in developer mode) to log your bluetooth activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*zWWns2gnRJnVCyKMsPxw4g.png" /><figcaption>Enable bluetooth logs</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*E9KPps8rIAPpQUmaDdu7Xg.png" /><figcaption>Find your bluetooth logs</figcaption></figure><p>After I located the destination of the logs, I downloaded the file and opened it in <a href="https://www.wireshark.org/">Wireshark</a>. I looked for <em>WRITE packages</em> in which my phone was the source.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HX5VSkWY5n9TvSUz65KRaQ.png" /><figcaption>Read your BLE logs with Wireshark</figcaption></figure><p>After reading the Bluetooth Attribute Protocol, I just needed to copy the attribute <strong>handle</strong> (required to set the temperature) and the <strong>value </strong>of the temperature itself.</p><p>Well, I tested the signal transmission by setting the temperature to 15.5 °C via the app. So where did the value of 3f1f come from? After changing several temperatures and seeing that the first byte never changed,</p><pre>3f12 = 9 °C<br>3f14 = 10 °C<br>3f17 = 11.5 °C<br>3f20 = 16 °C<br>3f24 = 18 °C<br>3f26 = 19 °C<br>3f28 = 20 °C<br>3f30 = 24 °C<br>3f2c = 22 °C<br>3f1f = 15.5 °C<br>3f32 = 25 °C</pre><p>we found that the value should be stored in 2 bytes, each of them with the following conversion:</p><pre>Hexadecimal -&gt; Binary -&gt; Integer</pre><p>So in this example, the value of 3f1f equated to 15.5 °C:</p><pre>1. 3f -&gt; 00111111 -&gt; 63<br>2. 1f -&gt; 00011111 -&gt; 31 (15.5 °C * 2 probably to remove the first decimal digit)</pre><p>All right, we derived the logic. Now we just need to apply it from any computer to a thermostat.</p><pre># pair your device<br>&gt;<strong> </strong>bluetoothctl<br>&gt; scan on<br>(Bluetooth devices will be listed, find yours)<br>&gt; scan off<br>&gt; pair XX:XX:XX:XX:XX:XX (MAC address your device)<br>(insert your PIN if asked)<br>&gt; trust XX:XX:XX:XX:XX:XX (MAC address your device)<br>&gt; disconnect XX:XX:XX:XX:XX:XX (MAC address your device)<br>&gt; quit</pre><pre># set temperature  of 15.5 °C<br>&gt; gatttool -b XX:XX:XX:XX:XX:XX --char-write-req --handle=0x0001 --value=3f1f</pre><p>After running the last command, you will see the temperature change on your device. Automagically :)</p><p>That’s all folks, enjoy your home automation!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dec9c4c2effa" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>