<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ivelin Ivanov</title>
    <description>The latest articles on DEV Community by Ivelin Ivanov (@ivelin).</description>
    <link>https://dev.to/ivelin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F363885%2F84ae7582-11c4-4fa7-95ba-5d85dc9f098b.jpeg</url>
      <title>DEV Community: Ivelin Ivanov</title>
      <link>https://dev.to/ivelin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ivelin"/>
    <language>en</language>
    <item>
      <title>Use JavaScript for frontend code and Python for backend</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Tue, 19 May 2020 21:01:45 +0000</pubDate>
      <link>https://dev.to/ambianicai/use-javascrips-for-frontend-code-and-python-for-backend-2pna</link>
      <guid>https://dev.to/ambianicai/use-javascrips-for-frontend-code-and-python-for-backend-2pna</guid>
      <description>&lt;p&gt;Form or function? Which comes first?Most successful products strike a good balance. &lt;/p&gt;

&lt;p&gt;The following is a biased opinion based on personal experience with the respective programming platforms, their developer communities and libraries.&lt;/p&gt;

&lt;p&gt;It has been almost a year since I started &lt;a href="https://github.com/ambianic"&gt;ambianic.ai on github&lt;/a&gt;, which gave me the opportunity to work almost daily on JavaScript(often mixed with TypeScript) and Python code. Previously I've had years of real world experience with Java, SQL and to lesser extend C, C++, Haskell, Prolog, Lisp, XSLT and various other imperative, functional, logical and OO programming languages.&lt;/p&gt;

&lt;p&gt;One of the early technology decisions I had to make for Ambianic.ai was choosing platforms for:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The frontend - in this case a Progressive Web App&lt;/li&gt;
&lt;li&gt;The backend - a local edge device that runs video processing and AI inference without sharing any data with any cloud accounts. Here is a high level architecture diagram.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--C1VSi0CD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/sgpje8qu9gsvx6klefq7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--C1VSi0CD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/sgpje8qu9gsvx6klefq7.png" alt="Ambianic.ai architecture"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At the time the decision was based on days of reading and researching.  Eventually I settled on:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Frontend: JavaScript/TypeScript with VueJS, Vuetify and many other npm libraries.&lt;/li&gt;
&lt;li&gt;Backed: Python 3 with TensorflowLite, Gstreamer and many other pypi libraries.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Intuitively it felt right to place a bet on browser based advancements for the UI. It seemed like there is a much bigger critical mass of effort put into solving the user - computer interaction problem via browser based technologies.&lt;/p&gt;

&lt;p&gt;Simultaneously I had a chance to &lt;a href="https://towardsdatascience.com/how-to-build-a-custom-dataset-for-tensorflow-1fe3967544d8"&gt;contribute&lt;/a&gt; to &lt;a href="https://www.tensorflow.org/io"&gt;Tensorflow IO&lt;/a&gt; and consecutively meet with core contributors at the 2019 TF Contributor Summit. It was quite clear that most of the ML APIs were Python first. That made it an intuitively appropriate choice for the backend platform.&lt;/p&gt;

&lt;p&gt;With some months of hand on experience, I have a bit more solid argument base to stay the course. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why JavaScript is the right choice for UI
&lt;/h2&gt;

&lt;p&gt;The web browser ecosystem is dominated by people who are working non-stop to solve the problem of intuitive, frictionless user - computer interaction. End users come in all shapes and forms, from a large variety of cultures, languages and professional backgrounds. &lt;/p&gt;

&lt;p&gt;Building apps with great UX is a very very hard problem. People are emotional, subjective, irrational and inconsistent. Making users happy requires implementing and reimplementing the same functionality endlessly with iterative tweaks, A/B tests and multiple alternative ways for users to access the same features. This is much more of an art form than science. &lt;/p&gt;

&lt;p&gt;As the &lt;a href="https://en.wikipedia.org/wiki/Michael_I._Jordan"&gt;Michael Jordon of AI&lt;/a&gt; &lt;a href="https://www.youtube.com/watch?v=EYIKy_FM9x0"&gt;said in a recent interview&lt;/a&gt;, we are as close to figuring out the human brain as the Ancient Greeks were close to landing on the moon. We are still dreaming more than understanding.&lt;/p&gt;

