Check out this JEP. They propose to enhance
#java #jep #instanceof
instanceof so it can be used like this:if (obj instanceof String s) {
// can use s here
} else {
// can't use s here
}#java #jep #instanceof
In this strange post author explores what happens when you try to close your app via System.exit(). It's not clear why would anyone want to do this, but it's always fun to know.
#system #jvm #activity
#system #jvm #activity
Medium
A cautionary tale on Android: do not call System.exit()
Once upon a timeβ¦ there was an issue that was hidden in plain sight! It lived freely for years without no one noticing it. Until one dayβ¦
An entertaining post on changes that happened to programming over the last 20 years.
#programming #humor
#programming #humor
Medium
How is computer programming different today than 20 years ago?
I saw a question on Quora asking this and I started to write an answer. But it got so long that I converted into a post here.
Good news, everyone! Microsoft introduces the new multiplatform framework .NET MAUI. It works on Android, iOS, macOS and Windows and is built on top of Xamarin.Forms.
#microsoft #dotnet #maui
#microsoft #dotnet #maui
Microsoft News
Introducing .NET Multi-platform App UI
You can build anything with .NET. Itβs one of the main reasons millions of developers choose .NET as the platform for their careers, and companies invest for their businesses. With .NET 5 we begin our journey of unifying the .NET platform, bringing .NET Coreβ¦
Check out the current state of Project Loom (lightweight threads, "virtual threads" as they call them) in Java.
#java #loom #coroutine
#java #loom #coroutine
A short post on using
#view #handler
post and postDelayed to remind you that there is also the removeCallbacks method and a thing called ViewTreeObserver.#view #handler
Medium
Stop Using Post/PostDelayed in Your Android Views
Prevent avoidable crashes
@themishkun shared with us a controversial post that perfectly matches this channel. Author tried to make a few changes to a project that wasn't being maintained for some time. In an instant Gradle and Android Studio drove him mad.
#ide #studio #gradle
#ide #studio #gradle
shkspr.mobi
Weβve built a towering pile of shite β Terence Edenβs Blog
Regular blogging by Terence Eden.
@YonatanLevin shared with us something absolutely beautiful. Check out this StackOverflow thread about the Duplicate class ...ListenableFuture found in modules guava-... issue and the top voted answer.
#google #library #guava
#google #library #guava
Stack Overflow
Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar (com.google.guava:guava:20.0)
When I use implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0' in my app/build.gradle, I get this error:
Duplicate class com.google.common.util.concurrent.ListenableFuture ...
Duplicate class com.google.common.util.concurrent.ListenableFuture ...
Good one: a story of an R8 rule that stripped out
#r8 #bug
Object.notify and completely broke an app.#r8 #bug
Medium
How to break your Android App with proguard / R8
I recently updated the android gradle plugin to 4.0.0. While developing, everything went smoothly and at some point I was ready to cut aβ¦
I can't help but share this link: ask me anything with SpaceX software team on Reddit. Lots of interesting stuff: e.g. for state management they use Redux model outside the UI layer.
#software #programming #spacex
#software #programming #spacex
Reddit
From the spacex community on Reddit: We are the SpaceX software team, ask us anything!
Explore this post and more from the spacex community
As a follow-up on yesterday's post @Shipaaaa shared a link on this Twitter thread. Former Tesla employee (NDA has expired) posted a bunch of disturbing details on how things worked at his time.
#software #tesla
#software #tesla
X (formerly Twitter)
X
The story of improving OkHttp connections reuse by implementing
#okhttp #network #performance
.equals on SSLSocketFactory and reusing it's instances.#okhttp #network #performance
Medium
Maximizing OkHttp connection reuse
debugging a 3rd party library
Uncle Linus respectfully disagreed on limiting Linux kernel code lines with 80 characters.
#linux #kernel #terminal
#linux #kernel #terminal
lkml.iu.edu
Linux-Kernel Archive: Re: clean up kernel_{read,write} & friends v2
A post with some details on how the Benchmark library tries to improve the result accuracy. It's not really deep, but it's something.
#jetpack #benchmark
#jetpack #benchmark
Medium
Going Deep on AndroidX Benchmark
Performance has been an important part to ensure smooth user experience, and Android Team had released the first AndroidX Benchmarkβ¦
Check out this long read about the no code approach. You'll find good and bad cases, useful tools and some examples of automation.
#nocode
#nocode
Vas3K
None