<?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 Gilles Heinesch on Medium]]></title>
        <description><![CDATA[Stories by Gilles Heinesch on Medium]]></description>
        <link>https://medium.com/@gillesheinesch?source=rss-3753250e7c3a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c8Jm93EpvLhWv2dSP36Pug.png</url>
            <title>Stories by Gilles Heinesch on Medium</title>
            <link>https://medium.com/@gillesheinesch?source=rss-3753250e7c3a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 21:10:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gillesheinesch/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[Top 5 Pilot Logbook 2026 — Pros & Cons]]></title>
            <link>https://gillesheinesch.medium.com/top-5-pilot-logbook-2026-pros-cons-f56457e2438a?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f56457e2438a</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[skydiving]]></category>
            <category><![CDATA[pilot]]></category>
            <category><![CDATA[aviation]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 05:30:37 GMT</pubDate>
            <atom:updated>2026-03-23T05:31:21.092Z</atom:updated>
            <content:encoded><![CDATA[<p>PilotFlows takes the crown by combining the smartest features from the competition into one clean, modern platform. Here’s the breakdown of the top 5, ranked by real pilot needs: speed, compliance, reporting, and usability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ebsEeegXu_9oqBjN" /><figcaption>Photo by <a href="https://unsplash.com/@nickruss?utm_source=medium&amp;utm_medium=referral">Nick Russill</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>1. PilotFlows</h3><p>Modern, seamless multi-device sync.</p><p>Pros</p><ul><li>Instant auto-import from Garmin/Stratus/ForeFlight flight logs</li><li>One-tap FAA/EASA export + currency alerts with zero manual math</li><li>Beautiful, clutter-free UI that actually works in the cockpit</li><li>Affordable lifetime or low annual plan, constant updates</li><li>Cheap in comparison with other logbooks (25€/year)</li></ul><p>Cons</p><ul><li>Still building deeper legacy airline scheduler integrations (roadmap 2026 Q3)</li><li>No mobile application yet, but the web-application is mobile friendly</li></ul><h3>2. LogTen Pro</h3><p>The long-time pro-pilot favorite for custom reports.</p><p>Pros</p><ul><li>Deepest customization + airline schedule import</li><li>Good-looking printable FAA formats for interviews</li><li>Rock-solid for commercial ops and multi-aircraft fleets</li></ul><p>Cons</p><ul><li>$79–$130/year pricing creeping up</li></ul><h3>3. Foreflight</h3><p>Perfect if you already live in ForeFlight’s EFB world.</p><p>Pros</p><ul><li>Zero-friction logging straight from flight plans &amp; charts</li><li>Interactive year-end recap + live totals</li><li>Fully portable and printable even after subscription ends</li></ul><p>Cons</p><ul><li>Print margins look cramped</li><li>Reporting flexibility lags dedicated logbooks</li><li>Requires active ForeFlight subscription</li></ul><h3>4. Safelog</h3><p>Trusted veteran used by students to 787 captains worldwide.</p><p>Pros</p><ul><li>Extremely flexible custom fields (endorsements, stage checks, everything)</li><li>Excellent customer support</li><li>Works on Windows/macOS/iOS/Android</li></ul><p>Cons</p><ul><li>Mostly manual entry (no strong auto-import)</li><li>Printing quirks reported</li><li>Annual ~$80 price, which is quite expensive for the UI they offer</li></ul><h3>5. Pilotlog</h3><p>EASA/CAA specialist with duty-time superpowers.</p><p>Pros</p><ul><li>Best duty/rest + licensing reminders for European ops</li><li>Granular control + offline mobile app</li><li>Strong compliance for UK/EASA commercial pilots</li></ul><p>Cons</p><ul><li>Can overwhelm casual or US-only pilots</li><li>Less polished US FAA export compared to LogTen/PilotFlows</li></ul><h3>Bottom line</h3><p>PilotFlows delivers the best of all worlds — ForeFlight integration speed, LogTen reporting power, Safelog flexibility, and PilotLog compliance — without the bloat or high cost. If you want one logbook that just works in 2026, start here.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f56457e2438a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Launch of Pilotflows]]></title>
            <link>https://gillesheinesch.medium.com/launch-of-pilotflows-b0bf45c20a47?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0bf45c20a47</guid>
            <category><![CDATA[software]]></category>
            <category><![CDATA[aviation]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[pilot]]></category>
            <category><![CDATA[aviation-industry]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 05:28:05 GMT</pubDate>
            <atom:updated>2026-03-23T05:28:05.047Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why we built Pilotflows</h3><p>Today we quietly launched Pilotflows — something Ted Staggs and I have been working on together for a while now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hKd9enm0_R4kD7AyGebIZw.png" /></figure><p>We’re both commercial pilots. Ted is currently flying the B737 for Luxair , and I’ve spent my own share of years in cockpits, flight schools, and dropzones. Over time we kept running into the same set of annoyances that never seemed to get properly solved by the tools available.</p><p>Logbooks were the obvious one. Paper ones get lost or soaked. Digital ones are often half-baked: missing proper EASA/FAA currency tracking, analytics that tell you nothing useful. Then there’s the skydiving side — tracking jumps, gear inspections, canopy progression — usually done in scattered notes or basic spreadsheets. Flight schools juggle student progress, scheduling, and endorsements across WhatsApp groups, Google Calendar, and folders of signed PDFs. Aircraft owners and operators fight endless battles with maintenance due dates, tech logs, mass &amp; balance calcs, and making sure everything stays compliant without duplicating effort.</p><p>The worst part? None of these things talk to each other. A student finishes a lesson — you still have to manually update their logbook. An aircraft gets booked — maintenance reminders don’t know about it. You export data from one app only to re-enter it somewhere else. It wastes time, introduces errors, and adds stress on days when you’re already tired.</p><p>We didn’t want to build another shiny app that solves one narrow problem. We wanted one place where the flow actually makes sense:</p><ul><li>A pilot logbook that shows you real currency &amp; recency at a glance, with automatic time calculations and meaningful analytics.</li><li>Skydiving logs that track not just jumps but gear history and license steps.</li><li>Flight school tools where lessons feed directly into logbooks and progress reports.</li><li>Fleet management that ties scheduling to maintenance, tech logs, and document expiry alerts.</li><li>Digital signatures, shared team views, and even a simple member shop for clubs/dropzones.</li></ul><p>Everything is connected so information moves forward instead of sideways. We built it under <a href="https://tegi.lu/">TEGI</a>, starting small with real use cases (Ted kicked off early mass &amp; balance experiments years ago), then iterated constantly with feedback from other pilots, instructors, and operators who were willing to test broken versions and tell us exactly what sucked.</p><p>It’s not perfect yet — mobile experience still needs love, import from other loggers (ForeFlight, Garmin, etc.) will get better, and there are more integrations coming. But it already removes a surprising amount of the quiet friction we used to accept as normal.</p><p>If any of this sounds familiar from your own flying — whether you’re logging hours, running a school, jumping, or managing a few aircraft — take a look at <a href="https://pilotflows.com/">https://pilotflows.com</a>. Try it for free (30 days, no card needed). We’re genuinely interested in hearing what still feels off or what we missed.</p><p>Thanks to everyone who gave input along the way. Flying is hard enough without fighting your tools.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0bf45c20a47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Apple Airtags Can Save Your Baggages]]></title>
            <link>https://gillesheinesch.medium.com/how-apple-airtags-can-save-your-baggages-1bc7b1286b27?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bc7b1286b27</guid>
            <category><![CDATA[bluetooth]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[airtag]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 11:20:32 GMT</pubDate>
            <atom:updated>2022-09-14T08:30:20.718Z</atom:updated>
            <content:encoded><![CDATA[<h4>Discover the true power of Apple Airtags</h4><figure><img alt="Apple Airtag" src="https://cdn-images-1.medium.com/max/1024/1*WdZEhgW4vztHV2xDV-f4fw.jpeg" /><figcaption>Photo by <a href="https://www.macrumors.com/guide/airtags/">Macrumors</a></figcaption></figure><p><strong>On 30 April 2021</strong>, Apple released the <strong>Airtag</strong>. This new device is a <strong>tracking device</strong> that helps you find your personal items if they get lost. To find your items, Apple uses the Bluetooth signal from Apple devices and anonymously passes it to the “Find My” network. On this application you can then find your lost items.</p><p>At present, there is <strong>a lot of chaos due to staff shortages</strong>, especially in Western European airports. Due to this lack of staff, unfortunately many human errors happen every day where passengers’ luggage is sent to the wrong flight or where the capacity of the staff is more than reached and they cannot deal with all the baggages. Airports like <strong>Heathrow Airport have even asked the airlines to stop selling summer tickets</strong> due to the lack of staff and the chaos that reigns at the airport.</p><p>For my last holidays, I ordered Apple Airtags which I put in <strong>every </strong>piece of baggage I have with me, be it in the check-in baggage or backpack I take on the plane. I then renamed each airtag in the Find-My app to the corresponding luggage, such as: “<em>Gilles’ backpack</em>” and “<em>Gilles’ baggage</em>”. When I checked in at the airport, I could track exactly where my luggage was as long as it was near a <strong>Bluetooth-enabled Apple device </strong>that anonymously transmitted the signals to my Find My app, whether it was the airport staff or other passengers waiting for their flight. It doesn’t matter who is near the luggage, as long as it is an Apple Bluetooth device, signals are automatically sent <strong>anonymously </strong>to the Find My network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*9p8vJxoM0ndPBUyUpxbDUw.png" /><figcaption>My baggages at the Luxembourg Airport</figcaption></figure><p>When we were on the plane, we could see exactly that our baggages were on our plane. Such airtags, which only cost a small amount of money, can be extremely helpful and are not the <strong>least effort to install</strong>. Friends of mine have had their luggage sent to the wrong plane and the ground staff at the airport didn’t know where their luggage was. Thanks to the Apple Airtags they put in each piece of luggage before they travelled, they were able to find out where their luggage went after a few hours and contact the airport of arrival directly to let them know that there baggage is at their airport.<br>I can only recommend Apple Airtags to anyone who has a journey in the future. These airtags can be used for many different things. Discover them yourself and play around :-)</p><p>Here you can buy the Apple Airtags: <a href="https://amzn.to/3QFMu1R">https://amzn.to/3QFMu1R</a></p><p>If you want to buy more than one, you can also buy the “4x Airtags”-bundle from Apple which comes with a price advantage: <a href="https://amzn.to/3eQcREX">https://amzn.to/3eQcREX</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bc7b1286b27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Create Your First Express.js Web Application?]]></title>
            <link>https://gillesheinesch.medium.com/how-to-create-your-first-express-js-web-application-c46cd61dda0f?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c46cd61dda0f</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 15:25:46 GMT</pubDate>
            <atom:updated>2022-09-15T06:33:40.153Z</atom:updated>
            <content:encoded><![CDATA[<h3>How To Create Your First Express.js Web Application</h3><h4>More and more web applications are using ExpressJS. It’s an easy-to-use and powerful web framework for Node.js.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TUDtiqvSObcpj85C" /><figcaption>Photo by <a href="https://unsplash.com/@max_duz?utm_source=medium&amp;utm_medium=referral">Max Duzij</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Prerequisites:</h4><ul><li>Node.js with NPM installed on your system</li></ul><h3>Let’s start!</h3><p>First of all, create a new project folder. You can do this manually or with the following commands:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/512752b0b8bb003ffaa4e4e17725d72f/href">https://medium.com/media/512752b0b8bb003ffaa4e4e17725d72f/href</a></iframe><p>If you’ve done, you should create a package.json using the command npm init in the console. If everything has worked fine, a new file should have been created called package.json . In this file, all project settings are saved like all dependencies the project needs, what the main file is, … You can read more about what the package.json is <a href="https://blog.ezekielekunola.com/understanding-the-package.json-file">here</a>.</p><p>Now it’s time to install express.js. You can be doing this with the following command: npm install express --save With this command you install expressjs in your project folder and save it into your package.json .</p><p>As in nearly every beginner tutorial there is a “Hello World” example that we’ll create now. Create a new file in your root folder (In this example it should be in ./myNewApp) called app.js . In this file we’ll setup express.js.</p><p>If you’ve successfully created this file, you can start entering the following code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a25d139be9b41d6cdcdeea7c599f6c96/href">https://medium.com/media/a25d139be9b41d6cdcdeea7c599f6c96/href</a></iframe><p>In the first line we use require() which lets Node.js know that we need express for this file to work. In the second line we create a new web server using the express() function. In the third line we set the port which can be whatever you want.</p><p>You can start your web application using the command node app.js . As you can notice, there is no output in the console. This means you have no response if the web application is running now or not. There’s an easy solution for that. Just add the following lines below your code from before:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/03e2f0b44eb1ff4712e056a78521718b/href">https://medium.com/media/03e2f0b44eb1ff4712e056a78521718b/href</a></iframe><p>If you restart your express server now, you will see that in the console is written <em>“My first Express.js web application listening at http://localhost:80”</em></p><p>Now your web server is running on port 80 but you don’t have any routes yet. Add the following 3 new lines to your code in your app.js :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/546d618b83faed2d636d154d7091e17e/href">https://medium.com/media/546d618b83faed2d636d154d7091e17e/href</a></iframe><p>In the first line we define that the web application should listen to every <strong>GET</strong> request which is coming from / . This means that if you access your website locally using localhost:80/ the web application will listen to it and execute the code which is on line 2. On line 2 we define that whenever an user uses the URL localhost:80/ , then the response ( res ) should send() “Hello World!” to the client. The result will be the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*L_jjPDM_frALNYZaY-zndA.png" /></figure><p>HURRAY! Your first web application with express.js is running! Now you can create as many routes as you want. You have so much you can do with express.</p><p><strong>Here are some websites where you can learn a lot about express:</strong></p><ul><li><a href="https://expressjs.com/">https://expressjs.com/</a></li><li><a href="https://expressjs.com/en/resources/learning.html">https://expressjs.com/en/resources/learning.html</a></li><li><a href="https://developer.mozilla.org/de/docs/Learn/Server-side/Express_Nodejs">https://developer.mozilla.org/en/docs/Learn/Server-side/Express_Nodejs</a></li><li><a href="https://www.tutorialspoint.com/expressjs/index.htm">https://www.tutorialspoint.com/expressjs/index.htm</a></li></ul><h3>Conclusion</h3><p>There are some books that helped me a lot to better understand the logic and structure of Expressjs. I can only recommend them:</p><ul><li><a href="https://amzn.to/3S6Z8bc">Building Node.js REST API with TDD Approach</a></li><li><a href="https://amzn.to/3eGkePg">MERN Projects for Beginners: Create Five Social Web Apps Using MongoDB, Express.js, React, and Node</a></li></ul><p><strong>Happy coding!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hYfdBkfKgvtMoDcqk_LjWA.png" /><figcaption><a href="https://buttercms.com/static/images/tech_banners/ExpressJS.png">https://buttercms.com/static/images/tech_banners/ExpressJS.png</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c46cd61dda0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is The Difference Between VFR and IFR?]]></title>
            <link>https://medium.com/how-to-aviation/what-is-the-difference-between-vfr-and-ifr-bf9a845089a2?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf9a845089a2</guid>
            <category><![CDATA[aviation]]></category>
            <category><![CDATA[ifr]]></category>
            <category><![CDATA[vfr]]></category>
            <category><![CDATA[airplanes]]></category>
            <category><![CDATA[meteorology]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Mon, 06 Apr 2020 18:31:57 GMT</pubDate>
            <atom:updated>2022-09-15T06:10:32.370Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Difference Between VFR and IFR</h3><h4>There are two sets of rules for flying any aircraft: VFR and IFR. <em>VFR stands for Visual Flight Rules and IFR</em> stands for Instrument Flight Rules</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*znSFeg6gKQTTSOAf" /><figcaption>Photo by <a href="https://unsplash.com/@pixtolero2?utm_source=medium&amp;utm_medium=referral">Daniel Eledut</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>IFR and VFR</strong> are terms which are commonly used in aviation, but what is the exact difference between VFR and IFR?</p><p>To fly any aircraft there are two different sets of rules: VFR and IFR. IFR stands for Instrument Flight Rules and VFR for Visual Flight Rules. To fly VFR there are some criteria which must be met. These criteria are for example that the <strong>VMC </strong>(Visual meteorological conditions) must be met. So it depends a lot on the current weather, whether a pilot should fly VFR or IFR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*7BXMtUjfO7P_rnZVmfN4lQ.jpeg" /><figcaption>Source: <a href="https://www.aopa.org/-/media/Images/Legacy/AOPA/Home/News/All/2011/October/IFR-fix-IFR-or-VFR/ifr-vs-vfr-s.jpg?w=470&amp;h=172&amp;as=1&amp;hash=FDCCDE85CE0FADEBEF30AF32AC4250D2">https://www.aopa.org/-/media/Images/Legacy/AOPA/Home/News/All/2011/October/IFR-fix-IFR-or-VFR/ifr-vs-vfr-s.jpg?w=470&amp;h=172&amp;as=1&amp;hash=FDCCDE85CE0FADEBEF30AF32AC4250D2</a></figcaption></figure><p>Let’s take a closer look to the exact <strong>difference between VFR and IFR</strong>:</p><h4>What is IFR?</h4><p>IFR should only be used if it’s unsafe to fly VFR (With visual contact). This has been defined by the <strong>FAA </strong>(Federal Aviation Administration).</p><p>Instrument flight refers to the control of aircraft in which the flight situation is kept on board with the help of flight instruments such as navigation instruments and flight monitoring devices without reference to external, visually perceptible clues (Exception: The circling and visual approach are instrument approaches that are under Visual conditions are carried out). Air traffic controllers on the ground support flight operations and flight navigation. An instrument flight must be carried out according to instrument flight rules (IFR), and in almost all cases coordinated with air traffic control.</p><p><strong>In the case of instrument flight</strong>, the flight position is maintained exclusively by means of instruments in the aircraft, and navigation is carried out using aids which allow the intended flight path to be observed regardless of the outside view. It is also possible to fly in clouds and with limited visibility. Instrument flight makes air traffic largely independent of the weather and is a prerequisite for adhering to flight plans. Weather conditions that only allow instrument flight are called <strong>Instrument Meteorological Conditions</strong> (IMC).</p><p>For <strong>commercial air traffic in Europe</strong>, the Operating Instructions Part A (Operations Manual Part A in accordance with EU OPS 1) stipulate the conditions under which visual or instrument flight rules apply. The country’s regulatory agency must approve the airline’s decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ajz3VyihDjhI4lAks3h_sg.jpeg" /><figcaption>Source: <a href="https://content.presspage.com/uploads/2431/1920_LED_RELEASE_Emirates_A380-612529.jpg?10000">https://content.presspage.com/uploads/2431/1920_LED_RELEASE_Emirates_A380-612529.jpg?10000</a></figcaption></figure><h4>What is VFR?</h4><p>A visual flight is a flight that is carried out by the pilot by sight according to the applicable visual flight rules (VFR).</p><p>Visual flight is mainly used in general aviation <strong>at low altitudes, in small aircraft and with air sports equipment, but also in military low-altitude flights</strong>. Commercial flights with larger commercial aircraft are usually carried out as <strong>instrument flights </strong>(IFR).</p><p>In visual flight, the pilot visually checks the position of his aircraft in space and also assesses its position relative to other aircraft. For the flight situation in space, he uses clues outside the aircraft, usually by looking at the horizon. The basic requirement for visual flight is therefore that the weather permits certain minimum visual ranges and the pilot does not fly through clouds, so that the necessary clues can be seen outside the aircraft. He must also maintain certain horizontal and vertical minimum distances from clouds to avoid collisions. Where these conditions (<strong>Visual Meteorological Conditions, VMC</strong>) cannot be met, no visual flight is allowed to take place. The principles of the process of visual flights are laid down in the so-called visual flight rules (VFR). Typically, the flight takes place according to visual flight rules, without an air traffic controller staggering other air traffic — the principle <strong>See and Avoid</strong> applies. Correspondingly, the visual flight rules also define alternative rules, similar to the right of way rules in road traffic. In certain airspaces, however, VFR traffic is also controlled by air traffic control (controlled visual flight, CVFR) and staggered by IFR flights. Under certain conditions, visual flight is also permitted above closed cloud cover or at night (NVFR). A control zone can be flown through under unfavorable visibility conditions with appropriate approval, also according to special visual flight rules (SVFR). It is crucial in any case that the horizon is recognizable and the visual flight rules (obstacle detection, cloud distances) can be observed depending on the air space flown through.</p><p>In air law, visual flight is defined by the application of visual flight rules. These stipulate certain minimum conditions that must be met for visual flight. The visual flight rules have been standardized across Europe in the <strong>Standardized European Rules of the Air</strong> (SERA) since 2014.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a6wBqe_dqkz5ebN5PSAc3w.jpeg" /><figcaption>Source: <a href="https://commons.wikimedia.org/wiki/File:Piper_PA-28-161_Cadet_Aerosport,_LUX_Luxembourg_(Findel),_Luxembourg_PP1235838963.jpg">https://commons.wikimedia.org/wiki/File:Piper_PA-28-161_Cadet_Aerosport,_LUX_Luxembourg_(Findel),_Luxembourg_PP1235838963.jpg</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf9a845089a2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/how-to-aviation/what-is-the-difference-between-vfr-and-ifr-bf9a845089a2">What Is The Difference Between VFR and IFR?</a> was originally published in <a href="https://medium.com/how-to-aviation">How To Aviation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is A Transponder?]]></title>
            <link>https://medium.com/how-to-aviation/what-is-a-transponder-644d48459ec2?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/644d48459ec2</guid>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[pilot]]></category>
            <category><![CDATA[airplanes]]></category>
            <category><![CDATA[radio]]></category>
            <category><![CDATA[aviation]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Wed, 18 Sep 2019 13:48:58 GMT</pubDate>
            <atom:updated>2022-09-15T06:36:06.263Z</atom:updated>
            <content:encoded><![CDATA[<h4>A <strong>transponder </strong>(also called <em>transmitter-responder</em>), used as SSR (Secondary Surveillance Radar), is an electronic device that is <strong>mandatory </strong>on every engine airplane since 2006.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lBYUGmcPLH83rYqn" /><figcaption>Photo by <a href="https://unsplash.com/@arnosenoner?utm_source=medium&amp;utm_medium=referral">Arno Senoner</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The transponder makes it possible for <strong>Air Traffic Controllers</strong> to see you and your<strong> aircraft</strong> on their <strong>screen</strong> with information regarding <strong>Altitude, Squawk Code, Call Sign</strong>, <strong>registration</strong>, and more if equipped with a Mode <strong>Charlie Transponder,</strong> more about that later ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*K3pnelVSB_FkJssvQejb1Q.jpeg" /><figcaption>Copyright <a href="https://aviation.stackexchange.com/questions/24202/how-can-i-ensure-that-i-have-a-mode-c-transponder">https://aviation.stackexchange.com/questions/24202/how-can-i-ensure-that-i-have-a-mode-c-transponder</a></figcaption></figure><h4><strong>How does a Transponder work?</strong></h4><p>A Transponder is a device onboard an aircraft that <strong>receives</strong> and<strong> transmits</strong> signals to an <strong>SSR</strong>(Secondary Surveillance Radar)<strong> Antenna</strong>. It is used to measure the aircraft&#39;s<strong> position</strong> and <strong>bearing</strong> on the screen, but can also show <strong>additional information</strong>. The Position and bearing can be calculated with <strong>time</strong> and <strong>frequency</strong>. The Transponder receives a signal and then transmits an<strong> encrypted code</strong> to the <strong>SSR</strong> antenna. With help of this system, Air traffic controllers can <strong>identify</strong> air traffic. A transponder receives on 1030MHz and transmits on 1090MHz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*Nxsfk0mSQMQzF6lcTDgl6Q.jpeg" /><figcaption>Upper Antenna = SSR the antenna below is the Primary Radar Copyright: <a href="https://www.nec.com/en/global/solutions/cns-atm/surveillance/ssr.html">https://www.nec.com/en/global/solutions/cns-atm/surveillance/ssr.html</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*37-MPIpfQpnMo51lzem_CA.png" /><figcaption>Copyright: <a href="https://www.pinterest.com/pin/307300374564774347/">https://www.pinterest.com/pin/307300374564774347/</a></figcaption></figure><h4><strong>Different Transponder Modes (interrogation modes)</strong></h4><p><strong>Mode A:</strong> transmits only a <strong>Squawk</strong>, a Squawk is a transponder code, an Air Traffic Controler may give to a pilot to set into his transponder. A squawk is a <strong>4 number </strong>code with numbers between <strong>0 and 7</strong>. There are <strong>4096 </strong>combinations possible.</p><p><strong>Mode C: </strong>transmits a<strong> Squawk</strong>, but also the Aircraft&#39;s<strong> Pressure Altitude.</strong></p><blockquote>A Pressure Altitude is an aiecraft&#39;s Altitude set to a standard pressure setting: 1013,25hPa or 29.92 inHg.</blockquote><p><strong>Mode S</strong>: Most aircrafts have built-in mode Sierra (S) transponders. Mode <strong>A</strong> and <strong>C</strong> Transponders are <strong>disappearing </strong>more and more these days. There are <strong>airspaces,</strong> where Mode Sierra Transponders are <strong>obligatory</strong>.</p><p>A mode S Transponder has the same features as Mode A and C however, it is also compatible with <strong>TCAS </strong>(Traffic Collision Avoidance System) and <strong>ADS-B </strong>(Automatic Depended Surveillance-broadcast) it also has a third feature, which sends a <strong>unique 24-bit address</strong> with the <strong>callsign</strong>. This system features <strong>16&#39;700&#39;000 codes</strong>, which are available to ATC (Air Traffic Control). Mode S Transponders transmit <strong>every second</strong>. It should be noticed that mode S is also <strong>compatible </strong>with mode <strong>A &amp; C</strong> SSR systems.</p><h4>Operation of a Transponder</h4><ul><li><strong>OFF </strong>— Transponder is off</li><li><strong>SBY</strong>, <strong>STBY </strong>(= Standby) — Transponder is on but doesn’t transmit information</li><li><strong>ON </strong>— Transponder transmits current squawk</li><li><strong>ALT </strong>(= Altitude), <strong>NORM </strong>(normal mode) — Transponder transmits current squawk and the current altitude (Mode C) if it also features mode S it will operate in mode Sierra.</li><li>Squawk VFR — 7000 in Europe &amp; 1200 in the US</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*7eqVzv2H0p6o1rzANFJHiA.jpeg" /><figcaption>Copyright: <a href="http://www.aero-instrumental.com/showpic.asp?file=e693_1.jpg&amp;mod=compraventa">http://www.aero-instrumental.com/showpic.asp?file=e693_1.jpg&amp;mod=compraventa</a></figcaption></figure><p>When commencing a flight under <strong>VFR</strong> rules a pilot should start using the <strong>standard VFR</strong> code (EU: 7000 US: 1200, check with your national authority…). As soon as advised to change your transponder code you should <strong>comply </strong>and set the appropriate code. For pilots flying under <strong>IFR</strong> rules you often get your<strong> squawk code </strong>in your<strong> IFR clearance</strong> before departure.</p><p>If a controller ask you for example “Please <strong>identify</strong>”, this means you should <strong>press the IDENT button</strong> on your transponder → your aircraft will then be <strong>highlighted</strong> on a controller&#39;s<strong> screen</strong> this is used to identify <strong>new traffic</strong> in an airspace and should <strong>only be made when advised by ATC</strong>!</p><h4>International Emergency Codes</h4><p>There are different squawk codes (7500, 7600, 7700) which should be used in cases of an emergency. Every pilot must know these codes because they tell the ATC that something is going wrong…</p><ul><li><strong>7500 </strong>— Hijacking (= man with a knife)</li><li><strong>7600 </strong>— Radio failure (= hear nix / radio nix / need a radio fix)</li><li><strong>7700 </strong>— Emergency (= going to heaven / falling from heaven / pray to heaven / close to heaven)</li></ul><p>If a plane enters one of these codes into his transponder, they will get immediate attention! Only use these codes when really necessary ;)</p><h4>Transponder Failure</h4><p>Maybe you ask yourself now, what happens if an aircraft has a transponder failure… This is a difficult and dangerous situation for everyone, the pilots and the air traffic controllers who are responsible to safely land the airplane. The ATC can’t see you on his radar anymore and doesn’t know where you are, what’s your altitude, your speed, etc. What is clear is, that the airplane has to land immediately.</p><p>These are some reasons why an aircraft should land immediately:</p><ul><li>The aircraft may enter controlled airspace without obtaining a clearance</li><li>Loss of separation between the aircrafts in this airspace</li><li>The controllers might forget to transfer the aircraft to the next sector</li></ul><p>This book helped me get a better understanding of the transponder. I can only recommend it:</p><ul><li><a href="https://amzn.to/3Ug0aUu">Aviation Maintenance Technician Handbook — General</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=644d48459ec2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/how-to-aviation/what-is-a-transponder-644d48459ec2">What Is A Transponder?</a> was originally published in <a href="https://medium.com/how-to-aviation">How To Aviation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 4 Forces Of An Aircraft]]></title>
            <link>https://medium.com/how-to-aviation/the-4-forces-of-an-aircraft-c906652aa971?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c906652aa971</guid>
            <category><![CDATA[pilot]]></category>
            <category><![CDATA[aerodynamics]]></category>
            <category><![CDATA[airplanes]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[aviation]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Mon, 16 Sep 2019 22:49:49 GMT</pubDate>
            <atom:updated>2022-09-15T06:32:44.791Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Thrust</strong>, <strong>Drag</strong>, <strong>Lift, </strong>and <strong>Weight</strong> are the 4 forces an aircraft needs to fly. Maybe you ask yourself now “<em>Why the hell are these 4 forces so important?</em>”.</p><p>If you want to become a pilot, the first theory course will be about principles of flight. This subject covers nearly everything you have to know about the <strong>aerodynamics</strong> of an airplane. Without these 4 forces, the aerodynamics of an airplane wouldn’t exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*gMdVL7ML8J1aTYSSKni2Eg.jpeg" /><figcaption>Copyright <a href="https://howthingsfly.si.edu/media/four-forces-act-airplane">https://howthingsfly.si.edu/media/four-forces-act-airplane</a></figcaption></figure><h3>What are all these forces?</h3><h4>Thrust</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UWt3sKlTt0NbEsWaiFhXPA.png" /><figcaption>Copyright <a href="https://www.nasa.gov/audience/forstudents/k-4/dictionary/Thrust.html">https://www.nasa.gov/audience/forstudents/k-4/dictionary/Thrust.html</a></figcaption></figure><p>Let’s start with <strong>Thrust</strong>. Thrust is created by the engine(s) and makes it possible that an airplane moves forward. The engine(s) push the incoming air backward with the same force as the air moves the airplane forward. That’s also called “<strong>force-pair</strong>” and is always equal and opposite (<em>Newton’s 3rd Law</em>). <strong>Thrust opposes drag</strong>, this means that when Thrust is greater than Drag an acceleration exists and the airplane moves forward (<em>Newton’s 2nd Law</em>). When an airplane flies at a constant altitude and velocity (speed), then:</p><ul><li><strong>DRAG = THRUST</strong></li><li><strong>LIFT = WEIGHT</strong></li></ul><p><strong>That means in short that an airplane can’t move forward without thrust!</strong></p><h4>Drag</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*mpK3aX2yFyBrwVkgUonTTw.jpeg" /><figcaption>Copyright <a href="https://paperaviation.weebly.com/drag.html">https://paperaviation.weebly.com/drag.html</a></figcaption></figure><p><strong>Drag opposes Thrust. </strong>Imagine you’re sticking your hand out of the window of your car. The force that pushes your hand back is called “<strong>Drag</strong>”. You push your hand into the wind, so the wind also tries to push your hand back. That means in short that Drag slows an airplane down. <strong>Flaps</strong>, <strong>Spoilers </strong>or <strong>gears </strong>are <strong>examples </strong>of how Drag is produced on airplanes.</p><h4>Lift</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WGXTYNsj6unzR5nCJn3u6A.jpeg" /><figcaption>Copyright <a href="https://interestingengineering.com/why-planes-cant-take-off-when-its-too-hot">https://interestingengineering.com/why-planes-cant-take-off-when-its-too-hot</a></figcaption></figure><p><strong>Lift opposes Weight. </strong>An airplane which is situated on the ground, doesn’t have any Lift but it has Weight. Lift is proportional to the square of the velocity of an airplane. This means that if the velocity of the airplane increases, the lift increases too. Because of the Thrust, the airplane moves forward until the lift is equal to the Weight. Without this, an airplane wouldn’t be able to fly!</p><p>More about LIFT in another post, feel free to check it out <a href="https://medium.com/how-to-aviation/why-do-planes-fly-559b106fd11f">here</a>.</p><h4>Weight</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AQCcnwnYTeCPF8WZg6J7gw.jpeg" /><figcaption>Copyright <a href="https://www.flitetest.com/articles/find-your-centre-of-gravity">https://www.flitetest.com/articles/find-your-centre-of-gravity</a></figcaption></figure><p><strong>Weight opposes Lift</strong>. In my opinion, it’s the simplest force to explain because we all know what Weight is. Weight is the force pulling down on an aircraft this is due to its gravity.</p><p><strong>WEIGHT = MASS x GRAVITY (9.81 m/s2)</strong></p><p>Big airplanes often need more lift because they have more Weight than lighter planes. That’s the reason why they have larger wings!</p><h4>Short summary</h4><p>If Thrust is greater than Drag, the plane moves <strong>forward</strong>.</p><p>If Drag is greater than Thrust, the plane moves <strong>backwards</strong>.</p><p>If Lift is greater than Weight, the plane moves <strong>upwards</strong>.</p><p>If Weight is greater than Lift, the plane stays on the ground and <strong>can’t fly</strong>.</p><p>The following books helped me a lot to get a better understanding of the forces of an aircraft and much more. I can only recommend them:</p><ul><li><a href="https://amzn.to/3QKWPcM">Principles of Flight for the Private Pilot</a></li><li><a href="https://amzn.to/3qBhYvD">Principles of Flight for Pilots</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c906652aa971" width="1" height="1" alt=""><hr><p><a href="https://medium.com/how-to-aviation/the-4-forces-of-an-aircraft-c906652aa971">The 4 Forces Of An Aircraft</a> was originally published in <a href="https://medium.com/how-to-aviation">How To Aviation</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 Become A Privat Pilot]]></title>
            <link>https://medium.com/how-to-aviation/this-is-how-you-become-a-privat-pilot-dcb9ebbd5980?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcb9ebbd5980</guid>
            <category><![CDATA[pilot]]></category>
            <category><![CDATA[aviation]]></category>
            <category><![CDATA[planes]]></category>
            <category><![CDATA[ppl]]></category>
            <category><![CDATA[piloting-your-life]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Sun, 25 Aug 2019 13:51:32 GMT</pubDate>
            <atom:updated>2022-09-15T06:38:31.261Z</atom:updated>
            <content:encoded><![CDATA[<h4>I am <strong>Gilles</strong>, 17 years old, and I’m currently doing my private pilot license. <strong>Since I was born</strong>, I want to become a commercial pilot for an airline</h4><p>The reason why I choose this job as my dream job, is that a pilot doesn’t always have the <strong>same </strong>day but there are mostly interesting and exciting situations. <strong>You have to be focused all the time!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*Tt0BZ_w2zlcWIEX1bEIgKQ.jpeg" /><figcaption>Copyright: <a href="https://www.khaleejtimes.com/business/aviation/flying-emirates-read-this-passenger-alert--">https://www.khaleejtimes.com/business/aviation/flying-emirates-read-this-passenger-alert--</a></figcaption></figure><p><strong>In September 2018</strong>, I started my theory lessons for my <strong>PPL </strong>(Private Pilot License). The first lesson we had was <strong>POF </strong>(Principles of Flight). This subject covered nearly everything about aerodynamics of an aircraft. All these lessons didn’t just teach me about how an airplane works, but also let me understand many other things existing in our beautiful world, for example I started to know why pressure decreases when velocity (speed) increases in a tube with a cross-section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*P6G4ivLqwXjXCQjv5HaswA.png" /><figcaption>Copyright: <a href="https://changethru.info/relationship-between-and/what-is-the-relationship-between-pressure-and-fluid-speed.php">https://changethru.info/relationship-between-and/what-is-the-relationship-between-pressure-and-fluid-speed.php</a></figcaption></figure><p>This might sound complicated for some of you, but this isn’t at all.</p><p>It can have a maximum score of <strong>100</strong>. When it meets the cross-section, the velocity is 80 and the pressure 20 with a total of 100 (80+20=100).</p><p>We always had 2 or 3 different subjects for +/- 6 weeks. At the same time, we had <strong>Air Law</strong>. The clue is in the name, this subject talks about the law of the air. There’s a lot of subject matter in this topic that you really need to know at the end of your lessons. We learned a lot about the different airspaces, obligations when a military jet is in front of us, signs that are shown on the aerodrome, specific <strong>squawk </strong>(transponder) codes and so on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*fK47IGUzXdE4iAFyiqggYw.jpeg" /><figcaption>Copyright: <a href="http://www.cglawoffice.net/air-law-passenger-rights/">http://www.cglawoffice.net/air-law-passenger-rights/</a></figcaption></figure><p>Our next 3 subjects were <strong>Communication, Aircraft General Knowledge and Performance</strong>.</p><p>In <strong>Communication </strong>we had to learn the alphabet of aviation (Alpha, Bravo, Charlie, Delta, …) and how to communicate with an air traffic controller or a traffic information service.</p><p>In <strong>Aircraft General Knowledge</strong> we covered all about the single piston engine, how an engine works and all the other mechanics an airplane is equipped with. For people who are familiar with the engine of a car it shouldn’t be difficult to understand how an engine of an airplane like the <strong>P28A</strong> (Piper 28 Alpha) or <strong>C172</strong> (Cessna 172) works because it’s quite similar.</p><p>In Performance we learned how to use charts for the preflight calculations that have to be done before every flight to check the performance of the airplane. It’s really important to calculate this because otherwise you may encounter risks like that your runway isn’t long enough to take off or to land.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*5z-POgcXLiv45Bzl5fbQhA.gif" /><figcaption>Copyright: <a href="http://www.free-online-private-pilot-ground-school.com/aircraft_performance.html">http://www.free-online-private-pilot-ground-school.com/aircraft_performance.html</a></figcaption></figure><p>During the next 6 weeks we covered the 2 subjects <strong>Meteorology and Operation Procedures</strong>.</p><p>In <strong>Meteorology </strong>we learned all about the different clouds, why wind even exists, the different weather charts that should be used to plan your flight, …</p><p><strong>Operation Procedures</strong> didn’t cover a specific topic but more the general knowledge. An example could be that you learn how to react if the engine is in fire during the engine start procedure. You shouldn’t immediately leave the airplane, but first close the mixture (so the engine doesn’t receive fuel anymore) and open full throttle (power) to open the carburetor and let fresh air in. After you’ve done the procedures mentioned above, you’re allowed to leave the airplane and call the fire brigade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ZEd8NMQiiA1Z_bX5QyPJw.jpeg" /><figcaption>Copyright: <a href="https://www.stgeorgeutah.com/news/archive/2018/10/21/cgb-plane-crash-lands-on-farmland-in-hurricane/">https://www.stgeorgeutah.com/news/archive/2018/10/21/cgb-plane-crash-lands-on-farmland-in-hurricane/</a></figcaption></figure><p>The last 3 subjects we had were <strong>Mass and Balance, Navigation and Human Performance</strong>.</p><p>In <strong>Mass and Balance</strong>, we learnt how to calculate the Mass and Balance of an airplane. This is one of the most important preflight calculations that have to be done. This „Mass and Balance” allows the pilot to calculate whether the load factor is too high or not, in other words if the plane can take off and land or not. You have to consider everything your plane has loaded like fuel, weight of all passengers, weight of seats, baggage, …</p><p>In <strong>Navigation</strong> we covered everything about what you need to do a flight from A to B. For a VFR (Visual flight rules, opposite or IFR (Instrument flight rules) used by big airplanes to fly) flight from Luxembourg to Paris, for example, you need do a navigation log. A navigation log contains points which should be your visual reference. This means that this navigation log helps you a lot with your orientation finding out where you currently are.</p><p><strong>Human Performance</strong> covers everything about the human being what you have to know whilst you’re flying. You learn for example that you shouldn’t drink 8 hours (low quantity of alcohol) before your flight as a pilot. You also learn how you should react when a passenger or the pilot suffers of hyperventilation or hypoxia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*ODJSb4TbIwqTVQEidgXbWg.png" /><figcaption><a href="http://www.trainingsolutionsinc.net/HPI">Copyright: http://www.trainingsolutionsinc.net/HPI</a></figcaption></figure><p>The last theory thing I had to do was the official last exam at the direction of the civil aviation. This test covers all subjects that you’ve done and you get approximately <strong>120 questions</strong> in total to answer. For some subjects there are <strong>12 questions</strong> but for others there are even <strong>16</strong>.<strong> 75%</strong> in each subject are required to pass the exam.</p><p><strong>Starting from the day of your first theory lesson, you can parallelly start doing your practical hours</strong>. This means that you can start flying without any pre requiresities! This is so good, because then it takes much less time to get your PPL because you don‘t have to wait until you successfully finished your theory lessons and exam.</p><p>The <strong>first fligh</strong>t was like… I can‘t really describe it, <strong>it was awesome</strong>. You are the pilot of an single engine piston, in my case a Piper 28 Alpha. The first practical hour(s) covers how to taxi, how to fuel, how to use a checklist, and you also start to do some airwork like how to make turns, give power, …</p><p>Then when you are familiar with the airplane, you start to learn what to do in case of specific emergencies, …</p><p>I hope I could tell you a little bit about how to become a privat pilot and maybe you‘re now intersted in becoming a pilot. Maybe we hear eachother on the frequency! ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8WUkxJB7C4hjha90pCfkig.jpeg" /><figcaption>My First SOLO</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcb9ebbd5980" width="1" height="1" alt=""><hr><p><a href="https://medium.com/how-to-aviation/this-is-how-you-become-a-privat-pilot-dcb9ebbd5980">How To Become A Privat Pilot</a> was originally published in <a href="https://medium.com/how-to-aviation">How To Aviation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Good Event Handler For Your First Discord.JS Bot]]></title>
            <link>https://medium.com/discordbot/this-is-a-good-event-handler-for-your-first-discord-js-bot-1e338e670697?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e338e670697</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[discord-bot]]></category>
            <category><![CDATA[discordapp]]></category>
            <category><![CDATA[discord]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Sun, 21 Jul 2019 15:01:16 GMT</pubDate>
            <atom:updated>2021-03-17T15:03:00.036Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why Do I need This?</h3><p>Maybe you ask yourself, why do I even need an event handler. That’s quite simple to answer. It makes it much simpler for you <strong>push an update for an event and fix bugs</strong>. You <strong>don’t</strong> have to have all events in the starter javascript file any more. This means that your launcher (starter) file has much less code without all these events. <strong>You can create a file for each event you want to have.</strong></p><h3>What Benefits Does The Following Event Handler Offer?</h3><ul><li>You can create <strong>a file for each event</strong> you want to have (All events <a href="https://discord.js.org/#/docs/main/stable/class/Client?scrollTo=e-channelCreate"><strong>here</strong></a>)</li><li><strong>Much clearer overview</strong> of all events and easy to find bugs and add new features to your events</li><li><strong>Main launcher file has much less code</strong></li></ul><h3>Let’s Start With Programming</h3><p>First of all we need a package named fs to read all files which are situated in folders. For this package, we don’t need to install anything because this package <strong>is included in the Node.JS Bundle</strong>. You can read more about this <a href="https://nodejs.org/api/fs.html"><strong>here</strong></a><strong> </strong>(This link is also the documentation of fs ).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cdde6d44fb2ec24bfa71d20cc183cda1/href">https://medium.com/media/cdde6d44fb2ec24bfa71d20cc183cda1/href</a></iframe><p>In this line we require the package fs .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/39cb96405d918e6f522bb8a83c30c06b/href">https://medium.com/media/39cb96405d918e6f522bb8a83c30c06b/href</a></iframe><p>As you can see, we <strong>immediately </strong>start using our fs package. <strong>For our purposes</strong>, we use the method readdir() (If you want to read more about this method, you can do this <a href="https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback"><strong>here</strong></a>).</p><p><strong>In the third line</strong>, we use the readdir() method to <strong>read the contents of the </strong><strong>./events directory</strong> with a callback of <strong>2 arguments </strong>(<strong>err </strong>(error) and <strong>files</strong> (files which are in this folder)).</p><p><strong>Our current folder structure does look like this:</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b0c201b871214e3a95599b7f4974eff7/href">https://medium.com/media/b0c201b871214e3a95599b7f4974eff7/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/53046c3d79cfad2eb35914496eb0e3b0/href">https://medium.com/media/53046c3d79cfad2eb35914496eb0e3b0/href</a></iframe><p><strong>The first new line</strong> (the <em>4th</em> line) we have added, simply checks <strong>if there was an error</strong> during checking all contents of the ./events folder. If yes,<strong> throw an error in the console</strong> with the error message to know what went wrong.</p><p><strong>The next new line</strong> needs the files argument which we got from the readdir() function we used to check all contents of the ./events directory.</p><blockquote>files is an array of the names of the files in the directory excluding &#39;.&#39; and &#39;..&#39; . <a href="https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback">Source</a></blockquote><p>This means, that we can use the forEach() function to go through <strong>every single event file</strong> with the callback file .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f652e600565a3ca61555686ef480a8fb/href">https://medium.com/media/f652e600565a3ca61555686ef480a8fb/href</a></iframe><p><strong>In this new line</strong> (<em>6th</em> line), we simply require the event file from the events folder. This returns us all about informations about the single event file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6647a171c44ccb0abba6c9235073d52d/href">https://medium.com/media/6647a171c44ccb0abba6c9235073d52d/href</a></iframe><p><strong>In the first line we added</strong>, we check if the eventFunction variable is disabled. <strong>If yes, return without throwing any error.</strong></p><p><strong>Then we have 3 new variables.</strong> <strong>The first one</strong> defines the name of the event by checking if the eventFunction has a property event with the name of the event. <strong>If not</strong>, the variable returns the name of the event file. <strong><em>Example</em></strong><em>: For the </em><em>ready.jsfile, the </em><em>event variable would be </em><em>ready .</em></p><p><strong>The next new variable</strong> defines the emitter. This is the “<strong><em>executor</em></strong>” or “<strong><em>engine</em></strong>” of the event. <strong>In our case</strong>, this is the client (the Discord bot).</p><p><strong>The last variable</strong> which is new, is once . This variable simply returns the once property of the eventFunction . This property determines if this event should<strong> run once</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/77d64015ead4fb9f4794a310c4cd4de6/href">https://medium.com/media/77d64015ead4fb9f4794a310c4cd4de6/href</a></iframe><p><strong>Next, we use a </strong><a href="https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/try...catch"><strong>try catch block</strong></a><strong>.</strong> If there is an error <strong>during the execution</strong> of the code in the try{} block, it <strong>immediately throws an error </strong>with the error stack ( error.stack )</p><p>In the try{} block, the emitter (client) runs the event, using all above defined settings.</p><p><strong>Example of a folder structure after adding this event handler:</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ab82745e0dd439f355d13f8a96b38e9d/href">https://medium.com/media/ab82745e0dd439f355d13f8a96b38e9d/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bd925c72ab3bfadd76162a92841dca8a/href">https://medium.com/media/bd925c72ab3bfadd76162a92841dca8a/href</a></iframe><h3>Conclusion</h3><p>This event handler can really help you to better organize your files of your Discord bot. If you have any questions, you can visit <a href="https://monkeydev.discourse.group/">our forum</a> for further support!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8-zTxmcX0IDQ7yea" /><figcaption>Photo by <a href="https://unsplash.com/@samuelzeller?utm_source=medium&amp;utm_medium=referral">Samuel Zeller</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e338e670697" width="1" height="1" alt=""><hr><p><a href="https://medium.com/discordbot/this-is-a-good-event-handler-for-your-first-discord-js-bot-1e338e670697">A Good Event Handler For Your First Discord.JS Bot</a> was originally published in <a href="https://medium.com/discordbot">DiscordBots</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This Is An Awesome Clear Command For Your Discord.JS Bot]]></title>
            <link>https://medium.com/discordbot/create-a-clear-command-for-your-discord-js-bot-4cc4547ca3b?source=rss-3753250e7c3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cc4547ca3b</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[discord-bot]]></category>
            <category><![CDATA[discordapp]]></category>
            <category><![CDATA[discord-js]]></category>
            <category><![CDATA[discord]]></category>
            <dc:creator><![CDATA[Gilles Heinesch]]></dc:creator>
            <pubDate>Sat, 20 Jul 2019 15:52:34 GMT</pubDate>
            <atom:updated>2021-03-17T15:04:42.601Z</atom:updated>
            <content:encoded><![CDATA[<h3>An Awesome Clear Command For Your Discord.JS Bot</h3><h3>What is our goal with this new command?</h3><p>My goal with this post is, to show you how to program a well structured clear command. At the end it is able to clear a specific amount of messages posted in a Discord textchannel.</p><h3>What will the command look like when we are done?</h3><p>?clear &lt;amount of messages that should be deleted&gt;</p><p><strong><em>Example: </em></strong>?clear 50</p><h3>Let’s start with programming</h3><p><strong>First of all</strong>, we start with the basic setup of our new command.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a484d488ab9109ac6a0869b085f975eb/href">https://medium.com/media/a484d488ab9109ac6a0869b085f975eb/href</a></iframe><p>With this line of code we get all the content <strong>behind</strong> the prefix with the commandname. In this case, <strong>everything behind</strong> ?clear.</p><p><strong><em>Example:</em></strong> If you enter the command in a Discord textchannel ?clear 50 , <strong>args </strong>will be [ 50 ] (which is an <strong>array</strong>).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/41cdd9897e4067647563325a975bd707/href">https://medium.com/media/41cdd9897e4067647563325a975bd707/href</a></iframe><p><strong>Now</strong>, we’ve added a new line which just makes it <strong>simpler </strong>to read the amount of messages which should be deleted. For this we simply need to join() the array. If you don’t know the function of join() , you can read more <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join"><strong>here</strong></a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a5c84f664d4fd0626734ecebd8922bef/href">https://medium.com/media/a5c84f664d4fd0626734ecebd8922bef/href</a></iframe><p><strong>2 new lines.</strong> <strong>The first one</strong> checks if the amount parameter is given. If not, the bot (command) <strong>throws an error</strong> that this parameter is needed to execute this command.</p><p><strong>The next one</strong> checks if the amount parameter is even a number because an amount <strong>can only be an integer </strong>(a number) and can’t include letters.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3e445dd9c62d90b1f66c11d1a8ca4887/href">https://medium.com/media/3e445dd9c62d90b1f66c11d1a8ca4887/href</a></iframe><p><strong>Again 2 new lines.</strong> These lines should not be complicated at all. <strong>The first one </strong>checks if the amount integer <strong>is bigger than 100</strong>, if yes the bot throws an error. <strong>The same for the next line</strong>, only that it checks if the integer (amount parameter)<strong> is smaller than 1</strong>. If you don’t know why the maximum can only be 100; <strong>this is due to the Discord API</strong>, it only allows a bot application to fetch 100 messages at once. More can be found <a href="https://discordapp.com/developers/docs/resources/channel#get-channel-messages"><strong>here</strong></a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cd72b4d25b2612973fb772cd3670554c/href">https://medium.com/media/cd72b4d25b2612973fb772cd3670554c/href</a></iframe><p><strong>The first new line fetches all messages</strong>. The limit is the above given amount parameter (<em>To revise: This is the number behind the </em><em>?clear command</em>). Then we continue to the main function of this command; <strong>Bulkdelete</strong>. The bot now bulkdeletes all messages that have been fetched.</p><h4>Be careful! The messages can not be older than 14 days (again due to the Discord API).</h4><h3>Conclusion</h3><p>I hope I could help you a little bit with your bot and the setup of your clear command. If you have any questions, you can visit <a href="https://monkeydev.discourse.group/">our forum</a> for further support!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7f53Gl8ugNiZoTrF" /><figcaption>Photo by <a href="https://unsplash.com/@pawel_czerwinski?utm_source=medium&amp;utm_medium=referral">Paweł Czerwiński</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cc4547ca3b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/discordbot/create-a-clear-command-for-your-discord-js-bot-4cc4547ca3b">This Is An Awesome Clear Command For Your Discord.JS Bot</a> was originally published in <a href="https://medium.com/discordbot">DiscordBots</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>