Web Weekly #83 (#blogPost)



Γειά σου!

This week’s Web Weekly comes to you from a lovely terrace in Greece. I spent the last few days mountain biking, driving on tiny streets, and hiking, and right now, I’m looking down at the Mediterranean Sea.

Life’s good because I’m taking the much-needed break from being a tad too busy for a little too long. Nevertheless, I love writing this newsletter, so let’s get to it!

You might have heard of MPAs and SPAs — but have you heard of PEMPAs and PESPAs? Or did you consider that Copilot might be toxic for open source communities? And do you know that there’s an HTTP header to clear localstorage?

All the answers and much more are included in this week’s Web Weekly. 🙈 Enjoy!

Welcome to the 34 new subscribers! I’m super excited to have you around! 👋



Thought of the week

Attention, attention! I added a new critical script to my dotfiles to work around a common typo — git-marge! 🙈

I just like silly terminal things.

And that’s why my terminal occasionally barks at me

… or tells me its opinion by showing me its middle finger via my random Emoji terminal prompt.

It’s these tiny “features” that you won’t find on another computer that I don’t want to miss and make my terminal feel like home. What are yours? Does your terminal bark, too?



Something that made me smile this week

I’m more in the dog camp, but sometimes a purring cat can be soothing. If you’re missing cat sounds in your life, Purrli offers very configurable purr sounds. 😆

Make your computer purr



Quick links



The new React use hook

The React core team is considering adding promise support for components. With this addition, you could potentially await server-side components. And for the client, there might be a new and special use hook. Unfortunately, this unique hook comes with a few challenges. But no biggie, there’ll be workarounds and also a new API helping with some challenges…

And I don’t know; I’m no framework developer, and there are surely reasons for all these additions, but React’s direction feels too complicated lately.

Check React’s promises



Web development patterns

The Chrome DevRels have been very busy collecting links to common web development patterns. Whether you’re looking for component examples, layout patterns or animation guidance, it’s all in a single place now. 👏

Find all the patterns



Control speech via CSS

Léonie Watson shared that there’s no possibility of designing the aural presentation of web content. To fix this state, she offers to take and update the CSS Speech spec (which went nowhere) if enough people show interest.

If you think CSS should include voice-family, voice-rate, voice-pitch, and voice-volume, give Léonie a shout. 📣

Improve what CSS can do



How to digital detox

I follow Mehret Biruk’s writing about spending less time online for a while. They shared one of my favorite tips for working against my phone addiction (☝️).

Changing habits is tough, but their recent article includes many actionable tips to be more present and less online.

Disconnect



How to design good error messages

Error handling is often treated as an afterthought. I’m guilty of adding a quick “Whoops! Something went wrong.” in too many catch blocks myself.

It’s funny that we spend hours thinking about user flows but forget to address technical failures. How do you guide users when a critical validation fails? Or what do you tell them when your servers throw an exception?

The folks at Wix collected excellent tips on good error communication beyond “whoooops!”.

Be helpful when things go wrong



CSS grid layout breakouts

I’ve been looking for a solution to adopt CSS grid on my blog, and Ryan Mulligan’s snippet came in super handy. It leverages grid auto-flow and named areas to allow components to break out of the main container!

Break your grid



Will Copilot harm Open Source communities?

Did you jump onto the GitHub Copilot train already? I didn’t, and as you may know, I’m very sceptical scared of all these AI movements. Matthew Butterick made a strong case explaining why Copilot will harm open source communities in the long term.

Think about Copilot



The fantastic four: MPA, PEMPA, SPA, PESPA

I probably won’t end up on good terms with the term MPA. I just don’t like it, but to make it worse, Kent C. Dodds appeared throwing more acronyms out there.

  • MPA — Multi page app
  • PEMPA — Progressively enhanced multi page app
  • SPA — Single page app
  • PESPA — Progressively enhance single page app

I’ll let you decide if we really need four terms to discuss web development trends and if the words “progressive enhancement” and “single page app” should be included in the same acronym, but “The web’s next transition” is a good read for sure.

Are enhanced SPAs the future?



Random MDN – clear-site-data

From the unlimited knowledge archive called MDN…

Did you know that you can clear cookies, caches and storage (e.g. localstorage) by setting an HTTP response header? Now you do!

If you’ll look at browser support: Safari doesn’t support clear-site-data yet, but the feature made it into the recent Tech Preview Release.

Clear your site’s data

If you want to learn more about web development, my @randomMDN Twitter bot posts random MDN pages multiple times a day.



TIL recap – color-scheme

