-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi: I have installed Scipy (via macports) for Python on my Mac and it runs fine when running Python scripts. But now I'm using Scipy (via PyObjc) for calculations embedded in a Cocoa App frontend. The following error occurs:
ImportError: No module named scipy
I am using the "Python.framework" in…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi folks,
I can't get scipy to function in 32 bit mode when compiled as a i386/x86_64 universal binary, and executed on my 64 bit 10.6.2 MacPro1,1.
My python setup
With the help of this answer, I built a 32/64 bit intel universal binary of python 2.6.4 with the intention of using the arch command…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'd like to calculate the mathematical rank of a matrix using scipy. The most obvious function numpy.rank calculates the dimension of an array (ie. scalars have dimension 0, vectors 1, matrices 2, etc...). I am aware that the numpy.linalg.lstsq module has this capability, but I was wondering if such…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The following code runs too slowly even though everything seems to be vectorized.
from numpy import *
from scipy.sparse import *
n = 100000;
i = xrange(n); j = xrange(n);
data = ones(n);
A=csr_matrix((data,(i,j)));
x = A[i,j]
The problem seems to be that the indexing operation is implemented…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to export a list of text strings from Python to MATLAB using scipy.io. I would like to use scipy.io because my desired .mat file should include both numerical matrices (which I learned to do here) and text cell arrays.
I tried:
import scipy.io
my_list = ['abc', 'def', 'ghi']
scipy.io…
>>> More
-
as seen on Pro Webmasters
- Search for 'Pro Webmasters'
When looking at the real-time analytics reporting for our app, it shows around 150-180 users, say around 10AM (our peak usage time). When I look at the Audience Overview report for the same day (hourly breakdown), the number of users shown for the 10AM hour is over 1000. I'm sure this has to do with…
>>> More
-
as seen on SQL Authority
- Search for 'SQL Authority'
I have been working a lot on Wait Stats and Wait Types recently. Last Year, I requested blog readers to send me their respective server’s wait stats. I appreciate their kind response as I have received Wait stats from my readers. I took each of the results and carefully analyzed them. I provided…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I've got this BBG going ( http://ninjawars.net ), and the character stats currently are simplistic. I'm looking to add a few stats to the current 1/2 (strength and maximum hitpoints, essentially).
I've come up with: (strength (unchanged), speed, stamina, and some others that are somewhat interesting…
>>> More
-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
Tuning performance of Oracle SOA 11G applications could be challenging.
Because SOA is a platform for you to build composite applications that
connect many applications and "services", when the overall performance
is slow, the bottlenecks could be anywhere in the system: the
applications/services…
>>> More
-
as seen on SQL Authority
- Search for 'SQL Authority'
Since the beginning of the series, I have been getting the following question again and again:
“What are the changes in SQL Server 2011 – Denali with respect to Wait Types?”
SQL Server 2011 – Denali is yet to be released, and making statements on the subject will be inappropriate…
>>> More