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/)S
Posts
18
Comments
224
Joined
2 yr. ago

  • My fiancée told me to read Dracula, so that's what I'm reading now - between the 1st time she told me and now I've read the Green Mile and the Running Man, so I couldn't postpone it any longer.

    I'm listening to At the Mountains of Madness after having finished the Fall of Hyperion, as a break from Hyperion Cantos.

  • Without you I wouldn't know Stormlight 5 was released. Hope you enjoy Witcher.

  • inheritance rarely solves anything

  • one of the situations in which it should be "for lil bro and me"

  • at the bottom

  • what's an example of password that can be guessed by logic?

  • context please

  • fleeting whim of a service industry job in Europe means 3 months notice though

  • Moulin Rouge reference?

  • :*

  •  
        
    type NonEmptyArray<T> = [T, ...T[]];
    
    function isNonEmptyArray<T>(arr: T[]): arr is NonEmptyArray<T> {
        return arr.length > 0;
    }
    
    function neverEmpty<T>(array: T[]): NonEmptyArray<T> | null {  
        if (!isNonEmptyArray(array)) return null
    
        return array
    }
    
      
  • which half?

  • not my title, but it is kinda in your face.

    I agree "recommendations" or "pointers" would not come across as so selfğrighteous

  • Have you actually implemented a custom type guard or just asserted size?

  • I absolutely abhor it when the command includes $ that copies with it. It means nothing to the beginner's and the pros know it is a command.

    I wrote under other comment:

    yeah, I'd give it as 4 separate copy-pastable commands and then write "or as one command..."

  • sorry for your disappointment

  • yeah, dude's a beast