&lt;p&gt;On top of that, user devices and browser versions span thousands of different permutations. Frontend code has to accomodate all kinds of screen sizes, outdated browsers, internet bandwidth and input modes.&lt;/p&gt;

&lt;p&gt;All these issues reflect how browser based JavaScript APIs and libraries are designed and implemented. They have become very effective in solving messy UI problems. And that also has impact on readability of JS code. It often seems repetitive, irrational and sub-optimal from a scientist' point of view. Even though the resulting app may be perceived as user friendly and intuitive by 98% of users. &lt;/p&gt;

&lt;p&gt;But then again do you know many scientists who are great at building slick UI? So let's leave the UI to the frontend artists.&lt;/p&gt;

&lt;p&gt;But you know what scientists are really really good at? &lt;/p&gt;

&lt;h2&gt;
  
  
  Why Python is great for backend code
&lt;/h2&gt;

&lt;p&gt;Scientists are great at minimizing, optimizing, mathematically correct, consistent, clean and beautiful code. Scientists are not shy to throw away hypothesis that are proven wrong and quickly replace with better, tighter, improved ones.&lt;/p&gt;

&lt;p&gt;Python evolved mainly through the exact sciences community - physicists, mathematicians and computer scientists. Its adoption and use in the industry has also evolved through numerical and data problem solving.&lt;/p&gt;

&lt;p&gt;Python code is often clean, consistent and self-explanatory. To some extent because of its syntax style, but I think to a much bigger extend due to the kind of people who wrote it. The pythonic way is to do things consistently across the board. Do one thing and do it right. No much room for artistic variations.&lt;/p&gt;

&lt;p&gt;One of the most prominent examples is the lack of a &lt;code&gt;do while&lt;/code&gt; loop. The &lt;a href="https://stackoverflow.com/questions/37281553/why-there-is-no-do-while-loop-in-python"&gt;commonly accepted reason&lt;/a&gt; for the rejection of this construct is that it breaks the Python block indentation rule. Get with the program, like it or not, science moves on.&lt;/p&gt;

&lt;p&gt;This tradition of exactness and minimalism has led to an ecosystem of libraries and best practices that make Python a much easier choice for backend code where hard business problems are solved without immediate concern for user interaction.&lt;/p&gt;

&lt;p&gt;REST, GraphQL, gRPC and other remote interfaces are here to stay as the essential glue between frontend and backend code. I am convinced that it is better in the long run to add an extra layer of connectivity than forcing a UX developer to think like a data scientist or vice versa. I think even generalists appreciate and use the right tools for the job.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>typescript</category>
      <category>python</category>
    </item>
    <item>
      <title>Video cameras tested with Ambianic.ai</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Mon, 11 May 2020 18:22:24 +0000</pubDate>
      <link>https://dev.to/ambianicai/video-cameras-tested-with-ambianic-ai-49gk</link>
      <guid>https://dev.to/ambianicai/video-cameras-tested-with-ambianic-ai-49gk</guid>
      <description>&lt;p&gt;This post is periodically updated to list specific camera models tested with Ambianic.ai by people in the community. Obviously, there are no guarantees and warranties of any kind. This is just a voluntary effort to help you find a camera that works for your environment.&lt;/p&gt;

&lt;p&gt;Outdoor:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Brand&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Store URL&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Anpviz&lt;/td&gt;
&lt;td&gt;5MP PoE Dome&lt;/td&gt;
&lt;td&gt;$53&lt;/td&gt;
&lt;td&gt;&lt;a href="https://amzn.to/2WmJheH"&gt;Amazon&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Indoor:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Brand&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Store URL&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Reolink&lt;/td&gt;
&lt;td&gt;C1 Pro&lt;/td&gt;
&lt;td&gt;$55&lt;/td&gt;
&lt;td&gt;No longer sold&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reolink&lt;/td&gt;
&lt;td&gt;E1 Pro&lt;/td&gt;
&lt;td&gt;$50&lt;/td&gt;
&lt;td&gt;&lt;a href="https://reolink.com/product/e1-pro/?attribute_pa_version=1-pack&amp;amp;gclid=CjwKCAjw7-P1BRA2EiwAXoPWA_VjDmViI0wl16LTdnd0fd6kXcgVWZj843Xg9nItKmbo6lQzzlsLTBoCKkYQAvD_BwE"&gt;Reolink&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you know of a camera that works with Ambianic.ai, please post a comment about it below. Thank you!&lt;/p&gt;

