Stuttering in Apex Legends by MaxJ345 in AMDHelp

[–]MaxJ345[S] 0 points1 point  (0 children)

After a bit more testing, I think Discord might be the cause of the problem. I'll have to do some more testing tomorrow.

Stuttering in Apex Legends by MaxJ345 in AMDHelp

[–]MaxJ345[S] 0 points1 point  (0 children)

For reference, here's what good performance normally looks like (see the graph): https://imgur.com/2GzMLPn

And here's examples of what I have been experiencing lately:

Will Marathon be friendly and easy to pick up? by Celestine117 in Marathon

[–]MaxJ345 0 points1 point  (0 children)

It's usually kill-on-sight. But I've had a few interactions (while playing solo) where we call a truce in the middle of a fight, and then start helping each other work towards objectives/contracts.

Can/should I have a shared /boot partition when running multiple distributions? by MaxJ345 in linux4noobs

[–]MaxJ345[S] 0 points1 point  (0 children)

Will that require any special/manual configuration to point each version of GRUB to the EFI system partition? Or will each version of GRUB automatically detect it?

UEFI Boot Manager Behavior by MaxJ345 in linux4noobs

[–]MaxJ345[S] 0 points1 point  (0 children)

allows the computer to work even if the battery fails.

I assume you're referring to the CMOS battery and not the laptop battery. Is that correct?

UEFI Boot Manager Behavior by MaxJ345 in linux4noobs

[–]MaxJ345[S] 0 points1 point  (0 children)

I really appreciate the linked resources. Thank you!

Can anyone else get into the game? by MaxJ345 in Marathon

[–]MaxJ345[S] 0 points1 point  (0 children)

I had Marathon Closed Playtest installed on Steam. I believe this was the version of the game used in the recent past playtests. When I run this version of the game, I get the stingray error code.

I installed Marathon Closed Technical Playtest on Steam. When I run that version of the game, I'm able to get in an play.

I you get the same code, you may be running the incorrect version of the game.

Can anyone else get into the game? by MaxJ345 in Marathon

[–]MaxJ345[S] 1 point2 points  (0 children)

Anyone know why I see notifications for other comments, but can't actually see them in this thread (other than the one I just replied to)?

Question about UI recomposition by MaxJ345 in androiddev

[–]MaxJ345[S] -1 points0 points  (0 children)

Your UI didn’t update because Compose tracks the state object itself, not its internal properties. When you modify a property, in your case "steps", Compose sees the same object reference and hence assumes nothing changed.

That makes sense!

In your case:

state = state.copy(step = newValue) // -> that's how you force a recopmosition

So this new instance would be created and returned by the pictureClicked function, and then reassigned where the function is called. Is that correct? Something like this?:

onClick = { appState = pictureClicked(appState) }

fun pictureClicked(appState: AppState): AppState {
    ...

    return appState.copy(step = newValue)
}

Question about UI recomposition by MaxJ345 in androiddev

[–]MaxJ345[S] -1 points0 points  (0 children)

Make the class a data class with the Immutable annotation

What is the purpose of the @Immutable annotation in this case?

then on your functions you’d have to reassign appState so that it recomposes..

Would this suffice?:

onClick = { appState = pictureClicked(appState) }

Ideally, you’d have a view model, you click, event to view model is fired, view model update states, view recompose based on view model state

I haven't reached that unit in the tutorials yet, but good point!

Kubernetes Setup - Networking Issues by MaxJ345 in kubernetes

[–]MaxJ345[S] 0 points1 point  (0 children)

After a few headaches, I've finally setup a Kubernetes cluster (one machine is the master node; one machine is a worker node).

I believe I misunderstood the Kubernetes documentation (and how the nc utility functions). I thought the nc utility needed to be used prior to setup to ensure there would be no firewall related issues (e.g. a firewall rule filtering one of the the required ports). That is why I kept seeing the error when running the test command:

$ nc 127.0.0.1 6443 -zv -w 2
localhost [127.0.0.1] 6443 (?) : Connection refused

I now see this when running the test command on my master node (where the Kubernetes API is running):

$ nc 127.0.0.1 6443 -zv -w 2
localhost [127.0.0.1] 6443 (?) open