71 karma · joined Oct 9, 2022 (4y ago) · 22 submissions
comment 9mo ago · link · parent
comment 9mo ago · link · parent
[0]: https://microsoft.github.io/language-server-protocol/specifi...
comment 1y ago · link · parent
The following is pretty standard:
foo::plus(a, b) // or foo.plus(a, b)
bar::plus(a, b) // or bar.plus(a, b)
Whereas this is more awkward: a foo::+ b // or a foo.+ b
a bar::+ b // or a bar.+ bcomment 3y ago · link · parent
comment 3y ago · link · parent
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 to question why the language chose differently.
[1]: https://www.lesswrong.com/posts/yCWPkLi8wJvewPbEp/the-noncen...
comment 3y ago · link · parent
[1]: https://open.spotify.com/track/6jfQOSSQImYlyxeSAi6jh7?si=375...
comment 3y ago · link · parent
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 don't see why that would be shocking.
comment 4y ago · link · parent
comment 4y ago · link · parent
> 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ématiquement, un cocu est un entier qui partage sa moitié avec un tiers.
"Mathematically, a cuckold is a whole who shares his half with a third [party]."
> Si un jour une chaise te dit que t'as un joli cul, tu xtrouveras ça bizarre mais c'est juste un compliment d'objet direct.
"If some day a chair tells you you have a pretty ass, you'll find that weird but it's just a direct object compliment." It's a pun on "complément d'objet direct" (the object that is put directly after a transitive verb), intentionally being misspelled as "compliment d'objet direct" to mean that it's a direct compliment from an object.
> Mon pied droit est jaloux de mon pied gauche. Quand l'un avance, l'autre veut le dépasser. Et moi, comme un imbécile, je marche ! — Raymond Devos
"My right foot is jealous of my left foot. When one goes forward, the other wants to overtake it. And I, like an imbecile, I'm walking!
comment 4y ago · link · parent
> There is no way to iterate over a sequence.
With iterate, you'd do:
(iter (for item in-sequence seq) ...)
> LOOP is not extensible.But iterate can be extended with DEFMACRO-CLAUSE.[1] I think that's why iterate added the parentheses in the first place.
[1]: https://iterate.common-lisp.dev/doc/Rolling-Your-Own.html
comment 4y ago · link · parent
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 animation when you use <C-D>, <C-U>, <C-F> or <C-B>. I use vim-smoothie (https://github.com/psliwka/vim-smoothie).