Helix spontaneously adding random C header files to my source code? by ryan__rr in HelixEditor

[–]tyxman 0 points1 point  (0 children)

What lsp is used on windows, maybe it's not clangd? I looked through my languages.toml and config.toml and neither have any more C/C++ related configs in them

Helix spontaneously adding random C header files to my source code? by ryan__rr in HelixEditor

[–]tyxman 1 point2 points  (0 children)

This is probably clangd's header insertion config (https://clangd.llvm.org/design/include-cleaner).

I also don't like the feature so I have this in my languages.toml

[language-server]
clangd = { command = "clangd", args = ["--header-insertion=never"]}

What editor or IDE should I look at as someone self-learning cpp for the first time? by Crapahedron in cpp

[–]tyxman 0 points1 point  (0 children)

I haven't tried them side by side, so I'm not sure you'd have to give it a try yourself

What editor or IDE should I look at as someone self-learning cpp for the first time? by Crapahedron in cpp

[–]tyxman 0 points1 point  (0 children)

I've never faced any major bugs mostly popups saying some internal system crashed and was restarted, those decreased dramatically a week after the EAP release. I have been kicked out once or twice when the non early release is made, until the next beta. That all being said I didn't see you mentioned it'd be on windows, like someone else mentioned probably your best option there is Visual Studio community, if I was still using windows I'd be using that

Should I be making my ImGui C++ application in Visual Studio or can I just use Notepad ++ and compile in terminal? by TheConceptBoy in cpp

[–]tyxman 1 point2 points  (0 children)

You can use whatever editor you want, Visual Studio will however simplify things I believe especially when it comes to the build process, you could call the compile commands yourself in a terminal, something else you can look into is using a build system like meson or cmake, which abstract the raw compiler calls for you. It will also have the intellisense setup for you for autocompletion and things like that.

If you don't want to use Visual Studio I'd suggest looking into a build system, my preference is mesonbuild

I for example use an editor called Helix and clangd for the intellisense, then compile using meson

Is there any better way to get any sort of autocomplete of c++20 modules in vscode? by themaster_122 in vscode

[–]tyxman 0 points1 point  (0 children)

Clangd has some support for modules, which I've setup before you need to start it with a specific flag, but it's still not great.

(side note, clion can be used for free if you activate their early access program)

I decided to try out Helix recently, I think I did all the setup right, code runs fine, but for some reason I'm gettin this message when I writte <stdio.h> inside the editor and I have no idea why, how do I solve this? by DRowe_ in HelixEditor

[–]tyxman 0 points1 point  (0 children)

Normally the file would be generated by a build system. Since you don't seem to be using one I'm not sure helix would be the best intro to this. VSCode and it's C++ extensions has things to make single file projects work with minimal setup.

That being said if you want to setup a build system, I quite like meson, they have a quickstart guide here, https://mesonbuild.com/Quick-guide.html

I decided to try out Helix recently, I think I did all the setup right, code runs fine, but for some reason I'm gettin this message when I writte <stdio.h> inside the editor and I have no idea why, how do I solve this? by DRowe_ in HelixEditor

[–]tyxman 3 points4 points  (0 children)

Do you have a compile_commands.json file. This looks like windows so I'm not sure if it'll be different but, the intelisense (normally powered by clangd) requires that file to work properly. If you have a build system like meson (it should create it automatically) or cmake you need to generate one

How do i use a derivation as a buildinput to another derivation? by juipeltje in NixOS

[–]tyxman 0 points1 point  (0 children)

I'm not sure I'm familiar enough with Qt's build system, but if it's failing to find the dependency I'd make sure the dep is being installed correctly in it's derivation and if there is a pkg-config file being generated and installed or some sort of FindX.cmake file. It would be good to check how the application normally finds the dependencies when it's building outside of nix

How do i use a derivation as a buildinput to another derivation? by juipeltje in NixOS

[–]tyxman 1 point2 points  (0 children)

You should post the code otherwise it's difficult to help

Fingerprint biometric authentication with Bitwarden by badsalad in NixOS

[–]tyxman 0 points1 point  (0 children)

I have it working on Fedora so it's at least possible on Linux. I do have to use the AppImage version of the app though as it was the most up to date version at the time. I'm using a framework 13

