AVincentInSpace

@AVincentInSpace@pawb.social

This profile is from a federated server and may be incomplete. View on remote instance

AVincentInSpace ,

Alternatively, get pretty much any phone and load LineageOS on it, and just live the FOSS-purist Android life.

It's an incredibly sucky life, but it's a free one.

AVincentInSpace , (edited )

oh boy a brand new gadget bahn

at the least it is (presumably) cheaper than fully restoring those old railways and getting actual two-track trains running on them

AVincentInSpace ,

Old? Newgrounds is still around! In fact, thanks to the Ruffle project reimplementing Flash Player in WASM, all the old Flash games on it are playable in any HTML5 browser!

We live in an era where you can play Henry Stickmin on your phone! How cool is that? What a time to be alive!

AVincentInSpace ,

Better than a guaranteed loss, right?

AVincentInSpace ,

Still, better to vote for the candidate that will ensure that forms of political action besides voting will continue to be legal

AVincentInSpace ,

Best not to vote then? Best to let the guy win who has promised on the campaign trail to make the lives of trans people, women, immigrants, basically everyone who isn't a straight white male, as miserable as he possibly can, and not put up even a token resistance against Israel, because the other guy isn't resisting Israel as hard as we'd like and is therefore just as bad?

I hate Biden too but not voting is not the solution.

AVincentInSpace ,

Your Markdown link is backwards. It should be [link text]/(url) (delete the slash obvs)

AVincentInSpace ,

I was gonna say Black captures the bishop with their king

AVincentInSpace ,

I have never been more excited for the future than when I found out just now that the LLMs have learned how to shitpost

AVincentInSpace ,

object to the choice being fostered upon her and choose nobody?

do you genuinely think not voting will make neither candidate win

AVincentInSpace ,

Ah, fishhook theory, also known as "everyone even slightly to the right of me is a Nazi"

AVincentInSpace , (edited )

might I suggest using Matrix instead? End to end encrypted and fully open source (client and server), plus message history gets synced to new devices (assuming both your old and new clients support it, which nearly all do), and as a bonus it doesn't store data on a centralized server.

Oh, and it supports sticker packs and custom emoji.

AVincentInSpace ,

Why is it a terrible recommendation for a basic chat user? If by "basic chat" you mean SMS or iMessage, it is strictly superior

AVincentInSpace ,

Sync

Works fine for me.

System support

Windows, MacOS, Linux, iOS, Android, what more do you want?

Hoops to jump through

What hoops? I typed in my phone number and was good to go.

potential loss of chat history

You said that already. If the worst thing you can say about the messenger is that it doesn't sync chat history to new devices, it's probably a decent messenger.

unreliability

Genuinely what?

lack of account based sign up

Like I said, if were comparing it to messengers people are already using, like iMessage or RCM, this is a nonissue.

AVincentInSpace ,

are you seriously fucking gatekeeping what it means to be trans

AVincentInSpace ,

Not everyone is trans, homesicle. If I take a long hard look at my gender and decide that I'm happier as the man I was born than as a woman, that's my business. Trying to force me into a female body would make me just as miserable as your male one was for you.

Also I couldn't help but notice that you seem to conflate anger as a concept with masculinity.

AVincentInSpace ,

must have beard length at least 80% of your height.

AVincentInSpace ,

yes but you don't participate in riots and vote for joe biden instead of third party, therefore you are no better than transphobes

/s if it wasn't obvious

AVincentInSpace ,

no, everyone right of "I won't vote at all in 2024 because I refuse to vote for Biden" is a conservative

didn't you get the memo

AVincentInSpace ,

“Authoritarian” would require that we, you know, have some authority.

No, it would require you to support the idea that there should be some central authority telling people what they should be doing. Which you do.

AVincentInSpace ,

ah yes, lemmy, the "biden is just as right wing as trump, harm reduction isn't real, and if you don't vote third party in 2024 you're a genocide enabler" website, famously a right wing echo chamber

AVincentInSpace ,

I don't. That's precisely why I'm against authoritarianism.

I found a tool that allows compiling Rust to JVM bytecode (make JAR files from Rust, if you dare?) ( github.com )

