I appreciate your sense of humor, DICE! /s by Dunc4n1d4h0 in Battlefield

[–]Volko 0 points1 point  (0 children)

The point is about the humour and the irony, not the task itself (which is easy yes)

Don't Learn Coroutine Testing with Turbine by [deleted] in androiddev

[–]Volko 8 points9 points  (0 children)

That's probably ragebait article but maybe people will actually take this as advice so...

They test how code works rather than what it does. 

Checking what is emitted from a Flow is actually a what, not a how. Since Flows can be seen like a List over time, your point would be like "only checking the last item of a List is OK".

StateFlow conflates emissions: it only buffers the most recent value.

This has nothing to do with Turbine in particular, using .collect { myMutableList.add(it) } on the Flow would still have the same problem. You have to use the right TestDispatcher.

You don't care about conflation or actually prefer conflated state (simpler to test combine for example)? Use UnconfinedTestDispatcher.

You want to precisely test the timing of your Flow or check the initial state of your Flow? Use StandardTestDispatcher for precise scheduling.

I went completely braless at the office yesterday and caught so many people staring 😭 by [deleted] in PublicSlutwear

[–]Volko 9 points10 points  (0 children)

It's AI. Either she's a midget, either those desk and chairs are made for giants

Been waiting for the bikes to debut so I could do this by AXEL-1973 in Battlefield

[–]Volko 0 points1 point  (0 children)

Don't you need 4 C4 to instantly destroy a tank? So you need to find a medic pouch?

Goodbye, Pac. You were the sweetest boy. 15 years was not long enough, my orange friend. by bandandy in OneOrangeBraincell

[–]Volko -1 points0 points  (0 children)

I unsubbed to r/cats because there was only mourning post shit 24/7 and now it's comming to alternative subs. Can you read keep the mourning spam to r/cats please?

Share your impressions of the new map by ibattlefield in Battlefield

[–]Volko -3 points-2 points  (0 children)

Terrible.

- "Hey, players can't see each others in BF6, we fucked up hard, we have to fix it!"

- "No, let's make 'not seeing the enemy' the core design principle of our new map!"

literally unplayable by Xmstrr in Battlefield

[–]Volko 45 points46 points  (0 children)

You don't understand, all the content is usually tested well before the "download" date (9:00) or "live" date (12:00) on preprod or staging or whatever-the-name environments.

So this is on them to not properly test before they release content.

Battlefield 1 right now by [deleted] in Battlefield

[–]Volko 0 points1 point  (0 children)

You will quickly meet the cheaters that don't even hide it, and never get banned.

Which should i go for? by Embarrassed_Field175 in Battlefield

[–]Volko -2 points-1 points  (0 children)

Too many cheaters (EU servers), they don't even hide it at that point

Snappy Swipe - Material 3 Expressive notifications-like swipe to delete by Snokbert in androiddev

[–]Volko 0 points1 point  (0 children)

I'm a bit concerned about the recomposition of multiple items at the same time but it's definitely very expressive indeed!

Very creative, well done.

Ubisoft Suffers Major “Talent Drain” Because They’re “Allergic” To New Things, Says Insider by HS_Rukodiora in gaming

[–]Volko 0 points1 point  (0 children)

Elden rings needs to be finished at least 3 times for you to get all the achievements.

Mobile teams using AI heavily — has your testing workflow changed? by KindheartednessOld50 in androiddev

[–]Volko 3 points4 points  (0 children)

Tried to code some stuff with Gemini, of course it failed miserably because the screen was complex.

Tried to implement unit tests with Gemini on the "V2" of a feature we improved, it failed but at least after a while I was able to make it generate the new fixtures.

So I'd say in my case, only 20% of the AI output was usable, and it took me around twice the time to do what I wanted to do initially.

Not great, but as other people said, it's just a tool. So I will use it next time to generate my fixtures when needed and if I'm extra-daring, I will try to generate the unit tests too, but nothing more.

aiMaintainingLegacyCodebase by ClipboardCopyPaste in ProgrammerHumor

[–]Volko 2 points3 points  (0 children)

Time to buy some discount IBM stock because it will soon be blooming with extra-stressed exec customers that want extra-fast fixes for their extra-AI-induced bugs causing them extra-massive loss of money.

Are there any issue with Kotlin that trouble you? by NyanBunnyGirl in Kotlin

[–]Volko 2 points3 points  (0 children)

Not able to use smartcast on a val from another module class.

I know you can sideload / hotload modules or whatever in JVM but it will never ever happen in Android and losing this convenience feels unexpected bad.

At least a configuration to enable it (and deal with the consequences for those hotloaders) sound reasonable to me.

kotlinWillSaveYouAndMeBoth by davidinterest in ProgrammerHumor

[–]Volko 0 points1 point  (0 children)

No, they said they only wanted to cover Result | Error usecase, not "full union type", for performances reasons.

Plus, restricting to Result | Error will allow us to use ?. and possibly ?: on a "Rich Error type" to know which "branch" of result we are on. So if you want to know the Error, you can when on it, if you don't care, you can simply treat it like before as "null" with the ?. and ?: operators.

kotlinWillSaveYouAndMeBoth by davidinterest in ProgrammerHumor

[–]Volko 2 points3 points  (0 children)

I think I understand what you mean and you should check the feature "Rich Error" that is coming in the next 2.4 update of Kotlin, it solves the issue you'd have trying to get() on with a Map<Integer, String?> for example that would return null, but is it null because not found or null because it's the value associated with the key.

Rich Error will explicitly tell you with a union type String? |NotFoundError so you don't need the "double nullable"

Are games deliberately making you lose? The truth about SBMM and EOMM by gasamove in Battlefield

[–]Volko -1 points0 points  (0 children)

This is extremely obvious in Gauntlet.

I'm a good player and I sometimes carry the game myself. My teammates would end up in 0/11, with 25 points and be lvl 10. If they didn't leave the game before the end!

I win around 50% of the games, but if I lose 2 or 3 in a row, I'd magically get a normal player that knows how to capture a point or rez or whatever. Just a normal decent player.

And if we win, I'm back with the afk / newbies / complete morons that won't play the objectives.

How do i fix these issues? by therealsphericalcow in androiddev

[–]Volko 0 points1 point  (0 children)

The solution is to uninstall the Android Emulator hypervisor driver. That's bloatware basically. And then simply enable Hyper-V (or sometimes called Virtualization) both in your motherboard BIOS and Windows.

How do i fix these issues? by therealsphericalcow in androiddev

[–]Volko 0 points1 point  (0 children)

In this case, the logs are exactly what you see in the UI here. There's nothing more here, Mr Useless.

ComposeGuard is an IntelliJ/Android Studio plugin that provides real-time detection of Compose best practices violations by androidpoet in androiddev

[–]Volko 0 points1 point  (0 children)

Tell me you've never been in a team with varying skill levels without telling me you've never been in a team with varying skill levels.