Change Photo
Waylon Cartwright

Questions by Waylon Cartwright

Why does cache locality matter for array performance??

In the following blog there is a statement about the advantage of arrays over linked lists: Arrays have better c...

How to consume a SOAP web service in Java?

Can someone please help me with some links and other on how to consume a web service WSDL in Java? ...

What is the exact command to install yum through brew??

I tried installing yum through brew install command. but it is not working with the message below. What is the probl...

Error of int cannot be dereferenced??

I am getting an error with this constructor, and i have no idea how to fix? I am a beginner at java. This is from an...

numpy array concatenate: “ValueError: all the input arrays must have same number of dimensions”?

How to concatenate these numpy arrays? first np.array with a shape (5,4) [[ 6487 400 489580 0] [ 6488 ...

Why unsigned int 0xFFFFFFFF is equal to int -1??

In C or C++ it is said that the maximum number a size_t (an unsigned int data type) can hold is the same as casting ...

MySQL Errno 150?

I'm creating a few simple tables and I can't get passed this foreign key error and I'm not sure why. Here's the scri...

Python: Find a substring in a string and returning the index of the substring?

I have: a function: def find_str(s, char) and a string: "Happy Birthday", I essentially want to input "py" and ...

How to kill a process on a port on ubuntu?

I am trying to kill a process in the command line for a specific port in ubuntu. If I run this command I get the po...

Google Drive hosting downloading limit??

I'm hosting the files for my app on Google Drive and it downloads them right after first launch. Everything is going...

How to use getSystemService in a non-activity class??

I am building an application which triggers an alarm via AlarmManager. I would like to be able to call the Alarm vi...

How to add `style=display:“block”` to an element using jQuery??

How to add style=display:"block" to an element in jQuery? ...

What is a 'make target'??

Why do I need to make a make target before being able to build my source code? More specifically, what is make targ...

How do I find the time complexity (Big O) of while loop??

Code 1 int i = 0; int j = 0; while(i < n){ while(j < n){ printf("{%d,%d}",arr[i],arr[j]); ...