@jw@jakewharton.com
@jw@jakewharton.com avatar

jw

@jw@jakewharton.com

Stop stopping

This profile is from a federated server and may be incomplete. Browse more on the original instance.

jw, to random
@jw@jakewharton.com avatar

Just finished reading Animal Farm for the first time in my life. It was good, I guess, but almost exhausting in its lack of subtlety for metaphor and allegory. I suppose that's why you read it and learn about it in high school.

Should I watch the old movies of it? Gollum directing one for next year, too: https://en.wikipedia.org/wiki/Animal_Farm_(upcoming_film)

1984 is next! Never read nor seen.

jw, to random
@jw@jakewharton.com avatar

The Gradle docs tell you to use Java toolchains…

The Android docs tell you to use Java toolchains…

…but Gradle's toolchains are rarely a good idea. Let’s look at why!

https://jakewharton.com/gradle-toolchains-are-rarely-a-good-idea/

withoutclass, to random
@withoutclass@mastodon.sdf.org avatar

Hi @jw do you have an RSS feed for your blog by chance? It would be great if I could read your blog posts in my reader :)

jw,
@jw@jakewharton.com avatar
jw, to random
@jw@jakewharton.com avatar

The consistency, clarity, and discoverability of Gradle KTS APIs remains unmatched.

jw,
@jw@jakewharton.com avatar

Got some bangers lined up for the blog

jw, to random
@jw@jakewharton.com avatar

Retrofit 2.10.0 is out after maybe too long of a hiatus.

  • First-party kotlinx.serialization converter.
  • Support Unit as a response type.
  • Updated shrinker rules and annotation processor to generate additional ones.
  • Jackson binary format support.
  • JAXB 3 converter for your Jakarta woes.
  • A BOM to keep versions aligned.
  • Internal locking overhaul to reduce startup contention.
  • Multi-release jar for more efficient use of Java 14 and Java 16 APIs.

https://github.com/square/retrofit/releases/tag/2.10.0

jw, to random
@jw@jakewharton.com avatar

Published a post on Kotlin's JDK release compatibility flag. Turns out jvmTarget is not enough to ensure you're compatible with older JDKs.

https://jakewharton.com/kotlins-jdk-release-compatibility-flag/

jw,
@jw@jakewharton.com avatar

@gryzor Honestly I'm not sure anything else exists that I want to use. This has been spinning in my head all weekend. Maybe like something custom built on Ninja?

What I really want is Gradle2 1.0 where they break compatibility with all their baggage. Everything is sandboxed in workers and tasks expose only properties and there's no magic DSL shenanigans in Groovy or Kotlin but instead clear, descriptive, cohesive build APIs you can write in any JVM language.

kyleve, to random
@kyleve@mastodon.online avatar

Enjoying whatever new IT spyware has been installed on my work computer that means that I get no internet connection for 15 minutes every time it sleeps. I feel so secure

jw,
@jw@jakewharton.com avatar

@kyleve Dude I Googled this for an hour. I thought it was Ventura or something.

jw,
@jw@jakewharton.com avatar

@kyleve This has fixed itself for me in the last week or two.

jw, to random
@jw@jakewharton.com avatar

If you ever donate to a political campaign make sure to use a dedicated or burner email address so you can blackhole the fuck out of it. It's truly amazing what absolute trash they think you agreed to receive by donating.

jw, to random
@jw@jakewharton.com avatar

Am I programming with the JDK HTTP client API or reading The Handmaid's Tale?

ofFile... ofPath... ofBytes... ofBody...

kyleve, to random
@kyleve@mastodon.online avatar

Is there any desktop app that shits the bed worse than when your internet is kinda down than Slack? Takes a minut to load, may or may not give you an error page, then needs to be force quit.

jw,
@jw@jakewharton.com avatar

@kyleve Slack should force 100% of their employees to ride the NYC subway for all work hours. Phone app and desktop/web app become completely useless at the first packet that takes more than 100ms to be ACKed.

evan, to webdev
@evan@cosocial.ca avatar

What's the best place to host a single page client-side app in 2023 on one's own domain with SSL?

Is the answer still “GitHub Pages”, or is there something better?

#FrontEnd #Hosting #Code #HTML #SinglePage

jw,
@jw@jakewharton.com avatar

@evan I prefer Netlify because I can pay them for server-side analytics and eliminate client-side JS.

kyleve, to random
@kyleve@mastodon.online avatar

m’acro

[tips hat]

