Skip to main content
Dublin Library

The Publishing Project

Compiling Go Programs

In all previous Go-related posts, we've just run the code using Go's run command, like so: go run main.go <parameters> But there are times when we must compile the program either for internal use...

Using Third-Party Libraries in Go

So far we've covered command-line applications that only use modules in the standard library This post will explore using third-party modules by building a conversion tool from Markdown to HTML Before...

Opening and Writing Files With Go

In the last post, we looked at how to build an API server using Go. In this post, we'll look at one part of building command line applications: how to open and write files. We'll also cover related...

Creating the Backend for a Web App in Go

I've always struggled with how to bring languages like Go and Rust into my web development work. Tooling is the easiest way to go. There is a reason why most new web development tooling is written in...

Making HTML Headers Look Nice

Headings can show orphan issues that can cause readability issues. In this context, an orphan is a single word (or syllable) that sits at the bottom of a paragraph of text. As a developer, you don't...

Hanging punctuation in CSS

Chris Coyuer wrote about the hanging punctuation CSS property, how it works and why it may be useful. This property controls the pulling of characters, usually quotation marks, from the body of the...

Another set of possible color palettes

This post is an extension to the previous one What are Triadic and Tetradic Color Palettes and How to Use Them. It will explore further types of palettes, also known as harmonies in color theory, and...

Creating an OKLCH generator tool

This code started as an exercise in ChatGPT prompt generation and a way to explore what we can do with OKLCH colors. It uses vanilla Javascript and deliberately avoids using libraries like Chroma.js...

Even More Array Methods

The ECMAScript specification gained a new set of methods for the Array object. These methods work on copies of the original array rather than modifying the original array directly. There are other...

Archive Navigation