Issue #364 · March 18, 2024

#364: Learn Flexbox CSS in 8 minutes

“The only way to learn a new programming language is by writing programs in it“”

Hello, |LIST:NAME| Welcome to issue #364, my dear full-stack friend!

Here we are with another issue full of amazing content. I especially loved the featured one! If you have been struggling with flexbox, I am sure you'll love it! And, as usual, there's a lot more to keep you inspired and to tell you what's going on in the beautiful world of full-stack web development! Enjoy

— Luciano

Learn Flexbox CSS in 8 minutes (video)

Learn Flexbox CSS in 8 minutes (video)

I love Flexbox, but I have to be honest and admit I always struggle a little bit to come up with the right set of CSS properties to achieve what I want to achieve. Only after watching this video, I realised that this was the case because I didn't really have a correct mental model for Flexbox and I wasn't too familiar with some of the nuances that come with combining certain properties. If you feel like you also struggle with Flexbox or simply want to have a nice recap on how they work, this video is definitely worth 8 minutes of your time!

Articles

Gallery of error 404 page designs

404 pages, where joy and errors meet! If you want to know how much care was put into the design of a website, there's no better place to look than on the 404 error page! This website is an inspiration gallery, collecting hundreds and hundreds of astonishing designs for 404 pages! Definitely worth having a quick look to gather some inspirations for your next web project... Or maybe to renew your personal website... that's maybe what I should do. Speaking of which, what do you think about my website 404 page?

JPEG XL and the Pareto Front

Version 0.10 of libjxl, the reference implementation for JPEG XL, has just been released. The main improvement this version brings is that the so-called “streaming encoding” API has now been fully implemented. This API allows encoding a large image in “chunks.” Instead of processing the entire image at once, which may require a significant amount of RAM if the image is large, the image can now be processed in a more memory-friendly way. Is this going to be the future of images on the web? We will see!

Scalar: Beautiful API docs from OpenAPI

BA fantastic open-source project that can help you to build beautiful API references starting from your OpenAPI definition. If you want to quickly check out what the final result might look like, they have an interactive demo page online where you can copy-paste your API spec or start with the usual pet store example. I really like their design, but the feature that I love the most is the section that generates snippets for curl and for many different programming languages and HTTP clients.

The quiet, pervasive devaluation of frontend

Something that I have been noticing lately talking with some customers during my consulting work is that many of them would say phrases such as "Yeah, it's just a piece of UI" or "Don't worry about the frontend, that's easy", etc... I thought it was only my perception, but it looks like I am not alone. This article brings another scary perspective on how the industry is diminishing the value (and the efforts) of creating good frontends.

The faster Lambda runtime: NodeJS or LLRT? We benchmarked

We already spoke about LLRT in a previous issue, but if you missed it, it is a Low Latency Runtime for AWS Lambda built with QuickJS & Rust. Can it replace Node.js for serverless? LLRT reduces your Lambda cost by 2x, and cold start by 10x. Let's look at some benchmarks, but let's not forget to look at the feature tradeoffs too!

Techniques to Break Words

How can you break words on the web? There are a few different CSS properties and layouts you can combine to achieve different effects. This article offers extensive guidance and even an interactive playground. It might sound like an unimportant topic, but it can have a significant effect on your designs, especially if you need to support multiple languages, including Right-to-Left ones.

Book of the week

Introduction to Algorithms, Third Edition (International Edition)

Introduction to Algorithms, Third Edition (International Edition)

by Thomas H. Cormen

Some books on algorithms are rigorous but incomplete; others cover masses of material but lack rigor. Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad range of algorithms in depth, yet makes their design and analysis accessible to all levels of readers. Each chapter is relatively self-contained and can be used as a unit of study. The algorithms are described in English and in a pseudocode designed to be readable by anyone who has done a little programming. The explanations have been kept elementary without sacrificing depth of coverage or mathematical rigor.

Additional Links