Improve devops workflows and self-host Docker, Grafana, GitLab, OpenFaaS and more on the simplest cloud platform. Spin up preconfigured cloud servers with the growing library of 1-Click Apps on DigitalOcean Marketplace.

Get started with a new user credit for Morning Cup of Coding readers.

Articles

(May 03) #golang

William Kennedy is writing a 3-part series on Go's garbage collector. While currently the technique used is non-generational concurrent tri-color mark and sweep, these change quite often, thus the focus on the article is not on specifics, but on how to model the collectors behavior so your source code plays along nicely with it. In this first part the author introduces the basic concepts.

(May 23) #unicode

There are many interesting concepts defined in the Unicode standard apart from the very basic "this number represents this character in this language". The spec includes information on how to format numbers, sort text, have text render in a different direction (RTL), and many many more. After an introduction of the building blocks of Unicode, Joe Nelson uses the International Components for Unicode (ICU) library to write programs that demonstrates some of the more interesting parts of Unicode.

(May 21) #reinforcement-learning

Super Mario Bros, the classic NES game, has been the subject of AI for many years. In this instance, Tian Qi and Michael Burge have programmed their agents to have "curiosity", a concept that makes them attempt to predict future states of the level and actually prefer the ones that they cannot predict. This article goes over the results as well as how it all works.

-- * --

Programming language of the day: RETRO. "RETRO is a clean, elegant, and pragmatic dialect of Forth. It provides a simple alternative for those willing to make a break from legacy systems.

The language draws influences from many sources including traditional Forth systems, cmForth, colorForth, Factor, and Parable. It was designed to be easy to grasp and adapt to specific uses.

The basic language is very portable. It runs on a tiny virtual machine (Nga), which is written in C. There are multiple interface options, the main one (rre) is buildable with just the standard C compiler and libraries on most systems."

-- * --

And that''s it for today! Discuss this issue at our subreddit r/morningcupofcoding.

Did you like what you read? Let us know by clicking one of the links below.

Liked - Disliked

I hope you enjoyed reading the latest issue of Morning Cup of Coding. If you did, consider supporting us by becoming a patron (Patreon) for perks like ad-free issues, or via a one-time donation via PayPal.

Cheers,

Pek