Readit News logoReadit News
mdwrigh2 commented on Leaving Google   airs.com/blog/archives/67... · Posted by u/todsacerdoti
nashashmi · 4 months ago
The appreciation for engineering and phd research is missing. All focus stems from the CEO on profitability and revenue and commerce.

Edit: seems like he wrote about this before:

> Much of these problems with Google today stem from a lack of visionary leadership from Sundar Pichai, and his clear lack of interest in maintaining the cultural norms of early Google

mdwrigh2 · 4 months ago
Wrong Ian -- Ian Hickson wrote about that in a blogpost, this post is about Ian Lance Taylor
mdwrigh2 commented on Google must open Android for third-party stores, rules Epic judge   theverge.com/policy/2024/... · Posted by u/dblitt
bugtodiffer · a year ago
Sadly, most users should have Play Store and nothing else IMO. I respect the Play security team.

What I could see: make Play Store and Play Services uninstallable like any other app.

mdwrigh2 · a year ago
You can disable them, which is functionally uninstalling. Actually being able to uninstall them isn't technically possible because their base images live on a read-only partition so they survive factory reset (which erases all RW partitions). The OS could _pretend_ they're uninstalled, but that seems strictly worse than the existing presentation which more accurately reflects reality.
mdwrigh2 commented on Log is the "Pro" in iPhone 15 Pro   prolost.com/blog/applelog... · Posted by u/robenkleene
bscphil · 2 years ago
> almost in the opposite direction

I think you're mixing up OOTFs and EOTFs here. sRGB or HLG can refer to either the stored gamma, but more often means the EOTF "reversed" gamma that is used to display an image. When we refer to "log", this is almost always means a camera gamma - an OOTF. So the reason it's "in the opposite direction" is that it's designed to efficiently utilize bits for storing image data, whereas the EOTF is designed to reverse this storage gamma for display purposes.

As you can see from the graph in [1], Sony's S-Log does indeed allocate more bits to dark areas than bright areas. (Though the shape of the curve becomes more complicated if you take into account the non-linear behavior of light in human vision.)

[1] https://www.enriquepacheco.com/blog/s-log-tutorial

mdwrigh2 · 2 years ago
> When we refer to "log", this is almost always means a camera gamma - an OOTF.

Wouldn't this be the OETF? OOTF would include the EOTF, which is typically applied on the display side (as you noted).

mdwrigh2 commented on Android 13 virtualization lets Pixel 6 run Windows 11, Linux distributions   cnx-software.com/2022/02/... · Posted by u/todsacerdoti
scoutt · 4 years ago
Partly joke, partly true... the question that really matters for every AOSP developer out there: how much time did it take to "make clean/make dist"?

I'm still working with Android 11 and compile times are driving me insane. The ritual to compile, pack and flash super.img into the device is absurd.

Do you know if there is any improvement on that side?

mdwrigh2 · 4 years ago
> The ritual to compile, pack and flash super.img into the device is absurd.

I typically only do a full flash for the first build after a sync. Afterwards I just build the pieces I'm changing and use `adb sync` to push them to the device, skipping both the step that packs the image files and the flash. The `sync` target will build just the pieces needed for an `adb sync` if you don't know exactly what you need to build; I typically use it so I don't have to even think about which pieces I'm changing when rebuilding.

So typical flow goes something like:

``` // Rebase is only needed if I have existing local changes > repo sync -j12 && repo rebase

// I don't actually use flashall, we have a tool internally that also handles bootloader upgrades, etc. > m -j && fastboot flashall

// Hack hack hack... then: > m -j sync && syncrestart ```

Where `syncrestart` is an alias for:

``` syncrestart () { adb remount && adb shell stop && sleep 3 && adb sync && adb shell start } ```

Incremental compiles while working on native code are ~10 seconds with this method. Working on framework Java code can be a couple minutes still because of the need to run metalava.

mdwrigh2 commented on The Color of Infinite Temperature   johncarlosbaez.wordpress.... · Posted by u/c1ccccc1
graderjs · 4 years ago
Out of curiosity...what background do you have to make such a wonderful highly technical comment in a casual way...I'm so interested in the field of your expertise that you know so much about that this stuff, that something so technical is familiar to you, that you can come up with this brilliant analogy straight away and do it so casually. Do you work in "color technology" for a media company or something? I have no idea. I'm so interested what part of the world people who know these things do work in.

Strangely, I'm struggling to write this comment in a way that doesn't sound trolling...sorry, I don't mean trolling at all. If you could see my facial expression it would be easier...