</description>
      <category>cameras</category>
      <category>tested</category>
    </item>
    <item>
      <title>Ambianic.ai user personas and product direction</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Mon, 11 May 2020 17:41:01 +0000</pubDate>
      <link>https://dev.to/ambianicai/ambianic-ai-camera-integration-architecture-2n9d</link>
      <guid>https://dev.to/ambianicai/ambianic-ai-camera-integration-architecture-2n9d</guid>
      <description>&lt;p&gt;Over the course of the COVID19 lockdown, we participated in 12 virtual hackathons and were fortunate to have over 230 volunteers supporting the project.&lt;/p&gt;

&lt;p&gt;One of the discoveries in the course of this experience was that there are two major types of user personas we see:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;DYI folks and developers who love the ultimate control and flexibility of an Open Source privacy preserving surveillance solution.&lt;/li&gt;
&lt;li&gt;End users who love the concept of a no nonsense privacy preserving solution to help care remotely for family members.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;User group 1 (or to be Bay Area buzzword compliant, we can call it a cohort) cares more about freedom to fork, hack and integrate the code any way they like with any other systems they want to. This group is about 2% of all people who have been involved in some capacity with Ambianic.ai.&lt;/p&gt;

&lt;p&gt;User group 2, doesn't have the skills, time or plain interest to get messy with integrating an AI component with an existing camera system. They would rather buy a new turn-key intelligent camera up to $200. If they had an old camera installed (presumably a $50-100 investment), they would rather return it and replace with the a new one or simply donate it to a charity. If the old camera has been used more than 6 months, then its a depreciated asset that served its purpose and can be now written off. $100 is generally a tolerable pain threshold as compared to spending hours on integration or hiring an expert to do the work, which would cost much more than a new drop-in replacement.&lt;/p&gt;

&lt;p&gt;Armed with this user data with quantitative and qualitative parameters, we had an open discussion on our slack workspace and decided that both user groups are important to the long term success of the project.&lt;/p&gt;

&lt;p&gt;User Group 1 is vital, because these are the kinds of folks who can thoroughly dissect the software and offer valuable constructive criticism, contribute code, docs and in the future help grow the core team.&lt;/p&gt;

&lt;p&gt;User Group 2, the remaining 98%, is obviously vital, because these are the majority of end users who we ultimately aim to provide value to. &lt;/p&gt;

&lt;p&gt;Just to be clear, Ambianic.ai is primarily focused on adding tangible value to real users today. The fact that its open source does not contradict the primary goal in any way. Open Source is meant to enforce its validity of true value by removing proprietary layers of obscurity and superficial flashy claims. &lt;/p&gt;

&lt;p&gt;As a high level roadmap decision, we are moving forward by acknowledging that both User Group 1 and 2 are important and the project should proceed in a way that doesn't lock out either one from participating.&lt;/p&gt;

&lt;p&gt;To that extend, Luca Capra (one of our new team members) summarized the way forward better than I could:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I am convinced that every niche expect and deserve a specific UX. I think the core could be flexible enough to support generic functionalities while delegating domain specific challenges to a vertical application. This could happen through different layers of integrations, eventually reusable. An example could be an object detection pipeline for training and execution, adapted to home care but also to security. Same functional perimeter but with different specializations based on user requirements&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here is a high level architecture diagram that we will use as a North Star reference.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1taVlFu6r2jULWPpvdm1hO65WOxlNSw8R/view?usp=sharing"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--q1mZNsQu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/zgxrlsxbsfmvxro6epa8.png" alt="Diagram"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Community feedback is always welcome; please use the discussion box below.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>camera</category>
      <category>ai</category>
      <category>surveillance</category>
    </item>
    <item>
      <title>Ambianic.ai UI mockup for edge device connectivity, May 2020</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Mon, 11 May 2020 15:56:21 +0000</pubDate>
      <link>https://dev.to/ambianicai/ambianic-ai-ui-mockup-for-edge-device-connectivity-may-2020-566p</link>
      <guid>https://dev.to/ambianicai/ambianic-ai-ui-mockup-for-edge-device-connectivity-may-2020-566p</guid>
      <description>&lt;p&gt;One of the recent product discussions related to Ambianic.ai UX has been related to enabling remote users to setup initial connection to an edge device that is not on their local network. &lt;/p&gt;

