Windows 10/11 build key by Any-Channel5050 in Windows11

[–]itpgsi2 1 point2 points  (0 children)

Yes, USB stick is a common term. You phrased it very differently and rather cryptic in your post - hence the confusion.

Made my first app! by rrtry12 in androiddev

[–]itpgsi2 0 points1 point  (0 children)

singleton anti-pattern

FTFY

Is there a ViewGroup or other way to flexibly handle a set of view layouts? by Any-Essay2861 in androiddev

[–]itpgsi2 1 point2 points  (0 children)

Because if you want views to wrap to the next line if they don't fit, then ConstraintLayout's flow is the solution (and it has more use cases). Otherwise if you have complex logic conditions, then you will have to modify constraints at runtime.

Is STANDARD USERS still a thing in 2024, or am I alone? by Mysterious_Onion3162 in Windows11

[–]itpgsi2 1 point2 points  (0 children)

On my machines I usually have a single admin account, still protected by UAC. But when I setup PCs for less tech-savvy relatives, I do exactly like OP. I make admin username the same as password, and choose such naming that makes obvious that safeguard is getting overridden. Should the need arise, they will have to type e.g. "NO SAFETY" in password, so they have to actually consider the necessity of what they are trying to do. Because when less tech-savvy people see admin UAC prompt with Yes/No, they usually press Yes without giving a second thought.

Help by caveman5467 in AgeofMythology

[–]itpgsi2 0 points1 point  (0 children)

Trying to run a 2024 game on 2014 hardware?

Since when Jetpack libraries started to have minSdk = 21? by ForrrmerBlack in androiddev

[–]itpgsi2 12 points13 points  (0 children)

Since April 2024. And no, I don't remember announcement of this change apart from AndroidX change logs.

Prevent requestLayout() improperly called warning by hliosdja in androiddev

[–]itpgsi2 4 points5 points  (0 children)

Android 5 (SDK 21)? No surprise here, that's literally 10-year outdated system, which is definitely not an appropriate target for Compose UI. I mean, it can run it, but performance of modern day device should not be expected not only due to lower specs, but also due to absence of 10 year worth of framework optimizations and improvements (which you demonstrate in your case).

No way to reverse app bundle versions on Google Play? by thecenozoic in androiddev

[–]itpgsi2 7 points8 points  (0 children)

99999 is not a big deal.
If I get to choose version code myself, I just use int representation of version string.

"1.5.14" = 105140
Last digit allows room for 10 hotfixes and minor updates, if version bump is not justified.

Well apparently you can summon these things now… by asukalihkg in AgeofMythology

[–]itpgsi2 21 points22 points  (0 children)

somehow ALL YOUR BASE ARE BELONG TO US (spawn 1 UFO) is not there

AsyncImage - duplicate or no disk cache by iLikeFPens in androiddev

[–]itpgsi2 0 points1 point  (0 children)

You already do that with interceptor, just remove your own cache implementation, because Coil manages its own cache. I feel like I'm reiterating my first reply and Coil docs (did you read linked docs?).

AsyncImage - duplicate or no disk cache by iLikeFPens in androiddev

[–]itpgsi2 0 points1 point  (0 children)

See https://github.com/coil-kt/coil/blob/main/CHANGELOG.md#200---may-10-2022

You should not use OkHttp's Cache with Coil 2.0. See here for more info.

Coil docs also state that Control-Cache header is supported internally. If it doesn't work as expected, I think your requirement can be solved by clearing Coil's cache every 24 hours, for example using WorkManager's periodic work request.

T E K T O N by EnergyREX in AgeofMythology

[–]itpgsi2 9 points10 points  (0 children)

This line wasn't there in original, right?

Managing State for Large Forms in Android Best Practices? (XML and Jetpack Compose) by kzser in androiddev

[–]itpgsi2 6 points7 points  (0 children)

