I'm working on a problem that requires caching paginated "search" results: http://stackoverflow.com/questions/347277/paginating-very-large-datasets
The search works as follows: given an item_id, I find the matching item_ids and their rank.
I'm willing to concede not showing my users any results past, say, 500. After 500, I'm going to...
Here are the estimates the system should handle:
3000+ end users
150+ offices around the world
1500+ concurrent users at peak times
10.000+ daily updates
4-5 commits per second
50-70 transactions per second (reads/searches/updates)
This will be internal only business application, dedicated to help shipping company with worldwide ship...
I'm finishing up on a 3D planet with ROAM (continuous level of detail).
My goal now is to have good quality render using textures.
I'm trying to find a way I can use a tiling system (small good textures combined), but in a way I can take advantage of my CLOD mesh.
Current algorithms (from what I've found) using this tiling systems pro...
Hi.
I'm using unix scoket for data transferring (SOCK_STREAM mode)
I need to send a string of more than 100k chars. Firstly, I send length of a string - it's sizeof(int) bytes.
length = strlen(s)
send(sd, length, sizeof(int))
Then I send the whole string
bytesSend = send(sd, s, length)
but for my surprise "bytesSend" is less tha...
Now I have a c language project which include three directories /bin, /inc and /src.
All of header files (.h) are included in /inc and all of source(.c) files are stored in /src, i.e. a.c, b.c, c.c..., the final generated executable file will locate in /bin.
after compling with makefile, all of obj files will be generated in /src/obj li...
I'm trying to set up a new class for my web application, rewriting my code starting from original procedural programming.
Since I need to populate my object using many different(complex) queries, and this object'll be stored in session, I decided to create another static class containing all long queries.
Is it more convenient to define...
iam having problem with assigning one big decimal value to another
so i am trying such as creating one temp big decimal and add 0 to another big decimal
BigDecimal temp = new BigDecimal(0);
dropStartValue = temp.add(newCounterValue);
i only want simply do the operation below on big decimals
dropStartValue = newCounterValue
...
First of all apologies if there is already a topic like this but I have not found... I need to know how to handle a really big number such as the result of 789^2346:
#include <iostream>
#include <cmath>
using namespace std;
int main () {
cout << pow(789,2346) << endl;
}
...
Hello ..
In my database of 5 million records ..
Structure of the table:
CREATE TABLE IF NOT EXISTS `music` (
`id` int(50) NOT NULL auto_increment,
`artistname` varchar(50) NOT NULL,
`songname` varchar(50) NOT NULL,
`duration` varchar(6) NOT NULL,
`url` varchar(255) NOT NULL,
`server` int(5) NOT NULL,
PRIMARY KEY (`id`),
...
Hello,
I am trying to build a solution for windows XP in Visual Studio 2005. This solution contains 81 projects (static libs, exe's, dlls) and is being successfully used by our partners. I copied the solution bundle from their repository and tried setting it up on 3 similar machines of people in our group. I was successful on two machin...
I need help working with very big numbers. According to Windows calc, the exponent 174^55 = 1.6990597648061509725749329578093e+123. How would I store this using C (c99 standard).
int main(){
long long int x = 174^55; //result is 153
printf("%lld\n", x);
}
For those curious, it is for a school project where we are implementing the RS...
Hi all
I want to read a very big text file(a log file of a web app)and do some processing.
Is there any Framework to help doing such work ?
The file is 100M+,shall I use mutil-thread ?
best regards
...
Hi,
I have two files of data, 100 char lines each. File A: 10^8 lines, file B: 10^6 lines. And I need to find all the strings from file B that are not in file A.
At first I was thinking feeding both files to mysql, but it looks like it won't ever finish creating an unique key on 10^8 records.
I'm waiting for your suggestions on this.
...