<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Matěj Krček on Medium]]></title>
        <description><![CDATA[Stories by Matěj Krček on Medium]]></description>
        <link>https://medium.com/@matejkrcek?source=rss-a1fab64b9e94------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YgqCBV-4c76-bFAfqthN9w.jpeg</url>
            <title>Stories by Matěj Krček on Medium</title>
            <link>https://medium.com/@matejkrcek?source=rss-a1fab64b9e94------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 00:32:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@matejkrcek/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Python and Hedge funds]]></title>
            <link>https://matejkrcek.medium.com/python-and-hedge-funds-63e72f9bdf04?source=rss-a1fab64b9e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/63e72f9bdf04</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[deepnote]]></category>
            <dc:creator><![CDATA[Matěj Krček]]></dc:creator>
            <pubDate>Fri, 17 May 2024 10:17:34 GMT</pubDate>
            <atom:updated>2024-05-17T10:17:34.528Z</atom:updated>
            <content:encoded><![CDATA[<p>Using Deepnote to visualise NVDA and AAPL charts with moving averages and buy/sell signals.</p><p>Hey 👋! Are you looking for an 11.3/10 article on how to get started with Python and build something useful for your career in a hedge fund? You found it! In this article, I will show you how to build a simple app using Python to visualise charts with a few metrics.</p><h3>Why is python important?</h3><p>That&#39;s the right question to ask. You are/want to be a data scientist or a data analyst. So python is an excellent choice. Here&#39;s why:</p><ul><li>Python’s syntax is clear and concise. No semicolons, no crazy nested functions. And if you are a native English speaker, it’s even more accessible. You give instructions, python returns outputs.</li><li>Python boasts a vast ecosystem of libraries, such as NumPy, pandas, and SciPy, which provide powerful tools for data manipulation, numerical computing, and statistical modelling. <strong><em>Don’t worry! I will show two examples in a second!</em></strong></li><li>Python is one of the most popular programming languages. There are many courses, articles and tutorials exist. Also, the community is nice, and they are organising many events! I prepared a short list at the end of this article.</li></ul><h3>Okay, let&#39;s implement it</h3><p>I decided to use <a href="https://deepnote.com/">Deepnote</a> because it is fast and easy to use, making it an ideal solution for quickly developing applications. As a cloud-based workspace, Deepnote allows you to write, execute, and explain your code all within a single environment. Its seamless integration with data sources and tools, along with its robust collaboration features, make it the best environment for team projects I have come across.</p><p>Before we start, you can access all the codes used in this article <a href="https://deepnote.com/app/my-workspace-d3d9/Python-for-Hedge-funds-2f2b5d4e-6036-4f94-8e50-68cf6c2e6db6">here</a>. We need to do a few steps to set up a Deepnote workspace.</p><p><strong>1) init notebook:</strong> create a notebook called init and copy the code below. This file checks if there are any specific requirements to install.</p><pre>%%bash<br>if test -f requirements.txt<br>  then<br>    sed -i &#39;/jedi/d;/jupyter/d;&#39; ./requirements.txt<br>    pip install -r ./requirements.txt<br>  else echo &quot;There&#39;s no requirements.txt, so nothing to install. This is the case with most projects.&quot;<br>fi</pre><p><strong>2) requirements file:</strong> this is where you specify the specific libraries. Go to the section files and create a file called requirements.txt, add the code below.</p><pre>yfinance==0.2.38</pre><p>And now we are finally good to go.</p><h4>Usecase #1: Showing a chart</h4><p>I think everyone heard about NVDA stock prices this year. Let’s visualise the chart to see if there’s an actual reason to talk about it.😄</p><p><strong>Step 1:</strong> Import libraries. You always need to start with importing the relevant libraries before you actually use them. In this scenario, I used datetime, pandas (used for working with data sets), plotly (for graphs), and yfinance (to get market data from Yahoo!).</p><pre>from datetime import datetime<br>import pandas as pd<br>import plotly.graph_objects as go<br>import yfinance as yf</pre><p><strong>Step 2: </strong>code, code, code. First, I defined a few variables — ticker symbol, start_date, and end_date. To make it simple, I chose 1-year range. Then, I specified the localisation (tz_localize) and showed the chart.</p><pre>ticker = &#39;NVDA&#39;<br>start_date = &#39;2023-01-01&#39;<br>end_date = &#39;2024-01-01&#39;<br><br>df = yf.download(ticker, start=start_date, end=end_date)<br><br>df.index = df.index.tz_localize(None)  <br>df.index = df.index.tz_localize(&#39;UTC&#39;) <br><br><br>fig = go.Figure(data=[go.Candlestick(x=df.index,<br>                                     open=df[&#39;Open&#39;],<br>                                     high=df[&#39;High&#39;],<br>                                     low=df[&#39;Low&#39;],<br>                                     close=df[&#39;Close&#39;])])<br><br>fig.update_layout(<br>    title=f&#39;{ticker} Stock Price&#39;,<br>    xaxis_title=&#39;Date&#39;,<br>    yaxis_title=&#39;Price (USD)&#39;,<br>    xaxis_rangeslider_visible=False<br>)<br><br>fig.show()</pre><p><strong>Here&#39;s the output:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_EIsfIf86-xBdnshB19WfQ.png" /></figure><p>We can compare it with a Tradingview chart and see it looks the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*05l2EKv8l4axCwcg3tGQgg.png" /></figure><h4>Usecase #2: Moving averages, buy/sell signals</h4><p>Let&#39;s scale it a bit. Let&#39;s plot a chart of AAPL and display moving averages as well as a buy/sell signals.</p><p><strong>Step 1:</strong> add a new library — numpy (includes math functions, arrays… basically more knowledge)</p><pre>import numpy as np</pre><p><strong>Step 2:</strong> code again. The first part of the code is easy and the same as above. After retrieving the data, I calculate two moving averages — short-term (50-day) and long-term (200-day) — based on the closing prices. These moving averages are used to generate buy and sell signals by comparing their crossover points. I then ploted the stock price along with the moving averages and highlight buy and sell signals using Plotly. Finally, I customised the layout of the plot to include a title, axis labels, and a legend for better visualization — see below.</p><pre>ticker = &#39;AAPL&#39;<br>start_date = &#39;2023-01-01&#39;<br>end_date = &#39;2024-01-01&#39;<br><br>data = yf.download(ticker, start=start_date, end=end_date)<br><br># Calculate moving averages<br>short_window = 50<br>long_window = 200<br>data[&#39;Short_MA&#39;] = data[&#39;Close&#39;].rolling(window=short_window).mean()<br>data[&#39;Long_MA&#39;] = data[&#39;Close&#39;].rolling(window=long_window).mean()<br><br># Generate buy/sell signals<br>data[&#39;Signal&#39;] = 0<br>data[&#39;Signal&#39;][short_window:] = np.where(data[&#39;Short_MA&#39;][short_window:] &gt; data[&#39;Long_MA&#39;][short_window:], 1, 0)<br>data[&#39;Position&#39;] = data[&#39;Signal&#39;].diff()<br><br># Plot the stock price with moving averages and signals<br>fig = go.Figure()<br>fig.add_trace(go.Scatter(x=data.index, y=data[&#39;Close&#39;], mode=&#39;lines&#39;, name=&#39;Close Price&#39;))<br>fig.add_trace(go.Scatter(x=data.index, y=data[&#39;Short_MA&#39;], mode=&#39;lines&#39;, name=f&#39;{short_window}-Day MA&#39;))<br>fig.add_trace(go.Scatter(x=data.index, y=data[&#39;Long_MA&#39;], mode=&#39;lines&#39;, name=f&#39;{long_window}-Day MA&#39;))<br><br># Add buy/sell signals to the plot<br>buy_signals = data[data[&#39;Position&#39;] == 1]<br>sell_signals = data[data[&#39;Position&#39;] == -1]<br>fig.add_trace(go.Scatter(x=buy_signals.index, y=buy_signals[&#39;Close&#39;], <br>                         mode=&#39;markers&#39;, marker=dict(color=&#39;green&#39;, size=8), name=&#39;Buy Signal&#39;))<br>fig.add_trace(go.Scatter(x=sell_signals.index, y=sell_signals[&#39;Close&#39;], <br>                         mode=&#39;markers&#39;, marker=dict(color=&#39;red&#39;, size=8), name=&#39;Sell Signal&#39;))<br><br>#Layout<br>fig.update_layout(title=f&#39;{ticker} Moving Average Crossover Strategy&#39;,<br>                  xaxis_title=&#39;Date&#39;,<br>                  yaxis_title=&#39;Price&#39;,<br>                  legend=dict(yanchor=&quot;top&quot;, y=0.99, xanchor=&quot;left&quot;, x=0.01))<br>fig.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qt3D8MBXJAQIzCd6OZEP-w.png" /></figure><h3>Next steps</h3><p>Good job! But you aren&#39;t finishing here, right? This is just the beginning. Here are several resources where you can learn more about python.</p><ul><li>Datacamp: <a href="https://www.datacamp.com/courses/introduction-to-python-for-finance">Introduction to Python for Finance</a></li><li>Codecademy: <a href="https://www.codecademy.com/learn/learn-python-3">Learn python</a></li><li><a href="https://pycon.org/">Pycon event</a></li><li><a href="https://pyvo.cz/en/">Pyvo meetups</a> (Czech Republic)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63e72f9bdf04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distance learning made more accessible]]></title>
            <link>https://matejkrcek.medium.com/distance-learning-made-more-accessible-9dfebbbe05e5?source=rss-a1fab64b9e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dfebbbe05e5</guid>
            <category><![CDATA[community-story]]></category>
            <category><![CDATA[gdg]]></category>
            <category><![CDATA[schools]]></category>
            <category><![CDATA[matěj-krček]]></category>
            <category><![CDATA[distance-learning]]></category>
            <dc:creator><![CDATA[Matěj Krček]]></dc:creator>
            <pubDate>Sun, 28 Feb 2021 21:15:45 GMT</pubDate>
            <atom:updated>2021-03-01T17:48:06.702Z</atom:updated>
            <content:encoded><![CDATA[<h4>How a GDG lead supported Czech schools transition to online with Google for Education tools during the pandemic</h4><p><em>This story was also featured on </em><a href="https://blog.google/technology/developers/czech-developer-helps-fellow-students-learn-remotely/"><em>The Keyword</em></a><em> on the 22nd of February 2021.</em></p><p>In 2020, distance education became the reality for many students, myself included. The first week of distance learning was difficult. Teachers were sending so many homework assignments via multiple systems; via email, on the school website, a separate system for tests. What students and teachers needed was a single platform that could be used for everything from turning in homework assignments, to sharing study materials, to just chatting with teachers.</p><p>I learned about Google Workspace (formerly G Suite) for Education on Twitter. As a student and a developer, I wanted to assist and decided to help my school (Brno, Videnska Grammar School) in Brno, Czech Republic, to implement this new system. Within a few days, every student was using a school Gmail account, Google Classroom, and Google Calendar for time management. It was a brand new technology for everyone, and I saw quickly that some fellow students in my class and school were having issues getting started with the platform. Some couldn’t find the URL links to Google Meet for an online lesson, others struggled to turn in homework through an application on their mobile phone or to manage their Google Calendar. I realized that there must be students in other schools with the same problems, and it would be incredibly useful to write and record a tutorial for them on how to use Google Classroom effectively.</p><p>I contacted Googlers in the Czech Republic that I know through GDGs and they agreed that it was a fantastic idea. I prepared the topics with video scripts and then we began recording several videos for students. The topics covered were Google Classroom, Google Calendar, G Suite Applications for mobile phones, and Time Management with digital skills.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2hU70lPLZ45coCsWUTm_xQ.jpeg" /></figure><p>It was exciting, but a little nerve-wracking. It was my very first time sitting in front of the camera. I remember I was recording videos for a whole day. It was kinda hard for me. I had to set up the camera properly, make sure I was consistently speaking and clearly and at the right volume, whilst also managing the lighting in the room. Some of the videos were shot with professionals and a videomaker crew from Google. It felt like being on TV, they had three cameras, microphones, and other video making gear. Google published the videos on YouTube and on their <a href="https://events.withgoogle.com/proskoly/studentm/#content">page</a> for helping schools, feel free to check them out!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c_ssP6g9wyWAAtEawkRlEg.png" /><figcaption>Videos on <a href="https://events.withgoogle.com/proskoly/studentm/#content">Grow With Google page</a></figcaption></figure><p>Google has promoted the videos on their main site, and also as the main banner on YouTube. It was so funny to see myself on a YouTube ad! The first video has more than 60,000 views on YouTube and has helped many students in the Czech Republic and Slovakia.</p><p>In the fall, when COVID-19 locked the world down for a second time, I was invited to join the Czech Ministry of Education’s conference. The conference was focused on the use of modern technologies like Google Classroom. I lectured about distance education from the student’s point of view in my session. I shared with teachers my tips and tricks, such as having an exact plan for distance learning, making English lessons more about speaking with topics familiar to students, or helping students with time management. Among the other speakers were, for example, Mr. Robert Plaga, the Minister of Education of the Czech Republic, or Mrs. Tania le Moigne, Google Director for CEE. The conference was live-streamed on YouTube with over 800 teachers watching live. I would also like to say a big thank you to <a href="https://twitter.com/FilipGoszler">Filip</a> from GDG and GUG for reaching out to me with the conference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*lvpnSWmcKw5I4Z26B303bg.png" /><figcaption>Matěj&#39;s presentation</figcaption></figure><p>Distance education was a huge challenge for us as students. In the beginning, we were using multiple educational systems, we lacked a platform that covers all essential activities related to education. Google Workspace for Education brought us the solution we needed.</p><p>In my opinion, remote learning taught us many new things. The most important being personal time management and digital skills. Skills that some students wouldn’t learn in schools. In this new set-up, students have the opportunity to manage their time independently and complete their assignments on their own timetable. Digital skills are invaluable in today’s digital world as well. From my experience, some subjects like mathematics require you to be in school with a teacher. Other subjects like history can be taught online. I hope we will continue using modern technologies or just new applications in the future.</p><p>To be successful, learning applications (distance or otherwise) must be used by both teachers and students. Students, however, won’t just watch random tutorials on YouTube. Students are far more likely to watch videos made by their student peers who know firsthand what are the biggest challenges they are facing. So, how about running this project globally?</p><p>—</p><p>I am Matěj, a 18-year-old high school student, developer, and event organizer. In the past few months, I ran the <a href="https://www.flutteronair.com/flutter-onair-2020">Flutter onAir </a>conference about coding in Flutter and currently I develop a voice application for people with Alzheimer’s Disease. Read more about the project <a href="https://www.adamcarer.com/">here</a>. Check out my <a href="https://www.matejkrcek.com/">personal website</a> and follow me on <a href="https://twitter.com/krcekmatej">Twitter</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dfebbbe05e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developing a travel-related game in 6 days using Flutter]]></title>
            <link>https://medium.com/code-kiwi-com/developing-a-travel-related-game-in-6-days-using-flutter-31999246f801?source=rss-a1fab64b9e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/31999246f801</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[challenge]]></category>
            <dc:creator><![CDATA[Matěj Krček]]></dc:creator>
            <pubDate>Mon, 17 Aug 2020 08:46:00 GMT</pubDate>
            <atom:updated>2020-08-25T20:41:32.343Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to develop an application for Android, iOS, and web with the same code.</h4><p>Kiwi.com organized a Mobile Challenge in collaboration with mDevCamp, for all the mobile enthusiasts to create a travel-related game. I won 3rd place with my application — game Airline Manager. With Airline Manager, you can manage your airline — buy &amp; sell airplanes, claim flight offers, earn coins and XP levels. Try the alfa-version by yourself on <a href="https://play.google.com/store/apps/details?id=com.krcek.matej.airlinemanager">Google Play</a>.</p><p>In this article, I will share a few examples of how I developed the application using Flutter, which took me around 4 days to finish the development part. But firstly, what is Flutter?</p><p>Flutter is an open-source UI toolkit developed by Google. With Flutter, you can develop applications for Android, iOS, and websites with just one codebase. Flutter consists of two important parts — SDK and framework. In Flutter, everything is a widget. To develop with Flutter, you will use a programming language Dart. Dart focuses on front-end development, and you can use it to create mobile and web applications. Ever wonder who is using Flutter? The most famous applications developed in Flutter are Google Ads, Stadia, Alibaba, The New York Times, or Square.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*humWDGEbsftNcLk7s6h6aQ.png" /><figcaption>Main overview page</figcaption></figure><p>Now let’s dive into the development. First of all, I created a few proposals for the application. I thought about the layout, functions, and design. And then, I finally started coding. I started with data because I needed several objects, maps with airplanes, flight offers, user’s data (airplanes, names, coins…). The main overview screen consists of three main widgets — user information, active flight offers, my planes.</p><p>Let’s take a look at my airplane’s widget. It’s a <em>ListView</em> with a special scroll direction — horizontal. I used <em>ListView.builder</em> because the length of the list might be too long and I don’t know the exact length of it. Generally, ListView.builder is used for long lists.</p><p><em>ListView.builder </em>needs <em>itemCount</em> and <em>itemBuilder.</em> <em>ItemCount </em>is the number of airplanes. I used the length of the array <em>myPlanes</em> and in <em>itemBuilder</em> I set how each item will look like.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f9a67527cc686fa5b09e7430e3a67fa/href">https://medium.com/media/0f9a67527cc686fa5b09e7430e3a67fa/href</a></iframe><p>The most difficult aspect was providing the data. I used Flutter for 5 months and never had a lot of information to provide between widgets. Therefore, I chose the Provider package. With this package, you can set up listeners and notify them whenever the specific data changes, for example, User id. But I didn’t have any screen or widget for registration. I designed a simple registration page. There are just two card widgets — the headline text and form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*GZ8dpJTOI5ZMwZLcx85YdQ.png" /><figcaption>Registration page</figcaption></figure><p>The idea was simple — if the user fills out the form correctly and hits the register button, then it creates a new user id and navigates to the main overview page. Then, I need to save somewhere the status, that the user is signed up. I added another package to my application called <em>SharedPreferences</em>. With this package, I could save a list of data like <em>user id</em> to the phone memory. When the app launches, it just checks whether the <em>user id</em> already exists in the memory. If yes — navigates to the main overview screen. If not — it shows the registration page. Sounds simple. Let’s check the code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5e8428c53f440681c4c469a0253f97a1/href">https://medium.com/media/5e8428c53f440681c4c469a0253f97a1/href</a></iframe><p>If the form is valid, this code will run. It just locally saves a map with the <em>user id</em>. And every time when the app is launched, there is a check, if the app has data or not.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6e68ad7594a4b2d521489ce5462366e/href">https://medium.com/media/f6e68ad7594a4b2d521489ce5462366e/href</a></iframe><p>And in the end, I redesigned the whole application. Check the following image for comparison. The new design is on the left side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iYgazscVmG5eU4nc" /><figcaption>New design (left) vs. old design (right)</figcaption></figure><p>Firstly, I thought about a color combination. I wanted something cool, modern, clean. That’s why I selected the white color. And why yellow? I honestly don’t know. I centered the <em>appbar</em> text, added a custom SVG icon for opening the side menu. After all this stuff, I realized that rounded corners in cards would look nicer. And then just place the text right into the Scaffold, not into the cards.</p><p>So as you can see, Flutter is a new modern framework. You can find more information <a href="https://dart.dev/">here</a> and <a href="https://flutter.dev/">here</a>. Also, I suggest checking Filip Hracek’s <a href="https://twitter.com/filiphracek">Twitter</a>. (He is part of the Flutter team)</p><p>If you like the idea of Airline manager — I will be happy to talk about it with you and move it faster from alfa to a real kiwi game. Feel free to reach me out on my social media.</p><p><strong>Are you interested in working in Kiwi.com, or just receiving similar articles from </strong><a href="http://kiwi.com/"><strong>Kiwi.com</strong></a><strong> writers? C</strong><a href="https://jobs.kiwi.com/jobs/"><strong>heck our open positions</strong></a><strong> and s</strong><a href="http://go.kiwi.com/subscribe"><strong>ubscribe code.kiwi.com newsletter</strong></a><strong> so we can inform you about new articles in the last month.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31999246f801" width="1" height="1" alt=""><hr><p><a href="https://medium.com/code-kiwi-com/developing-a-travel-related-game-in-6-days-using-flutter-31999246f801">Developing a travel-related game in 6 days using Flutter</a> was originally published in <a href="https://medium.com/code-kiwi-com">code.kiwi.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter from a 17-year-old guy’s point of view]]></title>
            <link>https://matejkrcek.medium.com/flutter-from-a-17-year-old-guys-point-of-view-c429305153a0?source=rss-a1fab64b9e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/c429305153a0</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Matěj Krček]]></dc:creator>
            <pubDate>Fri, 01 May 2020 11:45:12 GMT</pubDate>
            <atom:updated>2020-05-01T11:45:12.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*0h8e7K6qsIG6fv7BchwHEg.png" /><figcaption>Flutter SDK logo</figcaption></figure><p>I have been using Flutter for 5 months. I want to share with you my experiences. I have always wanted to program my own mobile application and I saw many presentations about Flutter by <a href="https://twitter.com/filiphracek">Filip Hráček</a> from Google or <a href="https://twitter.com/tomucha">Tomáš Zvěřina</a> from GDE. I decided to start with Flutter at the begging of January when I bought a lection on <a href="https://www.udemy.com/course/learn-flutter-dart-to-build-ios-android-apps/">Udemy</a>. I recommend checking it. Looking backward it was a great step.</p><p>During coding my first application I learned Flutter basics like a stateful and stateless widget. It is very important to understand the difference between them. I was needed to learn a new programming language Dart as well. It was totally different because I used to code in JavaScript.</p><p>My first application in Flutter is a simple quiz. Some texts, buttons, and a simple algorithm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdgImmufkd_ep7hDkAcDyg.jpeg" /><figcaption>My first Flutter quiz app</figcaption></figure><p>Pretty awesome, isn’t it?</p><p>After that, I have the required knowledge for an app I really wanted to program. Was is it? School grade (mark) calculator. Let me show you an example. In our schools in Czechia, very often each school grade has different importance. For example, the half-year test is the most important one. And from all grades, we get a certificate about how we ware successful during the school year.</p><p>My application simply calculates the school grade average. But you can add grades there. Grades that you haven’t gotten yet. And that’s the point.</p><p>It was the most difficult thing I’ve done so far. Many custom widgets, many variables and lists, using constructor or gesture detector. This is a summary of my app. Look at my algorithm calculating the average. Btw it’s public on <a href="https://play.google.com/store/apps/details?id=com.voicebotacademy.pocitadlo">Google Play</a>, so try it yourself!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8d94642c2dd4cfeeb6e50dff011b4f5d/href">https://medium.com/media/8d94642c2dd4cfeeb6e50dff011b4f5d/href</a></iframe><p>Finally, wanna share with you some tips as well.</p><ul><li>Use <a href="https://dartpad.dev/">Dartpad </a>— online Dart editor. You can try to build classes, methods, functions there.</li><li>Use VS Code. In my opinion, it is the best editor. You can easily install all needed extensions like iOS or Android Emulators.</li><li>Check on <a href="https://www.youtube.com/channel/UCwXdFgeE9KYzlDdR7TG9cMw/videos">YouTube </a>Flutter Widget of the Week.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c429305153a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to build your own Google Assistant application]]></title>
            <link>https://matejkrcek.medium.com/how-to-build-your-own-google-assistant-application-39ddb60acbfb?source=rss-a1fab64b9e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/39ddb60acbfb</guid>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[voice-assistant]]></category>
            <category><![CDATA[actions-on-google]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[smart-assistant]]></category>
            <dc:creator><![CDATA[Matěj Krček]]></dc:creator>
            <pubDate>Thu, 05 Mar 2020 20:48:37 GMT</pubDate>
            <atom:updated>2020-03-05T20:48:37.550Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>2020 — The year of virtual assistants. Have you always wanted to develop your own application that you can control just by your voice? Nowadays, voice application helps in many areas. For example, in health or travel. Disabled people that can’t move can with Google Assistant move with their bed, get the weather forecast and don’t need to look out the window. In the travel area, you can search for tickets just by your voice.</p><p>And now you can develop your own! And only the thing you need is a Gmail account. How to design it? I can’t code, can I still do it? Is it difficult? Keep reading, you spend just 3 minutes.</p><h3>Get started</h3><p>The first thing you need to have is a Gmail account. You don’t have to be a programmer and you can build your own action. So, let’s start.</p><h3>Actions on Google</h3><p>Actions on Google is the page you need to know. It is the main page for developing voice applications on Google Assistant. Let’s navigate to the page (<a href="http://actions.google.com/">http://actions.google.com/</a>). Log-in and hit New project. Type your name there and choose language and region. And create. On this page, you will test your action in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*d_V-CUMYzCtMH4yQ" /></figure><p>If you want to send your action to the world, you need to write Privacy police, fill out some information about you and your company. And select the name of your action.</p><p>In the right bottom corner, choose the Conversation design. Now it is important. You have to type the name of your application. This is the name, how users can invoke your action. Below, you can select a voice of assistant.</p><h3>Dialogflow</h3><p>Now, move to Google Dialogflow (<a href="https://dialogflow.com/">https://dialogflow.com/</a>). Google Dialogflow helps you with NLU. So you don’t need to care about the understandition process. Also, here you define the mainframe of your application. Every intent can represent a function. Using Dialogflow you can integrate your application to other platforms like Facebook Messenger. And you are able to write your own code using the Fulfillment section.</p><h3>Intents</h3><p>In the beginning, there are two intents — default fallback and default welcome. The welcome one will be executed just ones — when the user starts the application. The fallback will be executed if you don’t have a defined answer, or the application doesn’t understand.</p><p>Let’s try to create our first intent. The first thing you need to do is to fill Training phrases. Training phrases are important to start the intent. If the user says “weather”, your intent will be executed. I recommend writing there more phrases — synonyms, sentences. It will increase the usability of your action.</p><p>The second important thing is Responses. If you write more Responses there, it will randomly select one and play it. Also, you can add suggestions, a carousel or images. At the end of the section, you can select this intent as the end of the conversation. That means it will be the last intent — your application will stop.</p><p>Action and parameters. Google AI can recognize what the user says. For example, you want to detect time. You can create parameter sys.time. Always when the user says time, it will automatically save into sys.time. Also, you can set the parameter as required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xkQKidHl7M5BFToL96pGfQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@charlesdeluvio?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Charles Deluvio</a> on <a href="https://unsplash.com/s/photos/google-assistant)?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>Fulfillment</h3><p>Using Fulfillment you can write your own code. You can write it online — on the page using Inline editor. Or offline — in your code application like Visual Studio Code. For offline coding, you need to integrate Firebase functions. You need to install Actions on Google and Firebase functions using npm.</p><h3>Integration</h3><p>In this section, you can see all the platforms where can your application run. For example, you can have action on Google Assistant and Facebook messenger. Real-life example: you want to turn light off in your room. You can say to your assistant: turn light off. And on your smartphone, you can write to Facebook messenger bot to turn light on.</p><p>Also, there are some analytics and other functions. If you want to use APIs in your action, you need to upgrade your plane on Firebase to Blaze: pay as you go.</p><h3>About me</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Mesn3R2WR7B17sfZOYKQA.png" /></figure><p>My name is Matej, I am a 17-year-old high school student interested in modern technologies, coding, business and marketing. I develop Google Assistant Actions for almost a year. During the summer I have won international Kiwi.com Student Challenge with a voice application Talking Tickets. The official name was Sport Travel Agency, but it was renamed. You can try it yourself — Hey Google, talk to Talking Tickets. Also, I have created an application for disabled people with Neuromuscular disease. The application was made with initiative Google Assistant for Good. Try it — Hey Google, talk to Game for Good.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39ddb60acbfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[16-year-old student won the Kiwi Student Challenge with the application Sport Travel Agency]]></title>
            <link>https://matejkrcek.medium.com/16-year-old-student-won-the-kiwi-student-challenge-with-the-application-sport-travel-agency-e2cd64d13622?source=rss-a1fab64b9e94------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2cd64d13622</guid>
            <category><![CDATA[winner]]></category>
            <category><![CDATA[kiwi-student-challege]]></category>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[kiwi]]></category>
            <dc:creator><![CDATA[Matěj Krček]]></dc:creator>
            <pubDate>Thu, 08 Aug 2019 20:33:33 GMT</pubDate>
            <atom:updated>2019-08-10T20:25:53.503Z</atom:updated>
            <content:encoded><![CDATA[<p>John, a fan of Arsenal, wants to visit the live match of Arsenal in Barcelona. He doesn’t want to go throw websites with buying tickets, he wants just to say: “I am going to match Arsenal vs. Barcelona.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bjj8pNREjSNgXtmj_DTdPw.png" /><figcaption>Matěj Krček (left) and Ladislav Vašek (right) in Kiwi.com</figcaption></figure><p>Matěj Krček, 16-year-old student of Gymnasium Videnska in Brno, won the Kiwi Student Challenge. He is interested in modern technology, programming, business and marketing. His big hobby is creating applications for Google Assistant, Facebook Chatbots, JavaScript, Node.js and robotic process automation.</p><p><strong>What is Sport Travel Agency?</strong></p><p>Sport Travel Agency is a voice application for Google Assistant mainly for sports fans. They want to go to watch their favorite team without exploring the city. They don’t want to stay for a long time there. Sport Travel Agency finds them the best travel connection directly to the match.</p><p><strong>What will you do with the air ticket vouchers that you won?</strong></p><p>I would love to visit the USA or Australia, but also some European cities.</p><p><strong>How did you know about the Challenge?</strong></p><p>I attended the Voice Hackathon in Kiwi, where I was designing my first app on Google Assistant. In the end, someone mentioned this Challenge and it seemed very interesting. And I started to program the app.</p><p><strong>How did you find the idea of this app?</strong></p><p>I started to develop the Google Assistant apps from the Voice Hackathon, so I knew that I will use the Google Assistant. There was a Wimbledon tennis match on TV when I got an idea about the application for sports fans who want to see the match live.</p><p><strong>And how does your app work?</strong></p><p>When you state the departure and arrival destination, the app converts the name to city code using Kiwi Tequila. For example, from Prague to PRQ. When everything gets prepared, it starts searching for the flight using API. After that, it reads all important data from API e.g. local arrival time.</p><p><strong>Do you want to continue developing this app?</strong></p><p>Yes. I am working on the website, where you just write the match you would like to see, and you will get the best travel connection. And I`ve just registered on Kickstarter, so everybody who likes this project can support me. I will really appreciate it.</p><p><strong>Where can we try it?</strong></p><p>The app is currently available on Google Assistant &amp; Google Home devices. Just say: “Hey Google, talk to Sport Travel Agency” or scan QR code. Hope you will like it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*EFPQf1YggH3cpw4LPNTPJg.png" /><figcaption>QR code: Sport Travel Agency</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2cd64d13622" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>