I have tables in which 35000 to 40000 records are available. Inspite using ajax the performance of the website is very low. Can any body please suggest some ideas or tips for the problem. Thanks in advance.
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"]
Hi in Flex one can easily define the remote class alias like the following:
package samples.portfolio
{
[RemoteClass(alias="flex.samples.marketdata.Stock")]
[Bindable]
public class Stock
{
public var symbol:String;
public var name:String;
public var low:Number;
}
}
But my question is how do you do it in AIR since
the client app does not know about the server
file structure.
Regards,
I need to get an Android app to interface with an XML webservice (it's really just a request which returns XML), but as the data is large and includes some things I don't need (like a huge description block), I was thinking of transforming it via a server into a format that would be good for Android, and also to be reduced considering it will be used in a low bandwidth area.
Does anyone have any suggestions for a good lightweight protocol? I'm especially thinking about libraries for Android that already exist for say REST or even delimited data.
if i create my enum class in the global.ascx in MVC, is there a way i can call that class from a controller.
ie
i do this in my global.ascx class
volume myVolume = volume.Low
is there a way i can find out what i set myVolume to from a controller.
I'm having a low-brainwave day... Does anyone know of a quick & elegant way to transform a Dictionary so that the key becomes the value and vice-versa?
Example:
var originalDictionary = new Dictionary<int, string>()
{
{1, "One"}, {2, "Two"}, {3, "Three"}
};
becomes
var newDictionary = new Dictionary<string, int>();
// contents:
// {
// {"One". 1}, {"Two". 2}, {"Three", 3}
// };
Is there any really low level programming language that can get access the memory variable directly? For example, if I have a programme have a variable i. Can anyone access the memory to change my programme variable i to another value?
The regular expression class (rxregexp.dll) that comes with ooRexx (I'm on 4.0.0) is relatively low on function compared, say, with Python's re module (even at 2.5.2).
It appears to have no assertions, no facilities for group extraction, or for substitution. Greedy or lazy matching is a global pattern option, rather than flagged by an additional "?". Basically, a pre-PCRE regular expression engine.
Does anyone know if anything with more up-to-date function is available?
Is there still a market for C system programmers? I love Java and some of the newer JVM languages but at the same time I really enjoy low-level system programming under Unix, using C and the GNU toolchain (it makes you feel elitist ;-)).
Now I wonder
a) is there still a market for C system programmers and
b) how much do you earn compared to an app programmer
c) is it that much fun in a large scale project?
Hi all, I'm studying how to use caching in Heroku for my Rails app. HTTP cache powered by Varnish is superb and I'll use it in all pages without user info but I also want to use a kind of ActiveRecord caching with Memcached using "high livel" plugins such as cache_fu or cache-money...but it seems that Heroku supports only the memcached gem (http://docs.heroku.com/memcache) and it's a very low level Memcachad API...
Do you have any other solutions?
Thx.
I'm doing some performance tuning and capacity planning for a low-latency application and have the following question:
What is the theoretical minimum round-trip time for a packet sent between a host in London and one in New York?
sometimes, my boss will complain us why we need so long time to implement a feature, actually, the feature has been implemented in other AP before, you just need to copy and paste codes from there. The cost should be low. It's really a hard question, because copy and paste codes is not a easy thing from my point. Do you have any good reason to explain your boss who doesn't know technology?
I have this textbox I use to capture keyboard shortcuts for a preferences config. I use a low-level keyboard hook to capture keys and also prevent them from taking action, e.g. the Windows key, but the Alt key still comes through and makes my textbox lose focus.
How can I block the Alt key, so the focus is kept unaltered at my textbox?
hi friends,
I have a small problem... i tried searching high and low but couldnt find a way i can activate and deactivate the vibration at the time of incoming calls...
The option in the menu -- Settings -- Sounds & Display mentions - PHONE VIBRATE - vibrate phone for incoming calls...
i want to activate and deactivate it through code(if possible)...
Thanx...
I have a list of (about 200-300) 2d points. I know needs to find the polygon that encloses all of them. The polygon has to be convex, and it should be as complex as possible (i.e. not a rectangular bounding box). It should find this in as low as possible time, but there are no restrictions on memory.
You may answer in pseudocode or any language you want to use.
Hi. One of my friends has contacted a company that is looking for good, linux network programmers in C, requiring a good background of the linux kernel and low-level network programming. The starting payment would be $70 per hour - I am still at college and honestly i don't know if that's a good salary for such a work as linux network engineer, so i am asking here if $70/h is good enough or not ?
Thanks.
I'm working on a VB6 app that will do some very simple communication with a web server (passing value and getting back an anwer. Low bandwith and infrequent use).
Someone suggested using WCF or Web Services. I'm wondering what the advantages are vs. just posting to an ASPX page like:
Myserver.com/Functions.ASP?FunctionName=GetValue?UserName=BubbGump
and returning some simple, easy to parse text, like one value per line.
What is the best way to access the low-order and high-order 4 bits of the char type and binding field in the elf symbol struct so that I may compare it to STT_FUNC, STT_OBJECT, STB_LOCAL, etc.?
Is there any really low level programming language that can get access the memory variable directly? For example, if I have a program have a variable i. Can anyone access the memory to change my program variable i to another value?
Where do I announce a free software project that is aimed exclusively at developers? If it was an end-user application, I could try freshmeant.net, for instance. But how to make a developer-only low-level library "known to the world"?
[not sure this is not off-topic here...]
Using MATLAB I filtered a very noisy m x n array with a low-pass Gaussian filter, cleaned it up pretty well but still not well enough to analyze my data. What would the next step be? I'm thinking that signal enhancement, but am not sure how to go about this.
I have C# background. Very newbie to low level language like C.
In C#, memory layout by compiler by default, and I have to specify some special attribute to override this behavior for exact layout.
As I know, C does not re-align by default. But I heard there's a little re-aligning behavior which very hard to find.
Can I know about C's memory layout behavior? (what should be re-aligned and not)
I just came across this database query and wonder what exactly this query does..Please clarify ..
select * from tablename order by priority='High' DESC, priority='Medium' DESC, priority='Low" DESC;
I'm applying the strikeout tag
<s>$5,000,000</s>
But the line is too low.. .it's about 1/4 from the bottom rather than through the middle. Any way I can modify this so it goes a bit more through the middle?
I have a chart similar to the one below using the Google Visualization API. My problem is that on the right side of where the key is for this chart(where it says low, medium, high) there is too much white space. How can I get rid of this white space?