&lt;p&gt;The specific use case that came up was inspired by the COVID19 hackathons we &lt;a href="https://devpost.com/software/remote-elderly-home-care-via-privacy-preserving-surveillance-tzp2ab"&gt;participated in&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What if a family member can ship a pre-configured Ambianic Edge system to their isolated elderly or disabled dependents homes so they can better take care of them remotely. Currently the &lt;a href="https://ui.ambianic.ai"&gt;UI&lt;/a&gt; can automatically discover and pair up with an Edge device running on the same local network (e.g. home WiFi). But what if family members are not able to physically visit the home where Ambianic Edge will run.&lt;/p&gt;

&lt;p&gt;A simple problem statement resulted in an extended UX and p2p connectivity (WebRTC) design discussion. We started with a &lt;a href="https://dev.to/ambianicai/ambianic-ai-p2p-connectivity-state-machine-may-2020-48lm"&gt;high level state machine diagram&lt;/a&gt;, which helped but wasn't specific enough.&lt;/p&gt;

&lt;p&gt;Then Bjorn added a &lt;a href="https://drive.google.com/file/d/1Ps-TKQ_WdXS-L6qDeyXqmli9S97mnkFk/view?usp=sharing"&gt;sequence diagrams&lt;/a&gt; to illustrate his proposed implementation in &lt;a href="https://github.com/ambianic/ambianic-ui/pull/347"&gt;PR 347&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;As the PR discussion went on, new edge cases came up, which forced us to think hard about what's most intuitive to the end user. &lt;/p&gt;

&lt;p&gt;This &lt;a href="https://projects.invisionapp.com/freehand/document/DziiI47LX"&gt;UI mockup diagram&lt;/a&gt; illustrates our latest agreement. Its open to community feedback; use the discussion box below.&lt;/p&gt;

</description>
      <category>ui</category>
      <category>mockup</category>
      <category>p2p</category>
    </item>
    <item>
      <title>Ambianic.ai p2p connectivity state machine, May 2020</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Mon, 11 May 2020 15:33:28 +0000</pubDate>
      <link>https://dev.to/ambianicai/ambianic-ai-p2p-connectivity-state-machine-may-2020-48lm</link>
      <guid>https://dev.to/ambianicai/ambianic-ai-p2p-connectivity-state-machine-may-2020-48lm</guid>
      <description>&lt;p&gt;As the dev community around Ambianic.ai expands and new ideas are brought in, it feels like a good time to document the current p2p state machine. This should allow more productive discussions on our roadmap and design.&lt;/p&gt;

&lt;p&gt;The state machine diagram below complements the recent deep dive WebRTCHacks article &lt;a href="https://webrtchacks.com/private-home-surveillance-with-the-webrtc-datachannel/"&gt;Private Home Surveillance with the WebRTC DataChannel&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3deXqzxN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/eke8hde6amlgxnda2466.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3deXqzxN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/eke8hde6amlgxnda2466.png" alt="Ambianic.ai high level p2p State Machine"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the &lt;a href="https://drive.google.com/file/d/1Ps-TKQ_WdXS-L6qDeyXqmli9S97mnkFk/view?usp=sharing"&gt;source&lt;/a&gt; of the diagram to fork and edit. It was created with the excellent diagrams.net (aka draw.io) tool.&lt;/p&gt;

&lt;p&gt;Feel free to ask questions or comment in the discussion below.&lt;/p&gt;

</description>
      <category>p2p</category>
      <category>ambianic</category>
      <category>statemachine</category>
      <category>webrtc</category>
    </item>
    <item>
      <title>Ambianic.ai Continuous Integration and Deployment</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Thu, 23 Apr 2020 00:33:27 +0000</pubDate>
      <link>https://dev.to/ambianicai/ambianic-ai-continuous-integration-and-deployment-38dc</link>
      <guid>https://dev.to/ambianicai/ambianic-ai-continuous-integration-and-deployment-38dc</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/ambianic" rel="noopener noreferrer"&gt;Ambianic.ai&lt;/a&gt; is now completely CI and CD enabled across all of its major components running respectively on mobile, cloud and Edge/IoT devices: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Progressive Web App (&lt;a href="https://ui.ambianic.ai/" rel="noopener noreferrer"&gt;ui.ambianic.ai&lt;/a&gt;): 

