<?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 Anton Kaliuzhnyi on Medium]]></title>
        <description><![CDATA[Stories by Anton Kaliuzhnyi on Medium]]></description>
        <link>https://medium.com/@m4rk?source=rss-49d2c9e7167e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*P8e3YaONjq-FU5hs.jpg</url>
            <title>Stories by Anton Kaliuzhnyi on Medium</title>
            <link>https://medium.com/@m4rk?source=rss-49d2c9e7167e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 02:26:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@m4rk/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[Convenient navigation with NavigationView]]></title>
            <link>https://medium.com/@m4rk/convenient-navigation-with-navigationview-5893ddddb301?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5893ddddb301</guid>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[navigationview]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Sat, 26 Apr 2025 20:39:41 GMT</pubDate>
            <atom:updated>2025-04-26T20:39:41.533Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-9_ETRK4CBXoa8sEGlQZMw.png" /></figure><p>Everyone who tried to use SwiftUI’s NavigationView in a big production level app faced a problem navigating using a standard NavigationView. Of course the NavigationStack fixes the problem, but what if you can’t use NavigationStack because it is not available pre iOS 16?</p><p>With NavigationView you have to have a NavigationLink in your current View to navigate to a next View. So you have to put a NavigationLink with specific View in order to navigate there. When using a ViewModel you can’t just call push(NextView()) to show the NextView. You have to <em>activate</em> the NavigationLink which has to be in your current View in order to show the NextView. It is ok if you have a simple app which has exact hierarchy of views, but if you have a complicated dynamic routes such approach becomes painful.</p><p>It would be better to have a solution when you can just say which view you want to navigate to without putting all possible NavigationLinks into current view. In this case my solution comes in handy.</p><p>You just write:</p><pre>coordinator.push(.profile)</pre><p>And NavigationView pushes the ProfileView on to the stack. All you need is to add <strong>case</strong> profile to <strong>enum</strong> Screen and add ProfileView() into ScreenView. This way <strong>NavigationCoordinator</strong> will be able to push ProfileView onto the navigation stack without any more efforts.</p><p>The basic example is:</p><pre>import SwiftUI<br><br>@main<br>struct NavigationApp: App {<br>    @StateObject var coordinator = NavigationCoordinator(rootScreen: .home)<br><br>    var body: some Scene {<br>        WindowGroup {<br>            NavigationView {<br>                coordinator.rootView<br>            }<br>            .environmentObject(coordinator)<br>        }<br>    }<br>}</pre><p>This is how HomeView looks like:</p><pre>import SwiftUI<br><br>struct HomeView: View {<br>    @EnvironmentObject private var coordinator: NavigationCoordinator<br>    var body: some View {<br>        VStack(spacing: 20) {<br>            Button(&quot;Go to Profile&quot;) {<br>                coordinator.push(.profile)<br>            }<br>            Button(&quot;Go to Settings&quot;) {<br>                coordinator.push(.settings)<br>            }<br>        }<br>        .navigationTitle(&quot;Home&quot;)<br>    }<br>}</pre><p><strong>That’s it!</strong> You can now build a complicated hierarchy of navigation in your app. And it is compatible with MVVM approach.</p><p>The demo is available at <a href="https://github.com/0xMarK/NavigationCoordinator">https://github.com/0xMarK/NavigationCoordinator</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*v4ZZg6xnYyyibmnmOP44FQ.gif" /></figure><h3>NavigationController alternative</h3><p>Or you can take my alternative version which enables you to specify any View to navigate to inline:</p><pre>controller.push(ProfileView())</pre><p>But this version relies on AnyView which is dangerous. Apple Engineers don’t recommend to use AnyView because it has performance issues and may have other unexpected issues. Use NavigationController variant cautious. The demo is available at <a href="https://github.com/0xMarK/NavigationController">https://github.com/0xMarK/NavigationController</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5893ddddb301" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SwiftUI View as View Model?]]></title>
            <link>https://medium.com/@m4rk/swiftui-view-as-view-model-f01117def9ac?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f01117def9ac</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Wed, 31 Jan 2024 11:24:57 GMT</pubDate>
            <atom:updated>2024-01-31T11:24:57.282Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bCo-yNMiKOyXF-1H7632FQ.png" /></figure><p>I have this idea of using SwiftUI View as a View Model. I mean there is this MVVM+SwiftUI approach when we have observable View Model for SwiftUI. But what if we don’t need external View Model at all? What if we could have all logic inside SwiftUI View? And we could test SwiftUI View just like as if it is a classic View Model.</p><p>Let’s implement a simple project to test the idea of SwiftUI View as a View Model. Our project will have a text field for entering a Promo Code and a button to use that code. It must display an error if the code is empty and it should display a positive message in case of success.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*8S9gKpHsjMVThcDnZupx1A.gif" /></figure><p>I’d like to check if I can use the @Environment to inject the PromoService that is a dependency that is supposed to run a network request to check a promo code. There will be a function use() which will be called on “Use” button tap. And there will be a number of @State properties.</p><p>There are developers who can’t stand the look of long files. For those who prefer shorter files, I suggest to split the struct with an extension in a separate file. The problem is that we can’t put stored properties in extension, so we can’t move @State properties into an extension. But we can move body property to an extension because it is a computed property!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*FWRbsLzHy0gEaj03KSWzCQ.png" /><figcaption>PromoView.swift</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*E9Y0mfk2rYXjPFQuThOXCw.png" /><figcaption>PromoView.UI.swift</figcaption></figure><p>But now. Can we write unit tests for PromoView?</p><p>Let’s write a unit test simulating user input “promo” into the “Promo” text field and a tap on the “Use” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NhUJJpwsXU_Av3h7LOnirw.png" /><figcaption>Variable `promoView` is of type `some View`</figcaption></figure><p>And we encounter the first problem: our promoView variable is of type some View.</p><p>Hm. Let’s try to use a type cast for our View.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2WJsovUqWbI6QNlSB5zT_Q.png" /><figcaption>Use `as? PromoView`</figcaption></figure><p>We’ve used a as? PromoView to cast the type to promoView. But our test failed. The type cast failed. The promoView is nil.</p><p>Maybe if we use force cast it’ll work?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iGdf-qLGSbzHr7xTklYAbw.png" /><figcaption>Force type cast</figcaption></figure><p>The type cast is impossible because after using the .environment() to “inject” the PromoServiceMock the type of promoView became ModifiedContent&lt;PromoView, _EnvironmentKeyWritingModifier&lt;PromoServiceType&gt;&gt; (namespaces removed for clarity).</p><p>Alright, let’s drop .environment() and use traditional dependency injection. Now, I will run the test again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8hHk8mOd-NYQRQ4A1tlypQ.png" /><figcaption>Property `success` is expected to have value</figcaption></figure><p>The test failed. Property success was supposed to have a “successful” text but it doesn’t.</p><p>Let’s debug this unit test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A-yQWFyqJ0wZX15GWaP9jg.png" /><figcaption>Property `promo` is equal to &quot;&quot;</figcaption></figure><p>The problem is that setting a value to a @State property did nothing. The promoView.promo is equal to &quot;&quot;.</p><p>What if we try a dirty hack? Let’s try to assign value to promoView.$promo.wrappedValue directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fvlSWLRIbT4vvodhLi9cOw.png" /></figure><p>Well that failed miserably. Not only the value of promoView.promo is still equal to &quot;&quot;. But also we now have an error:</p><blockquote>Accessing State’s value outside of being installed on a View. This will result in a constant Binding of the initial value and will not update.</blockquote><p>The thing is that Apple designed @State for local usage by View only. The View is immutable. We as developers have no ability to mutate it.</p><p>However, we can use @StateObject or @ObservedObject as external data source for View. And we end up with MVVM+SwiftUI approach where ViewModel is a @StateObject property of a View.</p><h3>Conclusion</h3><p>SwiftUI View is not unit testable. If you don’t need to cover your Views with tests, you can go with “everything inside View” approach.</p><p>MVVM+SwiftUI works great. It separates Logic from View. View becomes so passive that it doesn’t need to be tested. However, the View Model is fully testable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f01117def9ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Initiative “Buongiorno, we are from Ukraine!” to help Armed Forces of Ukraine]]></title>
            <link>https://medium.com/@m4rk/initiative-buongiorno-we-are-from-ukraine-to-help-armed-forces-of-ukraine-f6da8d060ee9?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6da8d060ee9</guid>
            <category><![CDATA[russian-ukrainian-war]]></category>
            <category><![CDATA[russia-ukraine-war]]></category>
            <category><![CDATA[ukraine]]></category>
            <category><![CDATA[stand-with-ukraine]]></category>
            <category><![CDATA[russian-invasion]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Sat, 14 May 2022 09:42:05 GMT</pubDate>
            <atom:updated>2022-05-14T09:42:05.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CevPfIpl3NQZV-niGb2T7g.png" /></figure><p>The War has changed our lives. Now all of Ukraine is working for Victory. Our Army at the Front beats the occupiers daily and nightly, and volunteers at the back provide our fighters with everything they need.</p><p>Only among my friends I saw dozens of volunteer initiatives. I am proud of the Ukrainian people, who show such support to each other. I’m proud of the steadfastness and determination of Ukrainians to win. The strong support from Ukrainians from abroad, who have gone long ago to build their lives in other countries, is a phenomenon that deserves special respect.</p><p>My ex-classmate <a href="https://www.facebook.com/katerina.zvezda">Katia</a> now lives, works and raises children in Italy. But when we studied at the 17th school in Kharkiv, she could never sit still. If there was some crazy activity somewhere, Katia was there. If you want a wild party — call Katia.</p><p>Since the beginning of the full-scale Russian invasion into Ukraine on February 24, Katia impressed me with her strong position. She abandoned her business of organizing ethno-gastronomic tours in Italy and devoted herself entirely to helping the Front. Together with her friends <a href="https://www.facebook.com/may.lee.9883">Marta</a> and <a href="https://www.facebook.com/annnnnovikova">Anna</a>, they created the initiative “<a href="https://buongiorno.org.ua/">Buongiorno, we are from Ukraine!</a>”. From the first day of the open aggression of the sworn enemy, they did everything possible and impossible to comprehensively help our Homeland.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q2jzTeghSptvTszGg29KCQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*D6XdjvTQHErguONF0_Oedw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*AQvbCv_KGaQIUKAGuHxG1g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jINFeimQ5yFZtHJ2_KJ7tA.png" /></figure><p>The girls quickly learned to understand military equipment and ammunition, communicate with the military from the hottest spots and send everything needed from Europe to Ukraine. It is amazing that they already have experience in buying a fully equipped ambulance and SUVs for the defenders of Ukraine!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*jFsOHB-MxDXfbZG5WGpqIg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0AZx8EQbOY6RcSNSiGfWeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gdn7S7GQuN-esShB-G0R2w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ECEJpZYBo9-RMtqMcUolXA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DkPSF0ZeZKQecaFzXrVaOg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mriVFC76g4cH7iSVB2QiuQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AdT_jTS4_DgQj5la_tfq1w.jpeg" /></figure><p>I believe that one day Victory will be ours and we will all return to a moderate civilian life. And Katia will be once again arranging her chic Italian ethno-gastronomic tours. But now we must do everything in our forces to support Ukraine. Some are looking for the necessary equipment, some are transporting goods to Ukraine, and some are donating money to buy valuable items that “<a href="http://buongiorno.org.ua/en/donate/">Bonjourno UA</a>” magically gets from out of nobody-knows-where. You can also join this important activity and donate any amount to “<a href="http://buongiorno.org.ua/en/donate/">Buongiorno UA</a>”. Because now it is critically important to buy military medical backpacks, consumables for VAC-devices, CAT-turnstiles and much more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rpEteZJy_ohR_eNaGjq9Vw.jpeg" /><figcaption>Military Medical Backpack. Filled with everything needed to save life.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-ZSCxNFNyTvOSVRSoNuBw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*qxmRzEZZ25xcPddLV9Awuw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*8SgDaJu2DfXyr3MEalUbAA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W4_Ho8W8ORMLnlPSKxNzSA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y1GWqzm83k8XtZ86THgU9Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OQvzkrKoAgw6QbTtr5tdkw.png" /></figure><p><strong>Details for financial aid:</strong></p><p><strong>UAH</strong></p><p>PrivatBank card: 5221 1911 0062 3312<br>Recipient: Kateryna Smirnova</p><p>MonoBank card: 5375 4141 1083 2648<br>Recipient: Kharlova Marta</p><p><strong>EUR</strong></p><p>BENEFICIARY: KATERYNA SMIRNOVA 61070, UA, Ukraine, Kharkiv, Shevchenka str. 339, 3apt.<br>IBAN: UA393052990000026205733505562<br>ACCOUNT: 5168742231006572<br>BANK OF BENEFICIARY: PRIVATBANK, 1D HRUSHEVSKOHO STR., KYIV, 01001, UKRAINE<br>SWIFT/BIC CODE: PBANUA2X CORRESPONDENT ACCOUNT: 0011000080</p><p><strong>Paypal</strong></p><p>Account: <a href="/service/mailto:totallyitalytrip@gmail.com">totallyitalytrip@gmail.com</a></p><p><strong>BTC</strong></p><p>Bitcoin wallet: bc1q4c44upgm5pxsa4zuldl0csflnsgzwh4rd3ll2u</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6da8d060ee9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This isn’t just War anymore. It is Genocide]]></title>
            <link>https://medium.com/@m4rk/this-isnt-just-war-anymore-it-is-genocide-adb3b241bd1e?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/adb3b241bd1e</guid>
            <category><![CDATA[russian-ukrainian-war]]></category>
            <category><![CDATA[stand-with-ukraine]]></category>
            <category><![CDATA[ukraine]]></category>
            <category><![CDATA[russian-invasion]]></category>
            <category><![CDATA[z]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Sun, 03 Apr 2022 16:18:28 GMT</pubDate>
            <atom:updated>2022-04-03T16:18:28.174Z</atom:updated>
            <content:encoded><![CDATA[<p>Russian military command finally realised that it is impossible to conquer Kyiv and they decided to move their forces to the East of Ukraine. So Russian forces have left the Kyiv Oblast and now that Ukrainian forces recover the cities of Bucha and Irpin we can see the scale of atrocity of Russian soldiers.</p><p>On February 24, Russian forces started full scale invasion from a number of directions. One of their targets was Kyiv. They couldn’t conquer it swiftly, but they managed to occupy the small quiet towns Bucha and Irpin in the suburbia northwest of the Ukrainian capital.</p><p>After nearly a month, Irpin was freed from the occupation on March 28, and Bucha on April 1. A day later, the Ukrainian government said that the entire Kyiv Oblast was free of Russian forces.</p><p>Despite the Russian authorities claiming that their forces are not targeting civilians in Ukraine, there is clear evidence of the opposite.</p><p>The streets of Bucha are heavily damaged and are full of corpses. According to the mayor of Bucha Anatoly Fedoruk, just in the first day after Bucha was liberated, local authorities collected 280 bodies and buried them in mass graves. But this is not the final count. On March 12, the citizens of Bucha buried 57 bodies in another mass grave near a local church.</p><p>There are bodies with their hands tied behind their backs. Mayor Anatoly Fedoruk says that they were shot in the back of their head. The bodies are scattered over several hundred meters.</p><p>One resident showed journalists from Agence France-Presse (AFP) what he said was a grave, topped with a green wooden cross, in the back garden of a neighbouring house where four people including a child were buried. They also were killed by occupants.</p><p>There are eyewitness testimonies about the brutal rape of women and little girls by Russian soldiers.</p><p>As many times before, leaving the territory Russians vilely mined the cities. On April 2 only, the Ukrainian forces found and deactivated 643 explosives in Irpin, according to the State Emergency Service. For civil Ukrainians it means that even after deoccupation it is still dangerous to comeback to their homes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l8AdO-taWKsaeE69h8sHUg.jpeg" /><figcaption>A volunteer inspects a body of killed person. Bucha, April 1, 2022. REUTERS/Oleksandr Ratushniak</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*54G5GW8xdCJwi-hEXAYgdA.jpeg" /><figcaption>Under the blanket there are the bodies of one man and two or three naked women that Russians attempted to burn down at the side of the road. 20 kilometers away from Kyiv, April 2, 2022. Mikhail Palinchak</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*yizad1WWhxSZl0m95S6bMQ.jpeg" /><figcaption>Suburbs of Kyiv. April 3, 2022. Telegram: libkosstories</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OCoSFbfvugT0AFiKWBcPaw.jpeg" /><figcaption>A body of a civilian, who according to residents was killed by Russian army soldiers and then buried along with others in one grave. Bucha, April 2, 2022. REUTERS/Zohra Bensemra</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JwMdzojA3c1szuC7S9u59A.jpeg" /><figcaption>The body of a woman, who according to residents was killed by Russian army soldiers, lies on the street. Bucha, April 2, 2022. REUTERS/Zohra Bensemra</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WTN2SobZSVqM7XqmwYu7Qg.jpeg" /><figcaption>The body of a woman. Bucha, April 2, 2022. Telegram: M_Podolyak</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_8XzsVSR_AgKrS3qnj9FhA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_WDasUp8vmkEzSxSwjy4Xw.jpeg" /><figcaption>Ukrainian soldiers entered the city and found hundreds of corpses of civilians lying by the road. Bucha, April 2, 2022. AFP via Getty Images</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sD3rNCE-5PBiF6IN9VW5mQ.jpeg" /><figcaption>2 women and 4 men. Shot in the back of their head. Some with their hands tied behind their backs. Motyzhyn. April 2, 2022. Andreas Lipschitz</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fa3ND4UloetCWa2zsGzarQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*WB4xQexycQCdMowST7DBGA.jpeg" /><figcaption>Dead bodies lie on a street in Bucha. A dead man has hands tied behind his back. Bucha, April 2, 2022. AFP via Getty Images</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*QTQkfmkJbzCzPc6auxkThQ.jpeg" /><figcaption>Many of the bodies found in Bucha have their hands tied behind their back, pointing at an organized killing. Bucha, April 2, 2022. Facebook: Mikhailo Shevchenko</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aJyPDhs18ZDzBeTBdyJhIw.jpeg" /><figcaption>A dead body lies on the ground in a street. Bucha, April 2, 2022. AFP via Getty Images</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kxvu7eVvZcm6U7t_OMCjWw.jpeg" /><figcaption>A poor man was riding a bicycle when Russian soldiers shot him presumably driving passing by. Bucha, April 2, 2022. AFP via Getty Images</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vr3UGJDNWgIGI31hnQ7wAA.jpeg" /><figcaption>A man walks on a street with several dead bodies on the ground. Bucha, April 2, 2022. AFP via Getty Images</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mNBO7XB7hobPj2EtgVVdhw.jpeg" /><figcaption>Bodies lie on a street. Bucha, April 2, 2022. Ronaldo Schemidt / AFP</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*OZ7jl_jvssoj2ITeVlhxmQ.jpeg" /><figcaption>A civilian tortured to death by Russian soldiers. Bucha, April 2, 2022. Andreas Lipschitz</figcaption></figure><p>The road near the village Dmytrivka on the Zhytomyr highway is littered with corpses. People were killed by Russians.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VL6xz38jv2Oijok6ADc1kw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2JNozHEGx_6gdwryIWUxIQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qwNo_4vovNcAenBgbNBjlQ.jpeg" /><figcaption>Dead bodies right on the highway near village Dmytrivka. April 3, 2022. Stas Kozliuk / Babel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*91qehyqiyOkotNjXiYQ6hA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lvoEMe7Rhpnd12TbnsQXBg.jpeg" /><figcaption>Corpses on the road. Dmytrivka, April 3, 2022. Stas Kozliuk / Babel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MTKihhuDfsCiNUwBE8vcnQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qWYah5EHklivehAsD8L4_A.jpeg" /><figcaption>A dead body at the gas station. Dmytrivka, April 3, 2022. Stas Kozliuk / Babel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwLZCABF5a__J69oTFRmnA.jpeg" /><figcaption>Two dead bodies near the burnt car. Dmytrivka, April 3, 2022. Stas Kozliuk / Babel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9NQ9G33eTfKi7fJ0avH-rA.jpeg" /><figcaption>A body of a man burnt in the car. Dmytrivka, April 3, 2022. Stas Kozliuk / Babel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Do69DjKaFb_BbiX58gf9hw.jpeg" /><figcaption>Another burnt car with a corpse nearby. Dmytrivka, April 3, 2022. Stas Kozliuk / Babel</figcaption></figure><p>Russian forces are not just trying to conquer the sovereign state, they are trying to delete any evidences of Ukraine’s existence. They proclaimed that Ukrainian nation does not exist. Russians say that they are fighting against nazis, hoping that the World will close its eyes on mass murders of civilians, rapes, and marauding. The reality is that Ukrainians are fighting the hordes of barbarians who hate the Free World. The barbarians who wish to extinguish all Ukrainians, take their goods, and settle in their houses. That’s why Ukraine needs all the help from the Free World that it can have. We count on your support. Stand with Ukraine!</p><p>Слава Україні!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adb3b241bd1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stand with Ukraine]]></title>
            <link>https://medium.com/@m4rk/stand-with-ukraine-28acd9b519b0?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/28acd9b519b0</guid>
            <category><![CDATA[ukraine]]></category>
            <category><![CDATA[russiaattacksukraine]]></category>
            <category><![CDATA[russiainvasionofukraine]]></category>
            <category><![CDATA[stop-war-in-ukraine]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Thu, 10 Mar 2022 19:19:32 GMT</pubDate>
            <atom:updated>2022-03-10T19:19:32.070Z</atom:updated>
            <content:encoded><![CDATA[<p>On 24th of February 2022 on 5 AM (by Kyiv) Vladimir Putin (aka Huilo) declared War on my country Ukraine. He used a phrase “special military operation”, but in fact it is a full scale military invasion from a number of directions.</p><p>Russian forces started shelling Ukrainian military objects and air defense systems. Enemy infantry crossed border on North from my native city Kharkiv and started movement towards the city.</p><p>The situation was changing rapidly. News informed us that Russians are closing up on the capital Kyiv. The South and East were under severe attack too.</p><p>The situation was dreadful, defeat seemed absolutely real. But Putin’s plan for a Blitzkrieg in 3 days completely failed. Russians were “welcomed” with a powerful resistance of Ukrainian Army, Territory Defense Units and ordinary Ukrainian citizens. Heroic fight of Ukrainians against enemy front units inspired hope that the War can be won.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UG3E2RSVaP4wan99aJPfsg.jpeg" /><figcaption>The Ukrainian military repulsed the breakthrough of advanced Russian units on the entrance to Kharkiv. Photo of the destroyed Russian armored vehicles. February 24, 2022.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9O5T6INxLG3IJNLF1cptfg.jpeg" /><figcaption>The vehicles of the Russian occupiers was destroyed on one of the streets in Bucha, Kyiv Oblast.</figcaption></figure><p>After a failure of the land mission Russians switched to shelling of cities. They are not hiding their terrorist nature any more. Russian-terrorist forces are sending air bombers in order to destroy civil infrastructure and homes of non-military Ukrainians.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*orgKcV1BQr86QfJ3AoGGfQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*9SYf-XeBmW-voKkvbmbJUQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*CObCU36TdF_zT1nx9TgCZw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HisBIANRCfNZbHSrmC4t1w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lBVDB-mKknR7fXC_2SpTkQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*B2ELI5fhEgYklb0Iv2X98g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V9Jc9-oOXXlEF3za7ftYsg.jpeg" /><figcaption>Photos of destructions after shelling of Ukrainian cities.</figcaption></figure><p>My city Kharkiv gets most of shells and bombs. Everyone is hiding in basements or in a subway, which was turned into a bomb shelter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3c7rJreNZwA3XepMp8AWxw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xKlpGJ-FfAYilqmCMQbVpg.jpeg" /><figcaption>People hide from shelling on Pushkinska and Botanichnyi Sad subway stations. Kharkiv, February 24, 2022.</figcaption></figure><p>Russians destroyed the Kharkiv Regional State Administration and the volunteer tent “Everything for Victory” in front of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDnJz-66pjVniSXvKXkbyQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fL8eF1P8zXLCkFCgDa3rjg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0i2wio7OiODmvw8505af_A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*f8Ma55TJMl2QL3tqfJjmcQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*ps8pS54jAuy0U1MSRKcUiQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*tT4jiXQUB69K1vwPBo8DwA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*KaaJFlojDUtm-UYCanM3Cg.jpeg" /><figcaption>A cruise missile strike on Kharkiv Regional State Administration. Dozens of victims.</figcaption></figure><p>The city center is demolished. The streets that I used to enjoy to walk on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7QSysQeuI18Tk_0-e5G7qg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJIUK0Xs1GTcz-P6lQR7wQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C4WgKErCl8qI_XOBgxv-qw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gl6209mkxaKd_-ZuHtsr4g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ibCtJhUiWE9yWh1JhXo7pQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*86kLJ-1sKxxrzY9fOS6chQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*okGFC1ahKT4TFlL2FiBIdw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lHtFb8ryR9SETJv5TgcO6g.jpeg" /><figcaption>The results of Russian bombardments of Kharkiv City Center. March 2, 2022.</figcaption></figure><p>My junior/middle school №17 in Kharkiv, where I spent my happy childhood, got damaged. Projectile hit the second floor over the classroom where I studied in the junior school.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*trhrafER2x86UNyYrYqfYg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*fmlhdGOkOhoJ7AxYaQgj1g.jpeg" /><figcaption>Kharkiv school №17. March 2, 2022.</figcaption></figure><p>The largest residential area of Kharkiv called Saltivka is being destroyed day after day. The people are terrified.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*hbAqLs_dBKxs1kPArIYxJA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CFGxgP-698BqvcV2DrSRfQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*IZIfmPr1kG2lTRXuWSMHiw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*EX0OGvBX3Y_Ci-SN-NOOqQ.jpeg" /><figcaption>Russian terrorists continue to drop bombs on residential districts of Kharkiv. Saltivka district.</figcaption></figure><p>Hundreds of thousands of Ukrainians had to flee their homes in search of a safe place. Me myself, my family, my friends — everyone was forced to leave their cities under shelling. Starting from February 24, more than 1 million Internally Displaced Persons moved to more safe western parts of the country or crossed the border.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*Scv6VuahSSNpE1xtRf6Pbw.jpeg" /><figcaption>Kharkiv Railway Station. People are trying to board the evacuation train.</figcaption></figure><p>The most recent story that shocked everyone:<br>On March 9, Russian terrorist-forces dropped bombs on Mariupol Maternity Home №2. The building where mothers were giving birth for a new life does not exist anymore. A lot of dead women and little children.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8EQA-4uUJJWjVVNar2u0-A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kJN6RgoYhvDoRoxcdloNpA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*ybEKqa27XQstcn3cD9txcg.jpeg" /><figcaption>Mariupol Maternity Home №2 right after the bombing. March 9, 2022.</figcaption></figure><p>For now the map of this Russian Federation against Ukraine War looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l1v5CarUIJDzb1ySBpyuug.png" /><figcaption>The actual state of occupied territories of Ukraine. March 10, 2022. <strong>©</strong>liveuamap</figcaption></figure><h3>What can you do to help?</h3><p>A lot of our foreign partners and friends every day contact us asking a crucial question: How can we help?</p><p>There are tons of ways. I’d like to share with you a few effective ways developed by my colleagues in <a href="https://www.altexsoft.com/news/ukraine-is-under-attack-the-free-democratic-world-is-under-attack-we-must-stand-united/">AltexSoft</a>.</p><p><strong>Keep us in your thoughts and prayers.</strong> We really need your support. Knowing that you care about us helps every one of us stay grounded and resilient through this time of crisis. Drop a line to a person you know from Ukraine and this may help them make it through the day and keep their hopes up.</p><p><strong>Contact your government representatives to encourage their efforts towards helping Ukraine. </strong>This isn’t a war against Ukraine only. This war targets the principles and values of a free and democratic world. We’re not alone in defending these ideals. That’s why any political support from you is invaluable. Appeal to your government representatives and media to continue forcing this issue and help our cause through:</p><ul><li><em>increasing economic sanctions against the Russian economy</em>: blocking Russian financial assets, cutting all economic ties with the aggressor, including fossil fuel contracts.</li><li><em>supplying weaponry and other military equipment to Ukrainian forces</em>.</li><li><strong>THIS IS VERY IMPORTANT: </strong><em>closing the skies over Ukraine</em> to prevent Russia from using their air force or providing air defense weaponry and ammunition.</li></ul><p><strong>Send financial help to the Ukrainian state</strong>. Financial help is needed. If you have resources to support us and our resistance financially, please do. Every dollar or euro counts. <a href="https://helpua.bank.gov.ua/">The National Bank of Ukraine has a special page for donations</a> from international organisations, donors, and people who care about our common peaceful future. Raised money will be used to provide humanitarian aid to civilians and to support the Armed Forces of Ukraine.</p><p>There is also an awesome volunteer organisation <a href="https://www.comebackalive.in.ua/">Come Back Alive</a> which is very honourable in Ukraine, please, support them too.</p><p>We will win this war. We’ll stay strong and united to save our freedom.</p><h3>🇺🇦 Слава Україні!</h3><blockquote>Sources used for photos: telegram channels hueviykharkov, nvua_official, suspilnekharkiv. Ukrainian National Police. State Emergency Service of Ukraine. Timothy Fadek/Redux for CNN.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28acd9b519b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Heap & Stack: What the heck?]]></title>
            <link>https://medium.com/@m4rk/heap-stack-what-the-heck-97d2748d583f?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/97d2748d583f</guid>
            <category><![CDATA[xcode]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[stack]]></category>
            <category><![CDATA[heap]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Wed, 03 Nov 2021 20:33:47 GMT</pubDate>
            <atom:updated>2021-11-03T20:33:47.246Z</atom:updated>
            <content:encoded><![CDATA[<p>On interviews I was frequently asked the question: “Where the Swift Struct is being placed — Heap or Stack?” I always answered that it is placed in the Stack, because it is a Value Type. But I never really understood what Heap and Stack are, even though I had read a lot of articles explaining those concepts.</p><p>All explanations about Heap and Stack seemed too abstract to me, too detached from practical point of view.</p><p>Now, what if I tell you that there is a way to actually see the Heap in Xcode?</p><h3>Memory Graph</h3><p>At first turn on the checkbox “Malloc Stack Logging”. You can find it this way: <strong>Edit Scheme → Run → Diagnostics → Malloc Stack Logging</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWICXg1pDEOw18N2hBLQ9A.png" /><figcaption>“Malloc Stack Logging” checkox</figcaption></figure><p>Put a breakpoint in your code and run the Project. When you hit the breakpoint, click the “Debug Memory Graph” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rdtowmIoCG4cT6kjLcr-fA.png" /><figcaption>“Debug Memory Graph” button</figcaption></figure><p>After that you will see the Memory Graph where you can actually see what is in the Heap and what is in the Stack at real time!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MGIyXjjCj-DyLEx_2CAwBw.png" /><figcaption>Heap &amp; Stack in Xcode</figcaption></figure><h3>Stack Trace</h3><p>The things that are located in the Stack Frame are local variables and parameters of your current function. So Stack Frame is the scope of a function. Here you can see all Value Types (structs, enums, tuples, collections, primitives).</p><p>Also you can see Reference Types (e.g. classes, closures) in the Stack Frame. Well, not Reference Types themselves, but their addresses on the Heap. On the screenshot “Heap &amp; Stack in Xcode” you can see the addresses of objects underlined in the Stack Frame and in the Heap. So when you make some operations on Reference Type variables, keep in mind, that you are affecting objects in the Heap which may be shared across different parts of your App.</p><p>The Stack consists of Stack Frames. Stack Frames stack up on each other in LIFO order. Previous functions’ Stack Frames that called current function are available in the Stack Trace navigator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W1yBlpuHFhQmJ1o4qnlONA.png" /><figcaption>Main Thread Stack</figcaption></figure><p>Each Thread has its own Stack with values protected from access from other Threads. This way thread safety is ensured.</p><h3>Memory</h3><p>The Memory of iOS App is just a list of bytes with data allocated by concrete addresses. Those addresses are called <strong>Address Space</strong>.</p><p>Memory consists of:<br>1. <strong>Text</strong> — machine instructions produced by Swift compiler after translating your app’s code.<br>2. <strong>Data</strong> — static variables, constants and type metadata. All global data that needs an initial value when the program is started goes here.<br>3. <strong>Heap</strong> — objects that have a lifetime, it’s mainly used for the reference type variables with some value type exception.<br>4. <strong>Stack</strong> — method parameters and function’s local variables.</p><p>The Heap and Stack grow towards each other.</p><h3>Real Example</h3><p>Let’s take a look at the real example of how Memory works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2VOgYFlQ0jJJnlh2WTkhuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ip-Dt6fW3USMpiytyECAnA.png" /><figcaption>The real example of how Memory work</figcaption></figure><p>While execution the App started in the <em>application(_:didFinishLaunchingWithOptions)</em> and then called <em>firstFunction()</em>. The <em>firstFunction()</em> created the <em>ReferenceTypeClass</em> on the Heap and created the <em>ValueTypeStruct</em> on the Stack. After that moved to the <em>secondFunction()</em>. Stack Frames of those functions stacked up on each other.</p><p>The amount of memory for each Stack Frame is determined when the program is compiled. It is important for compiler to know the exact sizes of Types in Stack. The system reserves the amount of memory required for a Stack Frame and then fills the “placeholders” with actual data as it executes.</p><p>In our case the placeholders for <em>ReferenceTypeClass</em> and <em>Int</em> were reserved.</p><p>The placeholder for <em>valueTypeInt</em> was filled with <em>22</em>.</p><p>And <em>referenceType2</em> was filled with <em>0x7f9b33c393e0</em> — a reference to the object on the Heap.</p><p>Classes are Reference Types they have a dynamic nature (they are inheritable) and therefore can’t be put in the Stack. Classes are allocated on the Heap at run time and are managed by ARC. The dynamic memory allocation on the Heap takes a little bit more time than static allocation of Stack. The Stack works very fast — there is no reference counting.</p><p>Also we can see a reference to <em>self</em> in each Stack Frame. It has an address of <em>AppDelegate</em> on the Heap.</p><p>Having the address in the variable means that when you make changes on that variable you are changing the object on the Heap.</p><p>When the last function (<em>secondFunction()</em>), which hasn’t called any other function, will finish execution, its Stack Frame with all variables will stop existence and execution will return to a previous function (<em>firstFunction()</em>).</p><h3>Conclusion</h3><p>I hope I made it very clear for you what is Heap and what is Stack.</p><p>You can actually see the Heap if you go to the Memory Graph in Xcode.</p><p>Reference Types go to Heap, only their addresses are placed in Stack Frame, and Value Types go to Stack. Well, Swift Compiler has a lot of optimisations which make Reference Types and Value Types much more complicated, but it is out of scope of current article.</p><p>Stack consists of functions’ scopes (Stack Frames) which stack up on each other in LIFO order. Each Thread has its own Stack.</p><p>If you have any questions or concerns, welcome to the comments section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97d2748d583f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Заміна ЙО та ЬО літерою О̆]]></title>
            <link>https://medium.com/@m4rk/%D0%B7%D0%B0%D0%BC%D1%96%D0%BD%D0%B0-%D0%B9%D0%BE-%D1%82%D0%B0-%D1%8C%D0%BE-%D0%BB%D1%96%D1%82%D0%B5%D1%80%D0%BE%D1%8E-%D0%BE%CC%86-22ca48bb108a?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/22ca48bb108a</guid>
            <category><![CDATA[лінгвістіка]]></category>
            <category><![CDATA[українська]]></category>
            <category><![CDATA[правопис]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Fri, 14 Sep 2018 15:21:30 GMT</pubDate>
            <atom:updated>2018-09-14T15:21:30.969Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*W2jPnVICfzqFEs265jxapw.png" /></figure><p>Пропоную замінити <strong>йо</strong> та <strong>ьо</strong> однією літерою <strong>о̆</strong> (<a href="https://en.wikipedia.org/wiki/O_with_breve_(Cyrillic)"><strong>о</strong> зі знаком стислості breve</a>).</p><p>По-перше тому, що сучасна українська мова рухається у напрямку відмови від принципу «одна літера позначає лише один звук». У новій редакції правопису, наприклад, пропонується писати «Хаям замість «Хайям», «Савоя» замість «Савойя», «фоє» замість «фойє».</p><p>По-друге слово <strong>серйозно</strong> виглядає несерйозно. Після <strong>р</strong> літера <strong>й</strong> виглядає чужерідно. Око постійно спотикається о це <strong>й</strong>!</p><p>Тож я пропоную використовувати аналог російської <strong>ё</strong>, але взяти за основу літеру <strong>о</strong>, тому що звук все ж не [е], а [о], та використати надстроковий знак.</p><p><a href="https://uk.wikipedia.org/wiki/%D3%A6_(%D0%BA%D0%B8%D1%80%D0%B8%D0%BB%D0%B8%D1%86%D1%8F)"><strong>Ö</strong></a> використовувати погана ідея тому, що вона у кирилиці вже є та вимовляється приблизно як [œ].</p><p>Набагато логічніше позначити нову літеру як стисле <strong>о</strong>, використовуючи <a href="https://en.wikipedia.org/wiki/Breve">знак стислості breve</a> ( ˘ ). Ми отримуємо <a href="https://en.wikipedia.org/wiki/O_with_breve_(Cyrillic)"><strong>о̆</strong></a>.</p><p>Далі йдуть запропоновані мною правила використання літери <strong>о̆</strong> із прикладами.</p><p>-ЙО- після приголосних заміняється на <strong>’о̆</strong>:</p><p>курйоз — кур’о̆з<br>серйозний — сер’о̆зний<br>Воробйов — Вороб’о̆в<br>Соловйов — Солов’о̆в<br>Муравйове — Мурав’о̆ве</p><p>-ЬЙО- заміняється на <strong>ьо̆</strong>:</p><p>павільйон — павільо̆н<br>мільйон — мільо̆н<br>батальйон — батальо̆н<br>бульйон — бульо̆н<br>сеньйор — сеньо̆р</p><p>-ЙО- після голосних заміняється на <strong>о̆</strong>:</p><p>район — рао̆н<br>бойовий — боо̆вий<br>знайомий — знао̆мий<br>Сергійович — Сергіо̆вич</p><p>ЙО- на початку слова заміняється на <strong>о̆</strong>:</p><p>його — о̆го<br>йод — о̆д<br>йорж — о̆рж<br>йогурт — о̆гурт<br>Йосип — О̆сип<br>Йолкіно — О̆лкіно</p><p>-ЬО- заміняться на <strong>о̆</strong>:</p><p>сьогодні — со̆годні<br>трьох — тро̆х<br>дзьоб — дзо̆б<br>дьоготь — до̆готь<br>туберкульоз — туберкуло̆з<br>кольоровий — коло̆ровий<br>попереднього — попередно̆го<br>польовий — поло̆вий<br>Дежньов — Дежно̆в<br>Оленьок — Олено̆к</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22ca48bb108a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Модернізація літери Й]]></title>
            <link>https://medium.com/@m4rk/%D0%BC%D0%BE%D0%B4%D0%B5%D1%80%D0%BD%D1%96%D0%B7%D0%B0%D1%86%D1%96%D1%8F-%D0%BB%D1%96%D1%82%D0%B5%D1%80%D0%B8-%D0%B8%CC%86-d102aa6dee29?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d102aa6dee29</guid>
            <category><![CDATA[правопис]]></category>
            <category><![CDATA[лінгвістіка]]></category>
            <category><![CDATA[українська]]></category>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Sat, 18 Aug 2018 18:41:19 GMT</pubDate>
            <atom:updated>2018-08-19T10:27:51.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*uM9QxNz39jeGO_4GSozYsw.png" /></figure><p>Роками я дивився на літеру <strong>й</strong> в українських словах та не міг зрозуміти, чому ми використовуємо літеру, котра ніяк не в’яжеться із літерою <strong>і</strong>. Я вважаю: якщо сказав <strong>і</strong> то й кажи <strong>ĭ</strong>!</p><p>Пропоную замінити ірраціональну <strong>й</strong> на логічну <strong>ĭ</strong>, бо вона є парною до <strong>і</strong>, а <strong>й</strong> — це лише данина поваги традиціям.</p><p>Але якщо у ході еволюції українського правопису для звуку [i] почали використовувати <strong>і</strong>, а для [ɪ] використовувати <strong>и</strong>, то зовсім не зрозуміло чому стисле <strong>і</strong> повинно позначатися як <strong>й</strong>.</p><p>Можна було б піти шляхом сербської (а також македонської) кириличної абетки та просто використовувати <strong>j</strong> для позначення [j]. Але я мав нагоду поексперіментувати із вживанням <strong>j</strong> у повсякденній переписці та можу сказати, що естетично це виглядає непривабливо:</p><blockquote>Вітре буjниj, вітре буjниj!<br>Ти з морем говориш, — <br>Збуди jого, заграj ти з ним, <br>Спитаj синє море.</blockquote><p>До того ж спроба вживання <strong>j</strong> в українській мові вже була у 19-му столітті, коли Михайло Драгоманов виступав ідеологом принципу “одна літера позначає лише один звук”. Його <a href="https://uk.wikipedia.org/wiki/%D0%94%D1%80%D0%B0%D0%B3%D0%BE%D0%BC%D0%B0%D0%BD%D1%96%D0%B2%D0%BA%D0%B0">Драгоманівка</a> не отримала широкого розповсюдження.</p><p>Сучасний вектор розвитку українського правопису ще більше відходить від ідеології Драгоманівки. Доказом цього є пропозиція не використовувати літеру <strong>й</strong> у обставинах де треба записати звукосполученнях [je], [ji], [ju], [ja]: Хаям замість Хайям, Савоя замість Савойя, фоє замість фойє.</p><p>Тож я продовжив пошук заміни <strong>й</strong>.</p><p>Я вирішив ретельніше підійти до питання. Чому в нас така плутанина із використанням літер? Давайте заглянемо у історію.</p><p>У староукраїнській графіці літера <strong>и</strong> вживалась паралельно з <strong>ы</strong>. Літера <strong>и</strong> перестала позначати звук [і] досить пізно. Наприклад, у альманасі <em>«Русалка Днѣстровая»</em> (1837 рік) літера <strong>и</strong> на початку слова відповідає сучасному <strong>і</strong>, тоді як <strong>и</strong> після приголосних — сучасному <strong>и</strong>. Така багатофункціональність <strong>и</strong> була типовою для багатьох правописів ХІХ століття й більш давніх часів.</p><p>Щодо літери <strong>і</strong>, то вона почала послідовно вживатися, починаючи з <a href="http://www.ukrlit.vn.ua/article/1073.html">«Грамматики Малороссійскаго нарѣчія»</a> О. П. Павловського (1818 рік).</p><p>А знак <strong>й</strong> походить з церковнослов’янської писемності XV — XVI століть, будучи поєднанням літери <strong>и</strong> і запозиченого з грецької писемності знаку стислості. Мелетій Смотрицький у своїй праці «Грамматіки славєнския правилноє Сvнтаґма» у 1619 році узаконив вживання літери <strong>й</strong>. Строге фонетичне розмежування зображень <strong>и</strong> і <strong>й</strong> виникло в українському друці початку XVII століття. І тільки потім в ході «книжної справи» часів патріарха Нікона воно перейшло в московські видання церковнослов’янських книг. Тобто саме <a href="http://karmacoma.hiblogger.net/1302679.html">в українській мові спочатку з’явилась літера <strong>й</strong></a>.</p><p>Найголовніше із цього історичного екскурсу є те, що <strong>й</strong> є поєднанням літери <strong>и</strong> і запозиченого з грецької писемності <a href="https://en.wikipedia.org/wiki/Breve">знаку стислості</a> — так званого breve ( <strong>˘</strong> ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EUb0WYZI32FDRsXpXGf54Q.png" /><figcaption>Деякі шрифти розрізняють кириличний стиль (верхній) і латинський стиль (нижній)</figcaption></figure><p>Якщо взяти <strong>і</strong> та добавити <strong>˘</strong> — отримаемо <strong>ĭ</strong>.</p><p>Тож тепер можна подивитсь як буде виглядати нова літера у вжитку:</p><blockquote>Вітре буĭниĭ, вітре буĭниĭ!<br>Ти з морем говориш, — <br>Збуди ĭого, заграĭ ти з ним, <br>Спитаĭ синє море.</blockquote><p>На підтримку моєї пропозиції щодо використання <strong>ĭ</strong> виступають <a href="http://zakon2.rada.gov.ua/laws/show/55-2010-%D0%BF">сучасні правила транслітерації</a>. По цих правилах літера <strong>й</strong> та <strong>і </strong>майже одне й те саме — вони транслітеруються у латинську <strong>i</strong>. А літера <strong>и</strong> транслітерується у латинську <strong>y</strong>. Наприклад: <em>буйний → buinyi, спитай → spytai</em>.</p><p>Судячи з усього написаного становиться очевидно, що використання <strong>й</strong> можна виправдати тільки з точки зору притримування традицій. Але українська мова не стоїть на місці. Чому б не відкинути <strong>й</strong> та почати використовувати <strong>ĭ</strong>? Я закликаю всіх зробити цеĭ маленькиĭ крок, щоб рідна мова була ще гарніша.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d102aa6dee29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Слова мають вагу]]></title>
            <link>https://medium.com/@m4rk/97fb5ab73665?source=rss-49d2c9e7167e------2</link>
            <guid isPermaLink="false">https://medium.com/p/97fb5ab73665</guid>
            <dc:creator><![CDATA[Anton Kaliuzhnyi]]></dc:creator>
            <pubDate>Sun, 05 Oct 2014 02:14:16 GMT</pubDate>
            <atom:updated>2014-10-05T20:47:22.891Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FitvnQ2QB4yc%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DitvnQ2QB4yc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FitvnQ2QB4yc%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cad791f110f4afd32efbb2c747473785/href">https://medium.com/media/cad791f110f4afd32efbb2c747473785/href</a></iframe><p>Я хотів би висловити свою думку про те, що слова пісень зараз або гарно звучать або вони мають сенс.</p><p>Зараз дуже мало гарно звучащих пісень, тому що ті хто їх писали бажали висловити свої думки але вони забули про рифму.</p><p>Послухайте будь-яку пісню на М1 ТБ. Вони звучать наче пісні але автори не мали достатньо таланту аби висловити професійно те, що мало бути донесено до слухача.</p><p>Цей хлопец висловив свою думку у пісні так, що слухаючі його твір ти розумієш, що це потік його думок, але це все ж таки рифмована творчість, а не “висєр” якогось, так званого поета, який заробляє гроші написанням віршів для відео-кліпів.</p><p>Я хочу сказати, що є якісна різниця між махровою попсою та якісною музикою на кшталт Басти. Коли він читає, аж дух перехоплює. Оце сімбіоз смислу та стихотворчості!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXmpPdFXQmT8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXmpPdFXQmT8&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FXmpPdFXQmT8%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1b81d22abfca1696c1ee0c055b9892b6/href">https://medium.com/media/1b81d22abfca1696c1ee0c055b9892b6/href</a></iframe><p>Кожен рядок наповнен змістом! Можна вирвати будь-яку фразу і вона буде мати сенс.</p><p>Можна ж наповнити пісню змістом не задаваючи шкоди ліричності.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97fb5ab73665" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>