Questions
Tutorials

### Dashed lines from points to axes in matplotlib?

I have a set of points which I am plotting like this: import matplotlib.pyplot as plt` x = [1,2,3,4,5,6] y = [1,4,...

### Why my bootstrap-datepicker does not have icon-calendar??

I am trying to use bootstrap-datepicker. I have included the datepicker.css and bootstrap-datepicker.js like this: ...

### How to convert points to radians in Objective-C??

In my app I'm using UIBezierPath to draw an arc into a circle. I'm trying to correlate a number to radians. So let's...

### How to multiply This matrix in matlab?

so we have this matrix a=[1;2;3] and we want to multiply it by itself a*a, However Matlab doesn't do this multipli...

### OS X - Deciding between anaconda and homebrew Python environments?

I use Python extensively on my Mac OS X, for both numerical applications and web development (roughly equally). I ch...

### Fastest way to set all values of an array??

I have a char [], and I want to set the value of every index to the same char value. There is the obvious way to do ...

### Using quicksort on a string array?

I'm a programming student and rather than post the whole assignment I'll just ask for help solving what I've tried f...

### Java Program - The Card Game WAR?

This is a class assignment, I am not asking for anyone to DO the assignment for me but rather I have attempted to my...

### Write a function to calculate the average of two numbers.(Python.) Keeps getting a name that is not defined?

Alright, so I am new with python at the moment and I am absolutely confusing myself with such a simple task. I have ...

### Building vs. Compiling (Java)?

Thinking that the answer to this is pretty obvious but here it goes: When I am working on a small project for schoo...

### The input is not a valid Base-64 string as it contains a non-base 64 character?

I have a REST service that reads a file and sends it to another console application after converting it to Byte arra...

### How do I get the path of the assembly the code is in??

Is there a way to get the path for the assembly in which the current code resides? I do not want the path of the ca...

### Optional option argument with getopts?

while getopts "hd:R:" arg; do case \$arg in h) echo "usgae" ;; d) dir=\$OPTARG ;; ...