Change Photo
Elva Prohaska

Questions by Elva Prohaska

Why are 5381 and 33 so important in the djb2 algorithm??

The djb2 algorithm has a hash function for strings. unsigned long hash = 5381; int c; while (c = *str++) hash...

What exactly does “/usr/bin/env node” do at the beginning of node files??

I had seen this line #!/usr/bin/env node at the beginning of some examples in nodejs and I had googled without findi...

Is there a way to use PhantomJS in Python??

I want to use PhantomJS in Python. I googled this problem but couldn't find proper solutions. I find os.popen() ma...

Stop-Service Cmdlet not able to open service that exists?

I am trying to write a PowerShell script to stop services on the local machine. When I run the get-service cmdlet ...

Appending a dynamic array in VBA?

I'm looping through a named range and appending an array based on if the cell is empty or not. I'm not too familiar...

What is the function of the push / pop instructions used on registers in x86 assembly??

When reading about assembler I often come across people writing that they push a certain register of the processor a...

File path or file location for Java - new file()?

I have the following structure for my project. In Eclipse: myPorjectName src com.example.myproject a...

window.variableName?

I am going through some code and at the beginning of the script we have var emailID = email. Later on, the code refe...

'python3' is not recognized as an internal or external command, operable program or batch file?

I am using Python 3.5.2 version on Windows 7 and tried using python3 app.py. I am getting this error message: 'pytho...

Script to change value of a text - Javascript?

From this question i came to know text element's value can be changed by JS Set maximum number of item in Select Lis...

Interfaces, inheritance and Genrics in UML Class Diagram?

I'm modeling a persistence layer based on DAO pattern and I have some doubts related to the use of Genrics and inter...

c++ reading csv file?

I want to read csv file by using c++ so here is my code int main(){ ifstream classFile("class.csv"); vector<...

Resize an Array while keeping current elements in Java??

I have searched for a way to resize an array in Java, but I could not find ways of resizing the array while keeping ...

How can I compare two dates in PHP??

How can I compare two dates in PHP? The date is stored in the database in the following format 2011-10-2 If ...

SQL Server Web vs Standard edition?

I have found out that there's two versions of SQL Server types that are very different in terms of pricing... The W...