A Byte of Coding Issue 391

A Byte of Coding Issue 391

A Byte of Coding

Hey-yo,

I work a lot with non-publicly exposed databases on remote servers and shared a good way of opening a ssh tunnel in a script to have access to these databases. I’m planning on using my X account to share a bunch of little scripts and commands I use to make life easier, so follow me there if you’re interested in that. Also if you come across any scripts / commands you think are neat, tag me :)

Today’s issue has a bit of a web theme.

Made possible through generous sponsorship by:

Published: 19 April 2024

Tags: css

Jen Simmons dives into the introduction of a new grid type for css.

Some highlights:

  • where content packs together like a brick or stone wall” or waterfall layout

  • includes background on the feature and how it can be created now

  • describes how new feature can be used (still needs to be shipped though and requires your input)

Published: 21 March 2024

Tags: htmx, ssr, web

Matteo Collina has written an extensive guide on implementing your own server-side rendering framework using htmx, fastify, and vite.

Some highlights:

  • implements a movie quotes app

  • includes full source code

  • pretty good for getting an understanding of how ssr and frameworks work

Published: 23 April 2024

Tags: sponsored, business, auth

WorsOS announces that it has acquired “Warrant, the Fine Grained Authorization (FGA) service for developers”.

Some highlights:

  • FGA allows developers to implement precise access controls within their applications, ensuring robust security and data compliance”

  • uses the zanzibar auth system which was originally designed by google to use for google docs and youtube

  • “The Warrant authorization system is open source, allowing anyone to run it themselves”

Published: 22 April 2024

Tags: gpu, web, algorithms, webgpu

Will Usher “evaluate[s] WebGPU compute performance against native Vulkan by implementing the classic Marching Cubes algorithm in WebGPU”.

Some highlights:

  • “WebGPU is a powerful GPU-API for the web, providing support for advanced low-overhead rendering pipelines and GPU compute pipelines”

  • “Marching Cubes is a classic algorithm in computer graphics for 3D surface reconstruction that was first introduced in 1987 by Lorensen and Cline”

  • performance comparison between macbook pro with m2 max (webgpu), rtx 3080 (webgpu), and native vulkan rtx 3080

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.