Live data from Hacker News

Viewing profile — aindhaden

aindhaden

HN member
Joined
Fri, Dec 02, 2016, 11:58 AM UTC
HN karma
13
Public activity
13 items

About aindhaden

No profile information was provided.

Recent public activity

  1. comment
    Comment #13139371

    This is true only for a very particular kind of constants, like the ones defining API error codes (eg. define PAGE_NOT_FOUND 404). And those should be covered by integration tests,…

  2. comment
    Comment #13138807

    To expand on this, the tool of choice for the frontend part used to be PrototypeJS. In Rails 3.1 the relevant portions were decoupled and became options rather than baked-in, with …

  3. comment
    Comment #13138782

    > it would have been a huge mistake for jQUery to have attempted to become a Backbone, Angular or React What would you call jQuery UI?

  4. comment
    Comment #13138721

    I'd like to point a possible flaw in your counter-argument: jQuery wasn't the only choice and it wasn't the first. PrototypeJS, which came before it, did an arguably better job sin…

  5. comment
    Comment #13138651

    There were a few CGI script websites around, like Matt's Script Archive and his (in)famous FormMail.pl. There were also URL libs, eventually, as well as other CGI-specific tools, l…

  6. comment
    Comment #13114702

    Ballmer was onto something.

  7. comment
    Comment #13114692

    Use console.dir(var) for a moment-in-time snapshot. The side panel you get when you click on a var is a debug view, which is a lot more useful as a "live" value watcher.

  8. comment
    Comment #13114473

    And if you need an online tool while away from your computer, http://getvideo.at/ is running on youtube-dl. It will parse the given webpage and list out direct download links.

  9. comment
    Comment #13114371

    I don't see what "regular people" has to do with it... you either know how your filesystem works or you don't. I you don't, the Linux way (I deleted a file but it's still in my edi…

  10. comment
    Comment #13095244

    It's still going to be XML. JSON is fairly limited, it's literally the serialization format for JavaScript variables, and that one size does not fit all.

  11. comment
    Comment #13088435

    I suspect we may be talking about two different approaches. Nobody _wants_ to trip on a null reference, naturally. But there are different ways of achieving that, and some of them …

  12. comment
    Comment #13088031

    I've previously toyed with the idea of a "cleaned up" PHP. And each time I abandon it when I remember that Perl, Python and Ruby already exist.

  13. comment
    Comment #13087995

    Unfortunately they decided to go with explicit nullables instead of implicit, which means that you still have to go and write/modify all your code explicitly to benefit from this. …