Today I learned that you can use Makefiles to create simple task-runners. Stuart Feldman invented Make in 1976 to automate build processes for C programs. But you can use it for other languages, too. For example, Vladislav Supalov uses this Makefile for Docker commands: all: @echo "Usage: build or run" build: docker build -t test . run: docker run –rm -it test Now run the file with your terminal: make > Usage: build or run Build the Docker container via make build or run the container via make run.
(image by @mamihery) Why Hy? My second programming language was a Lisp. I fell in love with the expressiveness of Lisps. But most Lisps are obscure. The ecosystem is not suited for beginners. One of younger Lisps, Clojure, was my first foray into the world of web-development. I failed spectacularly because I didn’t know how web-develoment worked, and the Clojure ecosystem assumes too much previous knowledge. Other languages, e.g., Racket, are more approachable, but are still too unpopular to have a big community.
The Zero To Mastery Deno Course deploys a Deno docker container to Amazon EC2. The EC2 instances cost money after you’ve exhausted your free 12 months. Plus, Amazon’s cloud services can be tricky. Sometimes, services spike. You quickly exceed your free tier, even for a simple toy app. Let’s deploy Deno to Heroku instead. Heroku’s free tier stays free regardless of usage. The free level is slow, because it will periodically stop to save resources.
Redshift is a free utility program for Linux that allows you to adjust the computer screen’s color temperature. You’ll want to use the software to reduce eye strain, especially at night. The bluish color of the computer display is hard on your eyes. Redshift colors the screen in a warmer, reddish color. Minimal Installation of RedShift and Setup (Arch Linux) Installation Using the Arch package manager with yay: yay -S redshift-minimal xorg-xbacklight Setup Go to http://www.