Live data from Hacker News

Viewing profile — d4n3

d4n3

HN member
Joined
Tue, Aug 23, 2011, 7:48 AM UTC
HN karma
66
Public activity
48 items

About d4n3

No profile information was provided.

Recent public activity

  1. comment
    Comment #22064803

    Great idea... I don't mind paying for good games, but what i do mind is games that try to squeeze as much money out of you for just playing it, which fits your definition of bullsh…

  2. comment
    Comment #11438184

    > The price is defined primarily by how much you ask for and what you can offer in return. I couldn't agree more. I know a lot of developers that have the mentality to just accept …

  3. comment
    Comment #11238767

    It seems like you're comparing current conversion rates vs. past conversion rates.. Did you try AB testing this side by side? It's not necessarily only the effect of image optimisa…

  4. comment
    Comment #10782998

    I think this actually wasn't an arbitrary choice, but a result of the algorithm.. e.g. factors are displayed as clusters ordered in a circle (factors of 2 is a circle with groups o…

  5. comment
    Comment #10656129

    Very cool visualization... I wonder how they get their data?

  6. comment
    Comment #10492080

    you could probably combine this with the font-face trick to target different letters

  7. comment
    Comment #10491966

    you could combine this with ::first-letter and custom selectors for each item of interest to get more specific data from targeted page elements... If there was a way to target n-th…

  8. comment
    Comment #10451650

    Chrome devtools sort selectors by specificity by default and you can quickly see what order the selectors / properties were applied in and what overrided what. Most of the !importa…

  9. comment
    Comment #10451363

    > as they seem not fully aware of the standard order of conflict resolution I'd say it's the other way around - a lot of usages of !important are due to lack of understanding of CS…

  10. comment
    Comment #10072067

    There' a user switcher button in the top right corner, you can have multiple browser sessions with seperate histories / cookies (e.g. work / personal)

  11. comment
    Comment #9827096

    Right, with lots of elements, React still needs to render and diff each component which for a lot of elements causes a lot of garbage and diffing work. ShouldComponentUpdate / Pure…

  12. comment
    Comment #9827062

    PureRenderMixin is basically shouldComponentUpdate with a shallow comparison of previous/next props and state, but the big win is avoiding render and diff for the component, so ret…

  13. comment
    Comment #9826861

    PureRenderMixin would defenitely help here, even to the point where it's comparable with the js solution. Even though keys help here, render is still called for every image every t…

  14. comment
    Comment #9255601

    For me it was trying to index a huge folder containing images, you can use project settings to exclude some folders with the folder_exclude_patterns setting.

  15. comment
    Comment #9124730

    I think modern browsers prevent cross-requests to local subnets so this may mitigate CSRF

  16. comment
    Comment #9118951

    Ah ok. At first glance it looked like he was putting together something like an url.

  17. comment
    Comment #9118917

    It's way better to use [values].join('') here... It's probably faster and it coerces all values to string. If the first couple of results were numbers or booleans, they would be su…

  18. comment
    Comment #9118824

    Javascript has "semicolon insertion". It tries to parse a newline with no semicolon as continuing the current expression, if it can't, it inserts a semicolon. It's a 'feature' that…

  19. comment
    Comment #9118816

    Jshint catches this with 2 warnings: missing semicolon and expected assingment or function call. In Sublime text 3, you can have inline warnings and as-you-type linting with the su…

  20. comment
    Comment #9118736

    I love this quote in the comments: > when you have REPL you are TDD’ing in a different way as opposed to constructing persistent unit-test classes that could potentially form a lay…

  21. comment
    Comment #9041420

    Wow, that was exactly what happened to me... Everything is so sharp and square here.

  22. comment
    Comment #9035148

    Sorry, which library do you mean? The OP is a javascript library.. I just wanted to point out that regex is much faster in javascript than doing things 'by hand'.

  23. comment
    Comment #9034852

    > you'll want to replace them with code written in the native language Probably not true for Javascript (and other scripted languages) - matching regex uses native and highly optim…

  24. comment
  25. comment
    Comment #9011363

    This is kind of disappointing.. I thought it would actually compile or something. Is it even possible with that BMP header? Only writing some text as a bitmap isn't very impressive…