confusedpuppy

joined 2 years ago
[–] confusedpuppy@lemmy.dbzer0.com 2 points 2 months ago

The first picture was from the end of last year and the second was from last night after a fresh shed and looking to warm up on my arm.

[–] confusedpuppy@lemmy.dbzer0.com 5 points 2 months ago

I'm happy to have such a strong thought to verbalization filter. For every reasonable thing I say, there's at least 20 really dumb, absurd or unhinged thoughts that fly across my mind.

I wonder how many calories are wasted on all that unwanted thinking...

[–] confusedpuppy@lemmy.dbzer0.com 2 points 2 months ago (2 children)

I'd either need a bigger room or something portable and collapsible. Also, since it's spring time I lose 1/4 of my room for the rest of the year to set up an outside play area for my gecko.

[–] confusedpuppy@lemmy.dbzer0.com 2 points 2 months ago (6 children)

I spend a lot of time on the floor. I even bought a meditation mat for a little bit of padding.

I'll also lay on the floor. I have a firm bed but sometimes it's just nicer on the floor. Even as a child, if I was stressed, I'd end up laying on the floor. It's very grounding from that perspective.

I'd love to get a low desk one day so I can work while sitting on the floor. I always sit cross legged or on a foot but it's very uncomfortable on chairs designed only for the size of a butt.

[–] confusedpuppy@lemmy.dbzer0.com 12 points 2 months ago

I hate digital clutter and regularly clear out old data I don't want anymore. My browser is set to clear everything when I close it. If I find something useful, I bookmark it. Once in a while I'll sort out any unsorted saved bookmarks and make a backup of the cleaned up list.

I'm also similar in real life though. I'm quite minimal and prefer only to have what is useful or meaningful to me.

My digital life and personal life are very similar.

[–] confusedpuppy@lemmy.dbzer0.com 1 points 2 months ago* (last edited 2 months ago)

I ended up using dot-files like you suggested. Instead of multiple source/destination locations within one dot-file, I've set it up to read multiple dot-files that contains one source/destination location each.

