Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 06-10-08   #1 (permalink)
New to Overclock.net
 
Oombongo's Avatar
 
intel ati

Join Date: Oct 2006
Posts: 78

Rep: 1 Oombongo Unknown
Unique Rep: 1
Trader Rating: 0
Default Java Help

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
__________________
Man is born crying. When he's cried enough, he dies

System: Castle of porno
CPU
Intel E6600 Core 2 Duo
Motherboard
Asus P5B Deluxe WiFi
Memory
Corsair Twin2X2048-6400C4
Graphics Card
Sapphire X1900XT 512MB
Hard Drive
2*DiamondMax10 250MB
Sound Card
Creative X-Fi Xtreme Gamer
Power Supply
OCZ GameXStream 700W
Case
Antec P180B
CPU cooling
Zalman CNPS9500
GPU cooling
Stock cooling
OS
Windows XP x64 SP2
Monitor
ViewSonic VX2240W 22" LCD
Oombongo is offline   Reply With Quote
Old 06-10-08   #2 (permalink)
PC Gamer
 
amd ati

Join Date: Apr 2008
Location: STL...DO SOME'
Posts: 702

Rep: 28 weezymagic is acknowledged by some
Unique Rep: 23
Trader Rating: 2
Default

how involved is it. how many lines of code?
__________________
--Saint Louis Overclockers--


CS:S PLAYER
STEAM: weezymagic


If you think rap sucks or isn't "real music", quit being pretentious and go sample something that isn't on the radio:
De La Soul, Lupe Fiasco, Common, Talib Kweli, Mos Def, Brand Nubian, Canibus, A Tribe Called Quest, The Roots, Gang Starr, Digital Underground, Kanye West, Immortal Technique, etc.

Better yet, try to make a 4 minute spoken word poem read to a beat that doesn't suck or sound corny if you think hip hop has no talent.

System: to be: BluDragon
CPU
AMD Phenom 9850 BE
Motherboard
DFI LANPARTY DK 790FX-M2RS
Memory
(2) G.SKILL 4GB PK's
Graphics Card
Visiontek 3870x2 + HIS 3870x2
Hard Drive
WD 640GB 7200rpm + 74GB Raptor
Sound Card
RAZER Barracuda AC-1
Power Supply
Corsair hx1000
Case
APEVIA X-JUPITER G-Type
CPU cooling
D-Tek Fuzion v2
OS
Windows VISTA
Monitor
Dell 22" WSFP
weezymagic is offline   Reply With Quote
Old 06-10-08   #3 (permalink)
New to Overclock.net
 
Oombongo's Avatar
 
intel ati

Join Date: Oct 2006
Posts: 78

Rep: 1 Oombongo Unknown
Unique Rep: 1
Trader Rating: 0
Default

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
__________________
Man is born crying. When he's cried enough, he dies

System: Castle of porno
CPU
Intel E6600 Core 2 Duo
Motherboard
Asus P5B Deluxe WiFi
Memory
Corsair Twin2X2048-6400C4
Graphics Card
Sapphire X1900XT 512MB
Hard Drive
2*DiamondMax10 250MB
Sound Card
Creative X-Fi Xtreme Gamer
Power Supply
OCZ GameXStream 700W
Case
Antec P180B
CPU cooling
Zalman CNPS9500
GPU cooling
Stock cooling
OS
Windows XP x64 SP2
Monitor
ViewSonic VX2240W 22" LCD
Oombongo is offline   Reply With Quote
Old 06-10-08   #4 (permalink)
PC Gamer
 
squidbrain's Avatar
 
intel nvidia

Join Date: May 2008
Location: Birmingham
Posts: 42

Rep: 2 squidbrain Unknown
Unique Rep: 2
Trader Rating: 0
Default

Meh... me only know html + css :/

spam :P
__________________
Upgrades

Q6600 quad core
8800GTX
x-fi soundcard

