Hi everyone,

Hope you are doing well and staying safe.

I wanted to give you a heads up on a new experiment I'll be running next week. MailChimp has a feature that allows me to say "I'd like this email to be sent out in the morning" and it will, supposedly, automatically figure out your timezone and schedule it accordingly. In my opinion this is the least disruptive way of doing this.

I will continue using this method only if people like it. And the way I will know is by using the Like/Dislike links bellow. Please use them for this issue to tell me if the current system works or not for you, and then on Monday please vote for the new system. I will compare the ratio to see how better/worse it is and make a decision for the week following.

This is something many have asked for but implementing something like this needs a lot of custom software that I'd like to avoid developing. If the MailChimp system doesn't work, I'm afraid we will stay with the previous one. I have no plans of developing any custom software that manages and delivers to 7,000+ emails securely.

Articles

(Apr 09) #javascript Save to Pocket

Generators in JavaScript (function* ()) essentially allow you to step-through or iterate over functions. This functionality allows developers to experiment with different design paradigms. In this article, Luca Matteis demonstrates how generators can be used to design a program for getting dressed "closer to how we build requirements or scenarios". Ultimately the paradigm is called Behavioral Programming, "which enables incremental development in a natural way", and generators are the modular b-threads upon which the system stands.

(Apr 08) #javascript Save to Pocket

In RxJS, observables are JavaScript data producers that can be manipulated to push data to data consumers (observers). "This behavior allows a system to have concurrent actions as it won't need to block until values are received". André Monteiro's article answers the questions what is an observable, what are hot/cold observables, and how to turn a cold one hot and a hot one cold. If you need a concise crash course on all things observables with real implementations, this article is for you.

(Apr 13) #javascript #chip-8 Save to Pocket

Emulators are hardware devices or software programs that enable one computer system to imitate the function of another. They're most commonly used to recreate old gaming systems for that authentic retro feel. This article is no exception, because it details how Tania Rascia wrote a Chip-8 interpreter in JavaScript for a web app, a CLI app, and a native app. Tania's extensive article covers all the important aspects of the process, and is a great introduction on fundamental low-level programming principles.

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.

Interested in sponsoring our newsletter? Click here to send us an email.

Cheers,

Pek