Hello and welcome to my little nock of the internet. Here I have my blog which mainly contain posts about tech, the outdoors, cooking, and some times mead brewing.

A bit of background information before you step into my world of crazy. I am Lars, a.k.a. looopTools, a Software Engineer living in East Jutland, Denmark. I have 10+ years of experience from industry mainly through student positions, but also as self-employed consultant, or full-time employee. I mainly work in low-level user space, high-level kernel space, and storage systems in general. Besides research and software development, I also love the outdoors and try to go out as often as possible (not enough at the moment) and I am an aspiring author currently working on a few different novels. I also dabble in being a more advance home cook and baker, which you may see some posts about. Finally I like the ancient art of brewing mead, a.k.a. honey wine, and experiment with different flavour combinations and ageing times.

# Three things I am thankful for, three things I want to improve

In June of last year, I watched a video by Real Men Real Style Recommending journals. Now, throughout primary school, every Friday, I was forced to write in a diary about what I experienced throughout the week, and I was not too fond of it, in particular, because the teachers read it. This experience put me off journaling for good, or so I thought. I have tried to pick it up over the last decade but simply could not. But Antonio (founder of Real Men Real Style) touched on something exciting and intriguing. At the beginning of his journal days, he did not write an entire journal entry, but he wrote down three things he was thankful for and three to improve, giving him an easy way to reflect on his “life status”.

I found this very interesting for multiple reasons. First of all, I always write down things I need to learn or improve, but I always need to remember where I write them, and I need to improve at realising how great my life is and focusing on the problems instead. Therefore, I decided to give it a go, and here is what I learned.

First, I should do this on something other than a computer. So why am I saying this first? Well, it is important. First, when I want to write it down, I want it in one place, but I want to avoid having it in the cloud or on my work computer. But, it was only sometimes organised when I had time to write it down, so I was not always at my home computer when I wanted to write. I could use my phone, but I do not like them for notes, and I need help finding a good App for this sort of stuff (journal apps up your game). So I decided to purchase a notebook and throw it in my bag. Also, when I use my laptop or phone, I get distracted by many other things, which is not desirable for me.

Then I found out I suck at doing it consistently. There is sometimes a whole month between entries in my “journal”, which is not good. But I do get it done from time to time. Also, I took the notebook out of the bag, a rookie mistake. I also learned how horrible I am at reflecting on positive things. Sometimes it can take me up to 15 minutes to find three things to be positive about, which is weird. But, on the other hand, my life is full of lots of good stuff. On the other hand, stuff to improve, more than three things are needed. But although I need to remember to do it often, something weird has happened. Some days even without wanting to, I add notes of good things that happened or note down a joyous occasion. It is pretty cool.

But is it worth anything? Yes, it is worth a lot. Sometimes I find myself leafing through the notebook and noting things I have improved. I smile at the things I was/am thankful for and the happy memories. I also use the notebook as a track record of what I want to work on and what direction to go. This little notebook helps me be more positive and goal-oriented, which I like.

Finally, I will add the notebook to my bag again and force myself to write in it every morning because it is an excellent habit to have. I may become a journaler one day.

./Lars

# Why I prefer physical notebooks over software-based

Most Software Professionals and Engineers take and keep notes in some form, which is an essential tool. This post will cover why I prefer physical notebooks over their software-based counterpart. Before I go into detail, I will say that I also keep notes on computers, and I am an avid Org Mode user. However, I find physical notebooks more suitable to my needs for a couple of reasons, which, as stated, I will cover here.

First portability! And your first question is probably what the heck is he talking hasn’t he heard about laptops, phones, and tablets? Well, of course, I have, but let me tell you a little secret, I have attended meetings where all electronic devices were disallowed in the room, even in buildings. Therefore, pen and paper was the only option for notes. In extension, I also find that I lose focus on the meeting or presentation given if I sit with a laptop, which I do not do when I only have a notebook. So many times, I will not bring a laptop to a meeting, and I will not pull out my phone.

Then there is the doodling. I have for decades used associative memory techniques without knowing it. During a meeting, lecture, or whatever, if I doodle at the same time next to my notes, I can recall almost all information from a meeting (I have scared people this way, it is fun) if I combine my notes and the doodles I make. Doing this allows me to scan my notes and get a map of what happened during the meeting. I can not do something similar in most note-taking tools on computers or tablets. The only app I found that comes close is GoodNotes for Apple’s iPad. Unfortunately, I do not have an iPad or an Apple Pencil, and for Android, I have not found an app that gets close to GoodNotes.