&lt;ul&gt;
&lt;li&gt;Built with VueJS, Vuetify, and PeerJS&lt;/li&gt;
&lt;li&gt;Hosted on Netlify&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Plug-And-Play Signaling Server:

&lt;ul&gt;
&lt;li&gt;Built with Node.js and PeerJS Server&lt;/li&gt;
&lt;li&gt;Hosted on Heroku&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;IoT/Edge image: 

&lt;ul&gt;
&lt;li&gt;Built with Python, Tensorflow, Gstreamer and aiortc&lt;/li&gt;
&lt;li&gt;Hosted on a user home device: Raspberry Pi, Xbox, laptop or another machine.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Its amazing that across such a wide variety of frameworks and infrastructure, it is completely feasible to implement full cycle Continuous Integration and Deployment using 100% Open Source dependencies and 100% free cloud services generously supporting open source projects.&lt;/p&gt;

&lt;p&gt;All three major Ambianic.ai modules follow the same flow, with the respective  tools for each function:&lt;/p&gt;

&lt;p&gt;Pull Request -&amp;gt; Continuous Integration -&amp;gt; Code Review -&amp;gt; Commit -&amp;gt; Semantic Release -&amp;gt; Graceful Auto Update &amp;amp; Deploy&lt;/p&gt;

&lt;p&gt;Here is the list of Github Apps that make this possible. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fjfr67j9ookfd95xo730w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fjfr67j9ookfd95xo730w.png" alt="Ambianic.ai CI/CD tools"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ambianic</category>
      <category>continuousdeployment</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Github Sponsors webhooks enables Open Source SaaS</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Fri, 17 Apr 2020 17:31:59 +0000</pubDate>
      <link>https://dev.to/ambianicai/github-webhooks-for-sponsors-enables-open-source-saas-9fk</link>
      <guid>https://dev.to/ambianicai/github-webhooks-for-sponsors-enables-open-source-saas-9fk</guid>
      <description>&lt;p&gt;Github announced its &lt;a href="https://github.blog/2020-04-16-github-sponsors-is-now-available-in-mexico-plus-some-exciting-updates/"&gt;new webhooks for sponsors API&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Offering perks to sponsors is a natural way to express gratitude. Until now that required keeping a list of sponsors based on email notification and makings sure that each sponsor is acknowledged according to their tier.&lt;/p&gt;

&lt;p&gt;With the new sponsor webhooks, it is now possible to completely automate perks for sponsors. In fact it makes it relatively straightforward to build incentives into sponsor tiers such as premium feature access to hosted (SaaS) version of a project. This is fitting especially for end-user applications where open source code is an important part of building a dev community, but operating a live service adds real value to end users. &lt;/p&gt;

&lt;p&gt;Open Source SaaS is a strong trend that more new gen open source SaaS products are adopting, including &lt;strong&gt;dev.to&lt;/strong&gt;, MongoDB, Kafka/Confulent, Elastic, Wordpress and others.&lt;/p&gt;

&lt;p&gt;Another nice touch of the new gitub sponsors update is labeling issues and PRs from sponsors. I suspect there is more to come along these lines to make it simpler (and fairly so) for project maintainers to attract and reward sponsors.&lt;/p&gt;

&lt;p&gt;Great work Github team! Keep it up!&lt;/p&gt;

</description>
      <category>github</category>
      <category>webhooks</category>
      <category>sponsors</category>
    </item>
    <item>
      <title>Trustless, privacy preserving surveillance system with AI capabilities</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Fri, 10 Apr 2020 01:56:55 +0000</pubDate>
      <link>https://dev.to/ivelin/trustless-privacy-preserving-surveillance-system-with-ai-capabilities-4amp</link>
      <guid>https://dev.to/ivelin/trustless-privacy-preserving-surveillance-system-with-ai-capabilities-4amp</guid>
      <description>&lt;p&gt;Are you holding back on installing home automation in your house, because it requires cloud account sign up and you are not quite sure what happens with your data that goes to the cloud?&lt;/p&gt;

