Which technology is better to use in terms of performance for high performance scalable web application? PHP or Python?
The project is going to involve database.
I want to make a simple audio equalizer for the iPhone, but I don't know how to start. The equalizer should be really simple and just change bass, high, distortion and maybe echo and chorus.
How can I start? Maybe a sample code would be helpful.
Can we set two thread or two task to execute with different processor affinity in C#.net Application?
I have read about SetThreadAffinityMask but there is no example to have that used..
or Is there any way TPL(Task Parellel Libray) executes two thread/Task in with high priorty to use 100% cpu ?
I want to test how priorities are working in the delayed_job plugin. Im using the mailit app from railscasts. I think i want to send 100 messages with a high priority and 100 with a lower priority. And i want to see if the messages with a lower priority will be delivered on time or they will be put aside.
How can i do a test like this.
What's the biggest performance improvement you've had with the smallest change? For example, I once improved the performance of a certain page on a high-profile web app by a factor of 10, just by moving "where customerID = ?" to a different place inside a complicated SQL statement (before my change it had been selecting all customers in a join, then later selecting out the desired customer).
Hello,
I have to do something like this
string = " this is a good example to show"
search = array {this,good,show}
find and replace them with a token like
string = " {1} is a {2} example to {3}" (order is intact)
the string will undergo some processing and then
string = " {1} is a {2} numbers to {3}" (order is intact)
tokens are again replaced back to the string likem so that the string becomes
string = " this is a good number to show"
How should it be implemented so that the process is done at high performance ?
Thanks in advance.
Hey Everyone,
I was wondering, are there any basic speech recognition tools out there? I just want something that can distinguish the difference between "yes" and "no" and is reasonably simple to implement. Most of the stuff out there seems to make you start from scratch, and I'm looking for something more high level.
Thanks!
Hi,
I have desktop application developed in C#. The VM Size used by application is very high. Is there a solution to release / decrease the VM size programatically in C#
Here's a phrase that I heard a lot throughout high school and university computer science classes:
"That's not an issue for modern JVMs."
Usually this would come up in discussions about overall performance or optimization strategies. It was always treated as a kind of magical final answer, though, as if it makes issues no longer worth thinking about. And that just leads me to wonder: what are the differences between the prototypical "modern JVM" and older JVMs, really?
Right now I have a very high volume of requests coming to my webserver which execute a PHP CGI script.
Every one of these scripts opens up a config file that I have created to load options of how the script should run.
Doing a file I/O operation everytime a request comes in seems very resource intensive to me. I'm not too familiar with the advanced features of PHP, are there any alternatives to achieve what I'm doing?
I have some matrix multiplication operation. I want to parallelize the execution of those operations through multiple processors.. This can be done on high performance computing cluster using MPI (Message Passing Interface).
Like wise, can I do some parallelization in the cloud using multiple worker roles. Is there any means for doing that.
I have a Java applet, which is a form that draw shapes into it (Rect, Oval, Line).
Each shape is represented by 2 points and can draw itself to the form.
When the JApplet form resizes, I need to resize the shapes also while keeping the aspect ratio.
I didn't find an high quality solution for doing this that solves this problem.
Tried to write a solution from this, but it came up as lousy when tested, Can someone publish an example code for doing that please?
With a customer web site we currently experiences performance problems.
While analyzing the problem we found an unexpected amount of of 112 "Memory Hard Faults" per minute. Does anybody can interpret the meaning of this value? Does this happen, when memory swapping is necessary - so the root cause is not sufficient memory?
Even if the CPU value seems high, it is not the main problem for the slow web site. Do you agree?
Hi
i have following links
Wall
Introduction
Activities
Reviews
Recommendation
Photos
Discussion
and if I click on any link then it must be high lighted.
Hello!
Currently I have a static html/css website that I want to build a backend onto in order to upload high quality videos to the site. I'm not entirely sure how I might go about doing this.......suggestions for implementations, language to use etc. would be greatly appreciated.
I have no constraints aside from of course, spending millions of pounds......I plan to do this myself too.
Have you ever had to use bit shifting in real programming projects? Most (if not all) high level languages have shift operators in them, but when would you actually need to use them?
I want to improve my design and programming skills by understanding design & code of open source projects. I downloaded hadoop,groovy but they are very difficult to follow. I am not having a clue of how to follow this code without having a high level overview of the design. Any suggestions??
Thank you.
I have searched high and low for an answer to why query results returned in this format and how to convert to a list.
data = cursor.fetchall()
When I print data, it results in:
(('car',), ('boat',), ('plane',), ('truck',))
I want to have the results in a list as ["car", "boat", "plane", "truck"]
i am trying to create a statement in sql (for a table which holds stock symbols and price on specified date) with avg of 5 day price and avg of 15 days price for each symbol.
table description:
symbol
open
high
close
date
the average price is calculated from last 5 days and last 15 days. i tried this for getting 1 symbol:
SELECT avg(close),
avg(`trd_qty`)
FROM (select *
from cashmarket
WHERE symbol = \'hdil\'
order by `M_day` desc
limit 0,15 ) s
...but I couldn't get the desired the list for showing avg values for all symbols.
Can I do that?
I'm afraid that this can be an overkill and eventually I'll end up with much less productivity than with traditional stack like Ruby/Python/you name it. I understand that you will start with much lower productivity if you start to work with new technology but .. is it potentially worth trying and finally switch to Erlang as the only tool for web development and all the backend stuff.
Or is Erlang more suitable for only some high performance backend tasks?
I have an image on my server which I know the dpi of and if it's too high I want to size it down to 72
I still want to keep the same height and width of the image.
Any ideas?
I've played around with -resample -units and -density but don't seem to be getting anywhere and can't find any answers.
Anyone out there that can help
C and C++ are different languages, blababla we know that.
But if those language are different, why is it still possible to use function like malloc or free ? I'm sure there are all sort of dusty things C++ has because of C, but since C++ is another language, why not remove those things to make it a little less bloat and more clean and clear ?
Is it because it allows programmers to work without the OO model or because some compilers doesn't support high-level abstract features of C++ ?
Session[Constant] vs Session["String Literal"] Performance
I'm retrieving user-specific data like ViewData["CartItems"] = Session["CartItems"]; with a string literal for keys on every request. Should I be using constants for this?
If yes, how should I go about implementing frequently used string literals and will it significantly affect performance on a high-traffic site?
Related question does not address ASP.NET MVC or Session.
Hi folks, I have a function that is being called more than a thousand times, slowing everything down. However, it is a low level function, and do not know which of my high level function is lopping and making these calls. How can i find out?
In my node.js program I have a response stream attached to a message queue (zeromq) delivering data at a very high rate. Due to slow network connection the response stream and its underlying implementation is unable to consume data at that pace thus occupying a lot of memory. Do you have any suggestion to solve this problem.
For reference please see the code snippet below:
zmq.on("message", function(data) {
res.write(data);
// End response on some event
});