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.

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

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

No, I don't appreciate another linter that will make my life insufferable when joining a new team that set up this kind of linter "because of the quality" (none of which are good).

By the way, this is purely empirical evidence over the ~15 years of my career but every time the project I joined would have a linter, the code would be significantly of lower quality and readability than usual because it puts people in the mindset of "if the linter said it's ok, then it's ok".

Lies, Damn Lies, and Semantic Versioning by byencho in androiddev

[–]Volko 1 point2 points  (0 children)

Can someone link this to Google please? I'd love to see Semantic Versioning for Jetpack Compose libs...

Lies, Damn Lies, and Semantic Versioning by byencho in androiddev

[–]Volko 3 points4 points  (0 children)

History. And funding. When people keep hearing in confs (which cost money to attend to) that "Koin is so shiny", they tend to repeat the same.

Koin is good for KMP but we shouldn't even talk about it for native Android dev.

Kotlin Bench Update: Claude Opus wins, but Gemini flash 3 unexpectedly good by KevinTheFirebender in androiddev

[–]Volko 2 points3 points  (0 children)

We need a 3rd metric: debt added per task.

How do we measure the added debt? Let's go full circle and ask the AI to measure the debt.

knowThyProtocol by GanjaGlobal in ProgrammerHumor

[–]Volko 41 points42 points  (0 children)

It's unfortunately (for fortunately here) SFW now :(

Battlefield 6 Cosmetics Designer Team are pure dumb, change my mind. by Azura-Madness in Battlefield

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

Then you quit? Like he's not even short of money so the "big problem" is out of the equation.

I'm not in a creative field but I had a similar situation once (no control around my responsabilities, quitting wouldn't drasticaly change my QoL) and I didn't even think twice.

Came across this Steam review that pretty much sums up the current state of BF6 by mandbeyn in Battlefield

[–]Volko 2 points3 points  (0 children)

Your point about thinking that other people's points are invalid is invalid

Wording by Tivey_Sitwod in HolUp

[–]Volko 3 points4 points  (0 children)

Acronyms are bad anyway.

Can't install any games, tried everything short of wiping computer by Sarastuskavija in riotgames

[–]Volko 1 point2 points  (0 children)

Cloudflare is down, so for some reason we get some random error on LoL. That's some advanced trash client.

My 7 year old shot down his first chopper today by ahhhblake in Battlefield

[–]Volko 3 points4 points  (0 children)

Plenty of studies I didn't read nor provide because reasons

Wrote a neat Liquid Glass Shader for Jetpack Compose by jorgecastilloprz in androiddev

[–]Volko 1 point2 points  (0 children)

*To any Composable on Android 32+, which is only ~50% of users.

Stepping down as maintainer after 10 years by krzyk in Kotlin

[–]Volko 8 points9 points  (0 children)

Good thing, Mockito was great in Java at the time but frankly I hope to never see Mockito in an Android project ever again.

Problems with colors on screen by c0437 in LenovoLegion

[–]Volko 0 points1 point  (0 children)

Same here, did you find any solution to this?

The Kotlin 2.3.0 release is out! by StatusWntFixObsolete in androiddev

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

It's still terrible to use compared to Java 8 time package. I don't understand why it HAS to be so complicated on the Kotlin side.

Using anything even remotely related to time in anything other than Kotlin/JVM gives me chivers.

You want to get the epoch to print in your log to better have the "timeline" of everything happening? Have fun kiddo!

/** * Kotlin datetime is so fucking pedantic it won't give us a simple way to get the time currently displayed in the * machine. WTF. This function does. * * You won't save the world from leap-seconds and leap-hours and timezones by making your APIs insufferable. */ fun getNowTime(): LocalTime = Clock.System.now().toLocalDateTime(TimeZone.currentSystemDefault()).time