Hi all, I'm working on a large file transfer(P2P) in UDP air application. I want to connect client and server using TCP. Can anybody tell me how to connect both both in TCP. Thank you.
Hi
Is it possible to post data to JsonP? Or does all data have to be passed in the querystring as a GET request?
I have alot of data that I need to send to the service, cross doamin, and it is too large to send via the querystring
What are the options for getting around this?
thanks
Hi folks,
I've built a web application with Django, I'm using Memcached in order to cache data.
A few views cache the whole HttpResponse objects, therefore there might be a better alternative for returning the Memcached data other than going through Django.
What could be faster alternatives for returning Memcached data on HTTP Requests ?
I'm trying to make the operation as fast and lightweight as possible.
Help would be much appreciated! :)
I have prepared a Silverlight application and my database is in the server. Its running smoothly for small set of data but for large data set giving an error : Remote Serve returned an error:notFound. How can i resolve it,please any one solve this problem.
I have build it in ASP.NET with C#. So kindly provide the solution in C# if possible.
I am starting a new Java web project that will be worked on by up to 10 developers.
It will probably be hard to change once the codebase grows large, so what are the best checkstyle settings to use for methodLength and fileLength?
I would like to put a large variable definition in a separate file for the sake of getting it out of the way. I must be doing something wrong though, because my puts call isn't putting anything out.
my_class.rb:
class foobar
def initialize
require 'datafile.rb'
puts @fat_data
end
end
datafile.rb:
@fat_data = [1,2,3,4,5,6,7,8,9,10]
Can you use require this way?
I'm kind of lost in between UIImage, UIImageView, CG, layers...
I want to draw the same UIImage multiple times in the same UIImageView. I don't want to have a separate subview for each of those objects. It's enough to have a flat image. How do I do that?
I'm trying to use dumpdata to generate JSON for a database that is sufficiently large for django to take a long, long time to output. Is there any way to dump only a subset of the fields; say, 100, for testing?
I'm using MySQL and Django 1.0.
I have started to look into Hadoop. If my understanding is right i could process a very big file and it would get split over different nodes, however if the file is compressed then the file could not be split and wold need to be processed by a single node (effectively destroying the advantage of running a mapreduce ver a cluster of parallel machines).
My question is, assuming the above is correct, is it possible to split a large file manually in fixed-size chunks, or daily chunks, compress them and then pass a list of compressed input files to perform a mapreduce?
From a developer point of view which platform would you consider for a large social web application? If you could provide some details on what you consider to be the strengths of which alternative it would be great.
I am trying to write a LINQ query which will return true if there are multiple objects which have a property with the same value.
Here is what I have come up with so far:
Formatters.Where(Function(f As DataModel.Formatter) _
Formatters.Select(Function(f2 As DataModel.Formatter) f2.Name.ToLower()).Contains(f.Name.ToLower())).Count > 1
However the above always returns true as long as their are more then 1 elements in the list, can someone please give me a hand with this?
Thanks,
Alex.
Hi all,
I have been writhing a rather large document with latex.
Now I would like to list all the figures / tables / algortihms once again at the end of the file so that I can check if they all look the same.
For example, if every algorithm has the same notation.
How can I do this?
I know about \listofalgorithms and \listoffigures but they only list the names of the algorithms or figures and the pages where they are.
Thanks.
I have done a couple research jobs in Bio-informatics and I have used Matlab for them. Matlab had a lot of powerful tools and was easy to use. I did thinks with genome sequencing and predicting metabolic pathways. I am wondering what other people think is best? or there might not be one specific language but a few that lend themselves best to Bio-informatics work that is math heavy and deals with a large amount of data.
hi.
I have fairly large file, 20k lines long (auto generated).
It has been compiling okay, but after adding new if/endif preprocessor block, I started getting gcc internal errors: segmentation fault.
the code inside new preprocessor block is not being compiled, so I am not sure where the error is coming from. my only guess is memory, but as far as I can tell it does not exhaust computer memory.
Any thoughts?
I have a list of person objects which I want to send in response to a jquery' ajax request. I want to send the list into JSON format. The list is as follows -
List<Person> PersonList = new List<Person>();
Person Atiq = new Person("Atiq Hasan Mollah", 23, "Whassap Homie");
Person Sajib = new Person("Sajib Mamud", 24, "Chol kheye ashi");
How can I convert the "PersonList" list into JSON ?
I need a good memory profiler for .net, it would be ideal if it shown types of objects currently loaded in memory. Usually I use DotTrace but it does not seem to show object types.
Hello,
Knowing that we can use Divide-and-Conquer algorithm to compute large exponents, for exemple 2 exp 100 = 2 exp(50) * 2 exp(50), which is quite more efficient, is this method efficient using roots ? For exemple 2 exp (1/100) = (2 exp(1/50)) exp(1/50) ?
In php 5, all variable and objects are passed by reference, but i can't get my codes work
My codes is:
$arrayA = array();
$array = $arrayA;
...
if(!in_array(thedata, $array) // if i use & to get ref, got an error here, should i use *$array here?
$array[] = thedata;
var_dump($arrayA);
The result is empty, am i missing something simple?
I'm trying to implement a singleton class, that holds a com object inside it. Class implements IDisposable interface, but when I try to implement a finalization method, I get an exception of access to com object from another thread.
This happens because clr uses a different thread when finalizes objects.
Is there any way to implement such a thing or maybe I just doing something wrong?
I want to assign the browser's (IE/FF) page zoom controls (Menu: View/Zoom/Zoom In_Zoom Out) to two large "(+)(-)" icons on the web page so that vision impaired visitors can use these controls conveniently.
A lot of searching for a suitable script came up empty so here I am.
Any code you know that will do this simply?
All the best...
Bob
I am wondering if there is a way to change the schema that I am working in while inside Management Studio. For instance I may have a default schema of dbo. But there are times I may want to query objects in say the accounting schema. It would be nice if I could issue a command and make it so I no longer must include the accounting before tables and views. But the next time I go in, I will be back to default of dbo.
I have a UIImageView whose frame, set before the image is loaded, is always too large for the image, so when I try to round the corners, for example, nothing happens.
How can I resize the frame so it's the same size as the underlying image, while ensuring that the center point of the UIImageView does not change?
I've been reading through the Jones & Lin book on garbage collection, which was published in 1996.
Obviously, the computing world has changed dramatically since then: multicore, out-of-order chips with large caches, and even larger main memory in desktops. The world has also more-or-less settled on the x86 and ARM microarchitectures for most consumer-facing systems.
How has the field of garbage collection changed since the seminal book was published?
I'm using the QueryOver api that is part of NHibernate 3.x. I would like to get a row count, but the method I'm using returns all objects and then gets the count of the collection. Is there a way to just return an integer/long value of the number of rows?
I'm currently using:
_session.QueryOver<MyObject>().Future().Count()
Interface (or an abstract class with all the methods abstract) is a powerful weapon in a static language. It allows different derived types to be used in a uniformed way.
However, in a dynamic language, all objects can be used in a uniformed way as long as they define certain methods. Does interface exist in dynamic languages? It seems unnecessary to me.