Fearless CORS: a design philosophy for CORS middleware libraries (and a Go implementation)

Use Cases for Transparent Telemetry

HTTP, WebSocket, gRPC or WebRTC: Which Communication Protocol is Best For Your App?

Stack Machines and Where To Find Them

Issue #331

2/13/2023

{{PreviewText}} 

Hola
Hope you all had a lovely weekend. I finally got home from some extended travels and started going to the gym again. On one hand, I like the feeling of being sore because I know it means I've been putting in work, but at the same time, it really sucks hurting everywhere whenever I get up or sit down. It also feels like I need an extra hour or two of sleep not to feel completely exhausted. Or maybe my body is just trying to stop me from returning to the painful reality that is moving about.
Anyway, here's the issue.

====================================================================

Today's Sponsor: Stream

Build cross-platform messaging experiences with Stream Chat API. Sign up for Stream's 30 day trial for free!

====================================================================

Fearless CORS: a design philosophy for CORS middleware libraries (and a Go implementation)

Published: 8 February 2023
Tags: go, web


Julien Cretel presents their implementation of a Cross-Origin Resource Sharing (CORS) library. Personally I think Julien is over-exaggerating the complexity, but it's an interesting read nonetheless.
Some highlights:

  • Investigates why developers struggle with CORS and derives Fearless CORS, a design philosophy for better CORS middleware libraries
  • Underlines 12 principles of Fearless CORS
  • Looks at a number of common CORS libraries in different languages to see how they handle things


====================================================================

Use Cases for Transparent Telemetry

Published: 8 February 2023
Tags: go, open source, philosophy


In this series of articles, Russ Cox discusses why and how transparent telemetry can help improve open source software projects.
Some highlights:

  • "Without telemetry, developers rely on bug reports and surveys to find out when their software isn’t working or how it is being used"
  • Not having detailed information about how the software is being used makes it difficult for maintainers to implement essentials fixes/features
  • Transparent telemetry collects as little as possible (kilobytes per year from each installation) and then publishes every bit that it collects, for public inspection and analysis


====================================================================

HTTP, WebSocket, gRPC or WebRTC: Which Communication Protocol is Best For Your App?

Published: 26 September 2022
Tags: grpc, networking, software architecture, sponsored, streaming, web, webrtc


Stream explores each of the titular protocols "by investigating the technology behind it, what it’s best used for, and its strengths and weaknesses".
Some highlights:

  • Briefly covers UDP and TCP as well
  • Very thorough deep-dive on the mentioned networking protocols
  • Ends with notes on which you should choose for which situation


====================================================================

Stack Machines and Where To Find Them

Published: 9 February 2023
Tags: low level, optimization, philosophy, rust


Tom Niget explains recursion and how it can be used to solve various programming tasks. Tom also talks about the disadvantages of recursion and how it can be inefficient.
Some highlights:

  • Multiple programming languages used for examples
  • Dives into how functions work from bottom up
  • Implements a stack


-

How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 3045

Opens: 1459

Clicks: 446

Link Clicks Clicks % Unique Clicks Unique Clicks %
Fearless CORS: a design philosophy for CORS middleware libraries (and a Go implementation) 70 18.82% 73 19.41
Use Cases for Transparent Telemetry 47 12.63% 50 13.30
HTTP, WebSocket, gRPC or WebRTC: Which Communication Protocol is Best For Your App? 141 37.90% 132 35.11
Stack Machines and Where To Find Them 114 30.65% 121 32.18

Previous

Back to Issues

Next