News for hackers. Stuff that matters.

vidaj

Re:Templating in HTML on Wednesday October 05, 2022 @07:05AM (#33093827)
I just tested out how to use template with slots, and it was as you said quite simple.

Made a simple gist: https://gist.github.com/vidaj/b27f1140a8ae711c7df2372c4b5cfe... It supports using templates as slot content and updating only the slots you want. Add in some event listeners, and you got basic binding support.

Re:The sum of all knowledge and the sorry state of the web on Friday September 23, 2022 @04:05AM (#32949207)
Seems like something that could be "easy" to validate. Compare children's development in the US with those in Australia and see if there's a 6 month difference.

Note I put easy in quotes, because this should be provable, but I don't think it's trivial to do so due to all the different factors that contribute to a child's development.

Edit: And by "6 month difference", I mean that if seasons have anything to do with child development, you would see the same kind of development in children born in March in the US and children born in September in Australia.

Re:VW sees EVs making up 90% of Norway sales in 2021 on Thursday October 08, 2020 @03:55AM (#24716922)
About 96%-99% of Norway's power come from hydro.