mdwrigh2 · 4 years ago
I'm not the parent you're asking, but figure you might be interested anyways since I could've likely made the same comment:

I work on displays within an OS team. Having some basic understanding of colour theory is critical for a significant number of modern display projects, particularly for the high end. For example, enabling colour accurate rendering (games, photos, etc), shipping wide-gamut displays (how do you render existing content on a WCG display?), etc. More specifically to the planckian locus, it generally comes up when deciding which white point to calibrate a given display to at the factory (e.g. iPhone is 6470K, S20 is 7020K in Vivid)[1][2] and if you're doing any sort of chromatic white point adaptation, like Apple's True Tone[1][2].

My background before joining the team was a degree in math, but I really enjoyed doing low level projects in my spare time, so ended up on an OS team. We also have colour scientists who study this full time and have a _significantly_ better understanding of it all than I do :)

[1]: https://www.displaymate.com/iPhone_13Pro_ShootOut_1M.htm#Whi... [2]: https://www.displaymate.com/Galaxy_S20_ShootOut_1U.htm#White... [3]: https://support.apple.com/en-gb/HT208909 [4]: http://yuhaozhu.com/blog/chromatic-adaptation.html

mdwrigh2 commented on Life of a Netflix Partner Engineer – The case of the extra 40 ms   netflixtechblog.com/life-... · Posted by u/saranshk
akersten · 5 years ago
I kind of wish the author touched more on the one-frame-at-a-time aspect. Why aren't they copying more data into the device decoder? It seems somewhat silly on a non-realtime OS to grab one frame, request a 15ms wait, and then grab another frame, when your deadline is 16.6ms. That essentially guarantees a stuttering playback at some point, no?

Is there not a better way to do this? There must be. Why not copy 10 frames at a time? Is the device decoder buffer that small? Is there no native Android support for pointing a device decode buffer to a data ingress source and having the OS fill it when it empties, without having to "poll" every 15ms? So many questions.

mdwrigh2 · 5 years ago
> It seems somewhat silly on a non-realtime OS to grab one frame, request a 15ms wait, and then grab another frame, when your deadline is 16.6ms

A couple reasons this isn't as silly as it seems

1) ~All buffers in Android are pipelined, usually with a queue depth of 2 or 3 depending on overall application performance. This means that missing a deadline is recoverable as long as it doesn't happen multiple times in a row. I'd also note that since Netflix probably only cares about synchronization and not latency during video play back they could have a buffer depth of nearly anything they wanted, but I don't think that's a knob Android exposes to applications.

2) The deadline is probably not the end of the current frame but rather than end of the next frame (i.e. ~18ms away) or further. The application can specify this with the presentation time EGL extension[1] that's required to be present on all Android devices.

[1]: https://www.khronos.org/registry/EGL/extensions/ANDROID/EGL_...

mdwrigh2 commented on Is there still somebody in the Cairo community who is able to make a release?   lists.cairographics.org/a... · Posted by u/p4bl0
dylan604 · 5 years ago
great, so it has what 18 months before being killed off?
mdwrigh2 · 5 years ago
Skia has been around for 15 years (open source for 12) and is used in a number of high priority projects for Google (e.g. Android, Chrome). It's incredibly unlikely it will be killed any time soon.
mdwrigh2 commented on Is Dark Mode Such a Good Idea?   kevq.uk/is-dark-mode-such... · Posted by u/kdrag0n
lkesteloot · 5 years ago
"Unless you’re using an OLED or AMOLED screen and your dark mode is truly black – not dark grey, not dark blue, BLACK. There is no difference in power consumption."

I thought this was a myth. I looked into it last year and found that power consumption was (roughly) proportional to brightness.

At a meta-level, I'm surprised that something with so factual (and testable) an answer can still not be settled.

mdwrigh2 · 5 years ago
> At a meta-level, I'm surprised that something with so factual (and testable) an answer can still not be settled.

It is absolutely settled, and has been tested over and over again. Power is roughly proportional to the amount of light emitted[1], so having dark grey is absolutely a power savings over pure white.

Google slides: https://www.theverge.com/2018/11/8/18076502/google-dark-mode... Display energy modeling: https://onlinelibrary.wiley.com/doi/am-pdf/10.1002/stvr.1635

[1]: This isn't totally true mostly because the display is broken into RGB elements emitting light of differing efficiencies and human perception of the brightness of those elements is not identical.

u/mdwrigh2

KarmaCake day1660December 29, 2009
About
mdwrigh2@ncsu.edu
View Original