Adding dark mode to your site requires more than a few media queries. To guarantee that all UI controls adapt to user preferences the color-scheme HTML meta element or CSS property is necessary. Learn more about it on the blog.

Define your color schemes

Find more short web development learnings in my “Today I learned” section.



Three valuable projects to have a look at

  • antfu/broz – A simple, frameless browser for screenshots.
  • webpro/knip – Find unused files, dependencies and exports in your JS/TS project.
  • xwmx/nb – A CLI-based plain text note-taking app.


A new Tiny Helper

MESHER is a beautiful CSS gradient generator. I loved clicking “Randomize” to generate an endless stream of colors!

Mesh it!

Find more single-purpose online tools on tiny-helpers.dev.



Thought of the week

Robin Rendle hit me hard this week! The following sentence describes me all too well. 😢

If this feeling is familiar to you, too, let’s remember Robin shouting “Take a Break You Idiot” at us and take care of ourselves.

Suddenly, out of nowhere, I’ll almost start crying in the afternoon or stay up until the middle of the night thinking about something dumb I said. Maybe that one thing upset that guy and soon you’ll have to—ughhhhhh!



A song that makes you stop coding

This week’s track is an absolute classic – The Postal Service’s “Such great heights” is another song for the ages!

Listen to “Such great heights”



This is all, friends!

Writing Web Weekly takes me roughly five hours every week, and I pay real money for sending over 3k emails. If you enjoy it, consider supporting me on Patreon. ♥️

Or tell your friends about it:

If you’re not a subscriber, change that! 😉

And with that, take care of yourself – mentally, physically, and emotionally. I’ll see you next time! 👋



Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

Γειά σου!

This week's Web Weekly comes to you from a lovely terrace in Greece. I spent the last few days mountain biking, driving on tiny streets, and hiking, and right now, I'm looking down at the Mediterranean Sea.

Life's good because I'm taking the much-needed break from being a tad too busy for a little too long. Nevertheless, I love writing this newsletter, so let's get to it!

You might have heard of MPAs and SPAs — but have you heard of PEMPAs and PESPAs? Or did you consider that Copilot might be toxic for open source communities? And do you know that there's an HTTP header to clear localstorage?

All the answers and much more are included in this week's Web Weekly. 🙈 Enjoy!

Welcome to the 34 new subscribers! I'm super excited to have you around! 👋

Thought of the week

Attention, attention! I added a new critical script to my dotfiles to work around a common typo — git-marge! 🙈

I just like silly terminal things.

And that's why my terminal occasionally barks at me...

... or tells me its opinion by showing me its middle finger via my random Emoji terminal prompt.

It's these tiny "features" that you won't find on another computer that I don't want to miss and make my terminal feel like home. What are yours? Does your terminal bark, too?

Something that made me smile this week

I'm more in the dog camp, but sometimes a purring cat can be soothing. If you're missing cat sounds in your life, Purrli offers very configurable purr sounds. 😆

Make your computer purr

The new React use hook

The React core team is considering adding promise support for components. With this addition, you could potentially await server-side components. And for the client, there might be a new and special use hook. Unfortunately, this unique hook comes with a few challenges. But no biggie, there'll be workarounds and also a new API helping with some challenges...

And I don't know; I'm no framework developer, and there are surely reasons for all these additions, but React's direction feels too complicated lately.

Check React's promises

Web development patterns

The Chrome DevRels have been very busy collecting links to common web development patterns. Whether you're looking for component examples, layout patterns or animation guidance, it's all in a single place now. 👏

Find all the patterns

Control speech via CSS

Léonie Watson shared that there's no possibility of designing the aural presentation of web content. To fix this state, she offers to take and update the CSS Speech spec (which went nowhere) if enough people show interest.

If you think CSS should include voice-family, voice-rate, voice-pitch, and voice-volume, give Léonie a shout. 📣

Improve what CSS can do

How to digital detox

I follow Mehret Biruk's writing about spending less time online for a while. They shared one of my favorite tips for working against my phone addiction (☝️).

Changing habits is tough, but their recent article includes many actionable tips to be more present and less online.

Disconnect

How to design good error messages

Error handling is often treated as an afterthought. I'm guilty of adding a quick "Whoops! Something went wrong." in too many catch blocks myself.

It's funny that we spend hours thinking about user flows but forget to address technical failures. How do you guide users when a critical validation fails? Or what do you tell them when your servers throw an exception?

The folks at Wix collected excellent tips on good error communication beyond "whoooops!".

Be helpful when things go wrong

