News for hackers. Stuff that matters.

pabc1

Re:HTML Web Components on Tuesday November 14, 2023 @04:08AM (#38260844)
I believe some people generally avoid Svelte for custom elements since Rich (and other maintainers) have consistently shown criticism towards Web Components in general.
Re:Ask HN: Coolest thing you learned in 2023? on Friday November 10, 2023 @05:45AM (#38217304)
Learned the art of fermentation and started to make my own fermented hot sauces.

Currently enjoying a two week fermented Carolina Reaper hot sauce!

It seems to be based on lit-html, so anything that's interpolated gets automatically sanitised unless you're using a directive[1] or interpolate other templates created using the "html" function.

[1]: https://lit.dev/docs/api/directives/#unsafeHTML

Re:Lit 3 Release Announcement on Wednesday October 11, 2023 @03:32AM (#37841883)
I believe you can also use the Lit based UI while logged in by using sh.reddit.com!
The way they're using iframes to allow to have a persistent audio player without needing JavaScript is really creative. I'm having a lot of fun digging through its source code
Re:Ask HN: What stack is your personal blog built on? on Monday May 06, 2019 @11:59AM (#19840592)
I used a static site generator (Perun, written in Clojure) and host it on GitHub pages.
I disagree with you. I find that comparing the behavior of Craig Dean to that of her past abusive relationship helped a lot on getting the point across (at least to me). After all, a job is basically a long term relationship.
Last year I've dabbled mostly with high level languages: JavaScript, TypeScript, Python... a bit of Clojure. I guess it would be time to pick something like Rust or Go. But I still haven't decided which one to pick up first.