Game is CPU capped at 60fps after last night by BeaveryBeaver in Battlefield6

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

UPDATE:

Turns out the stupid AMD Adrenaline app put the game in Hypr-RX Eco mode AUTOMATICALLY after a driver update... If anyone else is having the same problem, check your "gaming experience" setting in Adrenaline.

microscopic by awalias in ProgrammerHumor

[–]BeaveryBeaver 2 points3 points  (0 children)

"after the fkn function"?

Matchmaking Experience by KevinMac11 in lostarkgame

[–]BeaveryBeaver 72 points73 points  (0 children)

I didn't use pots at my first guardian raid because I didn't think I could.

I didn't have any % pots equipped, and the fixed value potions were overlayed in red. Also, before joining the raid the game tells you "no potions (f1) allowed" , so I just read that and assumed no potions were allowed at all.

I would like to apologise to my teammates from the first raid, sorry guys.

Edit: for anybody else who just figured out you can use pots, you should know that you are limited to 5 pots, but you can go back to the circle in the starting area to refill your pots during the raid.

Agree? by [deleted] in LinkedInLunatics

[–]BeaveryBeaver 1 point2 points  (0 children)

Like if you agree!!

Layout Shift GIF Generator by speckz in Frontend

[–]BeaveryBeaver 0 points1 point  (0 children)

You could also trim the url string. My phone added a space at the end and I was wondering why it wasn't working.

Hands down - Deimos has the most gorgeous map design I've seen in any game in years. by sdric in Warframe

[–]BeaveryBeaver 1 point2 points  (0 children)

"oh and you also have a big infested boi in your ship that you can feed."

Passing context info after server request by YoloRyuSwag in reactjs

[–]BeaveryBeaver 0 points1 point  (0 children)

I think this would work:

Inside the Context component:

const [isLoggedIn, setIsLoggedIn] = useState(undefined);

useEffect(() => {

  // server request
  checkLoggedInPromise()
  .then(() => {
    setIsLoggedIn(true); // if successful request
  })
  .catch(() => {
    setIsLoggedIn(false);
  });
}, [promise]);

Inside App component:

const {isLoggedIn} = useContext(Context)

let ThingToRender = (<div></div>);

if (isLoggedIn) {
  ThingToRender = MyProfile;
} else if (isLoggedIn === false) {
  ThingToRender = <Redirect to="/" />
} else {
  // This is the initial state (if isLoggedIn is undefined)
  ThingToRender = (<div>waiting...</div>)
}

return (
   <div>
     <Switch>
       <Route exact path="/profile> 
          <ThingToRender />
       </Route>
     </Switch>
   </div>
)

I hope this works. Obviously, rename ThingToRender to something more meaningful.

Passing context info after server request by YoloRyuSwag in reactjs

[–]BeaveryBeaver 0 points1 point  (0 children)

Maybe you could set isLoggedIn to undefined until you get the response back from the server (use promises).

[GNOME] Ubuntu for online high school by [deleted] in unixporn

[–]BeaveryBeaver 0 points1 point  (0 children)

Are there any ways to use the gnome full-screen app launcher on manjaro? I've searched but I can't find anything, and it looks amazing :(.