Change Photo
Viviane Rutherford

Questions by Viviane Rutherford

Regular expression for removing whitespaces?

I have some text which looks like this - " tushar is a good boy " Using javascript I want to remove ...

git clone with different username/account?

This is a stupid question, but I've looked it up for ages, and I can't find anything, so I have to ask it. How do y...

Sorting arrays in NumPy by column?

How can I sort an array in NumPy by the nth column? For example, a = array([[9, 2, 3], [4, 5, 6], ...

What is the difference between HTML tags <div> and <span>??

I would like to ask for some simple examples showing the uses of &lt;div&gt; and &lt;span&gt;. I've seen them both ...

How do you get the logical xor of two variables in Python??

How do you get the logical xor of two variables in Python? For example, I have two variables that I expect to be st...

Attaching 'onclick' event to D3 chart background?

I have a D3 histogram chart, onto which I have attached an 'onclick' event to the bars: ... var bar = svg.selectAll...

Difference between vm.dirty_ratio and vm.dirty_background_ratio??

I'm currently experimenting with the kernel parameters found in /proc/sys/vm, especially dirty_ratio and dirty_backg...

Regular expression for checking if capital letters are found consecutively in a string??

I want to know the regexp for the following case: The string should contain only alphabetic letters. It must start ...

Node.js websocket error “Error: listen EADDRNOTAVAIL Error: listen EADDRNOTAVAIL”?

Application work fine on localhost .but when its connect to server it getting error. I connect server through port 2...

Storyboard warning: prototype table cells must have reuse identifiers?

I am getting this warning from storyboard - prototype table cells must have reuse identifiers. I have renamed the i...

TypeError dialog is not a function?

I need help with this javascript code. I keep getting this error: Uncaught TypeError: $(...).dialog is not a functi...

The path is not of a legal form?

When I try to run this application it says:"The path is not of a legal form.". It's a warning and it says there is s...

How do I get NuGet to install/update all the packages in the packages.config??

I have a solution with multiple projects in it. Most of the third party references are missing, yet there are packag...

why do i need to include <vector> to use them??

I am new to C++ and trying to figure out how to use vector. More specifically, I want to know when I need to use #i...

explain arguments meaning in res = cv2.bitwise_and(img,img,mask = mask)?

I am trying to extract blue colour of an input image. For that I create a blue HSV colour boundary and threshold HSV...