Please help contribute to the Reddit categorization project here

    porkslow

    + friends - friends
    27,664 link karma
    4,654 comment karma
    send message redditor for

    [–] In which Professional JavaScripters are confused and enraged by variable unpacking/spreading porkslow 9 points ago in programmingcirclejerk

    Because code should be readable. People who treat code as magic spells they don't want non-wizards to understand are the worst coders. Your code should be as stupidly simple as possible to anyone can read it. If you're worried about non-geniuses understanding your work of genius, it's not a work of genius.

    Found the commander

    [–] Why is 15m so tiny porkslow 7 points ago in apolloapp

    This has happened to me too.

    I think Apollo allocates certain space for the timestamp, for example "1m". When the value updates to for example "15m", the text updates but the space stays the same and that's how you get the squished text.

    But that's just my theory.

    [–] Saturo switches to a smaller bottle porkslow 1 points ago in soylent

    Same. I just ordered a shipment of YFood to try it out. If I like that I will seriously have to consider switching if they stick with the smaller bottle.

    [–] wat is ide porkslow 23 points ago in programmingcirclejerk

    When's the last time you read a book which listed every vocabulary word used in the text? Probably not since elementary school. As a more proficient reader in middle school, you probably just needed a glossary of less-frequent terms, and adult-level texts only define the most technical items of their vocabulary.

    When I was a child, I spoke as a child, I understood as a child, I thought as a child; but when I became a man, I put away childish things

    [–] Should I 4K? porkslow 1 points ago in mac

    You need at least a 2013 Retina Macbook Pro output a 4K signal at least according to Apple's support page.

    I think with a Mac that old you are stuck without any scaling so:

    • Resolution will be non-native and blurry
    • User interface elements will be really ridiculously small.

    I think you would be better off with a 1440p display.

    [–] If you downloaded the Bitcoin blockchain, you may have downloaded child porn porkslow 8 points ago in Buttcoin

    Any digital image is just a bunch of 1's and 0's, just as any words spoken are vibrations through the air. I humbly suggest you meditate on this reality.

    Sure, everything can be anything if you strip off all context.

    [–] 10x learns to optimize porkslow 6 points ago in programmingcirclejerk

    Edit: Why would you bundle deps separately?

    The idea is that your application code changes more frequently than your dependencies and this leads to less cache misses when the bundles are separated.

    Also "jQuery CDN" and "Boostrap CDN" are outdated non-webscale ideas from the time every site had just those two libraries. Nowadays you have million npm modules (left-pad and friends) that get bundled into megabytes of unreadable js using webpack.

    [–] 10x learns to optimize porkslow 23 points ago in programmingcirclejerk

    $(document).ready(function() {
       $('.lazyload').each(function() {
           //* set the img src from data-src
           $(this).attr('src', $(this).attr('data-src'));
       });
    });
    

    But... this isn't how lazyloading works

    [–] A JavaScript Comedy Night porkslow 4 points ago in programmingcirclejerk

    A static website? Just write some HTML ja CSS, right?.

    Nah, npm isntall webpack react next styled-components 😎

    [–] A JavaScript Comedy Night porkslow 15 points ago in programmingcirclejerk

    It’s more of a tragedy to be honest. So, a tragicomedy?

    [–] Stack Overflow Developer Survey 2018 porkslow 10 points ago in PHP

    Drupal: at least it's not as bad as SharePoint