Why are you here weirdo?

  • 15 Posts
  • 425 Comments
Joined 1 year ago
cake
Cake day: May 28th, 2024

help-circle

  • A couple favourites:

    “I should have never switched from scotch to martinis.” Marlon Brando

    “I can’t take it anymore!” -Rodney Dangerfield

    If I could choose what mine would be:

    “Knock, knock…”

    “Who’s there?”

    dead

    I don’t know why, but I find this incredibly humourous.

    Related, I don’t want to be buried in a graveyard but if I did I would want “I thought it would be funny” on my gravestone.





  • From what I have read there isn’t any legitimate brain training apps for the average person. I know there are apps out there to help with specific disorders and things like that having some positive results, but everything I have seen on brain training shows little benefit from it, and it is really just a way to make yourself feel like you are doing something from what I can tell.

    That being said, as someone with a bad memory, keeping a detailed journal and writing important or interesting things down when they happen help me remember things much better. If you can say what you want to remember out loud that is even better because it is another way to solidify what you are trying to remember.

    A trick my counselor taught me is to Journal before bed, read what you wrote when you are finished, and then go to sleep. This is supposed to help with long term memory of what you wrote down, and I have seen improvement doing this with my long term memory.



  • mainNumber = 10000
    count = 0
    
    def addNumber():
        global mainNumber
        if mainNumber >= 0:
            mainNumber += 10
        if mainNumber >= 9:
            mainNumber += 7
        else:
            mainNumber += 13
    
    def subNumber():
        global mainNumber
        if mainNumber >= 10:
            mainNumber -= 6
        elif mainNumber >= 100:
            mainNumber -= 56
        elif mainNumber >= 1000:
            mainNumber -= 560
        else:
            mainNumber -= 2
    
    def multNumber():
        global mainNumber
        if mainNumber <= 100:
            mainNumber = mainNumber * 2
        else:
            mainNumber = mainNumber * 3
    
    def divNumber():
        global mainNumber
        if mainNumber > 1000:
            mainNumber = mainNumber / 5
        if mainNumber < 1000:
            mainNumber = mainNumber / 3
        if mainNumber < 0:
            mainNumber = mainNumber * -1
    
    while mainNumber != 1:
        count += 1
        addNumber()
        subNumber()
        multNumber()
        divNumber()
        print(mainNumber)
        if count == 1000:
            break
    
    

    This is not the most interesting script in the world, I made it to practice while loops that I absolutely sucked at and see what funky things happen.

    This script does nothing if you put in mainNumber = 1 for obvious reasons, but if you put in 2-21 it will evaluate to 21.99999999999999, 22 evaluates to 22 1000 times, and mainNumber = 23 or higher evaluates to 22.00000000000001.

    I have not found a whole number that doesn’t follow this pattern yet (Truthfully haven’t dug as far as I would like) but it is interesting how this little practice script did something like this when I was just messing around.









  • Arkouda@lemmy.catoLinux@lemmy.mlNewbie with kubuntu - tips?
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    6 days ago

    The best tip I received when starting on Linux was “Break shit”, and I believe it is still the best advice out there.

    Keep an install ready, and go to town on your distro of choice. Test commands, turn things on and off, delete things, move things, and literally break shit. Then see if you can put it back together again. If not, install a fresh one and try again.

    Repeat until you get it. haha