Readit News logoReadit News
Evidlo commented on Show HN: JavaScript-free (X)HTML Includes   github.com/Evidlo/xsl-web... · Posted by u/Evidlo
notpushkin · a day ago
Yeah, I think that was what prompted this submission.

All this has also reignited my idea for a compile-to-XSLT templating language, too – maybe I’ll get to it finally this time; definitely if XSLT 3.0 gets into web standards: https://github.com/whatwg/html/issues/11578, https://news.ycombinator.com/item?id=44987552

Also, I’ve put together a simple XSLT playgroung a while ago! https://xsltbin.ale.sh/

Evidlo · 17 hours ago
I was thinking it would be possible to compile a subset of Jinja2 (or your favorite equivalent) into XSL: https://chatgpt.com/share/68a95439-ad54-800a-919f-23caecce43...

Thanks for the playground! I'll check it out.

Evidlo commented on Show HN: JavaScript-free (X)HTML Includes   github.com/Evidlo/xsl-web... · Posted by u/Evidlo
bawolff · 21 hours ago
Since this seems to be about the recent proposal to remove xslt, i'd point out you can do the same thing with CSS

https://bawolff.net/css-website/index.xml is Evidlo's example but using a css stylesheet instead of xslt. I changed some of the text to explain what i was doing, but otherwise the XML is unchanged with one exception. Unfortunately you do have to put the <a> tags in the xhtml namespace to make them clickable. Other than that no changes to the xml.

Obviously there is a lot that xslt can do that css cannot, but when it comes to just display, CSS is an option here.

Evidlo · 17 hours ago
Thanks for the CSS example.

By the way, the advanced/ folder has a slightly more complicated example that demonstrates template inheritance and "slots".

Evidlo commented on Everything is correlated (2014–23)   gwern.net/everything... · Posted by u/gmays
Evidlo · 2 days ago
This is such a massive article. I wish I had the ability to grind out treatises like that. Looking at other content on the guy's website, he must be like a machine.
Evidlo commented on The decline of high-tech manufacturing in the United States   blog.waldrn.com/p/the-dec... · Posted by u/giuliomagnifico
mikrl · 6 days ago
> I think a better justification for it is depth of experience and knowledge being lost

My favourite example from Adam Smith remains the nail maker. At the time, London factories were churning out iron nails by the bushel, whereas the provincial Scottish blacksmith was able to craft perhaps 10 in a day.

Is it so terrible that no one these days knows how to make nails? That our physical and mental capabilities are put to more productive ends?

That’s how I see these skill sets ‘lost’, national security related industries notwithstanding.

Evidlo · 6 days ago
10 nails per day seems way too low. Alec Steele, a blacksmith Youtuber, made 500 in one livestream.
Evidlo commented on Carved stone mask – Pre-pottery, Neolithic B period   imj.org.il/en/collections... · Posted by u/webmaven
Evidlo · 6 days ago
8800-6500 BC if you were wondering
Evidlo commented on 'Safety Today Is a Luxury,' Giorgetto Giugiaro Says After His Crash   jalopnik.com/1930930/gior... · Posted by u/rntn
nis0s · 6 days ago
How? My car breaks automatically whenever there’s an obstacle behind it or in front of it.
Evidlo · 6 days ago
> My car breaks automatically whenever there’s an obstacle behind it or in front of it.

I'm imagining the wheels pop off instantly and smoke comes out of the engine if anything gets near it.

Evidlo commented on The future of large files in Git is Git   tylercipriani.com/blog/20... · Posted by u/thcipriani
bahmboo · 8 days ago
I'm just dipping my toe into Data Version Control - DVC. It is aimed towards data science and large digital asset management using configurable storage sources under a git meta layer. The goal is separation of concerns: git is used for versioning and the storage layers are dumb storage.

Does anyone have feedback about personally using DVC vs LFS?

Evidlo · 8 days ago
I did a simple test tracking a few hundred gigs of random /dev/urandom data. LFS choked on upload speed while DVC worked fine. My team is using DVC now
Evidlo commented on Historical Tech Tree   historicaltechtree.com/... · Posted by u/louisfd94
Evidlo · 16 days ago
This is cool, but I think the execution is off because there's so much empty space. I think it would work better if the nodes were much smaller and closer together so you can see more of the graph in one screen.
Evidlo commented on What to expect from Debian/Trixie   michael-prokop.at/blog/20... · Posted by u/exiguus
sherr · a month ago
Looking forward to the release.

I use Debian Stable on almost all the systems I use (one is stuck on 10/Buster due to MoinMoin). I installed Trixie in a container last week, using an LXC container downloaded from linuxcontainers.org [1].

Three things I noted on the basic install :

1) Ping didn't work due to changed security settings (iputils-ping) [2]

2) OpenSSH server was installed as systemd socket activated and so ignored /etc/ssh/sshd_config*. Maybe this is something specific to the container downloaded.

3) Systemd-resolved uses LLMNR as an name lookup alternative to DNS and pinging a firewalled host failed because the lookup seemed to be LLMNR accessing TCP port 5355. I disabled LLMNR.

Generally, Debian version updates have been succesful with me for a few years now, but I always have a backup, and always read the release notes.

[1] https://linuxcontainers.org

[2] https://www.debian.org/releases/trixie/release-notes/issues....

Evidlo · a month ago
> 2) OpenSSH server was installed as systemd socket activated and so ignored /etc/ssh/sshd_config*. Maybe this is something specific to the container downloaded.

Doesn't the .socket unit point to a .service unit? Why would using a socket be connected to which config sshd reads?

u/Evidlo

KarmaCake day1561June 6, 2018
About
hi
View Original