Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Javascript Help Please

Name: dorrax 2011-05-17 21:23

    I have been writing a program for minecraft worldedit to do a large and complex thing that I cannot do with normal worldedit commands. However I am running to several issues. First, the program has to be in javascript, and I have never javascripted before, I have done Java and python and C, so I getting javascript figured out slowly though.

    There are quite a few calculations I have to do with the program. If I do those inside the javascript code I get a time out error, says it needs to take less than 3000ms. If I do the calculations in python to make an array and copy and paste it into the java script, I get a file too large error, it needs to be less than 64kb.

    This is making me think I need a database or some other external file that I can write to with one program and read from with the other program, but I have never had to do this with anything other than text files, and from I have been able to find so far, javascript won't read text files. What should I do?

Name: Anonymous 2011-05-17 21:53

Read SICP.

Name: Anonymous 2011-05-17 22:09

What should I do?
Stop running in circles.  Look at your problem and solve it, not let its perceived complexity cause your perception of the solution to grow out of control.

Start with the problem scope itself.  There is such a thing as trying to do too much at once and it definitely sounds like you're stumbling around a problem in sore need of reduction.

Name: dorrax 2011-05-17 22:23

Thanks for that book title, it looks useful and I will read it. I am not a total moron with programming, but being entirely self taught I am a complete amateur. I am afraid the book will not address the specific issue I am facing though.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List