[-] helmet91@lemmy.world 2 points 12 hours ago

I guess, it depends on the dictatorship. For example if it's the one being formed in the US currently, here are some ideas: https://theintercept.com/2024/11/14/trump-agenda-organize-protest-movement/

[-] helmet91@lemmy.world 41 points 1 week ago

Ever since I got my own place, I'm significantly less stressed. So much, that my health condition pretty much got back to normal after living with a colon disease (AND my mom) for a long time.

Folks, do not underestimate the power of stress.

37
submitted 8 months ago by helmet91@lemmy.world to c/asklemmy@lemmy.world

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.

[-] helmet91@lemmy.world 36 points 9 months ago

End of the day, nothing you can do will change what's happening half way across the world, so why let it change you?

I beg to differ. Here are a few things you can do. I agree these won't make an impact, but if enough people are willing to do these, it could work:

  • Donate money if you can afford it. (Just carefully check where you're exactly donating to.)
  • Promote non-propaganda, factual information. Muscovy spreads disinformation through social media and propaganda websites using their trolls. So why can't ordinary people step up and upvote, share, publish, and promote factual information? Sure, the algorithms of social media platforms favor the disinformation, but again, if enough people are willing to overcome what's happening, I believe, it could make a change.
  • Promote education. Only stupid people can be influenced by the far right propaganda. Unfortunately there are way too many stupid people.
  • Just do what you're good at. If your profession is irrelevant, that's fine. But if you happen to be a hacker, or want to become one, go ahead, and fight online scammers and trolls. Are you a software developer? Wanna be a web developer? Create something that has an impact if you have the free time and interest. Make it open source. Encourage others to join. Again, if you have no affinity for this kind of stuff, it's totally fine.
  • Do your research and vote on elections.

In my opinion, this kind of mindset of "you cannot do anything, get used to it" is a very demotivating and harmful piece of advice. Because that's what's been going on all this time; everyone being ignorant, while evil people never stop doing what they're doing.

[-] helmet91@lemmy.world 68 points 10 months ago* (last edited 10 months ago)

Buying HP products is bad investment.

I only had the chance to two of their inkjet printers and one of their office laser printers, plus an elitebook laptop. In short, all of them suck.

Much better (to me, the best) alternatives, that I can safely say are good investments: Canon for inkjet printers, ThinkPad T and P series for laptops. Those are quality products. Unfortunately I don't have any experience with other office laser printers, so I cannot recommend one.

Edit: specified which series of ThankPads are still good.

[-] helmet91@lemmy.world 50 points 11 months ago

I wouldn't be surprised if he sends those women to the frontline as well.

[-] helmet91@lemmy.world 52 points 11 months ago

Oh no! Is the MRI machine okay? The article doesn't say anything about it.

[-] helmet91@lemmy.world 105 points 1 year ago

In my opinion it's not useless at all. Lemmy marks the comments as edited, but that's just to show the fact that it was edited. But if you add the reason why you edited, that makes it a whole lot more transparent.

Sometimes it could happen that I see a great comment full of great ideas from a great user, and it could be lengthy as well. Then later I go back to see the reactions, and I see the comment was edited. If I don't know what was edited on it, then I have to read the whole comment again. But if it's clearly stated that only typos were fixed, then I don't bother with re-reading the comment.

[-] helmet91@lemmy.world 45 points 1 year ago* (last edited 1 year ago)

Apart from what some commenters already pointed out (about the orientation of the roads there), I'm not sure how it's going in the US, but in Europe, we have a hierarchy, where the sign on a pole takes precedence over the sign painted on the road.

The hierarchy is:

  1. Police officer's hand signs
  2. Traffic lights
  3. Signs on a pole
  4. Signs painted on the road

According to this, you cannot turn left, even though it looks like a left turning lane.

Is there such a thing in the US?

[-] helmet91@lemmy.world 35 points 1 year ago* (last edited 1 year ago)

I'd pick Ubuntu. I don't really understand why it's still so popular. Never ever had a successful dist-upgrade with it, so technically if you wanna stay up to date with it, you have to reinstall every six months.

And regarding the technologies they use, they always choose to develop their own (often failing) solution instead of using/improving a well established and popular one. Unity desktop, ~~snap packages~~, Mir... the list probably goes on. To me, Canonical is kinda like Apple of the Linux world.

Are there any worse distros? Probably yes. But in proportion to its popularity, Ubuntu is the absolute worst, that's not even a question to me.

Edit: I can see several replies to my comment praising Ubuntu for its role in making Linux platform (and free software) more popular. That's fine, perfectly valid. In fact, my very first experience with Linux was with Ubuntu as well, through a CD addition to a PC magazine back in 2005.

To clarify myself (since the post itself is not very elaborate), when I posted my comment, I was thinking of the quality/usability/stability of Linux distributions, and due to personal experience I've never found Ubuntu usable in the long term. I did try it several times through the years, also installed it on my mom's laptop (fairly simple setup with no customizations at all on a Dell Latitude, a.k.a good hardware), and even there basic things just didn't work on the long run.

[-] helmet91@lemmy.world 48 points 1 year ago

That's way too much hassle. I guess, when the anti-adblock kicks in on my devices, I'll just stop watching YouTube. I have tons of better stuff to do anyway.

1

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?

75
[-] helmet91@lemmy.world 39 points 1 year ago

Exactly. They just work. I've only used PulseAudio and Pipewire recently, but both of them just worked. It was maybe 10-15 years ago, when I had troubles with sound on Linux. Or with anything at all, really.

But that's also true that I'm not trying to build my own OS by using Gentoo or Arch or Linux from Scratch. I've been using Manjaro, because it's not bloated, yet it has everything I need, and it just works.

[-] helmet91@lemmy.world 30 points 1 year ago

I don't know if anyone told them already, but the trick is, make your search engine usable. Not spend billions.

As for me, I stick with DuckDuckGo, it's actually usable.

view more: next ›

helmet91

joined 1 year ago