RSSAmplifier

Blog

Kristófer Reykjalín

Kristófer Reykjalín - Blog

reykjalin.orgRSS feed ↗17 posts

Latest posts

How to make scrollbars from scratch

How to make scrollbars from scratch Published on July 5, 2025 . I’ve been working on making a scroll view for libvaxis and calculating scrollbar dimensions in a performant way is hard . Or at least doing it in a general way when you don’t necessarily know the precise dimensions of the view makes it hard. I couldn’t find any guides online for making your own scrollbar. Everything that came up was…

Interfaces are too vertical

Interfaces are too vertical Published on October 9, 2024 . I find that many websites today — interfaces in general, really — are laid out vertically. Most of the time this is fine, but when it’s on pages focused on content, such as wikis, blogs, and even news websites, I’ve started wondering why? It makes some sense of course, we generally read from top to bottom after all. But if the most…

This site is now hand-crafted

You’re now looking at a complete redesign of this site, but it’s actually more than that. This site is now entirely hand-crafted in HTML. Or well, it’s actually PHP, but that’s just for the reusable parts, like the header and footer, but the posts are all handwritten HTML. Wild right? Why would I do that? Why would anyone do that? I’ve been using WordPress to host my blog for years now, but it’s…

March 2024 style refresh

While redesigning my website I needed a way to get a proper look at what the various HTML elements look like as I was making the changes, so I’m writing this post to do just that. I also want to mention some of the choices made in the design of the website. The website only has a dark mode. I find that it’s much easier on my eyes, and easier to read any time of day. Especially so at night when I…

Paged.js for creating printable documents with HTML and CSS

I just came across paged.js , a JavaScript library specifically made to make it easy to use HTML and CSS to make websites that look nice when printed or saved as PDFs, and it looks really interesting. The demo that lead to my discovery of the library looks especially appealing. I think this might finally lead to me wanting to maintain my CV as a HTML document. Even writing other types of documents…

git send-email not working on macOS?

I just spent 2 hours trying to send a patch to a mailing list via git send-email on my MacBook Pro, and kept getting this error: $ git send-email --to="<mailing_list>" HEAD^ Unable to initialize SMTP properly. Check config and use --smtp-debug. VALUES: server=smtp.migadu.com encryption=tls hello=localhost.localdomain port=465 at /usr/local/Cellar/git/2.30.2/libexec/git-core/git-send-email line…

Managing your site with WordOps

WordOps is a wonderful tool, specifically made to make hosting WordPress websites easier, although they also provide excellent support for setting up and managing static sites, reverse proxies, and the like. It’s a wonderful tool for managing websites, and I highly recommend you use it. I want to to take you through the steps necessary to install and configure WordOps, and launching your first…

"On the experience of being poor-ish, for people who aren't"

"On the experience of being poor-ish, for people who aren't" is a fantastic article about the experience of someone figuring out how to survive when you’re borderline broke. Broke in the literal sense. The "I had to choose between feeding my family or paying for electricity so I could work from home" kind. But consider that this is a choice I have to make – do I spend 50% more on an apartment and…

How do you share photos with your family?

For the last several years I’ve been living far, far away from my family, and — as is to be expected — they want updates! Photos and such. Moments . I’ve never really been any good at sharing those, but I would at least posted something occasionally while I had Facebook and Instagram accounts. Now that I’ve deleted those accounts I’m not sure how to go about sharing moments from my life with them.…

How to fix blurry text in macOS applications

macOS is my operating system of choice, so when I’m working on projects that use a GUI I like to build macOS application bundles . This allows me to have some flexibility when it comes to running the app. However, every time I run these bundles for the first time the text in the app is blurry, and I keep forgetting why that happens. This problem will inevitably come up again, so I’m documenting…

The End of History

In “ The End of History ” [ non-YouTube link ] Kyle Hill talks about how we live on the brink of extinction to prevent an all-out nuclear war. I found the video to be an interesting, and thoughtful, take on this weird situation we find ourselves in, and the whole mutually assured destruction doctrine. It’s both amazing to think about the power we as a species wield, and terrifying to think about…

Build your own text editor with Reason — Getting started

Warning! As of September 29, 2020 I’ve decided to put this project on hold for a bit, until the Revery team addresses an issue with their ScrollView component. While it’s not a showstopper, the UI wouldn’t really work without it. I’ll be back on this as soon as the issue is addressed! I’ve been thinking a lot about text editors lately, going so far as to playing with writing my own . In the…

I'm changing the default branch name in my git repositories, and you should too

There’s been a bit of an uproar in the software development community because it’s been brought to everyone’s attention that the default branch naming convention of master in git isn’t exactly appropriate . This was first brought to my attention at work with a link to a post from Scott Hanselman about renaming your default git branch in response to the IETF pointing out that the master-slave…

A new code editor?

I’ve written before about how I’m not happy with the code editors available today. I think they can be improved upon, so I’ve started experimenting with making my own. I don’t think this will ever be the shiny new code editor on the block, but I’m hoping it’ll at least be something I’d prefer over other editors. I’m currently calling this project Qode , but I might change that further down the…

How I protect my privacy online

This post is in no way meant to be a guide or tutorial on how to protect your privacy on the internet, and neither is it a guide to staying completely anonymous online. However, this could be a good starting point for others interested in online privacy, so I wanted to share my general approach to online privacy. I don’t have a strict need to hide what I’m doing online, but generally I want…

Calling Fable from TypeScript

Fable is a framework used to compile F# code to JavaScript. I’ve been using it in a TypeScript project — actually going so far as using F# for most of the code. Fable has a really nice interface that allows easy interoperability with JavaScript, although it can take some time to fully grasp how to use the interface. Unfortunately this interface isn’t really well documented . They do have some…

Why don't we have good code editors?

I’ve spent a long time trying different code editors, trying to find the perfect one for me. And yes, I’m well aware that finding the perfect editor can certainly sound impossible, but should it be in today’s software ecosystem? I don’t think so. To be clear, this rant—let’s be honest, this post definitely is a rant—does not propose any solutions for the issues I have with today’s code editors.…