HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rasso

130 karmajoined 6 lat temu
- meet.hn/city/de-Munich - github.com/hirasso - rassohilber.com

Submissions

Show HN: Replace emails and phone numbers with

github.com
3 points·by rasso·przedwczoraj·0 comments

Show HN: My Approach to HTML Obfuscation

github.com
2 points·by rasso·4 dni temu·0 comments

A Day in the Life of an Ensh**ttificator

youtube.com
5 points·by rasso·4 miesiące temu·0 comments

CSS is too powerful now [video]

youtube.com
3 points·by rasso·5 miesięcy temu·0 comments

/Nothing-Here

nerdy.dev
1 points·by rasso·8 miesięcy temu·0 comments

Viewport behavior in Safari 26 is utterly broken

bsky.app
3 points·by rasso·10 miesięcy temu·0 comments

comments

rasso
·11 dni temu·discuss
Amazing idea! A little Feedback: I tan easily but still have freckles.
rasso
·2 miesiące temu·discuss
Do you have a link for me? I'd like to learn them, but find it really hard to find them.

For example, I had never heard about etc/services until 2 minutes ago
rasso
·3 miesiące temu·discuss
I'll make this my new source of truth. Thank you!!!
rasso
·3 miesiące temu·discuss
For what it's worth: they live up to their own standards. Here, for example, is the source code that powers their VIP platform product:

https://github.com/Automattic/vip-go-mu-plugins

It must be open sourced because it's based on WordPress. I still love that.
rasso
·5 miesięcy temu·discuss
This is my all-time favourite from Shatner: "It hasn't happened yet"

https://youtu.be/7GnoLJIIS4w?si=zP_mlOxV1tKMMkQx
rasso
·6 miesięcy temu·discuss
See my other comment: you can set default styles using

:where(:not(:defined)) { display: block }
rasso
·6 miesięcy temu·discuss
simply only ever use this to replace <span> or <div>
rasso
·6 miesięcy temu·discuss
Beware that connectedCallback runs _every time_ a custom element is added to the dom. So you should make sure to only add event listeners once by tracking internally if the element was already initialized.
rasso
·6 miesięcy temu·discuss
This is how you can set default styles for all your custom elements:

    :where(:not(:defined)) {
         display: block;
    }
rasso
·7 miesięcy temu·discuss
Amazing, thanks! Didn't know this one yet :)
rasso
·8 miesięcy temu·discuss
Absolutely, me too!! AS3 was a beautiful language.
rasso
·9 miesięcy temu·discuss
Oh my… thanks for the research and sorry for my lazy assumption!
rasso
·9 miesięcy temu·discuss
It‘s not by the vite team.