Live data from Hacker News

Viewing profile — johnjuuljensen

johnjuuljensen

HN member
Joined
Fri, Aug 12, 2016, 12:49 PM UTC
HN karma
76
Public activity
17 items

About johnjuuljensen

No profile information was provided.

Recent public activity

  1. comment
    Comment #15523312

    I've experimented with both Home Assistant, Domoticz and OpenHab. They're all pretty good in different ways, but in the end in decided to roll my own. They all have built-in script…

  2. comment
    Comment #13942004

    http://keepass.info/ is awesome. Put your keyfile on Dropbox/OneDrive/whatever so it syncs to all your computers. Keepass2Android works great and can read from most cloud storage s…

  3. comment
    Comment #13712691

    I hope it's clear from my previous comments that I don't actually disagree with you on most things, I've just had to make compromises that makes things more accessible to my client…

  4. comment
    Comment #13712224

    >> I guess you're using something like HTTP digest auth with usernames and passwords? Basic auth (over https only) actually, I'm even advocating it. We support expirable tokens as …

  5. comment
    Comment #13711852

    I suspect that we are designing for different clientele. I'm currently in charge of a pretty classic, GET things out, and POST things in API. If my API supports that some non-IT of…

  6. comment
    Comment #13709010

    I thought https was implied these days :) Yes absolutely https.

  7. comment
    Comment #13709001

    I should probably have moderated that statement, but mostly I think it's bad because it makes the versioning aspect inaccessible from the lowest common denominator, the browser add…

  8. comment
    Comment #13708872

    Context: Friendly banter >> Bottom line - your server should always return HTTP status 200 and a separate API error response. That is a very absolute statement from a pragmatic guy…

  9. comment
    Comment #13708667

    Yes, an additional 4xx code to help differentiate between api endpoints and resources would be nice. I didn't mean to imply that HTTP status codes could stand alone as error messag…

  10. comment
    Comment #13708358

    Basic auth is great. It lowers the barrier of entry, to anyone with a browser. Not all users of APIs are developers.

  11. comment
    Comment #13708326

    HTTP has some very useful status codes, which convey standard conditions found in most apis: 200, 201, 400, 401, 404, 403, 406, 429, 500 Also note that not all APIs will be used be…

  12. comment
    Comment #13708186

    Code can follow links as well, as long as the semantics doesn't change. Aside from versioning through mimetypes, which I believe is a really bad idea, I find HATEOAS to be a beauti…

  13. comment
    Comment #12878790

    Has anyone used Aurelia with succes? I'm currently looking into what our next client side framework should be and I have a really good feeling about Aurelia. It feels like someone …

  14. comment
    Comment #12741184

    Kilns biggest omission, which is what made me choose Bitbucket, is the lack of branch pull requests. Kilns commit-based PRs are useless in a feature branch workflow. Bitbuckets cod…

  15. comment
    Comment #12716271

    Use basic authentication and ssl. The users credentials will be encrypted and the API will be easily consumable from cli and from browsers.

  16. comment
    Comment #12705247

    I bought new certificates, for a new set of domains, through AlphaSSL today. One hour later customers starts calling, complaining about revoked certificates. Initially I assumed th…

  17. comment
    Comment #12275374

    As a Citizen of Denmark and a father of two (4 & 1), I absolutely love the danish stuff on Ramasjang and hate most of the American (foreign) stuff. The programs produced in DK are …