How to get rusti working? - rust

I installed Rust 0.6 yesterday. I've read the tutorial and am excited to get coding. I don't see any mention of rusti on my machine as a result of the install. Do I need to download the source and build myself? I'm on a windows machine. Thanks.
Edit: I just found the answer here on the wiki. So now I guess the question is, has anyone built a binary of rusti for windows they could share?

As far as I know, the rusti is removed. It is essentially a fork of compiler at this point. And keeping it synchronized with Rust is really hard work.
See this discussion for more info:
- https://github.com/mozilla/rust/wiki/Meeting-weekly-2013-10-15.
- https://github.com/mozilla/rust/issues/9818

Related

Neovim Rust LSP diagnostics no longer working in buffers

Something has caused my Rust language tools to stop working as expected recently. I hadn't been in a Rust file for about 2 weeks, came back and I no longer have all the diagnostic info from the language server in the buffer. No gutter hints, no underlines, no LSP-Saga goodness. Oddly I still have some inlay hints. ?? I could use some help troubleshooting where to dig on this.
Nvim version:
NVIM v0.8.0-1210-gd367ed9b2
LuaJIT 2.1.0-beta3
Packer installs related to rust:
nvim-lspconfig (though not using it to configure rust, see tools below)
Mason and mason-lspconfig
simrat39/rust-tools
Rust-Analyzer and codelldb installed through Mason and updated
So far I have tried removing rust-tools and and configuring through lspconfigs. No luck. I also confirmed with :LspInfo that the language server is running and attached with both config options. I removed LSPSaga, combed through everything touching vim.diagnostic and turned things off / back on, no love there either.
The strange thing is I still have my Typescript, Lua, Svelte and Go support, full featured and totally unchanged, so it's more than likely something specific to Rust. I did run PackerSync a few times because I was playing with themes and saw some updates on other plugins that I didn't pay a lot of attention to. No new issues on any of the github repos related to Rust either, at least not with this issue. Something changed somewhere, but I could definitely use some direction tracking it down.
Any thoughts?
Edit
I was able to get partial support back. I did this by uninstalling the language server with Mason, then installing an older version directly within linux and adding it to $PATH. At this point things some of the things turned back on, but not all. I then removed the binary from $PATH and reinstalled the latest version with Mason, and the things that started working again kept working.
This one has me stumped, but I got enough functionality back to work comfortably again.

Is there any way to find out software versions through Cygwin command line

I'm testing different version of a Windows software, the version of this software doesn't seem to be kept in the registry. I'm trying to find a CLI tool or a command to get the version of any software on Windows.
I tried looking at the registry but the version doesn't seem to be there. Therefore reg query command won't help me. I've performed Google searches to find out if anybody already tried that or built a tool for this but... no luck so I ended here.
The returned output can be anything... as long as the version is written. Thanks in advance for your help.
I found this eventually How can I find the product GUID of an installed MSI setup? - thats pretty much what I needed. It is going to be a little bit more complicated then I thought. I have to find the product GUID before querying the registry in my case.
I want to achieve this when using a bash terminal. If anybody already found a solution, I would be curious to know what was it.

AHBot in an AzerothCore 3.3.5 Server

Does anyone have a guide on setting up AHBot in an AzerothCore 3.3.5 server? I can find no mention of ahbot in the world.conf and no DB tables like auctionhousebot in the database or any references. It is included in TrinityCore so all the google references that I find point me back there.
Our server is just two of us and it would be nice to have some items on the auction house. At the moment, if you need a silver bar you have to go out in the world and find it. That was exciting the first couple of times... but gets old.
I followed the guide to install off github: https://www.azerothcore.org/wiki/Installation and am using the latest release under Ubuntu linux.
Thank you for any help. You are my last hope...
AHBot is not currently an 'official' supported module of AzerothCore (which would be why you aren't finding any settings in the worldserver or anywhere else regarding it).
There is a module in development that isn't currently part of the AC list, but I've gotten it working on my personal server: https://github.com/AyaseCore/mod-ahbot Note that this is a bit different than a normal module as there is also a git patch that needs to be applied manually.
Theres a module in azerothCore repository you have to apply patch manually but it wont compile on Win x64 and unix x64 comes up with an error about 9 arguments, but seems to compile for some

How to install Cppcheck on a Linux server

I want to use Cppcheck's XML report for SonarQube.
https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Code-checkers
But on Cppcheck's official site, I did not find any help with the installation on a Linux server.
Has somebody any working solution for this?
Edit:
I like how the sonarqube tag disappeared, thank you #G. And again, for the constant "support". How convenient just to remove it, instead of helping, or letting someone to help who had these issues as well. Unrelated to the question, yes.
Then guess what: My boss wanted to demo this tool, but certainly told him now not to buy the commercial edition. Everything is unrelated with everything. Good marketing for 2017.
As far as I know, there are no Cppcheck packages built for Linux. However, you may easily clone the Cppcheck repository from GitHub (https://github.com/danmar/cppcheck) and build it yourself. It has no extra dependencies and therefore is easy to build:
cd cppcheck-master
make
Also, I'm not sure about integrating Cppcheck with SonarQube, but there's a detailed article about SonarQube configuration, probably you may find something useful there: https://www.viva64.com/en/m/0037/

How to develop in Linux using GNU toolchain, coming from Java?

I'm a good Java programmer, albeit the first languages I learnt were C/C++. Anyway, for work reasons, I switched to Java and web languages. Sometimes I get interested in this or that Linux project, usually coming as a git or svn repository... The problem is that I usually clone the repo, I try to configure it, I install all the needed libraries (and this takes ages), maybe finally I succeed... but then make fails or configure itself fails, complaining about some tool that is missing. Or maybe I installed two versions of the same library and the configure script gets the wrong one, or boring problems like this.
Anyway, I see loads of people using those tools everyday, so it must not be so difficult after all!
Can you point out resources that may help in the first steps?
Thanks
What you are referring to are known as autotools and make
autotools are used to generate scripts and build files that can be used to build as well as install a program/package/software (whatever you call it)
Here is wikipedia link for the GNU build system in general.
And refer to this link for details about the autotools and related stuff
It may take longer, but if you are interested in how to fix those problems yourself I recommend learning how autoconf and automake work. I made a positive experience with the book "Autotools: a practitioner's guide to Autoconf, Automake and Libtool". I read the dead-tree version but it is also available online: http://fsmsh.com/2753.

Resources