Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
karl42
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Lua as a practical "soft-bedrock" language
(portal.mozz.us)
9 points
by
karl42
4mo ago
|
2 comments
2.
▲
by
karl42
4mo ago
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
3.
▲
by
karl42
5mo ago
> 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&qu
4.
▲
by
karl42
6mo ago
Do you see a way to help and improve the situation?
5.
▲
by
karl42
6mo ago
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,
6.
▲
Can We Make Simpler Software with LLMs?
(karl.berlin)
2 points
by
karl42
6mo ago
|
0 comments
7.
▲
by
karl42
7mo ago
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 a
8.
▲
by
karl42
2y ago
You could combine both by adding a stack frame each time the error is returned one level up. This could be done explicitly (cumbersome and not everyone will do it) or automatically by the language (weird magic, but useful).
9.
▲
by
karl42
2y ago
In a similar vein, I made https://www.wikdict.com/reader/sv-en/ , which adds translation pop-ups to each word in the input text. The cool thing compared to manually looking up words is that it will translate idiom
10.
▲
FixScript, an Extensible Scripting Language
(fixscript.org)
1 points
by
karl42
2y ago
|
0 comments
11.
▲
by
karl42
2y ago
It doesn't have to. But if it does not end in .py, you have to add the --script (or -s for short) flag to tell it to interpret the file as a python script.
12.
▲
by
karl42
2y ago
You can install to your path with 'uv tool install'. uvx is just an alias for 'uv tool run'.
13.
▲
by
karl42
2y ago
Debian splits their distribution into three components: * main (free software) * non-fee * contrib (free software that depends on software outside of main, so usually non-free software) While I am not fond of the "contrib&qu
14.
▲
by
karl42
3y ago
It shows "2023-11-15" below the title for me.
15.
▲
by
karl42
3y ago
The creators are encouraged to create engaging/addicting/long content if that is what causes higher payments. Therefore, I much preferred the original Flattr where I defined which creator was beneficial to me. I don't think t
16.
▲
by
karl42
3y ago
I do not want to support anything that optimizes for "engagement". It penalized all the really useful offerings that I use for a minute to solve my problem and then don't touch again in a long time and instead encourages addi
17.
▲
by
karl42
3y ago
I agree that `envsubst` is a good choice for this. Unfortunately, it is not part of posix, so you can't rely on it being present everywhere. But as part of gettext, it is still very common.
18.
▲
by
karl42
3y ago
Author here. Nice to see people appreciate simplicity. If you have any questions, feel free to ask!
19.
▲
by
karl42
3y ago
> I found his GEMINI approach quite funny - it strips out most of the formatting with a regexp. Do you mean the regexp in https://github.com/karlb/karl.berlin/blob/master/blog.sh#L4 ? It doesn't
20.
▲
by
karl42
3y ago
Did you try fugitive as a Magic replacement? https://github.com/tpope/vim-fugitive
21.
▲
by
karl42
3y ago
The one thing that keeps me from using it more often for scripting is the lack of a fail-on-error mode (similar to `set -e` on bash). I know it is hard to get this to behave well in all cases (e.g. pipefail) but I don't want to do much
22.
▲
Dioxus: Fullstack GUI library for desktop, web, mobile, and more
(github.com)
32 points
by
karl42
3y ago
|
8 comments
23.
▲
by
karl42
3y ago
> If you can figure out a protocol where ads don't work, I'm in. Is it even theoretically possible to create such a protocol? Preventing tracking is feasible, but telling apart ads from real content does not sound solvable on a
24.
▲
by
karl42
3y ago
I have that problem, too. Can you recommend any counter-measures?
25.
▲
by
karl42
4y ago
Python packages are available for sqlean as well: https://github.com/karlb/sqlite-sqlean/ .
26.
▲
by
karl42
4y ago
If you are interested in pip installable versions of SQLite's spellfix and ICU extensions, have a look at https://github.com/karlb/sqlite-spellfix and https://github.com/karlb/sqlite-icu . In
27.
▲
Embed Neovim in Chrome, Firefox and Others
(github.com)
35 points
by
karl42
4y ago
|
1 comments
28.
▲
by
karl42
4y ago
I fully agree. The parent wrote "before changing directory", so I assumed we are talking about the case where changing directory was necessary.
29.
▲
by
karl42
4y ago
> - It may be useful to copy `$PWD` into a variable before changing directory Why not use pushd/popd instead?
30.
▲
Helix: A post-modern text editor
(helix-editor.com)
4 points
by
karl42
4y ago
|
2 comments
More ›