<?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 Igor Rinkovec on Medium]]></title>
        <description><![CDATA[Stories by Igor Rinkovec on Medium]]></description>
        <link>https://medium.com/@igorrinkovec?source=rss-bfdd4c2072b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LAjOnqhPbAb9DYCXOq9Ywg.png</url>
            <title>Stories by Igor Rinkovec on Medium</title>
            <link>https://medium.com/@igorrinkovec?source=rss-bfdd4c2072b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 07:05:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@igorrinkovec/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[Why Tabs VS Spaces Debate Is Pointless]]></title>
            <link>https://medium.com/@igorrinkovec/why-tabs-vs-spaces-debate-is-pointless-4b6e60d65b88?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b6e60d65b88</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding-style]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Sat, 24 Mar 2018 11:34:34 GMT</pubDate>
            <atom:updated>2018-03-24T11:34:34.116Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YDn9JcCO_XDyAsmSb3xJMw.jpeg" /></figure><p>The infamous “tabs vs spaces” debate is as old as the internet itself. It often occurs between groups of polarized developers violently defending their own side. Stack Overflow even made an analysis of their Developer Survey and determined that <a href="https://stackoverflow.blog/2017/06/15/developers-use-spaces-make-money-use-tabs/">developers who use spaces earn more</a>. (<a href="https://en.wikipedia.org/wiki/Correlation_does_not_imply_causation">CDNIC</a>)</p><p>Silicon Valley made a great scene about this infamous debate which will really illustrate my point going forward.</p><p><a href="https://www.youtube.com/watch?v=SsoOG6ZeyUI">https://www.youtube.com/watch?v=SsoOG6ZeyUI</a></p><h3>What’s this whole thing even about?</h3><p>When this debate gets sparked in some developer dense groups it is often not specified what people are even debating about. There are two kinds of ways to think about it:</p><ul><li>Pressing the SPACEBAR key or pressing the TAB key to indent code</li><li>Using multiple SPACE characters or a single TAB character to indent code</li></ul><p>I think this loose specification is the spark plug to every debate. Pressing a key four times, instead of once, is insane in most developers minds. We are all lazy/efficient and <strong>this creates the dedicated TAB group</strong>. However, the TAB character has some considerations on how it is displayed on various IDEs and this creates <strong>the dedicated SPACE group</strong>. And then there are the lunatics that just prefer to press one key multiple times for a simple task — I have no explanation for those.</p><p>This starts the flame war, each side has a large logical reason in their head for why they are right and can’t imagine someone would think otherwise. But, apart from the lunatics, both are right, they just answer a different part of the debate.</p><p>So let’s be reasonable. We developers are highly logical beings after all.</p><h3>The Key Pressing Debate</h3><p>Let’s first discuss the “which physical key are you pressing” debate. This is separate from the other part of the debate since all IDEs have an option of you choosing what does your TAB key do. Does it insert X spaces, or does it insert a single TAB character?</p><p>I think a reasonable answer here is clear: <strong>Why would you want to press the SPACEBAR key X times if you can press the TAB key once. </strong>Unless you have a fetish for slamming your keyboard and it helps you relieve stress, you will probably press the TAB key.</p><h3>The Character Debate</h3><p>This part of the argument is sometimes considered the tricky one.</p><p>The TAB character takes X times (X being the number of spaces you would use) less space on the disk. It is considered a single character that is just wider than others. However, because of this, different environments and machines will display this character differently which means your code will look different to different people.</p><p>The SPACE character does not have this problem, it will look the same on every single machine, but will take up more memory for the source code. We do indent stuff pretty often when developing software so the memory difference can really add up.</p><h3>What to pick?</h3><p>Both sides have a pretty logical reason behind their choice. But does it really matter? Do you think the environment difference is such a huge problem? Each developer can choose how large their indentation space will be. Does the memory difference make a difference? Yes, but we live in the age where memory is really cheap and a couple of spared megabytes aren’t really a big deal.</p><p><strong>So who cares which is better? The most important thing is that you pick a side and you and your team use it consistently across the project. There is nothing worse than mixing SPACES and TABS in a single file. That WILL cause serious maintainability issues. Picking a side and sticking to it WON’T.</strong></p><p>Originally posted on <a href="https://rinkovec.com/why-tabs-vs-spaces-debate-is-pointless/">Rinkovec.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b6e60d65b88" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VAŽNO: FINA e-mail ovrha]]></title>
            <link>https://medium.com/@igorrinkovec/va%C5%BEno-fina-e-mail-ovrha-c22f8d931e3?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c22f8d931e3</guid>
            <category><![CDATA[ransomware]]></category>
            <category><![CDATA[croatia]]></category>
            <category><![CDATA[fina]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Fri, 15 Dec 2017 14:52:52 GMT</pubDate>
            <atom:updated>2017-12-25T10:10:50.595Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nyvnlvwBbh-UeE7jwFnnw.jpeg" /></figure><p>Danas je počeo kružiti e-mail s <strong>fina.online</strong> domene koji tvrdi da je na vašem računu pokrenuta ovrha i daje link na “.PDF” datoteku. Ta PDF/EXE datoteka je maliciozna te sadrži tzv. ransomware koji vam oduzima pristup od podataka dok ne uplatite neku svotu — u ovom slučaju 2000 EUR te se svakim danom udvostručava.</p><p><strong>Ukoliko primite ovakav mail odmah ga obrišite, te podjelite ovaj članak s svima koji imaju pristup važnim podatcima u vašem poduzeću kako bez njih ne bi ostali.</strong></p><p>Primjer maila:</p><blockquote>— — — — Izvorna poruka — — — — <br>Šalje: “<a href="http://fina.hr/">FINA.hr</a>” &lt;<a href="/service/mailto:tomislav.horvat@fina.online">tomislav.horvat@fina.online</a>&gt;<br>Datum: 15.12.2017. 12:31 (GMT+01:00)<br>Naslov: Elektronička obavijest o pokretanju ovršnog postupka</blockquote><blockquote>Poštovani,<br>temeljem članka 3. Ovršnog zakona (NN 112/12, 25/13, 93/14, 55/16,<br>73/17), točka 6., obavještavamo Vas o pokrenutnom ovršnom postupku.<br>Prijedlog ovrhovoditelja možete preuzeti putem sljedeće poveznice:<br>https://www.fina.online/ovr/uklonjeno-zbog-sigurnosti.pdf<br>Napominjemo da možete, sukladno članku 162. Ovršnog zakona, točna 2.,<br>nakon što primite rješenje o ovrsi, predložiti odgodu ovrhe iz razloga<br>navedenih u članku 65. Zakona. O prijedlogu za odgodu ovrhe podnesenom u<br>roku za žalbu protiv rješenja o ovrsi sud će odlučiti u roku od 8 dana<br>i, ako prihvati taj prijedlog, rješenje o odgodi odmah dostaviti Agenciji<br>u pisanom otpravku, a u slučaju potrebe priopćiti i telefaksom,<br>elektroničkom poštom ili na drugi pogodan način.</blockquote><blockquote>Srdačan pozdrav<br>Tomislav Horvat</blockquote><blockquote>FINA — Financijska agencija<br>Sektor financijskih i elektroničkih usluga<br>Ovršni odjel<br>Ulica grada Vukovara 70, 10 000 Zagreb<br>tel 01 6127 016<br>fax 01 6127 021<br><a href="/service/mailto:tomislav.horvat@fina.hr">tomislav.horvat@fina.hr</a><br><a href="http://www.fina.hr/">www.fina.hr</a></blockquote><p>Sada krećem u par tehničkih informacija o samom ransomwareu za sve zainteresirane.</p><h4>Način zaraze</h4><p>Zaraza se odvija putem linka u e-mailu koji otvara preuzimanje PDF-a ukoliko koristite podržani OS. PDF će se preuzeti samo na desktop verziji Windows operativnog sustava te će na mobilnim telefonima i ostalim platformama prikazati greške da koristite nepodržani uređaj.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ZEI39Qq_y43RJg82cQkKw.png" /><figcaption>Ova druga je posebno zabavna! 😂</figcaption></figure><h4>Funkcija malicioznog koda</h4><p>Ključ za kriptiranje se preuzima s <a href="https://www.fina.online/ovr/a.php">https://www.fina.online/ovr/a.php</a> nakon pokretanja te se podatci kriptiraju.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QpKitPYoy22zNYyGkkpqyg.png" /><figcaption>Dost dobar Ransomware, bravo Godra (Drago ?)! -.-</figcaption></figure><p>Nakon kriptiranja, pojavljuje se klasična ransomware poruka koja daje upute o plaćanju otkupnine od 2000 EUR putem Bitcoina na sljedeću adresu: <a href="https://blockchain.info/address/13srq1SP93mEs7asR2UxWBUts3x9oUcuac">13srq1SP93mEs7asR2UxWBUts3x9oUcuac</a> Na sreću još nema uplata na tu adresu što znaći da napadač nije uspješno zaradio ni lipe. Naravno, to ne znači da ne postoje ljudi koji su već zaraženi.</p><h4>Reakcija</h4><p>Domena je hostana na namecheap.com (naravno iza WhoisGuard) te je prijavljeno njeno maliciozno korištenje njihovoj abuse službi.</p><p><strong>UPDATE (18.12.) </strong>— nakon samo 72 sata nakon prijave (sarkazam) namecheap je suspendirao korisnika te više nije moguće pristupiti linku u mailu te se zaraziti. Još čekam odgovor ukoliko će mi dati pristup bazi podataka kako bi se zaražena računala otključala.</p><p>Sam payload je hostan na Dropboxu (bravo Godra genije) te je isti i tamo reportan kao maliciozni kod što bi trebalo spriječiti daljnje zaraze nad već poslanim mailovima čim se ukloni na neko vrijeme dok Godra ne updatea svoj state-of-the-art web. Za to vrijeme se nadam da će i Namecheap reagirati i ukloniti maliciozni web u potpunosti.</p><p><strong>UPDATE (25.12.) — </strong>Namecheap je odgovorio da ne mogu pružiti bazu podataka bez sudskog naloga. Ukoliko trebate otključati svoje podatke javite se CERT-u koji bi vas trebali uputiti u pravom smjeru.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3XBM1NyWhk3WBt0cypIwfQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c22f8d931e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stanje dostavnih službi u Hrvatskoj]]></title>
            <link>https://medium.com/@igorrinkovec/stanje-dostavnih-slu%C5%BEbi-u-hrvatskoj-d289ae7e76a6?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d289ae7e76a6</guid>
            <category><![CDATA[dostava]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[hrvatska]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Wed, 30 Aug 2017 10:56:51 GMT</pubDate>
            <atom:updated>2017-08-30T10:56:51.487Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6DsSgw5pq7Tc0voY5yVnVA.jpeg" /></figure><p>Svatko tko je imao doticaja s kurirskim službama u Hrvatskoj zna da stanje nije idealno. Usluge dostave su često skupe, no još veći problem od toga je što ta cijena ne opravdava kvalitetu usluge koju pružaju.</p><p>Iz ovog razloga krenuo sam istraživati tržište za novim alternativama dostave koje bi mi mogle pomoći oko navedenih problema.</p><p><strong>Kako bi olakšao pisanje i čitanje ovog članka, sve navedene cijene ću navoditi za pakete s kojima najviše poslujem — onima ispod 2 kilograma. Isto tako radi se o dostavama unutar kontinentalne Hrvatske (isključujući otoke).</strong></p><h3>Overseas Express</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fOc90jhW2zHI4tpx5RE2yA.png" /></figure><p>Overseas je primarni krivac moje potrage za alternativnim dostavnim službama. Suradnja s Overseasom u mom ustima uvijek ostavlja gorak okus. Bilo sa strane pošiljatelja ili primatelja, Overseas uvijek uspije na neki način iznevjeriti.</p><p>Usluga dostave i preuzimanja paketa je vrlo nepredvidiva. Često sam dolazio u situaciju da se moram boriti s njima samo da pokupe paket, a dostava nerijetko kasni dan ili dva. To kašnjenje ne zvuči užasno, no ako uzmemo u obzir činjenicu da je Overseas jedan od najskupljih dostavljača na tržištu ovo je jednostavno nedopustivo.</p><p>S korisničkom podrškom imam samo najgora iskustva — daleko najgore iskustvo od bilo kojeg poduzeća s kojim sam ikad komunicirao. Da bi uopće došli do agenta morate čekati između 15–30 minuta što dovodi do zaključka da imaju daleko premalo osoblja u tom sektoru. Čak imam dojam da posao obavlja jedan agent s obzirom koliko sporo se kreće “lista čekanja”. Svaki agent s kojim sam dosad razgovarao je bio krajnje neljubazan, kao da sam probudio nekog usred noći pa me se želi čim prije riješiti bez imalo želje da poprave problem.</p><p><strong>Cijena: </strong>39–44kn<strong><br>Review poduzeća na Google Places: </strong>1.6/5<br><strong>Prednosti:</strong> (dugo sam razmišljao o ovome, no stvarno mi ništa ne pada na pamet)<br><strong>Mane: </strong>loša korisnička podrška, česti problemi s dostavom, visoka cijena</p><h3>GLS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o5eJnNd2WTIy-IoAFDG9sQ.png" /></figure><p>U zadnje vrijeme dosta poslujemo s GLSom, i moram reći da sam stvarno zadovoljan. Dostavljači stižu na vrijeme i zasad nismo imali problema sa paketima. Upravo iz ovog razloga nismo ni imali iskustva s njihovom korisničkom podrškom — a to je upravo ono što očekujem od kurirske službe.</p><p>Obavljaju točno ono što su rekli da hoće i nema potrebe za dodatnim gubitkom vremena rješavajući njihove probleme.</p><p><strong>Cijena: </strong>36kn<strong><br>Review poduzeća na Google Places: </strong>3.9/5<br><strong>Prednosti: </strong>nikad problema, dostava i pokupljanje paketa se vrši točno onako kako je dogovoreno<br><strong>Mane: </strong>cijena za pakete s otkupnom vrijednošću</p><h3>Tisak paket</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ns_UrpIx4uE8iYEpytDg_A.png" /></figure><p>Usluga Tisak Paket je po mom mišljenju jedna od najgenijalnijih poteza ove kompanije. Mogu bolje iskoristiti svoje transportne kapacitete a pritom pružaju odličnu uslugu svojim klijentima. Ovo je daleko najjeftiniji način dostave u Hrvatskoj trenutno te ga čini idealnim za slanje pošiljaka manje vrijednosti.</p><p>Tamo gdje Tisak Paket kaska su paketi visoke vrijednosti, paketi s otkupninom te paketi koji moraju biti dostavljeni u određenom vremenskom okviru. Naravno, ovo im osobno ne mogu zamjeriti jer usluga ima odličnu vrijednost za novac. Uz to nužno je napomenuti i da im paketna dostava nije core business pa je iznad navedeno teško za očekivati.</p><p><strong>Cijena: </strong>15–25kn<strong><br>Review poduzeća na Google Places: </strong>n/a<br><strong>Prednosti: </strong>najjeftiniji na tržištu, dosad nismo imali problema, naplaćuju po volumenu a ne po težini<br><strong>Mane: </strong>dostava isključivo na kioske tiska, nema mogućnosti otkupnine, manjak osiguranja za vrijednije pakete</p><h4>U krivu si! Ja imam potpuno drugačije iskustvo s XXXX! / Zašto na listi nema XXXX?</h4><p>Ovo je članak isključivo s osobnim iskustvima. Nažalost, još nisam imao prilike isprobati DPD, imam limitirano iskustvo sa HP Expressom te možda za neke paketne dostave još nisam ni čuo.</p><p>Ovdje nastupate VI! Ostavite svoja iskustva u komentarima ispod, a ja ću prvom prilikom ovaj članak nadograditi sa informacijama koje tako prikupim.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d289ae7e76a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tracking Dropped MailGun E-mails With IFTTT]]></title>
            <link>https://medium.com/@igorrinkovec/tracking-dropped-mailgun-e-mails-with-ifttt-25c162ec5792?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/25c162ec5792</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[ifttt]]></category>
            <category><![CDATA[mailgun]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Wed, 26 Apr 2017 15:05:23 GMT</pubDate>
            <atom:updated>2018-03-19T17:36:16.740Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever since Mandrill went paid-only, for my light transaction e-mail usage I have been using MailGun. Love the service, except for one little thing: <strong>You do not have a way to get notified of bounced e-mails.</strong></p><p>Dropped e-mails are a big deal, and they should be treated as such. I have been getting a 23% bounce rate for weeks without even noticing. If it wasn’t for a client that contacted us again saying they haven’t heard back, I don’t even know when I would detected the problem.</p><p>After the problem is fixed, I need to work on a way to prevent it from happening in the future.</p><h3>Tracking Dropped MailGun E-mails</h3><p>Currently, the only way of tracking dropped e-mails on MailGun is using their awesome <a href="https://app.mailgun.com/app/webhooks">webhooks</a> functionality. They are great because you can react to the event any way you want, but on the other hand, you need to spend extra time setting it up.</p><p>Since I am way too lazy to write my own script and host it somewhere just to notify me of dropped e-mails. I started the search for a 2-click solution which ended up taking longer then if I had decided to write the script on my own.</p><h3>IFTTT To The Rescue</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*EY7o0wF07pF-QVNUa5O9pA.png" /></figure><p>If you have been on the internet for a while, you must have heard of <a href="https://ifttt.com/discover">IFTTT</a>. It is a service that allows you to react to any of the hundreds of triggers, with any of the hundreds of actions.</p><p>In it’s core, the concept is simple. But all possible trigger-action combinations are what make this platform amazing.</p><h3>How to set up dropped mail notifications?</h3><ol><li>Sign up for <a href="https://ifttt.com/discover">IFTTT</a>.</li><li>Go to <a href="https://ifttt.com/my_applets">My Applets</a> and create your own.</li><li>Choose the “Maker Webhook” trigger:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*3QeYTTUqV6QEGP59ITl31g.png" /></figure><p>4. Choose “Receive a web request” and enter a unique name:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*1q632lP4MEk7b5lv6fMk_A.png" /></figure><p>5. The action is the part of our Applet that lets us know that an e-mail was dropped. Pick an action that works the best for you. (I recommend Notification, SMS, or triggering a loud siren with red flashing lights using your smart house system)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*PA2Gc0dMsDaxetYSpCBBnA.png" /></figure><p>6. Applet finished, lets deal with the webhook.</p><p>7. If you visit the <a href="https://ifttt.com/services/maker_webhooks/settings">Maker Webhook settings</a> you can find your unique webhook URL.</p><p>8. Visit that URL and copy the trigger URL and replace the “{event}” placeholder with the event name you defined in step 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OK11fsR3g6izPPwGa3U1wA.png" /></figure><p>9. Open the <a href="https://app.mailgun.com/app/webhooks">MailGun webhook settings</a> and add a webhook with the URL from the previous step for the dropped delivery event.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*6YoSEsPSEAhS4_1VAWMi6g.png" /></figure><p>10. Install the <a href="https://ifttt.com/products">IFTTT mobile app</a> if you have chosen the <strong>Notifications</strong> action as the means of delivering the info to you as I did.</p><h4>All done! Now you will be notified of every single dropped e-mail so you can react accordingly.</h4><p>Originally posted on <a href="https://rinkovec.com/tracking-dropped-mailgun-e-mails-ifttt/">Rinkovec.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25c162ec5792" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Persisting Swift Enumerations With Realm.io]]></title>
            <link>https://medium.com/@igorrinkovec/persisting-swift-enumerations-with-realm-io-dab37cd98bcd?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/dab37cd98bcd</guid>
            <category><![CDATA[realm]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Thu, 23 Jun 2016 09:33:29 GMT</pubDate>
            <atom:updated>2016-11-01T09:26:56.467Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rRSKF-qNIuqbWEBlSpvTwQ.png" /></figure><p>Swift enums are a great way to give semantic meaning to attributes that are not self-explanatory. If used right they provide us with a much more readable codebase and a way to quickly choose a right value without reviewing the documentation.</p><p><strong>Which would you prefer?</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/133f5fba01909e57ce9f7fb46daa1296/href">https://medium.com/media/133f5fba01909e57ce9f7fb46daa1296/href</a></iframe><p>The latter tells the whole story right away, doesn’t it? However, since it is a custom enum and not an atomic type Realm can not store it right away. But fear not, this can be easily fixed!</p><h3>How to store enums with Realm</h3><p>The idea here is to provide custom getters and setters for our enum and store an atomic representation in Realm.</p><p>This is our example enumeration which enumerates all task types:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f39c9b2358cc0a4ecb83b4ecf86f780b/href">https://medium.com/media/f39c9b2358cc0a4ecb83b4ecf86f780b/href</a></iframe><p>Now, since we can’t store the TaskType object in our Realm storage we have to store some kind of an identifier that we can later translate to an enum representation.</p><p>TaskType is conveniently an enumeration of Ints which means we can just store its rawValue. If we, however, have an enumeration of a type that Realm does not support (such as UInt) we may opt to store an index of the enumerated value or assign each with an identifier that we can store.</p><p>To store the representation we will create a private variable that will contain the identifier and a public variable (which Realm will not try to persist) with a set of accessors to manipulate with the persisted variable accordingly.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/64bb20f677f7febbfe0f8c744e7d3d22/href">https://medium.com/media/64bb20f677f7febbfe0f8c744e7d3d22/href</a></iframe><p>As you can see, we kept the privateType which is compatible with Realm private to make sure we use the type variable that supports our enumeration.</p><p>The defined getters and setters for the type variable are in charge of translating the stored identifier to our enumeration and vice-versa.</p><p><em>Originally published at </em><a href="http://itworkslocal.ly/persisting-swift-enumerations-with-realm-io/"><em>itworkslocal.ly</em></a><em> on June 23, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dab37cd98bcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Word Clouds From Facebook Page Comments]]></title>
            <link>https://medium.com/@igorrinkovec/creating-word-clouds-from-facebook-page-comments-acb2f4c82f10?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/acb2f4c82f10</guid>
            <category><![CDATA[social-media-infographics]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[word-cloud]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Mon, 08 Feb 2016 14:32:38 GMT</pubDate>
            <atom:updated>2018-03-19T17:35:00.992Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a lot of talk of political polarisation in the USA, the large reason for it is <strong>media splintering</strong>. Basically, different media sources are more biased to different political views (liberal vs conservative) and the public is only reading those that correspond to their own views, therefore reinforcing their views even more. This makes both sides to creep closer to the extreme left or extreme right idea.</p><p>This is also true for Croatia and probably most developed countries in the world. So it sparked an idea in my mind. <strong>How can I determine which Croatian media is leaning to which side of the political spectrum?</strong> If the above thesis is correct, I should be able to get a profile of a certain media by profiling the people that are reading (and commenting) their content.</p><p>To do this right (fast and without breaking the API limit), I had to go trough a lot of trial&amp;error. Fetching the comments requires a bunch of individual calls because you have to fetch them post by post. This often reaches the Facebook API call limit, which stops you from doing any more requests for around 15-ish minutes. But Facebook offers a lovely feature called <strong>batch API calls</strong>. Basically, they allow you to make 50 API calls at once, by sending a single request containing 50 serialized requests and return them all at once.</p><p>All of this was used to create a small PHP CLI tool which I open-sourced <a href="https://github.com/TheWildHorse/FacebookCommentsWordcloud">here</a>.</p><h3>Building The Word Cloud</h3><p>Now that I acquired all data that I need, it was time to create some awesome looking word clouds. By using a great Python library called <a href="https://github.com/amueller/word_cloud">word_cloud</a> I managed to get pretty nice results.</p><p>Once again, this is also open-sourced <a href="https://github.com/TheWildHorse/FacebookCommentsWordcloud">here</a> so you can check out how to build your own.</p><h3>Results</h3><p>I’m not completely happy with how the results came out. Since I didn’t have enough time to play with stop-words and get a larger comment sample, I could not really tell where does the specific media lean on the political spectrum. I am sure it would show a lot more if I played around with the configuration. That being said, I have to admit that the results do look pretty sexy.</p><p><strong>Why don’t we check out the results?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8pgK6D5ugQ9vpWEb.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zySGq2XwPNosfkMF.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UMha2EpxDl0x17Uq.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fXBbkNtINv0xWBBZ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eL8rRA9HLCQ1f7zI.png" /></figure><p>The last one is Croatian satire portal (similar to The Onion), and this is my favourite one because that becomes so obvious from the cloud. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AlYbafmqIcEntSf2.png" /></figure><p><em>Originally published at </em><a href="https://rinkovec.com/creating-word-clouds-facebook-page-comments/"><em>rinkovec.com</em></a><em> on February 8, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acb2f4c82f10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I’m Writing 10 Lines Of Code A Day For 59 Days]]></title>
            <link>https://medium.com/hackernoon/i-m-writing-10-lines-of-code-a-day-for-59-days-872a567d33d8?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/872a567d33d8</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Sat, 16 Jan 2016 19:00:18 GMT</pubDate>
            <atom:updated>2016-01-16T19:06:42.840Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*URVGHzgLcXupkhR7Vhf_PA.jpeg" /></figure><p><strong>I procrastinate.</strong> I do it more often than I would like to admit. My procrastination time isn’t all that poorly used. Usually, I just make something cool or do an errand I have been avoiding for a long time. But it keeps me away from doing actual work I have set on myself, and that in return keeps me from achieving my goals.</p><p>As it always is the way this time of year, I decided on my New Year’s resolution:</p><blockquote>I am writing at least 10 lines of code a day for 59 days</blockquote><h4>Why such a specific goal?</h4><p>Simple, vague goals don’t work. I learned that on my own, from countless failed resolutions so far. I want to keep my goal <a href="https://en.wikipedia.org/wiki/SMART_criteria">SMART</a>.</p><p>My New Year’s resolution may seem a bit odd at first. <br><em>10 lines? What can you do with 10 lines?</em></p><p>It is just an arbitrary number to get me started. I will have to open up my IDE, find something to work on, and then start implementing it. Those 10 lines are just there to keep me from cheating out and changing one line to feel good about myself — without doing actual progress. I will probably write more than 10 lines when I get trough the overhead of actually starting. At least, that is what I am betting on. :)</p><h4>Why did you write this blog post?</h4><p>I need a mechanism to stop me from giving up. <strong>I will be making a development diary along the way.</strong> Every single day for those 59 days (2.1.2016. to 29.2.2016.) I will be making an update post about my progress. Even if all I did that day was make a few small UI changes, I will still make a diary for that day.</p><p>Many development diaries already exist online, and most of their authors noted one thing. <strong>Feeling like you are being watched by random strangers online keeps you from slacking.</strong> Even though there may not be many people actually reading my updates, I am hoping this will be enough motivation to keep me going. Just in case it won’t be, I have a backup plan.</p><p><strong><em>If I miss a day before the challenge is over I will also donate about 500 HRK (about 100 USD) in dog food to a local animal shelter.</em></strong></p><h4>Follow my progress</h4><p>The diary for each day will be posted on <a href="http://itworkslocal.ly/">ItWorksLocal.ly</a> under the <a href="http://itworkslocal.ly/tag/59dayschallenge/">59DaysChallenge</a> tag. If you want to check out the cool things I build every day you can like the <a href="https://www.facebook.com/Itworkslocally-1647048458888246/?fref=ts">ItWorksLocal.ly Facebook page</a> or subscribe to our <a href="http://itworkslocal.ly/rss/">RSS Feed</a>. :)</p><h4>The Idea</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ENbn0vWY6ZGkeaFQQWT_Dg.png" /><figcaption>A real screenshot of the app after just 12 days. :)</figcaption></figure><p>I will build an app that allows graphic designers to automate the process of generating watermarked low-resolution preview images from their source files (.ai, .psd, .svg and similar). The app should allow for a more streamlined feedback process and would handle all of the neccessary file conversions and offer the client ways to leave feedback.<br>I will start from a really basic concept — the image conversion itself. The features implemented after it will be decided by your feedback on my posts or by what I feel is the next logical advancement to the product development.</p><p>You can check out the live state of the app at <a href="http://serene.li/">Serene.li</a>. New updates every day!</p><p><strong>Have a productive new year!</strong></p><p>This article was originally published on <a href="http://itworkslocal.ly/i-am-writing-10-lines-of-code-a-day-for-60-days/">ItWorksLocal.ly</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=872a567d33d8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/i-m-writing-10-lines-of-code-a-day-for-59-days-872a567d33d8">I’m Writing 10 Lines Of Code A Day For 59 Days</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stay In “The (Tech) Loop”]]></title>
            <link>https://medium.com/@igorrinkovec/stay-in-the-tech-loop-1b4881c9d750?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b4881c9d750</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Wed, 06 Jan 2016 00:13:51 GMT</pubDate>
            <atom:updated>2016-11-01T09:04:50.268Z</atom:updated>
            <content:encoded><![CDATA[<p>Do you ever have moments in the day that are <strong>too short to do any real work, but too long to ignore</strong>? I am talking about moments like waiting for your bus, a gap between lectures or waiting for someone in the car. Yea, we all click random stuff on our phones and refresh the e-mail client even though we get our e-mail pushed to us. But not anymore! I always try to find new ways to fill in those gaps with something useful and this is how I found out about <a href="http://usepanda.com/">UsePanda</a>.</p><h3>What is it?</h3><p>It is a news and inspiration aggregator for dozens of tech sites/blogs. Whether you are a UI gal, a UX guru, want to find cool stuff on GitHub, or like to read the latest cool lifestyle posts, chances are you will love what <a href="http://usepanda.com/">UsePanda</a> has to offer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wCZvlF5Aow5vnc71.png" /></figure><p>It is easy to get started. Visit <a href="http://usepanda.com/">UsePanda</a> and choose a platform you want to UsePanda on (Web, Chrome extension, iOS). After you get to your dashboard you will have a choice of different content sources to choose from. Pick your favourites and start reading.</p><h3>Learn On The Go</h3><p>If you own a iOS device you can download the <a href="http://apple.co/1O23pGP">UsePanda app</a> from the iTunes App Store. That way you can learn about new projects, technologies, ideas and inspire your creative work wherever you go.</p><p><em>Originally published at </em><a href="http://itworkslocal.ly/stay-in-the-tech-loop/"><em>itworkslocal.ly</em></a><em> on January 6, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b4881c9d750" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PHP Developer Becomes MEAN For A Day]]></title>
            <link>https://medium.com/@igorrinkovec/php-developer-becomes-mean-for-a-day-f1a20a9204b3?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1a20a9204b3</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Tue, 29 Dec 2015 19:05:00 GMT</pubDate>
            <atom:updated>2016-11-01T09:26:52.897Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BYRIHvbAEl_sJtaee6RX7w.png" /></figure><p>A couple of friends and I have a tradition of weekly movie nights, and while they always are a blast, we end up spending the whole week choosing what movie to watch. It is easy choosing one with a group of 2–3 people, but when that people count gets a bit bigger, it can really be a tedious process. Someone will always either hate the movie or has already watched it. We all have our own tastes after all, and they should be taken into account when deciding on what will a couple of your hours be spent on.</p><p><strong>What to do about this “huge” problem?</strong> <br> As it always is the case, when I have some college work to do, or just some errands to run <strong>I tend to procrastinate. I usually do that by making up a non-existent problem, and solving it myself</strong>. While the above written <em>is</em> a problem, solving it may have been a bit of an overkill. :) Nevertheless, I love exploring new technologies and frameworks so I couldn’t resist doing so.</p><h3>Why (so) MEAN?</h3><p>Everyone talks about it like it is <strong>the next big thing after sliced bread</strong>, and the hype has been going on for a while, which in the world of JavaScript frameworks is something that usually happens for a short amount of time before it is replaced by the next big thing once again. Influenced by the old proverb, I decided to check what is happening for myself.</p><blockquote><em>Where there’s smoke, there’s fire.</em></blockquote><p>As you could probably guess from the title, <strong>I am a PHP developer</strong>. Not one of those stuck in the ways of old horrible legacy PHP, but one that tries to follow all modern trends if I find them beneficial to my workflow and the product. As with any developer that has made any web applications on their own, I am also pretty familiar with JavaScript, not anywhere near being an expert, but I have written quite a few lines of JavaScript and console.log-ed way too many statements to figure out what the hell is wrong with my conditional. I have, until this point, never used a JS framework on the backend and my frontend was usually limited to bits and pieces I needed to get the job done and not a full-fledged framework such as AngularJS.</p><p>So, how was it developing a (small) application in technologies built on different principles. What did I end up liking, and what would I change?</p><h3>What I like about MEAN</h3><h4><strong>1. Quick setup</strong></h4><p>When starting a new small to medium size project in my everyday work, I usually go to Laravel5 as my framework of choice, and I really do love its simplicity. But once in a while, I have to create a trivial web application, just a couple of simple endpoints which are then consumed by some other frontend application. This makes me furious, because I have to spend about 10 minutes just setting up the project locally. I have to create a new project, install composer packages, edit my Vagrant config, restart and provision the Vagrant machine, edit the hosts file, modify the Laravel config and generate needed keys, create the MySQL database and the list goes on… <strong>All of this for 2 endpoints? Which don’t even use 0.5% of the frameworks features?</strong></p><p>Setting up my MEAN app was the simplest thing imaginable, run NPM install, create a file, click a button in WebStorm to start the server and off I go. Pushing it to production even easier, git pull, PM2 start, a new nginx config file and voila, my work is available for the world to see. Not only is the setup process easy, but the app with the same basic functionality takes up 3x less space without the huge framework overhead. This is achieved by using only the packages you need, without including everything ”just in case” out-of-the-box.</p><h4><strong>2. Vibrant community</strong></h4><p>We all know that iPhone “There is an app for that!” slogan, which is really true because you can find an app for anything your heart really desires on the App Store. NodeJS should have a slogan of their own:</p><blockquote><strong>There is a package for that</strong>!</blockquote><p>Any problem you have, there is probably a poor soul out there that did all of the hard work for you. All you need to do is install it with NPM. Not only that, but you will probably have a couple of alternatives as well. With every obvious problem you might had already asked in some obscure Stack Overflow thread.</p><h4><strong>3. JavaScript on both sides</strong></h4><p>When reading a lot of the materials online where people were praising MEAN as the best thing in the Milky Way galaxy, an argument often used is that you don’t have to learn two languages, you can just learn one (albeit a <a href="https://www.destroyallsoftware.com/talks/wat">quirky</a> one). I always found this argument a bit bullshitty, because if you know one programming language, picking up another one is pretty easy, unless you don’t really know the first one after all.</p><p>However, when doing some work, I found myself copying the code between the server and the client (mainly when trying to access some object attribute fairly deeply nested). Which isn’t that big of a deal, but it is cool how easy it is to do so and can see it as an real asset in everyday work.</p><h3>Things I did NOT like</h3><h4><strong>1. Lack of forced structure</strong></h4><p>This is the first thing that scared me. Even though I found the project initialization easy and listed it as a huge perk, <strong>I found the lack of file structure and the whole “clean slate” thing a bit scary.</strong> When you initialize a project, you get nothing, you can set it up as simple or as complicated as you wish. This is cool, but I imagine myself working with a team of people, or even checking my own code after a couple of months/years. I would be lost! There is no mechanism to help you get organized, no guideline which you can follow if you want to find a specific piece of code in projects written by other people. In a framework like Laravel, if you want to change something on the view, you know exactly which folder to look into. Need to change some business logic? Probably in the model. Unless the developer got out of their way to fuck your day up, you will probably find what you are looking for in the logical place.</p><p><strong>Mongo suffers from this problem by design.</strong> It is a database without a firm structure which all entries need to conform to. This is cool, because I can put my dead cat in the database if I really put my elbows into it, but will eventually lead to some kind of bug, unless you, of course, worry about that structure yourself and create some kind of mechanisms to prevent errors. But, don’t we then lose a part of its whole point?</p><h4><strong>2. Deprecation and abandonment</strong></h4><p>I have a feeling that there is more time being spent on developing new JS frameworks and tools then doing actual work with them. Even though this is really good because the technologies keep developing and new cool stuff ends up being made, it also makes things become uncool really fast and the development on them abandoned. <strong>Which sane project manager would decide to use a tool/framework for any serious projects if there is a chance it will become obsolete in two weeks</strong>, before the product is even built.<br>This isn’t only the problem with small/unused frameworks, Angular was extremely popular and then became obsolete in matter of days even though it had a massive user-base.</p><h4><strong>3. I know JavaScript</strong></h4><p>This one, from a business aspect, might be a huge pain. Every self-respecting frontend developer knows JavaScript, they have to, to do their job. Does this mean they have the skill required to create a production ready backend application? Do they know how to design such a system for it to stay maintainable and not a pile of spaghetti code that will fall apart when you poke it with a toothpick? Most, probably don’t, why should they? It is not their job to worry about things of that nature, unless they have personal interest in the matter they will probably only know what they need to know to get their frontend work done.</p><p>However, they do <em>know</em> JavaScript. This thin line between being a JavaScript developer and being a good backend JavaScript developer could lead to a lot of confusion, especially when hiring. It may become the PHP developer syndrome all over again. <strong>Everyone and their grandmother was a PHP developer at some point.</strong> It was a language easy to pick-up (just as JS), you could make real applications without really knowing too much about software architecture (just as JS frameworks) and become a <em>”PHP developer”</em> over a weekend. This of course does not mean you could make any real-world applications without everything collapsing into a pile of dust, an entirely different skill-set is needed for that. But you carried a (self-given) title — <em>”PHP developer”</em>. This made <em>real</em> PHP developers and the whole community look like amateur-hour — a plague still carried by the language and the community even though things have improved significantly.</p><h3>So tell us, finally, what did you build to solve the ever growing problem of movie nights?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/0*ylkGqp7U49wRXk_l.png" /></figure><p>I built <a href="http://movienight.site/">movienight.site</a>, a site that allows you to create 3 movie polls that others can vote on when provided with a link and receive real-time results from other voters. You can look at my (horrible) code <a href="https://github.com/TheWildHorse/MovieNight">at GitHub</a>.</p><p><em>Originally published at </em><a href="http://itworkslocal.ly/php-developer-becomes-mean-for-a-day/"><em>itworkslocal.ly</em></a><em> on December 29, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1a20a9204b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Repair Vagrant After Updating To OSX 10.11 El Capitan]]></title>
            <link>https://medium.com/@igorrinkovec/how-to-repair-vagrant-after-updating-to-osx-10-11-el-capitan-65e77cc6979a?source=rss-bfdd4c2072b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/65e77cc6979a</guid>
            <category><![CDATA[el-capitan]]></category>
            <category><![CDATA[os-x]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[vagrant]]></category>
            <dc:creator><![CDATA[Igor Rinkovec]]></dc:creator>
            <pubDate>Mon, 14 Dec 2015 13:32:55 GMT</pubDate>
            <atom:updated>2016-11-01T09:20:57.987Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jfxoD24-awZX-bRYl2_sAQ.png" /></figure><p>When you first run your vagrant up command after updating your machine to 10.11 El Capitan, you may be greeted with a lovely red error message that doesn&#39;t really give much useful information. It can look something like this:</p><pre>Stderr: 0%...<br>Progress state: NS_ERROR_FAILURE<br>VBoxManage: error: Failed to create the host-only adapter<br>VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory<br>VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface<br>VBoxManage: error: Context: &quot;int handleCreate(HandlerArg*, int, int*)&quot; at line 66 of file VBoxManageHostonly.cpp</pre><p>The fix is pretty simple, just go ahead and download the newest version of Vagrant from the <a href="https://www.vagrantup.com/downloads.html">official vagrant download page</a>, and install it on your machine. <br> Don’t worry, you won’t lose any of your current box setups.</p><p>If you try to vagrant up after updating Vagrant, you may still encounter errors similar to these:</p><pre>The provider &#39;virtualbox&#39; that was requested to back the machine &#39;default&#39; is reporting that it isn&#39;t usable on this system. The reason is shown below: Vagrant has detected that you have a version of VirtualBox installed that is not supported. Please install one of the supported versions listed below to use Vagrant: 4.0, 4.1, 4.2, 4.3</pre><p>As the (this time actually) very helpful error message say, you are running a unsupported version of VirtualBox. How to fix that you ask? We have to update our VirtualBox as we did with Vagrant.</p><p>Go to the <a href="https://www.virtualbox.org/wiki/Downloads">official VirtualBox dowload page</a>, download the latest version and install it.</p><h3>All Done!</h3><p>Once all of this is done, your vagrant up command should work as usual and you should be up and running. :)</p><p><em>Originally published at </em><a href="http://itworkslocal.ly/how-to-repair-vagrant-after-updating-to-10-11-el-capitan/"><em>itworkslocal.ly</em></a><em> on December 14, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65e77cc6979a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>