jw,
@jw@jakewharton.com avatar
jw, to random
@jw@jakewharton.com avatar

After casually searching for a decade I finally have my hands on a Sooner!

This is the very first Android phone which was never released publicly as it was for Google and carrier testing during prerelease development of the OS. It's also the physical version of the emulator skin from the M3 SDK, the very first public SDK, into which I stared for weeks. A month later, the third SDK changed the skin to a maroon full-touch screen to reflect the HTC Dream, the first public launch device.

jw, to random
@jw@jakewharton.com avatar

Released new versions of Molecule, Redwood, and Mosaic which support Kotlin 1.9.10 by default.

Remember: you were not blocked from upgrading to 1.9.10 because you could have specified a custom JetBrains Compose compiler version:

molecule {
kotlinCompilerPlugin.set("1.5.2")
}

If you want to test out Kotlin 1.9.20-Beta today you can specify JetBrains Compose compiler version 1.5.2.1-Beta2 for all three libraries.

Enjoy!
https://github.com/cashapp/molecule/releases/tag/1.2.1
https://github.com/cashapp/redwood/releases/tag/0.7.0
https://github.com/JakeWharton/mosaic/releases/tag/0.9.1

saket, to random
@saket@androiddev.social avatar

SKIE by touchlab looks groundbreaking for kotlin multiplatform https://skie.touchlab.co/

jw,
@jw@jakewharton.com avatar

@kyleve @zachklipp @saket Actually that's exactly the opposite of what they say!

jw, to random
@jw@jakewharton.com avatar

Cash App's Summer of Kotlin Multiplatform series has now concluded: https://code.cash.app/kotlin-multiplatform-summer

Revisit any posts you might have missed:

  • Kotlin Multiplatform Money Formatter
  • Dynamic Kotlin with Zipline
  • Flow testing with Turbine
  • Paraphrase: Type-Safe String Resource Formatting
  • Native UI and multiplatform Compose with Redwood
  • Multiplatform image loading: Coil 3.0
  • A stable, multiplatform Molecule 1.0
  • Announcing SQLDelight 2.0
  • Okio 3.5 has WASM
  • Poko goes multiplatform
jw, to random
@jw@jakewharton.com avatar

Not sure why everyone makes such a big deal of traveling with kids. You just need the right equipment.

jw, to random
@jw@jakewharton.com avatar

A signal that I miss from The Fowl Place is notifications of likes/reposts on my own reposts of someone else. Basically a feedback loop of the degree to which the people who follow me enjoy the content that I repost from others.

Outside of JVM, Android, Kotlin, and Java, I'm very interested in Rust, Swift, LLVM, WASM, web, compilers, and more. I'll regularly repost things in those categories. And while I'll always continue do that, it was nice to see what from those was popular amongst you all.

jw, to random
@jw@jakewharton.com avatar

I disabled my Reddit app using

adb shell pm disable-user <package-name>

This ensures that I'm not tempted to use it, that it doesn't make background API calls, and that I don't lose any state when restored.

To re-enable

adb shell enable <package-name>

You can find installed packages with

adb shell pm list packages

and then grep for something like 'reddit' or a word in the app name. You can also find the package by browsing the Play Store on the web and then looking at the URL.

tbroyer, to webdev
@tbroyer@piaille.fr avatar

So, what do people use nowadays to make slideshows from Markdown, Asciidoc, or HTML that can ideally render to PDF in addition to HTML?
(if it doesn't do PDF, don't hesitate to suggest anyway!)

jw,
@jw@jakewharton.com avatar

@tbroyer Never used it, but maybe iA Presenter

brwngrldev, to random
@brwngrldev@androiddev.social avatar

Is this new? In Android Studio it highlights the verification that failed when you run unit tests.

jw,
@jw@jakewharton.com avatar

@brwngrldev It's actually pretty old, but they probably recently added support for whatever library provides that 'verify' API.

https://twitter.com/JakeWharton/status/1006592129123090433

jw,
@jw@jakewharton.com avatar

@brwngrldev Absolutely. That could actually be IntelliJs slogan!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • khanakhh
  • ngwrru68w68
  • Youngstown
  • magazineikmin
  • mdbf
  • slotface
  • thenastyranch
  • rosin
  • kavyap
  • tacticalgear
  • tester
  • provamag3
  • osvaldo12
  • cubers
  • ethstaker
  • everett
  • Durango
  • InstantRegret
  • normalnudes
  • Leos
  • modclub
  • anitta
  • cisconetworking
  • megavids
  • lostlight
  • All magazines