andrew mascioli
amas0.bsky.social
andrew mascioli
@amas0.bsky.social
https://amas.sh

data scientist but statistician at heart, linux, math, machine learning, ttrpgs, birds, professional wrestling, books, etc
such is life
August 7, 2025 at 3:18 AM
"we know the risk of the outcome is very low" sounds like prior information to me - are Bayesian approaches on the table?

If not, I imagine some penalty could give similar results? But in either case, if getting more data is a reasonable ask, that'd likely be better regardless?
August 7, 2025 at 3:12 AM
bleak house does, in fact, have the juice, i fear
June 22, 2025 at 6:31 PM
The TLDR is that I set up a process on a server I have (that has a Bluetooth adapter) to listen for my controller scanning for a connection and waking the gaming PC via Wake-on-LAN. Pretty happy with it.
June 1, 2025 at 7:54 PM
affiliate marketing is the will of god
April 29, 2025 at 3:40 AM
The results for my ThinkPad are that each percent increase in screen brightness increases power by about 22 mW. Some ballpark calculations show a decrease in total battery life by about 10 minutes for every 4% increase in brightness.

Fun little experiment to quantify something I've wondered about!
March 31, 2025 at 2:19 AM
I fit a very simple Bayesian model in Stan to infer the direct effect of screen brightness on power draw
March 31, 2025 at 2:19 AM
👋
March 27, 2025 at 12:00 PM
Computing avg power draw via change in energy / change in time still works! But importantly, on my machine at least, the energy readings have much lower fidelity over short time scales than power!
March 24, 2025 at 1:49 AM
It does mean that if one were to try to perform any experimentation that used power observations from the battery as estimates of real-time power draw, it would be thrown off unless the experiments were run over long time scale.
March 24, 2025 at 1:49 AM
I'm sure this behavior is well-known to some, but it was new to me (and I haven't been able to find any references to this smoothing process, I assume its hardware specific?).

In retrospect, it's sensible that smoothing is applied given the common use case of estimating remaining battery time.
March 24, 2025 at 1:49 AM
Thanks to the simple form of the exponential smoothing applied here, I can invert the smoothing to recover the latent true power readings and get a much more realistic looking profile:
March 24, 2025 at 1:49 AM
In the post, I show that the observed readings are highly consistent with an exponential smoothing process being applied to latent "true" readings. By assuming that the latent power profile is a step function, I find a smoothing parameter that maps the idealized latent power to the observations.
March 24, 2025 at 1:49 AM
By taking readings from the battery while applying a step-function artificial load, I observed that the reported power decayed toward near-constant values in a manner that appeared exponential
March 24, 2025 at 1:49 AM
A red kite, perhaps?
March 2, 2025 at 2:10 PM
being a longtime python user, my perception of julia is that I can see myself really liking it, and I appreciate many of it's ideas, but python has never really given me a strong enough reason to switch. especially when it feels like python is making progress at improving itself
February 22, 2025 at 4:52 AM
ah yes, the 'decent into madness' phase of becoming a Bayesian
February 21, 2025 at 8:16 PM
I think I've been to that show. kicked ass
February 7, 2025 at 11:53 PM
me: "ok but what if the reader isn't very good"
February 1, 2025 at 3:38 PM