Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
32% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
4 Commented Posts
0 Endorsements
~7K People Reached
Favorite Tags

41 Posted Topics

Member Avatar for wonder_laptop

Dear All, i have been tugging my hair out for 3 days and i cant find the problem !!! im writing a code in Aglets, i have to classes, Master and SayItAglet [B][U][COLOR="Green"]Master.Java[/COLOR][/U][/B] [CODE]package simple; import com.ibm.aglet.*; import java.net.*; public class Master extends Aglet { private AgletContext thisContext = null; …

Member Avatar for ahmed0725
0
224
Member Avatar for wonder_laptop

hello there, this is really urgent, do you know how to convert from a string to AgletProxy ?? i have two classes : Parent.java and Child.java, The Parent.java class, creates a child , passes it its agletproxy while creating it and dispatches it to another machine : [CODE] package examples.help; …

0
241
Member Avatar for wonder_laptop

i reading a book about aglets, in this book, there is a piece of code demonstration Master/slave aglets and they say: [CODE] sayItAgletRemoteProxy = sayItAgletLocalProxy.dispatch(new URL("atp://localhost:9000")); // unfortunately this remote proxy is invalid in version 1.1b1. The aglet book is based // on version 1.02. See ch 7. p. 121. …

Member Avatar for wonder_laptop
0
212
Member Avatar for wonder_laptop

Hello, i downloaded aglets 2.5 from this site : [url]http://fluca1978.blogspot.com/2010/07/aglets-25.html[/url] please read the first comment by [U]nader 74[/U] : [CODE]Hi, I'm student. I have use Aglets2.0.2. But, when I used Aglets 2.5-alpha, I can not install the ant and I use Java_Home = C:\Java\jdk1.6.0_21 ant I have this error :[/CODE] …

0
136
Member Avatar for wonder_laptop

can anybody give me a link to download Java 5.5 (jdk) ? i dont need any other version of java ! i need that one. i cant find it on the internet :s

Member Avatar for JamesCherrill
0
115
Member Avatar for wonder_laptop

i know that i should use this to compile all the java classes . i used these and its working great. but i dont understand all of this . i did some readings and i understand now that when i use "set" , it sets the varibale name to the …

Member Avatar for JamesCherrill
0
165
Member Avatar for wonder_laptop

Hello, I have written some java classes to generate a random network. The network is made of : 200 nodes . Each node has a maximum of 50 neighbors. What i want is to Randomly chose a node from that network and GRAPHICALLY show it with its one hop neighbors …

Member Avatar for Taywin
0
130
Member Avatar for wonder_laptop

I created a simple [B]Node.java[/B] class, where each Node instance has an 1-id variable of type int 2-Neighborlist of type Arraylist I wrote a code that gives me a random network, made of 200 nodes, and each node can have up to 55 neighbors. [CODE]for(i=0; i <200; i++ ) // …

Member Avatar for jon.kiparsky
0
262
Member Avatar for wonder_laptop

i have a project that i want to do and i was wondering if it can be done using Aglets. As i understood from an article about Aglets, we can create many servers by assigning different port numbers to each. but all the servers will the have the SAME ip …

Member Avatar for mKorbel
0
112
Member Avatar for wonder_laptop

I am working with mobile agents, i got two .java files: HelloAglet.java and MyDialog.java they both depend on each other, i put them both on the desktop (same directory) and im trying to compile them using the following command: %JDK_HOME%\bin\javac -d %AGLET_HOME%\public -classpath %CLASSPATH% *.java and im getting the following …

Member Avatar for wonder_laptop
0
151
Member Avatar for wonder_laptop

Dear All, My boss has asked me to implement a project that includes writing a "mobile code" using java programing language. This code will be transferred on the network of nodes ,going from the source code node to other nodes, and at a point returning to it with certain information. …

0
124
Member Avatar for wonder_laptop

want to build an application that allows a user to build its own form(s). A user can input data into its form and query the data too. the form can be edited after being created and used ( add/remove fields from it ). the form can have fields like: small …

0
101
Member Avatar for wonder_laptop

Dear All, im given a hard copy of a form that is used by a hospital to gather information about its patients ! the form is divided into sections and each section has A LOT of YES/NO check boxes. [B][U] For example, one of the section is the History section …

Member Avatar for griswolf
0
147
Member Avatar for wonder_laptop

Im Writing a c# Code that Takes an Excel Sheet ,creates the Corresponding SQl table and Dumps the data in a new table in SQL. Now My problem is: In the " create table" command , i have to specify the DATATYPE for the column !i.e. CREATE TABLE "table_name" ("column …

0
143
Member Avatar for wonder_laptop

Hello, I have a lot of excel sheets which columns are slightly different, i want to import all of these sheets (one at a time) into ONE SQL TABLE. I'll give an example : Say ive written the required program and called it Excel2sql converter. So Excel2sql takes an excel …

0
67
Member Avatar for ratnasatish

This should help [url]http://java-x.blogspot.com/2006/11/merge-pdf-files-with-itext.html[/url] PS: please "mark it as solved " if you problem is solved

Member Avatar for javaAddict
0
129
Member Avatar for wonder_laptop

Hello, Could anybody please help me understand the idea of LCR leader election in a synchronous ring? The idea is: Suppose a distributed system consists of a collection of homogeneous participants • How to pick one out of this group? Basic assumptions • Each participant has a unique identifier • …

0
59
Member Avatar for corewizard

Hello, can you PLEASE put a SIMPLE traceroute code in java. i googled traceroute but i got a bunch of compicated codes. im new in networking programming, i want to implement the traceroute command . i already managed to create a network and wrote a program for the laptops to …

Member Avatar for wonder_laptop
0
301
Member Avatar for wonder_laptop

Hello, can you PLEASE put a SIMPLE traceroute code in java. i googled traceroute but i got a bunch of compicated codes. im new in networking programming, i want to implement the traceroute command . i already managed to create a network and wrote a program for the laptops to …

Member Avatar for huj_v_palto
0
188
Member Avatar for wonder_laptop

i was reading about "MOBILE IP".. they said that : assume initially we were connected to your home network and then you moved to another network...there is a problem that the person who was communicating with you will be using your old ip address ( that of you home network)...however …

Member Avatar for OlyComputers
0
85
Member Avatar for wonder_laptop

hello there, can anybody please give me an example of how to use hashtables to implement a memory in cpp.. i surfed the net for 2 hours and couldnt find anything :S im not sure whether im submitting the right queries. thank you.

Member Avatar for VernonDozier
0
74
Member Avatar for wonder_laptop

i want to implement a memory using c++ language. the memory will contain addresses of length 64bits because in my architecture the word is 64 bits. i want to implement it using a set associative array. so i want to create a 2 dimensional array of dimension 8 and 16k …

Member Avatar for Zcool31
-1
88
Member Avatar for wonder_laptop

how to create a w64 structure in c++? im want to try to implement a memory model for the a simulator. so basically, the memory will be implemented as an 8 associative set array : meaning a two dimensional array where the first dimension is the 2^14 ( that is …

Member Avatar for Lerner
0
123
Member Avatar for wonder_laptop

Dear all, to start with, im not asking for a code...im just too lost and need someone to guide me. can anybody help me think about implementing a hash table to store memory addresses and times for stores, and to look up matching addresses and times in the hash table …

Member Avatar for wonder_laptop
0
87
Member Avatar for wonder_laptop

Dear All, My question is about Accounting method-in Amortized Analysis Im studying the "Introduction to Algorithms book", I finding some problems understanding the idea behind the "Accounting argument " in the Amortized chapter. i understood the example of the stack and how it goes...but the thing i didnt understand is …

0
62
Member Avatar for wonder_laptop

hello guys, well i dont get it. what does it mean to say we have a 32-bit processor ?!! and why saying 32-bit processor implies that the virtual memory of the process is 2^32? please help

Member Avatar for wonder_laptop
0
132
Member Avatar for wonder_laptop

Hello guys, I'm not sure if i'm in the right forum,but i couldn't find more related one to my question. suppose we have a strongly connected network, how can we know how many nodes there are int ? suppose its a synchronous mode. i thought of a way : 1)we …

0
55
Member Avatar for wonder_laptop

Im taking an operating system course. i understood the code that solved the consumer - producer problem using semaphores. but what i didnt understood is where do we use these codes...what kind of processes uses this code ? im so lost... can anybody give me a real example ?

Member Avatar for eggi
0
101
Member Avatar for wonder_laptop

Guys, i installed the ThreadMentor software from cs.mtu.edu website, but i could run it . It says, "This application has failed to start because "gtk-1.3.dll" was not found. Re-installing the application may fix the problem". i re-installed it twice and im still getting the same message. what can i do …

Member Avatar for caperjack
0
151
Member Avatar for wonder_laptop

Im taking an operating system course. i understood the code that solved the consumer - producer problem using semaphores. but what i didnt understood is where do we use these codes...what kind of processes uses this code ?

Member Avatar for Salem
0
103
Member Avatar for wonder_laptop

what does it mean to say that "that we have 2 ways for implementating threads ?" i came across this statement and i didnt completely understand it. so i googled and found that we can implement the threads in kernel space and in user space. they talked about each but …

Member Avatar for linux
0
96
Member Avatar for wonder_laptop

Hello guys... i came across this statement on the internet "java uses Preemtive scheduling?!!!" and i have NO idea what it means. i found 2 definitions online: [U]A preemptive[/U] operating system allows external interrupts ( such as timers, communication devices, etc.) to cause the task that is running to be …

Member Avatar for wonder_laptop
0
136
Member Avatar for wonder_laptop

im in new to c, i did this is some program and i used the math library, but i was wondering how is the math library available within the the system? and how can we find the names of the files that correspond to that library? Also, i read something …

Member Avatar for jephthah
0
93
Member Avatar for wonder_laptop

i wrote a program called trivial.c that takes an integer "time" from the command line and does nothing but loop for 5 times and sleep for "time" seconds in each iteration. the loop looks something like this : for(i=0; i<5; i++) { sleep(time); } then a file trivial.data that contains …

Member Avatar for peaceful_soul
0
101
Member Avatar for wonder_laptop

Hello Guys, im new to linux .. i read something about -linux allowing users to open processes from within another running processes and also allows a given processes to specify which programs will run in the new processes. how does it do that ? can you give me a concrete …

Member Avatar for John A
0
97
Member Avatar for wonder_laptop

hello guys, [code=c] #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <errno.h> void main(int argc, char *argv[]) { int status; char *prog = argv[0]; char *new_cmd = "/bin/echo"; char *cmd_args[] = {"echo", "hello", "world", NULL}; char *cmd_env[] = {NULL}; status = execve(new_cmd, cmd_args, cmd_env); /* * execve does not return unless …

Member Avatar for wonder_laptop
0
122
Member Avatar for brinze
Member Avatar for wonder_laptop

well , i know java, but im new to c. i came across this while learning c : int my_function(const char *str1){ unsigned char c1; c1 = (*(unsigned char *) str1); } well i suppose this code is casting from a string to the character value of it but what …

Member Avatar for wonder_laptop
0
108
Member Avatar for wonder_laptop

i have to write a c code that it divides a number by a power of 2 by shifting the number to the right the requisite number of bits. im not asking for ANY CODE. im just asking for an explanation for the given. how do we divide by shifting …

Member Avatar for wonder_laptop
0
90
Member Avatar for wonder_laptop

im new to OS. i want somebody to please give me the differences between the kernel mode and the user mode. are these block in memory ? i did some research on the internet and all i understood was that kernel mode is protected from the user and it is …

Member Avatar for John A
-1
2K
Member Avatar for wonder_laptop

Dear All, Since one cannot write the ping command in java because real ping requires ICMP support, and performs a very basic test that there is an IP protocol stake "awake" at the requested address and this is not supported by java. this code is not a "ping" in the …

Member Avatar for wonder_laptop
0
189

The End.