Which technology is better to use in termsof performance for high performance scalable web application? PHP or Python?
The project is going to involve database.
I believe I understand this in termsof hardware, where multiple individuals 'share' the same processing and memory for their solutions. But I've been looking at gmail and facebook, are those multiptenanted solutions? Is it that as long as my solution can support multiple users, its multitenanted?
i have a randomly generated vector say A of length M
say A=rand(M,1)
and also i have function X(k)=sin(2*pi*k)
how would i find Y(k) which is summation of A(l)*X(k-l) as l goes from 0 to M ...
assume any value of k... but answer should be summation of all M+1 terms
As of Postgres 8.4 the database fts does not support exact phrase match, nor does it support proximity match if given 2 terms. For example, there is no way to tell Postgres to match on content that have word #1 which is in a specified proximity of word #2. Any one know the plan of Postgres and possibly which version will phrase and proximity match be supported?
I have forms that I want to display in different languages : I used the label parameter to set a parameter, and used ugettext() on the labels :
agreed_tos = forms.BooleanField(label=ugettext('I agree to the termsof service and to the privacy policy.'))
But when I am rendering the form in my template, using
{{form.as_p}}
The labels are not translated. Does somebody have a solution for this problem ?
Note: Using Monotouch. I have a directory called Images where I have all my PNG files. In my code I have the following
_imgMinusDark = UIImage.FromFile("images/MinusDark.png");
On the simulator it runs fine, on the phone it's null. I have the Images folder content (all the PNGs) in my MonoDevelop marked as Content in termsof Build Action.
What am I missing?
thanks
It is possible to write a code that specifying the rows and column of spread sheet in termsof NUMBERS and NOT LIKE (B2:D6)
Example:
excelSheet.Range("B2:D6").Interior.Color = RGB(100, 100, 255)
instead of B2 and D6 I want to write 5 rows and 3 column..
It is posible to write in vb.net 2003 code?
I need to derive the Big-O complexity of this expression:
c^n + n*(log(n))^2 + (10*n)^c
where c is a constant and n is a variable.
I'm pretty sure I understand how to derive the Big-O complexity of each term individually, I just don't know how the Big-O complexity changes when the terms are combined like this.
Ideas?
Any help would be great, thanks.
jQuery is undoubtedly the best javascript framework available and its plugin base is also pretty awesome. I wanted to know which one is the best framework in termsofUseOf Plugin
API Design
Ease OfUse
Documentation
Support and Bug fixes
etc...
In my view the best plugins I used so far are
Form plugin
Validation
Nyromodal
jQuery drag&drop, Sortable
EDIT: Made it a community wiki
I know the center (x,y) coordinates of a subarray in termsof the subarray space and general array. For other parts of the subarray I also know the coordinates in the subarray space - but I want to find the coordinates in the general array? Is there an elegant way to do it in Matlab?
Hi all,
I am beginner to freeswitch.While learning this I have seen the terms 'leg A' and 'leg B'.
I didn't understand about this.So please explain me about this.
Thanks in advance.
I am convinced that functional programming is an excellent choice when it comes to applications that require a lot of computation (data mining, AI, nlp etc).
But is it wise to use functional programming for a typical enterprise application where there are a lot of business rules but not much in termsof computation?
Please disregard the fact that there are very few people using functional programming and that it's kind of tough.
Thanks
Hi,
Suppose I have such an if/else-if chain:
if( x.GetId() == 1 )
{
}
else if( x.GetId() == 2 )
{
}
// ... 50 more else if statements
What I wonder is, if I keep a map, will it be any better in termsof performance? (assuming keys are integers)
What is the difference between "Wordpress Theme" and Wordpress Theme Frameworks? In termsof technicalities, Custom theme making workflow, File and folder structure, Anatomy.
Hi,
I couldn't find a clear explanation, just asking to be sure; are C data types handled same way (in termsof memory management) in Obj.C? i.e. they are created on stack, released immediately etc.? So they differ from Obj.C objects? Or may we make an analogy with C# (just an analogy not exactly) so that C types are handled as 'value types' and Obj.C objects as 'reference types'?
I want to have huge background images on my site but without giving the user a hard time downloading them and the site looking ugly as the background loads.
They would be no bigger than 1920 X 1080 in size, however it's hard to say in termsof kilobytes/megabytes.
What are my options here and which are most effective?
I'm not too bothered about bandwidth, just want to user to think everything looks nice ;)
Is there anyway of doing this by using rules or by some custom code?
I did try using rules but I can't find a way of adding a new term and set the name as the node title because the [node:title] token is not avilable.
I know this is possible using the NAT module but the way this module changes the taxonomy terms hierarchy if you add a term reference field that uses the same taxonomy vocabulary which ruins the whole purpose of what I am trying to do.
Here's an example of the type of background image I'm talking about...
Clearly, there's a pattern in it. My question is, if this were an iPad app and the background image was twice the size, would there be any significant benefits to taking advantage of this pattern by tiling the image? Or would it really make no difference in termsof performance and just be easier to load the entire image into a UIImageView?
Thanks in advance for all your wisdom!
Silverlight provides only Touch.FrameReported event and doesnt provide any events for the UIElements like it does for mouse events(ex: MouseDown, MouseUp). Is there any touch library available for the silverlight which provides these touch events and supports gestures.
Google did not help me much or may be my search terms are not correct. Any pointers will be appreciated.
Can people explain what taxonomy means in termsof a web site?
My current understanding it a classification of the contents in relationship to each other, but it seems like it must go beyond that simplistic definition. and yes, I have read the wikipedia entry for this.
Is one of the following functions better than the other, in termsof where to place the 'return false' statement?
Function #1:
function equalToTwo($a, $b)
{
$c = $a + $b;
if($c == 2)
{
return true;
}
return false;
}
Function #2:
function equalToTwo($a, $b)
{
$c = $a + $b;
if($c == 2)
{
return true;
}
else
{
return false;
}
}
Thanks!
What are the best IDE's / IDE plugins / Tools, etc for programming with CUDA / MPI etc?
I've been working in these frameworks for a short while but feel like the IDE could be doing more heavy lifting in termsof scaling and job processing interactions.
(I usually use Eclipse or Netbeans, and usually in C/C++ with occasional Java, and its a vague question but I can't think of any more specific way to put it)
Hi There,
I am currently trying to full appreciate how and when to use hash tags in urls when building an ajax powered website. There seems to be a distinct lack of reading material on the web regarding this technique and as such I don't feel like I've got a good handle on it.
Could someone explain in the simplest terms how the hash tag can be used in urls to enable things like loading pages via ajax.
Thanks
I need to use a class callback method on an array inside another method (the callback function belongs to the class).
class Database {
public function escape_string_for_db($string){
return mysql_real_escape_string($string);
}
public function escape_all_array($array){
return array_filter($array,"$this->escape_string_for_db");
}
}
Is this the right way to go about that? (I mean, in termsof the second parameter passed to array_filter)