System: My System
CPU
DualCore Intel Core 2 Duo E6600, 2400 MHz
Motherboard
Asus P5B Deluxe
Memory
OCZ XTC Platinum Rev.2 (2x1gb)
Graphics Card
BFG GeForce 8800 GTS (320 MB)
Hard Drive
Maxtor 160GB 7200RPM + Seagate 200GB 7200 RPM
Sound Card
Onboard sound
Power Supply
Coolermaster iGreen 600W
Case
Lian-Li PC-7B PLUS II Aluminium Midi-Tower Case
OS
Vista Ultimate 32bit
Monitor
Hannstar HW191D [19" LCD]
squidbrain is offline   Reply With Quote
Old 06-10-08   #5 (permalink)
110100001101001111000
 
C-bro's Avatar
 
intel nvidia

Join Date: Jan 2006
Location: Hamilton, ON
Posts: 1,773

Rep: 276 C-bro is a proven memberC-bro is a proven memberC-bro is a proven member
Unique Rep: 209
FAQs Submitted: 6
Folding Team Rank: 209
Hardware Reviews: 9
Trader Rating: 1
Default

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?

System: RAID0R
CPU
Intel E2180 3.33GHz
Motherboard
Asus P5K-E/WIFI-AP vMod
Memory
2GB Kingmax DDR2-1066
Graphics Card
EVGA 8800GT
Hard Drive
2x250GB WD+500GB 7200.11
Sound Card
SB Audigy 2
Power Supply
Corsair CMPSU-550VX
CPU cooling
Arctic Cooling Freezer 7 Pro
GPU cooling
Zalman VF900-Cu
OS
Windows Vista Business 32-Bit
Monitor
HP F2105 21" & Samsung 712N
C-bro is offline I fold for Overclock.net Overclocked Account C-bro's Gallery   Reply With Quote
Old 06-10-08   #6 (permalink)
New to Overclock.net
 
intel ati

Join Date: Jun 2007
Posts: 643

Rep: 26 Pasha is acknowledged by some
Unique Rep: 24
Trader Rating: 0
Default

This seems more of a logic problem then a problem with the code itself. What can't you figure out?
__________________
12136 -3DMark06 http://service.futuremark.com/orb/re...0&UID=13752166

Crucial Ballistix Club

And you know what? Macs are too hip. Oh, look at me! I do graphic design! I wear women's jeans and hang out in coffee shops! I'm a DJ! Well good for you. My computer is not a fashion statement. It's a computer.

System: lohlz
CPU
C2D e6750 @ 3.5ghz 8 x 438mhz
Motherboard
Abit IP35- E
Memory
2 x 1gb Ballistix 4-4-4-12 @ 876mhz
Graphics Card
Visiontek 4870
Hard Drive
2 x 80GB WD
Sound Card
M-Audio Audiophile
Power Supply
OCZ StealthXStream 600W
Case
Coolermaster CM-690
CPU cooling
AquaXtreame + dB1 + Black Ice Pro
GPU cooling
ZALMAN VF1000
OS
XP pro
Monitor
LG 20inch 5000:1 contrast ratio, 2ms.
Pasha is offline   Reply With Quote
Old 06-10-08   #7 (permalink)
Apple Doesn't Love You
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,951
Blog Entries: 1

Rep: 559 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 334
FAQs Submitted: 6
Trader Rating: 5
Default

I'll help you with the java stuff, the algorithms are up to you though
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 06-10-08   #8 (permalink)
New to Overclock.net
 
intel ati

Join Date: Jun 2007
Posts: 643

Rep: 26 Pasha is acknowledged by some
Unique Rep: 24
Trader Rating: 0
Default

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.
__________________
12136 -3DMark06 http://service.futuremark.com/orb/re...0&UID=13752166

Crucial Ballistix Club

And you know what? Macs are too hip. Oh, look at me! I do graphic design! I wear women's jeans and hang out in coffee shops! I'm a DJ! Well good for you. My computer is not a fashion statement. It's a computer.

System: lohlz
CPU
C2D e6750 @ 3.5ghz 8 x 438mhz
Motherboard
Abit IP35- E
Memory
2 x 1gb Ballistix 4-4-4-12 @ 876mhz
Graphics Card
Visiontek 4870
Hard Drive
2 x 80GB WD
Sound Card
M-Audio Audiophile
Power Supply
OCZ StealthXStream 600W
Case
Coolermaster CM-690
CPU cooling
AquaXtreame + dB1 + Black Ice Pro
GPU cooling
ZALMAN VF1000
OS
XP pro
Monitor
LG 20inch 5000:1 contrast ratio, 2ms.
Pasha is offline   Reply With Quote
Old 06-11-08   #9 (permalink)
New to Overclock.net
 
Oombongo's Avatar
 
intel ati

Join Date: Oct 2006
Posts: 78

Rep: 1 Oombongo Unknown
Unique Rep: 1
Trader Rating: 0
Default

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
__________________
Man is born crying. When he's cried enough, he dies

System: Castle of porno
CPU
Intel E6600 Core 2 Duo
Motherboard
Asus P5B Deluxe WiFi
Memory
Corsair Twin2X2048-6400C4
Graphics Card
Sapphire X1900XT 512MB
Hard Drive
2*DiamondMax10 250MB
Sound Card
Creative X-Fi Xtreme Gamer
Power Supply
OCZ GameXStream 700W
Case
Antec P180B
CPU cooling
Zalman CNPS9500
GPU cooling
Stock cooling
OS
Windows XP x64 SP2
Monitor
ViewSonic VX2240W 22" LCD

Last edited by Oombongo : 06-11-08 at 01:54 AM.
Oombongo is offline   Reply With Quote
Old 06-16-08   #10 (permalink)
Intel Overclocker
 
Ledward's Avatar
 
intel nvidia

Join Date: Oct 2006
Posts: 19

Rep: 2 Ledward Unknown
Unique Rep: 2
Trader Rating: 0
Default

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.
__________________
System: My System
CPU
C2Q Q6600 @ 3200MHz
Motherboard
Gigabyte GA-965P-S3
Memory
4GB OCZ Platinum PC2-8500
Graphics Card
Gigabyte 8800GT Turboforce
Hard Drive
WD Caviar 320GB x2
Sound Card
Creative SB X-Fi Premium
Power Supply
Coolermaster eXtreme 430W
Case
TT Soprano
CPU cooling
TT Blue Orb II
OS
Windows Vista
Monitor
Samsung 245B

Last edited by Ledward : 06-16-08 at 07:55 AM. Reason: fixed spelling
Ledward is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 02:53 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.22851 seconds with 9 queries