The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
Since I have half a dozen raspberry pi 4's running various things in my house, I wanted a way to monitor various metrics, such as temp, file system free space, free memory, etc.
I decided to build a .Net Core console app that will run as a service on one of the pis, and will pull in the metrics from the other pi's on the network, and put them in a MySql database. The data will be visualized in a MVC DotNetCore web app (also running on the main pi).
The goal is to only put software on the main Pi, and have it reach out to other pi's specified in a config file. The biggest hurdle so far has been getting the data from the other pi's, because:
0) Some of the data I'm retrieving lives in text files in system folders, so I didn't want to create a share.
1) I didn't want to have to put software on the other pi's to get their performance info.
2) The code would be running on a linux box which dictated that I couldn't use any of the handy Windows-specific stuff to impersonate a user on a remote box.
All of those issues were solved by using SshNet (a nuget package). This package lets you connect via ssh and run commands on a remote machine. Huzzah!
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
I'll probably avoid that in my MIDI library because of things like "bb" looking confusing and my hesitancy to use a unicode flat character in the alternative that won't display on things like a console window. "Bb" is much clearer in my specific scenario, IMO, even if it defies convention.