Sponsor

Ably’s cloud infrastructure and APIs make it easy to power and scale complex realtime features like chat, GPS location updates, and IoT device control. Support for WebSockets, MQTT, SSE, and more. Companies like HubSpot build on Ably so they can focus on shipping and scaling, not infrastructure and uptime.

Use our APIs for free and get started with realtime engineering

Articles

(Sep 23) #cpp #data structures

Unlike a typical linked list where each node has two properties: the data and a pointer to the next node, an intrusive linked list has only the latter. The data is the node (or the data is the node?). In this article, the author shows us the benefits of using this structure as well as the implementation.

(Sep 26) #cpp #algorithms

According to Wikipedia: "[Gray code] is an ordering of the binary numeral system such that two successive values differ in only one bit". This is has many useful application in error correction during data transmission and is still used today in TV signal transmissions. In this article we take a look at an implementation of Gray Code in C++ by Lénárd Szolnoki.

(Oct 15) #algorithms

Ah, the Y Combinator. If you've been a long enough subscriber you've probably read a few different articles on it. In this version, Lionel Parreaux shows us an implementation in Python and a simpler explanation of what it is and what it does.

(Oct 14) #ruby #linux #locking

If you are working in Ruby in Linux and need to lock files for concurrent processes, then check out this article by Prajjwal Singh who's listed all the different file locking mechanisms on Linux. From looking at File#flock under the hood, to partial Locking with fcntl, this article explains each method.

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 our Kickstarter campaign for our newest project Human Readable Magazine. If you like our newsletter, you'll definitely like our magazine!

Cheers,

Pek