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
7
Comments
73
Joined
3 yr. ago

  • 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.

  • 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.

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

  • Did somebody say Inferno?

  • Getting mangoed and eating a stone.

  • Whoops, typo! Fixed c:

  • Make your data useless or wrong.

    More passively, there's probably an oddly large amount of John Does born on January 1, 2000 ;)

    More offensively, anti-image-gen data poisoning such as Nightshade exists. It's well-defended against IIRC so hopefully someone can Cunningham's Law correct me. And this is also more solo of a movement (as opposed to gaining mass support for something)

  • NOOOOOO HOW DID I GET SHITTYMORPHED ON LEMMY

  • CRYPT-- oh, you mean how the nice tutorial peeps have affected us.

    Vimjoyer has increased the adoption rate for flakes on NixOS. And also NixOS use in general.

    Mental Outlaw has probably contributed to new Gentoo users, quoth the meme, but Gentoo is still a dying breed compared to its heyday in the early naughts.

    Fireship has made people -- particularly CS students I believe -- more comfortable with trying out new programming languages. (The "I'll check out the Fireship video first" approach. But then again, ChatGPT has arguably had the same effect across undergraduates... that's a digression)

    Asahi Lina's longform Rust dev work, while less of a network effect, has had its own substantial effects within the Asahi Linux "Linux on the M-series" sphere. I believe she also helped port a kind of anime mocap engine onto Linux, which could over the longterm boost the anime-nerd Linux-nerd center Venn diagram. But that's speculation.

    edit:

    In a broader perspective, with the combination of SteamOS and large YouTubers trying out Linux, Linux desktop adoption will probably increase more than it has now. I doubt it will pass 10% though with Linux's reputation (tech nerds, compile all day, games don't run, command line -- even though these are improving, it's hard to kick)

  • Not sure about the latter, but NZT was the focal "smart" drug in Limitless (a show on the premise "this drug makes u smart but if u stop taking it bad stuff happens")

  • Greppability also contributed to this thingy

     c
        
    int
    main()
    {
      // dam
    }
    
      

    in Mozilla C-style and GNU C-style projects. Of course, it's a remnant of the past (grep ^main), but kgmgaehgka.

  • For those who jump around too much like I do, remember:

  • Not that in particular, but design often comes down to the function f(keywords the branding people like) = very same-looking things. Yay trends.

    A lot of fashion companies wanted to be "simple. bold. modern but ready for the future." Now all their logo fonts are basically the same. It's also why everyone loves Futura.

    With websites, brand people pick the keywords "calm, professional, modern, reliable" and end up with blue so much that it's the most common website color. So I'm not surprised that the web designers in question picked something "friendly" and "modern" like some font you'd imagine would go well as white text on a matte or charcoal background.

    Same reason why I see so much Comfortaa on slideshows (alphabetically near the start of the font list, and f(modern, smart) = title font)

  • Okay, what were your last ten hyperfixations? (˵ •̀ ᴗ - ˵ ) ✧

  • And not to hang up on superficial stereotypes but metal is sophisticated too -- a lot of the voicing/structure/styling is so classical-and-jazz that, with instrument switches, it can be indistinguishable. Don't get me started on trying to claw my way through metal time signatures

    Case in point: Dmitri Shostakovich - String Quartet 8 (guitar version)

  • Oh my God I LOVE FONTS

    Spartan is a bit wide for me (see that w?) but Lato with a good colorscheme is always sexy

    Another thing: if you're familiar with fonts you can have a weird pseudo-Sherlock funtime guessing how something was made.

    points This book is using Georgia instead of Times New Roman. See how the 9 is low? But the page numbers are Times New Roman because the 9 isn't low. Was paging in the author's control?

    and

    font with the light blue shading thing. This club recruitment poster was made in Microsoft Word.

    About serif disdain... what about LaTeX's serif? :}

  • Lumberjack coffee programmer

  • Programming @programming.dev

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

    lazyvim-ambitious-devs.phillips.codes
  • Ask Lemmy @lemmy.world

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

  • Linux @programming.dev

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

  • Programming @programming.dev

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

  • Linux @programming.dev

    (solved for no reason) webcam stopped working after an Arch Linux update

  • Programmer Humor @programming.dev

    of=/dev/sda

  • Programming @programming.dev

    Julia Evans' Git cheat sheet