Node.exe Stuck at 100% CPU

I have a ExpressJS node.js application running on IISNode on Windows Server 2016 VM with 4 cores and 32GB of memory. I am able to set one process per core, so I have 4 node.exe’s running for my app. Node version is v6.10.3. This is what the resources normally look like: I can see that … Read more

What does \’.- mean in a Regular Expression

The character class is the entire expression [A-Z \’.-], meaning any of A–Z, space, single quote, period, or hyphen. The \ is needed to protect the single quote, since it’s also being used as the string quote. This charclass must be repeated 2 to 20 times, and because of the leading ^ and trailing $ … Read more

How do I declare and initialize an array in Java?

You can either use array declaration or array literal (but only when you declare and affect the variable right away, array literals cannot be used for re-assigning an array). For primitive types: For classes, for example String, it’s the same: The third way of initializing is useful when you declare an array first and then … Read more

A fatal error occurred while creating a TLS client credential. The internal error state is 10013

Basically we had to enable TLS 1.2 for .NET 4.x. Making this registry changed worked for me, and stopped the event log filling up with the Schannel error. More information on the answer can be found here Linked Info Summary Enable TLS 1.2 at the system (SCHANNEL) level: (equivalent keys are probably also available for … Read more