HackerTrans
トップ新着トレンドコメント過去質問紹介求人

njrc9

no profile record

投稿

Soupault (static website generator) version 5 released

soupault.app
7 ポイント·投稿者 njrc9·昨年·0 コメント

Lamdera compiler for full-stack Elm is now open-source

dashboard.lamdera.app
3 ポイント·投稿者 njrc9·2 年前·0 コメント

Api2Pdf: PDF Generation, Powered by Serverless

api2pdf.com
2 ポイント·投稿者 njrc9·2 年前·0 コメント

Mig: Lightweight and Composable Servers for Haskell

anton-k.github.io
4 ポイント·投稿者 njrc9·2 年前·0 コメント

Soupault – static website generator that works with HTML element trees

soupault.app
4 ポイント·投稿者 njrc9·3 年前·0 コメント

コメント

njrc9
·4 か月前·議論
I wonder if you might find the book “Against Political Equality: The Confucian Case” by Tongdong Bai to be interesting. It delves into exactly these issues: how to ensure that long-term interests, or the interests of future generations, are also taken into account, and not just the interests of the current electorate.
njrc9
·11 か月前·議論
Many people who were in positions to know the real conditions and prospects opposed the use of nuclear bombs on strategic and ethical grounds: https://www.antiwar.com/blog/2021/06/05/who-opposed-nuking-j...
njrc9
·2 年前·議論
Agree. "Fact-checking" can never be more than assertions of a particular bias. I am surprised that this project has received so few critical comments along these lines here.

The idea that "specificity," such as what scientific research aims for, can be better evaluated for truthfulness or approach what "truly matters," as this project purports, is dubious. E.g., why would a notion that is more limited in scope matter more than something more vast (to use the word that it cites as an example)? In addition to its dystopian idea of a "source of truth," it completely dismisses "vague" language in the name of "science" or "factuality," which is utterly the opposite of science, which I thought was to understand ourselves and nature with as few presuppositions as possible.
njrc9
·2 年前·議論
How is information qualified as evidence (e.g., the “Evidence Crawler” functionality)?

The best case scenario would seem to be that results are derived from certain biases built into the model, unless it weighs “factuality” by the number of occurrences of certain statements on the internet which is as far from a qualification for truthfulness as the biased model.
njrc9
·2 年前·議論
Happy user of Soupault here. What you described here:

> Markdown processors behavior differences can bite you and there's no way out.

is under appreciated. The lack of “surprises” in Soupault is very appreciated.
njrc9
·2 年前·議論
It was a little difficult to wrap my head around at first, but for me its main benefit is this:

In many static site generators, if there is a page in a collection of pages (say, a product page) that you want to add a custom layout to (but without affecting other pages in that collection), you often need to create a separate template, or modify the default template to allow for this exception. With Soupault, page content is typically written in HTML and giving a specific page a custom layout is as simple as including an <html> element in that page’s content file and it will be treated as a completely standalone page. In other words, a content file is not as different from a template as in typical static site generators.

This flexibility and HTML-first approach cuts down on complex or sprawling templates introduced to deal with many exceptions. And as a result, someone only needs to know HTML to make most edits to a website. Of course, you can make certain patterns more efficient with “widgets” (basically snippets to insert content dynamically) defined in the main configuration file, but it is not requisite.

At the end of the day, the website is mostly just HTML with a simple project directory structure, which makes it understandable to a wider audience, which is important to me since I want the website to be easily understandable for future maintainers of it.

Edit: Another benefit is that Soupault is a single statically-linked executable with no dependencies, and therefore can be downloaded via a simple link. This also extends the longevity of websites built with it (i.e. it is easy to get the development environment setup).