I think odin could be a good fit. I haven’t used it myself. It seems to focus on 3D and game dev.
I think odin could be a good fit. I haven’t used it myself. It seems to focus on 3D and game dev.
Linux uses 8 spaces. Excerpt from the official style guide:
Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.
Rationale: The whole idea behind indentation is to clearly define where a block of control starts and ends. Especially when you’ve been looking at your screen for 20 straight hours, you’ll find it a lot easier to see how the indentation works if you have large indentations.
Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.
In short, 8-char indents make things easier to read, and have the added benefit of warning you when you’re nesting your functions too deep. Heed that warning.
The reasoning seems sound, but I still prefer 4 personally.
I used vscode for a few years, but I eventually went back to neovim/tmux. It’s a lot less resource heavy, and it’s easy to just ssh and jump in from home. I also much prefer a modal editor and I don’t want to have to touch a mouse.
What makes Servo a better bet than Ladybird? Who backs it?
Since people keep bringing up tauri, here’s the comparison made in the README:
Tauri is a framework for building desktop (and soon, mobile) apps where your frontend is written in a web-based framework like React, Vue, Svelte, etc. Whenever you need to do native work, you can write Rust functions and call them from your frontend.
Natively Rust: Tauri’s architecture limits your UI to either JavaScript or WebAssembly. With Dioxus, your Rust code is running natively on the user’s machine, letting you do things like spawning threads, accessing the filesystem, without any IPC bridge. This drastically simplifies your app’s architecture and makes it easier to build. You can build a Tauri app with Dioxus-Web as a frontend if you’d like.
Different scopes: Tauri needs to support JavaScript and its complex build tooling, limiting the scope of what you can do with it. Since Dioxus is exclusively focused on Rust, we’re able to provide extra utilities like Server Functions, advanced bundling, and a native renderer.
Shared DNA: While Tauri and Dioxus are separate projects, they do share libraries like Tao and Wry: windowing and webview libraries maintained by the Tauri team.
deleted by creator
C is a pretty simple language and relatively easy to learn. But it’s a lot harder to be proficient with.
Can’t they just use JSDoc?
By the same argument, wouldn’t GPL and other copyleft licenses be considered non-free as well since you are not free to do whatever you want with the source? For example, incorporating it into a proprietary project, refusing to provide the source to users upon request, or not disclosing attribution, etc. The latter would even go against the terms of permissive licenses.
Clearly defining what free, and by extension FOSS, means is very relevant.
It seems that no lua is packaged with pandoc-cli (By looking at the package contents of https://archlinux.org/packages/extra/x86_64/pandoc-cli/)
So if I were you I would first try the AUR and see if there’s any package there that does.
deleted by creator
Yeah I don’t want to be a nuisance to my office neighbours. Right now I’m using a logitech mx keys, I could try looking for an ansi version of that.
I will probably order a keychron with low profile switches for my home setup, so I depending on how quiet it is I might get that for work as well.
So you have never iterated over command line arguments and tried to identify options? Or taken a string input field?
What is this type of keyboard called? I’m interested in getting something like it but I’m curious what switches are available.
I want to try ANSI also, but it seems pretty hard to find in EU. I’ve considered getting a keychron for my gaming setup but I don’t want a full on mechanical for work, and I don’t want to use ISO at work and ANSI at home because it will screw with my muscle memory.
I’m swedish and I use EurKEY. It’s basically US but makes it possible to use Å/Ä/Ö through altgr + W/A/O. I don’t write that much swedish so I’m not too bothered, meanwhile the coding advantage is huge for ' " \ | / ? | [ ] { }
.
No, it isn’t. Git doesn’t care what the url is, as long as it uses a supported transport protocol.
But you can’t assume that it follows the github format of https://<domain>/<user>/<project>.git
. In my example, I meant that you would just use that url to clone it:
git clone https://myawesomeproject.dev
One real-world example of this is ziglings.org (though it’s technically just a redirect).
deleted by creator
Duck typing moment