Skip Navigation

Posts
24
Comments
564
Joined
3 yr. ago

  • Different==hard

  • My mum says I'm fire

  • Think of the compounding interest on those savings though

  • Friend that works in IT -> Dedicated Cyber Centres -> Auctions near offices -> FB or ebay

  • Deleted

    Permanently Deleted

    Jump
  • The secret ingredient is crime

  • Just one more leverage bro

  • Deleted

    Permanently Deleted

    Jump
  • Victorians did it

  • Removed

    New Youtube UI

    Jump
  • Apple has dictated to the Frontend devs that rounded round glass is back

  • It does, and looking like their internal DynamoDB api's are the main symptom of it/

  • So less of a percentage than the readers and mass media

  • Is it water type or fire type at the moment?

  • Affiliate advertising page, nothing more

  • Deleted

    Permanently Deleted

    Jump
  • Ma'am, I am a professor in spider skeletons I would think I know one when I see one.

  • Deleted

    Permanently Deleted

    Jump
  • Looks oddly specific to my Sainsbury's but also the spider skeleton is clearly the one

  • Look we have become man

  • It's fine just the monthly pump and dump you didn't benefit though so enjoy the extra cost as funds just got shifted again

  • Monads

    Jump
  • God, you guys are idiots, it's so simple

    • You take a Function
    • ?????
    • Result It can't be simpler /s

    No joke that's pretty much every example I came across trying to get my head around it :D.

    Not sure if using analogies is helpful or just going to be more confusing but, the way I think of a monad is similar to how I used to cook back when I worked in restaurants. I’d prep all my ingredients in small containers so I wouldn’t forget anything, and they’d be ready to go when needed. Then I’d start adding them to the main mixing bowl, one step at a time. If I forgot an ingredient or accidentally flipped the bowl, the recipe would fail — you can’t keep baking after that.

    So a monad is like that bowl: if you mess up, it just dumps everything out and resets your little prep bowls, instead of letting you keep going and make a batch of shitty cookies

    The “main-bowl” is the monad (the context that holds your values).

    The “prep bowls” are the individual values or functions ready to be chained.

    The “dump/reset” is the idea that once something goes wrong, the chain stops safely.

    And “shitty cookies” are the result of not putting a monad in place and just sending it.

    Maybe someone with a more diverse programming background can explain it better. But it's basically a function checker usually wraped in IF ELSE and RETURN.

    Some pseudo code in case my analogy doesn't make sense.

     
        
    def main():
        bowl = get_flour()
        bowl = add_butter(bowl)
        
        if bowl is None:
            return "Recipe failed — restart!"
    
        bowl = add_sugar(bowl)
        
        if bowl is None:
            return "Recipe failed — restart!"
    
        return bake(bowl)
    
      

  • Was an exaggeration but they do have a big one that looks like it's coming out the ground that makes noise

  • Real wealth is the 20ft Costco one that talks