New Posts  All Forums:Forum Nav:

Java Help

post #1 of 10
Thread Starter 
Anyone knows and good (and I really mean it) in JAVA? I need a bit of the help. I have the code, and I just need to understand the programming cycle and all mambo-jumbo.

If required, I am ready to pay for the service
Castle of porno
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1055T M4A89TD PRO/USB3 MSI HD 5770 1 GB G.SKILL Eco 4GB DDR3 1600 
Hard DriveOptical DriveOSMonitor
4xSamsung Spinpoint F1 1TB SATA Samsung SH-S223F/BEBE SATA Windows 2008RC2 Server Standard x64 Asus VW225N 22" LCD 
KeyboardPowerCaseMouse
Logitech Cordless Desktop S 510 Corsair TX750W Antec Twelve Hundred S 510 
  hide details  
Reply
Castle of porno
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1055T M4A89TD PRO/USB3 MSI HD 5770 1 GB G.SKILL Eco 4GB DDR3 1600 
Hard DriveOptical DriveOSMonitor
4xSamsung Spinpoint F1 1TB SATA Samsung SH-S223F/BEBE SATA Windows 2008RC2 Server Standard x64 Asus VW225N 22" LCD 
KeyboardPowerCaseMouse
Logitech Cordless Desktop S 510 Corsair TX750W Antec Twelve Hundred S 510 
  hide details  
Reply
post #2 of 10
how involved is it. how many lines of code?
White Lantern
(16 items)
 
  
CPUMotherboardRAMHard Drive
Intel i-5 3570k ASRock Z77 Extreme6 Samsung 2x4gb  Samsung 830 128Gb SSD 
Hard DriveHard DriveOptical DriveCooling
WD 1Tb Caviar Blue WD 2Tb Caviar Black Samsung dvd Stock fans 
OSMonitorKeyboardPower
Windows 7 Home Premium auria 27" 1440p Razer Black Widow OCZ 1000W ZX Series 
CaseMouseMouse PadAudio
NZXT Switch 810 White Razer Deathadder Razer Vespula On Board 
  hide details  
Reply
White Lantern
(16 items)
 
  
CPUMotherboardRAMHard Drive
Intel i-5 3570k ASRock Z77 Extreme6 Samsung 2x4gb  Samsung 830 128Gb SSD 
Hard DriveHard DriveOptical DriveCooling
WD 1Tb Caviar Blue WD 2Tb Caviar Black Samsung dvd Stock fans 
OSMonitorKeyboardPower
Windows 7 Home Premium auria 27" 1440p Razer Black Widow OCZ 1000W ZX Series 
CaseMouseMouse PadAudio
NZXT Switch 810 White Razer Deathadder Razer Vespula On Board 
  hide details  
Reply
post #3 of 10
Thread Starter 
It is a client server artiecture to break RSA number via factorization method. Here is the short description of it including the classes

http://www.muamshai.com/project/Shortdescription.doc
Castle of porno
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1055T M4A89TD PRO/USB3 MSI HD 5770 1 GB G.SKILL Eco 4GB DDR3 1600 
Hard DriveOptical DriveOSMonitor
4xSamsung Spinpoint F1 1TB SATA Samsung SH-S223F/BEBE SATA Windows 2008RC2 Server Standard x64 Asus VW225N 22" LCD 
KeyboardPowerCaseMouse
Logitech Cordless Desktop S 510 Corsair TX750W Antec Twelve Hundred S 510 
  hide details  
Reply
Castle of porno
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1055T M4A89TD PRO/USB3 MSI HD 5770 1 GB G.SKILL Eco 4GB DDR3 1600 
Hard DriveOptical DriveOSMonitor
4xSamsung Spinpoint F1 1TB SATA Samsung SH-S223F/BEBE SATA Windows 2008RC2 Server Standard x64 Asus VW225N 22" LCD 
KeyboardPowerCaseMouse
Logitech Cordless Desktop S 510 Corsair TX750W Antec Twelve Hundred S 510 
  hide details  
Reply
post #4 of 10
Meh... me only know html + css :/

spam
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6700 quad core @ 3.4 Asus P5B Deluxe BFG GeForce 8800 GTS (320 MB) Corsair DDR2 2x2GB 
Hard DriveOptical DriveOSMonitor
Maxtor 160GB 7200RPM + Seagate 200GB 7200 RPM 2x LITE-ON DVDRW LH-20A1H Vista Ultimate 32bit AG Neovo 
KeyboardPowerCaseMouse
logitech g15 Coolermaster iGreen 600W Antec 300 Logitech Mx518 
Mouse Pad
Razer Mantis Control 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6700 quad core @ 3.4 Asus P5B Deluxe BFG GeForce 8800 GTS (320 MB) Corsair DDR2 2x2GB 
Hard DriveOptical DriveOSMonitor
Maxtor 160GB 7200RPM + Seagate 200GB 7200 RPM 2x LITE-ON DVDRW LH-20A1H Vista Ultimate 32bit AG Neovo 
KeyboardPowerCaseMouse
logitech g15 Coolermaster iGreen 600W Antec 300 Logitech Mx518 
Mouse Pad
Razer Mantis Control 
  hide details  
