Workaday Reading

Aspect Ratio Media Queries



"I recently completed a project in which I set out to explore using media queries to detect and respond to aspect ratio and viewport/screen size (not just the latter). This article is my effort to share my results. View the project on CodeSandbox."

read »

Workaday Reading

Readwise API



"Our API supports creating, fetching, and updating highlights on behalf of the user. Rather than following any particular standard to the letter, we tried to make it as fun to use and easy to understand as possible. If you have any questions, please reach out :)"

read »

Always Redirect User to Translated Pages with the WPML Plugin for WordPress

The Context I recently worked on my first translation site for WordPress. We used the WPML (WordPress Multilingual) plugin. The client wanted to have all pages that had an associated translation automatically have users whom have set their browser language to be redirected to the translated page…every time. There is a setting with the value … Continued

Workaday Reading

Version 6.2



"On March 29, 2023, WordPress 6.2 "Dolphy" was released to the public. For more information on this release, read the WordPress 6.2 announcement. For Version 6.2, the database version (db_version in wp_options) updated to 53496, and the Trac revision was 55610. A full list of tickets included in 6.2 can be found on Trac. Installation/Update…"

read »

Workaday Reading

How Software Companies Die – Orson Scott Card

"The environment that nurtures creative programmers kills management and marketing types - and vice versa."
read »

Workaday Reading

How Discord Stores Trillions of Messages



"In 2017, we wrote a blog post on how we store billions of messages. We shared our journey of how we started out using MongoDB but migrated our data to Cassandra because we were looking for a database that was scalable, fault-tolerant, and relatively low maintenance."

read »

Workaday Reading

Sandboxing with Partytown



"Partytown is a “library to help relocate resource intensive scripts into a web worker, and off of the main thread. Its goal is to help speed up sites by dedicating the main thread to your code, and offloading third-party scripts to a web worker."

read »

Workaday Reading

Design Patterns in PHP 8: State



"Hi there! State design pattern is a behavioral design pattern that enables an object to change its behavior when its internal state changes. This pattern is useful when an object's behavior is dependent on its state, and it must change its behavior at runtime based on changes in the state."

read »