News for hackers. Stuff that matters.

bmaupin

Re:Surely you have ultra-wideband radios on your bins too? on Sunday October 04, 2026 @04:15PM (#49957383)
I see several reasons listed in the first link in your comment.

Ask HN: How are you using AI?

I'm a software developer and I do some DevOps. I've gone back and forth on the pendulum of AI. Code completion, having it generate code, write tests, scripts, even tried vibe coding something from scratch.There are times it amazes me with how "capable" it seems but more often than not I'm not happy with the end result as well as the missed opportunity to learn something or reinforce existing...

( Read More... | 1 comment | 2 points | on HN )
Maybe something like https://ceenr.com/ ? I've never used them personally.

Ask HN: Have you been falsely accused of AI-generated content?

I was accused for the first time of my writing looking AI-generated. I tend to be overly verbose and use a lot of ordered and unordered lists. On top of that I'm used to documentation systems like Confluence with "info" and "note" macros so I'll often sprinkle in a limited set of emoji for emphasis when I'm writing elsewhere.In this case the accusation was insignificant; it's for a stack...

( Read More... | 7 comments | 5 points | on HN )
Re:You're a Slow Thinker. Now What? on Monday September 15, 2025 @09:57AM (#45249832)
Google has finally pushed the source of the Pixel 4a battery update: https://android.googlesource.com/kernel/msm/+log/refs/heads/...
You can run this:

  adb shell cat /sys/class/power_supply/battery/serial_number
Requires adb: https://developer.android.com/tools/adb
Wow, that is exactly what I was hoping to do, but I wasn't able to figure out more than 1 or 2 of those steps. Thanks!
Image.lz4 is definitely a Linux kernel, and it's definitely changed: https://android.googlesource.com/device/google/sunfish-kerne...

Would changes to external closed-source binary files change the kernel image itself? There are kernel modules in that commit but it looks to me like they all come directly from here: https://developers.google.com/android/drivers

Google does provide detailed instructions for downloading all sources for the kernel, and I didn't see any changes since 2023 to any source files: https://source.android.com/docs/setup/

Thanks for the extra places to look. I'll check them out.

Why not? The kernel seems to handle low level charging and battery logic, for example: https://android.googlesource.com/kernel/msm/+/refs/heads/and...

I'm not hoping to argue, only to learn. This isn't my area of expertise.

I'm going through the kernel with Ghidra but not very good at it and not having much luck.

I do have an idea about what it's checking to determine if a battery is affected, but I don't have enough data yet to know if it's just a coincidence.

I looked through all the sunfish repos first, which is how I found this: https://android.googlesource.com/device/google/sunfish-kerne...

But apparently sunfish-kernel only contains binaries.

Given there's an update to Image.lz4, that seems there's an update to the kernel. I also compared the binary to the previous version and found some new strings possibly related to battery charging profile.

Next I checked out the source using Google's documentation but the latest commit is here: https://android.googlesource.com/kernel/msm/+/refs/heads/and...

But maybe I'm looking in the wrong place.

I'm trying to figure out what the actual latest update is doing regarding the battery. I found an update to the kernel binary but it doesn't seem the source has been updated.

Can I submit a GPL request to Google to get the kernel source?

https://github.com/bmaupin/pixel4a-battery-research

Re:Pixel 4a Battery Performance Program on Tuesday January 07, 2025 @08:55AM (#42622303)
The closest I've found is the Pixel 8. Surprisingly, the 8a and 9a are bigger. But the 8a is still bigger than the 4a: https://m.gsmarena.com/compare.php3?idPhone1=10123&idPhone2=...

I'm planning on replacing the battery in my 4a and making it last as long as I can. It's still a great phone.

Unihertz also just launched a 5" phone but I'm not sure how good it would be; I'm sure the camera won't be great: https://www.unihertz.com/products/jelly-max

"Remember, all online content purchases are really just rentals."
Here are a couple open-source budgeting apps that can be self hosted:

- https://github.com/firefly-iii/firefly-iii

- https://github.com/actualbudget/actual-server

I'd be curious what some other options are.

Re:Unihertz Jelly 2E – smartphone with 3“ screen on Saturday July 15, 2023 @08:55PM (#36742396)
Re:Unihertz Jelly 2E – smartphone with 3“ screen on Saturday July 15, 2023 @08:53PM (#36742385)
The Jelly Star is interesting too, another 3" phone with Android 13 and better specs than the 2e: https://www.unihertz.com/products/jelly-star

Older »