Now I can use the command dir-sync /path/to/directory/.sync1 /path/to/directory/.sync2 or dir-sync /path/to/directory/* which is close enough to how I imagined it working.

The challenge is that POSIX shell only has one array to work with. I may be able to inefficiently use more arrays, and I might try just for fun in the future but for now I have something that functions the way I want it to. I would have to use something like Bash if I intend to work more in depth with arrays though.

.sync-0 example

SOURCE_DIRECTORY_PATH="/home"
SOURCE_DIRECTORY_PATH_EXCLUSIONS="--exclude=.sync* --exclude=lost+found --exclude=.cache/*"
DESTINATION_DIRECTORY_PATH="/media/archive/home"

dir-sync script

#!/bin/sh



# VARIABLES
## ENABLE FILE TRANSFER: Change variable `DRY_RUN` to `#DRY_RUN` to enable file tranfers
DRY_RUN="--dry-run" # Disables all file transfers

## OPTIONS (SCRIPT DEFINED/DO NOT TOUCH)
OPTIONS="--archive --acls --one-file-system --xattrs --hard-links --sparse --verbose --human-readable --partial --progress --compress"
OPTIONS_EXTRA="--delete --numeric-ids"



# FUNCTIONS
## SPACER
SPACER() {
    printf "\n\n\n\n\n"
}

## RSYNC ERROR WARNINGS
ERROR_WARNINGS() {
    if [ "$RSYNC_STATUS" -eq 0 ]; then

        # SUCCESSFUL
        printf "\nSync successful"
        printf "\nExit status(0): %s\n" "$RSYNC_STATUS"

    else
        # ERRORS OCCURED
        printf "\nSome error occurred"
        printf "\nExit status(0): %s\n" "$RSYNC_STATUS"
    fi
}

## COPY INPUT STRING ARRAY
COPY_ARRAY()
{
    for i do
        printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/"
    done
    printf " "
}

## CONFIRMATION (YES/NO)
CONFIRM_YESNO() {
    while true; do
        prompt="${1}"
        printf "%s (Yes/No): " "${prompt}" >&2 # FUNCTION CALL REQUIRES TEXT PROMPT ARGUMENT
        read -r reply
        case $reply in
            [Yy]* ) return 0;; # YES
            [Nn]* ) return 1;; # NO
            * ) printf "Options: y / n\n";;
        esac
    done
}

## DRY RUN
DRY_RUN() {
    # ARRAY SETUP
    eval "set -- ${1}" # ${ARRAY}

    for i do
        # SET CURRENT VARIABLE FROM ARRAY
        current_array="${1}"

        # SET VARIABLES FROM SOURCE FILE
        . "${current_array}"
        source_dir="${SOURCE_DIRECTORY_PATH}"
        exclusions="${SOURCE_DIRECTORY_PATH_EXCLUSIONS}"
        destination_dir="${DESTINATION_DIRECTORY_PATH}"

        # RUN RSYNC DRY RUN COMMAND
        SPACER
        printf "\nStarting %s dry run\n" "${source_dir}"
        rsync --dry-run ${OPTIONS} ${OPTIONS_EXTRA}  ${exclusions} "${source_dir}"/ "${destination_dir}"/
        RSYNC_STATUS=$?
        ERROR_WARNINGS

        # SHIFT TO NEXT VARIABLE IN ARRAY
        shift 1
    done
}

## TRANSFER
TRANSFER() {
    # ARRAY SETUP
    eval "set -- ${1}" # ${ARRAY}

    for i do
        # SET CURRENT VARIABLE FROM ARRAY
        current_array="${1}"

        # SET VARIABLES FROM SOURCE FILE
        . "${current_array}"
        source_dir="${SOURCE_DIRECTORY_PATH}"
        exclusions="${SOURCE_DIRECTORY_PATH_EXCLUSIONS}"
        destination_dir="${DESTINATION_DIRECTORY_PATH}"

        # RUN RSYNC TRANSFER COMMAND
        SPACER
        printf "\nContinuing %s transfer\n" "${source_dir}"
        rsync ${DRY_RUN} ${OPTIONS} ${OPTIONS_EXTRA} ${exclusions} "${source_dir}"/ "${destination_dir}"/
        RSYNC_STATUS=$?
        ERROR_WARNINGS

        # SHIFT TO NEXT VARIABLE IN ARRAY
        shift 1
    done
}



##### START

# CHECK FOR ROOT
if ! [ "$(id -u)" = 0 ]; then

    # EXIT WITH NO ACTIONS TAKEN
    printf "\nRoot access required\n\n"
    return

else
    # ARRAY SETUP
    ARRAY=$(COPY_ARRAY "$@")

    printf "\nStarting transfer process..."

    # SOURCE TO DESTINATION DRY RUN
    DRY_RUN "${ARRAY}"

    # CONFIRM SOURCE TO DESTINATION TRANSFER
    SPACER
    if CONFIRM_YESNO "Proceed with transfer(s)?"; then

        # CONTINUE SOURCE TO DESTINATION TRANSFER & EXIT
        TRANSFER "${ARRAY}"

        printf "\nBackup(s) completed\n\n"
        return

    else
        # SKIP SOURCE TO DESTINATION TRANSFER & EXIT
        printf "\nBackup(s) skipped\n\n"
        return
    fi
fi

##### FINISH

I now have a bunch of other ideas on how I want to improve the script now. Adding ssh/network options, a check to make sure there are no empty command arguments, an option to create a blank template .sync- file in a chosen directory and a reverse direction transfer option are a few things I can think of off the top off my head. Hopefully this array was the most difficult part to learn and understand.

[–] confusedpuppy@lemmy.dbzer0.com 7 points 2 months ago

This seems to over simplify the complex feelings I have in both those situations and does not quite fully resonate with me. I can sit with this and over analyze it but I choose not to because there isn't much need to for me.

I don't always need an explanation for why I am enjoying living in the moment, what's important is that I am living in the moment. Those are the memories that are truly important to me because I get to enjoy them for myself later on my own time.

[–] confusedpuppy@lemmy.dbzer0.com 20 points 2 months ago (2 children)

I'm super quiet and often look well composed but emotionless. It seems to give off an aura of confidence which is a complete contradiction to the overstimulated chaos happening inside.

Since I am so quiet because of over stimulation, people react by either assuming I know too much or I'm a absolute idiot who needs to be talked to like a toddler. This ends up with people expecting me to just know everything or thinking I know nothing at all. There's rarely ever someone that treats me as average, just like everyone else on this planet.

The worst part about adhd and autism is that everything seems to be a contradiction. I personally have leaned into the contradiction because it's the only way to be comfortable with myself. It may not always make sense but if it works and I am happy and no one is being hurt, there shouldn't be an issue about it. I am a human being, just another animal on this planet.

I think me acknowledging and embracing that contradiction scares people and a result, takes it out on me for being comfortable in my own contradictions.

Why do I hate crowds and loud noises but love to dance in a big happy, sweaty crowd with loud music? Fuck if I know but it makes me happy. Why do I need structure in my daily life but can't plan a trip beyond a return plane ticket and 5 nights booked somewhere at a hostel for a 3 months trip to Europe? Fuck if I know but I survived and it made me happy.

I can't outrun my adhd so why not embrace it.

[–] confusedpuppy@lemmy.dbzer0.com 13 points 2 months ago* (last edited 2 months ago) (1 children)

Depend on who I am around, I will either over explain things or say the least amount of words possible.

If I'm around people who make assumptions, I will give the shortest answer possible and let them read between the lines. I won't challenge them. If they refuse to listen to me the first time then they don't deserve to know anything about me.

So many guys at my last job thought I was gay. Never challenged them. If they asked me leading questions to try and figure out if I was actually gay, I'd give them a short, ambiguous answer. They couldn't figure me out and that drove them insane. My very nosy sister who does nothing but assume everything about me gets very upset with me because all I say is "I don't know."

If I'm with a close friend, I can talk none stop for 7+ hours, until my voice is raspy and my throat is sore. Even my therapist said I talk a lot in our last session. Although that's not really over explaining things. They tend to be more understanding from the start.

The older I get, the less energy I have towards people who spend all their energy trying to read between the lines.

[–] confusedpuppy@lemmy.dbzer0.com 3 points 2 months ago (1 children)

I pretty much just went crazy with the egg shells and added a bit more mulch to balance it out. My parents eat eggs every morning and just put them in an uncovered container to dry out.

I didn't think to treat the egg shells but I will keep that in mind for the next time. All I really did was spend some time with my pestle and mortor in the sun and grind them down.

Over the last couple years, I just sort of threw all the trimmings back into the garden, especially the tomato plants. Then I just started throwing all my food scraps in there because why not. I'm sure all the bugs appreciate it and their poop is good for the plants too.

I also covered the garden bed with leaves last year to protect the soil, and when that breaks down it should add more nutrients to the soil too. Trying to copy what a forest does with their leaves for the winter.

[–] confusedpuppy@lemmy.dbzer0.com 4 points 2 months ago (3 children)

The weather has slowly been warming up so the most I've been able to do is prep the gardens with compost and used mulch from the mushroom farm nearby.

I am trying to start my seeds with some compressed soil blocks I made. I used some backyard soil, compose, mulch and a bunch of crushed eggshells from my parents. I managed to get a couple peas and beans started with my first attempt before remaking the remainder to be less soil dense. We'll see how it goes the second time around.

My collard green from last year survived this long winter. Happy to see it thriving.

I can't wait for a stretch of warm weather. I'm too lazy to properly compost so I've been burying all the veggie scraps in my garden beds all winter and spring. I know once it's warm it'll break down real quick but for now it's just kinda there...

[–] confusedpuppy@lemmy.dbzer0.com 3 points 2 months ago

I have a small partition that has a copy of Linux Mint live USB. I also have another partition that holds my backups. When I inevitably break my system, I launch Mint and use an rsync command I keep in a text file to revert back to the backup I made.

Using Mint's live usb image has multiple benefits. It has Gparted for partition management. It has basic apps like LibreOffice and Mozilla in case I need them. It has proper printer support too. And since it's a live usb image, every time I launch it, the environment will always be the same. No changes are permanent and will disappear after a reset.

My days of using Mint may be over, but it's too reliable to ever truly leave my system.

view more: ‹ prev next ›