This made me vomit a little in my mouth.
𝘋𝘪𝘳𝘬
Somewhere between Linux woes, gaming, open source, 3D printing, recreational coding, and occasional ranting.
🇬🇧 / 🇩🇪
- 7 Posts
- 451 Comments
I am with you on physical media, and it is sad. Physical media is the only media you really own.
How much say do you have on the technical site of the page? Maybe have a custom icon recognized by the templating engine, using a Unicode code point from the private use area. This could be implemented using an icon font.
The commonly used symbol to represent the Fediverse is this one.
There are issues with some of your accounts and orgs.
but setting up without it should be more straightforward.
I tried with Lua. I installed the language server and followed the instructions and fiddled with it until it worked, doing multiple web researches over a time of 40-60 Minutes.
All I got was a bunch of
W
for lines where I used global variables, and some underlined text with “no information available” and a table variable showing what keys the table has.No autocomplete, no information on parameters, no nothing.
This is not good or convenient at all and we should stop lying to ourselves. LSP in Neovim is utterly annoying and complicated to set up properly.
So LSP is finally usable without setting up and installing a dozen things for each language?
𝘋𝘪𝘳𝘬@lemmy.mlto Lemmy@lemmy.ml•[Discussion] Should Lemmy allow mods/admins to edit user post dataEnglish22·3 months agoNo, why? That is an utterly stupid idea. No-one should be able to edit some else’s posts. Even more: posts should be audit-proof.
If a post contains content that is not allowed, the post should be deleted, that’s it.
There will always be this one asshole of a coworker who happily name-dropping you in a conference call with the project owner.
𝘋𝘪𝘳𝘬@lemmy.mlto Mildly Infuriating@lemmy.world•"You should probably just throw it away"English491·4 months ago
Write an ungodly large amount of code-comments - up to a point where you add 20 lines of explanations to a 6 lines long function where two lines are variables assignments.
Source code is for humans to read. The compiler ignores the comments.
Exactly. That was never an aesthetic choice.
Yep! The functionality for performing arithmetic expressions this way is called “arithmetic expansion”.
2.6.4 Arithmetic Expansion
Arithmetic expansion provides a mechanism for evaluating an arithmetic expression and substituting its value. The format for arithmetic expansion shall be as follows:
$((expression))
The expression shall be treated as if it were in double-quotes, except that a double-quote inside the expression is not treated specially. The shell shall expand all tokens in the expression for parameter expansion, command substitution, and quote removal.
Next, the shell shall treat this as an arithmetic expression and substitute the value of the expression. […]
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_06_04
That is a posixly correct method to do arithmetic expressions.
I gave up Bash scripting. I explicitly do “shell scripting” now, where “shell” is implied to be a POSIX compliant shell of any type.
𝘋𝘪𝘳𝘬@lemmy.mlto Lemmy@lemmy.ml•[Answered: cannot] How can we contribute to Lemmy code from outside github?English82·4 months agoShort answer: no
Long answer: no, but longer
Files on your own hardware are equally good as physical media.