DEV Community

Stefan Judis
Stefan Judis

Posted on • Updated on • Originally published at stefanjudis.com

🧒 Stefan's Web Weekly #14

Welcome to Web Weekly 14

And a special hello to all the new subscribers. πŸ‘‹ Over 50 people signed up for this newsletter this week, and I made it to over 900 subscribers. 😲

That's unbelievable. Thank you all for being around! πŸ’™

Do you remember when I shared that I'll give the Moonlander keyboard a try? What shall I say? I failed badly, but... I'm not giving up and follow Salma's recommendation of using a Mistel Barocco MD770 RGB.

Split keyboard on my desk

This keyboard's layout is closer to the standard Mac one, it feels good, and I'm still able to type straight sentences. It'll work!

But enough about keyboards! This week's Web Weekly includes...

  • An article that made me reflect on situations in which I only complain
  • A JavaScript Array method that I haven't seen before
  • Ways to exploit setTimeout and setInterval for XSS (cross-site scripting)

... and, as always, GitHub repositories, new Tiny Helpers and some music.

Sounds good? Let's jump in!

Commenting vs making

I gained a lot of appreciation for people who make things, and lost a lot of tolerance for people who only pontificate.1 I found myself especially frustrated with my past self, whose default was to complain and/or comment, then wonder why things didn’t magically get better.2

The following post really made me reflect on my behaviour. The post "Commenting vs making" describes the ease of complaining without doing anything.

How often did (and do) I simply complain about things without having the bigger picture in mind? How often do I just annoy someone else without helping out? It turns out, too often!

πŸ‘‰ Start making, stop complaining

TIL – the JavaScript array method copyWithin

Source code: const array1 = ['a', 'b', 'c', 'd', 'e'];  // copy to index 0 the element at index 3 console.log(array1.copyWithin(0, 3, 4)); // expected output: Array [

Short and sweet: I learned that JavaScript Arrays have a copyWithin method. 😲

πŸ‘‰ Learn more about copyWithin

A beautiful newsletter about SVGs

viewBox – Your window into the magical world of SVG

The ViewBox newsletter sent by Cassie Evans and Louis Hoebregts is an excellent resource if you want to learn more about SVGs. I loved the last edition about SVG patterns.

πŸ‘‰ Subscribe to the ViewBox newsletter

The problem of "being nice"

The be-nice-or-be-quiet mentality is one of the most destructive forces I've ever seen in both personal and professional settings. I've watched multiple friendships, relationships, and companies implode because everyone was so focused on being nice that they forgot to be kind.

Jason Lengstorf shares his experience with people being nice and compares it to people being kind. There's a difference between the two adjectives, and his article includes valuable advice on how to interact with friends, colleagues and family in the best possible way.

πŸ‘‰ Read about the problem of being nice

Topframe – A local webpage screen overlay

Topframe screenshot showing HTML overlays on the mac os desktop

I haven't had the time to play around with Topframe but, it looks very cool. Topframe allows you to set up screen overlays using web technologies. And the best part: it's not using heavy Electron technology.

πŸ‘‰ Check out Topframe

Words you should avoid in technical writing

Example: Now that the child elements are floated, obviously the element will collapse and we'll have to deal with that.

Technical writing is very challenging. It's especially tough to make you're writing inclusive and keep it beginner-friendly (which you should πŸ˜‰). Chris Coyier's post from 2014 shares words to avoid when blogging or documenting open source.

πŸ‘‰ Clean up your technical writing

Random but valuable things for your home

I'm in buying mood. What's the best thing to get for your home that the most people don't think of?

I try to limit the number of useless things I buy for my apartment. The following Twitter thread didn't help with this, but there's some good and funny stuff in this list.

πŸ‘‰ Find out about things you didn't know you need

TIL: How to style the select button of file inputs

Visualisation explaining that you can style the

This week I learned that you can style the "browse" button of file inputs using the ::file-selector-button pseudo-element. I love the web platform for these tiny features!

πŸ‘‰ Learn about ::file-selector-button

I β™₯️ reading about setups

How I've improve my remote presentation setup

Giving remote talks is tough. You don't get audience feedback, you can't make eye contact, you're just standing alone in a room talking to your computer. It's an entirely different experience. Lara Hogan shared her remote presentation setup, and there are good tips in this article.

πŸ‘‰ Read more about Lara's setup

If you document your setup on a /uses page on your blog, please share it with me. I love reading these posts (here's mine)

TIL – setTimeout and setInterval are potential attack vectors

Source code: setTimeout( raw `   console.log('hello world');   const someVariable = 'some variable'; ` endraw , 1000);

I discovered another fascinating JavaScript fact this week. Did you know that setInterval and setTimeout accept source code strings as a first argument? This feature means that your JavaScript code could be exploited when using these methods with variables. Good to know!

πŸ‘‰ Read the docs about setInterval

Shall I YouTube?

YouTube video - top-level await in Node.js

I play with the idea to post "Today I learned" posts on my blog and also publish the learnings on YouTube. I gave it a first try with the learning "top-level await in Node.js". What do you think?

πŸ‘‰ Watch top-level await in Node.js

πŸ’™ Shout outs – Thank you for doing this!

How I stay up to date from Johannes Scharlach

Johannes Scharlach published a great list of resources that he uses to stay up to date. He included my little newsletter. Thank you so much, Johannes!

πŸ‘‰ Learn about resources to stay up to date

A new Tiny Helper

Screenshot of the Gradient Generator Tool

When creating CSS gradients, the result often includes an area that looks very "greyish". Use this gradient generator to create gradients that look sharp and beautiful!

πŸ‘‰ Create beautiful gradients

Three useful projects to have a look at

A quote to think about

I agree 100% with Ali Spittel's quote of this week. Creating content helps to improve your writing and often forces you to dive deeper into a technical topic.

Even if nobody reads your content, someone still benefitted from it: you.

A song that makes you stop coding

Cover: Boys Noize

I included Feist in a previous newsletter. πŸ™ˆ This week I listened to Boys Noize's epic "My moon my man" remix. It's a noisy but very slow electro and melodic track that gives me goosebumps every single time I listen to it!

πŸ‘‰ Listen to the remixed "My Moon my man"


And that's a wrap for the fourteenth Web Weekly! πŸŽ‰

Writing this newsletter takes me three hours every week. If you enjoyed it, a quick share means the world to me and if you want to receive it in your inbox you can sign up on my site. β™₯️

Stay safe, and I'll talk to you next week! πŸŽ‰ πŸ‘‹

PS. I heard the cool kids use RSS. You can find multiple feeds on my site.

Top comments (0)