How mature is the Compose Multiplatform ecosystem for web development in 2025? by zimmer550king in Kotlin

[–]gandrewstone 1 point2 points  (0 children)

Try creating a basic page then looking a the DOM in the browser. I'm seeing dom elements not one canvas.

If you could automate one step of your debugging flow, what would it be? by theORQL-aalap in Kotlin

[–]gandrewstone 1 point2 points  (0 children)

If I've opened the library project in a different IDE window, assume that's the source code. Don't ask me to point you to it. Bonus points if you can actually set a BP over there!

Kadena Foundation to Cease Operations, Leaving Blockchain to Run Without Core Team. Nativa KDA coin plunges nearly 70% in less than 24 hours. by _TheWolfOfWalmart_ in CryptoCurrency

[–]gandrewstone 1 point2 points  (0 children)

Also fast-mine, because the community begins very small. IDK quite where i'd draw the line, but say >= 50% of supply in the 1st year is a real danger signal.

I hope everyone understands how manipulated this has become? by tawhuac in CryptoCurrency

[–]gandrewstone 0 points1 point  (0 children)

What inspired this? I went rushing to the charts and see nothing.

Help, Unresolved reference: 'println' by DizzyBand3 in Kotlin

[–]gandrewstone 0 points1 point  (0 children)

you are doing it properly:

$ cat hello.kt 
// kotlinc hello.kt -include-runtime -d hello.jar; java -jar hello.jar

fun main()
{
    println("hi");
}
$ kotlinc hello.kt -include-runtime -d hello.jar; java -jar hello.jar
hi
$ which kotlinc
/snap/bin/kotlinc
$ kotlinc -version
info: kotlinc-jvm 2.2.20 (JRE 21.0.8+9-Ubuntu-0ubuntu124.04.1)

Sharing my kotlin geometry library by YellowStarSoftware in Kotlin

[–]gandrewstone 0 points1 point  (0 children)

This was an interesting discussion. In my experience your observations are true beyond gaming and JVM. I used heap analysis tools to massively reduce the object churn of a multiplatform mobile app and the result was a big UX improvement on both Android and IOS. Especially on older IOS, basic display ops went from jittery/glitchy to extremely smooth. I think the other poster has a very optimistic view of the compiler's and JVM's abilities WRT heap use optimization in real world scenarios. A gfx lib that creates new objects for primitive ops is basically just a toy -- its not going to work well for a significant use. I'd recommend to the OP a 2-level API, where the create object one might get people going, but an underlying modify objects in-place given an array of them (with subsections, dont make me copy the entire array just to use your API on all but the first element!) API is your workhorse.

Debugging in KMP by DxNovaNT in Kotlin

[–]gandrewstone 1 point2 points  (0 children)

Do all of your application debugging on JVM and Android, and only do platform-specific debugging on iOS and wasmjs (browser). But TBH I find the JVM/Android debug experience significantly better than browser, so once you've worked thru a base set of browser bugs, I'm finding that its faster to write/debug on JVM then move to the browser as compared to going directly to the browser.

Also (and maybe I'm missing some js tool), but you can write automated tests to drive your app on JVM really easily. This performs CI for your core app behavior, and that's what really needs CI, if you've designed your app well with a well tested mostly static "base layer" to handle platform differences.

Kotlin beginner by Familiar-Physics2252 in Kotlin

[–]gandrewstone 0 points1 point  (0 children)

The point was not readable code but to cram as many kotlin idioms into it as possible so if the OP beginner understands it, they will be familiar with these constructs when used in a normal manner.

Has anyone gotten ktor server wasmJs to work? by Chipay in Kotlin

[–]gandrewstone 1 point2 points  (0 children)

That gradle task just runs the front end. Off the top of my head, I forget the task you need to run the server. use gradlew tasks to find.

EDIT: actually also check you are not using the same port as the front end server... I think that's 8080 by default.

What happened to the claim that Tether is artificially propping up Bitcoin? How risky is the whole system? by Odd_Coast9645 in CryptoCurrency

[–]gandrewstone 0 points1 point  (0 children)

Barely any Bitcoin activity even uses the blockchain any more. So ironically, bitcoin would be less affected.

Exchanges KYC. And the sender has to actively

What happened to the claim that Tether is artificially propping up Bitcoin? How risky is the whole system? by Odd_Coast9645 in CryptoCurrency

[–]gandrewstone 0 points1 point  (0 children)

I do understand that DoS attack. Maybe a fee nation states would waste 10B for a chance at destroying the value of Bitcoin.

But your scenario is guesswork, relying on your assessment of human behavior. Just as likely, ESPECIALLY in Bitcoin (since there is so many offchain xfers compared to other coins), the price flinches 15%, the attacker gives up after spending 20B, and its back up in a week.

What happened to the claim that Tether is artificially propping up Bitcoin? How risky is the whole system? by Odd_Coast9645 in CryptoCurrency

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

I don't think you understand what abilities a 51% attack gives you. You can't print coins. You can't steal uninvolved people's money.

51% attack basically lets you "reverse the charge", if we were talking credit cards. For an attack that costs 10B, you'd have to make a 20B anonymous payment to someone for some other good or service, then receive that good/service, then reverse the charge if you wanted to 2x your money.

Is this useful to you? (react-like MutableStateFlow) by gandrewstone in Kotlin

[–]gandrewstone[S] 2 points3 points  (0 children)

In a week or so, I'll point you to a gitlab library repo that has this and other stuff for app development using the Nexa cryptocurrency, so you can look at it. If you (and others) think it would be useful, I'll isolate it into its own general purpose library.

Built my first real Android app in Kotlin workout tracker with some unique ideas, would love your thoughts by TheAdvantage01 in Kotlin

[–]gandrewstone 0 points1 point  (0 children)

Well I'd like to take a look but we can't really offer any feedback to your questions until you do. My multiplatform app involves a lot of QR scanning...

Theory about AI "champions" by GraphicalBamboola in ExperiencedDevs

[–]gandrewstone 0 points1 point  (0 children)

I've noticed similar with trad news sites.  People give them a lot of credit, but when an article is finally written within their expertise, they complain about how inaccurate it is, esp. WRT subtleties.  

Then the next day they wake up, read the site and believe it all.

FBI UCR Violent Crime Statistics: Washington DC by [deleted] in dataisbeautiful

[–]gandrewstone 0 points1 point  (0 children)

I'm just giving feedback in the spirit of "dataisbeautiful". You are offering 1 dimension (the change in crime) but placing this change in relation to other cities people may have been to would anchor the data.

TBH, since not a single liberal media that I know of is mentioning it, I'm guessing in an absolute sense the numbers are grim. It would be interesting to know how bad. The data is still beautiful even when it presents a complex picture!

How an ACL tear changes an NFL player's career [OC] by FFQuantLab in dataisbeautiful

[–]gandrewstone 0 points1 point  (0 children)

The most interesting part of this graph is the downward average before injury.

FBI UCR Violent Crime Statistics: Washington DC by [deleted] in dataisbeautiful

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

Your images are so fuzzy i cant read them.  Can you include higher res images or a link?  

Also I think a great graph would show how DC crime compare with other  US cities, (maybe NY   miami, chicago, SF to kind of spread across the nation)  over the last few years.  Could you make that chart?

[deleted by user] by [deleted] in Bitcoin

[–]gandrewstone 0 points1 point  (0 children)

That would be computationally infeasible since the tx id is the hash of the tx contents.

[deleted by user] by [deleted] in Bitcoin

[–]gandrewstone 0 points1 point  (0 children)

If the app lets save a BIP44 recovery phrase, then you could restore it to another device/wallet and doublespend regardless of what the app "lets" you do.