<?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 Henri Normak on Medium]]></title>
        <description><![CDATA[Stories by Henri Normak on Medium]]></description>
        <link>https://medium.com/@henrinormak?source=rss-4bdc67b2c970------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tBzW-1R54AHG-Zpe.jpg</url>
            <title>Stories by Henri Normak on Medium</title>
            <link>https://medium.com/@henrinormak?source=rss-4bdc67b2c970------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 10:26:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@henrinormak/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[What I learned from 11 months in the Estonian Defence Forces]]></title>
            <link>https://medium.com/@henrinormak/what-i-learned-from-11-months-in-the-estonian-defence-forces-bff4d30342ee?source=rss-4bdc67b2c970------2</link>
            <guid isPermaLink="false">https://medium.com/p/bff4d30342ee</guid>
            <dc:creator><![CDATA[Henri Normak]]></dc:creator>
            <pubDate>Fri, 04 Feb 2022 13:48:04 GMT</pubDate>
            <atom:updated>2022-02-04T13:48:04.581Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dCJqTkRJ1vGnllfQc2MVEA.jpeg" /><figcaption>Digital Camouflage Pattern, one gets REALLY used to seeing it EVERYWHERE.</figcaption></figure><h4>Preface</h4><p>Conscription is the main instrument of national defence in Estonia, with all eligible 18–27 year old males serving either 8 or 11 months. I will try to steer clear of giving judgment on the existing system, even though there may be some merit to rethinking it.</p><p>As the service is 11-months, this blog post will also be rather lengthy. Some parts were written during the period, however, this post is not like a diary, most if not all of it is written far after the particular events, giving some time to think and digest.</p><p>It is also important to emphasise, I will not disclose any specifics of the training. I want to focus more on the lessons learned, not the specific skills, so don’t expect any <em>rambo-like</em> stories or photos.</p><h4>First days</h4><p>July 2016, that’s when I started my 11-month journey. I have to admit, the first day was difficult and quite daunting. There are several factors, which in hindsight, likely caused the particular response.</p><p>First and foremost, it is super important to emphasise the way any sort of military organisation operates — <em>everything</em> has a specific way of being done, down to the smallest detail. <em>Not following</em> said ruleset is not only a <em>faux pas</em>, but is treated almost as an <strong>insult</strong>. Not knowing how to act or what to do, leads to a lot of judging looks, or at least that’s how it felt.</p><p>In a way, not understanding and failing to do something <em>correctly</em>, is a way of hazing, a challenge, you either pick up the skills or you are singled out, put through however many repetitions you need, until you finally do it properly. There are plenty of examples of this in action — be it marching, where the less coordinated have a difficult time, or simply standing at ease, where some of the more lively have difficulties with concentration. All of these skills are drilled until you don’t even need to think about them, taught through motor learning, I suppose.</p><p>The burden of being clueless is worst during basic training, after which, you no longer feel as awkward – you feel like you actually fit in. Although further new skills need to be obtained and honed, by then, you sort of know how to pick up new stuff without bringing too much unwanted attention to yourself.</p><h4>When to lead, when to follow?</h4><p>In broadstrokes, the Estonian reserve army is split into two (not equally sized) parts – the NCOs and the soldiers, who specialise in various fields from drivers to gunners etc. Both parts have further distinctions, but in general, you either are deemed as suitable to lead a small unit or not. It is worth noting, at least in my experience, you do have a say in which part you end up in – I find this extremely important, responsibility of leadership should, in my mind, be something you take on yourself, rather than simply being assigned to you.</p><p>The result of this choice affects a huge portion of your service, making it perhaps the most important choice you get to make <em>(perhaps on par with getting to choose the arm of service or the exact unit you serve in).</em></p><p>Whatever the motivation or reasoning, I found myself aiming to become an NCO – in practice, achieving the rank of junior sergeant (lower end <a href="https://en.wikipedia.org/wiki/Ranks_and_insignia_of_NATO_armies_enlisted">NATO OR-3</a> equivalent). I am confident that the choice was correct. While there are benefits and interesting aspects to all paths, one does get more out of the service as an aspiring NCO. Of course, this also means more is expected of you, both in knowledge and skills as well as discipline.</p><p><strong><em>EDIT: </em></strong><em>Right before the end of my service, I was fortunate enough to get the rank of sergeant (NATO OR-4), which was definitely a highlight of the service.</em></p><p>Without sounding too dramatic, I definitely learned a lot about leadership, which I believe will be beneficial not only in my professional life, but also elsewhere. Perhaps the most important lesson is when to say no, when to stand up for your ideas, and, crucially, when to give up on them. I also learned that what makes a team tick, is giving everyone a chance to step up, encouraging others when you <em>can</em>, so that they would encourage you when you <em>can’t</em>.</p><p>It would be unfair not to mention that the NCO training was perhaps one of the most physically demanding things during my service. In a way, this made the end result <em>feel </em>even better. For me, I think it also strenghtened my character — I’ve never been much of a quitter, but I now believe in sticking with it more than ever.</p><h4>The second half</h4><p>Roughly the first 6 of the 11 month service is dedicated to the basics, be it the drills or the NCO training. The second half of the service is dedicated to specialising and then training in various levels of units. This progressively gets larger and larger in scope, culminating with a large-scale field excercise — Kevadtorm (<em>spring storm</em>). The entire cohort of conscripts takes part and is evaluated, after which they become part of the reserve army.</p><p>It is fairly common for the time to start going by slower and slower during the second half of the service. Fortunately for me, this was not the case and as such I can’t comment of that aspect. I do however see how that might be the case, as instead of picking up new skills you just reinforce the ones you already have — this in turn can feel quite boring at times, especially if compared to the intense first 6 months.</p><p>It is worth mentioning that the final excercise, which spans roughly 3 weeks, is interesting in itself and offers a new environment to practice all the skills you previousl</p><p>Three things:</p><ul><li>Decisionmaking</li><li>A terrible, no-way this will work, plan is still better than no plan</li><li>Know your own limits, you can probably do more than you think</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bff4d30342ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pargi is going 3.0 and Open-Source]]></title>
            <link>https://medium.com/@henrinormak/pargi-goes-3-0-and-open-source-64ee1eeab403?source=rss-4bdc67b2c970------2</link>
            <guid isPermaLink="false">https://medium.com/p/64ee1eeab403</guid>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Henri Normak]]></dc:creator>
            <pubDate>Wed, 05 Jul 2017 16:47:10 GMT</pubDate>
            <atom:updated>2017-07-05T16:54:36.201Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Cliff notes: </strong>Pargi is waiting for an update, to be completely rewritten, and become open source on <a href="https://github.com/Pargi">GitHub</a>. What follows is a brief background on my motivation for doing this.</p><p>Pargi was one of the first apps on the small-yet-innovative Estonian app landscape, it kickstarted my interest in software engineering and opened various opportunities I would not have had otherwise.</p><p>Initial 1.0 version of Pargi was uploaded to Apple on July 12, 2010, at that point about 3 months of on-and-off-again work had been put into it. It was released on July 20. What followed were about 2 years of updates, bugfixes, new bugs, redesigns and rewrites. In September 2012, I made the decision to stop actively developing the application and focus on other ideas and projects instead.</p><p>Over time, the user base of Pargi has declined quite a bit as competing apps have come about and made strides with new approaches to the same problem. Nevertheless, according to Apple, about 100 sessions are still done daily via the app, which taking into account the size of the Estonian user space, isn’t half bad.</p><p>About 2 years ago, I originally had the idea of rewriting Pargi, this time in Swift and as an open-source project that others could learn from. As with any side-project, it got put on hold more than once, however, the idea of having it be open didn’t surrender.</p><p>I remember, as I was going through my first Objective-C book, how I enjoyed the example code, expanding upon it and experimenting with it. I believe in learning through experimentation is far more satisfying than trying to start from scratch. Not only because it’s quicker, but also, because making small changes whilst immediately seeing changes to a real application is just a lot cooler.</p><p>While perhaps a bit too ambitious, I’d like to think that seeing Pargi’s code might inspire someone to write their first app (or inspire them to help me out with Pargi 😜), similarly to how seeing code examples motivated and inspired me.</p><p>In short, you can find all of Pargi’s code and data on <a href="https://github.com/Pargi">GitHub</a>, where hopefully the future will bring discussion and collaboration. Most importantly, it is eagerly waiting for a helping hand, one that would help it live another 7 years on the App Store! 😍</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64ee1eeab403" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three things I learned from 11 months in Estonian Defence Forces.]]></title>
            <link>https://medium.com/@henrinormak/three-things-i-learned-from-11-months-in-estonian-defence-forces-49d7b20309e2?source=rss-4bdc67b2c970------2</link>
            <guid isPermaLink="false">https://medium.com/p/49d7b20309e2</guid>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[estonia]]></category>
            <category><![CDATA[army]]></category>
            <category><![CDATA[personal-growth]]></category>
            <dc:creator><![CDATA[Henri Normak]]></dc:creator>
            <pubDate>Fri, 02 Jun 2017 09:40:16 GMT</pubDate>
            <atom:updated>2017-06-02T09:40:16.816Z</atom:updated>
            <content:encoded><![CDATA[<h4>Or how not giving a flying f*ck can be a good thing.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Gm-nhGo0AOTNAUS9leyjg.jpeg" /></figure><h4>Preface</h4><p>Conscription is the main instrument of national defence in Estonia, with all eligible 18–27 year old males serving either 8 or 11 months. I will try to steer clear of giving judgment on the existing system, even though there may be some merit to rethinking/updating it.</p><p>As the service is 11-months, this post will not even come close to covering all aspects of it, instead focusing on a few key points that stood out. All of it is written post-fact, however, some of the thoughts were captured during the service.</p><p>It is also important to emphasise, I will not disclose any specifics of the training. I want to focus more on the lessons learned, not the specific skills, so don’t expect any <em>rambo-like</em> stories or photos.</p><h4>Overview of the 11-month journey</h4><p>Before I get into the lessons I learned, I want to give a quick overview of what <em>my </em>service looked like, the emphasis is important, as experiences vary — a lot.</p><p>Out of the roughly 330 days, first 8 weeks was spent in basic training. To me, this was the most <em>culturally shocking </em>part. You are submerged into a whole different world, one where a strict structure is enforced and there is only ever a single, correct, way of doing things. I have to admit, that it was quite difficult for me to get used to the <em>new reality</em>, however, as with most things in life, you get used to it as time goes by.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7MgytBrOMFHJA_DfeRKfqA.jpeg" /><figcaption>Almost done with basic training, feeling better in my uniform, except still missing a proper name tag.</figcaption></figure><p>Once basic training is over, there are roughly two paths you can take (at least in the army branch of the EDF) — you are either picked to become an NCO, or as an alternative, you start the drivers course — as with any large scale operation, there is a huge need for people moving machinery and vehicles around, hence the need for a lot of drivers.</p><p><em>Just to avoid confusion about roles conscripts fill, I do have to mention that the 11-month conscripts are merged with the conscripts doing the 8-month service, who become the bulk of the force, hence the driver/NCO split for the 11-month service and no further specialisations.</em></p><p>I was lucky enough to go through the NCO course, which was another 16 weeks (we are now up to 24 in total, or roughly half of the service). While the basic training was difficult as you needed to adjust, the NCO course was definitely the most physically demanding part of my service. This included many-many days spent <em>on the ground</em>, which definitely takes its toll. We were fortunate enough to have a relatively soft autumn-winter weather, so at least we didn’t have to battle extreme cold or rain.</p><p>It is important to emphasise, while difficult, the course did teach me a lot about myself and what I can, and can’t, do.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BQqyRlbgOek/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F16584031_227830757681039_3593114543993126912_n.jpg%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/374b4bab22356e11d50376806522d97c/href">https://medium.com/media/374b4bab22356e11d50376806522d97c/href</a></iframe><p>After the NCO course concluded, the first half of the service was over. The second half is dedicated to exercising the acquired skills, together with various levels of units, from squad up to a full brigade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jDd-zA5Dclbcp5dn10kGKQ.jpeg" /><figcaption>Tired, dirty and unshaven, but happy to be able to sleep in a bed again after the final exercise.</figcaption></figure><p>The service concludes with a large-scale field exercise, Spring Storm (Kevadtorm), during which all of a particular year’s conscripts, along with the regular army and allies, conduct a series of war-games. The goal is to evaluate the learned skills before discharging the conscripts into the reserve army.</p><p>The second half of my service was not nearly as action packed as the first 6 months were, however, I did still pick up a lot of new skills and got to practice all of them out on the field. The final exercise was a very interesting, albeit slightly sleepless, ~3 weeks that definitely put an appropriate ending to the service.</p><h4>Lesson #1 — Just do it</h4><p>There are always things that need to be done, but no-one really wants to do. For some reason, such activities are especially prominent in the military, with the difference, that nobody asks you whether you want to do them or not. At first, hesitation tends to surface — <em>What do you mean you want me to do that, surely there must be better things for me to do?</em></p><p>It is so easy to try and find excuses why you can’t do one thing or another, instead of just getting your hands dirty and finding a way to do it. What I learned is, 99% of the time, it is quicker and thus much more efficient, to just not give a f*ck about the excuses and do whatever needs to be done.</p><p>Granted, in the military, you don’t really have a choice, an order must be followed, however, the lesson also carries to everyday life. If you have a goal, be it set by yourself or someone else, just get it done. You’ll soon find that all the energy we otherwise would waste on coming up with excuses, makes getting sh*t done easy and quick.</p><p>There is also another side to this lesson. We all care what others think of us, we hate being ashamed or otherwise embarrassed, we even have nightmares about it.</p><p>This can sometimes keep us from achieving our goals, as we have to deal with constantly over-thinking and over-planning our actions — all just to avoid any temporary embarrasment. Instead, I learned that I should solely focus on the final goal, ignoring any intermediate inconveniences that lie in the way.</p><h4>Lesson #2 — A terrible plan is better than no plan at all</h4><p>Whether it be building software, writing a blog post or winning a war, there always needs to be a plan. <em>Just winging it</em>, while sounding cool, just doesn’t work. Laying out a plan of attack before executing is almost always a crucial part of being successful. Granted, this somewhat contradicts the <em>Just get sh*t done </em>mentality from Lesson #1, however, coming up with a plan does not mean to waste time on it.</p><p>So why is having an overview of the steps to be taken important? Because pretty much all plans fail at some point, in a way, that’s also planned. However, by planning we can try and foresee some of these failures and try to avoid them or at least soften them. When facing an actual failure, the background knowledge obtained during planning helps us get to a decision quicker, reducing decision-fatigue. In a way, that’s why they drill conscripts more on how to get out of an ambush, than how to march in a victory parade.</p><p>The lesson I learned is to always be prepared, even if the plan gets trashed the moment you start, you’ll still have something concrete to rely on, unlike when you don’t prepare at all, having to deal with each set-back from scratch.</p><h4>Lesson #3 — Lead from the front</h4><p>The final lesson is perhaps the most abstract. It applies to scenarios in which we have control over others or their actions. What I noticed during my service is that good leaders lead from the front, they are the ones you want to follow. Not the ones that shout and demand without seemingly putting in any effort themselves.</p><p>While succeeding in my goals is important and satisfying, I learned that I should never do so at someone else’s expense. To me, this also means that even when in position of power, you should never feel <em>above </em>getting your hands dirty as well.</p><p>As cheesy as this will sound, I learned that I want to be a leader that people <em>want</em> to follow, rather than one that people are afraid<em> not to </em>follow. Even if I don’t get to be a leader, I believe that this mentality will make me a better team player and as such a better person.</p><h3>Conclusion</h3><p>I can’t say that I was overly excited and happy when I started my 11-month long service. One might even say that at first I was doing it against my will. However, in hindsight, the experience taught me many valuable lessons and I do believe it changed me for the better.</p><p>I wouldn’t have said this about a year ago, but I do suggest everyone to give this (or something similar) a try. Getting out of your comfort zone, as well as your regular social circle, while uncomfortable at first, gives you a chance to re-evaluate who you are and more importantly, who you want to be.</p><p>I ended up making a lot of new connections that I am very thankful for, both in fellow conscripts as well as in the staff that trained and supervised us. To all of you, I am very thankful that my service ended up looking as it did, and I will fondly remember all the shenanigans we got into.</p><p>In short, while I wasn’t necessarily <em>lost</em> or in dire need of some time to think about things before my service, I do definitely feel much more confident in the way I approach life now, be it professional or personal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49d7b20309e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Eesti taksorakendused läbi tehnilise pilgu]]></title>
            <link>https://medium.com/@henrinormak/eesti-taksorakendused-l%C3%A4bi-tehnilise-pilgu-8d9f430343b5?source=rss-4bdc67b2c970------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d9f430343b5</guid>
            <category><![CDATA[taksorakendused]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[eesti]]></category>
            <dc:creator><![CDATA[Henri Normak]]></dc:creator>
            <pubDate>Sat, 19 Dec 2015 13:26:33 GMT</pubDate>
            <atom:updated>2015-12-19T19:38:55.237Z</atom:updated>
            <content:encoded><![CDATA[<p>Päevakajaline ja kuum teema, taksorakendused <em>(äppid, app’id, kuidasiganes neid kutsuda)</em>, uusi tekib juurde nagu seeni pärast vihma ja omavahel käib tuline võitlus nii sõnade kui ka tegudega.</p><p>Üldiselt öeldakse, et sellistest olukordadest võidab enim tarbija, suurem valikuvabadus, madalamad hinnad jne. Kas see peab paika ka tehnilisest aspektist? Kas kiiresti ja võimalikult väikeste kuludega rakendused on oma tehnilisest küljest väärt leidmaks kodu minu ilusas ja hästi hoitud iPhone’s? Nendele küsimustele üritan anda vastuse väikse avastusretkega Eesti taksorakenduste lavatagustesse.</p><p><em>Full disclosure</em>, ma ei ole personaalselt seotud ühegi järgneva rakenduse arendusega, hindan neid kui kasutaja, kellel on viitsimist ja teadmisi, mis aitavad piiluda kaugemale kui kasutajaliides.</p><h4>Protsess ja kandidaadid</h4><p>Rakendusi arvustades keskendun peamiselt kahele faktorile: rakenduse struktuur (nii palju kui seda on App Store’st tiritud pakis võimalik näha) ja rakenduse suhtlus välisilmaga (nii palju kui seda <a href="http://charlesproxy.com/">Charles Proxy</a> abiga on võimalik pealt kuulata).</p><p>Kandidaatide osas soovin keskenduda hetkel enim kõneainet pakkunud rakendustele: Taxigo, Taxofon ja Taxify. Juhul kui teen kellelegi liiga, jättes nende rakenduse kõrvale, palun võtke ühendust ja kaevake. Et oleks põnevam jätame kõige vanema kandidaadi viimaseks ja alustame kahest nooremast konkurendist.</p><h4>Taxigo</h4><p>Üllataval kombel on rakendus olnud App Store’s tegelikult juba 2014 oktoobrist, siiski, tundub, et suurem põnevus läks lahti versiooni 2.0 tulekuga selle aasta oktoobris, seega olen ignorantne edasi ja “mäletan”, et seda rakendust pole väga palju kauem eksisteerinud. Võttes ette App Store’st tiritud paki (edaspidi IPA), ei leia sellest kahjuks midagi positiivselt üllatavat, ehk meeldivaimaks üllatuseks oli, et kasutatakse <strong>pisutki</strong> Swifti (koodi otseselt ei näe, aga <a href="http://github.com/alamofire/alamofire">Alamofire</a> on kasutuses).</p><p>Pigem hakkavad silma negatiivsed aspektid. Näiteks on graafilised elemendid vigaste suurustega, mis tähendab, et olenevalt iPhonest ja punktitihedusest on mõned ikoonid udused. Samuti jääb silma kaks lihtsat animatsiooni, millest <em>Core Animation</em> oleks hõlpsasti jagu saanud, kuid mis otsustati kaader-kaadri haaval piltidega lahendada.</p><p>Kaevates pisut sügavamale, vaatab vastu hunnik erinevaid ikoone, mis üksteisest erinevad vaid värvilt, midagi, millega iOS’i <em>Template Image</em> loogika oleks kergelt hakkama saanud. Olgu siinkohal mainitud, et Taxigo’l on ka kõige suurem IPA, App Store’st allalaadides vaatab vastu 28,5MB andmemahtu.</p><p>Uurides rakenduse käitumist võrguliikluses tuleb ilmsiks midagi jahmatavat — <strong>Taxigo suhtleb oma serveritega üle HTTP</strong>, ehk siis kogu suhtlus on lihtsalt loetav ja kõigile nähtav. <em>Application Transport Security (ATS)</em> on täielikult maha keeratud, nii palju siis Apple’st ja tema soovist kasutajate andmeid kaitsta… Teadmine, et minu telefoninumber saadeti just üle võrgu kõigile loetavalt ei tõsta just minu usaldust ettevõtte ja selle tegemiste vastu.</p><p>Jättes selle kõrvale on üsna huvitav näha, et tavalise REST tüüpi API asemel on kasutuses Websocketitel põhine lahendus, kas selleks on otseselt vajadust jätan lugeja otsustada, isiklikult tundub pisut liiast, ei ehita ju süsteemi, millel oleks vaja palju andmeid kahes suunas liigutada või teha seda “reaalajas” <em>(EDIT: Tagantjärgi juhiti tähelepanu, et kaardil takso näitamise funktsionaalsus langeks siia alla, Taxigo testis aga sellega ei tegelenud)</em>.</p><p>Ülejäänud IPA paistab standartne, selline, mille saab vajutades kolm korda ‘Next’ nuppu Xcode’s ja siis kohe kiiresti koodi kirjutama hakates. <em>Fun fact</em>, rakenduses on näha soovi kasutada <em>Core Data</em> raamistikku, kuid tegelikkuses seda ei tehta.</p><h4>Taxofon</h4><p>Taxofoni puhul on tegemist rakendusega, kus mul on hea meel, et valisin lähenemisnurgaks tehnilise aspekti. Visuaalselt on tegemist kõige katkisema rakendusega antud kandidaatide seast. Rakendus on olnud App Store’s 2014 aasta algusest, aga näeb välja nagu oleks seal olnud iPhone OS 2.0 ajast (2008). See selleks, disaini kritiseerimise jätan targemate teha. Sarnaselt Taxigole ei vaata IPAst vastu midagi põnevat, jälle pigem negatiivseid üllatusi.</p><p>Alustame graafilistest elementidest. Hetkel on iOSi maailmas maksimaalselt vaja igast ikoonist/elemendist kolme koopiat, üks tavalistele ekraanidele, üks <em>Retina</em> ekraanidele ning üks iPhone 6 Plus ja 6s Plus ekraanile (nö <em>Retina plus</em>). Neid kolme koopiat eristab nende suurus, nimelt peaksid mõlemad küljed kasvama lineaarselt, kui tavalisel iPhone’i ekraanil on pilt 10x10, siis <em>Retinal</em> peaks olema 20x20 ja <em>Retina plusil</em> 30x30.</p><p>Taxofon ei ole sellise loogikaga aga nõus, nende arvates peaksid kõik need pildid samas mõõdus olema, mis tähendab, et rakendus näeb optimaalne välja <em>Retina plus</em> ekraaniga seadmetel ja kõik teised saavad süsteemi poolt nuditud versiooni. Teoorias ei ole see sugugi paha, küll aga on mõttetu sellisel juhul panna igast ikoonist kaasa kolm identset koopiat. See muudab rakenduse graafilise paki piltlikult (<em>pun intended</em>) öeldes 3x mahukamaks kui see peaks olema.</p><p>Liikudes edasi, IPAst seest on võimalik välja lugeda mõned Taxofoni arendajate jaoks olulised API võtmed, ehk et natukese vaevaga oleks näiteks võimalik nende kulul Google’i kaartide ja kohtade APIsid kasutada. Või hoopis näiteks laadida üles veider rakendus nende <em>TestFlight</em>’i? Kuna kurjade mõtetega seda rakendust ei avanud, siis jätan hetkel API võtmed kasutamata.</p><p>Võrguliikluse osas ei ole Taxofoni puhul midagi esile tõsta, kahjuks taaskord väga <a href="https://en.wikipedia.org/wiki/Representational_state_transfer">RESTful</a> lähenemine ei ole. Iga päringuga läheb kaassa kasutaja telefoninumber ja veel mõned andmed, ju siis on nii võimalik mõned bittid-baidid serveris ruumi kokku hoida… Kuna maksmine läbi rakenduse ei toimu, siis jätan API uurimise sinna paika.</p><h4>Taxify</h4><p>Kolmest valitud rakendusest ilmselt hetkel kõige populaarsem või vähemalt enim kasutatud. Turuliidrina võiks eeldada, et rakenduse arenduseks kulub energiat rohkem ja tulemus on sedavõrd parem — õnneks väga pettuma ei pea.</p><p>App Store’i IPAst vaatab vastu suhteliset mõistlik vaatepilt, mõningad sagedasemad vead, millest lähemalt hiljem, on endiselt kohal, kuid üldiselt on kõik <em>vinks-vonks</em>. Ainsa rakendusena ei kasuta Taxify ridagi Swifti, kuid see-eest omab kõige detailsemat <em>Core Data</em> mudelit, mis on nii plussiks kui ka miinuseks, andmeid säilitatakse, kuid neid andmeid on rohkem kui ehk peaks olema.</p><p>Siiski, ka Taxify rakenduse arendajad saaksid pisut oma lähenemist parendada, näiteks puudub paljudel graafilistel elementidel <em>Retina Plus</em> versioon, mida kõik iPhone 6(s) Plus omanikud kindlasti näha sooviksid. Samuti on jälle kohati dubleeritud elemente, mida saaks iOSi abil genereerida (taaskord tasub uurida <em>Template Image</em> tehnoloogia kohta). Sarnaselt annab <em>Storyboardide</em> puudumine mingil määral aimu Taxify rakenduse vanusest, pärinedes ajast, kus <em>XIB</em>/<em>NIB</em> oli peamine formaat.</p><p>Võrguliikluse kohapealt, sarnaselt teistele on ATS pisut maha keeratud, küll oluliselt vähem kui näiteks Taxigol. Osaliselt on põhjuseks ATS’i mittesobivus Amazoni hetkel pakutavate teenustega (S3).</p><p>Huvitama aspektina paistab silma suhtlus erinevate alamdomeenidega, näiteks <em>user.taxify.eu</em> või <em>search.taxify.eu</em>, ehk on tegemist <em>microservice</em>’itel põhineva arhitektuuriga? Loota ju võib.</p><p>API ise ilmselt võiks olla pisut paremini struktureeritud, kuid see on maitse asi (<em>/findDriversOverview?{query+deviceInfo}</em> võiks ehk olla midagi stiilis <em>/drivers?{query}</em> ja <em>deviceInfo</em> HTTP headerites).</p><p>Naljakamalt on IPAsse ära eksinud ka üks skript, mis pealtnäha on süütu, kuid annab aimu Taxify <em>Continuous Integration</em> protsessist. Skripti sattumine App Store’i IPAsse on tegelikult päris hea näide sellest, kuidas Xcode’ga ei ole alati kasutajale arusaadav kuidas kompileerimine ja sellega kaasnev protsess toimib. Seoses IPAga, kui Taxigol on kolmest kõige suurem IPA, siis Taxify’l on kolmest kõige suurem <em>binary</em>, kaaludes pisut alla 17MB.</p><h4>Ühisosa</h4><p>Kuigi kõigil kolmel rakendusel on tehnilisest aspektist unikaalseid omadusi, jagavad kõik kolm teatud “vigu”, mille parandamiseks võiksid arendajad pisut aega panustada.</p><p>Ilmselt suurim (vähemalt minu silmis) on graafiliste elementide rohkus ja nende vanamoodne kasutamine, kui tutvuda Apple’i poolt <a href="https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/chapters/Recipe.html#//apple_ref/doc/uid/TP40013303-CH1-SW1">pakutavate</a> <a href="https://robots.thoughtbot.com/designing-for-ios-blending-modes">tehniliste</a> <a href="http://blog.mobilejazz.com/ios-dynamic-image-creation/">võimalustega</a>, siis saaks muuta kõik kolm rakendust paremaks, pakkudes kasutajale kiiremat allalaadimist ja rakenduse kiiremat käivitust.</p><p>Siia alla kuulub ka asjatult süsteemsete komponentide duplitseerimine, näiteks on kõigil kolmel rakendusel kasutusel oma ikoon navigatsioonis kasutatava tagasinoole jaoks. Kuigi ikoon ise on väike ja omab sisuliselt olematut effekti, on tegemist indikaatoriga, et arendajad ei ole kursis õigete võtetega või on otsuste tegemisel <strong>laisad</strong>.</p><p>Muu silmajääv ühisosa on lembus Google’i kaartidele, mille tagamaad ei ole koheselt selged. Ilmselt on tegemist mingite lisateenustega, mida Apple ei paku, kuid ilma milleta ehk saaks kõik kolm rakendust hakkama. Samuti ei kasuta kolmest keegi nö <em>Launch Storyboardi</em>, mis lubaks rakenduse esialgse laadimise pisut dünaamilisemaks muuta ja seeläbi rakenduse jalajälge kasutaja telefonis pisut kergendada.</p><p>Keerulisematest vigadest saab pahaks panna (eriti rakendustes kus saab rahalisi makseid teostada) <a href="https://possiblemobile.com/2013/03/ssl-pinning-for-increased-app-security/"><em>SSL-pinningu</em></a> puudumist, Charles Proxy abil oli liialt lihtne korraldada sisuliselt kõigi rakenduste vastu <a href="https://en.wikipedia.org/wiki/Man-in-the-middle_attack"><em>Man-in-the-Middle</em> rünnak</a>, midagi, millest rakendus võiks/peaks aru saama ja töötamast lakkama.</p><p>Tõsi, sellistele aspektidele peaks enim tähelepanu pöörama just need rakendused, mis omavad võimet teha varalist kahju. Ühtlasi võiks üle vaadata ka teised rünnakuvektorid, näiteks kuidas <a href="https://en.wikipedia.org/wiki/Replay_attack">päringute kordamise</a> vastu ennast kaitsta.</p><h4>Kokkuvõte</h4><p>Kirjutades seda arvustust võtsin eesmärgiks olla täpselt sama kriitiline kui olen enda koodi osas, mida igapäevaselt ise kirjutan. See ei tähenda, et suhtuksin kuidagi halvasti nende kolme konkreetse rakenduse autoritesse või nende töösse, vastupidi, leian, et on ääretult positiivne, et ka pisikesel Eesti turul leitakse piisavalt ruumi, et arendada rakendusi ja proovida uusi lähenemisi.</p><p>Olgugi, et leidsin üksjagu problemaatilisi kohti igas rakenduses, on üleüldiselt valdav enamus neist siiski kasutajate jaoks piisavalt head, et igapäevaselt kasutada. Samas, kui tahame, et Eestis tehtavat arendust maailmatasemel võrrelda saaks, tuleks loetletud vigadest lahti saada, HTTP peaks olema minevik ja graafiliselt võiks rakendus näha välja käimasolevale kümnendile sobivalt.</p><p>Siit ka minu kokkuvõte — on lihtne ehitada midagi, millega kasutajad igapäevaselt hakkama saavad, seda on tõestatud aastakümneid. Nüüd tuleks aga mõelda millegi tõeliselt hea ehitamisele, nähes vaeva ka selle osaga, mida kasutajad ei näe, ehk nagu ütles Steve Jobs:</p><blockquote>For you to sleep well at night, the aesthetic, the quality, has to be carried all the way through</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d9f430343b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>