this post was submitted on 22 Sep 2023
121 points (100.0% liked)
chat
8384 readers
282 users here now
Chat is a text only community for casual conversation, please keep shitposting to the absolute minimum. This is intended to be a separate space from c/chapotraphouse or the daily megathread. Chat does this by being a long-form community where topics will remain from day to day unlike the megathread, and it is distinct from c/chapotraphouse in that we ask you to engage in this community in a genuine way. Please keep shitposting, bits, and irony to a minimum.
As with all communities posts need to abide by the code of conduct, additionally moderators will remove any posts or comments deemed to be inappropriate.
Thank you and happy chatting!
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
All inline images in the comments (excluding emojis ofc) have to be clicked on to be shown at hexbear. It's just a measure taken to minimize potential abuse/spam.
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.