PHP is a nice language with features a wide range of automated features for memory but when it comes to mass processing for things like calculating pi or processing a database that's a couple dozen Gigabytes then you may run into a few troubles if things aren't done correctly. This of course only happens depending on what operating system you have and what updates you have done along with settings you have set but those pieces of information are a bit puzzling as some web servers have this problem while others don’t. So this feature I'm going to talk about …

Member Avatar
Member Avatar
+4 forum 2

hi, I'm new in Java and Hadoop. I'm in need of MapReduce code for large EEG data file split in Java. Based on channels(electrodes attached on head) and time, data have to be splitted. In mapper file splitting takes palce and in reducer it process the splitted data. For parallel processing mapper give splitted data to different nodes. Mapper(master node) and slave nodes have reduser. I have an overview of mapreduce code that I given below. I'm quite sure that it may be wrong, because I'm new in Java. Please help me to write map and reduce code. //getfile(File location) …

Member Avatar
+0 forum 0

I have this issorted code to sort elements of an array. It's very slow as it is right now due to a lot of memory access, number of branch instructions per iteration of the poorly written loops, and unorganized instruction/register usage causing dependencies between instructions. I'm not sure on how to go about improving my code to be faster and efficient. I need a nudge in the right direction as I'm new to assembly. .globl issorted .align 4, 0x90 issorted: movl $1, %eax .align 4, 0x90 LBB1_1: cmpq %rsi, %rax jge LBB1_4 movq (%rdi,%rax,8), %rcx leaq 1(%rax), %rdx cmpq %rcx, …

Member Avatar
Member Avatar
+0 forum 3

Hey all , I am working on a website on which the user has to upload images, most of the images are of large size and that takes a lot of time for the image to be uploaded, is there a way by which i can reduce the time taken by images to get uploaded, i can compromise a little with the quality. Following is the code that i am using for uploading images! Some urgent help would be really appretiated! <?php $uploaddir = './uploads/'; $file = $uploaddir . basename($_FILES['uploadfile']['name']); if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { echo "success"; } else { echo …

Member Avatar
Member Avatar
+0 forum 2

The End.