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 04-16-07   #1 (permalink)
Intel Overclocker
 
SgtSpike's Avatar
 
intel nvidia

Join Date: Jan 2007
Location: Springfield, Oregon
Posts: 2,778

Rep: 229 SgtSpike is acknowledged by manySgtSpike is acknowledged by manySgtSpike is acknowledged by many
Unique Rep: 184
Trader Rating: 4
Default Programming Challenge

Network Programming 101

Ok, it's time for all you programmers to show what you're made of. I need a simple program made.

I don't know a thing about network programming, and don't have the time to figure it out, otherwise I'd write this myself.

Anyway, all I need is a resizeable window that I can type in, and someone else on another computer on a network could also type in, and we would both be editing the same text. Somehow, two (or even more would be great) computers need to be able to connect to each other, and update the other's form instantly when something is changed. It will not be anything more than a small amount of text, so it would probably be fine to send an update of the entire text for each change made (i.e. a letter typed).

So, if any of you are up to it, and feel like helping me out, that would be awesome. Serious props to anyone who can get one working!

System: Must...Go...Faster...
CPU
E6300 @ 3.74ghz - 1.44v
Motherboard
Gigabyte P35-DS3L @ 535FSB, +.3v MCH/FSB
Memory
2x1GB G'Skill 800mhz @ 1070mhz - 2.2v
Graphics Card
EVGA 8800GT 512MB
Hard Drive
2x 250GB WDC 7200rpm, OC'd to 8100rpm
Sound Card
X-Fi Xtreme Gamer (2.1 CA with 12" 500w sub)
Power Supply
500w XClio Goodpower
Case
Custom
CPU cooling
Sycthe Mini-Ninja
GPU cooling
VF-900
OS
Windows Vista Home Premium
Monitor
19" Widescreen HannsG
SgtSpike is offline   Reply With Quote
Old 04-20-07   #2 (permalink)
Programmer
 
intel nvidia

Join Date: Nov 2006
Posts: 1,495

Rep: 93 version2 is acknowledged by some
Unique Rep: 76
Trader Rating: 3
Default

Lol. The PHP non-gui approach cannot be ignored: Can it be browser-based? As in, open your browser, and type in the url, and someone else can access it? You would be able to resize your browser, and the chat window would scale (size-wise). Requirements would be a simple apache and php (and maybe mysql) software. This approach would use "Ajax" which would refresh the text on ever keystroke or form change...

This is basically a remote note taking program right?
__________________
System: Duo
CPU
Core 2 Duo E6600 B2
Motherboard
Asus P5B Deluxe
Memory
G.SKILL HZ 2x1gb DDR2 800
Graphics Card
EVGA 9600GSO 384mb
Hard Drive
WD 640gb, Maxtor 160gb
Sound Card
Audigy 2 ZS
Power Supply
FSP 450W
Case
Ultra Aluminus
CPU cooling
Freezer Pro 7
GPU cooling
Stock
Monitor
20.1'' SOYO LCD (Wide)
version2 is offline   Reply With Quote
Old 04-20-07   #3 (permalink)
Intel Overclocker
 
SgtSpike's Avatar
 
intel nvidia

Join Date: Jan 2007
Location: Springfield, Oregon
Posts: 2,778

Rep: 229 SgtSpike is acknowledged by manySgtSpike is acknowledged by manySgtSpike is acknowledged by many
Unique Rep: 184
Trader Rating: 4
Default

Basically, yes it is a remote note taking program - for notes from two or more users. A browser-based version would work, but it'd have to be with no toolbars, menus, etc. I know you can easily get rid of most of that with javascript, but even better would be to get rid of the "x" in the corner, and only have exiting by a link, to further save on space.

Also, information must be retained even if all users exited from the program.

Thanks for the reply! Are you thinking about taking this on?

System: Must...Go...Faster...
CPU
E6300 @ 3.74ghz - 1.44v
Motherboard
Gigabyte P35-DS3L @ 535FSB, +.3v MCH/FSB
Memory
2x1GB G'Skill 800mhz @ 1070mhz - 2.2v
Graphics Card
EVGA 8800GT 512MB
Hard Drive
2x 250GB WDC 7200rpm, OC'd to 8100rpm
Sound Card
X-Fi Xtreme Gamer (2.1 CA with 12" 500w sub)
Power Supply
500w XClio Goodpower
Case
Custom
CPU cooling
Sycthe Mini-Ninja
GPU cooling
VF-900
OS
Windows Vista Home Premium
Monitor
19" Widescreen HannsG
SgtSpike is offline   Reply With Quote
Old 04-21-07   #4 (permalink)
News Fiend
 
intel nvidia

Join Date: Mar 2007
Posts: 83

Rep: 9 kyotejones Unknown
Unique Rep: 9
Trader Rating: 0
Default

what kind of network connection exists between the two computers? Are they both local? or are you talking about computers that are across the country?

What type of resources do we have available to us? Is there a network share? domain controller? A database engine like MySQL, MSSQL or Oracle? Is the .Net Framework installed? Web server of any kind? Are all the computers the same OS or are they a different OS?
__________________
System: SCUD
CPU
Pentium C2D 2.4GHz
Motherboard
ASUS P5N32-E SLI
Memory
2x1Gb Balistix
Graphics Card
GeForce 7950 GT
Sound Card
SupremeFX (ADI 1988b)
Power Supply
ENERMAX Liberty 620W
Case
RAIDMAX SMILODON ATX
CPU cooling
ARCTIC COOLING Freezer 7
GPU cooling
Passive Heat Sink + CPU Fan
OS
Win XP Pro
Monitor
2x20" Samsung SyncMaster

Last edited by kyotejones : 04-21-07 at 07:54 PM.
kyotejones is offline   Reply With Quote
Old 04-21-07   #5 (permalink)
Programmer
 
intel nvidia

Join Date: Nov 2006
Posts: 1,495

Rep: 93 version2 is acknowledged by some
Unique Rep: 76
Trader Rating: 3
Default

The problem I see with this program idea is that if you have multiple users "editing" the text, then each will have different versions they are editing...

Ex: Currently it has this text: "Put your text here." User 1 changes it to "Put your text here. Okay, I will." and User 2 changes it to "Don't put text here." Get my gist? Only the last saved version of the text will be visible, the other will be gone -- unseen by the other user.
__________________
System: Duo
CPU
Core 2 Duo E6600 B2
Motherboard
Asus P5B Deluxe
Memory
G.SKILL HZ 2x1gb DDR2 800
Graphics Card
EVGA 9600GSO 384mb
Hard Drive
WD 640gb, Maxtor 160gb
Sound Card
Audigy 2 ZS
Power Supply
FSP 450W
Case
Ultra Aluminus
CPU cooling
Freezer Pro 7
GPU cooling
Stock
Monitor
20.1'' SOYO LCD (Wide)
version2 is offline   Reply With Quote
Old 04-22-07   #6 (permalink)
Intel Overclocker
 
SgtSpike's Avatar
 
intel nvidia

Join Date: Jan 2007
Location: Springfield, Oregon
Posts: 2,778

Rep: 229 SgtSpike is acknowledged by manySgtSpike is acknowledged by manySgtSpike is acknowledged by many
Unique Rep: 184
Trader Rating: 4
Default

@kyotejones - It'd just be over a local area network, just working on 192.168.1.xxx static ip addresses at the moment as well. Not sure what you mean by a network share or domain controller.

We do have the mysql database engine available and currently running on one of our servers. Not sure if we've got any others, but if they're simple to set up, then it wouldn't be a problem to set a new one up for the program.

.NET framework should be installed, but is easy to install if it is not, so it's not a problem to develop on .NET.

Webservers (local intranet and internet) are set up and running, so we could use that as something to work off of as well.

All computers that we would be using this software on would be Windows XP Pro. At least for now, as we may be looking to upgrade to Vista Business in 6mo - 2yrs.


@version2 - The goal of this project is to avoid that type of situation. They will not have different versions of the text that they are editing, because as soon as one letter is typed in, it is shown on all users displays. It's not like you type in a sentence, and click "Save", and then it sends it to the other users, it'll be constantly updating when a user is typing.

System: Must...Go...Faster...
CPU
E6300 @ 3.74ghz - 1.44v
Motherboard
Gigabyte P35-DS3L @ 535FSB, +.3v MCH/FSB
Memory
2x1GB G'Skill 800mhz @ 1070mhz - 2.2v
Graphics Card
EVGA 8800GT 512MB
Hard Drive
2x 250GB WDC 7200rpm, OC'd to 8100rpm
Sound Card
X-Fi Xtreme Gamer (2.1 CA with 12" 500w sub)
Power Supply
500w XClio Goodpower
Case
Custom
CPU cooling
Sycthe Mini-Ninja
GPU cooling
VF-900
OS
Windows Vista Home Premium
Monitor
19" Widescreen HannsG
SgtSpike 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 01:57 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.25906 seconds with 8 queries