Live data from Hacker News

Viewing profile — jawher

jawher

HN member
Joined
Sun, Jul 11, 2010, 10:00 PM UTC
HN karma
82
Public activity
43 items

About jawher

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #19449795

    May I suggest you give https://github.com/jawher/mow.cli a look/try ? Disclaimer: I'm the author of mow.cli ;)

  3. comment
    Comment #15719865

    Thanks for citing mow.cli [1] and glad you're liking it! And you are spot-on regarding closures: it was a design choice made expressly for the purpose of being able to: - scope com…

  4. comment
    Comment #8967528

    docopt() does few things and does them well: * parse the call arguments and split them into options and arguments * perform a very basic validation, i.e. handle the options which t…

  5. comment
    Comment #8967468

    Parser combinators would certainly have been easier for me, the library author but not necessarily so for the end user. Contrast how it is done now: [-R [-H | -L | -P]] [-fi | -n] …

  6. comment
    Comment #4757274

    > Nice hand-waving of an argument, by throwing a useless Wikipedia link in there as some kind of appeal to authority No need to get agressive over this :) I disagreed with your fir…

  7. comment
    Comment #4756938

    > The JVM, at its core, is not working with static types. The bytecode itself is free of static types, except for when you want to invoke a method, in which case you need a concret…

  8. comment
    Comment #4685965

    > BUT that is happy to let you write a Windows program or a Mac program or a Linux program if that's what you want. Care to explain the last bit ? Because Java also lets you invoke…

  9. comment
    Comment #3730985

    Is it just me or does anybody else think that polluting your code with debugging and logging informations is not such a good idea ? I understand the value of these informations, bu…

  10. comment
    Comment #3730949

    > Maven is a bad dependency/package manager because of the complicated nuance What nuance ? >XML Fair point. I don't know what they were thinking when they decided not to use attri…

  11. comment
    Comment #3278516

    Can't you take te same approach ClojureScript took, i.e. to generate a straitforward translation to JavaScript, and then let Google's closure compiler take care of the optimizing t…

  12. comment
    Comment #3262663

    While I share your enthusiasm, I'd like to point out some problems with "Sending rovers to all the planets": 4 of them are gaseous giants, literally no solid ground to land on. Ven…

  13. comment
    Comment #3008288

    That depends on what kind of products you make: If it's a website, then you have absolute control over what stack and database to use. But if you're selling any kind of app that ne…

  14. comment
    Comment #3007818

    It's not just the SQL. There's also the mapping code between your objects and the SQL. for instance, for a select query: select first_name, last_name, login, email from users where…

  15. comment
    Comment #3007777

    > This doesn't seem like an insoluble problem; rather than use an ORM to generate an impenetrable glue layer, it would be better to use code generation tools to create a clean data…

  16. comment
    Comment #3007752

    It depends on the ORM you use, but I'm afraid it's not as simple as "you can later hand write SQL queries to speed things up". This will interact badly with the ORM's cache/transac…

  17. comment
    Comment #2909413

    > The structural change is regular. That is you don't have to learn each name plural. Not all the time. And if they do, there still are subtle variations in suffixes. For example: …

  18. comment
    Comment #2903346

    The answer to your first question is yes, a lambda is always assigned to a SAM type. As to your second question, yes, you can cast a lambda to explicitly specify it's target SAM ty…

  19. comment
    Comment #2903322

    Even Java has the Void type, meaning you can write: Function It's a bit shady though as you still have to return a value from the body of the method, and that value has to be null.…

  20. comment
    Comment #2902884

    To the best of my understanding, lambdas-as-objects would mean providing structural types, i.e. generic function types that are able to describe the structure of a lambda (argument…

  21. comment
    Comment #2870663

    On why you might not want to mix your markup with the templating logic (copied from a blog post I wrote a while back [1]): - Designers and developers will have a hard time working …

  22. comment
    Comment #2857847

    There is also http://www.goodreads.com/ , a feature packed (maybe too much) and a generic (as in not tied to any reading app/device/mode) ... how shall I put it? reading management…

  23. comment
    Comment #2854163

    Beating the averages: http://www.paulgraham.com/avg.html

  24. comment
    Comment #2832756

    Thanks !

  25. comment
    Comment #2831393

    Genuine question: What does Sencha (a JS UI lib) have to do with Edge (an IDE) ?