I have a DetailsView with a TextBox and I want the input data be saved always with the first letter in capital. Example: "red" --> "Red" "red house" -->...
I am using this code to convert a Set to a List: Map<String, List<String>> mainMap = new HashMap<>(); for (int i=0; i < something.size(); i++) { Set<String> set =...
I often run into the case where I want to eval a query right where I declare it. This is usually because I need to iterate over it multiple...
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7...
I have been doing some experimenting with caching performance using loader.io and have been left with some puzzling results. I was originally on a shared host that used a...
Compiling a C++ file takes a very long time when compared to C# and Java. It takes significantly longer to compile a C++ file than it would to run...
How can I do this fast? Sure I can do this: static bool ByteArrayCompare(byte a1, byte a2) { if (a1.Length != a2.Length) return false; for (int i=0; i<a1.Length; i++)...
This was an interview question asked by a senior manager. Which is faster? while(1) { // Some code } or while(2) { //Some code } I said that both...
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only...
I have read through multiple questions here on StackExchange that concern WordPress scaling and the common opinion is that WordPress is indeed highly scalable provided you have the infrastructure...