But my drawings are not just limited to doodles. I regularly draw up system diagrams and architectures as I research topics, new features, new products, etc. Thereby as I draw, I can visualise what my plan is, and I can have multiple designs easily side by side. It is super convenient. I also draw things like sequence diagrams or flow charts, which are very handy. Also, when I outline books or plan plots for stories. I draw maps where I plot the course of people or do other weirdness. It is convenient, and again for a software version, GoodNotes is the only close thing (I am guessing I should state by now that this post is not sponsored by GoodNotes, but it is fantastic).

Then there is flexibility in the workflow. For example, I keep multiple notebooks for different topics. Which can be quickly done in software and in physical form. But for some reason, context switching is easier for me when I swap physical items over changing a file or tab in the software. So to me, it is a more flexible workflow, and I know I am not the only one that has it that way.

Writing by hand enhances my recollection of the subject. I have for years and years aspired to have my notes electronically instead of on paper. But every time I have tried, I have realised that with notes I write by hand (using a pencil/pen), I can recall things better and easier. So another clear advantage for handwritten notes: GoodNotes is giving me some of the same benefits.

Finally, and a little bit funny, (joke) ENCRYPTION! I have the benefit of having handwriting which not even doctors can read.
This means people cannot just read me over the shoulders or upside down, that is pretty cool and something I like. Yes, I can read my own handwriting.

So this is basically why I prefer physical notebooks over software-based ones.

./Lars

For some reason, many people find it weird that I read books and own many books. They do not get why I do not just watch television series instead. So I decided to write a blog post about it.

First of I do watch series, movies, and YouTube. I am not anti-modern culture. But there is just something about books, in all their forms, printed, ebooks, and audiobooks, that is amazing to me, and I see certain benefits when I read compared to periods where I do not.

Now let us get into it. In periods where I do not read and only watch YouTube videos of like 5-10 minutes in length, I see a decrease in the amount of time I can focus. This also holds true for 10-20 minutes long TV series episodes. I am aware that no study has ever concluded that short video clips can affect attention span, but this is my own experience. This is simply unacceptable to me, as I do not want my attention span to decrease. On the contrary, I would actually like to expand it. Her books help. I observe that in periods where I read as little as 10 minutes per day (yes, sometimes I time it), I still see a positive impact on my attention span. Therefore, I like to read and read a lot. To be honest, during my masters and PhD periods, I did not read anything for enjoyment, although I did buy books, and it has taken some time for me to ramp back up, and I am far from the speed I used to be at before. This leads me to the following reason, destressing, Reading helps me a lot in terms of handling daily stress, and it lets me disappear into another world, kind of the same way as meditation does.

Next, letting my fantasy loose. I have a very vivid imagination. I can entirely create scenes with sound effects and everything in my head on the fly as I read. I like this; it feels like hallucinating, and I enjoy it as it fully lets me submerge into a land of dragons, sail the open sea, etc. To me, it is truly magical and gives my brain time off, so again, destressing. Just ask my girlfriend and mom how long it can take me to get out of fantasy land sometimes. In extension to letting my fantasy loose, it also serves as inspiration for my own stories and plot lines (yes, I seek inspiration). It lets me create alternate worlds, and I love it. Morphing other authors’ universes to my ideal is an exercise I do a lot while reading; to me, it is fun.

There is also the aspect of learning something. For example, I do not limit my reading to fiction. I read books about music (how it works), languages and how they evolve, history, philosophy, and more. Books let me dive deeper into a topic than an online article (unless it provides references) and lets me focus on that topic alone. I love learning, and books are one of my sources for this.

Finally, for those who do not know, I am a little bit challenged in spelling and writing, yet I still love to learn languages. Through reading, I get better at spelling and, thereby, writing. Not just simple words, reading helps me discover new words and helps me learn how to spell them, thereby enriching my vocabulary. Additional, this also extends my verbal communication, which is a fantastic bonus. This is not just limited to my native language (Danish) and English but also the new language I am learning or relearning. For instance, I am learning Farsi (Iranian Persian) and learning to read Farsi helps in learning new words (although I still butcher the pronunciation), and the same goes for Spanish and German, where the latter I am relearning. Reading has become a wonderful tool for learning a new language and expand my communication abilities.

Before I close up a little note, most of the benefits and experiences I have mentioned, I also experience with audiobooks. Some audiobooks limit my fantasy when they add sound effects (looking at you, Star Wars audiobooks). But I will say that they are a great tool too.

Now to close. These are the reasons I read a lot and why I am getting more and more reading done. I hope I have inspired you to read more or start reading.

./Lars

# [Book Review] How to Write Everything

