<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>paulcpk - Coding, Life &amp; Travelling</title>
  
  
  <link href="https://paulcpk.com/atom.xml" rel="self"/>
  
  <link href="https://paulcpk.com/"/>
  <updated>2023-10-01T18:00:20.433Z</updated>
  <id>https://paulcpk.com/</id>
  
  <author>
    <name>Paul Csapak</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>An Italy Roadtrip</title>
    <link href="https://paulcpk.com/an-italy-roadtrip/"/>
    <id>https://paulcpk.com/an-italy-roadtrip/</id>
    <published>2023-08-27T13:00:00.000Z</published>
    <updated>2023-10-01T18:00:20.433Z</updated>
    
    <content type="html"><![CDATA[<p>My girlfriend and I took 2 weeks off to go on a road trip by car all through northern and central Italy, back to Vienna through Austria. 13 stops and 3050 km later - here’s the verdict.</p><span id="more"></span><p>Here is our itinerary:</p><ul><li>Day 1: Vienna to Ljubljana</li><li>Day 2: Ljubljana to Trieste to Padua (we stayed in Padua for convenience)</li><li>Day 3: Padua to Venice back to Padua</li><li>Day 4: Padua to Bologna to Florence</li><li>Day 5: Florence</li><li>Day 6: Florence to Rome</li><li>Day 7: Rome</li><li>Day 8: Rome</li><li>Day 9: Rome to Puntone, Grosseto (Tuscany)</li><li>Day 10: Puntone</li><li>Day 11: Puntone to Riomaggiore, Cinque Terre to Saló, Brescia</li><li>Day 12: Saló, Brescia to Trentino to Bolzano to Innsbruck</li><li>Day 13: Innsbruck to Vienna</li></ul><p>I’ve wanted to go on a road trip like this for more than 5 years now, but the time was never right. At the beginning of this year, I got myself a used car (a 2007 Mazda MX5-NC convertible) with this in mind. It was the most and least perfect car for this trip at the same time. It was a truly excellent driving experience on the mountainous roads, a mediocre one on the endless straight highways with the noisy interior, and a bad one regarding storage capacity (you can only fit 2 backpacks in an MX5).</p><p>I’ve been to Rome once in 2020, and I’ve been to Italy a couple of times as a kid. My parent’s generation (birth years 1960-1970, “Boomers”) always had this romanticized vision of Italy. More projected exoticism than actual substance, I’d say. This trip gave me a much better understanding of the less visited parts of the country. The parts that aren’t Venice, Rome or Florence.</p><p>My experience was quite sobering. Once you leave the most northern parts of the country, you can see the country getting poorer by the kilometer. Roads in disrepair, beat up cars, seemingly empty towns and villages with the façades crumbling. Not surprising if you look at it from a demographic, political and economic perspective.</p><p>Italy is one of the oldest countries by median age (<a href="https://en.wikipedia.org/wiki/List_of_countries_by_median_age">5th oldest in the world as of 2018</a>) and has the second lowest fertility rate in the EU (<a href="https://ec.europa.eu/eurostat/web/products-eurostat-news/-/ddn-20210323-2">second only to Spain</a>). The country has an extremely high turnover of governments, <a href="https://www.euronews.com/my-europe/2022/10/21/italy-is-set-for-its-68th-government-in-76-years-why-such-a-high-turnover">with 68 governments in 76 years</a>. In addition, Italy hasn’t had any real economic growth since the financial crash of 2008, <a href="https://ourworldindata.org/grapher/national-gdp-wb?tab=chart&country=ITA">never having surpassed their peak GDP in 2007</a>. These massive problems make the issues countries in central and northern Europe have to deal with pale in comparison. The Italians can’t buy themselves out of these problems. They don’t have the institutions, the money, and the leeway like Germany and France do.</p><p>Having been to Thailand (a “developing” economy) in November&#x2F;December of last year, I couldn’t help myself comparing the two. Italy seemed to fit the same category. All the working Infrastructure (motorways, gasoline stations, power, water, public transport), if not in disrepair, seemed to have been put in place around 20 years ago, with few extensions or renewals to speak of.</p><p>Just like anywhere in Europe right now, inflation is high, and so were gasoline, hotel and restaurant prices. The same hotel in Rome (city center, close to the Pantheon), which cost me 85 EUR &#x2F; night in August of 2020, was offered at 240 EUR now.</p><p>Overall, Italy is an incredibly beautiful country, boasting in natural riches and culture. However, for lack of a functioning government and economy, the overlaying reality was quite unpleasant.</p><p>We tried our best to do some research before booking hotels or going out to restaurants. The service was either bad or mediocre at best. The quality of the food is nothing that I couldn’t have in Vienna at the same price. We regularly paid upwards of 60 EUR for a two-person meal in a non-fancy place. On several occasions, the power in our Hotel rooms (Florence and Rome) went out, with the staff taking some time to fix it. A 120-200 EUR &#x2F; night hotel room, that is.</p><p>Some of my personal highlights were Ljubljana (Slovenia’s capital) and Saló (a small town on Lake Garda). Both of which I found to be incredibly beautiful and very worth visiting. Rome was great as always, although 2-3 days are sufficient. I quite liked Venice, there is an astonishing amount of beautiful architecture in such a small place. Navigating through the flow of people for hours on end can be exhausting, however.</p><p>I disliked Florence and Tuscany, I’d rather skipped that. Florence seems like a run-down, hyper-touristy Disneyland with terrible public infrastructure. I felt none of the romantic vibes I heard and read about. Tuscany was okay, but the prices for food and accommodation were unreasonably high. Also, the natural beaches have maximum capacity and must be booked well in advance. Something I don’t want to deal with when I’m on a beach holiday. We tried to do a stopover in Cinque Terre, but the parking situation was impossible, so we had to keep going.</p><p>Trieste, Padua, Trentino and Bolzano I found quite insignificant and therefore unappealing. Not worth stopping by. As an Austrian, I was keen on seeing some of Italy’s “Austrian” parts, namely South Tyrol. I prefer the northern half. Innsbruck was definitely worth visiting. It’s pretty but gets boring relatively fast I’d assume.</p><p>On the way home from Innsbruck, we took the road through the lush greenery of the Tyrolean and Salzburgean countryside. Just the two of us and winding roads from village to village. Mesmerizing.</p><p>Regarding Italy, you could feel, people, especially the young are struggling. Struggling to find a job, a house, to build a life. Life’s tough in Italy. The EU should do more to improve sustainable economic and political development in the country. But as the third largest contributor to the EU Budget, Italy is considered a “rich country”. Seems like they need the money to help their own population instead.</p><p>To summarize, my experience on this trip was fantastic. I learned a lot about our bigger neighbour and fellow EU country, and I’m grateful for that. But for now, I don’t want to visit anytime soon, there are other, equally interesting places, with much better value for money.</p><p>Italy is definitely not what it used to be, especially in relation to its’ European peers. The country needs a lot of reform and progress to get back on track. Until then, I hope for the best.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;My girlfriend and I took 2 weeks off to go on a road trip by car all through northern and central Italy, back to Vienna through Austria. 13 stops and 3050 km later - here’s the verdict.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Travelling" scheme="https://paulcpk.com/tags/Travelling/"/>
    
    <category term="Italy" scheme="https://paulcpk.com/tags/Italy/"/>
    
  </entry>
  
  <entry>
    <title>Top 5 Best Cafés in Vienna</title>
    <link href="https://paulcpk.com/top-5-cafes-in-vienna/"/>
    <id>https://paulcpk.com/top-5-cafes-in-vienna/</id>
    <published>2023-07-04T13:00:25.000Z</published>
    <updated>2023-07-04T17:51:59.780Z</updated>
    
    <content type="html"><![CDATA[<p>Don’t believe the hype. Here are the 5 best (<a href="https://en.wikipedia.org/wiki/Third-wave_coffee">Third-Wave &#x2F; Specialty</a>) Cafés in Vienna, Austria.</p><span id="more"></span><p>Anybody who knows me knows I’m a huge coffee guy. Luckily Vienna, my hometown, is one of the top-tier cities for Coffee enjoyment. Just recently, a friend from abroad came to visit, and we systematically tried to find the best Cappuccino in town. These are our findings. You should know the sorting is quite subjective - all of these are excellent. And there a many more that are great but did not make the list.</p><h2 id="Nr-1-No-Panic-Coffee"><a href="#Nr-1-No-Panic-Coffee" class="headerlink" title="Nr. 1: No Panic Coffee"></a>Nr. 1: No Panic Coffee</h2><p>No Panic won the contest for best Cappuccino overall. Perfect microfoam and amazing Latte Art. They have three Venues spread around the inner city. I’ve tried all of them - never disappointed.</p><p>3 Venues:</p><ul><li>Währinger Str. 6-8: <a href="https://goo.gl/maps/WWV8PeJUp75X3gWRA">https://goo.gl/maps/WWV8PeJUp75X3gWRA</a></li><li>Lindengasse 5: <a href="https://goo.gl/maps/mCbeP7XxwX7FpmvW8">https://goo.gl/maps/mCbeP7XxwX7FpmvW8</a></li><li>Paniglgasse 18: <a href="https://goo.gl/maps/JBiFSixqkPZ9czEM7">https://goo.gl/maps/JBiFSixqkPZ9czEM7</a></li></ul><h2 id="Nr-2-Kaffein-Zeitgeist"><a href="#Nr-2-Kaffein-Zeitgeist" class="headerlink" title="Nr. 2: Kaffein Zeitgeist"></a>Nr. 2: Kaffein Zeitgeist</h2><p>Very centrally located, right across from St. Stephen’s Cathedral (Stephansdom), I discovered this gem just recently.<br>It’s not just one of my favorite spots for coffee. The venue also offers a spacious, classy seating area upstairs. It works great as a coworking space or hangout spot for a couple of hours.</p><p><a href="https://goo.gl/maps/qeoBBshLpueKu7Rd8">https://goo.gl/maps/qeoBBshLpueKu7Rd8</a></p><h2 id="Nr-3-Balthasar"><a href="#Nr-3-Balthasar" class="headerlink" title="Nr. 3: Balthasar"></a>Nr. 3: Balthasar</h2><p>One of my long-time favorites, Balthasar, never disappoints. Conveniently located right at the Metro station U1 Nestroyplatz or just a quick walk from either Praterstern or Schwedenplatz.</p><p><a href="https://goo.gl/maps/8ewkBCJFRKj3npBa9">https://goo.gl/maps/8ewkBCJFRKj3npBa9</a></p><h2 id="Nr-4-Empress-Coffee"><a href="#Nr-4-Empress-Coffee" class="headerlink" title="Nr. 4: Empress Coffee"></a>Nr. 4: Empress Coffee</h2><p>Boasting with their funny, seasonal inscriptions above the shop and a hyper-modern interior, Empress Coffee is always worth a visit. <strong>A note on the side:</strong> They don’t have lactose-free cow milk (only regular or plant-based) if you’re into that.</p><p><a href="https://goo.gl/maps/pBwTJrEjr9EMtrTX8">https://goo.gl/maps/pBwTJrEjr9EMtrTX8</a></p><h2 id="Nr-5-CoffeePirates"><a href="#Nr-5-CoffeePirates" class="headerlink" title="Nr. 5: CoffeePirates"></a>Nr. 5: CoffeePirates</h2><p>I can’t walk past this one without at least getting a Flat White or Cappuccino to-go. Situated close to Medical University Vienna, it’s popular with students and remote workers. The place is quite big, with a cozy, wooden interior. It’s so popular that they opened a second store right across the street.</p><p><a href="https://goo.gl/maps/oHhpEp9xHgvHTnhy7">https://goo.gl/maps/oHhpEp9xHgvHTnhy7</a></p><h2 id="Honorable-mention-Cafe-Schwarzenberg"><a href="#Honorable-mention-Cafe-Schwarzenberg" class="headerlink" title="Honorable mention: Café Schwarzenberg"></a>Honorable mention: Café Schwarzenberg</h2><p>If you’re looking for a traditional Viennese Café (Kaffeehaus) instead of the ones above, look no further. Café Schwarzenberg will have you covered with Apfelstrudel, Sacher cake (Sachertorte) and Viennese Cappuccino (Wiener Melange).</p><p><a href="https://goo.gl/maps/rZW124VrtuerpfZd8">https://goo.gl/maps/rZW124VrtuerpfZd8</a></p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Don’t believe the hype. Here are the 5 best (&lt;a href=&quot;https://en.wikipedia.org/wiki/Third-wave_coffee&quot;&gt;Third-Wave &amp;#x2F; Specialty&lt;/a&gt;) Cafés in Vienna, Austria.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Digital Nomad" scheme="https://paulcpk.com/tags/Digital-Nomad/"/>
    
    <category term="Coffee" scheme="https://paulcpk.com/tags/Coffee/"/>
    
    <category term="Vienna" scheme="https://paulcpk.com/tags/Vienna/"/>
    
  </entry>
  
  <entry>
    <title>How to setup a 404 Page in Hexo.js</title>
    <link href="https://paulcpk.com/how-to-setup-404-hexo-js/"/>
    <id>https://paulcpk.com/how-to-setup-404-hexo-js/</id>
    <published>2023-06-15T13:00:00.000Z</published>
    <updated>2023-06-27T08:43:30.017Z</updated>
    
    <content type="html"><![CDATA[<p>For the recent redesign of my blog, I noticed the need to manually set up a 404 page in Hexo.js. Here’s an instruction on how to do it.</p><span id="more"></span><p>The theme you see is a redesign I recently made. I’ve been using Hexo.js for my blog since 2017, and I like it for its ease of use. It’s great for generating a simple blog from Markdown files - which is all I need.</p><p>Since I was writing a custom theme, I dove deep into the features and capabilities of Hexo.js. To my surprise, <a href="https://hexo.io/docs/">the documentation</a> didn’t suggest how to set up a 404 page in case the queried URL isn’t available.</p><p>After a <a href="https://duckduckgo.com/?q=how+to+setup+404+in+hexo+js&ia=web">quick search</a>, I came across a satisfactory workaround.<br>You can set up a redirect with an <code>.htaccess</code> file, provided that you’re using web hosting that is using an Apache server. </p><p>I assume you also have a Hexo blog and came across this post because you’re facing the same issue. In case you’re using a different hosting solution, I’m sure you can find a similar workaround for NGINX or providers like Github Pages and Vercel.</p><h2 id="Instruction"><a href="#Instruction" class="headerlink" title="Instruction"></a>Instruction</h2><h3 id="Step-1"><a href="#Step-1" class="headerlink" title="Step 1"></a>Step 1</h3><p>In your <code>/source</code> folder, create a <code>404.md</code> file with the following content:</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">---</span><br><span class="line">title: &quot;404: Page not found&quot;</span><br><span class="line">---</span><br></pre></td></tr></table></figure><p>This will generate a minimal page (404.html at the root of your public folder), only showing a “404” headline. Feel free to add additional content below in the main section.</p><h3 id="Step-2"><a href="#Step-2" class="headerlink" title="Step 2"></a>Step 2</h3><p>Create or open the existing <code>.htaccess</code> file in your root folder. You can also create the file locally and push it to your production&#x2F;live environment after you make the changes.</p><p>Add the following at the top of the file:</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ErrorDocument 404 /404.html</span><br></pre></td></tr></table></figure><p>This will reference the HTML file created in <strong>Step 1</strong>.</p><p>You can do the same thing for any error you want to cover by changing the error code and creating additional files, like so:</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">ErrorDocument 500 /500.html</span><br></pre></td></tr></table></figure><h3 id="Step-3"><a href="#Step-3" class="headerlink" title="Step 3"></a>Step 3</h3><p>Run <code>hexo generate</code> in your project to generate the new files in your <code>/public</code> folder.</p><h3 id="Step-4"><a href="#Step-4" class="headerlink" title="Step 4"></a>Step 4</h3><p>Upload all your files to your production environment. If you created the <code>.htaccess</code> file, ensure it’s in the root folder (where your blog’s index.html is located).</p><h2 id="Assessment"><a href="#Assessment" class="headerlink" title="Assessment"></a>Assessment</h2><p>As most blogging engines and platforms come with the option for custom error pages, this is less of a feature but more of a core requirement that Hexo.js should support out of the box.</p><p>Please leave a comment or a Reaction below if this helped you.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;For the recent redesign of my blog, I noticed the need to manually set up a 404 page in Hexo.js. Here’s an instruction on how to do it.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Hexo.js" scheme="https://paulcpk.com/tags/Hexo-js/"/>
    
    <category term="Apache" scheme="https://paulcpk.com/tags/Apache/"/>
    
  </entry>
  
  <entry>
    <title>Thailand as a digital nomad</title>
    <link href="https://paulcpk.com/thailand-as-a-digital-nomad/"/>
    <id>https://paulcpk.com/thailand-as-a-digital-nomad/</id>
    <published>2022-12-15T14:00:25.000Z</published>
    <updated>2023-06-21T22:35:50.272Z</updated>
    
    <content type="html"><![CDATA[<p>My girlfriend and I recently spent 3 weeks traveling around Thailand while working remotely. Here’s our experience.</p><span id="more"></span><h2 id="Digital-Nomadism"><a href="#Digital-Nomadism" class="headerlink" title="Digital Nomadism"></a>Digital Nomadism</h2><p>Thailand is one of the hottest <a href="https://nomadlist.com/">Go-To spots for digital nomads</a>. I wanted to try that lifestyle for some time now, as I’ve only had the opportunity to work and travel for a limited time.</p><p>My current work arrangement allowed me to continue working remotely while traveling, so we took the chance and gave it a try.</p><h2 id="Bangkok"><a href="#Bangkok" class="headerlink" title="Bangkok"></a>Bangkok</h2><p><em>Digital Nomad Rating: 3.5&#x2F;5</em></p><p>After a long flight, we checked into our hotel in the central Sathorn District. I loved the area. Low-rise buildings, houses and small mansions, lots of amazing cafés and restaurants. One of our favorites was <a href="https://goo.gl/maps/VKRDpAsAD1AMoMd68">this one (Nocafe.)</a>, just around the corner from where we stayed.</p><p>The city feels safe, with lots to offer in terms of nightlife, culture and cuisine. However, the coworking situation was disappointing. It was hard to find a nice coworking space that offered day passes, so I mostly spent my time working from my hotel room or different cafés. <a href="https://goo.gl/maps/Y4tSbtU5jqLGMm1B9">Here is another one (Teak Café)</a></p><h2 id="Pattaya"><a href="#Pattaya" class="headerlink" title="Pattaya"></a>Pattaya</h2><p><em>Digital Nomad Rating: 1&#x2F;5</em></p><p><em><strong>TLDR; Don’t go.</strong></em></p><p>Known as a beach resort town with a vibrant party scene, we thought it would be fun to spend a weekend. It wasn’t worth the 1.5-hour drive. This city of roughly 120,000 inhabitants didn’t fare well Post-Covid. Approximately half the existing Hotels and venues were boarded up or unlit (seemingly closed down). The open bars were running at around 20% capacity. Most of the guests were older tourists or younger folks, apparently lost like we were.</p><p>The local infrastructure has been neglected for too long. Dark streets with huge open potholes, loose power lines, stray dogs, not to mention the manifestations of poverty, mothers and children begging on the street. Not exactly the place I want to party. I can see the city bouncing back, but it will likely take a few more years, if not a decade.</p><p>We left the next day, back to Bangkok, where we coincidentally had the best night out during my whole trip at <a href="https://goo.gl/maps/w18hR8Uxpzq7wPbA9">DECOMMUNE</a>.</p><h2 id="Chiang-Mai"><a href="#Chiang-Mai" class="headerlink" title="Chiang Mai"></a>Chiang Mai</h2><p><em>Digital Nomad Rating: 5&#x2F;5</em></p><p>Ah, Chiang Mai, the supposed Mekka of Digital Nomadism.</p><p>As the second largest city at only one-tenth the size of Bangkok, it’s northern Thailand’s cultural and economic center. With its mountainous surroundings, one can immediately feel relief from the stuffy, humid air in Bangkok.</p><p>We stayed in a small hotel just outside the city center. What the city lacks in public transport, it makes up in significantly lower prices and a more relaxed vibe. A Grab (the Asian Uber equivalent) costs only around a third of what it costs in Bangkok. Restaurants and cafes were also significantly cheaper but qualitatively better. The inner city is like a condensed version of the hippest, most gentrified parts of Bangkok. More polished and truly optimized for a tech-savvy customer base.</p><p>In Chiang Mai, I came across the most amazing coworking spaces I’ve ever seen. Super polished, safe, fast internet and affordable at the same time. Here are two of my favorites:</p><ul><li>Alt_ChiangMai: <a href="https://goo.gl/maps/wYtq8zrL8BFfGxMD7">https://goo.gl/maps/wYtq8zrL8BFfGxMD7</a></li><li>Yellow Coworking Space: <a href="https://goo.gl/maps/W6xa9yXnuryr6F1u6">https://goo.gl/maps/W6xa9yXnuryr6F1u6</a></li></ul><p>As a coffee guy, checking out cafés is an integral part of my travel experience. I was not disappointed. The cafés are on par with Dubai, Berlin or Vienna (my personal benchmark for the best coffee place in the world).<br>Here’s my favorite:</p><ul><li>Akha Ama Phrasingh: <a href="https://goo.gl/maps/2bqkP3PvvMFETRz67">https://goo.gl/maps/2bqkP3PvvMFETRz67</a></li></ul><p>The restaurants were amazing too. Fresh, clean and better value for money than Bangkok. Here is our favorite for Chiang Mai (we went there twice):</p><ul><li>Ginger Farm Kitchen: <a href="https://goo.gl/maps/41uohcz8aP8bzTE16">https://goo.gl/maps/41uohcz8aP8bzTE16</a></li></ul><p>Even the gyms were very accommodating, with many offering affordable day passes and weekly options.</p><p>Overall, Chiang Mai exceeded my expectations by a lot. If I were to travel to Thailand again, visiting Chiang Mai would be a strong reason why.</p><h2 id="Phuket"><a href="#Phuket" class="headerlink" title="Phuket"></a>Phuket</h2><p>After Chiang Mai, we were off to Phuket, Thailand’s largest island. Even though going there seemed like the “off-the-shelf” touristy Thailand experience, all the good surf spots are located on the west coast of the Malay Peninsula in southern Thailand. We were hoping we’d catch some good waves.</p><p>The first thing I noticed, it was crazy hot and humid. Up to 34 degrees Celsius and 100% air humidity in November (usually the colder, dry season). To my surprise, many restaurants and shops had Russian signs and descriptions (Russian, then English, then maybe German, then Thai). Post-Covid, with a neutral diplomatic stance on the Russia-Ukraine conflict, <a href="https://www.theguardian.com/world/2022/apr/06/in-thailand-the-war-in-ukraine-divides-the-generations">Russians apparently make up one of the largest groups of tourists arriving in Thailand</a>. Seems like they all go to Phuket, you can hear primarily Russian in the streets.</p><p>We stayed in Kata Beach, a small town with a chilled vibe, 20 minutes by car from Patong (the hyper-touristy party town). It was an excellent choice to relax and get away from the hustle of the large metropolitan areas, but also, there was little to do.</p><p>I rented a scooter (actually two, I wasn’t happy with the first one) to get around the island. I had the interesting experience of driving on the left side of the road for the first time. After a couple of intersections, you get the hang of it. It was good fun. Most of the cool stuff on the island is accessible within a 30 minute ride.</p><p>Culturally the options are rather poor. Many of the Temples and other sights were built within the last few decades, specifically for tourists.</p><p>One evening we went out to Patong. The nightlife was on par with some of the hottest areas in Bangkok. A bustling vibe, more on the touristy side but super fun.</p><p>Phuket was a good chance to unwind, but I couldn’t have stayed much longer than a week. Especially if you’re trying to be productive. The island is just overrun with tourists, so are most venues and places to hang out.</p><p>Overall, the facilities were lacking. The internet was slower, good Cafés and Restaurants were few and far between.</p><p>There are a couple of coworking spaces on the island, but no competition with Chiang Mai. Also, the waves were, unfortunately, quite disappointing. If you want to go surfing, Bali is most likely a better choice.</p><p><em>Digital Nomad Rating: 3&#x2F;5</em></p><h2 id="Back-to-Bangkok-a-verdict"><a href="#Back-to-Bangkok-a-verdict" class="headerlink" title="Back to Bangkok, a verdict"></a>Back to Bangkok, a verdict</h2><p>We flew back to Bangkok and enjoyed our last few days before flying back home. We discovered some of the most unique bars during our whole trip.</p><p>Here’s our favorite: <a href="https://goo.gl/maps/9kUv6DyK8obn7ekB9">Teens of Thailand</a></p><p>To summarize, we had a great time in Thailand, but aside from Chiang Mai, neither Bangkok or Phuket would be a good match for me to keep a productive schedule. Finding good places to work from, working out and eating clean was just too difficult at times.</p><p>I’m interested to see what other parts of South-East Asia, like Singapore or Bali, have to offer in that regard.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;My girlfriend and I recently spent 3 weeks traveling around Thailand while working remotely. Here’s our experience.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Business" scheme="https://paulcpk.com/tags/Business/"/>
    
    <category term="Thailand" scheme="https://paulcpk.com/tags/Thailand/"/>
    
    <category term="Travel" scheme="https://paulcpk.com/tags/Travel/"/>
    
  </entry>
  
  <entry>
    <title>My Favorite Shakshuka Recipe</title>
    <link href="https://paulcpk.com/my-favorite-shakshuka-recipe/"/>
    <id>https://paulcpk.com/my-favorite-shakshuka-recipe/</id>
    <published>2022-11-15T14:00:00.000Z</published>
    <updated>2023-06-15T15:46:38.169Z</updated>
    
    <content type="html"><![CDATA[<p>Here’s my favorite Shakshuka recipe, a middle eastern recipe I’ve been making for years.</p><span id="more"></span><h2 id="Ingredients"><a href="#Ingredients" class="headerlink" title="Ingredients"></a>Ingredients</h2><ul><li>2 tablespoons of olive oil</li><li>1 onion, thinly sliced</li><li>1 red bell pepper, sliced</li><li>2 garlic cloves, minced</li><li>1 teaspoon of ground cumin</li><li>1 teaspoon of ground paprika</li><li>1 teaspoon of tomato paste</li><li>1&#x2F;2 teaspoon of ground cayenne pepper (adjust according to your spice preference)</li><li>1 can (400 grams) of crushed tomatoes</li><li>Salt and pepper to taste</li><li>4-6 large eggs</li><li>Fresh parsley or cilantro, chopped (for garnish)</li><li>OPTIONAL: Crumbled feta cheese (for garnish)</li><li>Crusty bread or pita for serving</li></ul><h2 id="Instructions"><a href="#Instructions" class="headerlink" title="Instructions"></a>Instructions</h2><ol><li><p>Heat the olive oil in a large skillet over medium heat. Add the sliced onion, red bell pepper, and sauté until soft and slightly caramelized.</p></li><li><p>Stir in the minced garlic, ground cumin, ground paprika, tomato paste and ground cayenne pepper. Allow the spices to release their aromatic flavors by cooking for about a minute.</p></li><li><p>Pour the crushed tomatoes into the skillet and season with salt and pepper to taste. Simmer the mixture for approximately 10-15 minutes, allowing the flavors to meld together and the sauce to thicken slightly.</p></li><li><p>Crack the eggs and drop the insides from a height of around 10cm (4in) above the skillet. This allows the eggs to nestle into the sauce while they cook. Distribute them evenly in the skillet.</p></li><li><p>Reduce the heat to low, cover the skillet, and let the Shakshuka simmer gently until the egg whites are set but the yolks are still slightly runny. This typically takes around 8-10 minutes, but you can adjust the cooking time based on your preferred level of egg doneness.</p></li><li><p>Remove the skillet from the heat Once the eggs are cooked to your liking. Sprinkle the freshly chopped parsley or cilantro over the top for a burst of freshness and aroma. Add crumbled feta cheese to taste.</p></li></ol><h3 id="Serving"><a href="#Serving" class="headerlink" title="Serving"></a>Serving</h3><p>Shakshuka is best enjoyed straight from the skillet. Serve it piping hot, garnished with the herb of your choice, alongside crusty bread or pita.</p><h3 id="Conclusion"><a href="#Conclusion" class="headerlink" title="Conclusion"></a>Conclusion</h3><p>I’ve been making this one for a long time, and I hope you enjoy it as much as I do. Cheers!</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Here’s my favorite Shakshuka recipe, a middle eastern recipe I’ve been making for years.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Recipes" scheme="https://paulcpk.com/tags/Recipes/"/>
    
  </entry>
  
  <entry>
    <title>Why I&#39;m walking away from trading</title>
    <link href="https://paulcpk.com/why-i-m-walking-away-from-trading/"/>
    <id>https://paulcpk.com/why-i-m-walking-away-from-trading/</id>
    <published>2022-08-16T13:00:00.000Z</published>
    <updated>2023-06-27T08:45:37.295Z</updated>
    
    <content type="html"><![CDATA[<p>After spending a couple of years, pursuing a career or at least a side hustle in trading the financial markets, I realized it was not for me. Here are some of my conclusions.</p><span id="more"></span><p>Over the past couple of years, I became fascinated by the idea of trading the crypto and stock markets to make a living.</p><p>I remember back in 2016, first reading a blog article about building a crypto trading bot with NodeJS. This was fascinating to me. Basically, the idea of building a money printer.</p><p>Fast-forward to today, and the concept is much more complex than initially anticipated. My first few tries usually ended in me realizing that my approach to building an algo-trading bot was much too simplistic and once I started to go live, gains quickly turned into significant losses.</p><p>I was convinced I needed to read and learn more about manual trading before I could automate it. At first, this seemed like an intriguing and creative problem - an interesting puzzle. A couple of years down the line, I’ve changed my mind.</p><p>I saw myself in a position of transitioning away from a day job in software engineering to make a living trading the markets (automated or manually). But the reality of trading was less attractive than my status quo: working in tech.</p><p>The initial process of coming up with a trading strategy was always quite fun and much more creative than the grunt work of backtesting and optimizing required to validate one of these ideas. After a while, it took a lot of effort to push myself through it.</p><p>This step is quite gruesome. Hours and hours of reviewing trades (made by you or the bot), just to ensure the strategy performs as intended according to certain metrics. This is how I spent 80-90% of my time. I quickly got tired of looking at charts and tables for days on end.</p><p>In trading, you need to risk capital to gain capital - that could entail losses you can not afford. Purported flexibility and work-life balance advertised by many are mostly a farce. The work schedule is more akin to that of a factory worker. Extremely rigid and inflexible, in fact - you need to be in your seat in front of the screen when the market opens. Then the income: not as great as is seems. Even if you spend 5-10 years on becoming an excellent trader and manage to trade for a prop firm with a 1-million dollar account, realistically, you won’t be making much more than 200K&#x2F;year before taxes - nothing unheard of in tech regarding salary.</p><p>Considering you could be spending these 5-10 years on any other business or occupation, it seems like a tough sell, especially when you factor in the high risk you’re exposed to every day (a significant unforeseen economic event could wipe out your account any day). Think of all the businesses you could start in the same time frame.</p><p>Another problem is that the financial markets are, in fact, a perfect zero-sum game. For every winner, there must be a loser at the other end of the transaction. If you get good, you get good at taking money from other people’s pockets. The economy is made up of people, not money.</p><p>Ultimately, trading makes sense if you look at the world from an amoralistic pure market perspective. Trading in the financial markets is lucrative; therefore, according to market logic, it’s what society values.</p><p>Many occupations could earn you a high income, but the positive impact on society is questionable at best (NFT-peddlers, <a href="https://www.thebalancemoney.com/long-term-capital-crisis-3306240">Too-Big-To-Fail Hedge Funds</a> and the like). On the flip side, often underpaid jobs like teachers, nurses and doctors seem to be less valuable to society, signaling the rational agent (<a href="https://en.wikipedia.org/wiki/Homo_economicus">Homo Economicus</a>) that he should pursue different occupations.</p><p>Societies organized around a pure profit motive and this rigid market logic are ugly, exclusive and dysfunctional. The <a href="https://en.wikipedia.org/wiki/Financialization">Over financialization</a> of most leading economies in recent decades serves as a great example.</p><p>By now, spending so much time buying and selling derivatives or stocks seems like a pointless deed to me. Any factory worker appears to be adding more general value by producing an actual physical product. I’d rather spend my time developing something with a more tangible positive impact, my own projects or something for my clients.</p><p>Will I never trade again? I don’t think so. I learned a lot during my past years, and I feel infinitely more comfortable investing passively (buying stocks I like and holding them for a couple of years). I will look at trading more like a puzzle or professional gambling. More like a toy than a serious occupation. There are better, more meaningful ways to make money.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;After spending a couple of years, pursuing a career or at least a side hustle in trading the financial markets, I realized it was not for me. Here are some of my conclusions.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Technology" scheme="https://paulcpk.com/tags/Technology/"/>
    
    <category term="Trading" scheme="https://paulcpk.com/tags/Trading/"/>
    
    <category term="Business" scheme="https://paulcpk.com/tags/Business/"/>
    
  </entry>
  
  <entry>
    <title>The best coworking spaces in Dubai</title>
    <link href="https://paulcpk.com/the-best-coworking-spaces-in-dubai/"/>
    <id>https://paulcpk.com/the-best-coworking-spaces-in-dubai/</id>
    <published>2022-07-03T13:00:00.000Z</published>
    <updated>2023-06-27T07:53:34.998Z</updated>
    
    <content type="html"><![CDATA[<p>Finding a good coworking space in Dubai can be a daunting task, some only offer monthly subscriptions or aren’t well suited for focussed work.</p><span id="more"></span><p>Here’s a short list of my favorite places, perfect for getting stuff done.</p><h2 id="No-1-NEST-coworking-space"><a href="#No-1-NEST-coworking-space" class="headerlink" title="No. 1: NEST coworking space"></a>No. 1: NEST coworking space</h2><p>NEST is the best. The space is located inside <a href="https://goo.gl/maps/5Ukkq8BH7r2kgtS2A">TRYP by Wyndham</a>. I stumbled upon this one by accident while staying at the hotel. Although relatively small, it’s usually not too busy, offering a friendly, calm environment and good facilities (coffee, snacks, meeting booths, etc.). Overall great value for money.</p><p><a href="https://goo.gl/maps/UBXBuDfp5cwGo6K16">https://goo.gl/maps/UBXBuDfp5cwGo6K16</a></p><h2 id="No-2-Nasab"><a href="#No-2-Nasab" class="headerlink" title="No. 2: Nasab"></a>No. 2: Nasab</h2><p>Nasab is a bit further out, located in Majan&#x2F;Al Barari, but also much more spacious. Featuring not just coworking areas but also a pool landscape with a bar and restaurants. Either for work or a relaxed day on the weekend, it’s definitely worth a try.</p><p><a href="https://goo.gl/maps/xGT3NeVSZuuBiyRH7">https://goo.gl/maps/xGT3NeVSZuuBiyRH7</a></p><h2 id="No-3-WrkBay-Cowork-and-cafe"><a href="#No-3-WrkBay-Cowork-and-cafe" class="headerlink" title="No.3: WrkBay Cowork and cafe"></a>No.3: WrkBay Cowork and cafe</h2><p>Situated in the Al Karama neighborhood in Bur Dubai (just south of the Dubai Creek), WrkBay offers fantastic value for money. Part café, part coworking space, you’re free to choose whether you want to work from the common areas in the café, a shared desk or even small private offices which you can rent for the day. The coffee is excellent as well.</p><p><a href="https://goo.gl/maps/jTGujCXCa9WfBxkH8">https://goo.gl/maps/jTGujCXCa9WfBxkH8</a></p><h2 id="No-4-The-Coffee-Lab"><a href="#No-4-The-Coffee-Lab" class="headerlink" title="No. 4: The Coffee Lab"></a>No. 4: The Coffee Lab</h2><p>Not exactly a coworking space, this beautiful 2 story café with amazing views towards Port Rashid is also a favorite with the Emirati locals. Many people use this one to study, hold meetings or work on their laptops. The coffee is one of the best I’ve had in Dubai.</p><p><a href="https://goo.gl/maps/dNTHbeHP2NmYbA966">https://goo.gl/maps/dNTHbeHP2NmYbA966</a></p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Finding a good coworking space in Dubai can be a daunting task, some only offer monthly subscriptions or aren’t well suited for focussed work.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Dubai" scheme="https://paulcpk.com/tags/Dubai/"/>
    
    <category term="Business" scheme="https://paulcpk.com/tags/Business/"/>
    
    <category term="Digital Nomad" scheme="https://paulcpk.com/tags/Digital-Nomad/"/>
    
    <category term="Travelling" scheme="https://paulcpk.com/tags/Travelling/"/>
    
  </entry>
  
  <entry>
    <title>My favorite spots in Dubai</title>
    <link href="https://paulcpk.com/my-favorite-spots-in-dubai/"/>
    <id>https://paulcpk.com/my-favorite-spots-in-dubai/</id>
    <published>2022-04-22T13:00:25.000Z</published>
    <updated>2023-06-20T07:54:00.020Z</updated>
    
    <content type="html"><![CDATA[<p>After living in Dubai for a year, I’ve sorted through the hype, the glitz and the glamour. Here are some of my favorite spots I visit as often as possible.</p><span id="more"></span><h2 id="My-all-time-favorites"><a href="#My-all-time-favorites" class="headerlink" title="My all-time favorites"></a>My all-time favorites</h2><h3 id="Zagol-Restaurant"><a href="#Zagol-Restaurant" class="headerlink" title="Zagol Restaurant"></a>Zagol Restaurant</h3><p>The venue is situated in the lively Al Karama neighborhood. The staff is friendly and helpful and the dishes are just amazing. I recommend you choose the mixed platter, a bit of everything on top of Injera (Ethiopian Bread). <strong><em>Important note:</em></strong> The restaurant is split in two, Zahol Café (on the left) and Zagol Restaurant (5 meters to the right). Either one is fine, but if there’s space, I recommend you go to the one on the right-hand side (Zagol Restaurant).</p><p><a href="https://goo.gl/maps/gyEDXHng3Lh4LSfy6">https://goo.gl/maps/gyEDXHng3Lh4LSfy6</a></p><h3 id="Friend’s-Avenue-Cafe-Al-Thanyah"><a href="#Friend’s-Avenue-Cafe-Al-Thanyah" class="headerlink" title="Friend’s Avenue Cafe Al Thanyah"></a>Friend’s Avenue Cafe Al Thanyah</h3><p>One, if not the hippest café in Dubai. The café is in the classy Umm Suqeim Neighborhood, mostly villas and large mansions in the area. Great interior design, good food and excellent coffee, with the option to sit inside or outside. Located in a small shopping center, you can also find a Pharmacy and Supermarket (Waitrose).</p><p><a href="https://goo.gl/maps/kNPfbTiYXYAfJJ4j6">https://goo.gl/maps/kNPfbTiYXYAfJJ4j6</a></p><h3 id="MAMA’ESH-Al-Manara"><a href="#MAMA’ESH-Al-Manara" class="headerlink" title="MAMA’ESH Al Manara"></a>MAMA’ESH Al Manara</h3><p>Just around the corner from Friend’s Avenue Cafe Al Thanyah, MAMA’ESH (a local franchise) serves some of the best Palestinian cuisines in town. It’s a great choice for breakfast (try the Palestinian breakfast), lunch or dinner. Like most places in Dubai, it’s very family-friendly.</p><p><a href="https://goo.gl/maps/inL99T4vfgfXJgCj6">https://goo.gl/maps/inL99T4vfgfXJgCj6</a></p><h3 id="Fujiya"><a href="#Fujiya" class="headerlink" title="Fujiya"></a>Fujiya</h3><p>Without a doubt the best Japanese restaurant in Dubai and one of the best I’ve ever been to (even having been to Japan multiple times). From what I heard, it is the favorite of Japanese expats in Dubai. They have a wide range of authentic Japanese cuisine (Chicken Karaage, Okonomiyaki, grilled eel, …) as well as beer and sake. Definitely worth a try.</p><p><a href="https://goo.gl/maps/wkGzLg2SJGkrga2U6">https://goo.gl/maps/wkGzLg2SJGkrga2U6</a></p><h3 id="Latakia-House"><a href="#Latakia-House" class="headerlink" title="Latakia House"></a>Latakia House</h3><p>One of my soul food favorites. I accidentally discovered this one while staying at Rove - Healthcare City (Hotel). Definitely more on the fast food side of things, fantastic taste and great value for money. You can have a big lunch for only 3-5$. If you like fried chicken - this one is for you.</p><p><a href="https://goo.gl/maps/n55VToVuzUzcBsDN8">https://goo.gl/maps/n55VToVuzUzcBsDN8</a></p><h3 id="Dubai-Half-Desert"><a href="#Dubai-Half-Desert" class="headerlink" title="Dubai Half Desert"></a>Dubai Half Desert</h3><p>This is a massive plot of land with roads and roundabouts leading nowhere. The road is partially covered in sand dunes. This development was either abandoned or will be developed in a couple of years. Many people take their expensive cars out here to push them to the edge.</p><p><a href="https://goo.gl/maps/rH7UJcmbYSMqvneu6">https://goo.gl/maps/rH7UJcmbYSMqvneu6</a></p><h3 id="Topgolf-Dubai"><a href="#Topgolf-Dubai" class="headerlink" title="Topgolf Dubai"></a>Topgolf Dubai</h3><p>This is a good one - what’s better than having a beer and great snacks while hitting balls from the 3rd floor. <strong><em>Pro tip:</em></strong> Come during the week and make a reservation.</p><p><a href="https://goo.gl/maps/AGiXi7xa4cA67BZ7A">https://goo.gl/maps/AGiXi7xa4cA67BZ7A</a></p><h2 id="Honorable-Mentions"><a href="#Honorable-Mentions" class="headerlink" title="Honorable Mentions"></a>Honorable Mentions</h2><h3 id="The-Farm-Al-Barari"><a href="#The-Farm-Al-Barari" class="headerlink" title="The Farm, Al Barari"></a>The Farm, Al Barari</h3><p>Probably the greenest spot in all of Dubai.</p><p><a href="https://goo.gl/maps/YZ2iiHzUUQbkEts88">https://goo.gl/maps/YZ2iiHzUUQbkEts88</a></p><h3 id="Palma-Cafe"><a href="#Palma-Cafe" class="headerlink" title="Palma Cafe"></a>Palma Cafe</h3><p>Great coffee, also great for hanging out with your laptop.</p><p><a href="https://goo.gl/maps/TxgXxy2mDmoWvwox6">https://goo.gl/maps/TxgXxy2mDmoWvwox6</a></p><h3 id="The-Coffee-Lab"><a href="#The-Coffee-Lab" class="headerlink" title="The Coffee Lab"></a>The Coffee Lab</h3><p>A bit separated from the rest of the city, a large 2-story café with amazing views of Port Rashid.</p><p><a href="https://goo.gl/maps/dNTHbeHP2NmYbA966">https://goo.gl/maps/dNTHbeHP2NmYbA966</a></p><h3 id="La-Mer-Beach-amp-Kite-Beach"><a href="#La-Mer-Beach-amp-Kite-Beach" class="headerlink" title="La Mer Beach &amp; Kite Beach"></a>La Mer Beach &amp; Kite Beach</h3><p>The two best beaches in Dubai. Openly accessible and well developed with lots of restaurants and cafés.</p><p><strong><em>La Mer Beach</em></strong></p><p><a href="https://goo.gl/maps/vCF7rwvkoxR37JMs6">https://goo.gl/maps/vCF7rwvkoxR37JMs6</a></p><p><strong><em>Kite Beach</em></strong></p><p><a href="https://goo.gl/maps/Fc542wMeD57EvgKC9">https://goo.gl/maps/Fc542wMeD57EvgKC9</a></p><h3 id="ALHAJARAIN-RESTAURANT-Hatta-Dubai"><a href="#ALHAJARAIN-RESTAURANT-Hatta-Dubai" class="headerlink" title="ALHAJARAIN RESTAURANT, Hatta, Dubai"></a>ALHAJARAIN RESTAURANT, Hatta, Dubai</h3><p>If you get the chance, take a tour to Hatta. Situated in the mountains, the territory technically still belongs to the Emirate of Dubai. It’s a well-developed small mountain town with a focus on tourism. Alhajiran Restaurant serves exquisite Arab cuisine and is located right next to <a href="https://goo.gl/maps/uAZe9t2rCxpmnBvt6">Hatta Heritage Village</a>, also worth a visit.</p><p><a href="https://goo.gl/maps/axuurFMe4GMwdnfD9">https://goo.gl/maps/axuurFMe4GMwdnfD9</a></p><h3 id="Qudra-Desert"><a href="#Qudra-Desert" class="headerlink" title="Qudra Desert"></a>Qudra Desert</h3><p>This is a good place if you want to check out the desert on your own terms without booking a tour. You can park your car on the roadside and walk into it briefly.</p><p><a href="https://goo.gl/maps/EdRmVbpYwKP5jgpn9">https://goo.gl/maps/EdRmVbpYwKP5jgpn9</a></p><h2 id="Summary"><a href="#Summary" class="headerlink" title="Summary"></a>Summary</h2><p>The list became more prolonged than anticipated. There are so many things to do and check out here. If you liked this post, please leave a comment or like below.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;After living in Dubai for a year, I’ve sorted through the hype, the glitz and the glamour. Here are some of my favorite spots I visit as often as possible.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Dubai" scheme="https://paulcpk.com/tags/Dubai/"/>
    
    <category term="Travelling" scheme="https://paulcpk.com/tags/Travelling/"/>
    
  </entry>
  
  <entry>
    <title>Life in Dubai - Six months in the desert</title>
    <link href="https://paulcpk.com/life-in-dubai-six-months-in-the-desert/"/>
    <id>https://paulcpk.com/life-in-dubai-six-months-in-the-desert/</id>
    <published>2021-10-20T13:00:00.000Z</published>
    <updated>2023-06-20T08:06:49.762Z</updated>
    
    <content type="html"><![CDATA[<p>A quick update and overview of life here in Dubai.</p><span id="more"></span><p>It’s been more than six months since my last post. A lot has happened. I was just a bit too occupied with work and university to properly focus on writing a blog post, so here it goes.</p><p>For those unfamiliar with the Gulf region, life here isn’t too different from any other high-income nation. You have an apartment, a car to get around and plenty of options to go for food and leisure activities. The fact that this place is set in the desert and most forms of vegetation are artificial usually doesn’t occupy my mind.</p><p>After living here for six months, I feel like I have a pretty good estimate of what life is like. Even though I can’t speak for the “pre-Covid” era, my experience should be representative of any professional working in my field.</p><h2 id="Housing"><a href="#Housing" class="headerlink" title="Housing"></a>Housing</h2><p>Dubai is the only major city (with a positive growth expectation) I know of, that has an oversupply in housing. This means it is a “renter’s market”. Real estate agents will aggressively try to get you as a tenant, so you just have to say “yes”. Often you can even go for a lower bid. Unimaginable in the “housing crisis” capitals of London, Munich or Barcelona.</p><p>You can rent a nice studio apartment in a decent area (20 mins from the center by car) for as low as 600 USD &#x2F; month, a 2-bedroom in the same area would be around 1400 USD &#x2F; month. Electricity is very cheap as well, 0.04 USD&#x2F;KWh.</p><h2 id="Driving"><a href="#Driving" class="headerlink" title="Driving"></a>Driving</h2><p>There lies beauty in the chaos. You learn to drive at a 1-meter safety distance from the other cars. The traffic situation seems a bit confusing at first, but one gets used to it quite quickly. I much prefer driving in Dubai to Austria. It’s more aggressive but also much more fluid and efficient.</p><p>The roads are perfect, they look like a 3D rendering for most parts. 14-lane highways in both directions are quite the sight. There’s just plenty of room, you can always find a parking spot. Even traffic jams here aren’t half as bad. Things might slow down to 50 km&#x2F;h, but they keep moving at least.</p><p>Gas and insurance are quite cheap. I’m paying less than half per liter of gasoline and maybe a fifth for my insurance, compared to Austria.</p><h2 id="Safety"><a href="#Safety" class="headerlink" title="Safety"></a>Safety</h2><p>Safety is definitely a big plus here. Dubai feels much safer than Vienna or any other major European city. You can let go of your situational awareness and just assume that nothing bad will happen. No drunks or vagrants in bars or on the street picking fights, no pickpocketing or stealing, and no threat of violent crime. Sure, there’s the occasional scam here and there, no place is perfect. People leave their car keys in the ignition or their laptop on the table in the café and take a walk.</p><p>In fact, the only places where I felt safer would be Japan and Taiwan.</p><h2 id="Food"><a href="#Food" class="headerlink" title="Food"></a>Food</h2><p>I fell in love with Arab cuisine, Lebanese and Palestinian in particular. I really miss it when I’m away. Tabouleh, Kibbeh, Shawarma and the best hummus you can imagine.</p><p>Of course, you can also find any other cuisine you’d want, Japanese, Chinese, Fast Food - anything goes.</p><p>They have most of the American franchises here as well. Cheesecake Factory, P.F. Chang’s, Five Guys and Shake Shack, among others.</p><h2 id="Coffee"><a href="#Coffee" class="headerlink" title="Coffee"></a>Coffee</h2><p>Dubai probably has some of the best coffee in the world. Not too surprising <a href="https://en.wikipedia.org/wiki/History_of_coffee#History">considering the tradition of coffee drinking</a> originated on the peninsula. The price for a premium cappuccino is around 5-7 USD, also one of the highest in the world.</p><h2 id="The-weather"><a href="#The-weather" class="headerlink" title="The weather"></a>The weather</h2><p>The heat in summer is always a contentious issue. Honestly, it’s not that bad. In the summer months, you mostly stay indoors (similar to winter in Europe), everything’s thoroughly air-conditioned, and nine months of the year, it’s very pleasant. Sunshine around 335 days in the year feels amazing once you get used to it. I don’t miss the bleak blanket of clouds in the winter months.</p><h2 id="Taxes-and-Regulation"><a href="#Taxes-and-Regulation" class="headerlink" title="Taxes and Regulation"></a>Taxes and Regulation</h2><p>Death and Taxes, right? Well, death - yes.</p><p>Zero income tax, zero capital gains, zero corporate tax (although they’re changing it to a moderate 9% from mid-2023), 5% VAT. Great value for money if you ask me. I’m done working 6-8 months of the year for the state.</p><p>Dubai is the only tax haven that’s actually liveable. Spending most of your time on a Caribbean island might sound fun, but I would assume it gets boring fast. You won’t get bored as easily in Dubai, and if you do, there are plenty of other interesting places in the greater region. India is just 3 hours away, so is Kazachstan or Egypt.</p><h2 id="Drawbacks"><a href="#Drawbacks" class="headerlink" title="Drawbacks"></a>Drawbacks</h2><p>Now some things that are a bit suboptimal or could be improved.</p><p>The most pronounced issue for me is air pollution. On average, there are high amounts of PM 2.5, as well as ground-level ozone, caused by fuel combustion and UV radiation, respectively. Some days it’s fine. On other days you tend to get a sore throat after spending too much time outdoors.</p><p>Water quality is a bit of an issue too. Most running water is produced through desalination. It’s safe to drink, and I use it for cooking mostly. Most people I know just drink bottled water.</p><p>For further reference, check out this <a href="https://u.ae/en/information-and-services/environment-and-energy/environmental-challenges-in-the-uae">list of the most urgent environmental threats the UAE government faces today</a>.</p><p>The place lacks high culture and subculture. To be fair, the nation recently celebrated its 50th birthday. It’s a bit unfair to measure it against a central European benchmark. The bar and club culture is very corporate, however some alternative venues are opening up. Still, I’d like to see more museums, clubs and bars, less focussed on being “Instagrammable”.</p><h2 id="Summary"><a href="#Summary" class="headerlink" title="Summary"></a>Summary</h2><p>There’s this overwhelming stereotype of Dubai being just a desert with glitz and glamour sprinkled in between. Obviously, that’s an image fed by sensationalist Western media. The real picture is much more nuanced.</p><p>My remarks might sound overly positive or a bit biased, to say the least. I concede I really like Dubai, so to me, the drawbacks seem very small compared to the advantages of living here. If you’d like to know more, feel free to drop a comment below.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;A quick update and overview of life here in Dubai.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Dubai" scheme="https://paulcpk.com/tags/Dubai/"/>
    
  </entry>
  
  <entry>
    <title>Why I&amp;#39;m Selling All My Things OR How To Move To Dubai</title>
    <link href="https://paulcpk.com/why-im-selling-all-my-things/"/>
    <id>https://paulcpk.com/why-im-selling-all-my-things/</id>
    <published>2021-04-05T10:00:25.000Z</published>
    <updated>2023-06-12T19:51:18.610Z</updated>
    
    <content type="html"><![CDATA[<p>I’m sitting in my old apartment in Vienna at the moment, cardboard boxes left and right. With my furniture disappearing piece by piece, I’m forced to work from my kitchen table. At the beginning of 2021, I made the decision to incorporate a business in Dubai, UAE and move there. In this post I will go deeper into the why and how.</p><span id="more"></span><p>I lived quite comfortably the past few years. Working for companies in Germany and Austria on a premium rate as a freelancer, living in nice apartments and having enough free time to spend on hobbies and developing my social life. I was living the middle class dream, yet I knew there was room for more. </p><p>Towards the end of 2019 my life was becoming somewhat repetitive. Work, fitness, friends, repeat. Although I am always trying to learn about new subjects on the side, I was looking for the next step. I just turned 26 and I felt like I wanted to spend some years in the English speaking hemisphere, while I’m still in my twenties. Getting into the subject, you quickly realize how much of a barrier it is to apply for jobs abroad. The visa application requirements in US are extremely restrictive and make it very unattractive for American companies to hire from abroad, the situation in Australia or Canada is not exactly simple either. </p><p>Being a Citizen of the EU certainly makes things easier, if you’re looking for work within Europe, and being born with a good passport surely is somewhat of a general advantage in life. Still, for entering the markets of the US and the Commonwealth nations, it was still quite the hurdle. </p><p>Since I started to work in IT straight out of high school, I never went to university, hence I was lacking a bachelor’s or master’s degree, required for a lot of job postings. Quickly discouraged, I dismissed the idea and looked into different things.</p><p>I was getting more attune with a multitude of subjects in the humanities, and understood that attaining an undergraduate degree in PPE (Political Science, Philosophy and Economics) would be quite the benefit for a potential alternative career path.</p><p>Another issue that was getting to me, was that being an entrepreneur, even as a sole proprietor, was quite hard in Austria. Unnecessarily cumbersome to say the least. High taxation, a lot of regulation as well as mandatory payments to the expensive Austrian social security regime, made it very unattractive to be self employed. </p><p>In addition, the pension system seemed increasingly unsustainable, and the idea of paying enormous sums year over year, only to be left holding the bag when retiring in a few decades seemed like a terrible choice.</p><p>To be fair, I wasn’t that invested in Austria anyway. Luckily I didn’t take up a loan for an expensive apartment or similar long term commitments. Sure, I have friends and family here, but sometimes you need a change. And a life spent in different places and cultures with a broader perspective, sounded infinitely more attractive than living the good life in plain old Vienna.</p><p>I looked at a number of different universities offering degrees in PPE, Vrije Universiteit Amsterdam was the best in terms of value for money (actually liking the city is also a big aspect, and I always adored the Netherlands). So Amsterdam it was! </p><p>After looking into company setup or requirements for freelance work I was somewhat discouraged. Going through the hustle of dealing with the dutch system of regulation and taxation, only to leave the country once I’m done with my studies seemed like a waste of time. </p><p>I wanted to find a better way to do things, so I looked into offshore company registration. Why not set up shop in a country like Estonia of Cyprus, that make it easy to run a company remotely, so I could stay location independent and take my business wherever I was going?</p><p>After comparing numerous Countries for incorporation, within and outside the EU, I was intrigued by Dubai. The process seemed quite easy, few if any regulations and corporate tax rate was 0%. How can you beat that?</p><p>I got in touch with a few consultancies for business incorporation, after I found one that seemed professional and trustworthy (<a href="https://emirabiz.com/">emirabiz.com</a>, talk to Helen). With incorporation, they also offered packages with a visa option. There are a number of ways of attaining a resindency visa for the UAE, the most common would be to have a local company sponsor your visa. So you can either have your visa sponsored as an employee or register your own company, and sponsor the visa for yourself.</p><p>By then I became more in touch with the idea of actually moving to Dubai - how hard could it be? Wasn’t it exactly what I was looking for?</p><p>I started comparing apartment prices and was surprised so see, that prices in Dubai were roughly a third for an equally attractive apartment in Amsterdam - another point for Dubai. Even cheaper than Vienna in some cases. And no income tax! In fact they didn’t have any direct taxes at all, until they introduced a 5% VAT in 2018. </p><p>So a business friendly, zero-tax place with a highly diverse community and high quality of life… What was I waiting for?</p><p>The consulting agency walked me through the process and held my hand every step of the way. Registering my business, giving advice for bank account opening and managing my visa and residence registration. A good price to pay, in order to escape upwards of 60% taxation in Europe. </p><p>The idea of being able to keep the fruits if my labor, is something that should come naturally, yet feels so alien from a western perspective.</p><p>In order to be eligible for company registration, I had to get the UAE entry stamp in my passport, so I spent the first few weeks of 2021 in the city, with 28°C and sunny weather. A nice contrast to lockdown ridden Austria at minus 5°C. In the UAE they handled the pandemic differently. They left the economy open, with a heavy emphasis on disinfection and mask wearing, as well as one of the highest levels of vaccinations. That meant, Bars, Restaurants, Cafés and lots of other fun stuff was available.</p><p>It was my first time in Dubai, and my experience exceeded my expectations. The city is very safe, the streets are clean, so is the metro and there’s a surprisingly large amount of greenery, parks and bodies of water. Dubai has much more to offer than you’d think and a lot of things are completely misrepresented by western media, so I suggest you take a look yourself if you really want to know what it’s like. Just in terms of architecture, the Emirates are home to <a href="https://www.darrenbradleyphotography.com/post/mid-century-modernism-in-the-uae-a-tale-of-three-cities">some of the most beautiful buildings I’ve seen to date</a>.</p><p>The cost of living is on par with Germany or Austria, but purchasing power is much higher. In general you have a much broader price range to choose from, regarding goods and services. You can grab food for 3$, 30$ or 300$ - your pick. Same goes for apartments. </p><p>Coming back to my situation, I realized everything seemed to work as expected, so I was planning to cancel my apartment contract in Vienna, put everything in storage that I wanted to keep and sell the rest.</p><p>Selling or giving away everything you don’t really need, is a good exercise in minimalism. It makes you aware of how much junk you accumulated over the years. </p><p>Owning too much stuff can be quite the liability, the stuff owns you back - it’s a two-way relationship.</p><p>After a marathon of cleaning and clearing out my apartment, I made it just in time. Gave back the keys on the 31st of March and stepped on the plane the next day. It feels so liberating to know that everything you need to live life, fits into too medium sized suitcases and a backpack. I don’t long for more.</p><p>As you might tell, I wrote this post over multiple days. Right now I’m sitting in my temporary stay at a hotel apartment in Dubai, getting ready for my next project and looking forward to the next few months in my new home city.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;I’m sitting in my old apartment in Vienna at the moment, cardboard boxes left and right. With my furniture disappearing piece by piece, I’m forced to work from my kitchen table. At the beginning of 2021, I made the decision to incorporate a business in Dubai, UAE and move there. In this post I will go deeper into the why and how.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Dubai" scheme="https://paulcpk.com/tags/Dubai/"/>
    
    <category term="Business" scheme="https://paulcpk.com/tags/Business/"/>
    
  </entry>
  
  <entry>
    <title>My thoughts on mobile first dogmatism OR Why mobile first makes no sense 95% of the time</title>
    <link href="https://paulcpk.com/my-thoughts-on-mobile-first-dogmatism/"/>
    <id>https://paulcpk.com/my-thoughts-on-mobile-first-dogmatism/</id>
    <published>2020-12-29T14:00:25.000Z</published>
    <updated>2023-06-27T08:44:32.975Z</updated>
    
    <content type="html"><![CDATA[<p>Nowadays, most people in managerial software development (Product Managers, CEOs, usually not the people actually building the product) adopted the notion that “Mobile First Design” is the way to go. In the following paragraphs I will try to explain, deconstruct and debunk the notion that is “Mobile First Design” and why you can stop worrying about it.</p><span id="more"></span><h2 id="What-is-mobile-first"><a href="#What-is-mobile-first" class="headerlink" title="What is mobile first"></a>What is mobile first</h2><p>First, let’s take a step back to define what “Mobile First” actually means. With the drastic increase in mobile devices accessing the web from the early 2010s onwards, web designers were inclined to come up with solutions and workflows to produce concepts that worked on different screen sizes.</p><p>Some people came up with the assumption that starting a design concept on the smallest screen size and then extrapolating the layout to larger screen sizes, was a much better way to ensure good user experience on small devices, than working your way down from large screen designs. This was endlessly reposted and generally accepted as the one-size fits all for every use case. Like many other dogmas in software development, the assumptions underlying this conclusion were never fully questioned or scrutinized. Most articles pretending to engage in critical analysis are in fact pure bias confirmation. </p><p>As a software developer, with quite a bit of design experience and having worked on numerous responsive web and software projects - I can attest, this makes no sense to me. </p><h2 id="What-is-the-purpose-of-design"><a href="#What-is-the-purpose-of-design" class="headerlink" title="What is the purpose of design?"></a>What is the purpose of design?</h2><p>The central purpose of design in media is to structure information (Text, Images, Video) in a digestible and engaging manner. Desktop devices give us a bigger canvas to work with, hence allow for more complex layouts and information structure. In comparison, mobile devices impose certain limits due to their screen size (in regards to maintaining text readability), user interactivity (a touch screen instead of mouse and keyboard), hardware and network performance.</p><p>To use the analogy of image resizing or compression, it certainly makes sense to resize an image to one tenth the size if the original image resolution is ten times greater than the target display. The inverse does not, as enlarging an image by an order of magnitude will result in a large pixelated mess with lots of unwanted artifacts.</p><p>We can observe similar problems, in regards to video, music and even text compression. You can certainly summarize a scientific study or an elaborate novel to a few condensed pages, retaining only the most relevant information. You will find it hard to extrapolate the entire story of The Lord of the Rings, just by reading the back cover.</p><h2 id="Why-mobile-first-is-wrong"><a href="#Why-mobile-first-is-wrong" class="headerlink" title="Why mobile first is wrong?"></a>Why mobile first is wrong?</h2><p>Continuing to build on the point outlined above, referring to information compression, I will go as far as to declare that “Mobile First” as a design paradigm to be not only suboptimal, but plainly wrong. It disregards and reverses the most basic tenet of information compression. It assumes that you will be easily capable of inflating an uncompressed medium (a mobile screen design), which is not the case. In reality, “Mobile First” will lead to desktop layouts that look overly repetitive and boring.</p><p>I suggest nobody is even able to follow the concept of a purely linear approach when designing layouts, going from mobile, to tablet, to desktop, without moving in the opposite direction, without adding new widgets and stylistic elements and without jumping between screens to accommodate for all intricacies. </p><p>The counterpart to “Mobile First”, is sometimes coined as “Responsive Design” or “Graceful degradation”. It means starting out with a larger desktop screen design and reducing complexity with every intermediate step towards mobile. You can skip the Newspeak, they’re just meaningless buzzwords for people to use in meetings when they want to sound knowledgeable. It is more important to understand the underlying concepts than to learn the empty symbolisms.</p><p>Most commonly, people will imagine to be doing “Mobile First”, while not doing “Mobile First” at all. Just like people commonly imagine to be doing “SCRUM” or “Kanban”, while doing neither to the letter. It makes them feel important when they can use big words like “Stories”, “Five Whys” or “Fast Lane” (By the way, did you know Toyota invented Kanban? Who would’ve thought <em>-sarcasm off</em>).</p><p>At the meeting table “Mobile First” is just used as a vague term to emphasize the fact that you’re not going to ignore how the product is going to look for a majority of online users. The endless descriptions, Medium articles and showcases of how “Mobile First” will save you much of your precious time and nerves, rarely feature any pragmatic reference to people using it in their workflow. They’re just revealed scripture.</p><p>Let’s examine the inverse. Now that I’ve written the above - what does that make me? Obviously that makes me a “Mobile First”-heretic. By criticizing and emphasizing the paradigms absurdity, I committed the mortal sin. Since “Mobile First” is the best way to do things and I’m not for it, I must clearly be against efficiency and mobile devices in general. Now soon to be painted with the broad tar brush, who’s going to take me serious anymore? Who’s going to hire me? Certainly not the HR and product managers at big tech companies nodding in silent agreement, while their head of UI design talks about the advantages of “Mobile First”. Can I hear an Amen? - <em>Aaamen</em></p><p>What I’m alluding to, is obviously the Groupthink (a term coined by Orwell and elaborated on by Irving Janis) we can witness in the tech industry. The very centerpiece, the internet, was branded as a space for free and open exchange of ideas. Reality looks different. Large state owned or private institutions defend their vested interests and dissidents are ostracized. For large corporations, it’s sometimes easier to publish more propaganda than to change their way of doing things or (heaven forbid) admit that they were wrong.</p><h2 id="Is-there-an-actually-use-case-for-“Mobile-First-Design”"><a href="#Is-there-an-actually-use-case-for-“Mobile-First-Design”" class="headerlink" title="Is there an actually use-case for “Mobile First Design”?"></a>Is there an actually use-case for “Mobile First Design”?</h2><p>To have the title not be completely misleading, I can imagine one situation where “Mobile First” actually makes sense - app development. Since the majority of the users will be on small devices like phones, extrapolating or “stretching” the app onto tablet size, might actually be the smartest way to go about things.</p><h2 id="Conclusion"><a href="#Conclusion" class="headerlink" title="Conclusion"></a>Conclusion</h2><p>There’s no need to overly emphasize the fact that the above mentioned “Graceful degradation” (excuse the Newspeak), is the superior concept, pragmatically speaking, it is the only one that works properly and that most folks are doing anyway. I assure you, nobody is creating a desktop design from a mobile design, unidirectional and ends up with something remotely visually appealing. Sophisticated designers are always switching back and forth, adjusting gradients, background images and stylistic elements, according the current screen’s requirements. </p><p>Although “Mobile First Design” is inconvenient in it’s purest form, it is certainly possible to create a desktop design from a mobile screen design, by retaining the color scheme, fonts and general design language. Just like it’s possible for a symphony orchestra to play a Nokia ringtone from the late 90s. But that’s not the same thing. This is what I was referring to above with people “imagining” to do “Mobile First”. </p><p>“Mobile First Design” commonly infers coming up with a fixed set of elements that are to be reorganized and reused on larger screen sizes (think, an orchestra of Nokia phones). As soon as you start to invent new elements for every successively larger screen size - that’s not “Mobile First”, that’s just multi-screen design (which is perfectly fine).</p><p>Now you might say: “Just because you can’t imagine it or you can’t do it, doesn’t mean it’s not possible”. </p><p>Well, it sure might be possible, that doesn’t make it good, that doesn’t even make it halfway decent. My central point is this, “Mobile First” is just a buzzword, a symbolism referring to a paradigm that doesn’t exist in reality. It should be called “Mobile Also”, but that wouldn’t work - not nearly catchy enough (remember “America First”?).</p><p>That’s all I have to say, I hope you enjoyed the article. Feel free to share or leave a comment below.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Nowadays, most people in managerial software development (Product Managers, CEOs, usually not the people actually building the product) adopted the notion that “Mobile First Design” is the way to go. In the following paragraphs I will try to explain, deconstruct and debunk the notion that is “Mobile First Design” and why you can stop worrying about it.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Technology" scheme="https://paulcpk.com/tags/Technology/"/>
    
    <category term="UI" scheme="https://paulcpk.com/tags/UI/"/>
    
    <category term="Business" scheme="https://paulcpk.com/tags/Business/"/>
    
  </entry>
  
  <entry>
    <title>The hosts file for greater productivity</title>
    <link href="https://paulcpk.com/the-hosts-file-for-greater-productivity/"/>
    <id>https://paulcpk.com/the-hosts-file-for-greater-productivity/</id>
    <published>2020-12-25T14:00:25.000Z</published>
    <updated>2023-06-27T08:45:09.581Z</updated>
    
    <content type="html"><![CDATA[<p>Recently I’ve been trying to drastically reduce my time spent on social media. I blocked most of the relevant social media platforms in my hosts file. Here’s the snippet with and the reasoning behind it.</p><span id="more"></span><h2 id="What-the-hell-is-a-hosts-file"><a href="#What-the-hell-is-a-hosts-file" class="headerlink" title="What the hell is a hosts file?"></a>What the hell is a hosts file?</h2><blockquote><p>The computer file hosts is an operating system file that maps hostnames to IP addresses.</p></blockquote><ul><li><em><a href="https://en.wikipedia.org/wiki/Hosts_(file">Wikipedia</a></em></li></ul><p>You can think of a domain name like <code>facebook.com</code> as an easy to remember reference of an IP address. When you type <code>https://facebook.com</code> into your browser’s navigation bar, it will go to the nearest DNS (Domain Name System) server, which will redirect you to the correct IP address for this domain.</p><p>If you manually edit the IP references in your hosts file, your browser will use the ones provided there. If the references are fauly or just point to nothing, the website can’t be opened - this is what we’ll be trying to do on purpose.</p><h2 id="How-to-block-access-to-time-consuming-social-media-on-your-computer"><a href="#How-to-block-access-to-time-consuming-social-media-on-your-computer" class="headerlink" title="How to block access to time consuming social media on your computer"></a>How to block access to time consuming social media on your computer</h2><p>Open your hosts file.</p><p><strong>For Windows</strong><br>Go to <code>c:\windows\system32\drivers\etc\hosts</code> (you can just paste it into your explorer’s navigation bar). You will need to open the file in an editor with administrator access to save the changes.</p><p><strong>For Unix based operating systems (MacOS or Ubuntu)</strong><br>Go to <code>/etc/hosts/</code>. In MacOS you can do so by opening the Finder and via “Go” -&gt; “Go to folder…” -&gt; paste <code>/etc/hosts/</code> in the input and hit “Go”.</p><p><strong>Paste the following snippet into your hosts file:</strong></p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">0.0.0.0         twitter.com</span><br><span class="line">0.0.0.0         facebook.com</span><br><span class="line">0.0.0.0         youtube.com</span><br><span class="line">0.0.0.0         instagram.com</span><br><span class="line">0.0.0.0         reddit.com</span><br><span class="line">0.0.0.0         pinterest.com</span><br></pre></td></tr></table></figure><p>Feel free to add or remove domains to your liking. As soon as you changed the site and purged your browser’s cache, your browser will not be able to resolve the domains for the addresses defined above.</p><h2 id="Why-this-nonsense"><a href="#Why-this-nonsense" class="headerlink" title="Why this nonsense?"></a>Why this nonsense?</h2><p>After a week of using this setting in my hosts file on my work machine, I could see a productivity spike of around 20% just this week. I feel more focused and more motivated throughout the day. In general, I just feel like I get more stuff done, and I don’t miss it at all. In hindsight, spending 1-2 hours a day scrolling feeds and clicking videos seems like a huge waste of time.</p><p>For me, the biggest time thief was YouTube and Instagram. Just one short profile view or explanation tutorial would be enough, and I’d be checking the News, Stories or short documentaries for 30+ minutes and wonder how that happened afterwards. The recommendation algorithms are too powerful for our monkey brains. But we can take steps to keep them at bay.</p><h2 id="What-if-I-need-this-for-work"><a href="#What-if-I-need-this-for-work" class="headerlink" title="What if I need this for work"></a>What if I need this for work</h2><p>If your field of work or your business model is closely dependent on social media, you could still choose to use these settings on your private machine, in case you have a separate computer to your business machine. Since you’re connected all day anyway, you can take some time after work to detach and unwind - without constant feed checking and notifications popping in.</p><h2 id="What-else-can-I-do"><a href="#What-else-can-I-do" class="headerlink" title="What else can I do?"></a>What else can I do?</h2><p>I’m a strong proponent of putting my phone into flight mode during the night and keeping it in a different room. I usually don’t check my phone in the first two hours after getting up. This is when I do some physical exercise, meditation and reading while having some black coffee. There’s really no point having social media grab my attention this early in my day. Even if I want to stay connected and up to date, getting online after my morning routine is finished will do just fine.</p><p>If I’m not expecting phone calls I usually have my phone in “Do not disturb” mode, for those who never tried it, you’re phone will not vibrate or make a sound when receiving notifications or calls. This might sound odd for some, but for me it has been a true blessing. When people write or call me, I usually get back to them within an hour or so anyway. I’m just able to cut the two-way relationship, that is modern communication. Hence my phone is a tool I choose to use, not the other way around. </p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Recently I’ve been trying to drastically reduce my time spent on social media. I blocked most of the relevant social media platforms in my hosts file. Here’s the snippet with and the reasoning behind it.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Technology" scheme="https://paulcpk.com/tags/Technology/"/>
    
    <category term="Bash" scheme="https://paulcpk.com/tags/Bash/"/>
    
  </entry>
  
  <entry>
    <title>Psycho-Hygene - Staying fit during lockdown</title>
    <link href="https://paulcpk.com/psycho-hygene-staying-fit-during-lockdown/"/>
    <id>https://paulcpk.com/psycho-hygene-staying-fit-during-lockdown/</id>
    <published>2020-12-15T14:00:25.000Z</published>
    <updated>2023-06-12T19:49:50.679Z</updated>
    
    <content type="html"><![CDATA[<p>My personal guide to stay fit during lockdown, both mentally and physically.</p><span id="more"></span><p>The year 2020 has been challenging for most people, not just the millions out of jobs, people working under much more difficult situations compared to last year, but also the hundreds of thousands confined to their living spaces during lockdown or quarantine. Humans are social animals. In our evolutionary history we’ve never been faced with a situation of such widespread isolation and containment. To stay fit mentally and physically, here’s my personal guide to keep your muscles from fatiguing and your dopamine levels high.</p><h2 id="Eat-clean-x2F-Cook-more"><a href="#Eat-clean-x2F-Cook-more" class="headerlink" title="Eat clean &#x2F; Cook more"></a>Eat clean &#x2F; Cook more</h2><p>A lot of people underestimate the value of high-quality nutrition. No need to go into studies or additional references - you know this. If you’re already doing this to your best knowledge, try to improve it nevertheless. Read some new books about balanced and healthy nutrition, take an online course, start cooking more, order less takeout. Cooking is not just a great way to eat healthier and keep your energy levels high, it’s also a good mental exercise. You work physically to produce something real that results in sensual enjoyment. It’s a great skill to have or to learn.</p><h2 id="Meditate"><a href="#Meditate" class="headerlink" title="Meditate"></a>Meditate</h2><p>The benefits of meditation are usually most noticeable once you stopped your daily practice for a few days. I try to meditate for 20 mins every morning using the guided meditations provided by Sam Harris’ “Waking Up” app. Harris is an amazing teacher with a background in neurobiology. His lessons are devoid of any religious content (he’s a outspoke atheist after all, a very prominent at that). The app is extremely well designed and features a lot of great premium content, like interviews on mindfulness and different meditation courses. </p><p>You can get started for free, but I do recommend getting the subscription if you liked the first few lessons - it’s an investment in yourself after all. In case you’re a student or can’t afford the subscription, you can contact support and they will give you the membership for free - no questions asked (how great is that?).</p><p><a href="https://wakingup.com/">Waking Up App</a></p><h2 id="Work-out-x2F-Don’t-stop-working-out"><a href="#Work-out-x2F-Don’t-stop-working-out" class="headerlink" title="Work out &#x2F; Don’t stop working out"></a>Work out &#x2F; Don’t stop working out</h2><p>Gyms are closed? No problem. There are plenty of ways to stay fit within your confinement. Keeping your body healthy will help keep your mind healthy.</p><p>A few years ago, a friend of mine asked me to give him a fitness plan, that would give him the best looking abs in the shortest time possible. This is what I came up with: <a href="https://github.com/paulcpk/get-ripped-in-3-weeks">Get Ripped In 3 Weeks</a></p><p>The program features dozens of exercises that are suited for a home workout, as well as some general tips regarding fitness and nutrition.</p><h2 id="Consume-less-social-media"><a href="#Consume-less-social-media" class="headerlink" title="Consume less social media"></a>Consume less social media</h2><p>We’re just at the beginning of understanding the harmful effects of social media on brain development and neurogenesis.</p><p>Barely a decade has passed since the introduction of mainstream social media to all age groups, and we’re starting to see some films and documentaries (Men, Women &amp; Children, The Social Dilemma, just to name a few) addressing the massive impact it makes on our daily lives.</p><p>I recently read a book about social media habit formation and dopamine addiction. The experiences described and studies referenced made me aware of the problem at a whole new level.</p><p>Although it might be even more difficult than usual, being stuck in your apartment after all, to quit or work on these habits, it will be well worth the effort. I can personally attest what huge difference a few small adjustments to your daily conduct can have. </p><p>For example, I always have my phone in “Do not disturb mode”, so my phone cannot reach me, hence it remains a tool for my use - not the other way around (a way for social media companies to grab my attention). The advantages (peace of mind, much less distraction, less breaking of concentration) much outweigh the disadvantages (sometimes missing a call or a message).</p><h2 id="Read-more-x2F-learn-a-new-skill"><a href="#Read-more-x2F-learn-a-new-skill" class="headerlink" title="Read more &#x2F; learn a new skill"></a>Read more &#x2F; learn a new skill</h2><p>One of the most grueling aspects of working from home or just being stuck in isolation, is the sheer repetitiveness of it. To counter this, you should actively seek to develop and challenge your mind. </p><p>You need mental stimulation in order to stay happy. Analogous to the topic of nutrition, Tik Tok or Reddit are very simple stimulation, processed sugars - they make you hyped instantly, then empty and sad after a short while. You need complex simulation in order to keep your mind sustainably happy and balanced. </p><p>Some activities I already mentioned above, like meditation or exercise, are a great way to achieve this. Others can be reading, cross-word puzzles and the like or creative output like practicing an instrument, painting or writing.</p><p>Particularly reading had a deeply transformative effect on me. Reading books on political theory and economics gives me a better way of understanding what the media and economic news outlets are narrating, reading books on personal development or psychology help me understand myself and my social environment better, books on philosophy help me find meaning and transcendence. Novels can be a great guide as well. They offer you the chance of reliving the fictional experiences of other people. There’s only so many experiences you can have in real life after all.</p><p>You can find an almost infinite amount of creative and educational content online to acquire a new skill, regardless if it’s for career or personal development. Put the time you save on commuting to better use. Soon the world will go back to normal, you should use the change of pace to your advantage.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;My personal guide to stay fit during lockdown, both mentally and physically.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
  </entry>
  
  <entry>
    <title>Five books that influenced me the most</title>
    <link href="https://paulcpk.com/five-books-that-influenced-me-the-most/"/>
    <id>https://paulcpk.com/five-books-that-influenced-me-the-most/</id>
    <published>2020-11-25T14:00:25.000Z</published>
    <updated>2023-06-12T19:48:40.990Z</updated>
    
    <content type="html"><![CDATA[<p>As an avid reader, I came across a few gems over the years that profoundly influenced my thinking and changed the way I look at the world. </p><span id="more"></span><p>Books, as a medium, are amazing to me. They connect intellectuals across space, time and culture. You can read books and pamphlets originating in ancient Rome or Greece in conjunction with contemporary literature and find common ground. Human nature doesn’t change, and the common themes our myths, stories and non-fiction have revolved around over the centuries are proof of that (to me at least).</p><p>I spent the past few years reading and listening to a lot of audiobooks in my spare time. Here are some of the most honorable mentions, that I would like to share with you:</p><h2 id="Atomised-Les-Particules-elementaires-Michel-Houellebecq"><a href="#Atomised-Les-Particules-elementaires-Michel-Houellebecq" class="headerlink" title="Atomised (Les Particules élémentaires) - Michel Houellebecq"></a>Atomised (Les Particules élémentaires) - Michel Houellebecq</h2><p>Critics have labeled Houellebecq’s novels as “vulgar” and “pornographic”, he is accused of inciting racism and misogyny. I have to disregard these claims, only feeble minds would reach a verdict as crude as this. </p><p>Along with “Atomised”, “Submission” are the only two books in my life I couldn’t put away until they were finished. No other writer was able to draw me into their work, into the world they created as much as Houellebecq did. His writing style is incredibly vivid, honest and true. His political and sociological analysis is pure genius. The characters he describes feel more than real, hyperreal, yet still part of his very own nature. Houellebecq is like a painter drawing a very intriguing picture, grotesque but fascinating, giving you insights on questions about the nature of your being which you never dared ask.</p><p>The story is about two half-brothers, Michel and Bruno. Michel is a brilliant molecular biologist with little interest in sex or human society in general. Bruno, by contrast, a sexually frustrated, middle aged high school teacher with a harsh abusive upbringing at a boarding school. The story is about sex, love and loss and about the failure of individualist society to deliver on the naive promises and implied advantages we’ve been made to believe. </p><p>Turning 30 soon, the story struck a familiar chord with me. I plan on reading “The Map and the Territory” next.</p><h2 id="Crime-and-Punishment-Fyodor-Dostoevsky"><a href="#Crime-and-Punishment-Fyodor-Dostoevsky" class="headerlink" title="Crime and Punishment - Fyodor Dostoevsky"></a>Crime and Punishment - Fyodor Dostoevsky</h2><p>Dostoevsky’s books are dense and melancholic. The stories carry a sort of melancholic purity in their conduct. Few people understand human nature more profoundly than he did.</p><p>At age 28 he was sentenced to 4 years in a Siberian prison camp, followed by six years of compulsory military service in exile. He was a drinker and a gambler and was in a financial hardship for most of his life. Yet he was able to write some of the most significant works of literature the world has ever seen. </p><p>Crime and Punishment is about a poor youth, a highly intelligent university student, living in St. Petersburg of the 1860s. He decides to commit a murder in order to escape his financial troubles, whereby he becomes entangled in a web of psychological terror, guilt and fear.</p><p>This masterpiece may very well rival any contemporary thriller.</p><h2 id="Thinking-Fast-and-Slow-Daniel-Kahneman"><a href="#Thinking-Fast-and-Slow-Daniel-Kahneman" class="headerlink" title="Thinking, Fast and Slow - Daniel Kahneman"></a>Thinking, Fast and Slow - Daniel Kahneman</h2><p>Thinking, Fast and Slow is a best-selling book published during 2011 by Nobel Memorial Prize in Economic Sciences laureate Daniel Kahneman. It was the 2012 winner of the National Academies Communication Award for best creative work that helps the public understanding of topics of behavioral science, engineering and medicine.</p><p>The most intriguing feature of the book, is the introduction to the concept of two modes of thought - fast thinking and slow thinking, defined as System 1 and System 2 respectively. The book delineates rational and non-rational motivations&#x2F;triggers associated with each type of thinking process, and how they complement each other.</p><p>Regarding the conventional economic topics covered in the book is a relatively high overlap with two other books I read, namely “Freakonomics” by Steven D. Levitt &amp; Stephen J. Dubner and “Superforecasting: The Art and Science of Prediction” by Philip E. Tetlock. I’d argue that Kahneman’s book is the best of the three, but the others are very well worth a read as well.</p><h2 id="Basic-Economics-Thomas-Sowell"><a href="#Basic-Economics-Thomas-Sowell" class="headerlink" title="Basic Economics - Thomas Sowell"></a>Basic Economics - Thomas Sowell</h2><p>As one of Milton Friedman’s contemporaries, Thomas Sowell has been dispelling economic and political myths and biases since the 1970s. Interestingly enough, the same political discussions that we tend to engage in, have been around for decades. You can find videos of Sowell debating the gender wage gap with feminists in the 1970s, as well as a myriad of other topics.</p><p>Basic Economics is a very comprehensive guide to understanding practical Economics, explaining the workings on an immense number of practical and historical examples, how it influences our daily lives, as well as the impact of public policy. The book contains no fancy charts, just words. Taking up the tradition of the Austrian and later Chicago school of thought, Sowell’s take on economics is a very pragmatic one, fairly easy to understand.</p><p>If you’re looking for a more condensed guide to improve your economic understanding “Economics in One Lesson” by Henry Hazlitt is a great choice. </p><p>Thomas Sowell has recently turned 90 and he’s still writing. One of his other works I cherish a lot is “Conflict of Visions”, which analyzes the fundamental psychological differences in the two main branches of contemporary politics. A true eye opener.</p><h2 id="A-Guide-to-the-Good-Life-The-Ancient-Art-of-Stoic-Joy-William-B-Irvine"><a href="#A-Guide-to-the-Good-Life-The-Ancient-Art-of-Stoic-Joy-William-B-Irvine" class="headerlink" title="A Guide to the Good Life: The Ancient Art of Stoic Joy - William B. Irvine"></a>A Guide to the Good Life: The Ancient Art of Stoic Joy - William B. Irvine</h2><p>Aside from a few YouTube videos, “The Ancient Art of Stoic Joy” was my first introduction to Stoicism. William B. Irvine, professor of philosophy at Wright State University, takes up the task of explaining the philosophical branch by referencing text and anecdotes of four of the greatest stoics in ancient history, namely Zeno, Epictetus, Seneca and Marcus Aurelius, as well as a few others. The book is a practical guide on how to integrate stoic wisdom and philosophy into one’s daily life.</p><p>“The Daily Stoic” by Ryan Holiday is a great addition to the book, as it contains a short 1-2 page anecdote with an implied practice for each day of the year.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;As an avid reader, I came across a few gems over the years that profoundly influenced my thinking and changed the way I look at the world. &lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
  </entry>
  
  <entry>
    <title>Classic MACD Indicator For MT5</title>
    <link href="https://paulcpk.com/classic-macd-indicator-for-mt5/"/>
    <id>https://paulcpk.com/classic-macd-indicator-for-mt5/</id>
    <published>2020-11-01T14:00:25.000Z</published>
    <updated>2023-06-12T19:48:26.915Z</updated>
    
    <content type="html"><![CDATA[<p>Recently, I had enough and wrote my own MACD indicator for MetaTrader5. Here’s everything you need to know about it.</p><span id="more"></span><p>TLDR, better MACD: <a href="https://github.com/paulcpk/mql5-MT5-MACD-Classic">https://github.com/paulcpk/mql5-MT5-MACD-Classic</a></p><h2 id="Prelude"><a href="#Prelude" class="headerlink" title="Prelude"></a>Prelude</h2><p>Like most people working with MT5, I had my ups and downs. Some features of the Software are very intricate but work great, other things should be quite simple but just don’t work. </p><p>A short while ago, I tried to automate <a href="https://www.youtube.com/watch?v=nmffSjdZbWQ&t=242s">a trading strategy I found</a> on the TRADING RUSH channel on YouTube. It centers around MACD (Moving Average Convergence-Divergence), so that was among the indicators I implemented. When testing my code, I realized the indicator was returning values different to the values on TradingView, for the same forex pair and timeframe. </p><p>That was strange, as the difference was too great as to disregard it as a rounding error. On closer examination I opened the MACD indicator in MT5 for cross examination, to my surprise I got this:</p><p>This is what MACD looks like on MT5. For all of you familiar with this indicator, this should throw you off. Confused with what I saw, I asked myself the following questions:</p><ul><li>Where’s the signal line?</li><li>Is the red line the signal or the main line?</li><li>The histogram doesn’t look right, how am I supposed to interpret this?</li></ul><p>After looking into the source code, I realized that for some reason, the guys at MetaQuotes (the software company in charge), found it to be a good idea to have their MACD work differently to how it operates EVERYWHERE else. </p><p>This is how it’s different. The standard MACD in MT5 works as follows:</p><ul><li>The blue-ish histogram is the main line, indicating the difference between the 12 and 26 EMA</li><li>The red line is indeed the signal line, but using a SMA instead of an EMA as usual</li><li>There’s no “histogram” (indicating the difference between the main and signal line) like you would expect. I guess you could interpret it yourself, although a very useful visual guide is missing here.</li></ul><p>After looking searching for a bit I immediately found <a href="https://www.mql5.com/en/market/product/2593">this alternative MACD indicator</a>. Although very well designed, it didn’t suite my need, since the source code wasn’t available and I needed to know what was happening on a low level.</p><p>I was unable to find anything useful, so I went ahead and adapted the standard library to my needs. I published it here: <a href="https://github.com/paulcpk/mql5-MT5-MACD-Classic">https://github.com/paulcpk/mql5-MT5-MACD-Classic</a></p><p>This is what it looks like:</p><p>As you can see, this looks much more similar to what you would find on any other charting platform. </p><h2 id="Installation-amp-Usage"><a href="#Installation-amp-Usage" class="headerlink" title="Installation &amp; Usage"></a>Installation &amp; Usage</h2><p>In the repo you can find 2 files, MACDClassic.mq5 (Source) and MACDClassic.ex5 (Compiled code, use this for MT5). </p><p>To make the indicator available in MT5, all you need to do is paste it in the right folder in your MT5 installation, like so:</p><p><code>&lt;your MT5 installation directory&gt;\MQL5\Indicators\Market\MACDClassic.ex5</code></p><p>After restarting MT5, the indicator should be available under <code>Insert -&gt; Indicators -&gt; Custom -&gt; MACDClassic</code>.</p><p>Here a quick overview:</p><p>An intro screen and description.</p><p>The standard settings for MACD as usual.</p><p>You can set the colors to your preference.</p><h2 id="Summary"><a href="#Summary" class="headerlink" title="Summary"></a>Summary</h2><p>The indicator is missing more advanced features, like different color coding for ascending and descending sections or highlighting divergences (which the more sophisticated <a href="https://www.mql5.com/en/market/product/2593">Traditional MACD </a> actually does), however it can surely be very useful when writing your own forex robots.</p><p>I hope you found this post useful, If you find any issues with the indicator or want to contribute feel free to leave a comment or open an issue on GitHub.</p><p><a href="https://github.com/paulcpk/mql5-MT5-MACD-Classic">https://github.com/paulcpk/mql5-MT5-MACD-Classic</a></p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Recently, I had enough and wrote my own MACD indicator for MetaTrader5. Here’s everything you need to know about it.&lt;/p&gt;</summary>
    
    
    
    
    <category term="MQL5" scheme="https://paulcpk.com/tags/MQL5/"/>
    
    <category term="Trading" scheme="https://paulcpk.com/tags/Trading/"/>
    
  </entry>
  
  <entry>
    <title>The Best Youtube Channels For Trading Forex</title>
    <link href="https://paulcpk.com/the-best-youtube-channels-for-trading-forex/"/>
    <id>https://paulcpk.com/the-best-youtube-channels-for-trading-forex/</id>
    <published>2020-10-01T08:00:00.000Z</published>
    <updated>2023-06-12T19:50:15.095Z</updated>
    
    <content type="html"><![CDATA[<p>I gained quite a bit of my knowledge about trading through watching YouTube. Albeit, finding useful information by watching these videos is like trying to find a needle in a hay stack. To make things easier for you, I made a quick list of the Channels that helped me the most over the past two years.</p><span id="more"></span><h2 id="Trading-Rush"><a href="#Trading-Rush" class="headerlink" title="Trading Rush"></a>Trading Rush</h2><p>By far the newest and most useful Channels of the Bunch. Some guy on the internet just started making very pragmatic videos about his trading style. Extremely straight forward explanations of strategies and psychology. No upselling, no BS.</p><p><a href="https://www.youtube.com/channel/UCgY_eHY4NCTcRnU6CCZXWng">TRADING RUSH</a></p><h2 id="Chat-with-Traders"><a href="#Chat-with-Traders" class="headerlink" title="Chat with Traders"></a>Chat with Traders</h2><p>Technically not just a YouTube Channel but a podcast, Aaron Fifield interviews the best and the brightest in the broad field of trading. With more than 200 episodes, there’s plenty of useful material to enjoy.</p><p><a href="https://chatwithtraders.com/podcast-episodes">https://chatwithtraders.com/podcast-episodes</a></p><h2 id="The-Secret-Mindset"><a href="#The-Secret-Mindset" class="headerlink" title="The Secret Mindset"></a>The Secret Mindset</h2><p>Some guy named Marius created this Channel about 2 years ago. It features lots of useful, nicely animated videos about strategy and indicator utilization.</p><p><a href="https://www.youtube.com/c/TheSecretMindset/videos">The Secret Mindset</a></p><h2 id="UKSpreadBetting"><a href="#UKSpreadBetting" class="headerlink" title="UKSpreadBetting"></a>UKSpreadBetting</h2><p>British Trader Mark talks not just about spread betting, but about all sorts of trading strategies, ideas and psychology. Very useful content.</p><p><a href="https://www.youtube.com/channel/UCnKPQUoCRb1Vu-qWwWituGQ">UKSpreadBetting</a></p><h2 id="ForexSignalsTV"><a href="#ForexSignalsTV" class="headerlink" title="ForexSignalsTV"></a>ForexSignalsTV</h2><p>Not a lot of videos, but quite interesting. Andrew Lockwood and his crew explain a lot of concepts regarding forex trading. They also offer an exclusive membership to their community at ForexSignals.com.</p><p><a href="https://www.youtube.com/c/ForexSignalsTV/videos">ForexSignalsTV</a></p>]]></content>
    
    
    <summary type="html">&lt;p&gt;I gained quite a bit of my knowledge about trading through watching YouTube. Albeit, finding useful information by watching these videos is like trying to find a needle in a hay stack. To make things easier for you, I made a quick list of the Channels that helped me the most over the past two years.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Trading" scheme="https://paulcpk.com/tags/Trading/"/>
    
  </entry>
  
  <entry>
    <title>The best CSS frameworks for front-end development</title>
    <link href="https://paulcpk.com/the-best-css-frameworks-for-frontend-development/"/>
    <id>https://paulcpk.com/the-best-css-frameworks-for-frontend-development/</id>
    <published>2020-09-07T11:00:00.000Z</published>
    <updated>2023-06-27T08:44:57.689Z</updated>
    
    <content type="html"><![CDATA[<p>With the advent of mobile web development and responsive design about 10 years ago, a number of prominent CSS frameworks started to emerge, in order to speed up development and improve the developer experience. A lot of time has passed, some conventions were overhauled, some stood the test of time.</p><span id="more"></span><p>Nowadays we tend to use a lot more JavaScript in front-end development. Some of the workarounds and cross browser optimizations aren’t necessary anymore - I would say browsers are much more friendly to developers today, than they were back then. Here’s a list of front-end frameworks and libraries that will speed up your front-end development significantly:</p><h2 id="Bootstrap"><a href="#Bootstrap" class="headerlink" title="Bootstrap"></a>Bootstrap</h2><p><a href="https://getbootstrap.com/">https://getbootstrap.com</a></p><p>Bootstrap, originally called “Twitter Bootstrap”, has been around since 2011 and still is one of the most relevant CSS front-end frameworks to date. With more than 142,000 Stars it ranks as the seventh most starred project on GitHub. I’ve been using Bootstrap since around 2012 and to me, it still is one of the best, if not the best tools out there. It just seems to make the most sense in terms of class naming conventions, design language and the overall makeup of the project. With the release of Bootstrap 4 in 2014, the project switched from LESS to SASS. The project features an extensive amount of styled elements like forms, navigation, buttons and typography as well as certain complex components utilizing JavaScript, like modal windows, tabs or sliders. In my experience using Bootstrap makes layouting, styling and cross-browser optimization so much easier, regardless of other front-end frameworks or libraries being used. If you’re worried about asset size, you can just import the parts of Bootstrap you need (via the SASS import syntax) and leave out the rest.</p><h2 id="Bulma"><a href="#Bulma" class="headerlink" title="Bulma"></a>Bulma</h2><p><a href="https://bulma.io/">https://bulma.io</a></p><p>If Bootstrap if too broad for your purpose, you might want to look into Bulma. Bulma comes with a concise set of component, typography and layout styles, at a much smaller size than bootstrap. The project is framework agnostic and can easily be integrated with any React, Vue or Angular project.</p><h2 id="Ant-Design"><a href="#Ant-Design" class="headerlink" title="Ant Design"></a>Ant Design</h2><p><a href="https://ant.design/">https://ant.design</a></p><p>If you are developing an enterprise level React project and you want a complete solution for your entire UI, Ant Design will be the way to go. The Chinese Firm “Ant Experience Technology” develops and maintains the project. Ant Design comes with and immense amount of ready-to-use components, styles, animations and is fully customizable. The documentation is excellent, it’s TypeScript compatible and with more than 63,000 GitHub stars, you won’t be alone should you run into problems. I’ve used Ant Design in a large project before and it reduced development time significantly. The only downside is size, at almost 2MB unoptimized (when importing all styles and components) the framework can significantly impair loading time. It was originally developed for React, but there are ports for other frontend frameworks.</p><h2 id="UIkit"><a href="#UIkit" class="headerlink" title="UIkit"></a>UIkit</h2><p><a href="https://getuikit.com/">https://getuikit.com</a></p><p>Similar to Ant Design, but at a smaller size you can find UIkit. It’s a well developed and maintained fully-featured UI-framework. What I like about UIkit is its’ distinct design langue and premium visual appeal. UIkit is well documented, well maintained and frameworks agnostic. I have never used UIkit personally, but will definitely consider doing so in the future.</p><h2 id="Mini-Frameworks"><a href="#Mini-Frameworks" class="headerlink" title="Mini Frameworks"></a>Mini Frameworks</h2><p>There are quite a few CSS libraries and frameworks that try to do the “minimalist” approach. The problem is, the design quality is usually a bit poor, the components lack nice animations and there’s no advantage to just using certain parts of Bootstrap or some larger library. Here are some examples:</p><ul><li><a href="https://milligram.io/">https://milligram.io</a></li><li><a href="https://tailwindcss.com/">https://tailwindcss.com</a></li><li><a href="https://purecss.io/">https://purecss.io</a></li><li><a href="https://materializecss.com/">https://materializecss.com</a></li></ul><h2 id="Thoughts-on-Material-Design"><a href="#Thoughts-on-Material-Design" class="headerlink" title="Thoughts on Material Design"></a>Thoughts on Material Design</h2><p>Similar lists would often feature Google’s Material Design towards the top. I strongly discourage people from using it. The framework is relatively sound from a technical aspect, but in terms of UX it comes with a lot of logical contradiction and bad design choices. Material Design is still a remnant of the “Flat Design” trend of 2013&#x2F;2014. The forced minimalism makes it actually harder to read and interact with the UI. One of the main reasons a lot of companies can “get away” with using it, is because a large share of the population are Android users and have learned the peculiarities of the design. In terms of developer experience, we get a half-baked documentation (as with most Open-Source Projects by Google, <a href="https://material.io/components">https://material.io/components</a>) with the Open-Source community expected to take up the task of translating it into different front-end frameworks, in order to actually make it usable. Overall, design trends move faster than Material Design could keep up with, it feels dated. There are better alternatives out there.</p><h2 id="Inverse"><a href="#Inverse" class="headerlink" title="Inverse"></a>Inverse</h2><p>On the flip side, relying too much on “prefabricated” design elements and choice reduces the natural pluralism and evolutionary processes in web design. Instead of decentralization and eventual innovations in design, we’d have radical centralization with tech giants like Google and Facebook dictating concepts and everybody else following suit. This is no way to move web design forward.</p><p>If you enjoyed the article, please share it on social media and feel free to leave a comment below.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;With the advent of mobile web development and responsive design about 10 years ago, a number of prominent CSS frameworks started to emerge, in order to speed up development and improve the developer experience. A lot of time has passed, some conventions were overhauled, some stood the test of time.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Technology" scheme="https://paulcpk.com/tags/Technology/"/>
    
    <category term="React" scheme="https://paulcpk.com/tags/React/"/>
    
    <category term="CSS" scheme="https://paulcpk.com/tags/CSS/"/>
    
  </entry>
  
  <entry>
    <title>Using cURL with FTP</title>
    <link href="https://paulcpk.com/using-curl-with-ftp/"/>
    <id>https://paulcpk.com/using-curl-with-ftp/</id>
    <published>2020-08-23T20:00:00.000Z</published>
    <updated>2023-07-04T17:46:56.390Z</updated>
    
    <content type="html"><![CDATA[<p>I recently needed to write a bash script for a CI-pipeline deployment and came across some useful snippets for using cURL to upload file via the FTP protocol. You can find the snippets below.</p><span id="more"></span><h2 id="What-is-cURL"><a href="#What-is-cURL" class="headerlink" title="What is cURL?"></a>What is cURL?</h2><p>From Wikipedia:</p><blockquote><p>cURL (pronounced ‘curl’) is a computer software project providing a library (libcurl) and command-line tool (curl) for transferring data using various network protocols. The name stands for “Client URL”, which was first released in 1997.</p></blockquote><h2 id="cURL-with-FTP"><a href="#cURL-with-FTP" class="headerlink" title="cURL with FTP"></a>cURL with FTP</h2><p>cURL is an immensely powerful library&#x2F;command-line tool that enables you to execute CRUD operations against a number of different endpoints or using numerous protocols. Particularly for complex task execution with CI pipelines like TravisCI or CircleCI, it can be very helpful to upload a build step or generated assets to a webspace via FTP.</p><p>Here’s the list of the most useful snippets I found:</p><h3 id="Login-using-cURL-via-FTP"><a href="#Login-using-cURL-via-FTP" class="headerlink" title="Login using cURL via FTP"></a>Login using cURL via FTP</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">curl -p &quot;ftp://ftp.myserver.com/&quot; --user &quot;myuser@myserver.com:mypassword&quot;</span><br></pre></td></tr></table></figure><h3 id="Upload-using-cURL-via-FTP"><a href="#Upload-using-cURL-via-FTP" class="headerlink" title="Upload using cURL via FTP"></a>Upload using cURL via FTP</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">curl -p &quot;ftp://ftp.myserver.com/&quot; --user &quot;myuser@myserver.com:mypassword&quot; -T &quot;./test.xml&quot;</span><br></pre></td></tr></table></figure><p>If you plan to upload to a subdirectory, e.g.: <code>./mysubdir/test.xml</code>, add the <code> --ftp-create-dirs</code> flag to the command.</p><h3 id="Download-using-cURL-via-FTP"><a href="#Download-using-cURL-via-FTP" class="headerlink" title="Download using cURL via FTP"></a>Download using cURL via FTP</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">curl -p &quot;ftp://ftp.myserver.com/%2ftest.xml&quot; --user &quot;myuser@myserver.com:mypassword&quot; -o &quot;./test.xml&quot;</span><br></pre></td></tr></table></figure><h3 id="Rename-using-cURL-via-FTP"><a href="#Rename-using-cURL-via-FTP" class="headerlink" title="Rename using cURL via FTP"></a>Rename using cURL via FTP</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">curl -p &quot;ftp://ftp.myserver.com/&quot; --user &quot;myuser@myserver.com:mypassword&quot; -Q &quot;-RNFR ./test.xml&quot;  -Q &quot;-RNTO ./my-new-name.xml&quot;</span><br></pre></td></tr></table></figure><h3 id="Delete-using-cURL-via-FTP"><a href="#Delete-using-cURL-via-FTP" class="headerlink" title="Delete using cURL via FTP"></a>Delete using cURL via FTP</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">curl -v &quot;ftp://ftp.myserver.com/%2fmy-new-name.xml&quot; --user &quot;myuser@myserver.com:mypassword&quot; -Q &quot;DELE my-new-name.xml&quot;</span><br></pre></td></tr></table></figure><h3 id="Upload-all-files-in-a-folder-via-FTP"><a href="#Upload-all-files-in-a-folder-via-FTP" class="headerlink" title="Upload all files in a folder via FTP"></a>Upload all files in a folder via FTP</h3><p>This command will upload all files in <code>my-test-directory</code> to the defined location at the FTP endpoint.</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">find ./my-test-directory -type f -exec curl -v -u &quot;myuser@myserver.com:mypassword&quot; --ftp-create-dirs -T &#123;&#125; ftp://ftp.myserver.com/&#123;&#125; \;</span><br></pre></td></tr></table></figure><h2 id="Credits"><a href="#Credits" class="headerlink" title="Credits"></a>Credits</h2><p>Courtesy to Mukesh Kumar’s post, where I got inspiration for some of my snippets:<br><a href="http://www.mukeshkumar.net/articles/curl/how-to-use-curl-command-line-tool-with-ftp-and-sftp">http://www.mukeshkumar.net/articles/curl/how-to-use-curl-command-line-tool-with-ftp-and-sftp</a></p>]]></content>
    
    
    <summary type="html">&lt;p&gt;I recently needed to write a bash script for a CI-pipeline deployment and came across some useful snippets for using cURL to upload file via the FTP protocol. You can find the snippets below.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Bash" scheme="https://paulcpk.com/tags/Bash/"/>
    
  </entry>
  
  <entry>
    <title>From Crypto-HODL to Algo-Trading - How I got started</title>
    <link href="https://paulcpk.com/from-hodl-to-algo-trading/"/>
    <id>https://paulcpk.com/from-hodl-to-algo-trading/</id>
    <published>2020-05-25T10:45:00.000Z</published>
    <updated>2023-06-12T19:48:51.911Z</updated>
    
    <content type="html"><![CDATA[<p>Over the past few years I started dabbling in crypto currencies and transitioned from full-time freelance software developer to part-time trader, here’s how I did it.</p><span id="more"></span><p>Like most people in Europe, I never really got in touch with financial instruments for most of my life. On average, I feel like in North America, it’s more commonplace to use stocks and bonds as a store of value, but not here where I grew up. People tend to rely on Government for their financial needs and security and naively accept the notion that it will always be there to provide. You never learn about markets and finance in school, and if nobody in your close proximity tends to be active in the field and explains it to you, the tools of the financial world keep their enigmatic character.</p><p>2014 was the year I first heard about Ethereum. I’ve seen people using Bitcoin before and understood that it was some sort of anonymous payment method, Ethereum was different apparently. This acquaintance of mine was raving about how it was going to change the way we build web apps and that you could make lots of money with this eventually.</p><p>I didn’t think much of it, it was only in 2016 when the price of Ether started to rise, that I looked closer into it. I read some blog posts and watched a few videos of Vitalik Buterin explaining his invention. I was intrigued and decided to buy some. Not to build web apps anyway, just as a form of passive investment. Luckily, Coinbase was already around and the process was quite easy. I put some of my savings into it (no more than I could afford to lose) when the price was at around 11 USD. Like most first timers dabbling in markets, I was constantly checking the price until I decided to just walk away and consider it done.</p><p>In spring of 2017 the price of Ethereum, as well as most crypto currencies started to appreciate, suddenly my investment increased 7-fold. I was captivated. I realized the power of market knowledge as a tool to generate wealth.</p><p>In October of the same year the craze started. Dubious Alt-Coins started popping up left and right, all the major crypto currencies seemed to have no way to go but up. Suddenly everybody started talking about it and everybody seemed to be buying some.</p><p>Then the expected thing happened, in January 2018 the bubble started to burst. The value of all the crypto currencies propped up by high expectations dropped throughout the whole year and hit their lowest point around November. Then and there I decided to sell everything.</p><p>I still made a good profit (around 8 times my initial investment), but obviously only a fraction of what I could have had at the peak (approximately 100 times my initial investment).</p><p>By that time I was already in love with the idea of making a living trading the markets. I bought my first video course on trading towards the end of 2017 and started a Udacity Degree called “AI for trading” in Summer of 2018. The program was quite a comprehensive introduction into the world of finance, python and data analytics in general. I learned a lot and really liked the content.</p><p>Half-way through the degree, I learned about mean reversion (prices tend to revert to the mean). The concept seemed very compelling and I thought it would be a good idea to try it out on a crypto exchange. Since I knew next to nothing about actually trading with a user interface, I intuitively gravitated towards building a simple trading bot. </p><p>I started in December of 2018 building a trading bot in NodeJS, using the Bitfinex API (which still is one of the easiest to use and well documented) including a backtesting engine to test the viability of my strategies. After around 8 weeks it was live and trading with real money.</p><p>I came up with several strategies, but a simple EMA crossover seemed to yield the best results. It was working like a charm for around 3 months, every month I doubled the trading account, then in the 4th month, the strategy stopped working and I lost all the money I made so far. I was about even, so no harm done, but I realized that I had been too overconfident in my execution, so more learning and testing was needed. It was the summer of 2019 by then.</p><p>Since I knew so little about actual trading at that time, I started looking into YouTube channels, books and other resources to learn how to do it properly. Like most beginners will know, this is a tough road with a lot of garbage content. Eventually I came up with a decent collection of useful books, articles and videos. </p><p>A source that helped me a lot is Aaron Fifield’s <a href="https://chatwithtraders.com/">CHAT WITH TRADERS Podcast</a>. He interviews the best and the brightest of the institutional trading industry, as well as self-taught retail traders and talks about their journey and lessons learned.</p><p>Over time I shelved the idea of trading Crypto in favor of forex (much higher volume, better spreads). Also I came up with many reasons to do swing trading manually and tried to improve in that direction. My trading bot just wasn’t capable of managing complex entries and exits, and I didn’t know any automated trading system that fit my needs at the time. </p><p>After a failed attempt to trade a demo account profitably over the period of a month, I read some more, learned some more and succeeded the second time around. In March of 2020 I was trading a small account on forex.com, and actually generated around 7 percent in profits (profits went up to 15%, then back down to 7%), but again realized that my strategy was unsustainable. My surplus was largely caused by the massive volatility due to the coronavirus outbreak. </p><p>Also, I realized a big flaw in the ideas around swing trading. A lot of people try to promote swing trading as a more relaxed alternative to day trading and easier to reconcile with a day job - this is not necessarily true. Managing your market entries and exits precisely is crucial for success, that means you would have to watch the market at all times.</p><p>In the mean time I tried out a number of algo-trading platforms, that work with either a major crypto or forex exchange. I tried QuantConnect (LeanEngine), freqtrade (Open Source Python project for trading crypto), StockSharp (Semi-Open Source) and finally MetaTrader5 (MQL5). The only ones I can recommend are freqtrade and MetaTrader. </p><p>Freqtrade has an excellent documentation, is completely free, open source and very feature rich. You will need to know a good deal of Python, since you might run into some problems with execution and deployment, but for me this is by far the best solution for algo-trading crypto currencies.</p><p>I shied away from MetaTrader many times, due to its’ unappealing interface and unavailability on MacOS (it’s possible to use a wine wrapper, but it runs much smoother on Windows), but I finally came around to use it and I love it! MetaTrader5 it the go to Software for trading Forex, every major platform offers it. It has been around since 2002, it’s extremely feature rich, very customizable (you just need to learn your way around the UI), and comes with an excellent backtesting engine and programming language (MQL5) to write trading bots (so called Expert Advisors).</p><p>My current setup is this: I’m writing Expert Advisors in MQL5 with a Pepperstone.com account. I have a premium TradingView account for convenience to come up with strategies and do rudimentary backtesting. If I see potential, I translate the strategy into a script, which I backtest thoroughly, optimize and eventually deploy. I switched to much lower timeframes with my strategies (1m-15m) in order to exploit short term gains more regular.</p><p>I’ve come a long way, read a lot of books and still enjoy my journey of becoming a successful trader. I hope you enjoyed the story, if you have any suggestions, feel free to leave a comment below.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Over the past few years I started dabbling in crypto currencies and transitioned from full-time freelance software developer to part-time trader, here’s how I did it.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Trading" scheme="https://paulcpk.com/tags/Trading/"/>
    
  </entry>
  
  <entry>
    <title>Being bearish on Ember</title>
    <link href="https://paulcpk.com/being-bearish-on-ember/"/>
    <id>https://paulcpk.com/being-bearish-on-ember/</id>
    <published>2020-03-07T14:00:25.000Z</published>
    <updated>2023-06-12T19:47:57.128Z</updated>
    
    <content type="html"><![CDATA[<p>Ever since I started using Ember.js, towards the end of 2016, I was a fan and advocate of the framework. My conviction didn’t come from expert opinion or my peer group but from objective examination and comparison of equivalent technology available at the moment. My confidence regarding Ember.js is starting to fade.</p><span id="more"></span><h2 id="Lack-of-community-Lack-of-developers"><a href="#Lack-of-community-Lack-of-developers" class="headerlink" title="Lack of community, Lack of developers"></a>Lack of community, Lack of developers</h2><p>Particularly over the past 2 years the problem became more and more prevalent. Fewer companies using Ember means fewer developers using Ember, means fewer people developing or maintaining plugins. </p><p>In 2016 when I started using Ember it was clearly ahead of the game because of its’ mature CLI and well maintained and easy-to-use package ecosystem. The Angular team clearly saw the advantage of the CLI workflow proposed by Ember.js and adopted the CLI at its’ core. With React and Angular on the rise, fewer people were using Ember, which in turn initiated a self-perpetuating cycle.</p><p>Nowadays, Ember has become a tough sell. How can you convince a customer or project  manager that using Ember in a project will work out despite the fact that it’s hard to find developers, few people are updating the ecosystem and there’s scarcely anybody advocating for it, the way people are for React and Angular.</p><p>Despite the core developers doing an excellent job of continued development and documentation, I don’t think it will be enough to keep up with the industry.</p><p>More people will abandon Ember in favor of React, Angular or Vue, primarily due to the lack of income reliability - it’s just too hard to find a job.</p><h2 id="Design-Choices"><a href="#Design-Choices" class="headerlink" title="Design Choices"></a>Design Choices</h2><p>With the recent move to Octane (Ember ^3.15.x), which is in turn a new set of features, Ember is using a lot of new syntax and conventions that do not necessarily improve developer experience. </p><p>Particularly the move to the new component syntax,</p><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">// before</span><br><span class="line">&#123;&#123;#link-to &quot;about&quot; class=&quot;button&quot;&#125;&#125;About&#123;&#123;/link-to&#125;&#125;</span><br><span class="line"></span><br><span class="line">// now</span><br><span class="line">&lt;LinkTo @route=&quot;about&quot; class=&quot;button&quot;&gt;About&lt;/LinkTo&gt;</span><br></pre></td></tr></table></figure><p>is an example of deterioration thereof. The approximation to something resembling JSX or some XML standard, popular in the React-Ecosystem, leads to less differentiation to the HTML markup in the templates and therefore to decreased readability. </p><p>Even though Ember still allows for the old syntax in order to account for backwards compatibility, the new class-based syntax for components and the new model definitions will surely create some issues with legacy projects.</p><p>This is not a conservative argument on my part, I’m aware that in order to improve established standards incremental changes are needed. I just feel like the Ember team tried to go for a syntax that feels more like Angular or React in order to attract more developers - I propose the exact opposite will occur.</p><p>Instead of further developing its’ own conventions, we now end up with a Framework more similar to other popular frameworks, actually diminishing the competitive advantage instead of increasing it.</p><h2 id="Performance-and-Compatibility"><a href="#Performance-and-Compatibility" class="headerlink" title="Performance and Compatibility"></a>Performance and Compatibility</h2><p>Time is money - particularly when it comes to loading times.</p><p>As established frameworks like React, Preact or Vue boast with incredibly small package size (4kb gzipped in the case of Preact) and performance metrics keep getting more impressive, it becomes even more difficult to argue in favor of Ember.</p><p>My main argument used to be that with capable Ember developers, development time is much lower compared to using React and the likes. This is not the case anymore. With Frameworks on top of Frameworks, Next.js (React), Nuxt.js (Vue) or Sapper (Svelte), the overall developer experience and productivity has improved dramatically (no more spending weeks configuring React), while still maintaining great performance and a small package size.</p><p>Although I usually wouldn’t take package size as primary metric for choosing technology (average internet speed in the developed world is at around 20 Mbps and increasing), Ember compares increasingly poorly on a number of measures.<br>Trendy technologies like GraphQL lack support and often times popular libraries don’t offer a compatibility layer for Ember or are poorly maintained.</p><h2 id="Conclusion"><a href="#Conclusion" class="headerlink" title="Conclusion"></a>Conclusion</h2><p>Over the years I had a great time using Ember, I just got stuff done incredibly quickly, but to be honest, I don’t see any reason to use Ember in the future. Convincing people to use Ember for a new project or even explaining the reasons for using it personally feels more and more like arguing in favor of jQuery or Knockout.js.</p><p>In other words: The king is dead, long live the king. Time to move on to Vue and Svelte.</p>]]></content>
    
    
    <summary type="html">&lt;p&gt;Ever since I started using Ember.js, towards the end of 2016, I was a fan and advocate of the framework. My conviction didn’t come from expert opinion or my peer group but from objective examination and comparison of equivalent technology available at the moment. My confidence regarding Ember.js is starting to fade.&lt;/p&gt;</summary>
    
    
    
    
    <category term="Thoughts" scheme="https://paulcpk.com/tags/Thoughts/"/>
    
    <category term="Ember" scheme="https://paulcpk.com/tags/Ember/"/>
    
    <category term="JavaScript" scheme="https://paulcpk.com/tags/JavaScript/"/>
    
  </entry>
  
</feed>
