News for hackers. Stuff that matters.

perlclutcher

It's not that easy.

https://www.ifixit.com/repairability/smartphone-scores

> The battery is stubbornly glued down, and the soldered charge port can’t be easily replaced.

You have to take a heat gun to your phone to soften the glue to get the old battery out. Too little heat, the battery won't budge. Too much heat, you damage your screen or worse, ignite your battery. Good luck.

GOS's limited device support is disappointing, but I understand their reasoning. I still wish they'd release "GrapheneOS Minus" (in the vein of uBlock Origin Minus[0]) so a much larger audience could have 95% of the security benefits they'd have on Pixel hardware.

As an alternative to replaceable batteries you could consider installing something like acc[1] to mitigate stress on your battery. My phone is 7 years old and the original battery still holds a charge like the day I bought it.

[0]: https://github.com/uBlockOrigin/uBlock-issues/discussions/22...

[1]: https://github.com/VR-25/acc

Re:How I Backup on Tuesday February 27, 2024 @12:43PM (#39526980)
I just migrated from a QNAP NAS to a custom build with ZFS. I have files with creation times dating back to the 90s on my original FAT16 filesystem and I didn't want to lose them, so I recently did a (way-too-)deep dive on this, I'll summarize my notes for you.

First, ext4 actually does support creation times, called "crtime". But there's some internet confusion about it since this support predated linux kernel support, so you had to use ext4-specific tooling (on an unmounted filesystem) to access it, e.g.:

  debugfs -R 'stat <inode>' /dev/nvme0n1p1
  debugfs -R -w 'set_inode_field <inode> crtime <new-time>' /dev/nvme0n1p1
The btrfs situation is similar, but btrfs called it "otime" (for some reason?). Linux 4.11 introduced kernel-level support unified across all filesystems, calling it "btime" (birth time).

But the normal file syscalls only support reading btimes, not setting them to arbitrary values. And rsync on linux, as you saw, can't do anything the kernel doesn't have a syscall for. For a while the only option was to:

1. set the system clock

2. create a file (at which point the kernel sets btime to the system time, plus a few nanoseconds)

3. restore the system clock

Obviously a huge hack, and needs root, but tools like s-tar automated it (search for "time storm" in this manpage):

https://web.archive.org/web/20220331080358/http://schilytool...

I almost gave up and spun up a Windows VM (since Windows has supported reading and writing creation times since the beginning). But then it clicked -- the kernel interface to the filesystem module takes the btime as an explicit parameter. So if you could find a kernel module that talks to the filesystem module directly (instead of going through the usual high-level file syscalls), you can pass along any btime you want. And there just so

Re:AI behavior guardrails should be public on Wednesday February 21, 2024 @04:30PM (#39459823)
https://twitter.com/altryne/status/1760358916624719938

Here's some corporate-lawyer-speak straight from Google:

> We are aware that Gemini is offering inaccuracies...

> As part of our AI principles, we design our image generation capabilities to reflect our global user base, and we take representation and bias seriously.

Re:WebKit switching to Skia for 2d graphics rendering on Tuesday February 20, 2024 @09:15AM (#39441556)
PSO = Pipeline State Object
Re:KYC. No, Thanks on Sunday February 18, 2024 @02:44PM (#39422390)
Yes, they could have cited some sources, but the number is spot on. It's an overestimate, even.

https://www.unodc.org/documents/data-and-analysis/Studies/Il...

> Globally, it appears that much less than 1% (probably around 0.2%) of the proceeds of crime laundered via the financial system are seized and frozen.

https://www.tandfonline.com/doi/full/10.1080/25741292.2020.1...

> the confiscation rate might be 0.07 percent. In other words, despite ubiquitous money laundering controls, criminals retain up to 99.93 percent of criminal proceeds.

Re:Jetbrains unbundling AI assistant doing the right thing on Monday February 12, 2024 @08:23PM (#39353133)
Any chance you can tell me why my IP was shadowbanned? I don't think I've posted anything terribly objectionable here.
My go-to site for questions like this is examine.com.

https://examine.com/supplements/curcumin/

So yeah, like sibling said, it doesn't seem to do much.