<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>kuba86 · Scala Spark Engineer · Blog</title><link>https://kuba86.com/</link><description>Recent content on kuba86 · Scala Spark Engineer · Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 21 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://kuba86.com/index.xml" rel="self" type="application/rss+xml"/><item><title>How to run Fedora CoreOS in lxc</title><link>https://kuba86.com/posts/run-fedora-coreos-in-lxc/</link><pubDate>Sun, 30 Apr 2023 00:00:00 +0000</pubDate><guid>https://kuba86.com/posts/run-fedora-coreos-in-lxc/</guid><description>&lt;p&gt;&lt;img src="https://kuba86.com/posts/run-fedora-coreos-in-lxc.png" alt="How to run Fedora CoreOS in lxc"&gt;&lt;/p&gt;&#10;&lt;h2 id="intro"&gt;&#10; Intro&#10; &lt;a class="heading-link" href="#intro"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Fedora CoreOS advertises itself as container first OS, immutable, auto-updating, scalable, and secure. As I am beginning to learn Kubernetes, it looks like a perfect match. Regardless of if you prefer Fedora CoreOS, Flatcar Container Linux, or anything else, you first want to play with it in a local environment. In 2022 I switched from Windows 11 to Fedora, and I was searching for a lightweight solution to run Virtual Machines and Container OS - lxc / lxd feels like a great alternative to Oracle VirtualBox. Installing Ubuntu, Fedora or Alpine Linux is easy with lxc, however, what do you do if you want to run something different? Below you will find easy to follow instructions on how to add Fedora CoreOS image to lxc and how to launch it as VM in lxc.&lt;/p&gt;</description></item><item><title>About me</title><link>https://kuba86.com/about-me/</link><pubDate>Sun, 22 Aug 2021 00:00:00 +0000</pubDate><guid>https://kuba86.com/about-me/</guid><description>&lt;h2 id="who-am-i---"&gt;&#10; Who am I? · 👨‍💻 🌈&#10; &lt;a class="heading-link" href="#who-am-i---"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Hi, my name is Jakub Błaszczyk (he/him), based in Warsaw, Poland.&lt;/p&gt;&#10;&lt;h2 id="what-i-do---"&gt;&#10; What I do? · ☕ 👨‍💻&#10; &lt;a class="heading-link" href="#what-i-do---"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Professionally, I am a Data Engineer specializing in Scala and Spark. I adhere to the engineering mindset of designing, building, and testing systems to meet functional requirements within practical constraints. I primarily work with Scala and Spark, valuing Scala for its strong static typing and support for both functional and object-oriented programming.&lt;/p&gt;</description></item><item><title>How to install Arch Linux on a server, a step by step guide</title><link>https://kuba86.com/posts/how-to-install-arch-linux-on-a-server-a-step-by-step-guide/</link><pubDate>Sun, 22 Aug 2021 00:00:00 +0000</pubDate><guid>https://kuba86.com/posts/how-to-install-arch-linux-on-a-server-a-step-by-step-guide/</guid><description>&lt;p&gt;&lt;img src="https://kuba86.com/posts/how-to-install-arch-linux-on-a-server-a-step-by-step-guide.png" alt="How to install Arch Linux on a server, a step by step guide"&gt;&lt;/p&gt;&#10;&lt;p&gt;This tutorial will go over step by step how to install Arch Linux on a server. We will not be installing it on a desktop environment so there will be no GUI. There is a lot to do to install and setup the system so be prepared to commit at least five hours to install and do some basic research on topics such as partitioning the drive, or which bootloader to choose.&lt;/p&gt;</description></item><item><title>How to use Scala Twirl template standalone, without Play Framework</title><link>https://kuba86.com/posts/how-to-use-scala-twirl-template-standalone-without-play-framework/</link><pubDate>Tue, 29 Jun 2021 00:00:00 +0000</pubDate><guid>https://kuba86.com/posts/how-to-use-scala-twirl-template-standalone-without-play-framework/</guid><description>&lt;p&gt;&lt;img src="https://kuba86.com/posts/how-to-use-scala-twirl-template-standalone-without-play-framework.png" alt="How to use Scala Twirl template standalone, without Play Framework"&gt;&lt;/p&gt;&#10;&lt;h2 id="twirl-in-scala"&gt;&#10; Twirl in Scala&#10; &lt;a class="heading-link" href="#twirl-in-scala"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Twirl is a type safe template engine based on Scala, and designed for Play Framework. It can also be used standalone, without Play. I will go through some information about Twirl, how to set it up, and use in a standalone Scala application.&lt;/p&gt;&#10;&lt;p&gt;Keep in mind:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Templates are compiled to a standard Scala functions. This provides type safety.&lt;/li&gt;&#10;&lt;li&gt;When used standalone in Scala, Twirl needs to be added as an SBT plugin (sbt-twirl), not as library dependency.&lt;/li&gt;&#10;&lt;li&gt;If you are using Intellij Idea please note that you will see &lt;code&gt;Cannot resolve symbol&lt;/code&gt; until SBT compiles your templates. You can always run &lt;code&gt;sbt compile&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="setting-up-sbt-project-with-twirl-and-scala"&gt;&#10; Setting up SBT project with Twirl and Scala&#10; &lt;a class="heading-link" href="#setting-up-sbt-project-with-twirl-and-scala"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;h3 id="add-sbt-plugin-sbt-twirl"&gt;&#10; Add SBT plugin sbt-twirl&#10; &lt;a class="heading-link" href="#add-sbt-plugin-sbt-twirl"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h3&gt;&#10;&lt;p&gt;In our project, &lt;a href="https://www.scala-sbt.org/1.x/docs/Using-Plugins.html#Declaring&amp;#43;a&amp;#43;plugin" class="external-link" target="_blank" rel="noopener"&gt;add the sbt plugin&lt;/a&gt; to &lt;code&gt;/project/plugins.sbt&lt;/code&gt;:&lt;/p&gt;</description></item></channel></rss>