No for real, I’m bored. Ask me stuff lol.

I’m trying to not lose my mind debugging this stupid Android app. I’m jobless and don’t know what I’m doing with my life.

Recently got diagnosed with ASD at 40. I’m severely depressed and suicidal. I listen to shitty music, read theory and pretend I understand it, oh and I’m super hungover because I suffer from alcoholism. I’m an open book so please don’t doxx me <3.

  • roux [he/him, they/them]@hexbear.netOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I actually still have both my lemmy.ml and lemmygrad accounts. Not sure how I wannna proceed with those since I am subbed to a few lemmy.world comms and the defedded from hexbear for no real reason.

    So my stupid bug this week was trying to figure out why I couldn’t get kotlin to be able to pass a list from one activity to another with this app I am working on. I had to basically rewrite the whole thing(with painful help from chatGPT) and it still wasn’t working. Both times I tried it it was wanting to send the data in a comma-separated string. Which could have worked but I coulde really figure out how to un-comma it and stuff it back into a list. I endend up using a view model like a good newb android dev and that did work but I ran into another bug.

    Bug 2 wasn’t as annoying and I felt a little better about it because I actually deduced what it was doing on my own.

    The app takes a list of DnD dice and sends that to my next screen where I will record rolls from physical dice. So like roll a D6 and record the number. The issue was if you checked all the dice, it will put it all in exactly the order that it was checked. I have them all checked by default but if like you uncheck the D4 or D6, then recheck them it puts them at the end of the list. I thought I could use a linked list maybe and shot the idea to my programmer ex-coworker and friend and basically that won’t work. Slept on it and this am I tried something else. So the list comes in however. I can make a var list if the precise order I want it in, then compare my list I pulled in to that, ask it to find the first match ti the first index of my compare list, then stuff that into a new list. This sorts everything that is still present into a numeraical order that I want. Like it actually worked and I felt like a dumb genius lol.

    Idk who all knows programming but this is super basic at the end of the day but:

    also still don’t know why images are censored. I promise it isn’t naked people.

      • roux [he/him, they/them]@hexbear.netOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Coolio. I did notice in a few other posts that they were like that so figured maybe it was something like that and not my pure ineptitude to use a website lol. That makes sense.