Skip to content

Commit

Permalink
[SKIP] New org mode articles and/or tags
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 18, 2023
1 parent 3e08785 commit 9fb495b
Show file tree
Hide file tree
Showing 37 changed files with 706 additions and 706 deletions.
18 changes: 9 additions & 9 deletions _posts/2020-08-08-first_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
And so it begins! This is the first post of my new blog. I thought this first post could be about my goals, as well as the topics I intend to write about. Just so you know what to expect, given that you read this before I have managed write more…
</p>

<div id="outline-container-orgf13eba5" class="outline-2">
<h2 id="orgf13eba5">Goals</h2>
<div class="outline-text-2" id="text-orgf13eba5">
<div id="outline-container-org9502d4d" class="outline-2">
<h2 id="org9502d4d">Goals</h2>
<div class="outline-text-2" id="text-org9502d4d">
<p>
I had several goals when creating this blog, but the most important one was to have a place where I could write about the things that I find interesting. As you might have guessed, this is mostly related to computers. I LOVE computers! Not just programming, but the wonders that computers can do, and the achievement of the great individuals who have made it possible.
</p>
Expand All @@ -28,19 +28,19 @@ <h2 id="orgf13eba5">Goals</h2>
</div>


<div id="outline-container-org2ce51ec" class="outline-2">
<h2 id="org2ce51ec">What will I write about?</h2>
<div class="outline-text-2" id="text-org2ce51ec">
<div id="outline-container-orgc99e0c0" class="outline-2">
<h2 id="orgc99e0c0">What will I write about?</h2>
<div class="outline-text-2" id="text-orgc99e0c0">
<p>
I plan to mostly write about computer related topics, with a dash of math and book recommendations on top (though mostly relating to computers or math&#x2026;). Some other topics may also come up from time to time.
</p>
</div>
</div>


<div id="outline-container-org419112f" class="outline-2">
<h2 id="org419112f">So&#x2026;</h2>
<div class="outline-text-2" id="text-org419112f">
<div id="outline-container-org98ce179" class="outline-2">
<h2 id="org98ce179">So&#x2026;</h2>
<div class="outline-text-2" id="text-org98ce179">
<p>
What will the future show? Who knows. The only answer will be in the undiscovered country, the future!
</p>
Expand Down
130 changes: 65 additions & 65 deletions _posts/2020-09-07-career_boosting_books.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions _posts/2020-10-04-java_rethrow_log_exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</p>


<div id="outline-container-orgb0025c9" class="outline-2">
<h2 id="orgb0025c9">Rethrow/wrap exceptions</h2>
<div class="outline-text-2" id="text-orgb0025c9">
<div id="outline-container-org4164b61" class="outline-2">
<h2 id="org4164b61">Rethrow/wrap exceptions</h2>
<div class="outline-text-2" id="text-org4164b61">
<p>
Rethrow/wrap in this case means to throw a new exception with the original as the cause (in other words: passing it to the constructor of our new exception). To see why this is useful, let's take a look at an example. The example might seem stupid, and I somewhat agree as I usually prefer to write code in a more functional way. That being said, it was picked out because it can throw a few different exceptions. Without further ado, let's take a look at the code:
</p>
Expand Down Expand Up @@ -86,9 +86,9 @@ <h2 id="orgb0025c9">Rethrow/wrap exceptions</h2>
</div>


<div id="outline-container-org55c185d" class="outline-2">
<h2 id="org55c185d">Logging exceptions</h2>
<div class="outline-text-2" id="text-org55c185d">
<div id="outline-container-org5fec967" class="outline-2">
<h2 id="org5fec967">Logging exceptions</h2>
<div class="outline-text-2" id="text-org5fec967">
<p>
Sometimes you may choose to log it instead of rethrowing. I prefer that approach if I don't want to throw a new exception, but just return a default value or similar. Your preference may be different. Why log the exception in this case, you may ask? We may want to know in our logs for debugging potential issues. What if the default value is returned each time? Then we might want to investigate and see what caused our original operation to fail (external endpoint down? Issue like in the previous section? Something else?).
</p>
Expand Down
24 changes: 12 additions & 12 deletions _posts/2020-10-20-browser-extension-recommendation.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
</p>


<div id="outline-container-orgf9001cd" class="outline-2">
<h2 id="orgf9001cd">What is it?</h2>
<div class="outline-text-2" id="text-orgf9001cd">
<div id="outline-container-org0445978" class="outline-2">
<h2 id="org0445978">What is it?</h2>
<div class="outline-text-2" id="text-org0445978">
<p>
Vimium is an extension for Chromium/Google Chrome, and has also been implemented for Firefox. The implementation is entirely JavaScript (with HTML and CSS), like (almost) all other browser extenions, and loads on browser startup. If you have many startup tabs, then Vimium may be late to start, so you may have to refresh the page to get Vimium started.
</p>
</div>
</div>


<div id="outline-container-org2391962" class="outline-2">
<h2 id="org2391962">What makes it great?</h2>
<div class="outline-text-2" id="text-org2391962">
<div id="outline-container-orgd70cfab" class="outline-2">
<h2 id="orgd70cfab">What makes it great?</h2>
<div class="outline-text-2" id="text-orgd70cfab">
<p>
I don't often say that a browser extension has changed my life, but this one has! Surfing the web with only the keyboard is really comfortable! And having it work in harmony with EXWM makes it really great to use.
</p>
Expand Down Expand Up @@ -66,9 +66,9 @@ <h2 id="org2391962">What makes it great?</h2>
</div>


<div id="outline-container-orgb120e57" class="outline-2">
<h2 id="orgb120e57">My setup</h2>
<div class="outline-text-2" id="text-orgb120e57">
<div id="outline-container-org73ac3b1" class="outline-2">
<h2 id="org73ac3b1">My setup</h2>
<div class="outline-text-2" id="text-org73ac3b1">
<p>
Surprisingly, I don't really need much special setup with this. The only thing I missed in the beginning is that some websites have their own commands (e.g, YouTube or BitBucket). Vimium picks these up by default, so one command I wanted was to be able to send the keyboard commands to the website. Usually these website commands are single characters, so all I needed was a key mapping to send the next command to the website: <code>map e passNextKey</code>. If I type "e" and then "f", then "f" will be sent to the website (e.g, to enable fullscreen on YouTube). That is all I need :)
</p>
Expand All @@ -89,9 +89,9 @@ <h2 id="orgb120e57">My setup</h2>
</div>


<div id="outline-container-orgd8b5009" class="outline-2">
<h2 id="orgd8b5009">Summary</h2>
<div class="outline-text-2" id="text-orgd8b5009">
<div id="outline-container-org21d7b40" class="outline-2">
<h2 id="org21d7b40">Summary</h2>
<div class="outline-text-2" id="text-org21d7b40">
<p>
So how would I summarize the key points of what makes Vimium the best keyboard-driven browsing experience (for me)? I would summarize it in these three points:
</p>
Expand Down
24 changes: 12 additions & 12 deletions _posts/2021-03-23-programminglanguages2021.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</p>


<div id="outline-container-org0863182" class="outline-2">
<h2 id="org0863182">Kotlin - The all-rounder</h2>
<div class="outline-text-2" id="text-org0863182">
<div id="outline-container-org735a9ac" class="outline-2">
<h2 id="org735a9ac">Kotlin - The all-rounder</h2>
<div class="outline-text-2" id="text-org735a9ac">
<p>
Kotlin is probably a language no one will be shocked to see on this list. The language is both used a lot in the industry these days (as well as <a href="https://developer.android.com/kotlin">the official language for Android development</a>), as well as also being fun to program in! While Java is known to be very verbose and rigid in ways to do things, Kotlin is not! Kotlin doesn't force you to be object oriented, or functional (as in functional programming), you can do things the way you want (within reason). Mix and match, or code the way you are used to from Java, the choice is yours!
</p>
Expand All @@ -29,9 +29,9 @@ <h2 id="org0863182">Kotlin - The all-rounder</h2>
</div>


<div id="outline-container-orgce1163b" class="outline-2">
<h2 id="orgce1163b">Scheme - The Wizards choice</h2>
<div class="outline-text-2" id="text-orgce1163b">
<div id="outline-container-org48c5a7a" class="outline-2">
<h2 id="org48c5a7a">Scheme - The Wizards choice</h2>
<div class="outline-text-2" id="text-org48c5a7a">
<p>
Scheme is probably my favorite language if we just think of the syntax and feeling you get when coding in it. You have probably heard about the Lisp-family, which is one of the oldest and most iconic families of programming languages. S-expressions (aka sexps, symbolic expressions etc.) are a central concept of the syntax, which is used for both data and code. Think of it in over-simplified terms as a way to write code using polish notation (operator at the beginning like this <code>(+ x y)</code> instead of the classical <code>x + y</code>) and doing it with parenthesis in a way that make tree-structures. Let's do an example: <code>(+ (* 2 10) (- 10 5))</code> which evaluates to <code>25</code>.
</p>
Expand All @@ -45,9 +45,9 @@ <h2 id="orgce1163b">Scheme - The Wizards choice</h2>



<div id="outline-container-orga4ce694" class="outline-2">
<h2 id="orga4ce694">Prolog - the logical choice</h2>
<div class="outline-text-2" id="text-orga4ce694">
<div id="outline-container-orge71fd1e" class="outline-2">
<h2 id="orge71fd1e">Prolog - the logical choice</h2>
<div class="outline-text-2" id="text-orge71fd1e">
<p>
Learning to solve problems in different ways, is in my view one of the most important parts of being a good programmer. When we learn to solve a problem in a completely different ways, it improves our understanding of the problem, and possibly also related problems. This is where Prolog comes in. If you are not familiar with logic programming, the term might just sound like what we are used to. Isn't all programming logical? Prolog is in the family of logic programming, where we think of problems in a different way. Instead of describing a recipe for steps we want to do, we describe rules of how our "logical world" work, and query the rules. In other words, Prolog is declarative, we specify what we want not the steps to accomplish it.
</p>
Expand All @@ -59,9 +59,9 @@ <h2 id="orga4ce694">Prolog - the logical choice</h2>
</div>


<div id="outline-container-orga7eed17" class="outline-2">
<h2 id="orga7eed17">"I know all the above!!!"</h2>
<div class="outline-text-2" id="text-orga7eed17">
<div id="outline-container-orga1d9fc1" class="outline-2">
<h2 id="orga1d9fc1">"I know all the above!!!"</h2>
<div class="outline-text-2" id="text-orga1d9fc1">
<p>
If you know all the languages I have listed above (or don't find them interesting), then you will have to find something else. Maybe <a href="https://en.wikipedia.org/wiki/Common_Lisp">Common Lisp</a> will interest you? Or <a href="http://learnyouahaskell.com/">Haskell</a>? Maybe scripting with <a href="https://en.wikipedia.org/wiki/Rexx">Rexx</a> is more your thing? Several of these might be topics for future blog posts. What do I want to look into in the near future? My plan as of now is to look more into <a href="https://www.ponylang.io/">Pony (ponylang)</a>, While the language has a weird name, it also have some interesting properties relating to concurrency. Features of the language includes compile-time protection against data-races (two threads/processes accessing the same data at the same time) using its type-system, the <a href="https://medium.com/@KtheAgent/actor-model-in-nutshell-d13c0f81c8c7">actor-model</a> being a central concept and more. Maybe I will feel inspired to write an article about it in the future?
</p>
Expand Down
30 changes: 15 additions & 15 deletions _posts/2021-09-13-recommended_emacs_packages.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
</p>


<div id="outline-container-org0951a41" class="outline-2">
<h2 id="org0951a41">helm</h2>
<div class="outline-text-2" id="text-org0951a41">
<div id="outline-container-orgf73ff3f" class="outline-2">
<h2 id="orgf73ff3f">helm</h2>
<div class="outline-text-2" id="text-orgf73ff3f">
<p>
<a href="https://emacs-helm.github.io/helm/">Helm</a> (no, <a href="https://helm.sh/">not that helm</a>, Emacs helm) improves navigation in Emacs tremendously! From navigating files better (see screenshot above, this is just C-x C-f), a better menu to navigate open buffers, better M-x execute command menus, searching and more! If you want more functionality, there are tons of extensions, with one of my personal favorites being <a href="https://github.com/pronobis/helm-flyspell">helm-flyspell</a> (to correct spelling mistakes). There are many others like <a href="https://github.com/cwhatley/helm-google">helm-google</a>, <a href="https://github.com/emacsorphanage/helm-swoop">helm-swoop</a> and more!
</p>
Expand All @@ -30,9 +30,9 @@ <h2 id="org0951a41">helm</h2>
</div>


<div id="outline-container-orga97820c" class="outline-2">
<h2 id="orga97820c">magit</h2>
<div class="outline-text-2" id="text-orga97820c">
<div id="outline-container-org78378db" class="outline-2">
<h2 id="org78378db">magit</h2>
<div class="outline-text-2" id="text-org78378db">
<p>
Most people use git these days. Not only is it great for code, it is great for any work consisting of text (not binary encoded formats though&#x2026;). Magit makes using git even greater! It gives nice navigatable menus inside Emacs for using git, nice keyboard shortcuts, and more! While using git with the command line is great, there is NOTHING on this planet comparable to the sheer beauty of being able to do so inside Emacs! The git status equivalent, where I can see changes by navigating with the arrow keys and using the TAB key, currently looks like this in my .emacs repo:
</p>
Expand All @@ -47,9 +47,9 @@ <h2 id="orga97820c">magit</h2>
</div>


<div id="outline-container-org1f5fa80" class="outline-2">
<h2 id="org1f5fa80">org mode</h2>
<div class="outline-text-2" id="text-org1f5fa80">
<div id="outline-container-org6051d94" class="outline-2">
<h2 id="org6051d94">org mode</h2>
<div class="outline-text-2" id="text-org6051d94">
<p>
<a href="https://orgmode.org/">org-mode</a> is included in Emacs, but you can download a newer version to get more up to date features and fixes. At its core, org-mode is about editing text. Including source code, verbatim snippets and more is as easy as ever. You can even <a href="https://orgmode.org/worg/org-tutorials/org-spreadsheet-intro.html">use org-mode for spreadsheets</a> (with ELisp formulas!), making it a good Excel killer (at least in my view)! You can even use org-agenda to plan your day with meetings and other events.
</p>
Expand All @@ -67,9 +67,9 @@ <h2 id="org1f5fa80">org mode</h2>
</div>
</div>

<div id="outline-container-org2dbecbc" class="outline-2">
<h2 id="org2dbecbc">undo-tree</h2>
<div class="outline-text-2" id="text-org2dbecbc">
<div id="outline-container-orgda67273" class="outline-2">
<h2 id="orgda67273">undo-tree</h2>
<div class="outline-text-2" id="text-orgda67273">
<p>
Sometimes feel that the undo/redo-functionality in your editor is limited? That you sometimes want a tree instead of a straight line? <a href="https://www.emacswiki.org/emacs/UndoTree">undo-tree</a> provides exactly that! This may seem abstract, and you need to try it to fully understand why you need it. You can go back and forth, continue on a trail you did earlier, find out that it was the wrong trail, navigate to a new place in your undo-history, continue from there, go back again, and so on! Might seem confusing, so I recommend trying it out for yourself. There is only so much a screenshot can tell you here. That being said, it is one of my favorite Emacs packages! :)
</p>
Expand All @@ -79,9 +79,9 @@ <h2 id="org2dbecbc">undo-tree</h2>
</div>


<div id="outline-container-org763c100" class="outline-2">
<h2 id="org763c100">Final remarks</h2>
<div class="outline-text-2" id="text-org763c100">
<div id="outline-container-org669a795" class="outline-2">
<h2 id="org669a795">Final remarks</h2>
<div class="outline-text-2" id="text-org669a795">
<p>
As I said in the introduction, there are many more packages out there. Do you have any favorites? Feel free to share in the comments! :)
</p>
Expand Down
18 changes: 9 additions & 9 deletions _posts/2021-09-26-scifi_books_to_unwind.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
</p>


<div id="outline-container-orga7662dd" class="outline-2">
<h2 id="orga7662dd">1. <a href="https://amzn.to/3Og8scE">Rendevouz with Rama by Arthur C. Clarke</a></h2>
<div class="outline-text-2" id="text-orga7662dd">
<div id="outline-container-org78cae43" class="outline-2">
<h2 id="org78cae43">1. <a href="https://amzn.to/3Og8scE">Rendevouz with Rama by Arthur C. Clarke</a></h2>
<div class="outline-text-2" id="text-org78cae43">
<a href="https://www.amazon.com/Rendezvous-with-Rama-audiobook/dp/B001JK64LY?_encoding=UTF8&qid=1691246961&sr=1-1&linkCode=li3&tag=themkat0f-20&linkId=7d8244ae5b3c993b74a92675dcc63b8b&language=en_US&ref_=as_li_ss_il" target="_blank"><img border="0" class="blogfloatleftimg" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=B001JK64LY&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=themkat0f-20&language=en_US" ></a><img src="https://ir-na.amazon-adsystem.com/e/ir?t=themkat0f-20&language=en_US&l=li3&o=1&a=B001JK64LY" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

<p>
Expand All @@ -39,9 +39,9 @@ <h2 id="orga7662dd">1. <a href="https://amzn.to/3Og8scE">Rendevouz with Rama by
</div>


<div id="outline-container-org9825597" class="outline-2">
<h2 id="org9825597">2. <a href="https://amzn.to/43Tw4JP">Do Androids dream of electric sheep (aka Blade Runner) by Philip K. Dick</a></h2>
<div class="outline-text-2" id="text-org9825597">
<div id="outline-container-org0ec3689" class="outline-2">
<h2 id="org0ec3689">2. <a href="https://amzn.to/43Tw4JP">Do Androids dream of electric sheep (aka Blade Runner) by Philip K. Dick</a></h2>
<div class="outline-text-2" id="text-org0ec3689">
<a href="https://www.amazon.com/Blade-Runner-Philip-K-Dick-audiobook/dp/B0010BA814?_encoding=UTF8&qid=1691247045&sr=1-1&linkCode=li3&tag=themkat0f-20&linkId=f38b355d1de3962181c22f07e8c919cf&language=en_US&ref_=as_li_ss_il" target="_blank"><img border="0" class="blogfloatleftimg" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=B0010BA814&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=themkat0f-20&language=en_US" ></a><img src="https://ir-na.amazon-adsystem.com/e/ir?t=themkat0f-20&language=en_US&l=li3&o=1&a=B0010BA814" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

<p>
Expand All @@ -54,9 +54,9 @@ <h2 id="org9825597">2. <a href="https://amzn.to/43Tw4JP">Do Androids dream of el
</div>


<div id="outline-container-orga092d2a" class="outline-2">
<h2 id="orga092d2a">3. <a href="https://amzn.to/47m98WM">Starship Troopers by Robert Heinlein</a></h2>
<div class="outline-text-2" id="text-orga092d2a">
<div id="outline-container-org170e98c" class="outline-2">
<h2 id="org170e98c">3. <a href="https://amzn.to/47m98WM">Starship Troopers by Robert Heinlein</a></h2>
<div class="outline-text-2" id="text-org170e98c">
<a href="https://www.amazon.com/Starship-Troopers-Masterworks-Robert-Heinlein/dp/1473217482?_encoding=UTF8&qid=1691247125&sr=1-1&linkCode=li3&tag=themkat0f-20&linkId=d1a767e2f2586bc2d3b4b19b082f4412&language=en_US&ref_=as_li_ss_il" target="_blank"><img border="0" class="blogfloatleftimg" src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=1473217482&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=themkat0f-20&language=en_US" ></a><img src="https://ir-na.amazon-adsystem.com/e/ir?t=themkat0f-20&language=en_US&l=li3&o=1&a=1473217482" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

<p>
Expand Down
Loading

0 comments on commit 9fb495b

Please sign in to comment.