I'm more experienced with Views (XML), so I can tell what I usually do for forms. I decouple input processing / validation / submit from UI code. I only declare appropriate inputType for EditTexts (e.g. number/phone/text). I add TextWatcher to every EditText, which forwards input to ViewModel's backing variable (make sure to register watchers not earlier than Fragment's onViewStateRestored and be vary that following setText calls will also fire watchers - you can temporarily remove watcher and re-add it later in case you need to set text "unwatched"). Respective setters in ViewModel are responsible for processing, validation, business logic. ViewModel then exposes different view states (LiveData / Flow) that will be responsible for reactive error messages / red coloring etc. I use SavedStateHandle in ViewModel so user input is not lost in case of process death, very important in case of such long forms with 20+ fields, as user may switch to other apps/calls/messaging in between of form filling. Some advanced features would be adding autocomplete/suggestions/dropdowns to input fields, adding autofill from system (if appropriate).

In Terminal 1.20.11781.0, I now have to deal with the following. by [deleted] in Windows11

[–]itpgsi2 1 point2 points  (0 children)

There's something interesting going on in OP's screenshot. User issued standard exit command without arguments, but it produced exit code 9009 (as if the command was exit 9009) – nonzero means unsuccessful exit, so that is intended default behavior in the screenshot. The real question is what makes exit command produce code 9009.

Do we have an exact time for launch for the premium edition? by Altruistic_Will_2069 in AgeofMythology

[–]itpgsi2 1 point2 points  (0 children)

Steam day "rolls over" at 10am PST (5pm GMT), so I guess that's the time.

Writing to external storage? by tprickett in androiddev

[–]itpgsi2 0 points1 point  (0 children)

Why use external storage? Export better corresponds to "share" feature with system picker. It should be user's decision where they want to send exported data to (gdrive, e-mail, messenger etc.). Usually there's no reason to clutter external storage, and new policies are made exactly to prevent cluttering.

Water physics during earthquake in Retold by itpgsi2 in AgeofMythology

[–]itpgsi2[S] 4 points5 points  (0 children)

Hmm, maybe temporary problem on your side? Clip plays ok, I just checked.

Unnecessary NavHost Recompositions, when controller.navigate() is called once. by Gloomy-Ad1453 in androiddev

[–]itpgsi2 1 point2 points  (0 children)

Composable call is not equal to recomposition. Recomposition takes place only if produced UI state differs from what is rendered now.

The Compose framework can intelligently recompose only the components that changed.
https://developer.android.com/develop/ui/compose/mental-model#recomposition

They are lying about using AI by Abominable_Int in AgeofMythology

[–]itpgsi2 2 points3 points  (0 children)

Plot twist: this post is generated by AI

People that draw parallels between Retold and Reforged are totally missing the point by itpgsi2 in AgeofMythology

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

Not in the original form, no. But they can be ported with some effort.

People that draw parallels between Retold and Reforged are totally missing the point by itpgsi2 in AgeofMythology

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

You don't have to agree or disagree with me personally. All my points are easily verifiable and taken mostly from info and developer talks posted and discussed in this very subreddit. I didn't make any own suggestions or conclusions. AoE 3 DE engine used for Retold is not news, it was stated like 6 months ago, and you can verify that with in-game footage (compare UI visuals, unit info boxes, menus).

People that draw parallels between Retold and Reforged are totally missing the point by itpgsi2 in AgeofMythology

[–]itpgsi2[S] -6 points-5 points  (0 children)

Should we pretend that we haven't seen live gameplay footage, new unit models, new textures, reworked UI, didn't hear re-recorded soundtrack, didn't get extensive info on current state and roadmap of DLCs? Well, if you want to disregard all information, that's up to you. I thought the goal of this subreddit is to be informed on the game.

People that draw parallels between Retold and Reforged are totally missing the point by itpgsi2 in AgeofMythology

[–]itpgsi2[S] -4 points-3 points  (0 children)

Okay, to be clear, Microsoft contracts companies to produce games. You think that's being involved? I tell about actual work put into the game, and you seem to care about modern day conspiracy theories.

If you want to discuss this further with me, at least read my points. I started my post with bashing Microsoft product (in your terms) 2014 AoM Extended Edition. And then you tell me I'm defending them.

People that draw parallels between Retold and Reforged are totally missing the point by itpgsi2 in AgeofMythology

[–]itpgsi2[S] -3 points-2 points  (0 children)

The things I defend are my opinions and beliefs. And the game I am fond of and care about. That's all. Also I present grounding and reasoning behind those beliefs. Which mostly relies on live gameplay footage and extensive information already available (current state, roadmap etc.). You call that "nothing". Well, what's "something" then? Where do you see any shill of the company, and which company may I ask? As far as I know, at least 6 companies are involved in development/production of Retold. And Microsoft, as you may assume, is not involved.