node

Drupal Node Form Incomplete POST Data

Hi buddies, I'm working on a drupal 6 site that needs multiple node forms in one page, the problem is when I submit one form posted data is not complete! I mean some fields of the form are not exist in posted data, i checked this with tamper data (firefox addon) and also print_r($_POST) at first line of index.php. but any from in its on...

How can I know, what local port is used by Stream?

Is it possible to specify explicitly local port that should be used by net.Stream, or to find out what local port is used for connection? According to the documentation, local port cannot be specified: stream.connect(port, host='127.0.0.1') ...

require() a node.js module?

I have a node.js module like this: # couchdb.js var couchdb = { // code } module.exports = couchdb; How do I do to be able to use require("couchdb") in all my files? ...

Webkit IDOMNode to JSObjectRef conversion

I need to convert IDOMNode to JSObjectRef somehow in the UIdelegate of my application. Any ideas ? Thanks. ...

Height of a tree with only one node

According to Wikipedia, The height of a tree is the length of the path from the root to the deepest node in the tree. A (rooted) tree with only one node (the root) has a height of zero (or one). I dont get it-is it zero or one (or both)? ...