Better HN
topnewbestaskshowjobs
Log inSign up

njrc9

201 karma · joined Apr 13, 2015 (11y ago) · 40 submissions

Submissions

comment 8mo ago · link · parent

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.

comment 1y ago · link · parent

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...

3.

Soupault (static website generator) version 5 released(soupault.app ↗)

7 points · by njrc9 · 1y ago · discuss

4.

Lamdera compiler for full-stack Elm is now open-source(dashboard.lamdera.app ↗)

3 points · by njrc9 · 1y ago · discuss

5.

Api2Pdf: PDF Generation, Powered by Serverless(api2pdf.com ↗)

2 points · by njrc9 · 2y ago · discuss

6.

Mig: Lightweight and Composable Servers for Haskell(anton-k.github.io ↗)

4 points · by njrc9 · 2y ago · discuss

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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).

11.

Soupault – static website generator that works with HTML element trees(soupault.app ↗)

4 points · by njrc9 · 3y ago · discuss

12.

Butler Virtual Operating System(tristancacqueray.github.io ↗)

311 points · by njrc9 · 3y ago · 17 comments

13.

Lamdera – platform for full-stack web apps in Elm(lamdera.com ↗)

3 points · by njrc9 · 3y ago · discuss

comment 3y ago · link · parent

I have been very satisfied using https://m-docs.org/ It has pre-built components and a bunch of utility classes that allow basic custom styling in the manner of Tailwind so that I rarely write any css myself. It's also framework agnostic and as simple as just including a <link> and <script>.

15.

Symbiote.js - Simple, light and powerful library to create embedded components(symbiotejs.org ↗)

2 points · by njrc9 · 3y ago · discuss

16.

Mdash – 6.8kb standards-based UI library(m-docs.org ↗)

1 points · by njrc9 · 4y ago · discuss

comment 4y ago · link · parent

The author of this framework is also doing very interesting work on building Haskell server pages [1], taking inspiration from redbean's Lua server pages[2].

[1] https://monadic.systems/post7 [2] https://redbean.dev/#lua

18.

Okapi – A micro web framework for Haskell(okapi.wiki ↗)

83 points · by njrc9 · 4y ago · 27 comments

comment 4y ago · link · parent

Thank you very much! I just finished watching the video and am now reading more on QuickCheck. This approach makes a lot of sense.

comment 4y ago · link · parent

Thanks for the feedback. I am definitely a beginner in Haskell, which would explain why I came to this conclusion. Could you recommend some good sources on testing in Haskell?

comment 4y ago · link · parent

One of the nice features of IHP is that, thanks to Haskell’s strict type checking, it does not just eliminate bugs, it also speeds up development. E.g. if you want to change or build a new feature, you don’t need to write tests for it since the compiler basically does that for you. Since you don’t need to write tests, your work is perhaps half of what it would be normally – and neither do you have to know how to write good tests, which is an entire skill in itself.

22.

Ask HN: Good high-level cryptography library for Haskell?

3 points · by njrc9 · 4y ago · discuss

comment 6y ago · link · parent

Thank you very much! I will check out their website.

comment 6y ago · link · parent

Thank you very much for the suggested readings. Recommendations like yours are very appreciated since I find it difficult to find such content via the usual means of discovery on the internet. I read through the first article. That and similar critical writings certainly make one doubt much of what one has learned and hears...

comment 6y ago · link · parent

Thank you for linking the article. I had never heard of the US Agency for Global Media before. I have not read that much about it yet but it sounds in line with some of the criticisms Chomsky levels at U.S. propaganda. I would be very interested in any other sources of information you might recommend on this topic or hearing more of your own thoughts (my email is in my profile).

comment 7y ago · link · parent

Your comment reminds me of Machiavelli’s work “Discourses on Livy” in which he writes, among other things, that discord (between the nobility and the common people) produced the liberty enjoyed by the Roman Republic. Machiavelli’s views on republicanism are very insightful, in my opinion, and offer an understanding of democratic government that may be more prospective of being actualized than what appears to be proposed in much of today’s discourse on democracy.

By the way, I came across one of your HN comments in the past (https://news.ycombinator.com/item?id=18127353) and immediately was impressed by your thinking. Ever since, I look forward to seeing your comments on HN. If you are interested, I would be greatly interested in hearing more of your thoughts expressed in the aforementioned comment of yours. My email is njrc900[at]gmail[dot]com

comment 10y ago · link · parent

Thanks for taking a look at it –

Regarding resources for absolute beginners, I haven’t read it myself, but this book [1] takes a similar approach to my site, but since it has full English translations of the text it seems like it could be useful to beginners (however, it looks like you still need to understand basic grammar and vocabulary).

As to pricing, the comma is in the American sense. So that would make it about $10/month.

[1] https://www.amazon.com/Breaking-into-Japanese-Literature-Cla...

12