As some may know I am working on a fantasy novel and during this process I am also working on becoming an overall better writer. Therefore I constantly on the look out for resources which can make me a better writer. One such resource came on to my radar via the Writing Community over on twitter (The hash tag is #WritingCommunity, I don’t believe there been created a community yet), this was the book How to Write Everything by Mr. David Quantick.

I have the book both as an Ebook (I did read it) and on Amazon Audible, where the latter is narrated by Mr. Qyantick. The book is described as the ultimate handbook for every aspect of writing, both in reviews I have read and by people on twitter. Here I will give my review of the book, it will not be in the same style as the Nocturnal Blood review, but I still wanted to give it a go.

## The review

Mr. Quantick is a well versed writer who have written basically any style, plays, for television, movies, books, and so on. He presents an impressive CV through out the book that makes you feel like it words coming straight from the horses mouth. The content of the book is present as a correlation of interviews of other writers, personal anecdotes and experiences, and advice for the reader.
This also means that the picture paint in the book is not unicorns and rainbows, writing is clearly not presented as straight road without bumps, twist, and turns. By utilising this approach Mr. Quantick presents the reader with what feels like a more realistic perspective (compared to other writers advise resources I have read or watch before). Which is good as it makes you take the advice more serious and I can already tell you that I am using some of these on a daily basis. Thus, the book basically already have qualified itself as pretty good.

However, it does not stop there. Mr. Quantick takes us on a journey through multiple disciplines of writing as already state. Where for each he compare it to other at least one other discipline and explains how it differs and what people you interact with. For instance both for plays and movie scripts he explains the potential head butting with directors and actors. Yet he also explain how input from none writers should be taken seriously and also your ideas will probably change. This is an important notion that I feel a lot of new writers (and probably also more experienced once) are not ready for and can have a hard time coping with.

Another thing that I find important is how he explains the process of submitting a manuscript (novel, news article, etc.). How it can be rejected, accept, and (potentially) stolen and there is present an abstract description of how to act in each scenario. Furthermore, Mr. Quantick also emphasis how we as writers are not unique when it comes to ideas in particular a focus on inspiration and how two or more people can have the same idea or get inspiration in a similar way resulting in a very similar piece of work.

I do not feel like I can fully justify the amazing advice, warnings, and realisations which Mr. Quantick presents in this book without it just sounding like one long praise fest. Literally the only critique I have with the book is that the interviews presented in the book can be confusing in the audio book version, but that is not the case in the printed version. All in all I feel like all aspiring writers should read this book to be douched in a healthy spray of realism and advice.

Finally, I would like to dive deeper into the two advice I follow daily at the moment. Write every day and Always have something to write on and with. I have found that when I take breaks from writing, even if it is just jutting down notes about my stories I kind of slack off and procrastinate, essentially not training my writing. Which I have found that like other things, it needs practice and in my experience even more than other areas I work in. Therefore, I have started to write everyday, it may not be on my main work in progress, it may just be ideas, but I get something done. As for always having something to write on I have started to always have my phone one me with the note app on the first spring board and I try to carry a pen and paper when I go for walks. This lets me quickly jot down ideas I get on the run and it makes me practices writing every day.

Although, I have not covered the content of the book in depth here, I hope you understand why I fully recommend this book.

./Lars

# Why do we strive for short type names in programming languages?

Like most developers I am not coding just a single programming language and I do keep up to date on new programming languages. Lately however, I have seen a trend I do not really like in static typed programming languages that I do not like and it is in particular present in Rust and Zig. So what is this trend? Well really short unreadable type names! Below I first have a C++ example of a simple sum function (ignore the overflow issue) and then the same function implemented in rust. For C++ we have the type uint64_t and for Rust u64. Now let us assume I am newcomer from Java, C#, or C, in C++ I know its and int I would also argue that I could guess its 64 bit. Additionally, if you play around with enough programming languages u is often used as a short hand for unsigned so you might be able to guess what that part. The _t has always bugged me, but I can deal with. However, with rust all you have to go by is u64 so you know it is 64 bit and like with C++ you could problem resonance yourself to the conclusion that it is an unsigned variable. But unsigned what? float, integer, something third? You literally cannot tell. With time of course you will remember it, but if you (like me) have to switch between multiple language during a single day, it is sometimes difficult to instantly remember what the different types hiding behind u<INSERT NUMBER>, i<INSERT NUMBER>, and so on. I am at a stage now where I can but it took a long time, but it was one of the reason I originally gave up on learning Rust, because I found it to convoluted and like it was intentionally gate keeping with is type names.

uint64_t sum(uint64_t start)
{
uint64_t res = 0;
for (uint64_t i = start; i > 0; --i)
{
res = res + 1;
}
return res;
}

fn sum(start: u64) -> u64 {
let mut res: u64 = 0;

for i in (0..start).rev() {
res = res + i;
}

return res;

}


I do not understand this design decision was made in Rust and I honestly think that it scares some people away. Why have this been chosen? Please stop.

./Lars