
Web developer with passion for learning & open source. ❤ #javascript and to make web better.
Toronto, Ontario
Joined December 2014
- Tweets852
- Following49
- Followers42
- Likes895
Sergey retweeted
Here’s an early preview of ElevenLabs Music.
All of the songs in this thread were generated from a single text prompt with no edits.
Title: It Started to Sing
Style: “Pop pop-rock, country, top charts song.”
Interesting TS problem in relation to a method type declaration is described in this article totaltypescript.com/method-s…
Given the circumstances it must be really hard to handle a type check, so adding a linter rule to avoid the issue makes perfect sense.
12
ishadeed.com/article/css-has…
You can do so much more with :has() in #css and Ahmad Shadeed provided lots of interactive demos with descriptions in this article 👏
1
12
Sergey retweeted
Future CSS Tip! 🔮
You can anchor an element to multiple elements with anchor positioning
.anchored {
top: anchor(--a-1 bottom);
left: anchor(--a-2 right);
}
Combine it with CSS mask to create some "Supercharged CSS ⚡️"
Watch the debug below 👀
@CodePen link below! 👇
Sergey retweeted
Bringing the bear back to form controls with CSS :has() and CSS anchoring 👀
ʕ´•ᴥ•`ʔ
:root:has([type=password]:focus) .paw {
top: anchor(--password, top);
}
Only JavaScript is to toggle the password reveal whose button is anchored to the input 😉
@CodePen link below! 👇
Sergey retweeted
My next newsletter drops on Tuesday. I'll be discussing the current state of AI for programmers and how it is (or isn't) going to change the way we work.
Make sure you're on my mailing list to receive it:
mailinglist.humanwhocodes.co…
Sergey retweeted
Ignoring any current implementations, how would you _like_ the following selector to match (poll in the next post):

ALT .a .b { .c + & { background: green; } } /* Option 1: Match elements that satisfy all of these conditions: - Element has class 'b'. - Element has an ancestor with class 'a'. - Element is the next sibling of an element that has class 'c'. Option 2: Match elements that satisfy all of these conditions: - Element has class 'b'. - Element has an ancestor with class 'a', which itself is the next sibling of an element that has class 'c'. */
Sergey retweeted
Nice little prettier plugin to handle long arrays that get formatted like a giraffe
github.com/electrovir/pretti…
Sergey retweeted
Replay.io helped us fix four flaky tests this week without even breaking a sweat.
If @playwrightweb has you down, there might be some good tips in here.
youtube.com/watch?v=JF2UiRWw…
Sergey retweeted
As a person with multiple years of using microfrontends at Spotify I can with some authority say: microfrontends makes as much sense as roommates washing clothes with individual, tiny washing machines in their room, because they cannot deal with the discomfort of negotiation. – at Stockholm, Sweden
Sergey retweeted
James Webb Telescope.
Figma exit at 50x sales.
Turing-passing ChatGPT.
Nuclear fusion.
This past year has been an awesome reminder to do things not because they are easy, but bc they are hard.
If you are able, reject a life of low hanging fruit.
Choose to go to the moon.
Sergey retweeted
If you want to free up time, you need to do fewer things. You can do that either by allowing some things to go undone or by delegating some things to someone else.
If delegating, you’ll also need to accept that things don’t get done exactly as you would do them. And that’s okay.
Sergey retweeted
There's a really good series being put together here by @RyanDavisDev which gently introduces you to fp-ts. Well worth checking out. youtube.com/@ryandavisdev #TypeScript #fpts #nodejs #webdev
I started learning #swift and I really like how optionals are part of the language. #JavaScript/#TypeScript would benefit from it a lot github.com/tc39/proposal-Dec…
1
4
You can use libraries like Maybe, Tailscale, etc to archive the same, but that approach being a part of the language is what drives adoption of best practices. Well done by swift
1
1















