Felds's Avatar

Felds

@felds.dev

I've come here to write code and drink coffee, and I'm all out of coffee. Please help. (he/they)

9
Followers
22
Following
52
Posts
25.02.2025
Joined
Posts Following

Latest posts by Felds @felds.dev

I think that’s a DAW

01.09.2025 05:34 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The hsl(from …) syntax thankfully makes this obsolete. CSS written like that was a real pain to maintain!

20.08.2025 06:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I had this "problem" just last week.

TS only allow property access for known properties, even when it's optional. In other words, even though `null?.a` is valid, TS is saying `null` doesn't have a known property `a`.

10.07.2025 21:11 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I’m okay with this. Classes for styling, IDs for behavior and tags for semantics.

Mixing these concepts used to lead to bad code, like using the a semantically wrong element for its styles.

I think decoupling is the right move.

02.07.2025 02:57 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
a man is smiling with the words i just like to watch you guys ALT: a man is smiling with the words i just like to watch you guys
30.06.2025 14:13 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

why are there stars in front of the moon?

30.05.2025 03:26 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

`take` and `sample` are basically the same method, but the rest look good.

I'd love for it to take any sequence, and not only arrays. For example, Object.entries() and Node.children are iterators. Sampling those look useful, but I have no idea how that could be implemented.

29.05.2025 15:22 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

One of my favorite Brave features is that it swallows most cookie consent screens (which I doubt sites are honoring anyway)

28.05.2025 16:32 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Helping modernize a 15yo system that was running on python 2 until a month ago. It’s been a huge pain but gratifying at the same time.

22.05.2025 01:46 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

No links, only divs

17.05.2025 02:55 πŸ‘ 5 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Pottetris effect.

11.05.2025 01:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

hahaha that's crazy! I could swear I remember listening to you saying those things! thanks! :)

06.05.2025 19:08 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

@dylanbeatt.ie maybe I'm suffering from the Mandela effect, but haven't you posted a video somewhere about AI being good at programs but not products? I'm trying to help a fellow dev in an existential crisis, but I can't find it…

06.05.2025 18:06 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

My dream is having browsers implement the line-height-step property. I have no idea how that would interact with the lh unit, though.

24.04.2025 20:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Fuck. Keep your head up, you’re an amazing professional and an inspiration.

11.04.2025 23:58 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I’m sorry. it’s stronger than me πŸ˜”

10.04.2025 04:24 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

@bram.us I finished writing something about how color scheme switching should be a browser control just to discover you wrote the exact same thing in 2022. :P

Any news about that since then?

08.04.2025 23:34 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

That's awesome! I had no idea that existed. I went looking for ideas like this but googling it I could only find tutorial after tutorial (since they so necessary with the current solutions).

Thanks for the pointer. :)

08.04.2025 23:12 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

ERRATA: It should be "Let's make dark mode *switching* a browser-native feature." At least this proves I'm not AI. πŸ˜…

08.04.2025 22:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

@nerdy.dev @syntax.fm @kevinpowell.co I'm sorry for the spam, but I just wrote a piece on why we should stop writing dark mode switches and I'd like to know your opinion (and maybe some help getting this to people who could act on it).

bsky.app/profile/did:...

08.04.2025 22:38 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
switch.md GitHub Gist: instantly share code, notes, and snippets.

Dark mode toggles should be a per-site browser preference, just like zoom.

Why are we still reinventing the wheel with JavaScript? Let's make dark mode a browser-native feature.

bit.ly/dark-mode-is...

08.04.2025 22:35 πŸ‘ 14 πŸ” 2 πŸ’¬ 2 πŸ“Œ 1

semantic ID is a new one for me

08.04.2025 03:59 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I think April Fool’s lost a lot of its appeal in the post truth era…

01.04.2025 14:18 πŸ‘ 9 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

My pet peeves are nucular (nuclear) and anenemy (anemone). English pronunciation is so far from how it’s written that anything goes!

28.03.2025 06:48 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

that's one of the most thing ever generated by AI

27.03.2025 16:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Just tangentially related, a margin-vertical/horizontal would be great too. Not necessary, just neat. :)

25.03.2025 21:07 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This inspired me to be sassier with my bots.

25.03.2025 20:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

That's pretty cool! What were the biggest challenges you had so far while building this lib? Any challenges you still have?

25.03.2025 20:30 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

You haven’t written enough bad TS.

24.03.2025 02:19 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

As much as I dislike Tailwind, I admit it has its uses, and generated code is one of them. In my experience, AIs are not that great with CSS, but Tailwind helps a little.

20.03.2025 03:27 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0