newer / older 2 of 14 pages

dosbox

DOSBox install and first timers guide

DOSBox is a brilliant yet compact, easy to use virtualisation program designed to run old DOS applications under modern operating systems. This tutorial assumes you have a little understanding of the underlying DOS commands and the use of a command line. It is for Windows users, though DOSBox works on systems such as macOS and Linux.

Continue reading


dosbox

DOSBox sound emulation

Sound and audio hardware was probably one of the more complex and irritating elements of DOS gaming in the early 1990s. So many choices, incompatibilities, and even different advantages for sound effects, speech, or music. So what do you choose today when an emulator like DOSBox gives you so many audio choices?

Continue reading



hugo

Image optimization in Hugo

I will go through the easy process of optimizing images in Hugo to create <img> elements that represent good practice. It will cover recommended attributes, image compression, the automatic generation of alternative formats, and cache busting using fingerprint.

Continue reading


go

Create a Boolean Yes or No prompt in Go

Article preview image Article preview image

In this post, I will create a simple function that will allow you to ask the user a question, receive a valid response, and return it as a Boolean type. And if needed, the user will be able to tap Ctrl+C at any time to exit the program. Also importantly, despite using the operating system input, we will create unit tests for os.stdin.

Continue reading

newer / older 2 of 14 pages