helmet91

joined 2 years ago
[–] [email protected] 9 points 1 week ago (2 children)

To be fair, YouTube doesn't have an algorithm that promotes the best videos, either. For quite some time now, it just promotes garbage.

[–] [email protected] 15 points 2 weeks ago (5 children)

Actually, in Hungary (at least when I was a kid) they thought us, pedestrians, to use the left side, although this was more important when there was no sidewalk. The reason is, drivers might not see pedestrians very well, especially at night, but pedestrians do have a higher chance to see cars, as cars are usually illuminated. The pedestrian is facing forward, so it's easy to see and react when a car is coming. But from behind? They'll pass on the right side of the road, so there should be plenty of clearance.

And I was legit surprised when I moved to Germany, pedestrians here are using the right side.

[–] [email protected] 3 points 3 weeks ago

There are no bugs, just happy little features.

[–] [email protected] 26 points 1 month ago (2 children)

I know someone who has the same name as her mother, and her grandmother. They all lived in the same household. Imagine, you call her name and all three of them listen.

I never understood this practice in general, regardless of gender. There are so many possibilities, sure it takes some creativity, but it's not that hard, come on.

[–] [email protected] 45 points 2 months ago

“You could almost make it look like what happened with Berlin after world war two, when you had a Russian zone, a French zone and a British zone,”

Except that during those times the aggressor was split into zones.

[–] [email protected] 2 points 2 months ago (1 children)

I know what you said. I can read.

And I explained my view, why I disagree with it.

Regarding Volt: please, don't promise things if you cannot keep your promise.

Just to add a bit of an explanation: all votes going to other parties than the nazis are not wasted. In fact, the more parties receive votes, the better. Best would be an equal share. Diversity is what moves us forward.

[–] [email protected] -1 points 2 months ago (4 children)

I don't think capitalism has anything to do with this, especially in Germany.

It's pure lack of education and common sense.

[–] [email protected] 12 points 2 months ago (4 children)

In my opinion, the trend is pretty damn worrying. The trend has been going on for a long time.

I understand what you mean, the actions done in the last week before an election is what drives the majority of dumb people, but inevitably you gotta plant the seed quite early on, and keep feeding the facts or misinformation (depending on which party is doing it). Sadly desinfornation campaigns have been going on on full blast, but haven't seen any effective counter actions from Volt, for example, or other parties.

Factual information, education should go on continuously on every possible channel to reach everyone. Yes, even 4 years before the election.

[–] [email protected] 2 points 2 months ago (1 children)

I cannot agree with this. I mean, a sane person would never pick the nazis, even if the poll has no consequences.

I'm sure there's something else going on.

[–] [email protected] 57 points 2 months ago (13 children)

What did these people smoke?! Seriously! Especially in light of what's been happening in the US. Like there's a scandal for every day since that idiot stepped into power; how can the nazis get even more popular? Or what kind of poll was that? One made by Russia?

Rhetorical question, it's one of those things in life I'll never understand.

[–] [email protected] 3 points 3 months ago

Damnit. Thanks for the heads-up!

[–] [email protected] 11 points 3 months ago* (last edited 3 months ago) (3 children)

~~Suunto is a Finnish brand. I don't know much about them, but I'd explore them once my Garmin reaches the end of its lifecycle.~~

Edit: Suunto was sold to a Chinese company, read the reply to this comment.

 

I'm looking for book recommendations in the topics mentioned in title.

I often find myself feeling down and not being able to accomplish anything, and the tendency has been increasing.

I cannot even work on my hobby projects, because I'm just staring at the screen and my brain is not functioning, which leads to launching a game or watching YouTube videos and waste time.

I cannot find the way out of this madness, and my last resort is to find some books that might help with my issue.

I don't wanna rely on search results on the internet, because I don't trust random compilations of "read these 10 books to be productive".

Well, this is optional, but in case the book you recommend indeed helped you, I'd be curious how permanent the impact was for you, if that makes sense. I know mostly it depends on the person; it's me who has to make the effort, not the book. But I'd be curious how easy it is for you to consistently maintain what you learned from the book.

Regarding the format, it has to be in epub. And I'd very much prefer DRM-free books, price doesn't matter. If the only good books are all DRM-enshittified, that sucks, but I'll consider that too if I have no other choice.

Thanks in advance if anyone can help with recommendations!

 

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.

 

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?

view more: next ›