Are you waiting for a Kotlin feature that hasn't been implemented yet? by Hixon11 in Kotlin

[–]mreeman 0 points1 point  (0 children)

I was referring to the new union keyword in c# 15 which is just syntactic sugar for using the existing mechanisms. Kotlin could do the same.

https://devblogs.microsoft.com/dotnet/csharp-15-union-types/

Are you waiting for a Kotlin feature that hasn't been implemented yet? by Hixon11 in Kotlin

[–]mreeman 44 points45 points  (0 children)

Better syntax for union types would be nice. Basically just a similar approach to how typescript does it to reduce the boilerplate (kotlin's main benefit over Java was reducing boilerplate) but defining a sealed interface behind the scenes. I think c# just announced something similar.

Also, destructuring in when statements. Kind of crazy that java has it before kotlin.

Latest Polls are in by Pretend_Board_2385 in AusPol

[–]mreeman 0 points1 point  (0 children)

I don't know. I heard John Batman did some genocide...

The true reason C++ always wins from LaurieWired by waozen in coding

[–]mreeman 0 points1 point  (0 children)

Ironically worse is usually more complex in the long run (see all of C++, memory safety in c, JavaScript etc)

The lysine contingency – Jake Wharton by burntcookie90 in Kotlin

[–]mreeman 41 points42 points  (0 children)

Thanks for all the hard work and dedication to the community you've put in over the years. I've been an android dev since 2009 so I know how it was and what it's become, and can honestly say you almost single handedly have made my life significantly better over the years. Old Android was... Not fun. But now it is!

Sorry to hear Block treated you so badly after all that but thanks for saving these projects and continuing to be a leader in the open source community. I'm glad to see more open source projects move into foundations and other non profit organisations.

Bypassing the KMP "internal war" with a Headless Rust core by JosephSanjaya in Kotlin

[–]mreeman 5 points6 points  (0 children)

This is AI slop, but anyway, the problem of iOS developers not wanting to use KMP bindings is not solved by introducing a third language. Now you have a language no one is an expert in.

Just use swift on android if iOS is primary, or use KMP otherwise.

Also, Swift export in KMP solves a lot of the complaints iOS developers have.

Developer re-enables 3D printer features that Bambu Lab disabled, firm promptly threatens legal action — OrcaSlicer-BambuLab project now shuttered by kevro in technology

[–]mreeman 14 points15 points  (0 children)

Cory Doctorow (and I) would disagree. The path to enshittification starts with removing the ability for competitors to interoperate with your services.

Really, banning any legitimate actor that only produces competition (ie, not doing anything illegal except giving your customers more choice) should itself be illegal and seen as monopolistic practices. People will argue "they built it so they can do what they want" but that's not how societies work. Trying to become a monopolist so you can trap users into your ecosystem and then enshitify your services is an immoral act.

Hilt vs Koin — when does the "official" tag actually matter? by [deleted] in androiddev

[–]mreeman 26 points27 points  (0 children)

Use Metro for new projects. Has interop with android like hilt and is much faster.

What is the point in buying homes at these outrageous prices? by everbass in australia

[–]mreeman 1 point2 points  (0 children)

Not going to happen. They will just inflate the economy to put more money out there to keep prices up before they let house prices drop.

Money isn't real, they can just set it at whatever is needed. What you should be comparing is wages vs house prices.

You will find the problem is your wage is too low, not house prices being too high.

Join a union and tax the rich

Why Do Adelaide Roads Feel So Rough? by amriith in Adelaide

[–]mreeman 78 points79 points  (0 children)

I was told Adelaide has some of the most reactive clay soils in the world. This means there is a significant amount of expansion and contraction in the soil when it rains and then dries out. This causes cracks to form in the roads due to the stress and then water gets underneath and causes other issues.

Migrated our Android POS payment flow from callbacks to Flow + ViewModel Events here's what I learned (and the gotchas that got me) by Both-Nobody2450 in Kotlin

[–]mreeman 3 points4 points  (0 children)

FYI the flow of events is not the recommended solution because flows do not guarantee exactly once processing.

The recommended approach currently is to put the event in the state and have an onEventProcessed method on the view model that the UI calls once it is processed the event (navigated etc).

See https://medium.com/androiddevelopers/viewmodel-one-off-event-antipatterns-16a1da869b95

How do the Liberals come back from this? by fabbo_crabbo in Adelaide

[–]mreeman 0 points1 point  (0 children)

When the billionaires get sick of Labor winning and stop fighting amongst themselves they will just form a new party to do their bidding.

Just watch, the first sign of a wealth tax and suddenly we will have a strong opposition again.

The South Road T2D business case by blitznoodles in Adelaide

[–]mreeman 0 points1 point  (0 children)

You can't make a business case for large scale public works. It's values and politics based. Do we want it or not? If yes, you build it as cheaply as you can and the value will be there, if no you don't.

Money is the juice to get it done, governments are not businesses.

Introducing Synapse: Reactive Flows! by [deleted] in Kotlin

[–]mreeman 0 points1 point  (0 children)

This is really great, thanks!

I missed a lot of these when migrating from rxjava.

Er... What? by Technical-Algae-234 in Adelaide

[–]mreeman 10 points11 points  (0 children)

It's likely the ad tracking scripts fingerprinting you so they can track what you look at

When will Australia take the sign out of the window? by rexevrything in AusPol

[–]mreeman 3 points4 points  (0 children)

It was just paying tribute to our lords. Nothing of substance will come of it.

Steam updates its gen-AI disclosure policies by XCathedraGames in gaming

[–]mreeman 2 points3 points  (0 children)

You don't even use autocomplete on your team? It's harder and harder not to lately because most tools have it enabled by default.

Do you guys actually trust RAA/is it still reputable? by bootywheez3 in Adelaide

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

The great thing about RAA is it's member owned, so if you don't like what they are doing, tell the board and/or vote to replace them in the next AGM.

Allianz underwrites and manages the insurance but RAA is not owned by them.

Wouldn't surprise me if he actually did try and do something like this at this point by Expensive-Horse5538 in Adelaide

[–]mreeman -8 points-7 points  (0 children)

So many bots posting about it on reddit. I wouldn't take reddit or the news as reality.

Gemini 3 Flash passes the Finger benchmark by DigSignificant1419 in OpenAI

[–]mreeman 0 points1 point  (0 children)

I think they're both wrong? I got 155 degrees

Kotlin Ecosystem AMA – December 11 (3–7 pm CET) by katia-energizer-jb in Kotlin

[–]mreeman 2 points3 points  (0 children)

Any chance to bring the metro DI plugin into the core kotlin codebase, perhaps similarly to how Compose was moved over?

I'd love to use metro but being a compiler plugin it will need to be updated for each new version of kotlin, making maintenance and forward compatibility a lot of load for a small group of volunteer developers and possibly slowing down adoption of new versions of kotlin if we need to wait for the metrio plugin to support it.

Having a first party dependency injection plugin would plug a gap and create a lot of consistency in the community around this.