944,172 Members | Top Members by Rank

Ad:
You are currently viewing page 7 of this multi-page discussion thread; Jump to the first page
Feb 21st, 2005
0

Re: What's the HARDEST program you've written?

No idea.

_________________________________________________________________________

Ha ha. This is funny! Ha Ha!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
herdi is offline Offline
15 posts
since Dec 2004
Apr 21st, 2005
0

Re: What's the HARDEST program you've written?

By far the hardest nut I had to crack was some javascript (bearing in mind I grew up on basic and vb) that was to run clientside for my ASP web application. It was difficult because the user needed to be presented with data in a series of HTML tables, and wanted to 'drag and drop' rows between those tables (the tables represented Delivery vehicles and the rows where parcels to be delivered), getting the data and presenting it in tables was expensive and I did'nt want to post for every 'drag n drop' operation.

Luckily this was an IE only shop so I didn't have to worry about cross-browser stuff. And I discovered in IE you can dynamically set the src attribute of a <script> block to an asp page on the server, this spawns a GET request to the server.

So I created a string of key/value pairs that could be sent in the query string, once you get server side though you have to use JScript in the ASP page instead of VB, but this turned out to be not too bad. I could then do database stuff and at the end generate more javascript that the cient receives in responce to its GET. This tripped another javascript function that - now knowing DB stuff had been successfull - could use the DOM to re-arrange the tables.

And that's how you do distributed Drag n drop in a conectionless environment ! without jamming the network with reams of HTTP traffic.

PS. and no unsightly activeX control to download and install either.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Feb 26th, 2008
0

Re: What's the HARDEST program you've written?

A PROLOG implementation of a machine learning algorithm (PRISM) for a university assignment. The notes on the algorithm had an error in them..oops.
Reputation Points: 10
Solved Threads: 0
Light Poster
neocoder is offline Offline
25 posts
since Feb 2008
Mar 29th, 2008
0

Re: What's the HARDEST program you've written?

The hardest program I have ever written is the project I just finished (as a requirement from juniors in my high school) - it was for a research project, called "A Novel Approach to Natural Language Programming". I basically made a program that allows you to write English language solutions to a problem, and the computer converts it to working code in a language that I designed myself.

The code I wrote has 50 Java classes, and 5 python classes, along with 3 libraries that I interface with. This goes along with the programming language I wrote myself (haven;t given it a name, haha). That was quite a lot of work (one year), and since this is the first time I wrote so much code, its sort of disorganized (well, highly so). Maybe better organization next time, but I am pleased with what I have. I have attached a screeshot too, you might have to fidget with it a bit to see it right.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	48
Size:	94.6 KB
ID:	5634  
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mukarram91 is offline Offline
2 posts
since Mar 2008
Apr 2nd, 2008
0

Re: What's the HARDEST program you've written?

my graduate project...
cluster data with GKA(genetic k-means algorithm)
Reputation Points: 1182
Solved Threads: 393
Posting Sensei
Jx_Man is offline Offline
3,145 posts
since Nov 2007
May 20th, 2008
0

Re: What's the HARDEST program you've written?

the hardest was this bank program written in cobol...

it took weeks just to finish the layout..

damn missing periods...
Reputation Points: 18
Solved Threads: 3
Newbie Poster
jhaycutexp is offline Offline
14 posts
since May 2008
May 26th, 2008
0

Re: What's the HARDEST program you've written?

[u tell me
Reputation Points: 10
Solved Threads: 0
Light Poster
bossie09 is offline Offline
25 posts
since May 2008
May 26th, 2008
0

Re: What's the HARDEST program you've written?

University project;

Prolog in Java. Was a set of java classes which acted like a mini-prolog machine (keeping state, backtracking etc.) Took prolog source and compiled into Java source, or java bytecode (even did on the fly generation.) Managed to implement around 80% of the standard ISO prolog functions, and even got the compiler to have dynamic operator's, which was a little tricky.
Reputation Points: 28
Solved Threads: 3
Newbie Poster
Abzero is offline Offline
14 posts
since Apr 2008
May 11th, 2011
0
Re: What's the HARDEST program you've written?
Hardest? Probably the game I made in college. It used a client and a server, a database on the server for storing instant replays which where pushed out after kills (similar to call of duty), and direct 3d. Believe it or not, the hardest part of the whole thing was making the models in Milkshape. I have a serious problem with 3d modelling...

Now I am an actual software developer, and rather than things being hard and interesting they have become boring and time consuming. For example, today I wrote a library to interface with a usb module with a built in digital to analog converter to control some variable speed motors. I hate my life.
Reputation Points: 353
Solved Threads: 111
Master Poster
skatamatic is offline Offline
790 posts
since Nov 2007
May 11th, 2011
0
Re: What's the HARDEST program you've written?
Quote ...
For example, today I wrote a library to interface with a usb module with a built in digital to analog converter to control some variable speed motors. I hate my life.
To each their own. That looks far more interesting to me than the game you made in college.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: Virtualization is done
Next Thread in Computer Science Forum Timeline: Creating an OS





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC