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

karl42

no profile record

投稿

Lua as a practical "soft-bedrock" language

portal.mozz.us
9 ポイント·投稿者 karl42·2 か月前·2 コメント

Can We Make Simpler Software with LLMs?

karl.berlin
2 ポイント·投稿者 karl42·4 か月前·0 コメント

コメント

karl42
·2 か月前·議論
The link is an HTTP proxy to the original content at gemini://zaibatsu.circumlunar.space/~solderpunk/gemlog/lua-as-a-practical-soft-bedrock-language.gmi
karl42
·3 か月前·議論
> What is the better alternative?

One alternative is https://self.xyz . It generates ZK proofs from the digital signature on your e-passport or national ID card. That allows you to prove "human" or "over 18" or "not on the OFAC list" without revealing your name, date of birth or nationality.

Disclosure: I'm an advisor for Self
karl42
·3 か月前·議論
Do you see a way to help and improve the situation?
karl42
·3 か月前·議論
https://djot.net/ seems to be very sane and still very similar to markdown. And after reading the CommonMark spec, I appreciate the saneness very much. CommonMark did a great job at describing all the rules and edge cases, but it clearly shows how messy markdown is.

What do you all think of Djot?
karl42
·4 か月前·議論
Fortunately, AI can also be used to reduce complexity. The case I noticed most often is to use the slightly more ugly API, or duplicate some generic code, but avoid pulling in a dependency. Examples are avoiding UI frameworks and directly accessing the DOM in simple web projects, using the CLI arg parser from the stdlib or adding simple helper functions rather than pulling in left-pad like dependencies.

Since managing dependencies is one of the major maintenance burdens in some of my projects (updating them, keeping their APIs in mind, complexity due to overgeneralization), this can help quite a lot.

See also https://www.karl.berlin/simplicity-by-llm.html for some of my thoughts regarding this.
karl42
·4 年前·議論
I fully agree. The parent wrote "before changing directory", so I assumed we are talking about the case where changing directory was necessary.
karl42
·4 年前·議論
> - It may be useful to copy `$PWD` into a variable before changing directory

Why not use pushd/popd instead?