A great post about RCE vulnerability in MX Player. The funny part is the RCE was gained because of some Facebook SDK.
#cybersec #vulnerability #facebook
#cybersec #vulnerability #facebook
Medium
Android MX Player — Path Traversal to Code Execution
MX Player is an Android App that you can find on the Google Play Store, having over 500M downloads.
setCurrentScreen method in Firebase Analytics is now deprecated. You're free to track the screen_view event whenever you like.#google #firebase #analytics
The Firebase Blog
New API for manually tracking screen views in Google Analytics
Google introduces a replacement for
This thing can handle errors, knows how to work in a non-blocking way and even has transactions! Moreover, now you can store
Looks very promising, I'm looking forward to a stable release.
#preferences #datastore #protobuf
SharedPreferences - DataStore. This thing can handle errors, knows how to work in a non-blocking way and even has transactions! Moreover, now you can store
protobuf-serialized typed objects.Looks very promising, I'm looking forward to a stable release.
#preferences #datastore #protobuf
Android Developers Blog
Prefer Storing Data with Jetpack DataStore
News and insights on the Android platform, developer tools, and events.
An investigation post: how much memory do objects really hold on Android? Primary conclusion - Android heap dumps give us the real size of instances.
#art #memory #cpp
#art #memory #cpp
DEV Community
The real size of Android objects 📏
Header image: Deep Dive by Romain Guy. I'm currently reimplementing how LeakCanary computes the re...
In Android 11 ART can update class layout on-the-fly. It can be used with features like Apply Changes in Android Studio. This thing is called Structural Class Redefinition and you'll find a bunch of interesting details in the post.
#art #studio #ide
#art #studio #ide
Medium
Structural Class Redefinition
Allowing tools, such as Apply Changes, to modify the class structure itself, adding new fields to existing classes.
How to leak memory with two hands,
#leak #memory #packagemanager
PackageManager and some references?#leak #memory #packagemanager
DEV Community
Beware PackageManager leaks!
While I was investigating an Android memory leak, I took these notes as I learnt about the lifecycle...
After a long day of fighting RecyclerView and UI thread it’s always nice to just sit, relax, and learn how to build an async ViewHolder creator using Kotlin Channels.
#recycler #async #channel
#recycler #async #channel
Medium
Recycler view, power of asynchronous view holders creation
The easy way to optimize your lists
Found an interesting idea in this post: using
#kotlin #coroutine #fp
suspend modifier to mark all non-pure functions and to prevent us from invoking those functions from the pure ones. The idea becomes especially interesting with Redux-like approaches. #kotlin #coroutine #fp
👨💻 Jorge Castillo
Tracking side effects at compile time with suspend
Thinking of suspend as a Kotlin stdlib mechanism for flagging and tracking effects at compile time. Going declarative Functional Programming puts a lot of emphasis on achieving concern separation between the pure logics of a program (algebras) and the runtime…
Working with timestamps and timezones is almost always a hassle. Moreover, SQLite doesn’t have a dedicated type to store such values. However, there are some built-in functions to simplify such tasks. In this post you’ll find a good example of using them in a real production app.
P.S. Here you’ll find a funny video about general problems with dates, time and timezones.
#sqlite #db #date
P.S. Here you’ll find a funny video about general problems with dates, time and timezones.
#sqlite #db #date
Handling Dates & Times in SQLite
Handling Dates & Times in SQLite :: Ryan Harter
SQLite may not have dedicated datetime data types, but that doesn't mean we have to restort to queries filled with meaningless numbers and post-processing datasets in application code. Here we'll take a look at a real world use case for SQLite's [datetime…
In this post you’ll learn how to apply coroutines for awaiting a layout pass completion or an animation end.
#ui #view #coroutine
#ui #view #coroutine
If using multiple nested
#arrowkt #fp #library
.copy calls on data classes is your case for whatever reason, take a look at this post, Arrow-kt will probably make your life a bit easier. #arrowkt #fp #library
In this post you’ll find a nice explanation of how tail call optimization works. Surprise-surprise, the optmization also works fine with non-recursive functions.
#compiler #optimize #recursion
#compiler #optimize #recursion
eklitzke.org
How Tail Call Optimization Works
Draft JEP on Primitive Objects.
It’s something like an immutable class without identity. Copy of such an object is an exact copy of that original object. And there are plans on treating
#java #jep #primitive
It’s something like an immutable class without identity. Copy of such an object is an exact copy of that original object. And there are plans on treating
int, boolean, etc. as primitive objects. We’re waiting for you, List<int>! #java #jep #primitive
Fun, fun, fun! There’s an issue in linuxmint/cinnamon-screensaver: some kids were fooling around with lockscreen, clicking and typing random stuff, then screensaver crashed, letting them pass into the system.
#linux #crash #cybersec
#linux #crash #cybersec
GitHub
Screensaver lock by-pass via the virtual keyboard · Issue #354 · linuxmint/cinnamon-screensaver
* Cinnamon version: Cinnamon 4.6.7 * Distribution: Fedora 32 * Graphics hardware *and* driver used: 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 47...
Why would anyone want to fix broken toilets or to stop using GNOME, if they can keep enjoying this sweet pain?
#linux #gnome #humor
#linux #gnome #humor
jayfax.neocities.org
GNOME has no thumbnails in the file picker (and my toilets are blocked)
GNOME filepicker and my toilets are broken because of culture of mediocrity.
Contempt Culture
I wonder, are there similar attitudes in the world of MDs? Do oncologists despise otolaryngologists? Do otolaryngologists in turn disdain proctologists? Does the whole bunch of them disrespect therapists?
All right, then. Who will patch my butt up after the explosion that usually happens when I spend a day fighting Android SDK?
#community #culture
I wonder, are there similar attitudes in the world of MDs? Do oncologists despise otolaryngologists? Do otolaryngologists in turn disdain proctologists? Does the whole bunch of them disrespect therapists?
All right, then. Who will patch my butt up after the explosion that usually happens when I spend a day fighting Android SDK?
#community #culture
Aurynn
Contempt Culture - The Particular Finest
So when I started programming in 2001, it was du jour in the communities I participated in to be highly critical of other languages. Other languages
@dsvoronin has recently shared “The Tragedy of systemd” talk by Benno Rice (one of FreeBSD contributors). systemd is a controversial piece of tech. In his talk Benno tried to dig deeper into the history of systemd, what it is criticized for, and why it’s not all that bad.
The talk itself is great by the way. I’ll put some quotes into the discussions.
#linux #systemd #talk
The talk itself is great by the way. I’ll put some quotes into the discussions.
#linux #systemd #talk
YouTube
The Tragedy of systemd
Benno Rice
https://2019.linux.conf.au/schedule/presentation/156/
systemd is, to put it mildly, controversial. As a FreeBSD developer I decided I wanted to know why.
I delved into the history of bootstrap systems, and even the history of UNIX and other…
https://2019.linux.conf.au/schedule/presentation/156/
systemd is, to put it mildly, controversial. As a FreeBSD developer I decided I wanted to know why.
I delved into the history of bootstrap systems, and even the history of UNIX and other…