Error message: the system does not have enough working memory.

  • @xmunk@sh.itjust.works
    link
    fedilink
    English
    12
    edit-2
    9 months ago

    Solve it with function currying!

    https://en.m.wikipedia.org/wiki/Currying

    In some programming languages functions can only technically take a single argument… so a multi argument function like f(a,b,c) is turned into a function like f(a)(b)(c) where f(a) returns a function g() which can take argument b which will then return a function h() that takes argument c then that function will return the actual expected result.

    Stop thinking about tasks as taking twelve steps, think about them of having two - do the first thing then, once that is done, think about how you’ll do the next eleven, then do the next thing, then think about how to do the next ten etc…

    In my day job I often work on really large and complex problems, I approach them by scoping them down to small solvable problems so I don’t spiral off into analysis paralysis.

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      English
      59 months ago

      Same, same ☹️

      My swap memory at the moment is my calendar, various whiteboards and postit notes

  • @CookieJarObserver@sh.itjust.works
    link
    fedilink
    English
    49 months ago

    My memory is the exact opposite, i can remember the most complicated things but cant remember what i did yesterday or in the last 10 years like in general…

    • 𝒍𝒆𝒎𝒂𝒏𝒏
      link
      English
      29 months ago

      I’ll sit at my computer and start copying some big files, pop open the browser to pass time and completely forget why I even sat at my computer 🥲