I thought this might interest you Rust folk. This is kinda like an LLVM bitcode to JVM bytecode translator. So run rustc with --emit=llvm-ir (I think that's the flag) and then pass the bitcode image to this program, then get JVM bytecode which you can make a JVM bytecode archive (JAR) from it. Could be an interesting? The...

AVincentInSpace , (edited )

We can already write Android apps in pure Rust though. Android apps are allowed to run native machine code -- that's how the Android versions of Genshin Impact, CoD, Fortnite et. al. work -- and winit and wgpu support Android NativeActivity as a backend.

https://github.com/inferrna/hello_world_android_egui

AVincentInSpace ,

I dunno. I just kinda aimlessly Googled terms related to Android and Rust until I found that link.

The GitHub link in my previous comment shows a basic example of using the egui GUI framework on Android via wgpu. I haven't found an excuse to play around with it yet, plus getting the Android NDK cross compiler working with Cargo (for crates that compile C code) is a bit of a pain, but I'd assume it works how it says on the tin.

Tell you what, gimme a minute to screw around with this and I'll report back

AVincentInSpace , (edited )

@sashin @XTL Alright, I'm back. Survey says: we are, indeed, Android yet!

I found this example repo in my travels: https://github.com/inferrna/hello_world_android_egui

It shows the same demo setup that can be experienced through a Web browser at http://egui.rs, only now as a native-code Android application. To compile it I had to:

  • install lld (it uses that linker I think exclusively and will complain if you don't have it)
  • rustup target add aarch64-linux-android
  • ignore the build instructions in the repo since the tool they recommend (cargo apk) has been deprecated and no longer works (either that or i couldn't get it working -- xbuild is easier anyway)
  • cargo install xbuild
  • cargo update the repo since the version of android-activity it ships with is out of date and will crash since my version of Android passed it a null pointer it wasn't expecting
  • connect phone to PC via adb
  • invoke xbuild to compile and deploy the app: x run --device adb:ADB_ID_GOES_HERE

I did NOT have to:

  • download Android Studio, even as the command line tools (xbuild took care of downloading the SDK and NDK for me)

(I did download them separately as part of a different troubleshooting step, but I deleted them and it continued working. Not sure what to make of this. Not about to reinstall my OS to make sure these steps are reproducible. Please let me know if they are or not!)

UPDATE: It seems egui is not able to accept text input at all -- it does not know how to bring up the virtual keyboard when you click a textbox, nor does it accept keyboard input when the virtual keyboard is forced open through third party app nor through a physical USB keyboard. Still more work to be done, but I'm shocked at how much is already possible!

AVincentInSpace ,

I don’t see the harm of transpiling parts of the app into JVM to access the full breadth of features

You mean apart from the 5x performance hit?

I'm unaware of anything the Android SDK supports that the NDK doesn't, and the ndk-rs crate provides bindings for it. I agree that Rust on Android is not where we'd like it to be yet, especially with regard to familiar interfaces like winit, but transpiling Rust to JVM bytecode is not the solution. Come to that, it's not the solution to any problem that currently does or (with any luck) will ever exist. Best case scenario, you shift the problem from creating bindings to the NDK to creating much uglier bindings to random Java classes through something JNI-like.

Speaking of the JNI, actually, writing Rust native code that can both be called from and call into to Java/Kotlin/other JVM code via the JNI is actually fairly straightforward.

Transpiling Rust to Java bytecode is a remarkably silly idea and I cannot fathom why anyone would ever do it, except maybe if they really cared about portability.

AVincentInSpace ,

No, I'm serious. Why would you ever do that? What features are available to the Java version of the Android API that aren't available via the NDK? And if those features exist, why is writing the portions of your app that depend on those features in Kotlin and the rest in Rust infeasible?

AVincentInSpace ,

"Personal use" as opposed to what exactly? Making porn to share with friends? AI generating a sex scene which you then upload to AO3?

AVincentInSpace ,

i hate to break it to you bud but all modern editors are GPU based

AVincentInSpace ,

who is using linux through their web browser

AVincentInSpace ,

would that show up as their display server though? surely VMWare et al run some other display server on the backend and then stream to clients via VNC?

AVincentInSpace ,

if the graph is really at 0%, and not 0.0001%, why's it there at all?

also, i'm really confused as to why a webui would qualify as a display server.

AVincentInSpace ,

ppl make this joke literally every time a new GPU generation comes out but i still laugh every time

AVincentInSpace ,

excuse you the plug is clearly red

AVincentInSpace ,

Me in the corner with netboot.xyz: "I am four parallel universes ahead of you"

AVincentInSpace ,

see? she's a scientist, therefore she knows what she's talking about!

you aren't going to question your own precious science, are you, liberal? didn't you know all scientists study the same thing?

AVincentInSpace ,

me: searches for Thing for 15 minutes

me: ugh... MOM DO YOU KNOW WHERE Thing IS

mom: No but I can help you look

mom after approximately 3.5 seconds: it's right here sweeite

me: ...how did you do that

AVincentInSpace ,

i've been seeing a lot of dungeon meshi content lately and i have to say i greatly approve

AVincentInSpace ,

god dammit. her laptop isn't even labelled. there is no text on it anywhere. nothing except the black chassis and the grey rectangle at a 45 degree angle.

WHY DO I KNOW IT'S A THINKPAD?

it's like the minimalist meme trend that was going around a while back but for brand recognition. I am not okay with the knowledge that I've beensoo easily programmed.

AVincentInSpace ,

name a single jetbrains product that isn't a worse experience than using vscode plus LSP extensions. i'll wait

  • All
  • Subscribed
  • Moderated
  • Favorites
  • supersentai
  • WatchParties
  • Rutgers
  • jeremy
  • Lexington
  • cragsand
  • mead
  • RetroGamingNetwork
  • loren
  • steinbach
  • xyz
  • PowerRangers
  • AnarchoCapitalism
  • kamenrider
  • Mordhau
  • WarhammerFantasy
  • itdept
  • AgeRegression
  • mauerstrassenwetten
  • MidnightClan
  • space_engine
  • learnviet
  • bjj
  • Teensy
  • khanate
  • electropalaeography
  • neondivide
  • fandic
  • All magazines