Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mojifwisi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mojifwisi
7mo ago
Anglo likely just means English-language.
2.
▲
by
mojifwisi
7mo ago
I'm a big fan of your other app Leader Key: it's the closest equivalent to the Windows+number keyboard shortcuts that I use all the time on my other computer (but better since you're not limited to 10 apps and you can use mne
3.
▲
by
mojifwisi
7mo ago
Tree-sitter is merely a tool for generating an AST for a given language. LSPs on the other hand have way more capabilities (formatting, diagnostics, project-wise go to definition, inlay hints, documentation on hover, etc.) as you can see in
4.
▲
by
mojifwisi
1y ago
That seems more complicated than just adding the info in the commit message. It's not like Git doesn't have flags for trimming commit messages when reading them (--oneline).
5.
▲
by
mojifwisi
1y ago
It's syntactically more straightforward to resolve the issue of clashing definitions through namespacing with functions compared to operators. The following is pretty standard: foo::plus(a, b) // or foo.plus(a, b) b
6.
▲
by
mojifwisi
2y ago
There's always git diff --word-diff, so a website tracking changes in laws in a Git repo could display diffs using that flag by default.
7.
▲
by
mojifwisi
2y ago
I am not OP, but I am interested in those tools and tricks.
8.
▲
by
mojifwisi
2y ago
Since Neovim 0.10, `:tab term` now opens the terminal window in a new tab. And you could use the exact same command in Vim since they introduced their own terminal emulation feature in Vim 8.0.0693.
9.
▲
by
mojifwisi
2y ago
This might be a dumb question, but how would an off-screen cursor work in a terminal? According to my understanding of the way terminal emulators/ncurses work, the cursor must be positioned somewhere in the screen, even if it isn'
10.
▲
by
mojifwisi
2y ago
Quite an odd comment to make in the midst of the Ukraine war, another war between Israel and Palestine, and the ongoing civil wars in Sudan and Burma.
11.
▲
by
mojifwisi
3y ago
The screenshot in the repo's README suggests this is not the case: Python doesn't have the "struct", "var", "fn", "inout", "trait", or "owned" keywords.
12.
▲
by
mojifwisi
3y ago
Link to the full paper: https://web.archive.org/web/20151010141416id_/http://www.res...
13.
▲
by
mojifwisi
3y ago
> Slavery was widely confirmed for even longer. Tradition, right? This is an egregious use of the noncentral fallacy.[1] Conforming to this 50-year tradition makes the language more familiar and easier to learn, so it's reasonable t
14.
▲
by
mojifwisi
4y ago
The concept is interesting, thanks for sharing. I suggest that in future iterations/versions, it could take the duration of the tracks into account: a two-minute track certainly doesn't cost as much as a track that is almost thre
15.
▲
by
mojifwisi
4y ago
> From a European perspective, I was shocked it had to be written. Not really related to your point, but where in Europe do you come from? In France it is common to have job listings read that they hire handicapped people or women, so I
16.
▲
by
mojifwisi
4y ago
The article starts with: "This is advice for younger me. It might work as advice for you, if you think about value the way I did." The "you" refers to the younger version of the author.
17.
▲
by
mojifwisi
4y ago
Nice! That guy also made this interactive version of Terry Riley's "In C": https://teropa.info/in-c/
18.
▲
by
mojifwisi
4y ago
Translations for the few quotes that are in French: > Je mange donc je chie. — Don Ho "I eat therefore I shit." It's a pun on René Descartes' "Je pense donc je suis" (I think, therefore I am). > Mathémati
19.
▲
by
mojifwisi
4y ago
> C-style also has a problem in that there is no way to define arbitrary blocks I might have misunderstood what you mean by "arbitrary blocks", but you can definitely do this in C: int main() { { /* arbitra
20.
▲
by
mojifwisi
4y ago
Iterate doesn't have either of these problems, so I don't see how it's just a "slight improvement". > There is no way to iterate over a sequence. With iterate, you'd do: (iter (for item in-sequence seq)
21.
▲
by
mojifwisi
4y ago
May I suggest two things to make <C-U> and <C-D> more usable? 1. Set 'scroll' to a value you're comfortable with, so that <C-D> and <C-U> move fewer lines. 2. Use a plugin that shows a scrolling anima
22.
▲
by
mojifwisi
4y ago
https://github.com/onivim/oni2/issues/3811#issuecomment-9103...