<?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[Stratio - Medium]]></title>
        <description><![CDATA[The world’s leading public transport operators run Stratio. - Medium]]></description>
        <link>https://medium.com/stratio?source=rss----9b0e63c90db9---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stratio - Medium</title>
            <link>https://medium.com/stratio?source=rss----9b0e63c90db9---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:51:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/stratio" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Towards Continuous Firmware Delivery]]></title>
            <link>https://medium.com/stratio/towards-continuous-firmware-delivery-5c8a3d5d4177?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/5c8a3d5d4177</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[test-driven-development]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[firmware]]></category>
            <dc:creator><![CDATA[Guilherme Costa]]></dc:creator>
            <pubDate>Tue, 26 May 2026 10:25:43 GMT</pubDate>
            <atom:updated>2026-05-26T10:25:43.069Z</atom:updated>
            <content:encoded><![CDATA[<h4>Or, Fixing the Engine While It’s On.</h4><p><em>Stop me if you heard this one before: someone asks the embedded engineer why they don’t test their code and they say that “Testing is for software developers”.</em></p><h3>Programming Like it&#39;s 1989</h3><p>Embedded development moves slowly, and understandably so. We are a cautious bunch, shaped by the tales of hardfaults and stack overflows.</p><p>We want certainty, and the tried and true code written 20 years ago using Windows XP compatible IDEs is usually preferable to the shiny new tools and languages that have been created since then. Most of the time it&#39;s not even possible to use newer stuff because we simply lack the resources to do so. Either we don&#39;t have the compiler support or the new stuff doesn&#39;t fit into the available memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yvW7z-Q4dB2SWvsh.jpg" /><figcaption>It&#39;s the 21st century, retrocomputing should be done only for fun.</figcaption></figure><p>However, when taken to extremes, this creates a culture of complacency. New techniques and tools are passed along simply as fads or even as <em>something that does not apply to embedded</em>. This is doubly true when we talk about development methodologies such as Test Driven Development and Continuous Delivery. I&#39;ve heard many times that they can&#39;t be implemented for embedded development because embedded is <em>different</em>. But first let&#39;s tackle each of these topics.</p><h4>Test Driven Development</h4><p>TDD was created by or &quot;rediscovered&quot; by Kent Beck in the late 90’s (thanks Wikipedia) and consists of writing some test code before proceding to the implementation of a given feature. This way you have a working specification of your code that can help you check if you are on the right track.</p><p>Do this in small increments and for sufficient time, and you will end up with one (or several) comprehensive test suites that can be used verify your code. Seems great, right?</p><p>And here comes the first common argument against TDD, which is not embedded specific: it&#39;s hard. I have to agree with the naysayers here, it&#39;s quite hard to think about the code you still haven&#39;t written. You don&#39;t know the details of the implementation or even how the interfaces might look like! That is true. But bringing this to the front when implementing a test forces you to think about this stuff earlier, giving you hints on how to move forward.</p><blockquote>Some of the older folks here might remember the advice of writing you header files first. This is the same idea, but with a bit more juice.</blockquote><p>The second one I hear often is that &quot;we are interacting with the real world here. TDD is for people who don&#39;t interact with hardware!&quot;. That one is half-true. Indeed we interact with real world stuff, with its own constraints. But that is a dependency like any other! Web developers need to query databases all the time. Databases have their own constraints. Endpoints and libraries are also dependencies, and people get around those.</p><h4>Continuous Delivery</h4><p>In their book on the subject, Dave Farley and Jez Humble point out that Continuous Delivery is not a tool, not a framework, but a discipline. The driving idea behind it is that we want to avoid the huge risks associated with a big delivery by splitting it up in small, more manageable ones. The term &quot;delivery&quot; also refers having your product in a deliverable state, not necessarily deployed to customers.</p><p>And guess what? This is <em>extremely </em>hard to achieve because it is built on top of a series of good software development practices. The end goal is to deliver value in small increments, but this requires us to shorten the feedback loop between development and validation. There is no way to deliver value continuously if the validation cycle takes four weeks while another 30 commits enter the release branch in the meantime.</p><p>If we are aiming for short feedback cycles, the best place to start is unit testing. And what helps us have a comprehensive test suite when we finish developing a feature? TDD.</p><p>Indeed, among the practices that helps us reach the state of Continuous Delivery, testing is one of the core ones. Test early and test frequently and fewer suprises will pop up as the code moves down the validation pipeline.</p><p>With these concepts out of the way, let&#39;s move on to more practical topics.</p><h3>Who are we?</h3><p>Stratio is a Portuguese company in the predictive automotive maintenance sector. We have tens of thousands devices installed in clients all over Europe, Asian and South America. Our main clients are in the Public Transportation sector and are <em>really worried</em> about service availability — after all, waiting for a late bus can ruin anyone’s day. That means our number crunching must be rock solid.</p><p>A few years ago we realized that our firmware development process was getting in the way of delivering valuable, timely updates to our customers. So we gathered our engineering team and set about changing this situation, as you will see.</p><h3>The Past</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*abZCQOyAgFAX23rc" /><figcaption>Photo by <a href="https://unsplash.com/@hadijasaidi?utm_source=medium&amp;utm_medium=referral">Hadija</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Think about the software development processes you know about and see if any of this sounds familiar:</p><ul><li>No standardized development environment. Each engineer does their own toolchain setup by following a series of loosely-related tutorials.</li><li>Building a new binary is an IDE-dependent process. Someone needs to move the mouse and click on the &quot;build&quot; button.</li><li>Production binaries come from the developer&#39;s machine. They click on the build button, zip the generated files and upload the release to the company&#39;s servers.</li><li>Tests are manual. Someone keeps an eye on a terminal screen looking for a debug message. If it appears, the feature is approved.</li><li>Validation cycles can take anywhere between one week and two months.</li></ul><p>As you might have guessed, this is where we were just a few years ago, and it was unsustainable. Getting a release up to standard to be sent to client was an arduous process, with many tales of pain and terror.</p><p>Solving this became a matter of life and death and, with management buy-in, the fabled Refactoring Effort started. The biggest pain point was the communication unreliability. Our business model is based around crunching a bunch of datapoints every second, and not having datapoints is a Bad Thing™.</p><p>So, at the beginning we wanted to do the following:</p><ul><li>With as little rework as possible, solve the deadlocks that caused the comms outages.</li><li>Increase reliability by writing multiple types of tests to validate desired behavior and detect issues early.</li><li>Reduce our dependency of the target hardware in order to speed-up testing.</li><li>Build and run tests in a pipeline on every commit</li></ul><h4>Testing the Untestable</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*37Mt2cTX_q9RHeC9" /></figure><p>The first effort was then building the software using CMake. This took some effort and required adjustments throughout the entire refactoring effort but once it was solved, we could finally put this into a pipeline.</p><p>The main hurdle towards this goal is that our code was never written with testability in mind. Poor abstractions and extreme coupling made it nigh impossible to test units separately.</p><p>Since our product is FreeRTOS based, we decided to try and run our code on top of a FreeRTOS x86 port, which solved this dependency. Running the entire application also involved writing emulators for our peripherals, since these did not come with the port. These peripherals included GNSS, an LTE Modem, which are connected via UART lines, a few I2C and SPI devices, ADCs…</p><p>So, how did we solve all of this? Simple, we implemented as little code as needed. For a while, emulated ADCs read only 0V for all cases, until we needed them to give a different value. Our FLASH emulator is simply a 128 MB array that lives in the host device RAM.</p><p>Once again, you are getting the good parts here. It took several months from going from zero to something usable, but the first time you get a test running in the pipeline, the feeling is great.</p><p>And it&#39;s important to raise a disclaimer here: testing the whole application as we did is incredibly difficult, even more when the application wasn&#39;t architected with testability in mind! If we had started development with testability in mind, things would be much different.</p><h4>Hardware Tests</h4><p>However, simulation can only take us so far. It is not uncommon to write something that passes with flying colors in the simulation and fails miserably in the target hardware. Identifying this pain point, we created a new target that ran a very small subset of tests directly in the hardware.</p><p>This comes with a different issue: there is no way around the laws of physics. Want to test the accelerometer? Better start throwing that device around. Do you want to format the device&#39;s memory? Hope you have five minutes to spare for each run.</p><p>Hardware is, well, hard. But it is the ultimate source of truth. An application that works only inside the simulation isn&#39;t worth very much. Having tests that validate the final execution environment, however small they may be, is an invaluable step.</p><h4>Vehicles-In-The-Loop</h4><p>Finally, once we started deploying the new firmware versions, we had another question: How is the version performing as a whole across our clients&#39; fleets?</p><p>Fortunately we already had in place most of the infrastructure necessary for this, we &quot;only&quot; had to collect and generate statistics from it. We have thousands of vehicles spread across different clients on multiple continents. We had to find a way to group and query these clients to extracts metrics that made sense to the Firmware and Hardware teams.</p><p>So, one of our developers threw together a quick solution that did generate some of these metrics and we finally had an idea on how the new firmware was doing as a whole.</p><p>Soon we started seeing the fruits of our labor: as we deployed the new versions, communication outages reduced drastically, and we went from around 4 hours of delayed data from the vehicles to almost zero. We reduced GPS loss significantly, with some clients reporting aproximatelly total availability.</p><h3>The Present</h3><p>After around two years of efforts, we managed to rework the most critical modules in our systems, and we have a test suite that tells us when things are not going the way we expect.</p><p>We aren&#39;t rid of mysterious production bugs, but they now happen every six months instead of every two weeks. No one has really done any overtime in the last two years, spending those precious minutes with family and friends.</p><p>And that is the main point of all this effort: peace of mind, for everyone. Product Managers can focus on new features, customers have a high available service. Quality analysts now take around 1 week to validate a release. The firmware team specially can now focus on delivering new features instead of fixing bugs.</p><h4>Software Architecture as a driving force</h4><p>I believe the single greatest lesson we got from this is that yes, it is possible to test firmware, but is a great deal easier with architectural decisions that support testing, and the best way to do this is to make testing an integral part of the process from the very early stages.</p><p>One of the toughest parts of our process is when we need to add some emulation logic to the code, because it usually is a direct or very thin call to a FreeRTOS function. This means that the &quot;seam&quot; in the code that allows us to control the behavior of the system is closely tied to the operating system or the hardware, leading to rather complex emulators and test setup.</p><p>As we gained more experience, the way we tackled this was by writing proper abstraction layers that we then inject in the module. The application and the tests might even use different abstractions:</p><pre>class IDependencyInterface {/*...*/};<br>class ActualDependency : public IDependencyInterface {/*...*/};<br>class FakeDependency: public IDependencyInterface {/*...*/};<br><br>// Application<br>int main()<br>{<br>  auto dep = ActualDependency()<br>  auto my_module = MyModule(dep);<br>}<br><br>// Test<br>TEST(MyModuleTest, ShouldDoStuff)<br>{<br>  auto dep = FakeDependency();<br>  auto my_module = MyModule(dep);<br><br>  my_module.write(1234);<br>  ASSERT_EQ(dep.last_value, 1234);<br>}</pre><p>Well architected code shows the very same characteristics as code written following TDD. It allows us to write decoupled code with proper dependency management, allowing the delivery of small, constant batches of value that have been rigorously tested.</p><p>While it is possible to write well-architected code without TDD, extensive testing is the most obvious way to know if you are going in the right direction. Code that is hard to test is poorly abstracted, and the opposite is also true.</p><h4>Why &quot;Towards&quot;?</h4><p>Still, we haven&#39;t reached a state where we can say we are doing Continuous Delivery. There are still lots of manual tests to be automated, improvement points, flaky tests, ugly code.</p><p>We are moving towards that goal, but we can also get further away from it if we let things slide. If we stop testing, if we let ourselves get caught up in the heat of a particularly difficult bug, if we stop looking for improvement points, both in the code and within the team.</p><p>Still, it&#39;s goal worth pursuing. We are now free to chase the important things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4gSBEu-4K-4fLQjt" /></figure><h3>Conclusion</h3><p>I&#39;d like to be explicit here and draw your attention to a very important point: we did not use any shiny framework for this. We didn&#39;t pay a dime for the tools (besides GitLab), and stuck with tried and true libraries and good old elbow grease.</p><p>Also this was done with a teams of less than 10 developers and QA analysists, none of whom took costly courses on TDD or Continuous Delivery, nor relied on high-priced consultants. The theory upon we based our work is widely available for free in the internet. Our compiler is GCC, our build tool is CMake, the test framework is GoogleTest.</p><p>While the glue that binds all of this together was hand-written (<em>no AI agents were injured in this refactoring. Don&#39;t look at us like that, this was done a few years ago…</em>), a curious side-effect of this approach is that, once we started incorporating AI agents into our workflow, our tests allowed us to progress quickly and with more confidence that the AI wasn&#39;t breaking anything. Automated pipelines and comprehensive test coverage are the safety net that gives you confidence that the behavior of your product remains consistent across multiple iterations, regardless of your development method.</p><p>If you take away one thing from this post, let it be this: firmware isn’t exempt from modern software practices. We can — and should — build systems that are testable, maintainable, and safe. You just have to start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c8a3d5d4177" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/towards-continuous-firmware-delivery-5c8a3d5d4177">Towards Continuous Firmware Delivery</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coding Is Dead. Long Live Engineering.]]></title>
            <link>https://medium.com/stratio/coding-is-dead-long-live-engineering-51c79f726f25?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/51c79f726f25</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Diogo Duarte]]></dc:creator>
            <pubDate>Fri, 30 May 2025 08:06:02 GMT</pubDate>
            <atom:updated>2025-05-30T08:06:01.892Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How AI is reshaping the role of the engineer — and what still makes us irreplaceable.</em></p><figure><img alt="A broken keyboard and a glowing systems diagram projected in the wall" src="https://cdn-images-1.medium.com/max/1024/1*tmYvpeJpAkhuMbIjMnxc6Q.png" /></figure><p>I recently attended <strong>Codemotion 2025 in Madrid</strong>, and walking out of that conference, one thing was clear: <strong>AI isn’t just part of the conversation — it is the conversation.</strong></p><p>Almost every session I joined had something to say about large language models, autonomous agents, or the future of software development. The energy was a mix of excitement, urgency, and — for some — quiet unease.</p><p>And I get it.</p><p>We’re seeing tools like<a href="https://github.com/features/copilot"> GitHub Copilot</a>,<a href="https://openai.com/blog/openai-codex"> OpenAI Codex</a>, and<a href="https://www.cognition-labs.com/"> Cognition’s Devin</a> go from smart helpers to systems that can write features, fix bugs, and scaffold apps with little human input.</p><p>Tech leaders aren’t shy about the implications. Anthropic CEO Dario Amodei predicts that AI will write <strong>90% of code within six months</strong>. Mark Zuckerberg says that AI will write most software <em>soon</em>. On social media, the sentiment is everywhere: <em>Developers are done.</em></p><p>It’s easy to see how someone might believe that. The speed and capability of these tools are jaw-dropping. And I don’t doubt that much of the code we write today will, soon enough, be written by machines.</p><p>Still, the thought kept looping in my mind on the flight home:</p><blockquote><strong>If AI can write the code… what exactly are we still here to do?</strong></blockquote><h3>From Typing to Thinking</h3><p>There’s something that we are not talking about enough:</p><blockquote><strong>Just because AI can write the code doesn’t mean it understands the system.</strong></blockquote><p>There’s a critical difference between executing instructions and designing systems. Between completing a task and understanding the broader context it lives in.</p><p>A lot of what we call <em>software development</em> today is instruction-following — building exactly what’s in the ticket. But <strong>software engineering</strong> is something else. It’s about asking:</p><p><em>Is this the right thing to build? Will it scale? How does it integrate? What happens when it fails?</em></p><p>Those questions still need answers. And as of now, <strong>AI doesn’t ask them.</strong> We do.</p><h3>Developer vs. Engineer: Not the Same Role</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J_44MEFCwdha9tjkZBFLGA.png" /></figure><p>Here’s how I’ve come to see it:</p><ul><li>A <strong>developer</strong> takes a Jira ticket and builds what’s asked. They work at the task level — like a <strong>cook following a recipe</strong>, focused on execution and correctness.</li><li>An <strong>engineer</strong> asks if the recipe makes sense. They look at how the dish fits into the menu, the kitchen setup, and the customer’s dietary needs. They design for systems, longevity, and trade-offs — like a <strong>chef crafting a dish and orchestrating the meal</strong>.</li></ul><p>Both roles are valuable. But one of them is far more difficult to automate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*We3qNPoiEWlCiAzkAWR0sQ.png" /><figcaption>Developer vs. Engineer</figcaption></figure><p>And that’s the part I don’t think we’re talking about enough.</p><p>As AI handles more and more “coding,” we’ll be left with something richer, messier, and more human: <strong>engineering judgment.</strong></p><h3>Learning to Work With the Machine</h3><p>From the start, I’ve looked at AI not as a competitor but as a powerful tool — one that still needs direction.</p><p>The best engineers I know aren’t ignoring this shift either. They’re leaning into it. They’re figuring out how to prompt better, review faster, and automate smarter. They’re using AI to <em>stop writing boilerplate</em> and start thinking about architecture, integration, and user impact.</p><p>Many teams are already using LLMs to generate scaffolding code and tests, freeing them to spend time on edge cases, system design, or refactoring legacy systems. That’s time reclaimed — and reinvested.<br> That shift — from writing every line to reviewing AI-generated scaffolding — is already happening. And it’s changing how we spend our engineering time.</p><p>I’m trying to do the same.</p><p>But it’s not easy. Especially if you’re just getting started.</p><h3>What About Junior Engineers?</h3><p>This shift, however, creates a real challenge: <strong>how do junior engineers grow when AI now does the entry-level work?</strong></p><p>For decades, juniors learned by writing tests, fixing bugs, and implementing clearly scoped features. Those were the rungs of the ladder — the on-ramps into the profession.</p><p>But now? AI handles most of them by default.</p><p>So, where do new engineers start?<br>How do they get the reps they need if the easy work is already automated?<br>What happens when teams stop hiring juniors altogether?</p><p>We still need people who grow into system thinkers.<br> And we can’t afford to let that pipeline dry up.</p><p>We’ll need new models — mentoring, pair programming with AI, guided simulations — anything that helps juniors build good judgment while the machines take care of the easy wins.</p><h3>A New Kind of Creativity</h3><p>Despite all the uncertainty, I’m hopeful. Because something else happens in moments like this:<br><strong>We get creative.</strong></p><p>Constraint forces clarity. Disruption opens the door to reinvention. And this moment, this AI wave, might be the biggest invitation we’ve had in years to rethink how we build, who builds, and what it means to do great engineering.</p><p>The compiler didn’t end programming. The cloud didn’t end infrastructure.<br>AI won’t end engineering.<br>But it will change it, deeply, permanently, and fast.</p><h3>Still Ours</h3><p>Let AI write the code.<br>Let it scaffold the UI, optimize the loop, and fix the test.</p><p>But we’ll still be the ones asking:<br> <em>What are we solving? Why does it matter? What’s at stake?</em></p><blockquote><strong>AI might replace developers. But not engineers.<br></strong> <strong>Because engineering was never just about typing.</strong></blockquote><p>This reflection started on the plane home from Madrid.<br> It’s still evolving — just like the work we do.</p><h3>Author’s Note</h3><p><em>This piece was co-written by me, </em><strong><em>Diogo Duarte</em></strong><em>, in collaboration with </em><strong><em>GPT-4o</em></strong><em> from OpenAI. I guided the structure, ideas, and edits — the model helped shape the language and pacing. Every opinion and reflection here is my own.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51c79f726f25" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/coding-is-dead-long-live-engineering-51c79f726f25">Coding Is Dead. Long Live Engineering.</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Stratio’s Vault Library: Simplifying Secrets Management in .NET using Hashicorp Vault]]></title>
            <link>https://medium.com/stratio/introducing-stratios-vault-library-simplifying-secrets-management-in-net-using-hashicorp-vault-88ffc93a2d6f?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/88ffc93a2d6f</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[hashicorp]]></category>
            <category><![CDATA[hashicorp-vault]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Stratio]]></dc:creator>
            <pubDate>Thu, 20 Jul 2023 16:29:42 GMT</pubDate>
            <atom:updated>2023-07-21T14:44:48.168Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing Stratio’s Vault Library: Simplifying Secrets Management in .NET using Hashicorp Vault</h3><h4>Empowering the .NET Community with an Open-Source Solution for secrets handling</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O-2rIrJZqX5Emwfb30mEfw.jpeg" /></figure><p>In today’s digital landscape, businesses cannot compromise on the security of their sensitive information. As applications grow more complex, managing secrets, such as API keys, database credentials, other confidential data, or even special configurations, becomes a critical aspect of software development.</p><p>To address this challenge, Stratio developed the Stratio Vault Library, a .NET library designed to streamline secrets management for applications interfacing with Vault.</p><p>This library was initially aimed at improving and simplifying the life of our developers, as well as further increasing the security of our solutions.</p><p>After the development and internal adoption of this library, we believe we have achieved the initial objectives and decided it would make sense to make it widely available for the world to use and improve.</p><h3>Streamlining Secrets Management</h3><p>The Stratio Vault Library serves as a convenient layer on top of the well-established <a href="https://github.com/rajanadar/VaultSharp">VaultSharp Library</a>, acting as an extension of Microsoft’s Configuration and Hosting libraries, specifically tailored for applications written in .NET.</p><p>It aims to simplify the process of using secrets within .NET solutions by leveraging the appsettings.json file and Vault’s secret management software.</p><p>By utilizing the Stratio Vault Library, developers can seamlessly integrate their applications with secrets or configurations fetched from Vault without the need for extensive code modifications or manual configuration changes.</p><p>In order to adopt this, extension all you need to do is call <strong><em>.useVault</em></strong> from your HostBuilder: this will connect your application to Vault using vault configuration in your environment. From there, you can use secrets in your app settings files by using the placeholders defined by the library.</p><p>If you’re not here to read a wall of text and want to jump right into action, just follow the next link and you’ll get right to the repository where you can find the Stratio Vault Lib: <a href="https://github.com/stratio-automotive/Stratio.Extensions.Configuration.Vault">https://github.com/stratio-automotive/Stratio.Extensions.Configuration.Vault</a>.</p><p>This streamlined approach significantly reduces the complexity associated with secrets management, enabling developers to focus on building robust and secure applications.</p><h3>How does it work?</h3><p>Let’s suppose you are developing an API in .NET that connects to multiple SQL Server databases. In order to connect to the databases, you’ll need to have some kind of access credentials set up somewhere. Typically in a .NET project this information can be stored in the appsettings.json file. Take the example below:</p><pre>{<br>  ...<br>  &quot;Database&quot;: {<br>    &quot;host&quot;: &quot;database.myorg.com&quot;,<br>    &quot;databases&quot;: {<br>      &quot;client1&quot;: &quot;client1Database&quot;,<br>      &quot;client2&quot;: &quot;client2Database&quot;,<br>    },<br>    &quot;user&quot;: &quot;apiuser&quot;<br>    &quot;password&quot;: &quot;mypassword&quot;<br>  }<br>  ...<br>}</pre><p>For simplicity, let’s assume that the two databases in SQL Server share the same host, username and password.</p><p>As you’ve probably already guessed, this is not only an extremely unsecure way to store your credentials, as they’re stored in clear text in an accessible text file, but they’re also pretty much static when you think about a typical SDLC, constantly pushing right through various environments.</p><p>But what if there were a simpler way to achieve security and flexibility in this context? You’re probably looking to replace that sensitive information with variables, right? But where will you store the variables? And how can you assign values to those variables?</p><p>The storing of sensitive information is hardly a new topic of discussion among developers. Recent conferences and workshops have praised the efficiency of solutions like Vault or AWS Secrets Manager.</p><p>We wanted to give these tools a try and, for us, the choice was obvious, we needed a solution that wouldn’t tie us to a cloud provider, and we also wanted to have multiple installations of this tool, specifically on premises. Therefore, we went for Vault and started our quest to improve the security of our sensitive data.</p><p>Vault servers were set up, properly configured and tested. We managed to access secrets from Vault securely from our Kubernetes Clusters and CI Pipelines, but then we got to the stage of integrating these secrets into our .NET solutions.</p><p>We expected there would be some kind of library simple enough to read Vault secrets into our .NET solutions. There wasn’t. We’ve searched everywhere and found nothing that would even come close to making us raise our eyebrows and wonder if it might be it.</p><p>We even went as far as doing something unthinkable: we went onto the second page of Google Search results. The chills, the heresy, the capital sin!</p><p>Now, in all seriousness, there isn’t much out there that would simplify the task of getting our .NET solution to read Vault secrets. There are some alternatives apart from the widely used VaultSharp Library, however, they lack customization and flexibility, in that they have a very hard structure of Vault secrets organization.</p><p>The available authentication methods may be too few, or they’re simply too basic and/or very cumbersome to set up. That’s when we understood that we would have never been able to convince our Developers to adopt any of these libraries since the integration was way too complex, required too many changes, and didn’t meet our requirements.</p><p>That’s when we got the idea of adding a layer of abstraction on top of the library that was closer to Vault, which was indeed the VaultSharp Library. And just like that, the Stratio Vault Library started to take shape.</p><p>The Stratio Vault Library is indeed an abstraction layer on top of VaultSharp, but it’s set up in a way that makes it a lot easier to work with it. It’s nothing more than a NuGet package, with which you’re hopefully already familiar.</p><p>After including the NuGet package, it’s just a matter of calling .useVault() from your HostBuilder and, taking into account the previous example, customising your appsettings.json file as follows:</p><pre>{<br>  ...<br>  &quot;Database&quot;: {<br>    &quot;host&quot;: &quot;{% vault_secret sqlserver:host %}&quot;,<br>    &quot;databases&quot;: &quot;{% vault_dict sqlserver/databases %}&quot;,<br>    &quot;user&quot;: &quot;{% vault_secret sqlserver:username %}&quot;<br>    &quot;password&quot;: &quot;{% vault_secret sqlserver:password %}&quot;<br>  },<br>  &quot;Vault&quot;: {<br>    &quot;vaultAddress&quot;: &quot;https://myvaultaddress.com:8200&quot;,<br>    &quot;mountPoint&quot;: &quot;myorg/prod&quot;,<br>    <br>    # For authentication via AppRole<br>    &quot;approleAuthName&quot;: &quot;approle&quot;,<br>    &quot;roleIdPath&quot;: &quot;PATH/TO/approle.role_id&quot;,<br>    &quot;secretIdPath&quot;: &quot;PATH/TO/approle.secret_id&quot;,<br>    <br>    # For authentication via Kubernetes Role<br>    &quot;kubernetesAuthName&quot;: &quot;kubernetes&quot;,<br>    &quot;kubernetesSaRoleName&quot;: &quot;kubernetes-role&quot;,<br>    &quot;kubernetesSaTokenPath&quot;: &quot;/var/run/secrets/kubernetes.io/serviceaccount/token&quot;<br>  },<br>  ...<br>} </pre><p>As you can see, the secrets got replaced by placeholders and no more secrets are exposed on your repositories or your servers. Success!</p><p>You might have also noticed that there’s a new section within the Vault configurations. Here, you’ll configure how the library should connect to Vault. Currently, only Approle and Kubernetes methods are actively supported.</p><p>So, in short, this is how the library works:</p><ol><li>Your appsettings.json file gets loaded;</li><li>The library processes the file in search for specific placeholders;</li><li>For each placeholder it finds, the library tries to load the secret from the configured Vault server and, if found, sets the configuration with the secret;</li><li>After all placeholders get replaced, the solution proceeds to work as intended.</li></ol><p>If you need more information, the library comes with comprehensive documentation and examples, making it easy for developers to integrate and utilize its capabilities.</p><h3>Key Features and Benefits</h3><ol><li><strong>Seamless Integration: </strong>The Stratio Vault Library seamlessly integrates with .NET applications, providing a simple interface to interact with Vault. Developers can effortlessly use secrets without needing to actually type clear text secrets in the appsettings.json file.</li><li><strong>Simplified Configuration:</strong> With less than a handful of configuration string patterns, managing secrets becomes a breeze. Developers can define secrets in the appsettings.json file, allowing for centralized configuration management and easy deployment across various environments.</li><li><strong>Enhanced Security: </strong>The library promotes security best practices by securely retrieving and storing secrets from the Vault server. By separating sensitive information from the application code, the risk of accidental exposure or unauthorized access is significantly reduced.</li><li><strong>Extensibility and Customization:</strong> As an open-source project, the Stratio Vault Library empowers developers to extend its functionality to meet their unique requirements. With community contributions, the library can evolve and adapt to the evolving landscape of secrets management, making it a future-proof solution.</li></ol><p>Although we believe we’ve achieved most of our objectives with this library, we’re not done! We are committed to further improving this library (hopefully with a little help from the community) and adding other features, the most impactful being the hot reload of Vault secrets.</p><p>There’s nothing worse than having to restart all your containers when you change the credentials of your database engine. So, introducing a hot reload of secrets is one of our top priorities, which we believe will be critical to ensure a more meaningful and impactful adoption of your workloads.</p><h3>Open-Source for Collaborative Innovation</h3><p>Recognising the importance of collaboration and community-driven development, Stratio has made the Vault Library open-source. This decision ensures that developers from all backgrounds can contribute, enhance, and tailor the library to suit their specific needs.</p><p>Embracing the open-source ethos, we invite the .NET community to participate in this project.</p><h3>Conclusion</h3><p>As secrets management grows in importance, the Stratio Vault Library offers a valuable solution to simplify the integration of .NET applications with Vault.</p><p>By providing a user-friendly layer on top of the VaultSharp Library, it empowers developers to streamline secrets management, enhance security, and focus on delivering high-quality software.</p><p>By open-sourcing this library, Stratio invites the .NET community to contribute and collaborate, fostering innovation and collectively improving secrets management within the ecosystem.</p><p>Together, we can shape the future of secure application development and make secrets management a seamless experience for developers worldwide.</p><p>Join us in embracing the power of the Stratio Vault Library and let’s build a stronger, more secure .NET ecosystem together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88ffc93a2d6f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/introducing-stratios-vault-library-simplifying-secrets-management-in-net-using-hashicorp-vault-88ffc93a2d6f">Introducing Stratio’s Vault Library: Simplifying Secrets Management in .NET using Hashicorp Vault</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to turn a nice day into a nightmare: an Elasticsearch story]]></title>
            <link>https://medium.com/stratio/how-to-turn-a-nice-day-into-a-nightmare-an-elasticsearch-story-b7d955a59cca?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/b7d955a59cca</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[elasticsearch]]></category>
            <category><![CDATA[node]]></category>
            <category><![CDATA[kibana]]></category>
            <dc:creator><![CDATA[Stratio]]></dc:creator>
            <pubDate>Thu, 30 Mar 2023 09:08:47 GMT</pubDate>
            <atom:updated>2023-03-30T09:08:47.029Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hzLMO_Z36VBsT3dh01__Kw.jpeg" /></figure><p>When we first started using Elasticsearch for our predictive maintenance platform, about three years ago, we were a small company with a limited number of features — a small 3 node cluster + 1 node for Kibana — and a small infrastructure team.</p><p>At the time, we chose to host our systems on AWS. We were then faced with the decision of whether we were going to use a managed service or if we would be better off doing it all ourselves on top of EC2 instances (for those not familiar with AWS, those are Virtual Machines). Given that the price was about double for the managed service, it was an easy choice to go for the EC2 instances.</p><p>Today, we are in a much different position. We have many more customers, a wider range of features, and way more vehicles to monitor. The cluster went from 3 nodes up to 15, and is now managed by a bigger infrastructure team.</p><p>A few months ago, we removed one node from the cluster. Everything was normal, the cluster was green, no issues whatsoever. The following morning, one of our senior developers noticed that Kibana was failing to perform some queries — it looked like it was attempting to query nodes that didn’t exist anymore. Looking into the configuration of Kibana, we noticed that, on rotating nodes over a period of three years, we had forgotten to update the configuration to include all the new nodes that had been added since. The night before, we had removed the last note Kibana had knowledge of.</p><p>So, we updated Kibana’s configuration to match the current nodes in the cluster and restarted it, an operation that appeared pretty simple…or so it should have been. In less than a minute, our monitoring started beeping like crazy: Elasticsearch was in trouble.</p><p>We immediately started looking at logs and performing the usual queries to try to understand what had happened. We saw that some nodes were down, so we entered those nodes and saw that the services were running. Strange, right?</p><p>Meanwhile, Elasticsearch was pretty much unresponsive. Several nodes were failing to connect to the master node, responses were inconsistent: one minute we had 12 nodes, the next minute we had 10 or 14. It was chaos.</p><p>Seeing this, we decided to restart the master node to force another node to take its place. That helped, we had various nodes down, but the cluster seemed stable at least. So we started recovering the missing nodes, stopped the service on each one, and then started bringing them up one at a time.</p><p>The first nodes were ok, the number of unassigned shards was decreasing, so we proceeded to bring back one more, Node 6. We brought it back, but as soon as we did that, the cluster started going berserk again! ‘What the hell?’ At least we now had something more concrete to go on. We stopped the node, took a better look at its logs, and we got a message that said “Failed to authenticate user (…)”.</p><p>This was strange and, to make things worse, when we turned on Node 6, we started to receive the same message in other nodes. We decided to check the SSL certificate of that node, and found that yes, it had expired, but more than a month prior. It was a problem, but it wasn’t enough to explain why it was suddenly causing this cascade of issues with other nodes.</p><p>We renewed the SSL certificate for Node 6 and ascertained that it was the only one which had expired (thankfully it was), and re-started the same process of stopping nodes with problems and bringing them back one by one. When we got to the final one, the cluster was running and shards were recovering… to some level.</p><p>While we were busy bringing back the nodes, Elasticsearch tried to recover itself, and in the process we got approximately 600 shards that would not recover at all.</p><p>No panic. The cluster was up and working properly, so we thought we’d best try to run a few queries that could point us to something. Minutes later, we noticed that these shards were stuck unassigned with the reason “node left the cluster”, and that an error message “shard either stalled or corrupt” had appeared.</p><p>I am not going to lie, at this point, the majority of the team was sweating. We have backups, and even better, everything we have in Elastic can be rebuilt. But this would take time and effort, and this was a business day, with services impacted and some systems down. Not a great picture.</p><p>Searching online, we found an <a href="https://medium.com/@remco_verhoef/when-everything-else-fails-cc8a27c679d0">interesting article</a> where someone seemed to be outlining a similar problem. We decided to try the approach of Remco Verhoef, the author of the piece, who advised instructing Elasticsearch to reroute the failing shards to another node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*UFDrttA9ckDZT2eLCC_FXQ.png" /></figure><p>Thankfully, that worked. Shards recovered, and the team got ready for lunch (it was a team-building day, talk about luck…).</p><p>But of course, that wasn’t the end of it: the instruction above was to recover one shard at a time, but notice the part where we select “Node”.</p><p>This is the Node where the shard is stuck… and guess what? There is no easy way to find this (at least, not one that we were able to find). This meant that for each shard we would have to try each Node, and we had 600 of them! What a mess (if you got here, don’t give up and wait till the end, it will be worth it, I promise). So the solution was to go and match each shard on every Node.</p><p>We were able to bring everything back up, with no shards corrupt. From failure to full recovery, it took approximately 3 hours, and we were still able to join the rest of the team for the (late) lunch (at least that was awesome).</p><p>Now, let’s get to the lessons learnt, which hopefully will help someone else make it to lunch on time and avoid the same stress:</p><ul><li>Be aware of your choices, all the time. A decision we made 3 years ago had an impact here (ahh the devil known as “tech-debt”). Let me be honest, we were aware of this tech-debt, and targeting it, but sometimes you can’t just move fast enough, so our advice is to try to monitor ANYTHING that could potentially go wrong, at all times.</li><li>Following the conclusion above, if you use Elasticsearch with TLS, for the love of god monitor your Certificates!!</li><li>Finally, make sure you have all the right “auto-recovery” options set in place. In the end, this harmed us, because nodes were coming back to life and failing again!: To provide a little more detail, we had configured our instances to restart the Elasticsearch service in case of failure, but we also had our cluster instructed to promote replicas to primary shards in event of the primary failing. So, doing what we did, we caused the cluster to enter a loop state that in the end caused the shards to be “stuck”.</li></ul><p>Things we weren’t able to discover yet:</p><ul><li>How in the world a certificate that was expired for so long gave us trouble now, and not the minute it expired;</li><li>It seemed a huge coincidence that everything failed upon a Kibana restart (experience tells us there isn’t such a thing), but we still can’t find a connection;</li></ul><p>Now, if you got down to this point, you deserve a cookie.</p><p>Probably, you got to this article because you searched for the error of the shards not recovering. As stated above, recovering shard by shard, and going node by node was a huge time burden, and so Diogo Duarte (one of the heroes in this mess) made a script that will do that for you.</p><p>We are open sourcing this to the community: <a href="https://github.com/stratio-automotive/elastic-fix-stale-shards">https://github.com/stratio-automotive/elastic-fix-stale-shards</a></p><p>This is our first open source community contribution, but we plan to do a lot more going forward!</p><p>Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7d955a59cca" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/how-to-turn-a-nice-day-into-a-nightmare-an-elasticsearch-story-b7d955a59cca">How to turn a nice day into a nightmare: an Elasticsearch story</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A trillion-dollar problem worth solving]]></title>
            <link>https://medium.com/stratio/a-trillion-dollar-problem-worth-solving-3bb805a9025d?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/3bb805a9025d</guid>
            <category><![CDATA[transportation]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[logistics]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[mobility]]></category>
            <dc:creator><![CDATA[Rui Sales]]></dc:creator>
            <pubDate>Tue, 01 Jun 2021 10:56:07 GMT</pubDate>
            <atom:updated>2021-06-01T23:27:57.428Z</atom:updated>
            <content:encoded><![CDATA[<p>As we roll out our first large project in Asian soil together with SBS Transit, a ComfortdelGro company, and the largest public transport operator in Singapore, it struck me once again the importance and reach of the work we are doing and why we started Stratio in the first place.</p><p>Stratio was built to tackle a massive problem. If we are successful we will enable a zero downtime future for all vehicles, and change transportation as we know it.</p><p>So <strong>what’s wrong with transportation today?</strong> The lack of visibility into key aspects of every fleet business, combined with manual tasks that require human intervention at all steps, limits both the efficiency of transport operations and the amount of people and goods that can be moved.</p><p>We generally don’t realize it because we are used to it the way it has always been, but transport of people and goods today are just like 18th-century factories during the first industrial revolution. They are labour intensive, still require manual input every step of the way, and many areas of the business are completely separated, with no real visibility, let alone monitoring.</p><p>The result is a continuous, tremendous drain on repair and maintenance, fuel / energy costs and productivity losses. <strong>We (humankind) can only advance by using less resources to produce larger outputs.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z_Y-IEIvsni9dvdn6gLUBA.jpeg" /></figure><p>The way we see it, just like an 18th-century factory cannot compete with the throughput of an automated factory, in a near future, no fleet business will be able to operate without end-to-end automation.</p><p>As companies make the transition, <a href="https://finance.yahoo.com/news/smart-fleet-management-market-size-115700475.html?guccounter=1&amp;guce_referrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8&amp;guce_referrer_sig=AQAAAA7VCkzb4LzxKfVnnMVK5jkphEG59mJSBDzAosrTrsqqbDxLggs2CTxEAvVhVchzCT7gbLQbbQBXQAg1ZD5KglWr1K9hWOmUAzyFGAhRiH33sFQi_w8QOc7Hj8L2dO2VvtkX855505tN9ZoggquwI8SRdb_41C1KWWNPPXF9u6f3">the market will grow rapidly to surpass 1 trillion dollars in the next years</a>. And to enable this transition our approach was to start from the central piece in any fleet operation, the vehicle.</p><p><strong>If we look at a fleet operation as a machine</strong>, the vehicle would be its engine. It is connected, drives and impacts all other pieces of the organisation. That is why our foundation was built around vehicle data, leveraging it to automate different use cases, step by step.</p><ul><li><em>We believe that in the future no transport company will succeed unless it is fully automated.</em></li><li><em>We believe that one day every vehicle will be a part of a fleet.</em></li><li><em>We believe that vehicle data and the power of artificial intelligence will result in the digital transformation required for full automation.</em></li><li><em>We believe automation will lead the transport industry towards a zero-downtime future.</em></li><li><em>We believe fully automated transport fleets will serve more customers, better, at a lower cost.</em></li></ul><p>But why should we be able to lead this technology shift? After all we are not a large company.</p><p><strong>Having built Stratio from the ground up as a data company</strong> brought us many difficult challenges, but also some incredibly useful advantages. We followed a counter-intuitive strategy — unlike the other companies in our space, we started by focusing on the predictive maintenance use case.</p><p>It so happens that predictive maintenance requires access to a much larger and different dataset from vehicles, such as sensor readings of temperatures, pressures, states, etc, and very granular data across systems, components and sub-components. Much of this data does not exist in the standard interfaces, is not straightforward to access, and even that also differs between brands and models (and sometimes vehicle year). I guess that’s the first reason why there are hardly any real predictive maintenance products for the transportation market.</p><p>Very few companies have the expertise in acquiring this broad data from all different brands and models. We built ours over the last 5 years and we dedicated much of our time perfecting how to do it, and creating the tools to make it scalable.</p><p>And there’s more. Our infrastructure, tools, and know-how allowed us not just to collect all that unique data, but also the opportunity to build far better machine learning models and to expand our product to other use cases like ecodriving and operations, answering new questions like:</p><ul><li><em>Upon receiving a new delivery task, and depending on the distance and route, is the vehicle in condition to deliver the cargo or will it risk a roadside breakdown?</em></li><li><em>If I have drivers using different vehicles, with different ages, in different routes, from different brands, in different wear condition, how can I ensure a fair assessment of their driving performance?</em></li><li><em>How can I ensure my fleet transition to Electric Vehicles has a return on investment?</em></li><li><em>How can I assess the economic feasibility of driverless vehicles in my operation?</em></li></ul><p>It allowed us to offer our customers solutions that are orders of magnitude better, <strong>solving difficult issues that had no previous solution.</strong></p><p>All along the way, in our short path so far, we were lucky to have had the continuous support from customers who share our beliefs and our vision for the future. Companies like Keolis, Arriva, RATP, among many others have stood with us and put their trust on us. We are very thankful for that. There would be no Stratio without it.</p><p>We were also lucky to have the support of our early investors. Together we have been fortunate to see subscription volumes grow 30x in the last 3 years, and growing faster every day.</p><p>But the true people behind what was achieved so far, what really made the difference, is the excellent group of individuals working at Stratio who give their very best day in day out, burning the midnight oil, and who stayed with the company through the darkest hours.</p><p>There’s a saying we have from the beginning that stays true today — the feeling that 30 of us are a match for any 300. For me it’s an honor and a privilege to work side by side with them.</p><p>That said, we are just getting started, and we see a very long road ahead. We’re at the very beginning of an epic journey that for better or worst will change the way everything moves around the globe.</p><blockquote>The Road goes ever on and on<br>Down from the door where it began.<br>Now far ahead the Road has gone,<br>And I must follow, if I can,<br>Pursuing it with eager feet,<br>Until it joins some larger way<br>Where many paths and errands meet.<br>And whither then? I cannot say.<br>J.R.R. Tolkien</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bb805a9025d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/a-trillion-dollar-problem-worth-solving-3bb805a9025d">A trillion-dollar problem worth solving</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From fight against COVID-19 to Zero Downtime]]></title>
            <link>https://medium.com/stratio/from-fight-against-covid-19-to-zero-downtime-38bc37d75e5a?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/38bc37d75e5a</guid>
            <category><![CDATA[brasil]]></category>
            <category><![CDATA[kalman-filter]]></category>
            <category><![CDATA[ceará]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[stratio]]></category>
            <dc:creator><![CDATA[Nauber Gois]]></dc:creator>
            <pubDate>Fri, 26 Feb 2021 14:55:29 GMT</pubDate>
            <atom:updated>2021-03-02T13:32:33.441Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nzvzrL5NggWP9QokDfl6Pg.png" /></figure><p>Surprisingly, over one year has passed already since the beginning of the COVID-19 pandemic, a situation that completely changed our lives: the way we interact, our habits, and even our thoughts. We are fighting this virus in many ways. Social distancing, vaccines, and medication are the most common, but many other methods have emerged, some of which come from data science and AI.</p><p>Back in March 2020, at a time when the Artificial Intelligence Team of the State Health Department of Ceará in Brazil started to face one of the greatest challenges of the modern age, the COVID-19 pandemic, the number of infections was increasing alarmingly and we had no training base or ready-to-use models to help predict its impact.</p><p>At the time, I was leading the team and we were in charge of coming up with a short-term strategy to provide information to the State Government for the purchase of ventilators and the creation of ICU beds. One of the few data available was the number of cases in the city of Wuhan in China, the first city to enter a lock-down to prevent the spread of the infection.</p><p>To overcome this challenge we used a late 1950’s model named Kalman Filter, a recursive algorithm that uses time-series measurement with statistical noise to generate estimates. The algorithm is adaptive and it does not require a lot of historical/training data. The early use of Kalman Filter happened in the Cold War between the Soviet Bloc and the North American Treaty Organization [2].</p><p>The model was used in the Apollo project to control the trajectory between Moon and Earth. When the Apollo 11 lunar, piloted by Neil Armstrong and a software application, landed on the Sea of Tranquility, the Kalman filter ensured that real-time tracking data from radar surveillance on Earth matched the sensors on board exactly [3].</p><p>Kalman Filters is also used by self-driving cars to estimate their localization in one environment. Sensors in automobiles are used to detect other cars, pedestrians, and obstacles. Knowing the location of these objects is essential in the decision-making process of autonomous vehicles in order to navigate without collisions [4].</p><p>The Kalman Filter uses a cycle of four steps [5]:</p><p>1. Make a prediction based on some previous known values</p><p>2. Obtain the measurement of the real state</p><p>3. Update the prediction based on errors</p><p>4. Repeat</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g-O81qvWpDNW_C_q" /><figcaption>Figure 1: Kalman Filter algorithm</figcaption></figure><p>The Kalman Filter algorithm is updated with new observations every day, and a forecast can be generated for the next day. The problem was to accurately estimate the number of cases in a month’s time with a filter that updates itself on a daily basis.</p><p>Just as the filter is used in autonomous cars to collect signals from different sensors, the proposal was to join the “signal” of the local COVID-19 cases from Ceara with the Wuhan case curve. Figure 2 shows the influence of Kalman Filter on predictions of Ceara COVID-19 cases (Local COVID Cases) based on curve of COVID-19 cases from other country.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HTveg1nt6qHyXcg3" /><figcaption>Figure 2: The influence of Kalman Filter on predictions of Ceara COVID-19 cases (Local COVID Cases) based on curve of COVID-19 cases from other country.</figcaption></figure><p>The proposal was applied and brought surprising results. Below are two clippings from a local newspaper, with a day less from when the state reached the number of cases predicted by the Kalman filter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/0*wxyPV4Rp_Zt4z6hA" /><figcaption>Figure 3: Clipping from a local newspaper in 16th of April</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/0*WKKsDNbjt0Ys49mo" /><figcaption>Figure 4: Clipping from a local newspaper in 22nd of April</figcaption></figure><p>The proposal was published in the soft computing journal entitled Modeling the progression of COVID-19 deaths using Kalman Filter and AutoML (<a href="https://link.springer.com/article/10.1007/s00500-020-05503-5">https://link.springer.com/article/10.1007/s00500-020-05503-5</a>). We show that by using the Kalman filter and AutoML models, we can achieve very high accuracy in predicting COVID-19 cases. Kalman Filter approach needs data from other countries/cities to feed the model, which makes it possible to use the approach but with the risk that if the behavior of the country’s epidemic curve used to feed the model has very different characteristics from the region where we want to get the death curve can lead to a high margin of error.</p><p>The difference between the approach presented and the one commonly used in other studies is that the use of Kalman Filter allows a long-term prediction at the beginning of the epidemic period using data from other countries/regions [6].</p><p>In November of 2020 I moved to Stratio, a new challenge and opportunity to use the previous models created to fight against COVID-19, but now in another context, supporting the journey to move vehicles towards a Zero Downtime future.</p><p>Vehicle failures occur continuously on a global scale every day, and naturally affect the most intensively operated equipment, which is usually trucks and buses. These are the means of transportation that most of the world’s population rely on, as well as the means of transportation that provide food to our supermarkets, medicines for our pharmacies and almost everything that our lives and economies depend on. And now, more than ever, the failure of vehicles could delay the delivery of medicines, vaccines, and other vital life-saving supplies in this COVID-19 pandemic.</p><p>Here at Stratio, the main challenge is detecting vehicle failures before they occur. The same Kalman Filter used to model COVID-19 dynamics is used to combine multiple signals from the Stratio Box to provide better quality information. Better data then typically translates into better predictive models, which is our ultimate goal. This is an essential need for us, in particular for battery-electric vehicles. We use sensor fusion to enhance our models for battery electric vehicles by using knowledge of the battery pack’s structure, chemistry, its sensors, and Kalman Filters.</p><p>The result is more precise state-of-health and remaining useful life models for batteries.</p><p>Therefore, we can demonstratively use the same method in two absolutely distinct contexts: epidemic processes and in-vehicle physical processes. So, in this way, artificial intelligence (AI) benefits governments, citizens, and businesses, including fighting Covid-19, empowering resilience and improving green, sustainable growth and ensuring zero downtime in the delivery of medicines and vaccines.</p><p>[1] Ersin Soken, H., Sakai, S. I., Asamura, K., Nakamura, Y., &amp; Takashima, T. (2017). Spin parameters and nonlinear kalman filtering for spinning spacecraft attitude estimation. Advances in the Astronautical Sciences, 160(February), 2615–2629.</p><p>[2] Grewal, M. S., &amp; Andrews, A. P. (2010). Applications of Kalman Filtering in Aerospace 1960 to the Present. IEEE Control Systems, 30(3), 69–78. <a href="https://doi.org/10.1109/MCS.2010.936465">https://doi.org/10.1109/MCS.2010.936465</a></p><p>[3] “How an Inventor You’ve Probably Never Heard of Shaped the Modern World”, MIT Technology Review, 2021. [Online]. Available: <a href="https://www.technologyreview.com/2016/09/05/157723/how-an-inventor-youve-probably-never-heard-of-shaped-the-modern-world/">https://www.technologyreview.com/2016/09/05/157723/how-an-inventor-youve-probably-never-heard-of-shaped-the-modern-world/.</a> [Accessed: 21- Feb- 2021]</p><p>[4] Lin, M., Yoon, J., &amp; Kim, B. (2020). Self-driving car location estimation based on a particle-aided unscented kalman filter. Sensors (Switzerland), 20(9). <a href="https://doi.org/10.3390/s20092544">https://doi.org/10.3390/s20092544</a></p><p>[5] “Kalman Filter: Predict, Measure, Update, Repeat.”, Medium, 2021. [Online]. Available: <a href="https://medium.com/@tjosh.owoyemi/kalman-filter-predict-measure-update-repeat-20a5e618be66.">https://medium.com/@tjosh.owoyemi/kalman-filter-predict-measure-update-repeat-20a5e618be66.</a> [Accessed: 21- Feb- 2021]</p><p>[6] Han, T., Gois, F. N. B., Oliveira, R., Prates, L. R., &amp; Porto, M. M. de A. (2021). Modeling the progression of COVID-19 deaths using Kalman Filter and AutoML. Soft Computing, 5. <a href="https://doi.org/10.1007/s00500-020-05503-5">https://doi.org/10.1007/s00500-020-05503-5</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38bc37d75e5a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/from-fight-against-covid-19-to-zero-downtime-38bc37d75e5a">From fight against COVID-19 to Zero Downtime</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we are planning to stop Reviewing Performance]]></title>
            <link>https://medium.com/stratio/how-we-are-planning-to-stop-reviewing-performance-6c6ad4f2c60c?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/6c6ad4f2c60c</guid>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[performance-management]]></category>
            <category><![CDATA[performance-reviews]]></category>
            <dc:creator><![CDATA[Saraalmeida]]></dc:creator>
            <pubDate>Fri, 29 Jan 2021 11:15:18 GMT</pubDate>
            <atom:updated>2021-01-29T11:15:18.700Z</atom:updated>
            <content:encoded><![CDATA[<h3>and focus on Performance Management</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zv4dA7T-C3Ptas8PQQG5qQ.jpeg" /></figure><p>🚀 During 2020, at Stratio we made several efforts to build our<a href="https://medium.com/stratio/stratios-progression-framework-3d8f85ea2f1f"> first version of a Progression Framework</a>. Along with it, we also made upgrades to our Performance Review System, which we thought wasn’t fit for our approach to people management.</p><p>🔙 Until recently, we had a pretty common Performance Review System, which you would find in place in a lot of companies — Manager-reviews-employee, gives feedback on strengths, improvement opportunities, and the employee gets a final evaluation within a defined scale. In particular, our feedback was focused on Pace, Quality, Volume, and Stratio Drivers (the first version of our culture manifesto items). We wanted to adjust this process to make sure a lot of feedback came from it and that it was actionable.</p><p>❓ But first, we had to understand why we wanted to have it in place — as it costs a lot of time to all employees and managers, which also means a lot of money to the company. Was it worth it? Were we getting all we wanted from this? And more importantly, was our team getting the best of it?</p><blockquote>💡 The main target of this process is to ensure we have <strong>open feedback and continuous improvement culture</strong>, and we want to prepare the entire company so we can get to the point of <strong>not having the need to have a formal process in place, but rather a regular and continuous feedback open channel.</strong></blockquote><h3>Baseline</h3><p>📍 Before we set up any performance review workflow, and define who will invest time and give feedback, we established what would be the baseline for this process and why we wanted to have it in place: Performance review is about performance, not personality or knowledge. It is about promoting what we need at the company. Performance review is about giving feedback to help develop our team. It needs to be a priority, to be continuous throughout the year, and to be part of our culture. It is not HR responsibility. Managers are the owners.</p><p>🎯 We also defined our Performance Review Process Goals:</p><ul><li>Provide honest and direct feedback to allow each one of us to consider and work to improve any flaws — enabling true professional development.</li><li>Allow managers to provide transparent evaluation criteria and ongoing constructive feedback.</li><li>Acknowledge and value merit and overperformance.</li><li>Implement a continuous improvement mindset at Stratio.</li></ul><blockquote>Performance review is about giving feedback to help develop our team. It needs to be a priority, to be continuous throughout the year, and to be part of our culture.</blockquote><h3>One-on-One Feedback</h3><p>🔛 We wanted to make the performance review process a continuous process throughout the year, so we insisted, in different channels, in the importance of regular one-on-ones so that the performance review process, which we have in place bi-annually, would be just a registered conclusion/summary of the feedback given during the year.</p><p>💬 From our point of view, one-on-one’s are absolutely critical — and honestly, we think they are even more important than any formal process to register performance assessments.</p><p>Some advice to keep them actionable and useful is for managers to organize information about their teams. We recommend keeping track of this information:</p><ul><li>Observations of the person, and assessment of potential.</li><li>Feedback received about their own management style.</li><li>Key motivators for the person.</li><li>Conversations about career goals.</li></ul><p>📅 We are working to, in the short term, create conditions for removing formal processes, ensuring continuous feedback from managers throughout the year. Until then, and to ensure a continuous improvement culture, we will rely on formal processes, and create mandatory dedicated time and documentation, to ensure everyone has proper feedback.</p><blockquote>No feedback given on the review meeting should be a surprise to our team members. It should be a summary of all feedback given throughout the year, informally or in one-on-ones.</blockquote><h3>Building</h3><p>📏 Something that shocked most of our managers and teams was that we took the rating scale out of the process. We want it to be all about feedback and continuous improvement.</p><p>🔍 We defined that the scope of the process would consider Job Descriptions, Culture Fit, diverse sources of feedback, and a dedicated phase to Action Plans. We also included a dedicated step for progression feedback and career planning field.</p><p>Here’s a small “before vs. after” picture of it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*izz_MNNfLY7dBRTMRy0W7Q.png" /></figure><p>We now have a more complex process than before, for which our hope is to bring more valuable feedback and insights to our team’s development and progression.</p><p>Although we’re doing it twice a year, no feedback given on the review meeting should be a surprise to our team members. It should be a summary of all feedback given throughout the year, informally or in one-on-ones.</p><h3>Meeting preparation</h3><p>⚡ We wanted to prepare our managers for all that is good and bad in this process. We know that people feel reluctant about it as it takes time, can demotivate and frustrate managers and team members, reveals insatisfactions, results are subjective and <a href="https://hrdailyadvisor.blr.com/2014/03/18/performance-appraisals-the-10-most-common-rating-errors/">prone to bias</a> and it is mainly focused on the past.</p><p>We wanted to acknowledge this, so we could be aware of it and prepare our reviews.</p><p>📌 There is no formula, but there are a few things we can do. First, <strong>prepare the meeting:</strong></p><ul><li>Read Team Member Job Description.</li><li>Re-read Culture Manifesto.</li><li>Look at your team functional paths and criteria for progression.</li><li>Read registered notes throughout the semester.</li><li>Think of how the team member can become an improved version of themself.</li><li>Anticipate team member self-review.</li><li>Anticipate team member reactions.</li></ul><blockquote>Remind that: <em>We do performance reviews on what we want to promote.</em></blockquote><p>🚩 Keep <strong>Performance Review Meeting Goals</strong> in mind:</p><ul><li>An aggregate of the feedback on the previous semester.</li><li>Planning areas to improve over the next semester.</li><li>Give the team members conditions to improve performance through clear communication about performance.</li><li>Compare current performance and strengths/weaknesses to what would be expected.</li><li>Focus on identifying the blockers team members face and removing them.</li><li>Strengthen the relationship between team members and managers.</li><li>Decrease mismatches and unclear expectations.</li></ul><p>🚦Last, but not least, consider the <strong>Dos and Don’ts</strong> during the meeting:</p><p>🚫Don’t:</p><ul><li>Too many compliments, especially if vague, generalists — feedback is to help the team member improve.</li><li>Sugarcoat it — feedback is to help the team member improve.</li><li>Exclusive focus on results — <em>we review what we want to promote!</em> If we want to promote commitment, we talk about commitment.</li><li>Paternalistic comments — mostly are without intent. Still, it’s important to avoid them as this can damage the whole meeting as the team member can (and probably will) become defensive.</li></ul><p>🟢Do:</p><ul><li>Listen, for real. Make time, don’t rush.</li><li>Make it a priority, don’t reschedule it. Turn off your phone, don’t let the meeting be interrupted.</li><li>Communication matters, choose words wisely.</li><li>Ask always for examples, especially if the employee is defensive.</li><li>Explore topics, one issue at a time.</li><li>Be specific, direct, honest.</li><li>Acknowledge improvements towards past identified low performance.</li><li>Compliment on results, but also on effort — We don’t measure effort, but we should acknowledge and compliment it. <em>It’s something we want to promote.</em></li><li>Give attention to areas on which the team member feels more difficulties.</li><li>Only promise what you can keep — if you don’t know, say you’ll look into it, and address it right after the meeting so it isn’t forgotten.</li><li>Compromise, establish common agreements with the team member.</li><li>Summarize the meeting and document it.</li></ul><h3>Impact on Compensation</h3><p>💸 Even though this is very common in a lot of companies (and that’s why I’m adding this section to this article), we never attached our performance review process to individual bonus, so the final evaluation doesn’t have a direct impact on annual compensation — which we don’t intend to have in the future either. We believe that merit, recognition, and progression should be directly applied to individual salaries.</p><p>Our approach to variable compensation is attached to team effort for the best company results, so it was and will still be attached to company performance.</p><h3>Feedback from Managers and team</h3><p>📣 At the moment, our main struggle is most likely the time spent during the process, which is also a reflection of not having a dedicated tool to do it. For this cycle, we created a Jira template board, to (hopefully) help better guide our managers throughout the process, ensuring no step is left behind.</p><p>Some struggle with not having a scale, but we are dedicated to focusing this process on feedback.</p><p>With all the received feedback, and now that we are in our 2nd version of this process and will in a couple of weeks ask for feedback on the implemented improvements, we have some short-term improvements in mind. ⏬</p><h3>Next Steps</h3><p>💡 The main target of this process is to ensure we have <strong>open feedback and continuous improvement culture</strong>, and we want to prepare the entire company so we can get to the point of <strong>not having the need to have a formal process in place, but rather a regular and continuous feedback open channel.</strong></p><p>💻 We will need to implement a dedicated tool to, rather than just manage performance reviews twice a year help us i<strong>mplement an ongoing people development strategy that will allow us to better understand the full potential of each member of the team.</strong></p><h4>🙏 We are truly fortunate that teams have been giving honest feedback to our processes and strategies, and this is what is making us identifying errors faster, correct them immediately, and (hopefully) improve every day.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c6ad4f2c60c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/how-we-are-planning-to-stop-reviewing-performance-6c6ad4f2c60c">How we are planning to stop Reviewing Performance</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stratio-AI Framework]]></title>
            <link>https://medium.com/stratio/stratio-ai-framework-909cb4d536e9?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/909cb4d536e9</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[framework]]></category>
            <category><![CDATA[automotive]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Pedro Salgado]]></dc:creator>
            <pubDate>Thu, 08 Oct 2020 14:48:07 GMT</pubDate>
            <atom:updated>2020-10-08T14:48:06.912Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jWs8m6atW4bbFyv69RRDZQ.png" /></figure><p>TL;DR</p><p>Data is revolutionising the automotive industry and many competitive advantages reside in the platforms that support this data. Enterprises must find and align their procedures and methodologies to transform this data into valuable information. This is where machine learning comes into play, and teams combining analysts, data scientists, and data engineers work to achieve complete and automated development, integration, testing, and deployment of machine learning models. This blog introduces a complete machine learning framework that intends to break down the traditional monolithic end-to-end machine learning development into a distributed, modular, and scalable approach.</p><p>Stratio AI Framework is a custom made solution that leverages multiple open-source technologies and Stratio insights to support data ingestion from multiple sources, and uses this data for both real-time (streaming) and offline (batch) predictions in the vehicle fault detection and predictive maintenance fields. This solution allows Stratio’s teams to easily design, build, test, and deploy machine learning models at scale.</p><h3>Motivation</h3><p>Before Stratio AI Framework, we at Stratio faced a number of challenges and difficulties related to building, scaling, and deploying machine learning models. Either because data scientists were using a wide variety of tools and procedures to create machine learning models, or simply because there was no process of engineering that conformed with the requirements and assets to take these models to production in an easy way. At a stage where multiple models are already producing insights for our clients, the amount of technical debt tends to increase exponentially.</p><blockquote>Machine Learning: The High-Interest Credit Card of Technical Debt<em> — </em><a href="https://research.google/pubs/pub43146"><em>Google</em></a></blockquote><p>This approach impacted the delivery and effort needed to build reliable and scalable machine learning models, and a few data scientists and data engineers could not keep up the pace with the high demands and opportunities that a disruptive product needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yD_HbD7II10SKWhLjnje-w.jpeg" /></figure><p>Taking a step back, we could identify some key concepts that were causing this approach to fail:</p><ul><li><strong><em>Monolithic Design</em></strong></li><li><strong><em>Hard and Long Debugging</em></strong></li><li><strong><em>Data &amp; Code Inconsistency</em></strong></li><li><strong><em>Nonexistent Abstraction Boundaries</em></strong></li><li><strong><em>High Data &amp; Code Dependencies</em></strong></li><li><strong><em>Poor Configuration</em></strong></li><li><strong><em>Lack of Reproducibility</em></strong></li></ul><p>To start designing an approach and properly identify the main stages that were the basis of developing a machine learning model, we needed to consider a set of major concerns:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xRjIKNPspYB_jnYrpYG5Ww.png" /></figure><h4>Data collection</h4><p>Data acquisition from multiple data sources and the starting point for both empiric and machine learning analysis. We need to use sets of relevant and comprehensive quantitative and qualitative data.</p><h4>Feature Engineering</h4><p>A pre-processing phase where the data is transformed and starts to become information, ready to be used in machine learning models or deep analysis.</p><h4>Model training</h4><p>The data is usually split into subsets and used for algorithms and model training. The model will then learn with this data and acquire generalisation capabilities.</p><h4>Batch prediction</h4><p>Generate model predictions based on a set/group of observations. Can be helpful to classify an already existing dataset.</p><h4>Real-time &amp; Streaming prediction</h4><p>For real-time and streaming approaches the incoming data is quickly analysed and the model reacts to these events which can occur anytime.</p><blockquote>Machine learning algorithms have never been better promised and also challenged by big data in gaining new insights into various business applications and human behaviors <em>— </em><a href="https://www.sciencedirect.com/science/article/abs/pii/S0925231217300577"><em>Paper</em></a></blockquote><h3>The Solution</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BXr90KFD1lBhzv9P2tfSXA.png" /></figure><p>Taking into consideration the issues previously addressed, we wanted to achieve a solution compliant with the best industry standards and which met our standards for availability, reliability, modularity, scalability, and performance. The following concerns were taken into account:</p><ul><li><strong>Divide and Conquer: </strong>The challenges should always be broken down into smaller pieces when the complexity increases;</li><li><strong>Modular and Interchangeable: </strong>The solution should be modular and each component interchangeable;</li><li><strong>Aiming for Code Maintainability: </strong>The code should be simple and easy to understand and maintain;</li><li><strong>Don’t reinvent the wheel: </strong>There are many high-quality open-source tools out there;</li><li><strong>Can It Scale?: </strong>It is not a solution if it cannot scale properly;</li><li><strong>Data &amp; Schema Evolution: </strong>Data changes often, so it should be easily updated in the future;</li><li><strong>CI/CD: </strong>Use continuous integration and delivery to automate the delivery processes;</li><li><strong>Improving Development Speed: </strong>Every component added should simplify/help a fast development;</li><li><strong>Going to Production: </strong>The transition from development to production should be straightforward;</li></ul><h3>Architecture Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5BeJCSoWk5I2fD0Jnoyvpg.png" /></figure><p>The Stratio AI Framework consists of an interaction of different open-source technologies and in-house custom made components. The main open-source technologies used are Apache Parquet, Apache Kafka, Elasticsearch, Apache Airflow, Docker, and Kubernetes. These technologies have been chosen based on the maturity, community support, industry insights, and suitability to Stratio’s use cases. The integration with these use cases and among components that ensure our business rules are followed are supported by built-in tools based on Python 3 and .Net Core. These components have been built using software design patterns such as separation of concerns, dependency injection, and others.</p><h4>Data Lake</h4><p>We built our<strong> </strong>own Data Lake to store the millions of records collected daily from our client vehicles, saved in their raw and unprocessed form. The base technology used is Apache Parquet in a distributed NFS NAS, leveraging columnar format and high compression factors. The partitioning is also customised to ensure the best performance and achieve a high level of predicate pushdown. We also have relational databases to store entities and domains to be used across the entire ecosystem.</p><h4>Ingest</h4><p>The data is continuously ingested by streaming queues using Apache Kafka and .NET Core jobs that ensure a first schema validation and also forward the data through the data lake in compliance with the current partitioning. Apache Spark can also be used to provide a large distributed data processing pipeline.</p><h4>Feature Engineering</h4><p>The Feature Engineering is supported by two different Feature Stores depending on the latency and throughput required for each use case served:</p><ul><li><strong>Online Features</strong> — Features addressed in real-time and hot-path time window scenarios, often having a millisecond latency throughput. This data is stored using fast cache technologies like in-memory or key-value databases, in this case Redis. These features are usually used for real-time models or insights that only need the latest values for computation.</li><li><strong>Offline Features</strong> — Features in batch and cold-path time window scenarios. These features include large time-series analyses from several days to years of data. They are mainly used by heavier offline processes like model training, wide empiric analysis, etc. To store these features, NoSQL databases and systems such as Cassandra and Apache Hive get the job done.</li></ul><p>These Feature Stores enable features to be registered, added, searched, and used for model inference and improve the solution, adding the following capabilities:</p><ul><li><strong>Scalability:</strong> features can be scaled, the schemas updated and versioned;</li><li><strong>Reusability</strong>: by sharing them among analysts, scientists, tests and models;</li><li><strong>Consistency</strong>: ensuring the consistency between online and offline storages and both features available to the developers and models;</li><li><strong>Reproducibility</strong>: anyone (at any time) can achieve the same outcome by using the same data from a specific point in time.</li></ul><h4>Training</h4><p>The models can be developed and tested using training jobs that can be scheduled for continuously running training sets and validations. When a model is ready to be used, a new version is released into a model repository where the model library and related metadata (such as results, hyper-values, date, and execution time) are stored. The prediction services can then target a specific version ensuring a clear and visible version policy.</p><h4>Prediction &amp; Persistence</h4><p>The models are then deployed and loaded by the batch or real-time prediction services. These services load the existing feature sets from the online or offline Feature Store and are responsible for generating predictions based on the trained model. The score, categorisation, and additional metadata are then persisted into another Apache Kafka queue ready to be used by multiple services and tools. These predictions can then be used as KPIs and stored in a more client-facing and view-oriented engine like Elasticsearch.</p><h4>Monitoring</h4><p>At every phase of this machine learning workflow, the artefacts and components log insights which are used for troubleshooting and continuous monitoring. By ensuring high coverage criteria of every component and functionality we can identify:</p><ul><li>When data is missing from a stage in the pipeline;</li><li>When the input/output data changes, and how often;</li><li>Whether a model is overfitting or underfitting;</li></ul><h4>Deployment</h4><p>Every model and component is deployed through packaging, containerisation, and orchestration techniques using CI/CD pipelines.</p><ul><li>Each component and functionality present in either Data Collection, Feature Engineering, Training or Prediction phases include code that is distributed using both Python and .NET Core internal packages;</li><li>The packaging release is done by Jenkins pipelines that run all unit and integration tests in the process, and are responsible for releasing and incrementing the package version;</li><li>The models are packed into a single Docker image with all the required dependencies;</li><li>The model deployment consists of a Kubernetes YAML deployment file that gathers the model Docker image and ensures its availability by using replicas in a distributed cluster. The deployment can also be scaled by adding more instances of each model Pod;</li></ul><h3>Next Steps</h3><p>At Stratio we are constantly looking for new ways to improve our processes, components and infrastructure, especially in this field where many new tools and approaches keep emerging in the industry. In fact, we have already started to research new initiatives including:</p><ul><li>Model orchestration using Airflow or Kubeflow, to enable the creation of DAGs for each model phase;</li><li>Apache Kafka Streams or Apache Spark Streaming for deeper batch processing;</li><li>Integrate Feature Stores like Feast and Hopsworks;</li></ul><p>Last but not least, KUDOS to the entire Research and Software team for supporting this initiative and for their commitment to this project!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*LwHawaNO5UeFSf_nxui_Pw.png" /><figcaption><a href="https://www.linkedin.com/pulse/infinite-u-how-machine-learning-could-reshape-human-part-mcmanus">Source: How machine learning could reshape human learning</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=909cb4d536e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/stratio-ai-framework-909cb4d536e9">Stratio-AI Framework</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[8 things I hate about hardware]]></title>
            <link>https://medium.com/stratio/8-things-i-hate-about-hardware-ef6ebd0d21dd?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/ef6ebd0d21dd</guid>
            <dc:creator><![CDATA[Humberto]]></dc:creator>
            <pubDate>Thu, 03 Sep 2020 10:09:29 GMT</pubDate>
            <atom:updated>2020-09-03T10:09:29.350Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ned0mm_nxdLZtIkxqJ840w.png" /></figure><h4>No, it’s not that I hate hardware, I just needed a catchy title for this article, bear with me and give your opinion in the end, I’d love to hear from your experience in hardware development.</h4><p>I have been working with hardware development for over 20 years and I think I’ve earned the right to grumble a bit about the struggle it is to get a new product out to the market.</p><p>As the Head of Hardware Development and Embedded systems at Stratio Automotive I will share with you the most common topics hardware engineers have to deal with in the path of bringing great products to life, so here is the list of the major 8 steps a hardware development team will have to accomplish.</p><p><strong><em>1.</em></strong> Understand what you need to create to satisfy your clients, hearing the main stakeholders with a firm attitude on limiting the complexity. This is true for all companies and projects but gains a special emphasis in a company with limited resources. Wrong identification of target clients or misinterpretation of their real needs may create a fantastic product that no one will buy. Complexity can also be the cause for the failure of a project. We know a relatively limited team can elaborate the architecture of an extremely complex equipment, however its execution, the adjustment of the details (where we usually find the devil), will make all the difference, putting into practice and complying with all legal standards can become so difficult and time consuming that jeopardises its viability. Moreover, the costs associated with tasks to adapt to industrial processes, such as the creation of highly complex PCBs and very elaborate enclosures, above normal industry standards, will put significant obstacles in the success of the project. Rule of thumb — Identify what is really needed and distinguish it from the accessory, MVP approach, where additional features must be very well weighted and considered. The “fish diagram” below is a visualisation of my opinion, the value perceived by the client will increase greatly with his essential requirements usually simple and inexpensive, as the requirements get exquisite and less valuable for the client (logarithmic curve) the cost to implement them escalates almost exponentially.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*KAgsPw1N9JTxpBbP" /><figcaption>Fish Diagram</figcaption></figure><p>The sweet spot is somewhere in the middle, an over simplified design will lack important functionalities, an utterly complex design will heavily raise the manufacturing costs and consume the profit margins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*1Glv2PbKVQwTGtJjsiZBBA.png" /></figure><p><strong><em>2.</em></strong> Study the state of art of all the components and modules you are about to use and choose the reliable. It is frequent to be inclined to use newly launched technologies thus creating future proof equipment. Again, this selection shall be made after a serious validation to make sure the devices or modules are mature enough. If a component is not mature or extensively tested, you will be helping the fabricant to write their errata or finding issues to correct in the next FW releases. Once your product leaves the factory it will be complex and risky to update modem, Wi-Fi, or Bluetooth modules. The second problem is related to new systems or trends that may not be adapted by the general industry which will leave us with a limited product. A practical example of this: Three years ago, we decided to use the LTE cat M1 modem module that unfortunately still does not have network coverage in many countries like Portugal, Italy and Austria which adopted NB-IoT to replace GPRS in M2M communications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-njo4MyEC8O8ZVlsNLMsg.jpeg" /></figure><p><strong><em>3.</em></strong> After having identified all the systems that we will include in our hardware design, It is now time to integrate them. Here we have different equipment that may not have been designed to operate together and we need to find a way to get them to work smoothly. How do we do it? We read a lot of datasheets and we do our best to understand every detail on how that component or module will work. Electronic components datasheets are an incredible source of information, it is frequent to find a microcontroller or a modem module with thousands of pages in their datasheets that need to be studied to clearly understand the operation of each component. Components should be selected to work at 50% or less of its design capacity or you will be accused of planned obsolescence, by setting the quality standards high you will get a good life expectancy in an electronic circuit. Never overlook the errata section, if you do that you will probably waste precious hours trying to debug issues already found by others. If you are writing embedded code, pay special attention to the IDE or compiler limitations, according to the semiconductor selection, this is even more important if you use a free or “open source“ IDE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6lBcWCUVeAmiRNXXArJTMw.jpeg" /></figure><p><strong><em>4.</em></strong> Once the schematic is ready it is time for the PCB design, in this section special attention must be focused on power supply paths and ground, high frequency signals, and then Footprints! The footprints need to be discussed with your PCBA company, specially the smaller pitches, we can design any footprint and any via, but some will be very expensive to implement in real life. Special vias like blind or buried impact time and yield, so adds cost. An overlook here will cost you large amounts of money in the production of a PCB with laser drilled holes instead of mechanical drilled ones.</p><p><strong><em>5.</em></strong> So, you have completed the PCB design and produced a small batch of PCBS that will be used to build the first prototypes. Here you’ll find another barrier, many assembly companies will be available to assemble a pair of units for you, for the cost of a kidney. Manual assembly is only feasible for low complexity PCBs, anything having reduced pitch, BGA will need a complete pick and place assembly line to be set up (same cost to produce one or a million devices). Components will also be twice the price when compared to the price per unit if you buy 1000 units, we must live with it! If you don’t buy the components and just send the BOM to the assembler count with negotiating some alternative or compatible components suggested by the assembly company, don’t accept the suggestions without reading carefully all specifications, some components seem equivalent but may have temperature ranges or tolerances out of your requirements and result in an imperfect prototype.</p><p><strong><em>6.</em></strong> Congratulations, you have your prototype built, it is time to evaluate it, load your firmware. Developing FW, programming and debugging is usually an endless mission only limited by your level of satisfactory perfection. During this stage it is also very important to start running some EMI pre-testing according to the desired usage and regulation compliance. One advice here, don’t send to production new PCBs once you find and correct the first design fault, try to patch it and continue the evaluation, we always find some more bugs in the way and the prototypes are expensive and time consuming to produce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JUOghpt8rgcSLLVMl0xvhw.jpeg" /></figure><p><strong><em>7.</em></strong> Design and create an enclosure. Here we have the choice of using off the shelf enclosures (plastic or metal) or creating a new enclosure. The most common is the last and the preferred material is some sort of plastic. It all starts by finding a competent industrial designer that will create an enclosure ready for mass production by means of plastic injection. A 3D printed prototype is nice to have to validate physical dimensions and overall looks but you can’t depend on 3D printed enclosures if you plan to produce thousands of units. The required moulds for injection are an expensive initial investment but they reimburse for these numbers, not to say that the overall quality and aspect is much better on an injected plastic enclosure.</p><p><strong><em>8.</em></strong> Time for Certification. It is an important, expensive, and time-consuming process for any company creating a new product. To start this step, one must understand clearly which are all the certifications required for the product itself, according to technical characteristics and it’s end use multiplied by the number of countries where you want to sell your product. Special attention should be given to intentional electromagnetic radiators and products including Lithium batteries, expect higher costs if your product ticks those boxes. Safety and environmental certification are also required for most products prior to being sold. In short all testing and certification requirements should be considered from the beginning of the design of the new equipment, but the certification is only conducted in the final stages of production, the reason is simple, a change in the product would require the restart of the certification process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3XtODcOK7Jx1-IIBk66bag.png" /></figure><p>Some of the issues may seem obvious, others not that much and to be honest this year’s new normal brought some more challenges to our bowl. The sourcing of components is getting harder day by day, the prices are also reaching historical maximums and the lead times are in the impossible to cope area, most components ranging the 10 to 20 weeks microcontrollers and Tantalum capacitors easily reach 30 weeks.</p><p>I hope this article has given you a simple overview of the process of developing a new electronic product. Your development strategy may be different, but in the end we all want to reach the same goal, achieving a robust equipment that satisfies the clients and strengthens the company.</p><p><strong>The acronyms:</strong></p><p>BGA — Ball Grid Array, a type of surface-mount packaging</p><p>BOM — Bill Of Materials</p><p>EMI — Electromagnetic interference</p><p>FW — Firmware (executable code)</p><p>HW — Hardware (the physical equipment)</p><p>IDE — Integrated Development Environment</p><p>MVP — Minimum viable product</p><p>PCB — Printed Circuit Board</p><p>PCBA — Printed Circuit Board Assembly</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef6ebd0d21dd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/8-things-i-hate-about-hardware-ef6ebd0d21dd">8 things I hate about hardware</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stratio’s Progression Framework]]></title>
            <link>https://medium.com/stratio/stratios-progression-framework-3d8f85ea2f1f?source=rss----9b0e63c90db9---4</link>
            <guid isPermaLink="false">https://medium.com/p/3d8f85ea2f1f</guid>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[human-resources]]></category>
            <category><![CDATA[team]]></category>
            <category><![CDATA[progression]]></category>
            <category><![CDATA[career-paths]]></category>
            <dc:creator><![CDATA[Saraalmeida]]></dc:creator>
            <pubDate>Thu, 30 Jul 2020 08:22:26 GMT</pubDate>
            <atom:updated>2020-07-30T08:22:26.465Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eKnmU-oTkDxsxQFmLAoxyQ.jpeg" /></figure><p><strong>By 2019 Stratio was facing a reality check that was hard to swallow. </strong>We were having a high voluntary turnover rate, including high-potential team players. To have some turnover is healthy, but ours was not. And it’s long known that disengagement usually runs deeper than dissatisfaction with pay. Common reasons include lack of career development/progression opportunities, bad relationships with a manager or the team, feeling undervalued, not a good working culture fit, among others.</p><p><strong>To face this problem we decided not to be reactive.</strong></p><p>We understood that we<strong> </strong>needed to invest in preventing future disengagement before it got to this stage<strong>. </strong>We decided that <strong>for 2020 our people priorities would be to</strong>:</p><ul><li>Increase our retention levels and keep our team motivated</li><li>Ensure Stratio’s culture is incorporated in each individual</li><li>Give the entire team an idea on their current position within Stratio and what is expected of them</li><li>Give a clear line of sight on future progression and compensation</li><li>Ensure we take a consistent approach to performance, progression, and pay</li><li>Improve clarity on recruitment, onboarding, and people management</li></ul><p><strong>The approach</strong></p><p>To do this, one of our strategies was to create a framework where we could look into progression and culture.</p><p>We analysed Stratio’s specific context and needs, and, of course, <a href="https://www.progression.fyi/"><em>we stood on the shoulders of giants</em>.</a></p><p><strong>Ok, but how to create a framework that works for us?</strong></p><p>We had to refrain from not complicating or overdoing this, neither add a lot of new processes to the team. We tried to use most of what was already in place, formally or informally, and also gather inputs from the team. We put together founders and managers to create this framework. This was our first version: <em>This was not about perfection but about getting the job done, we wanted to have an immediate impact.</em></p><p><strong>To begin with… Where do we start? Culture.</strong></p><p>First things first. The framework should stand on a solid <strong>ground base, </strong>so we needed to review and refresh what we understood as<strong> Stratio Culture</strong>. So, we started there. We looked into what we had internally as daily behaviours that we wanted to promote, and maybe more importantly, what we wanted to prevent. We wrote on a piece of paper everything that came up to our minds and realized that most things revolved around the same type of situations — which was a good sign, that we were all already aligned.</p><p>After this, we ran this work through all our managers to receive some extra input and feedback. They gave us a lot of (amazing) input, <em>et voilá</em>…<a href="https://blog.stratioautomotive.com/CULTURE"> Stratio Culture Manifesto </a>was created, detailing what we aim to be as a company and as an employer, and also what we expect from our teams.</p><p><strong>But how could we progress at Stratio?</strong></p><p>Afterwards, we needed to understand what would be the common ground for progression at Stratio. A few requirements needed to be set, otherwise it would be heroically (and probably utopic) insane to describe all possible evolution paths:</p><ul><li>As a start-up, we know things change often, so this exercise needed to be time-framed — “think about evolution in Stratio in a 2-year frame”. That’s it.</li><li>Also, and for a 1st version, in order to keep it simple (and also our sanity…), no inter-teams progression possibilities were to be considered.</li></ul><p>All set up, we took a moment to think about what we were already informally doing in our daily HR practices. When looking at teams, salaries, recruitment, onboarding, etc., how were we looking at teams and their expertise? We quickly understood that a levelling logic was in place — just not thoroughly formalized or described: entry-level, junior, mid, senior, managers. So we made these our levels. Well, that was easy. Maybe… too easy?</p><p>Something was missing. Were our team members only evolving into management roles? And if yes, what would that be? Then we understood that we were already having people inside and external candidates that didn’t want to manage teams — they wanted to contribute to multiple fields or be specialists in their own field (and on their own terms…). So, you could, after a senior role, either evolve to a manager or a specialist path (maintaining yourself as an individual contributor). As a final work, we understood our management team members were themselves also specialists — so we added a manager &amp; specialist path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4B3yH0vxvq_ci_j7" /></figure><p>For clarity purposes, we defined two possible profiles on the progression framework:</p><ul><li>An <strong>Individual Contributor </strong>is a non-management member of a business team that actually contributes to the goals and mission of the company. This path can lead to a Specialist position, which also has a big business and strategic role to Stratio.</li><li>A person who pursues <strong>a Leadership track</strong> will have additional responsibilities as a people manager, or be a Specialist who also wants to manage people/a team.</li></ul><p><strong>How progression happens within each team in Stratio?</strong></p><p>Ground base created for progression at Stratio, it was time to assess how this would reflect in each team. Managers met to understand how functional evolution would happen in a “until the end of 2021” timeframe, considering the different paths for each job role in each team and this general framework. To understand what would be our functional ground we relied on our job descriptions as they reflect which tasks, responsibilities, and skills were expected for each position and level. We reviewed them all to a sanity check (we had been reviewing them all for a few months by then) and then asked the teams to detail what was expected at each level for the same job function.</p><p>On top of that, we defined common base ground for leveling up:</p><ul><li>Everyone is accountable for their own development through the levels.</li><li>To reach the next level, the team member needs to be achieving everything in the level above at least the previous 6 months.</li><li>Each team and job role will have specific criteria to determine how they level up.</li></ul><p>Also, to be a manager at Stratio, we defined additional criteria (besides what is defined at each manager Job Description):</p><ul><li><strong>Business-mindset and acumen: </strong>understands the extent and importance of business issues, and has a client-focus mindset (how to solve problems customers are facing; how to provide customers with additional solutions for their problems). Uses his/her business intelligence to help build our strategy.</li><li><strong>Strategic thinking:</strong> thinks strategically and in the long-run, acting towards continuously expanding and defending our competitive advantage and towards building a great product and great service for our customers.</li><li><strong>Management, coaching and leadership skills:</strong> builds rapport with his/her team, is a role model to all Stratio team members, his/her team can look up to him/her, and represents the Stratio Culture in every way. Worries about teams’ motivation and development, and coaches them to be independent and autonomous. Challenges him/herself towards continuous improvement, and promotes this across the company;</li><li><strong>Stratio thinking — </strong>no “my team” or individual thinking: looks at the forest and not at the trees. Understands we are working towards a common goal, and that we are not different teams, but one Stratio team. The only defensive approach he/she has is to defend our zero downtime mission, fighting for what’s best for our customers, both internally and externally.</li></ul><p>Other important skills apply, these are just the ones we think are critical for a manager on Stratio.</p><p><strong>Communication</strong></p><p>The next step was to communicate this new framework to the teams. We created a confluence shared page (our internal wiki tool) to share the new framework, and promoted training to managers so they could be able to fully explain the framework.</p><p>Some things needed to be clear to the whole team:</p><ul><li>We needed teams’ feedback to understand what does and doesn’t work so that we could keep shaping the framework. This will be a continuous work in progress.</li><li>The framework is a guide and not a checklist so a common-sense approach should be promoted on teams when using it.</li></ul><p><strong>Today</strong></p><p>In 2020 our turnover levels are back on track, and now that we’ve rolled out our V1 we’ve been receiving a lot of good inputs from the teams, which is adding a lot of value to our framework. Some doubts that were raised were already updated on both frequently asked questions sections, and the suggestions we’ve been receiving will be considered for the next semester. They’re definitely very helpful to what will be the 1st review of our framework and create a v2 in 2021.</p><p><strong>Next Steps</strong></p><p>Our V1 had a limited scope. We focused on establishing a common ground for progression at Stratio and improving our performance management tools. We will start working on a V2 that will contemplate more updated information, which we expect to roll out during 2021.</p><p>This framework is just one of our strategies to reach our 2020 people goals. Others are being implemented, such as happiness surveys, creating better and open communication channels, being clearer about strategic decisions, and involving the teams in difficult discussions. Of course, we will keep having the challenges tech companies have, but now we have much more clarity about what we are looking for in our teams — and won’t demand any less than that — and what we can offer as a company as well as an employer.</p><p>We hope this article can help other companies who are facing similar challenges, after all, we all depend on people to get the job done at the end of the day.</p><p>Moving forward we are expecting that this massive team effort will bring many positive outcomes and that this strategy may support our growth in the upcoming challenging times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*Zc3erbXswuEcssXg2E0JIA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d8f85ea2f1f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/stratio/stratios-progression-framework-3d8f85ea2f1f">Stratio’s Progression Framework</a> was originally published in <a href="https://medium.com/stratio">Stratio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>