Live data from Hacker News

Viewing profile — gozala

gozala

HN member
Joined
Thu, Apr 19, 2012, 2:46 PM UTC
HN karma
15
Public activity
20 items

About gozala

No profile information was provided.

Recent public activity

  1. comment
    Comment #8289684

    Rather than saying that CSP is more general, I'd say CSP is more provides you a more low level constructs. In FRP signals are the key concept that represent value that changes over…

  2. comment
    Comment #8288940

    Statement that firefox Add-ons inside the broweser don't have a sandboxing is false. All the add-on SDK built add-ons load in sandboxed in a less privileged JS sandbox, although it…

  3. comment
    Comment #6141889

    I don't think the goal is to replace code entirely, goal is to have a high level tool for high level problem that today is solved with a code but could be lifted. People that love …

  4. comment
    Comment #6141867

    I believe the whole point of the kick-starter campaign is to raise a money to actually build a visualization tool / engineering environment. You can also find demo in it's current …

  5. comment
    Comment #5802428

    > Of course this means that some of Clojure's features (protocols and lazy sequences, atoms, etc.) are not available. On the other hand there are not so many opaque layers between …

  6. comment
    Comment #5802415

    They have being added recently and more clojure compatibility is planned for the future.

  7. comment
    Comment #5802410

    In clojurescript strings are just sequences of characters where characters are expressed as \a and strings as "foo". In JS single char string is an equivalent of a character, as a …

  8. comment
    Comment #5802383

    Adding source maps support to wisp is my no 1st priority for wisp.

  9. comment
    Comment #5802375

    Note that most functions exposed by wisp do not mutate existing data structures and match clojure in behavior, it's just they use array's instead of vectors and dictionaries instea…

  10. comment
    Comment #5802363

    I've tried to elaborate my reasoning in the readme actually: > Unlike clojurescript, wisp does not depends on JVM and is completely self-hosted. It compromises clojure's awesome da…

  11. comment
    Comment #3868310

    Yeah I had this comment there // Assuming Mustache.render = promised(Mustache.render) But my hope is that more libraries will be accepting promises in a future so one won't have to…

  12. comment
    Comment #3868281

    Just to be clear this library implements just a subset of Q with exact same API, with only addition of `promised` wrapper. I'm convinced that this wrapper is a better way to deal w…

  13. comment
    Comment #3868254

    First of all I implement abstraction using language features and there for I take advantage of it. - I favor maintainability over performance, also keep in mind that promised funct…

  14. comment
    Comment #3863962

    What I'm suggesting is that promises don't need any special treatment. If you have a function that you want to feed a promise just wrap it: promised(Mustache.render). That's all it…

  15. comment
    Comment #3863521

    You're absolutely right! My English is far from being perfect and in addition I was rushing to get this post out making bunch of mistakes. I tried to fix all the "than" "then" issu…

  16. comment
  17. comment
    Comment #3863335

    I have already fixed that, it was a typo, I meant following instead: var deferred = defer() // make promise var a = deferred.promise var b = sum(a, 1) var c = sum(b, 5) console.log…

  18. comment
    Comment #3863306

    You just have to write function per operation that is it: var auth = promised(function(user, data) { var isAdmin = user.role === admin return isAdmin ? render(open("yay.xml"), db.s…

  19. comment
    Comment #3863276

    I mainly was referring to JS where we don't have coroutines and there is no plans to have them either.

  20. comment
    Comment #3863265

    Sorry for confusion, I meant indeed a sync / async APIs. You could easily wrap sync function to give it an async API in order to chain with functions that had async APIs, but it's …