|
I'm building a socket application that need to shuffle a lot of small/medium sized files, something like 5-100kb sized files to a lot of different clients (sort of like a web server, but still not quite).
Should I just go with the standard poll/epoll ...
Started by thr on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
But I'll also mention that in the interest of portability, (and since you seem to be interested in either Linux or Windows), you should look... .
On Linux, demultiplexing multiple sockets using epoll is the fastest possible way to do parallel I/O over TCP .
|
|
I've been checking out using a system called ROS ( http://www.ros.org ) for some work.
There are lots of different types of data that get sent between network nodes in ROS. You define a struct of data that you want to send in a message, and ROS will handle...
Started by Fuzz on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Connection-less
....
I do not know the specifics of ROS but in networking it comes down to the following constraints:
Distance: speed of light is fast but over a distance it starts making a difference
Protocol Overhead: connection oriented vs .
It depends.
|
|
I have lots and lots of media files. About 6TB spanned across 10 physical hard drives on a personal file server. Security is not a major issue, but is being handled via other means.
These files consist of video, audio, documents, and software/installers...
Started by tsilb on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
With the amount of data you're talking about, I wouldn't bother trying to keep it organized manually, rather I'd install Google Desktop and just search for what you are interested... .
In my experience, the best organization structures become stale eventually .
|
Ask your Facebook Friends
|
Hello
I have this problem:
I am working a lot on a computer, most of the day and night, and this results in my desktop having lots of windows opened, 70-100 usually, so I have to close all the windows I don't use any more by mouse, and it is big pain....
Started by Andrey on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
I am just dreaming about this program, because I imagine how my work effiency will improve
Your biggest efficiency... .
Besides, your problem isn't the windows, it is how you deal with your workflow .
I highly doubt you are going to find a program to do this .
|
|
I'm working on a project which replaces a piece of paper, and on that piece of paper, there are essentially two kinds of text fields. One is 10-40 characters and works well with varchar, but the other is a big box with "attach additional sheets as necessary...
Started by quillbreaker on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
VARCHAR(MAX) is much easier to deal with than TEXT and doesn't have... .
These can hold as much data as TEXT and NTEXT respectively which will be deprecated in the future .
In SQL Server 2005 onwards, you can use VARCHAR(MAX) (or NVARCHAR(MAX) for unicode) .
|
|
I need to perform a complicated calculation. In my case it seemed most natural to create a Calculator class (abstracted using a strategy pattern).
To perform the calculation the class needs to accept about 20 inputs, some of which are optional, some of...
Started by cbp on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
Try doing what database....
Alternatively, I'd find some way to refactor it and simplify the expected input/output .
I would probably pass them in as a struct (or class) and return the outputs the same way .
You haven't mentioned the language, but I'll assume c#.
|
|
Apologies for all this code, anyhow Im re-working a query into the Zend query way of working, this is what I have so far:
$db = Zend_Registry::get ( "db" ); $stmt = $db->query(' SELECT recipe_pictures.picture_id, recipe_pictures.picture_filename, course...
Started by bluedaniel on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
To fetch specific columns from a table, rather than all (*) use this:
->from(array('r' => 'recipes'), array('id', 'title', 'method'))
or
->joinLeft(array('rp' => 'recipe_pictures'), 'r.id... .
Use joinLeft instead of join to produce left joins.
|
|
I have tried to create a simple program in different languages (C#, Java, C++, PHP) to connect to a server and all behaved in the same way. So I believe this problem is more of a OS level thing.
Basically I want the program to connect to the server with...
Started by erotsppa on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Establishing a TCP connection requires a handshake....
Doctor replies, "Well, don't do that!"
Look, what you're doing is a very unnatural process .
Old joke: Man goes to doctor, says "Doctor, it hurts when I do this ," twisting his arm into a strange position .
|
|
My computer has become awfully slow lately. I suspect that there might be some problems with my hard drive as every time it hangs, it works its ass off.. Do you have any suggestions for how to determine if the problem is related to the hard drive?
Started by l3dx on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
Next, Underneath the "I/O Bytes History" graph, simply hover your mouse over any peak and you can see what is causing... .
Get Microsoft / Sysinternals Process Explorer and then click on one of the four graphs at the top on the toolbar (Doesn't matter which) .
|
|
I HAVE A BUNCH OF DOUBLE AND TRIPLE LURES, THAT IM NOT GOING TO USE. SO THEY ARE UP FOR SALE.
I DO TAKE PAYPAL BUT, WILL ADD THE 4% CHARGE TO THE TOTAL WITH THE SHIPPING.
IF YOU BUY A LARGE QUANTITIES, ILL NEED YOUR ZIP SO I CAN GET YOU AN EXACT COST ...
Started by fishing freak 916 on
, 25 posts
by 9 people.
Answer Snippets (Read the full thread at bbcboards):
Thanks Got you payment.
12/27 Paypal sent for lot #13.
Paypal being sent tonight.
Total would be $20.80 w I'll take lot #13.
Will send IM also.
Take 1 Spooky Shad and 1 Blood craw from lot #1 please .
|