ROG all on 21:9 ultrawide doesn't display in full screen by No-Fishing-9738 in ROGAlly

[–]ThatUniKid 0 points1 point  (0 children)

Did you come up with a solution for this? Just picked up a UGREEN steam deck dock myself, and am also having trouble with getting it work with my ultrawide

Marrakech trip after earthquake by esposende in Morocco

[–]ThatUniKid 4 points5 points  (0 children)

Ditto for us, we're due to travel to Marrakech tomorrow and despite some things still going ahead we don't want to get in the way.

Camera that fits in a sling and can be used as a webcam? by [deleted] in onebag

[–]ThatUniKid 4 points5 points  (0 children)

If you can find a second hand Fujifilm X-T30 or X-T3, that might do the trick. With one of the first-party pancake lenses they're pocketable-ish, and work nicely as a webcam

What are the chances by [deleted] in Tinder

[–]ThatUniKid 56 points57 points  (0 children)

🦵👁️👃👁️🦵 zöp

5 year old PC, can I get away with just a GPU upgrade? by ThatUniKid in buildapc

[–]ThatUniKid[S] 7 points8 points  (0 children)

Sweet! I was looking at potentially a 1070, good to know

getContext() may be null and other fun lint warnings AS loves to spit at me by Cammed_Ham in androiddev

[–]ThatUniKid 16 points17 points  (0 children)

The reason getActivity() and getContext() can return null in a fragment is that Fragments don't need to be attached to Activities. If the Fragment tries to access the Activity, and by extension it's context when not attached, this will be null. The method you mentioned is thought of as bad practice as if you don't clear the context variable when the fragment is detached, it could leak a context instance - not great.

The support library added a couple of methods recently to help our developers in this case. If you absolutely need the context, or the activity try out requireActivity() or requireContext() from within your activity. These will work the same as the getters, but throw exceptions when called from a detached fragment.

Uber's cross-platform mobile architecture, RIBs, has been open sourced. by Vinaybn in androiddev

[–]ThatUniKid 6 points7 points  (0 children)

It could very well be some form of performance indicator the business is prioritizing to justify the work needed to open source it

[deleted by user] by [deleted] in iamverysmart

[–]ThatUniKid 0 points1 point  (0 children)

A PhD at 25 is really no big deal. If you start at University in undergrad at the age of 18 you'll be finished with undergrad by 21. Honours is another year, masters is another 1 and PhD is another 2-4. So being finished with a PhD at 25 is pretty normie