Ask HN: Server-side HTML Templates based on DOM?
For side projects I’ve used BeautifulSoup in Python to break down HTML documents into the DOM, manipulate them at the DOM level, then serve them to a browser.

For instance the “main template” for a site could be an HTML page that has a

inside it which is a placeholder for the content. The content is itself an HTML page, and the of the content is inserted into the , also the metadata gets merged so the passes through.

You might write

 First Name: Read more

⤋ Read More

Ask HN: Do immutable OS’s make kernel-level anti-virus obselete?
Immutable OS’s provide a read-only core system. Does this mean that the kind of kernel-level threat mitigations that non-immutable operating systems use (anti-virus, anti-cheat) are unnecessary or could be solved in a less risky or intrusive way?

Examples would be: Chrome OS, Fedora Silverlight

Comments URL: https://news.ycombinator.com/item?id=41016516

Points: 1

# Comments: 0 ⌘ Read more

⤋ Read More