Hacker News new | past | comments | ask | show | jobs | submit login

No, I have built a system that solves the equations and then displays them in the mathematically correct format. (Yes, it took forever)

Each equation can be thought of as a line of code. Each web page is both a document like Word and a program. The user adds an equation to the document via a gui and then double clicks on it to edit it. You can enter something like a=1+sin(0.5)/1 and then hit enter. My code parses this text out, finds the "sin" function, solves it, then solves the remaining equation, and then displays it as you would expect to see it on a formal document and gives that equation the name "a". Users can then reference the result of this using the name "a" in a later equation. When an equation changes, its dependents update as well.

I have a number of built in functions. There is everything from an FFT to a differential equation solver to an integral. It also tracks units like "mm" and "in" and does all the necessary math for this.

The code to do this in javascript was as painful and fun as it sounds. With the fellowship time/money I will build a python server side to solve large datasets and start the process of placing a CAD layer on top of it.




This is what you should have written in your application. Rather than the rather hazy statement that you made. You have my vote.

P.S. you should do both sides in JavaScript.


But Node.js would only allow me to run one thing at a time. I want to be able to run equations on the server while updating things on the DOM/Server as well. Am I wrong about that?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: