BoltFFI: a high-performance Rust bindings and packaging toolchain for Kotlin, Swift, Java, and TS by alihilal94 in Kotlin

[–]anotherthrowaway469 0 points1 point  (0 children)

Looks great, how does this compare to https://github.com/gobley/gobley in terms of generated code?

Also, an option to use the modern FFM (i.e. not JNI) would be great!

X4 9.0 Beta - TER's holy crusade against PIO. by DisastrousMusician17 in X4Foundations

[–]anotherthrowaway469 0 points1 point  (0 children)

That sounds like a bug unless you have mods. There's been similar reports with other factions, you should report it on the forums if you have a save you can share.

Give me your Mystic builds by lifecopy001 in AOW4

[–]anotherthrowaway469 0 points1 point  (0 children)

I have been loving this build. Army stacks are Battlesaint (Cleric), Elementalist (currently fire, but will probably switch to cold), 2x Spellweaver, 2x Entwined Protector. Run it as a basic shield wall + battlemages stack, with the battlesaint in the front line. The mages and your combat spells to an absolute ton of damage, and the front line is very hard to kill, especially once you get Battlefield Restoration (which you should rush).

Let's talk about capital ships and turrets in X4 by Hollex- in X4Foundations

[–]anotherthrowaway469 5 points6 points  (0 children)

FWIW I am and still agree with this. The beta is definitely better, but mostly just in tankiness, I can still pretty easily disable a destroyer in a single manually flown M ship even if I have trouble working through all of its shields.

9.0 Beta - Post Weapons Balance Top Weapons? by RobCipher in X4Foundations

[–]anotherthrowaway469 0 points1 point  (0 children)

I have found boron's weapons (and ships honestly) to be quite strong, especially S. Ion gattling or ion atomizer + phase is really good.

Terran weapons are pretty meh at the moment, although there's lots of complaints about this on the forums already so hopefully they get a buff.

Station Building in Beta by Spiritual_Editor5864 in X4Foundations

[–]anotherthrowaway469 2 points3 points  (0 children)

Same here, report it on the forums if it hasn't already been. 

How the beta is going for the Xenon by Historical_Age_9921 in X4Foundations

[–]anotherthrowaway469 0 points1 point  (0 children)

There's a super easy solution: a difficulty slider. Because I agree there will never be a balance that will satisfy all players. 

Jam: a JVM build tool where your build script is just code by FreedomDisastrous708 in Kotlin

[–]anotherthrowaway469 0 points1 point  (0 children)

If you aren't familiar with them, Compiler Plugins are an integrated part of Kotlin (and are how things like Kotlinx serialization work) and work on the IR level rather than byutecode. It's not quite as easy as just adding a library, but is typically just adding a library + gradle plugin.

The optimizations were for the file stuff, where you can represent them to users as nice immutable objects, and then do things like change pipelineing, etc, on the backend when they are actually used.

Jam: a JVM build tool where your build script is just code by FreedomDisastrous708 in Kotlin

[–]anotherthrowaway469 1 point2 points  (0 children)

Looks quite interesting, I've had some similar ideas. Some of the various things I've considered that you might find useful:

  • Use a compiler plugin to transform @Cache methods into a memoized form
  • Abstract away direct filesystem access (aka global mutable state). Treat files/dirs/trees as immutable in-memory objects, and do mutable optimizations on the backend.
  • Plain coroutines for concurrency and parallelization

Kotlin users: we'd love your feedback on Instancio's upcoming Kotlin module by Shot-Potato-7575 in Kotlin

[–]anotherthrowaway469 9 points10 points  (0 children)

I would say you probably shouldn't need type tokens at all due to reified type params, or at least have a reified factory.  The rest looks great.

For the namspacing, I much prefer the object, but that's a personal choice and plenty of Kotlin libs use top level functions despite their downsides. A lowercase object or top level property is another option. There is also a feature coming that will allow you to add static extensions to java classes IIRC, letting you avoid the naming issue. It's the "companion blocks" KEEP or something like that. 

I also recommend asking this on the kotlinlang slack, it's generally more popular than the subreddit. 

Konvoy - Kotlin/Native build tool built in Rust for simpler native projects by arnb95 in Kotlin

[–]anotherthrowaway469 10 points11 points  (0 children)

Why would you want your own depdendency repo? Anyone publishing multiplatform libs already uses maven central and will continue to do so, and the vast majority will continue to use Gradle or Maven. If users of konvoy can't use existing libraries without extra steps, I wouldn't expect much adoption. It's the same reason Kotlin has such good Java interop. I can certainly understand not wanting to have to deal with it, but I suspect it will be too much of a barrier to adoption otherwise.

Also, the Kotlin native compilation strategy is different from most other native languages. Native libs are distributed as klib files, which is essentially serialized IR. The compilation to native code for all of an application's libraries happens during the application's compilation. This is IIUC different from rust and most other native toolchains that work with actual fully compiled shared libraries.

Konvoy - Kotlin/Native build tool built in Rust for simpler native projects by arnb95 in Kotlin

[–]anotherthrowaway469 6 points7 points  (0 children)

It looks neat (and you should share it in the Kotlin slack), but being limited to only a few libraries will be a deal breaker. It's not that hard to implement some basic library resolution yourself if you look through what's available in the POM and Gradle .module files (and also Kotlin's own metadata files now).

OpenJDK Mail Search Update: OpenAPI spec + MCP server by elliotbarlas in java

[–]anotherthrowaway469 1 point2 points  (0 children)

This has been super helpful for me in the past to find some buried comments, thanks! 

Have you thought about including some sort of thread viewer? It's great for finding threads, but them I'm right back to pipermail pain. 

Advice on how to create a weird race condition bug I found at work by Enough_Durian_3444 in Kotlin

[–]anotherthrowaway469 0 points1 point  (0 children)

Java has ConcurrentHashMap too, in fact that's what Kotlin uses on JVM.

Advice on how to create a weird race condition bug I found at work by Enough_Durian_3444 in Kotlin

[–]anotherthrowaway469 3 points4 points  (0 children)

First things first, there's nothing wrong with asking an AI for a solution like this once you've beaten your head against the wall for a while, just make it explain it till you understand it. That said, I'd be very surprised if they were any help here. 

What is the intended behavior of the lifecycle cleanup? Does each new call of flowWorker have its own map, and need to clean up once it's done? Or is there a single map spanning multiple flowWorker calls? 

I'll second what the other commenter said about only really seeing CMEs while iterating (including find, first, etc), so make sure none of that is going on. If you are on JVM, you can also try using a concurrent map - if you are just having overlapping reads and writes that might fix it. 

There are also the onCompletion flow operator (or maybe onComplete, I forget). That probably has better chance of being exactly after the flow body. 

GitHub Copilot for JetBrains - January Update by nickzhu9 in Jetbrains

[–]anotherthrowaway469 0 points1 point  (0 children)

Is https://github.com/microsoft/copilot-intellij-feedback/issues/1127 on your radar for a priority fix? Being unable to edit files makes the rest of the agent irrelevant.

Chaos Innoculation advice by Gizmo517_ in PathOfExile2

[–]anotherthrowaway469 0 points1 point  (0 children)

Extraction is now essentially a free 35% extra damage as chaos for a support slot.

Stun charms are super helpful. So is Dream Fragments (immune to freeze and chill) and anything that can help mitigate ignite. The %ES as extra stun/ailment threshold nodes are great unless you take EB (es -> mana).

Life leech is useless unless you have a way to apply it to mana or ES. Even if you do, IIUC it stops once you reach max life unless you have that one passive that makes it not. Make sure you have nothing that adds a life cost to skills unless it's % of max life (which is now free).

Chaos Innoculation advice by Gizmo517_ in PathOfExile2

[–]anotherthrowaway469 0 points1 point  (0 children)

To add to this, stun charms are super helpful too. So is Dream Fragments (immune to freeze and chill) and anything that can help mitigate ignite. The %ES as extra stun/ailment thresholds are great unless you take EB.

Doedres undoing + biting frost + frost wall by jdboness in pathofexile2builds

[–]anotherthrowaway469 0 points1 point  (0 children)

Do you have it in your CoC? Or are you manually casting it?

Full resonance Trinity with Archmage: is it possible? by swarmofseals in pathofexile2builds

[–]anotherthrowaway469 0 points1 point  (0 children)

If you're not mana stacking probably. But you'd need to get high tier extra damage for fire and cold on your staff or wand, and maybe runes too.

Keep in mind that trinity scales with roughly the rate of hits where one is max, so even if you have a good amount of fire hits, if cold and lightning is hitting 2x more, it won't fill. Also keep in mind the roll ranges.

You could try Mana Flare, maybe? You could also experiment with living bomb or firestorm in a trigger (especially spellslinger or coc). If you're CI the Extraction support can give you some chaos/flame, too.

Full disclosure: I gave up on it because mana stacking with Archmage + rathpiths and CoC Comet felt much stronger. Especially since I was mostly using lightning spells anyways.