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.
I just realized this is probably regional. Maybe you do it that way in Norway.
I have some Le Orme sheet music, and those weird Italians don't write A minor as "a" or "Am". They actually write "La m" (La from do-re-mi... and m = minore). I rarely think in solfege. And if I do, it's relative: "la" = submediant (^6). But they use it absolutely: "la" = A, regardless of the key. Needless to say, I find their annotations useless.
One of Norway's greatest modern folk singers, Lillebjørn Nilsen, tellsabout the first song he wrote: As a teenage schoolboy, he has an essay assignment, "Explain and anlyze one of your favorite poems". So he started out by writing the poem. Then he made up a tune for it, and performed it in a folk singer's club. In the audience was Geirr Tveitt, well known Norwegian composer. He went up to the young boy and remarked "Your have made a song very true to the traditions, and in a hypo-mixolydian scale!" To which Lillebjørn replied: "Huh? What's that?" At home, he looked up "hypo-mixolydian" in his music dictonary, to discover that Geirr Tveitt was right.
For the curious ones: You can hear the first verse and a half of this song in a Scottish translation (it can hardly be called "English" ) at Adam McNaughtan: Dance Noo Laddie[^]. I like this version as much as the original!
I guess English speaking musicians have reminders, like the Norwegian "Gå Du Anton Etter Henriks FISkestang", giving the sharp scales G, D, A, E, H, F# . (B is called H in Germanic languages, and sharp is an "iss" suffix.) It makes no sense translating it for use in English - "Go, You Anton, to Fech Henrik's Fishing Rod" - the initials don't match the scales at all. But I am quite sure that there are similar rules in English. There is of course another similar rule for the flats scales.
Standard six string guitar tuning is, in Norway, by the rule "En Annen Dag Gikk Han Ensom" (another day, he was walking alone). Just as untranslatable as he sharp scales rule, but I am sure there are English rules for that.
(Funny parallel: Anyone who has picked up an ukulele, knows that it is tuned to "My Dog Has Fleas". I learned that sequence of notes as a kid, never knowing why it was called that. Less than a year ago, I first heard the tune about the dog. Appearently, every single kid in the USA knows that nursery rhyme from infancy. In Norway, we don't.)
Last Visit: 9-Jul-20 5:41 Last Update: 9-Jul-20 5:41