Skip Navigation
Seriously, where do I go?
  • I'm not from the US, so I don't know how accurate this is, and I also don't know if this thing has ever been updated (I found it a long time ago), but there's this tool that might help with deciding: https://www.whereshouldilive.co/

  • what lemmy web app do you use and why?
  • The amount of people not knowing what a "web app" is, is seriously concerning.

    Anyway, I tried "old" and Alexandrite, but I just ended up sticking with the default. I find "old" ugly, and on Alexandrite, I couldn't find my saved posts. Maybe it has been fixed since, but the default one works for me best.

  • Can we all agree that whatever version of predictive text we have nowadays is crap, and has been for a long time?
  • I've switched to Gboard on Android back in the days, when it was the only one with proper multilingual features, and been using it ever since.

    I've experienced the opposite: I actually found it rather more helpful than not, despite the occasional errors like you mentioned. But nowadays it's quite rare that it "mispredicts" a word. And what I've found extremely helpful is, that nowadays it doesn't only correct individual words, but it picks up other grammatical errors as well in the sentence. So it's working for me.

  • What's something you believed to be true but recently learned is actually false?
  • Oh there's a lot.

    • When I was a kid, parents and teachers used to teach, if you have sore muscles a day after an extensive workout, you need to work out even more in order to reduce the soreness. In fact, however, you need to rest those muscles.
    • I thought, pepperoni was pepper. (Like bell pepper, just smaller; similar to chilli). Then my girlfriend enlightened me after a confusing conversation, that pepperoni was a kind of salami. And then recently, at a company event before ordering pizza and after a very confusing discussion of what toppings we order, it turned out pepperoni was actually a kind of a salami, but not everyone agreed. So by now I've learned that pepperoni is neither of them. It doesn't exist. It's listed on pizza menus, and when you order it, you'll get something for sure, but you won't know in advance what it would be.
    • This isn't new, the realization was several years ago, but fits this list nicely: I thought, perfume was something for women. It turned out, there was perfume for men too.
    • Parents used to teach, if you read in the dark (on paper, not on a screen, I must add), you're ruining your eyes. But if you think about it: wtf does low light do to your eyes? By that logic, you're constantly ruining your eyes while sleeping.
    • For some reason I used to think, you could simply delete related entities bound by foreign key constraints in postgres, if you ran the query in a transaction. Once when I finally needed to do this, I learned the hard way I was wrong.

    There's a lot more than this, probably I'll update this comment in the future. Or not.

  • When you are on a videocall do you also keep looking at your own thumbnail video?
  • I find it weird to look at my thumbnail video, so I almost never do that.

    1. If I have the chance, I don't even enable my webcam. It depends on the workplace...
    2. Generally, I always look at my notes, because I'm unable to keep all the necessary things in my mind while talking.
    3. If no notes are needed for whatever reason, I just look at others in the meeting.

    If I look at myself, that happens maybe at the very beginning to check what's in the picture, but I always hate looking at myself.

  • Roku explores taking over HDMI feeds with ads
  • Luckily I'm not involved in this smart-TV saga in any way, as I haven't been watching TV since my childhood (there were no smart-TVs back then, but TV shows in my country were shit).

    Now my biggest fear is, if enough people realize that smart-TVs are shit, then desktop monitors will start to become "smart" too. My life will be doomed if that happens.

  • What is your proudest moment or accomplishment?
  • I set the timer on the dishwasher to finish approximately when I get home after work. However, that day I didn't really know what time I would get home, as there was an after-work BBQ event.

    When I arrived at home and stepped into the kitchen, the timer showed 0:00 and shortly afterwards it switched off.

    My proudest achievement in like two years.

  • Where have you witnessed Scrum being used outside of the IT industry?

    Scrum is an agile framework that, if applied properly, can boost the efficiency of teamwork. It is known to be versatile enough, so it could be applied in basically any sort of productive teamwork, even beyond IT (e.g. bakeries, government organizations, etc.)

    However, I've never ever seen it being used anywhere else other than in software development, therefore I've always been curious if Scrum is actually being used outside of IT somewhere.

    39
    How do you deal with the thought of having to work for 40+ years and then when/if you retire, you're too old to do much?
  • I can't imagine stopping to work. If I retire, I'll have no money. I cannot count on pension either.

    But I have an IT job, it's just sitting in front of the computer all day; it's not like a physical job I wouldn't be able to do at old age.

  • Ukraine says it uncovers mass fraud in weapons procurement
  • For most people it's obvious, but in case there's anyone who lets themselves be influenced by trolls, even the slightest: this article (and many others since the war started) is a good sign that Ukraine is heading in the right direction by going after corrupt people and uncovering corruption.

    This is the way how a once corrupted country evolves, and this is a long way, maybe a decades long process. But definitely the right way.

    For example in Muscovy, China, Hungary, and other countries that are corrupted to the bone, you'll never see this, unless a capable government takes the lead (but in those countries it may never happen in centuries, maybe ever).

  • [help] Composable function design - best practices

    Hi everyone,

    As I've been developing my Android app, I've quickly found myself in a situation, where all my @Composable functions are quite hectic, not really maintainable.

    I am wondering, is there any guide for best practices regarding @Composable functions?

    Thinking in Compose is a straightforward article, and it all makes sense - until I want to build something other than Hello World. Something more complex, I mean.

    What I understand from the article is, that I should keep the logic out of these functions as much as possible, and pass only primitive types as parameters. Behavior should be kept in callback functions. This is very nice and clean, I like it, but then what should I do, when I have quite a lot of functions nested?

    For example, on MainActivity I have a Scaffold, within that a NavHost with four different tabs, each with completely different content, some of them with a BottomSheet, which are also completely different for each tab (that has one), and some of the BottomSheets can call a Dialog, which again, has a form in it, and so on. So the hierarchy has quite a level of nesting. And if I understand the recommendation correctly from the article mentioned above, then I am supposed to keep the states and callback function definitions somewhere in MainActivity (or ViewModel), and pass everything through the entire hierarchy. Everything. The value of every single Text (those that cannot be hardcoded), all the list items to DropdownMenus, all the list items for Lists, literally everything. And then, according to the article, the renderer is smart enough to only recompose those elements that really changed.

    To me this sounds tedious. I've also seen recommendations to just pass the ViewModel itself in order to reduce the number of parameters. But if I do that, then how would I make a @Preview out of it? Probably it's possible, but it wouldn't be convenient at all.

    So what's a clean approach for designing a good @Composable function hierarchy?

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HE
    helmet91 @lemmy.world
    Posts 3
    Comments 124