Bring split task from Microsoft Project to dhtmlxgantt - javascript

I use javascript, I would like to bring “update project” function in Microsoft Project to be used in dhtmlxgantt. I wonder how to bring “split task” data into dhtmlxgantt? I don’t know how to split task in dhtmlxgantt. Please suggest, thank you.

Related

RedBaron analog in javascript?

I need to read a python file from javascript. I used in another project RedBaron which was quite helpful since I can easily access different node types and their value. Since I cannot use this library in Javascript since RedBaron is a python library I wanted to ask you all if you know a library that is similar to RedBaron.
Thanks in advance!
I tried using a line by line reader in Javascript but it is not sufficient for my needs. As I explained earlier I want to access different node types their values or operators.

Is there a way to get signature/documentation of a function in Node REPL?

"Tab"ing the REPL gives me a list of functions, but often working with multiple languages, I forget the signature of common functions like fs.open, etc. Is there anyway to show these in the REPL?
Thanks to auto-complete in editors, they seem to be fine. But REPL for writing some quick script, I have pull up the node documentation each time for simple things.
Is there a better way to deal with this?
This semi official project developed under the node umbrella on GitHub offers a few improvement over the default REPL while used interactively:
https://github.com/nodejs/repl
Syntax highlighting is enabled for the input, basic functions signatures are displayed as hints.
As stated in this issue, its future is still uncertain, but it's already quite usable in the current state: https://github.com/nodejs/repl/issues/46

Visual representation of classes and/or objects

recently I started to work on some big project written in php/js.
It is really big and I have constant problem of backtracing what functions are called where.
Is there any tool, that would import all the code files and draw/write connections between classes, objects, functions and such?
Regards
BOUML can create UML diagrams out of your code
http://www.bouml.fr/
old 4.23 version is also free if that is needed
http://download.cnet.com/BOUML/3000-2094_4-10788888.html
I am using Intellij IDEA with the PHP Storm Plugin for my PHP/JS-Projects. There I'm able to right click a function and choose "Find Usage ALT+F7". Now I can see, where this function is getting called.
Intellij IDEA/PHP-Storm is also able to generate UML-Diagrams if needed.
I guess Netbeans, Eclipse+PHP-Plugin do have similar functions [maybe execpt of the uml-generator], if you need an IDE at no costs.

Javascript class chaining map library

I work in a project with many modules implemented in 5-6 different JavaScript files.
Function 1 callback function 2 which callback function 3 etc...
Is there a library or software that can parse all the js files, and draw a mindmap of all callbacks ?
Thanks in advance
Not that I know of. I don't think you'll be able to know until runtime. You could then use a javascript console to look at the stack.
console.trace() should be useful
http://getfirebug.com/wiki/index.php/Console_API#console.trace.28.29
I found 2 tools that build UML diagrams from JS code:
http://jsuml.org/
and
http://code.google.com/p/jsuml2/
this might create the things you want.
You can get just get a stack trace that could ease debugging if this is the main goal of your search, you can get it here:
http://stacktracejs.com/
and another simple one here:
http://eriwen.com/javascript/js-stack-trace/
You could also use this Webkit that has functionality providing stack traces:
http://www.webkit.org/blog/1544/web-inspector-understanding-stack-traces/

Student's t distribution in JavaScript for Google Spreadsheet

Google Spreadsheets currently does not support the standard function TDIST - i.e. the Student's t-distribution. This function is critical for calculating p-values.
It seems that this is related to the fact that no integral-using functions (AFAICT) are implemented either.
However, Google Docs allows people to add and publish their own scripts, in JavaScript.
So ideally we should have something like:
function tdist(t_value, degrees_of_freedom, two_tailed [defaults true]) {...}
Anyone know of either an extant implementation of this (my google-fu has not turned up one, but may be weaker than yours) or a good idea for how to do it?
I'd like to publish this together with some other useful functions that are currently calculable but a bit of a pain (like Student's t-test itself).
Thanks!
Here you go.
Google Sheets does now include the TDIST function (if you've switched to the new version).
http://www.math.ucla.edu/~tom/distributions/tDist.html - view source.

Categories

Resources