Reply
post #5 of 10
1) Are you trying to figure out the math or the coding?
2) Do you have to write the code based on that API description, or are you just trying to figure out how to use those existing methods to make your own program?
3) What is this for?
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
RAID0R
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 4.0GHz MSI P55-GD80 GTX 470 | 8800GT PhysX 2x2GB G.Skill Ripjaws 
Hard DriveOptical DriveCoolingOS
60GB Agility 2|1TB RAID0|1.5TB Pioneer DVR-217D XSPC Raystorm | XSPC RX240 Windows 7 Professional x64 
MonitorKeyboardPowerCase
27" Dell 2709W | 17" Samsung Logitech G15 Corsair HX850 Corsair 650D 
Mouse
Microsoft IntelliMouse 
  hide details  
Reply
post #6 of 10
This seems more of a logic problem then a problem with the code itself. What can't you figure out?
Game
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7-4790k Asus Hero VII MSI R9 390 16 GB CORSAIR Vengeance Pro DDR3-2400 
Hard DriveCoolingOSMonitor
1TB Crucial MX200 Some big aircooler Ubuntu 16.04 and Win 7 Dell P2314H and Dell P2714H 
KeyboardPowerCaseMouse
Ducky Zero TKL, CM Novatouch, Model M industrial  EVGA SuperNOVA 750 G2 Phanteks Evolv Tempered Glass  Razer Mamba 
Mouse PadAudio
Steelseries QCK+ teac AI-101DA + Custom built speakers and sub, ... 
  hide details  
Reply
Game
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7-4790k Asus Hero VII MSI R9 390 16 GB CORSAIR Vengeance Pro DDR3-2400 
Hard DriveCoolingOSMonitor
1TB Crucial MX200 Some big aircooler Ubuntu 16.04 and Win 7 Dell P2314H and Dell P2714H 
KeyboardPowerCaseMouse
Ducky Zero TKL, CM Novatouch, Model M industrial  EVGA SuperNOVA 750 G2 Phanteks Evolv Tempered Glass  Razer Mamba 
Mouse PadAudio
Steelseries QCK+ teac AI-101DA + Custom built speakers and sub, ... 
  hide details  
Reply
post #7 of 10
I'll help you with the java stuff, the algorithms are up to you though
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #8 of 10
Quote:
Originally Posted by rabidgnome229 View Post
I'll help you with the java stuff, the algorithms are up to you though
qft

You have to be able to problem solve in order to be a good coder . The lack of experience with the syntax itself is what we're here for.
Game
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7-4790k Asus Hero VII MSI R9 390 16 GB CORSAIR Vengeance Pro DDR3-2400 
Hard DriveCoolingOSMonitor
1TB Crucial MX200 Some big aircooler Ubuntu 16.04 and Win 7 Dell P2314H and Dell P2714H 
KeyboardPowerCaseMouse
Ducky Zero TKL, CM Novatouch, Model M industrial  EVGA SuperNOVA 750 G2 Phanteks Evolv Tempered Glass  Razer Mamba 
Mouse PadAudio
Steelseries QCK+ teac AI-101DA + Custom built speakers and sub, ... 
  hide details  
Reply
Game
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7-4790k Asus Hero VII MSI R9 390 16 GB CORSAIR Vengeance Pro DDR3-2400 
Hard DriveCoolingOSMonitor
1TB Crucial MX200 Some big aircooler Ubuntu 16.04 and Win 7 Dell P2314H and Dell P2714H 
KeyboardPowerCaseMouse
Ducky Zero TKL, CM Novatouch, Model M industrial  EVGA SuperNOVA 750 G2 Phanteks Evolv Tempered Glass  Razer Mamba 
Mouse PadAudio
Steelseries QCK+ teac AI-101DA + Custom built speakers and sub, ... 
  hide details  
Reply
post #9 of 10
Thread Starter 
Quote:
Originally Posted by C-bro View Post
1) Are you trying to figure out the math or the coding?
2) Do you have to write the code based on that API description, or are you just trying to figure out how to use those existing methods to make your own program?
3) What is this for?
1) Which functions doing what and how the program cycle is working. I am not so fimiliar with Java.
2) I have the code, I just need to understand what's going on, and how to compile it.
3) Forced to do an assignment on Java, and this language I won't be using it as I do pretty much everything in PHP.

Quote:
Originally Posted by Pasha View Post
This seems more of a logic problem then a problem with the code itself. What can't you figure out?
It is a bit too difficult for me



DESCRIPTION:
-------------

When you enter a modulus (which is a multiple of two prime numbers say 17*19 = 323 <= modulus) then it converts that input into string. Then we calculate the number of bits. That result is divided into two halves, and then we check how many clients are connected, and dispatches the job to them. The server waits until any of its clients finds the result, the client sends the result to the server and then server terminates all of its clients and find those two prime numbers and then prints it on the screen. The server also prints the starting and ending time of the task.

If one client is disconnected then the server sends unfinished job to the available client (fault tolerance). Client sends their status after every 2^16 bit calculation. This is in the word document. Proceed to the java stuff. RSA theory is not important

CLASSES:
----------------

As far as I checked following classes do the following job:

1. Divider.java divides the input modulus (variable numerator of string type). I don't know how BigInteger manipulation works. Say if variable numerator = 33 then what will be the resultant number of bits and what does integer.pow((count/2)+1)).toString(); line does. I have no idea how it interacts with server and client

2. Ranges.java: If I am correct, it divides ranges among clients. How it does, I have no idea.

3. Calculator.java: I don't know what it does

4. WrongOutputException.java...I don't know what it does but it does something

5. Client folder has client program modules. I don't know what they do. I need to know what these classes are doing

6. Components folder got something. I don't know what is inside I need to know what these classes are doing

7. Server part got server modules. What they do? Only God knows.....I need to know what these classes are doing

The executables in the folders are not important I assume. They are probably garbage but I am still keeping them in .rar file


QUESTIONS:

1. The question that was asked by my superior:
"What I would be interested too is how you subdivide and distribute the tasks to the different clients, and how you plan to recover partially completed tasks from unavailable clients. Do you have any thought about this already?

2. Also, when you will start the program then you will see START RANGE and END RANGE in server application. How these number come? How PROCESSED number come?

3. I would like to know how to run and compile those .java files. Do I need Borland JBuilder 2007? Is any modification to interface needed?

FILES:

1. Source Files (http://muamshai.com/project/source.rar)
2. Short Description (http://muamshai.com/project/Shortdescription.doc)

3. Compiled Client (http://muamshai.com/project/Client.EXE) and Server (http://muamshai.com/project/server.EXE) executables

4. Setup video:
Here is the setup video (hxxp://www.muamshai.com/project/Video0.wmv)
replace hxxp with http so that you can download the video file. This site starts to play wmv videos on the browser


The server module needs to be started first...


Hope that this won't disturb your daily routines, and if you think that this is way beyond "a bit of help" then let me know
Edited by Oombongo - 6/10/08 at 10:54pm
Castle of porno
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1055T M4A89TD PRO/USB3 MSI HD 5770 1 GB G.SKILL Eco 4GB DDR3 1600 
Hard DriveOptical DriveOSMonitor
4xSamsung Spinpoint F1 1TB SATA Samsung SH-S223F/BEBE SATA Windows 2008RC2 Server Standard x64 Asus VW225N 22" LCD 
KeyboardPowerCaseMouse
Logitech Cordless Desktop S 510 Corsair TX750W Antec Twelve Hundred S 510 
  hide details  
Reply
Castle of porno
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1055T M4A89TD PRO/USB3 MSI HD 5770 1 GB G.SKILL Eco 4GB DDR3 1600 
Hard DriveOptical DriveOSMonitor
4xSamsung Spinpoint F1 1TB SATA Samsung SH-S223F/BEBE SATA Windows 2008RC2 Server Standard x64 Asus VW225N 22" LCD 
KeyboardPowerCaseMouse
Logitech Cordless Desktop S 510 Corsair TX750W Antec Twelve Hundred S 510 
  hide details  
Reply
post #10 of 10
You can compile .java source with the Java JDK using javac.exe.

A popular IDE is NetBeans (which comes bundled with the JDK if you download it from Sun). However if you know what IDE whoever wrote your sample used you might want to use that instead.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2Q Q6600 @ 3200MHz Gigabyte EP45-UD3P Sapphire HD4870 4GB OCZ Platinum PC2-8500 
Hard DriveOSMonitorKeyboard
OCZ Core SSD 128GB Windows Vista Samsung 275T + 245B + V2021m Logitech G15 
PowerCaseMouse
Coolermaster Real Power 620W Modular TT Soprano Logitech G9 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2Q Q6600 @ 3200MHz Gigabyte EP45-UD3P Sapphire HD4870 4GB OCZ Platinum PC2-8500 
Hard DriveOSMonitorKeyboard
OCZ Core SSD 128GB Windows Vista Samsung 275T + 245B + V2021m Logitech G15 
PowerCaseMouse
Coolermaster Real Power 620W Modular TT Soprano Logitech G9 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming