26 karma · joined Jan 15, 2023 (3y ago) · 23 submissions
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
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...
comment 2y ago · link · parent
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
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
Jetbrains has for a long time included a set of optional plugins that are disabled by default and make HTTP calls to Jetbrains servers:
- Spaces
- Code With Me
- Shared Indexes
- their plugin authoring plugin
- (probably more I'm forgetting)
Now they released plugin #5+, that is also disabled by default, and also requires you to take a series of several explicit steps before you can enable it and use it, but this time everyone loses their minds? I feel bad for the engineers there.
comment 2y ago · link · parent
https://examine.com/supplements/curcumin/
So yeah, like sibling said, it doesn't seem to do much.
comment 2y ago · link · parent
Why would you rope in an unrelated point of failure to your relationships with online companies and give up sovereignty of your identity? It's only a matter of time before the leopards eat your face.
comment 2y ago · link · parent
But here's the kicker: egui already does cache things between frames—for accessibility support, it already builds a full retained widget tree! From there it's not a huge jump to cache layout too. I really wish someone would experiment with this idea. Maybe Gio will be the ones to do it.