Live data from Hacker News

Viewing profile — elclanrs

elclanrs

HN member
Joined
Mon, May 21, 2012, 9:36 PM UTC
HN karma
33
Public activity
73 items

About elclanrs

No profile information was provided.

Recent public activity

  1. comment
    Comment #11346666

    Do you mean like npm's shrinkwrap [1]? [1] https://docs.npmjs.com/cli/shrinkwrap

  2. comment
    Comment #9429962

    Unfortunately that won't work as expected, you'll need something ugly like: Array.apply(null, Array(26)).map((_, index) => String.fromCharCode(65 + index))

  3. comment
    Comment #9189828

    I find it useful to have `unary` and `apply` around: [1,2,3].map(unary(User)) [[1,2],[3,4],[5,6]].map(apply(User))

  4. comment
  5. comment
    Comment #8310377

    In dynamic languages I don't see the need to create a Monad interface. I'd create classes/objects and simply use instances of those objects. As long as they conform to the desired …

  6. comment
    Comment #7771709

    Function declarations inside blocks are illegal, technically, because of hoisting. See http://kangax.github.io/nfe/#function-declarations-in-blocks

  7. comment
    Comment #7484673

    I was a Photoshop user for a long time, but haven't looked back since I moved to Linux full time a few years back. The challenge was to use libre software for everything and reduce…

  8. comment
    Comment #7390200

    Nice laptop, but unusable website. It takes 3+ seconds to at least see something, and the scrolling effect makes everything seem so slow. There is an obvious memory leak somewhere,…

  9. comment
    Comment #7209799

    I find this paper [1] very interesting and elaborates on this issue -- "From experience it appears that there are three major semantic hurdles which trip up novice imperative progr…

  10. comment
    Comment #7199711

    I agree. I think music and sports consciously impact your code as well. Skills with a mix of creativity and endurance are going to affect the way you think about problems, in gener…

  11. story
  12. comment
    Comment #7188143

    Then Windows Update: "Your computer will restart in 10 minutes". Postpone 4 hours. Glad I'm on Ubuntu 99% of the time nowadays.

  13. comment
    Comment #7188077

    Australis looks nice in Ubuntu. The new menu is much better with big icons and can be customized however you like it. It's great IMO. I took a couple screenshots from latest nightl…

  14. comment
    Comment #7154108

    "You might not need jQuery" -- But you have to cope with ugly syntax, browser compatibility hacks, and disconnected pieces of code. By the time you re-factor all of this, make it u…

  15. comment
    Comment #7122657

    In LiveScript there's a := operator. From the docs -- "However, unlike CoffeeScript, you must use := to modify variables in upper scopes" -- I find LiveScript overall a better alte…

  16. comment
    Comment #7087817

    Looks like a nice library, but I'm not in love with the syntax; I find it a bit confusing TBH... But it packs some nice features, specially the validation and precendece awareness.…

  17. comment
    Comment #7060942

    You can use viewport units in modern browsers. See here http://caniuse.com/viewport-units

  18. comment
  19. comment
    Comment #7051840

    I'd use: bar = bar != null ? bar : 'default';

  20. comment
    Comment #6978943

    Ubuntu 13.10 on both desktop and laptop. I just love Unity.

  21. story
    "do" monad syntax in JavaScript

    Just an experiment. Gist https://gist.github.com/elclanrs/8034102

  22. comment
  23. comment
    Comment #6710746

    I would definitely go with ASUS Zenbook. I have the 13.3 Zenbook (i5, 4gb, 1080p) and I can code very comfortably on it. The IPS screen is great and even better once calibrated. It…

  24. comment
    Comment #6693049

    Well, I downloaded IE11 to replace IE10 on my VM, and all the issues I had with my current WIP are still present. I'm using `calc()` heavily for a quite complex responsive layout, …

  25. comment
    Comment #6578669

    ASUS Zenbooks are great, very light, solid aluminum build, 1080p IPS matte panel, 6+ hours battery life. I'm quite happy with mine.