CSS grid layout breakouts

I've been looking for a solution to adopt CSS grid on my blog, and Ryan Mulligan's snippet came in super handy. It leverages grid auto-flow and named areas to allow components to break out of the main container!

Break your grid

Will Copilot harm Open Source communities?

Did you jump onto the GitHub Copilot train already? I didn't, and as you may know, I'm very sceptical scared of all these AI movements. Matthew Butterick made a strong case explaining why Copilot will harm open source communities in the long term.

Think about Copilot

The fantastic four: MPA, PEMPA, SPA, PESPA

I probably won't end up on good terms with the term MPA. I just don't like it, but to make it worse, Kent C. Dodds appeared throwing more acronyms out there.

  • MPA — Multi page app
  • PEMPA — Progressively enhanced multi page app
  • SPA — Single page app
  • PESPA — Progressively enhance single page app

I'll let you decide if we really need four terms to discuss web development trends and if the words "progressive enhancement" and "single page app" should be included in the same acronym, but "The web's next transition" is a good read for sure.

Are enhanced SPAs the future?

Random MDN – clear-site-data

From the unlimited knowledge archive called MDN...

Did you know that you can clear cookies, caches and storage (e.g. localstorage) by setting an HTTP response header? Now you do!

If you'll look at browser support: Safari doesn't support clear-site-data yet, but the feature made it into the recent Tech Preview Release.

Clear your site's data

If you want to learn more about web development, my @randomMDN Twitter bot posts random MDN pages multiple times a day.

TIL recap – color-scheme

Adding dark mode to your site requires more than a few media queries. To guarantee that all UI controls adapt to user preferences the color-scheme HTML meta element or CSS property is necessary. Learn more about it on the blog.

Define your color schemes

Find more short web development learnings in my "Today I learned" section.

Three valuable projects to have a look at

  • antfu/broz – A simple, frameless browser for screenshots.
  • webpro/knip – Find unused files, dependencies and exports in your JS/TS project.
  • xwmx/nb – A CLI-based plain text note-taking app.

A new Tiny Helper

MESHER is a beautiful CSS gradient generator. I loved clicking "Randomize" to generate an endless stream of colors!

Mesh it!

Find more single-purpose online tools on tiny-helpers.dev.

Thought of the week

Robin Rendle hit me hard this week! The following sentence describes me all too well. 😢

If this feeling is familiar to you, too, let's remember Robin shouting "Take a Break You Idiot" at us and take care of ourselves.

Suddenly, out of nowhere, I’ll almost start crying in the afternoon or stay up until the middle of the night thinking about something dumb I said. Maybe that one thing upset that guy and soon you’ll have to—ughhhhhh!

A song that makes you stop coding

This week's track is an absolute classic – The Postal Service's "Such great heights" is another song for the ages!

Listen to "Such great heights"

This is all, friends!

Writing Web Weekly takes me roughly five hours every week, and I pay real money for sending over 3k emails. If you enjoy it, consider supporting me on Patreon. ♥️

Or tell your friends about it:

If you're not a subscriber, change that! 😉

And with that, take care of yourself - mentally, physically, and emotionally. I'll see you next time! 👋


Reply to Stefan


This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis


Print Share Comment Cite Upload Translate Updates
APA

Stefan Judis | Sciencx (2022-10-22T21:00:00+00:00) Web Weekly #83 (#blogPost). Retrieved from https://www.scien.cx/2022/10/22/web-weekly-83-blogpost/

MLA
" » Web Weekly #83 (#blogPost)." Stefan Judis | Sciencx - Saturday October 22, 2022, https://www.scien.cx/2022/10/22/web-weekly-83-blogpost/
HARVARD
Stefan Judis | Sciencx Saturday October 22, 2022 » Web Weekly #83 (#blogPost)., viewed ,<https://www.scien.cx/2022/10/22/web-weekly-83-blogpost/>
VANCOUVER
Stefan Judis | Sciencx - » Web Weekly #83 (#blogPost). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/10/22/web-weekly-83-blogpost/
CHICAGO
" » Web Weekly #83 (#blogPost)." Stefan Judis | Sciencx - Accessed . https://www.scien.cx/2022/10/22/web-weekly-83-blogpost/
IEEE
" » Web Weekly #83 (#blogPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2022/10/22/web-weekly-83-blogpost/. [Accessed: ]
rf:citation
» Web Weekly #83 (#blogPost) | Stefan Judis | Sciencx | https://www.scien.cx/2022/10/22/web-weekly-83-blogpost/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.