Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)F
Posts
28
Comments
294
Joined
3 yr. ago

  • A cogirl is a cogirloid in the category of cogirlfunctors

  • First, imagine a number in JavaScript. (Bit of a nail biter here, huh?)

     javascript
        
    let i = 5
    
      

    Then, we will construct an incrementor. This is really simple: here is the method.

    1. Make a bracket-string-centric version of eval().

     javascript
        
    []["filter"]["constructor"]("return i+1")()
    
      

    1. Reconstruct stringy eval() by using +[] as 0, +!+[] as 1, and implicit conversions as ways to create strings. For example, 'false' is (![]+[]), so 'f' is (![]+[])[+[]].

     javascript
        
    [][
      (![] + [])[+[]] + // f
      ([![]] + [][[]])[+!+[] + [+[]]] + // i
      (![] + [])[!+[] + !+[]] + // l
      (!![] + [])[+[]] + // t
      (!![] + [])[!+[] + !+[] + !+[]] + // e
      (!![] + [])[+!+[]] // r
    ][
      ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
      (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
      ([][[]]+[])[+!+[]]+ // n
      (![]+[])[!+[]+!+[]+!+[]]+ // s
      (!![]+[])[+[]]+ // t
      (!![]+[])[+!+[]]+ // r
      ([][[]]+[])[+[]]+ // u
      ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
      (!![]+[])[+[]]+ // t
      (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
      (!![]+[])[+!+[]] // r
    ]("return i+1")()
    
      

    1. Draw the rest of the fucking owl. Final code:

     javascript
        
    let i = 5; // haha yay
    
    [][
      (![] + [])[+[]] + // f
      ([![]] + [][[]])[+!+[] + [+[]]] + // i
      (![] + [])[!+[] + !+[]] + // l
      (!![] + [])[+[]] + // t
      (!![] + [])[!+[] + !+[] + !+[]] + // e
      (!![] + [])[+!+[]] // r
    ][
      ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
      (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
      ([][[]]+[])[+!+[]]+ // n
      (![]+[])[!+[]+!+[]+!+[]]+ // s
      (!![]+[])[+[]]+ // t
      (!![]+[])[+!+[]]+ // r
      ([][[]]+[])[+[]]+ // u
      ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
      (!![]+[])[+[]]+ // t
      (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
      (!![]+[])[+!+[]] // r
    ](
      (!![]+[])[+!+[]]+ // r
      (!![]+[])[!+[]+!+[]+!+[]]+ // e
      (!![]+[])[+[]]+ // t
      ([][[]]+[])[+[]]+ // u
      (!![]+[])[+!+[]]+ // r
      ([][[]]+[])[+!+[]]+ // n
      (+[![]]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+!+[]]]+ // ' '
      ([![]]+[][[]])[+!+[]+[+[]]]+ // i
      (+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]])+[])[!+[]+!+[]]+ // +
      +!+[] // 1
    )()
    // no virus i swear. execute arbitrary code in your browser console.
    
      

    Anyway, that's just everyday JS work. It's like step 5 after resizing the button, but a bit before centering the div.

    based on this. some translation methods done differently.

  • ══════════•⊱💀⊰•═══════════

    •STYLISTIC BREADTH

    ══════════•⊱💀⊰•═══════════

  • Doesn't anyone here know that the Death Note (1) curses all those who use it with misfortune and (2) will trap your soul in limbo after use?

    Nah, I'm good. Tweezers and a matchstick.

  • Amazing read, thank you for this. Saved

  • Multipliers, positive reinforcement, and gamified number-go-up. I like it, I'll check it out.

  • Even more magical is the lossless Zstandard is this a name drop?. It does so much stuff, it's awesome!

    • hella fast compared to similar-leveled compressors (zoom)
    • no matter the zstd compression level, decompression takes equal time! (ux!)
    • zstd can use a user-given dictionary, or train its own on a sample set (wowie)
    • zstd can be used for live compression (compress and decompress as you read and write, not before or after)
      • on ram (install more ram??)
      • in filesystems (2.5x your disk??)
      • saves CPU by not compressing if it's not worth it (efficiency!!)
    • use ALL the cores!

    So kool. lol

  • Did you see Mozart's new concerto?

  • Everyone's speculating so I'll put in something concrete:

    About 3 months ago, r/wholesomememes mods clamped down on karma-farm bots as hard as they could...

    causing no new posts to appear for two entire days.

    Hey there friends! It’s only been a few days since we started cracking down on the spam bots and excessive reposts that have been plaguing r/WholesomeMemes - and now there is nothing left! --mod

  • Did somebody say Inferno?

  • erasure edit: ok nvm, thanks

  • Getting mangoed and eating a stone.

  • 196 @lemmy.blahaj.zone

    rap god

  • Interesting, 18 up and 16 down as of this comment. Because this started with ~2 downvotes (the first image had terrible jpeg for a few minutes), we either have

    1. my taste did not land
    2. early downvotes beget more downvotes

    this comment is here for notetaking. let's see if i'm a moron or if iambs are stronger than herds.

  • Lemmy Shitpost @lemmy.world

    rap god

    1. e4 d197
    2. e5 d196
    3. e6 d195
    4. e7 d194
    5. e8 d193
    6. e9 d192
    7. e10 d191...
    8. e100 d101
    9. exd101 Scandinavian Gambit Accepted
  • That's an interesting perspective actually

    Maybe it's because of who's giving them? If my little cousin gave me an AI Christmas card, I'd be happier than if a stranger gave me one on the street. (Though I'd feel bummed if they didn't even marker in a single custom sentence)

    i.e. higher standards of creativity/effort from a stranger than from a family member.

    Also the stranger isn't stuffing a tenner in the card lmao

  • hopeposting @lemmy.world

    i grow

  • Whoops, typo! Fixed c:

  • its 3am and i laughed my ass off. why?

  • Yep, see sidebar :P

  • Linux @lemmy.ml

    Merry non-AI Christmas, Linuxers

  • Asklemmy @lemmy.ml

    What advice have you heard or tried that was just flat-out wrong?

  • 196 @lemmy.blahaj.zone

    i (r)eq(u)ire "anime imposed into real (l)if(e)"-genre images

  • Asklemmy @lemmy.ml

    How do you deal with the inexorable march of time?

  • News @lemmy.world

    'They Continue to Abuse Our Country for Immense Profit': Luigi Mangione's Manifesto Leaks Online

    gizmodo.com /they-continue-to-abuse-our-country-for-immense-profit-luigi-mangiones-manifesto-leaks-online-2000536812
  • Dull Men's Club @lemmy.world

    I drank some water at three A.M.

  • Programming @programming.dev

    LazyVim for Ambitious Devs (aka: lazyvim, instead of vim → neovim → lazyvim)

    lazyvim-ambitious-devs.phillips.codes
  • Showerthoughts @lemmy.world

    A thousand people will read this.

  • Linux @lemmy.ml

    Linux is now an RPG. What do you have? (totally not r/outside)

  • Ask Lemmy @lemmy.world

    Unregistered Hypercam 2. What's the first memory that popped into your head?

  • Asklemmy @lemmy.ml

    How can a layperson learn enough about the law to adapt to a police situation?

  • Linux @programming.dev

    Is there a working method to use argon2id with encrypted /boot?

  • Linux @lemmy.ml

    NixOS: How does daily driving fare for time-strapped users?

  • Asklemmy @lemmy.ml

    What higher/specialized ed do you have? How'd it help you get/keep your job?

  • Asklemmy @lemmy.ml

    What was the last skill you learned and how?

  • Linux @lemmy.ml

    Do people use Autotools in new projects anymore?

  • Programming @programming.dev

    Can I run a bookmarklet/js on a mobile browser?