&lt;p&gt;I was hit by the same hesitation after I played with Ring, Nest, Arlo and a few other plug-and-play cloud camera systems. The AI capabilities makes them very attractive, but the fact that I have to use a cloud API to download video footage recorded by cameras in my own home, does not sit well with me.&lt;/p&gt;

&lt;p&gt;Why can't I get access to my local video camera stream directly on my local network, get a private and secure notification to my mobile app. Look at the AI detected object, pet or a person and make an informed decision what to do next? That should be possible without trusting a man-in-the-middle system to see, but not look at my data, right? &lt;/p&gt;

&lt;p&gt;Absolutely! When I asked the question first a few months ago, it was not that obvious, but after a bit of tinkering it all worked out just as expected. The result is now available for everyone else who wants a trustless, privacy preserving surveillance system with AI capabilities. Check it out: &lt;a href="https://github.com/ambianic"&gt;https://github.com/ambianic&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is a &lt;a href="https://docs.ambianic.ai/users/quickstart/"&gt;5 minute quick start guide&lt;/a&gt; to get you going, if you don't have time to browse the code now.&lt;/p&gt;

&lt;p&gt;And if you'd like to read more how it works, follow this link:&lt;br&gt;
&lt;a href="https://blog.ambianic.ai/2020/02/05/pnp.html"&gt;https://blog.ambianic.ai/2020/02/05/pnp.html&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>privacy</category>
      <category>trustless</category>
    </item>
    <item>
      <title>Privacy Preserving Home Surveillance with AI, Pi and WebRTC</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Fri, 10 Apr 2020 01:39:36 +0000</pubDate>
      <link>https://dev.to/ivelin/privacy-preserving-home-surveillance-with-ai-pi-and-webrtc-1mok</link>
      <guid>https://dev.to/ivelin/privacy-preserving-home-surveillance-with-ai-pi-and-webrtc-1mok</guid>
      <description>&lt;p&gt;Home surveillance systems are now mainstream. Easy to setup and easy to use. Mobile app to see who is at the door. Cloud backup for a subscription fee. All great. Except that privacy issues are getting out of control. In an article for WebRTCHacks, I cover the technical design and implementation of a solution that leverages WebRTC to prevent sensitive data storage on devices that aren’t directly controlled by the user.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://webrtchacks.com/private-home-surveillance-with-the-webrtc-datachannel/"&gt;https://webrtchacks.com/private-home-surveillance-with-the-webrtc-datachannel/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>webrtc</category>
      <category>raspberrypi</category>
    </item>
    <item>
      <title>A small code contribution to the COVID19 fight</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Fri, 10 Apr 2020 01:33:54 +0000</pubDate>
      <link>https://dev.to/ivelin/a-small-code-contribution-to-the-covid19-fight-4l40</link>
      <guid>https://dev.to/ivelin/a-small-code-contribution-to-the-covid19-fight-4l40</guid>
      <description>&lt;p&gt;On March 24, 2020, New York governor Andrew Cuomo sounded a dire alarm during a press conference amid an escalating COVID19 situation in his state. He then repeated on &lt;a href="https://twitter.com/NYGovCuomo/status/1242477029083295746"&gt;twitter&lt;/a&gt;: "My mother is not expendable. Your mother is not expendable. We will not put a dollar figure on human life."&lt;/p&gt;

&lt;p&gt;COVID19 isolated many of us, but especially vulnerable are elderly and disabled family members who are left unattended for days or maybe even weeks in some states and countries with full military lockdown.&lt;/p&gt;

&lt;p&gt;Remote home care is an emerging topic in the theme of healthy aging, but it is especially relevant in times of COVID19 isolation.&lt;/p&gt;

&lt;p&gt;The holistic problem of home care is very complex and dynamically changing. We can’t solve it at once, but there are discrete steps we can take in the right direction. One specific area of home care is proactive and unobtrusive monitoring of the activities and the home environment of residents.&lt;/p&gt;

&lt;p&gt;For example it is a well researched issue that falls can be a key indicator of health complications. In fact, falls are the leading cause of fatal and non-fatal injuries for older Americans. If there is no one present to observe a fall and take action, it may go unnoticed. Things can be even worse if the person is not able to move and recover on their own.&lt;/p&gt;

