HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rasso

130 karmajoined 6 năm trước
- 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·Hôm kia·0 comments

Show HN: My Approach to HTML Obfuscation

github.com
2 points·by rasso·4 ngày trước·0 comments

A Day in the Life of an Ensh**ttificator

youtube.com
5 points·by rasso·4 tháng trước·0 comments

CSS is too powerful now [video]

youtube.com
3 points·by rasso·5 tháng trước·0 comments

/Nothing-Here

nerdy.dev
1 points·by rasso·8 tháng trước·0 comments

Viewport behavior in Safari 26 is utterly broken

bsky.app
3 points·by rasso·10 tháng trước·0 comments

comments

rasso
·11 ngày trước·discuss
Amazing idea! A little Feedback: I tan easily but still have freckles.
rasso
·2 tháng trước·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 tháng trước·discuss
I'll make this my new source of truth. Thank you!!!
rasso
·3 tháng trước·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 tháng trước·discuss
This is my all-time favourite from Shatner: "It hasn't happened yet"

https://youtu.be/7GnoLJIIS4w?si=zP_mlOxV1tKMMkQx
rasso
·6 tháng trước·discuss
See my other comment: you can set default styles using

:where(:not(:defined)) { display: block }
rasso
·6 tháng trước·discuss
simply only ever use this to replace <span> or <div>
rasso
·6 tháng trước·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 tháng trước·discuss
This is how you can set default styles for all your custom elements:

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