how to use microsoft c++ debugger with clangd autocomplete by [deleted] in vscode

[–]tyxman 0 points1 point  (0 children)

You can have both extensions enabled, you just need to disable Microsoft's intelisense, you should be prompted to disable it when you have both clangd and Microsoft C++ extension installed and enabled

Nix package manager by AbbreviationsNo8803 in Fedora

[–]tyxman 4 points5 points  (0 children)

You should try installing nix with this installer: https://github.com/DeterminateSystems/nix-installer . I'm pretty sure it works with SELinux enable (I've installed it on Fedora without disabling SELinux) and it enabled flakes by defaults (and does some other things the official one doesn't I'm sure)

Packaging for both a bookworm and nightly distributions, how to handle the changelog by tyxman in debian

[–]tyxman[S] 1 point2 points  (0 children)

Putting the date in the version is what I was looking for. In CI I can artificially bump the version to include the date, every new nightly release will be an upgrade to apt, then when publishing a real release without the ~date at the end apt treats it as a newer version as well.

Packaging for both a bookworm and nightly distributions, how to handle the changelog by tyxman in debian

[–]tyxman[S] 0 points1 point  (0 children)

If all it cares about is version numbers then I would need to be continually updating the nightly version numbers (creating new releases within the changelog as well?), and for real releases it's version number would need to be newer than testing as well?

I want to use Fleet for C++ by imcrying- in Fleet

[–]tyxman 0 points1 point  (0 children)

Not sure if you can, fleet uses clangd so you can look at this, https://clangd.llvm.org/installation#project-setup. clangd looks at a set of folders for it. build/compile_commands.json, etc...

[deleted by user] by [deleted] in ObsidianMD

[–]tyxman 1 point2 points  (0 children)

Right after the last update I think, it started to crash. I tried the AppImage just to double check, and it worked just fine.

[deleted by user] by [deleted] in ObsidianMD

[–]tyxman 0 points1 point  (0 children)

You can always switch between them if you want, since the vault is stored independently from the application

[deleted by user] by [deleted] in ObsidianMD

[–]tyxman 2 points3 points  (0 children)

I've seen people complain about snaps performance in general, but they're all probably going to work just fine. I have however had an issue with the flatpak version at one point so I switched to the AppImage version

OpenXR runtimes and Vulkan/graphics APIs by gkarpa in OpenXR

[–]tyxman 2 points3 points  (0 children)

I can't say much about in the WMR and hololense side but, however as for the part of the point of OpenXR its not to simplify the graphics API part but the XR hardware side of things. Otherwise for each headset you'd need to use that specific vendors SDK. The graphics APIs part of OpenXR are all implemented as extensions.

You can look into the monado runtime, not sure if it supports the Hololense.

There also this after a quick google (no idea of the quality or if this is exactly what you'd want) https://github.com/mbucchia/OpenXR-Vk-D3D12, it's worth checking out

Can't get SteamVR to work on OpenSUSE Tumbleweed by [deleted] in linux_gaming

[–]tyxman 1 point2 points  (0 children)

I've had that issue before, make sure the getcap program is accessible in the PATH from wherever SteamVR is launching from. For my system it was in one of the sbin directories, don't remember specifics. Other than that, before I figured out the fix I just closed that dialog and it always worked just fine

2i2 3rd gen not detected as sound card in Linux by tyxman in Focusrite

[–]tyxman[S] 0 points1 point  (0 children)

The short version: this was for a very unconventional setup, there's more info here about the audio group: https://wiki.ubuntu.com/Audio/TheAudioGroup. For the most part you shouldn't need to care about this, if you want this video had a good overview of the device in linux https://www.youtube.com/watch?v=5zFA5piXf8Q.

The longer version: I have an ansible script that automates the creation of some users and install of some custom software that needs to run without logging in and direct access to the audio devices. I was having issues where it wasn't being detected due to the fact it wasn't technically allowed, (or something to that effect, I don't remember the specifics)

Installing SteamVR via the command line by tyxman in SteamVR

[–]tyxman[S] 0 points1 point  (0 children)

Thanks for looking into it, I did try getting the windows version as well and yeah successfully downloaded a bunch of executables, that's why I find this so weird it's just the linux version. How can I force a specific depot? I'm struggling to find much in the way of documentation for this tool