&lt;p&gt;Other important health factors include eating patterns, exercise activities, medication compliance. Changes in voice may also mean trouble. Environmental risk factors include flooding in the house, gas leaks, smoke or fire.&lt;/p&gt;

&lt;p&gt;When detected early, these risks can be mitigated with minimal intervention from family members or caregivers. Respectively if response is delayed, the severity of the problems escalates.&lt;/p&gt;

&lt;p&gt;With all this said, an idea begins to form. If we are able to build an affordable, unintrusive system that detects early warning signs, it may improve healthy independent aging at home.&lt;/p&gt;

&lt;p&gt;Fortunately there is a solid foundation of open source projects that provide the key building blocks for a secure, privacy preserving AI system that begins to solve these problems.&lt;/p&gt;

&lt;p&gt;We have released a &lt;a href="https://docs.ambianic.ai/users/quickstart/"&gt;public Beta&lt;/a&gt; version that integrantes these building blocks and demonstrates feasibility. Given the positive community feedback, we are advancing the project further with participation in a series of COVID19 hackathons.&lt;/p&gt;

&lt;p&gt;We need to work on these main areas:&lt;/p&gt;

&lt;p&gt;Recruit volunteers in the home care community to test the system and provide feedback.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select more ML models to address open use cases such as fall detection, gas leaks and others.&lt;/li&gt;
&lt;li&gt;Work on implementing Federated Learning infrastructure to fine tune initial pre-trained models in a privacy preserving manner.&lt;/li&gt;
&lt;li&gt;Improve UX of the Progressive Web App.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If this topic resonates with you and you have cycles to spare for social good, join the team at &lt;a href="https://devpost.com/software/remote-elderly-home-care-via-privacy-preserving-surveillance-y8sgxi"&gt;The Global Hack&lt;/a&gt; this weekend or &lt;a href="https://devpost.com/software/remote-elderly-home-care-via-privacy-preserving-surveillance-dano89"&gt;COVIDathon&lt;/a&gt; next month. If you don't have time to contribute, you can also &lt;a href="https://github.com/sponsors/ambianic"&gt;sponsor the project&lt;/a&gt; on github with a $1 or $5 donation.&lt;/p&gt;

</description>
      <category>participate</category>
      <category>covid19impact</category>
    </item>
    <item>
      <title>We’re one of the 50 Austin Startups to Watch in 2020</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Tue, 07 Apr 2020 22:04:58 +0000</pubDate>
      <link>https://dev.to/ivelin/we-re-one-of-the-50-austin-startups-to-watch-in-2020-28oa</link>
      <guid>https://dev.to/ivelin/we-re-one-of-the-50-austin-startups-to-watch-in-2020-28oa</guid>
      <description>&lt;p&gt;We’re one of the 50 Austin Startups to Watch in 2020 &lt;a href="https://twitter.com/hashtag/BootcampsAustin?src=hash"&gt;# &lt;strong&gt;BootcampsAustin&lt;/strong&gt;&lt;/a&gt;&lt;a href="https://bootcampsaustin.com/top-startups-to-watch-in-austin-2020/"&gt;https://bootcampsaustin.com/top-startups-to-watch-in-austin-2020/ …&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>#AI is now reading better than humans.  (World Economic Forum)pic.twitter.com/EWnMV4GURY</title>
      <dc:creator>Ivelin Ivanov</dc:creator>
      <pubDate>Mon, 06 Apr 2020 23:33:00 +0000</pubDate>
      <link>https://dev.to/ivelin/ai-is-now-reading-better-than-humans-world-economic-forum-pic-twitter-com-ewnmv4gury-2m67</link>
      <guid>https://dev.to/ivelin/ai-is-now-reading-better-than-humans-world-economic-forum-pic-twitter-com-ewnmv4gury-2m67</guid>
      <description>&lt;p&gt;&lt;a href="https://twitter.com/hashtag/AI?src=hash"&gt;# &lt;strong&gt;AI&lt;/strong&gt;&lt;/a&gt; is now reading better than humans. (World Economic Forum) &lt;a href="https://pic.twitter.com/EWnMV4GURY"&gt;pic.twitter.com/EWnMV4GURY&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
