Viewing profile — isntitvacant
isntitvacant
HN member- Joined
- Wed, May 12, 2010, 9:01 PM UTC
- HN karma
- 45
- Public activity
- 14 items
- HN profile
- View on Hacker News ↗
About isntitvacant
No profile information was provided.
Recent public activity
-
comment
Comment #4745353
In both examples, the function is only allocated once, no matter how it's instantiated. Where you have to be careful is if you have a function that's being called repeatedly and it…
-
comment
Comment #3843117
In this case, it's not language lawyering. All JavaScript environments "do the right thing" with regards to ASI -- it works in all target environments as of the present day. JSMin …
-
comment
Comment #3415243
I'm increasingly a fan of local named functions in JS, vs. pulling callbacks entirely out of scope. An example: function compile(filename, ready) { return fs.readFile(filename, mak…
-
comment
Comment #3287702
Regarding the gzip-js implementation, it appears to rely on rawinflate.js/rawdeflate.js, which I've never been able to find suitable license information on (and, in fact, contain a…
-
comment
Comment #3180820
(I assume) the reason that node chose to go with a single global object (which is optional[0]) is that JS gets a bit hinky when dealing with multiple contexts: e.g., an array retur…
-
comment
Comment #2748413
Thanks -- yeah, at the moment it's tightly bound to node's 'fs' module, though I was planning on abstracting it so you could use 'FileData' in modern browsers. I've got the three O…
-
comment
Comment #2747427
this looks really cool. i was actually working along the same lines ( https://github.com/chrisdickinson/tempisfugit ) to get a pure JS git implementation, though now I'm a little d…
-
comment
Comment #2390599
Yes and no -- it's not absolutely necessary; I could've written it similarly without turning the callback-accepting functions into emitter-returning functions. It would have felt g…
-
comment
Comment #2389438
re: cutting down on callback nesting / spaghetti code. It can be hard to avoid; and having the community put together a PEP-8 style "best practices" to avoid creating nested code i…
- story
-
comment
Comment #2108374
something like this: var session = require('session'), models = require('models'), template = require('template'); function main(request,response){ session.start( models.getEntries…
-
comment
Comment #1807531
Hi -- this is chrisdickinson. One of Wilson's goals is to be comfortable for Djangonauts who, for whatever reason, need to write Node.js code. To that end, the ORM, view layer, and…
-
comment
Comment #1806208
as an admonition: this project is very much a work in progress right now (at the moment, I'm moving the ORM into Wilson proper) so the docs are a little out of date. I have a separ…
- story