Saltpeter or saltpetre collectively refers to several nitrogen-based compounds and minerals:
*Potassium nitrate (KNO3), the critical oxidizing component of gunpowder, and a food preservative
**niter, the mineral form of potassium nitrate
*Sodium nitrate ("Peru saltpeter" or "Chile saltpeter"), a component of fertilizers, explosives and solid rocket propellants; also a food preservative
**Nitratine, the mineral form of sodium nitrate
*Calcium nitrate ("Norway salpeter", "Norges salpeter" or "nitrate of lime"), a compound produced in Norway by the Birkeland–Eyde process during early 20th cen...
oh, it's found everywhere... en.wikipedia.org/wiki/Taurine "Taurine, or 2-aminoethanesulfonic acid, is an organic acid widely distributed in animal tissues."
@ShotgunNinja I've no idea but you should be able to find it all over the place. As is usual with exploits in software frameworks, there's always someone to laugh and make the worst of it in media
hey, since we are already offtopic: In Windows 7 / Windows Server 2008 I got that neat resource monitor. Does anyone know what that blue graph on harddisk level means?
this statement is true ? " Short-term (nearest 1 or 2 years): serious decline in development for Flash and Silverlight. Their future is uncertain. In this situation HTML5 will be regarded as a safer choice, even if it is a rather raw, complex and time-consuming technology. " ?
Because Microsoft is moving it's focus from Silverlight to WPF, which while related, is not the same thing. Flash is on the way out because it's a pain for Mobile, which is on the rise.
@SteffenWinkler techrepublic.com/blog/datacenter/… "The green box shows you the current disk I/O (i.e., the amount of data that is being transferred right now), and the blue box lists the highest amount of active time for the disks in the system."
hmm...well, another more relevant question: Does the SQL Server has something like an integrated load balancer? Meaning if multiple computers send requests, is there some sort of 'every computer get's some processor time, equally distributed' or is it 'first comes first get's served'?
I know what the disk io, disk queue length and other measures are, but what does 'Highest active time' mean?
Is it the amount of time it is busy handling requests, or something else?
When it is high, does it mean the CPU is busy doing some IO work, or is it just indicating that the disk is bus...
problem is, there are some requests we send to the server that seem to make the 'active time of the HDD' go to 100% for quite some time, resulting in every other PC being blocked.
@Sean you were right...in all cases the SQL server instance that was running our database was limited to 2GB... :/ some other program had 20GB. The admin had it the wrong way around.
Ugh, I'm being forced to use an open-source tool to build a diagram from a Struts configuration file, because it's ridiculous to try to follow this file.
I'm trying to load a xml file which is in a directory inside my project. I've set it to *copy always*, and i've set the path like this: doc.Load('./Values/strings.xml);
but it says all the time Could not find a part of the path 'C:\Windows\system32\Values\strings.xml'.
The problem with it is, it's so easy in the aggressive US food market to lose sight of eating as a utility problem, and go for what draws you in, wasting more money than you need to, and being less healthy as a result.
@rogcg No not really, svchost.exe runs from system32.. There might be a property in the .Net service classes to get the path of the executable being run as a service but registry is piss easy anyway
Microsoft.Win32.RegistryKey newKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SYSTEM").OpenSubKey("CurrentControlSet").OpenSubKey("Services").CreateKey("my program name");
newKey.SetValue("InstallationPath", strInstallationPath);
newKey.Close();
@rogcg then to read it back it's just string installationPath = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SYSTEM").OpenSubKey("CurrentControlSet").OpenSubKey("Services").OpenSubKey("my program name").GetValue("InstallationPath").ToString()
@rogcg Before creating it you should check it doesn't already exist, so just do Microsoft.Win32.RegistryKey myKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SYSTEM").OpenSubKey("CurrentControlSet").OpenSubKey("Services").OpenSubKey("my program name"); if (myKey != null) { /* create key */ }
@rogcg Because that's what the registry is designed for? To store information for programs in a place they can easily and reliably get at it. Your program is running as a service so your execution path is always going to be in the C\Windows\System32 folder as that's where svchost.exe is located. The registry is the easiest way around this
@rogcg It allows you to store the path where the program was installed to, so you can get it back later and whack it into your XML bit... string xmlPath = System.IO.Path.Combine(installationPath, "strings.xml");
@rogcg All windows services are hosted by a program called svchost.exe which is located in the C:\Windows\System32 folder. This is why your Environment.CurrentDirectory property is showing as C:\Windows\system32. To get round this, just put a key in the registry. It's not even difficult.
@KendallFrey To be an actual administrator you have to hack your way through the registry (iirc) and regardless, you won't be able to use the "Modern" apps.
no. the file is created manualy in my project. I just want my app to read it from the insallation folder. I've set it to "copy always" so it will be created in the installation folder.
Now I need the path to this file, even if it's installed on another machine, so the app can find it.