OK, change of plan. Since Alex has be helping, my time spent working on the newsletter has been reduced significantly and I am now able to schedule an entire week's of issues upfront. Hopefully this will continue for some time and guarantee no more skipped days.

Also, Branko Blagojevic has offered to do another timed-exclusive for our backers, and this time it's a multi-part series on facial recognition. The first part is available over at Medium titled How Facial Recognition Works, Part 1: Face Detection. In the next 3 weeks starting from today, we will be sharing the rest three articles of the series: Part 2: Facial Landmarks, Part 3: How Face Changes Over 10 Years, and Part 4: Comparing Congressmen to Mugshots.

Cheers, pek

Articles

(Aug 05) #JavaScript # generators

Generators are functions in JavaScript that “can be paused and resumed as many times” as necessary “without losing the previous steps’ results”. Inspired by these functions, Andrea Simone Costa describes his quest to use them to create try/catch blocks that can be run multiple times or use a fallback value on catch.

(Jul 29) #Hash tables

Understanding the data structures you use is essential when you have a problem or want to optimize your code. In this article, Tristan Hume talks about some customizations he made to the idea of hash tables to optimize for his problem.

(Jul 29) #Postgres # optimization # indexing

In Postgres, you can use composite indexes ("an index on multiple columns") or a separate index. But which one is better? In this article, Hans-Jürgen Schönig illuminates some nuance inner workings of Postgres, and explains when a composite index might be appropriate for your application.

(Aug 07) #Postgres # optimization # C++

Sorting is one of the most common tasks performed in database queries. An efficient sorting method can impact the performance of other query methods. In this article, Brandur Leach introduces SortSupport for Postgres, a method for sorting data using abbreviated keys, that substantially decreasing sorting times.

Timed-Exclusive: Part 2: Facial Landmarks

Branko Blagojevic is a quantitative developer for a fintech start-up. He writes about data science, mobile applications and anything machine-learning related. Check out his blog at https://medium.com/ml-everything

To read the article, pledge $3 or more on our Patreon page and enjoy: access to current and future exclusive content, ad-free issues, free stickers, and any future benefits.

-- * --

Programming language of the day: Mythryl. "Mythryl is a fork of the SML/NJ codebase.

The critical difference between Mythryl and SML/NJ is:

SML/NJ is a research compiler centered on the language and culture of category theory, maintained by and for computer science researchers with the primary goal of advancing the state of the art and producing refereed papers for publication.

Mythryl is a production compiler centered on the language and culture of the open source world, maintained by and for working Posix programmers with the primary goal of providing a stable advanced software development platform.

The goals of the two projects are in often in direct opposition — for example, incorporating untried bleeding-edge ideas is the raison d’etre of a research compiler, but is most unwelcome in a production compiler — so maintaining two separate projects helps keep keep everyone happy."

-- * --

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