frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Apple Photos App Corrupts Images

https://tenderlovemaking.com/2025/09/17/apple-photos-app-corrupts-images/
282•pattyj•2h ago•82 comments

Determination of the fifth Busy Beaver value

https://arxiv.org/abs/2509.12337
112•marvinborner•3h ago•23 comments

Tau² Benchmark: How a Prompt Rewrite Boosted GPT-5-Mini by 22%

https://quesma.com/blog/tau2-benchmark-improving-results-smaller-models/
17•blndrt•47m ago•0 comments

GNU Midnight Commander

https://midnight-commander.org/
379•pykello•9h ago•212 comments

PureVPN IPv6 Leak

https://anagogistis.com/posts/purevpn-ipv6-leak/
74•todsacerdoti•3h ago•9 comments

Firefox 143 for Android to introduce DoH

https://blog.mozilla.org/en/firefox/dns-android/
36•HieronymusBosch•36m ago•14 comments

Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised

https://socket.dev/blog/ongoing-supply-chain-attack-targets-crowdstrike-npm-packages
1105•jamesberthoty•1d ago•908 comments

Notion API importer, with Databases to Bases conversion bounty

https://github.com/obsidianmd/obsidian-importer/issues/421
141•twapi•8h ago•41 comments

Why We're Building Stategraph: Terraform State as a Distributed Systems Problem

https://stategraph.dev/blog/why-stategraph/
59•lawnchair•5h ago•36 comments

Things you can do with a Software Defined Radio (2024)

https://blinry.org/50-things-with-sdr/
861•mihau•23h ago•140 comments

Alibaba's New AI Chip Unveiled: Key Specifications Comparable to H20

https://news.futunn.com/en/post/62202518/alibaba-s-new-ai-chip-unveiled-key-specifications-compar...
111•dworks•4h ago•112 comments

You can't test if quantum uses complex numbers

https://algassert.com/post/2501
18•EvgeniyZh•2d ago•6 comments

Murex – An intuitive and content aware shell for a modern command line

https://murex.rocks/
71•modinfo•7h ago•35 comments

Doom crash after 2.5 years of real-world runtime confirmed on real hardware

https://lenowo.org/viewtopic.php?t=31
339•minki_the_avali•16h ago•109 comments

The Asus Gaming Laptop ACPI Firmware Bug: A Deep Technical Investigation

https://github.com/Zephkek/Asus-ROG-Aml-Deep-Dive
284•signa11•9h ago•141 comments

How to make the Framework Desktop run even quieter

https://noctua.at/en/how-to-make-the-framework-desktop-run-even-quieter
300•lwhsiao•19h ago•106 comments

Denmark close to wiping out cancer-causing HPV strains after vaccine roll-out

https://www.gavi.org/vaccineswork/denmark-close-wiping-out-leading-cancer-causing-hpv-strains-aft...
846•slu•19h ago•314 comments

Procedural Island Generation (III)

https://brashandplucky.com/2025/09/17/procedural-island-generation-iii.html
10•ibobev•1h ago•0 comments

Algebraic Types are not Scary

https://blog.aiono.dev/posts/algebraic-types-are-not-scary,-actually.html
32•Bogdanp•2d ago•9 comments

I got the highest score on ARC-AGI again swapping Python for English

https://jeremyberman.substack.com/p/how-i-got-the-highest-score-on-arc-agi-again
122•freediver•11h ago•56 comments

Oh no, not again a meditation on NPM supply chain attacks

https://tane.dev/2025/09/oh-no-not-again...-a-meditation-on-npm-supply-chain-attacks/
108•theycameback•3h ago•134 comments

DataTables CDN Outage – post incident review

https://datatables.net/blog/2025/july-29-outage
30•cristoperb•18h ago•17 comments

XeroxNostalgia.com

https://xeroxnostalgia.com/
8•surprisetalk•2d ago•0 comments

AMD Open Source Driver for Vulkan project is discontinued

https://github.com/GPUOpen-Drivers/AMDVLK/discussions/416
118•haunter•13h ago•31 comments

A dumb introduction to z3

https://asibahi.github.io/thoughts/a-gentle-introduction-to-z3/
229•kfl•2d ago•32 comments

EU Chat Control: Germany's position has been reverted to UNDECIDED

https://mastodon.social/@chatcontrol/115215006562371435
210•doener•3h ago•158 comments

Samsung 870 QVO 4TB SATA SSD-s: how are they doing after 4 years of use?

https://ounapuu.ee/posts/2025/09/15/samsung-870-qvo/
56•furkansahin•2d ago•22 comments

Normal-order syntax-rules and proving the fix-point of call/cc

https://okmij.org/ftp/Scheme/callcc-calc-page.html
33•Bogdanp•3d ago•1 comments

Waymo has received our pilot permit allowing for commercial operations at SFO

https://waymo.com/blog/#short-all-systems-go-at-sfo-waymo-has-received-our-pilot-permit
668•ChrisArchitect•21h ago•684 comments

I built my own phone because innovation is sad rn [video]

https://www.youtube.com/watch?v=qy_9w_c2ub0
276•Timothee•2d ago•53 comments
Open in hackernews

Apple Photos App Corrupts Images

https://tenderlovemaking.com/2025/09/17/apple-photos-app-corrupts-images/
276•pattyj•2h ago

Comments

tamimio•2h ago
For transferring files (photos or others) from iOS, I have been using Landrop for a while and never had any issues so far, it’s also way faster than using a cable.
actionfromafar•2h ago
I always wonder about the motivation behind these polished, high-quality programs on the App Store which are not open source, and also don't collect (much) data, neither have ads in them.
tamimio•2h ago
It’s open source, else I wouldn’t recommended it

https://github.com/LANDrop/LANDrop

I used it along with another called Localsend, but the later one gave me a bit of headache and crashed while transferring some large files last time I used it, but still great as an alternative too, and it’s open source as well.

Edit: Actually, you are correct, it seems they did close it! Try localsend instead.

BolexNOLA•1h ago
Love LocalSend. Can be a bit finicky but for quick transfers between systems I love it. Use it so my work laptop, Linux gaming PC, and iPhone can easily pass staff around.
k8sToGo•1h ago
You figured out how to teleport people through local send?
BolexNOLA•1h ago
Coming Eventually:TM:
basejumping•2h ago
For transferring photos from your Iphone to your Mac, you can also use the native Image Capture app.
ratg13•1h ago
This article is about importing photos from an SD card to MacOS
sitharus•2h ago
I hadn’t dug that far in to it, thanks for sharing! I assumed my rather old SD card or the adapter I keep stuffed at the bottom of my bag was the issue as I’ve only seen it on a couple of photos.

I’ve used Olympus cameras for over a decade. Well, the same camera to be honest, a PEN E-PM2. This has only appeared in the past couple of years.

I haven’t seen it on photos from my Canon EOS 80D yet, but I guess it’s time to change my workflow. And maybe OS.

billyjobob•2h ago
He says the checksums are different but he doesn’t provide a diff to show how different. It could just be a single flipped bit or something. And that could happen in his own RAM/disk/CPU/router so seems premature to immediately blame Apple.
mobilemidget•2h ago
"I’ve not seen any file corruption when importing to Darktable, so I am convinced this is a problem with the Photos app."

Yes this argument is a bit unconvincing for me. Not saying Apple photos doesn't corrupt his files, but this is not real proper investigating either.

jsw97•1h ago
He switched out his laptop.
asksomeoneelse•1h ago
Yeah, I would have been interested in the diff too.

That said, the article does mention replacing basically all the hardware and still encountering the issue. FWIW, my personal experience with Apple software so far is that the usage expected for Average Joe is well tested and polished. But stepping outside of that, it's "Here be dragons" territory very quickly.

tenderlove•1h ago
Here you go!

  https://gist.github.com/tenderlove/25853f50ab46a58738ff2cc22d682f2b
I ran both files through xxd then diffed them. I've literally changed every piece of hardware (at no small cost). "premature to immediately blame Apple" seems a bit off.
daemin•56m ago
This is the kind of stuff that makes me wish my Binary Diff Tool was already completed, but unfortunately I'm still working on it. Can't tell much what's wrong with the differences in the bytes without knowing what the structure behind it is.
jjcob•53m ago
I tried running the file segments through a binary diff with Hex Fiend

As far as I can tell:

- 0x7800 bytes were replaced at file offset 0x00aa0000

- 0x2200 bytes were replaced at file offset 0x00aa8000

I can't tell if the replacement data came from a different part of the file, or somewhere totally different. Race condition somewhere sounds plausible.

daemin•1h ago
There's a corrupted photo at the top of the article and the non corrupt version at the bottom, is that not enough?
Someone•1h ago
No, it isn’t. The OP isn’t questioning whether the file changed, but asking what changed to the file, not what changed visibly.

The visible effect shown could be due to a change as small as a single bit flip. It also could be that large parts of the file got overwritten, or that it partially got zeroed. The exact kind of damage can help pinpoint the cause of the problem.

deviation•2h ago
It seems to be an import pipeline bug.

Photos does a lot of extra work on import (merging RAW+JPEG pairs, generating previews, database indexing, optional deletion), so my guess is a concurrency bug where a buffer gets reused or a file handle is closed before the copy finishes.

Rare, nondeterministic corruption fits the profile.

tenderlove•1h ago
This is also my guess. It's really a bummer, and I'd report it to Apple but since it's nondeterministic I have no idea how to provide repro steps.
ChrisMarshallNY•1h ago
I have had extremely bad luck, reporting bugs to Apple.

They constantly ask for an example project, even if it's something that is easily demonstrated, simply by running existing Apple software, and creating a project, would be a huge pain.

They also ignore reports. Very rarely, I may get a ping on one of my reports, asking me to verify that it was fixed in some release. Otherwise, there's no sign that they ever even read it.

I usually end up closing my bug reports and feature requests, after a few months, because I'm tired of looking at them.

It's clear that they consider every bug report to be a burden. That's a very strange stance, but then, they are not a typical company.

I guess you can't argue with the results, as they have a market value North of 3 trillion dollars, but that does not make it any less annoying.

deviation•1h ago
Not to hand wave-- but this feels industry standard IMO. I have a dozen PRs sitting unacknowledged and stale across a handful of FAANG (and other) repos, including Apple's.

I start my first day @ Apple in a few weeks, so I ACK that my opinion might be a little biased here.

dmd•33m ago
Maybe you can help bump FB13400242, a bug that is _literally_ going to kill people. (The bug is that to make an emergency call, even from lock screen, you're supposed to be able to squeeze buttons on either side of the phone. But it only works with the volume buttons on the left - the Action button didn't get supported, when that button was added. So now the rule for teaching a small child isn't just "squeeze both sides" it's "oh but not that one!")

(Yes, this came close to killing someone close to me. Fortunately someone else happened to come along to help.)

lapcat•52m ago
> I guess you can't argue with the results, as they have a market value North of 3 trillion dollars

This was financed by equally massive technical debt.

latexr•43m ago
> I have had extremely bad luck, reporting bugs to Apple.

From your description, your experience is quite typical.

strunz•1h ago
Have you tried copying the files to the local disk before importing?
inanutshellus•42m ago
Also interesting that he went from one day's import damaged 30% of his photos, but after replacing everything he had gotten to the point where it took a while to even get a single corrupt photo.

Random is random, and random is clumpy, so maybe swapping parts is irrelevant, but... I wanted more detail on his parts-replacement journey.

He doesn't mention how often the corruption happened whilst he swapped out parts, unfortunately. Presumably it was too rare the entire journey.

bluSCALE4•16m ago
I'd be interested in knowing if he was multitasking and using a lot of memory. I know wedding photos are usually something you feel rushed to upload so maybe this issue can be made worse depending on system resource availability.
JoBrad•27m ago
I wonder if it’s related to import sources, and maybe the speed of that hardware. They are still successfully importing the photos into the Photos app, just not from the camera.
mentos•18m ago
Sounds like an argument for Apple to provide a new high-level media import framework?
ChrisRR•1h ago
I feel like this is a URL that I don't want in my history
dcchambers•1h ago
Site belongs to Aaron Patterson, one off the most prolific Ruby developers in the world.
privatelypublic•1h ago
Something something Railed.
MonkeyClub•1h ago
Nah that's just a one off
copperx•1h ago
Why? It's brilliant.
brulard•1h ago
The URL might be mistaken for some different content?
k8sToGo•1h ago
Well, then don't browse from the church computer
crazygringo•1h ago
What's brilliant about it? What's the reference, for those of us unfamiliar?
rhgraysonii•1h ago
It is simply hilarious to make grown adults visit a website called tender love making dot com (a sexual reference) to read a very specific and niche blog about technology.
kotaKat•1h ago
ZScaler gets pissed off going to frame.work just because of a “malicious TLD”.

I don’t even want to know what ZScaler thinks of “tender love making”.

macintux•1h ago
In the late 90s my then-wife was watching over my shoulder one day and saw the domain “freshmeat.net” pop up as a possible auto-completion in my address bar. She was justifiably suspicious until I showed her it was just a software distribution site.
devnullbrain•1h ago
Infohazard warning:

C++ reference is one of these.

Y_Y•1h ago
See also: Experts Exchange, Pen Island
eru•29m ago
There was also a website for a mole station, but I'm not sure if that one was satire.
layer8•1h ago
And she wasn’t suspicious of amazon.com? ;)
coldtea•1h ago
As if "tender lovemaking" is so shocking?
cluckindan•30m ago
Obviously there must be bureaucracy and an RFP involved!
sholladay•46m ago
There is a very popular professional audio website called Gearspace that had a much spicier name for a long, long time.

https://gearspace.com/

https://www.reddit.com/r/audioengineering/comments/mftc0g/ge...

sgopalan98•40m ago
Whaaa, you don't like tender lovemaking?
lapcat•1h ago
See also the Image Capture bug from several years ago where it appends a ton of empty data to imported photos:

https://cdfinder.de/blog/files/image_capture_bug.html

(I'm not sure whether this bug has been fixed or not yet, though I think it has been fixed.)

iamshs•1h ago
Image Capture did me dirty once. Macbook ran out of space while importing photos but it never stopped and kept on deleting photos from my iPhone. Lost 5K photos of a wedding... submitted a bug and hopefully it has been rectified.
itake•1h ago
Apple corrupted images on my iPhone where I can’t import them to my PC via photos, but I can backup the whole phone.

They finally recognized there is an issue, but there is no fix, as of a few weeks ago :(

alterom•43m ago
Yeah, that's one of the billion reasons I'm sticking to Android phones with gasp file managers and shock expandable storage via an SD card slot.

I never need to import anything when I can simply copy the data from the card.

smeeger•1h ago
i am constantly noticing things about my iphone. its poorly designed.
hk1337•1h ago
> Turns out “delete after import” was a huge mistake.

That's a mistake no mater what application you're importing to, else we'll be graced with another blog post, "Darktable app Corrupts Photos".

What's the purpose of RAW+jpg though? Seems rather redundant?

bayindirh•1h ago
I also use RAW+JPG. Latter part allows quick sharing without long post-processing, esp. for impatient friends.

If I'm going to share the photo to an album or something, I process the RAWs selectively.

basisword•1h ago
JPG so you can also see the default camera processing which might be work well from time to time. RAW in case it doesn't.
merelysounds•1h ago
> What's the purpose of RAW+jpg though? Seems rather redundant?

You get to keep out of camera jpg files. Some people might like how their camera processes jpg files and might also want the raw file for a scenario when a more complex editing is needed.

hk1337•1h ago
Interesting, based on this and other replies, it sounds like Photos App should have an option to select what to import? i.e. RAW or jpg, but not both.

It sounds like Photos App can have issues trying to import both at the same time?

tenderlove•56m ago
As I said in my blog post, it imports both and combines them in the UI. Also as I said in my blog post, I switched to shooting only in raw, and it still exhibited file corruption.
cwillu•8m ago
I commend you for your patience with this comment section.
formerly_proven•1h ago
I don't know why this is downvoted.
cwillu•5m ago
Because it's utterly irrelevant nitpicking, acting as if a blog post is something that was inflicted on hk1337, followed by a question about a pretty basic concept demonstrating a very limited understanding of the domain, which would be fine if the assumption of good-faith wasn't undermined by the preceding text.
tenderlove•58m ago
> That's a mistake no mater what application you're importing to, else we'll be graced with another blog post, "Darktable app Corrupts Photos"

Thanks dad.

indrora•7m ago
Speed. It all comes down to speed.

Processing RAW can be expensive time wise. If you’re sorting through a session of 10,000 photos, you want the speed that comes with the jpeg variant, which allows you to quickly sort out blurry, smeared, severely mis-exposed, and other various defect photos.

The storage cost is negligible (JPEG75@10MP is cheap) and the workflow benefit is immediate. Additionally, cropping and early white balance corrections (as well as a handful of other things) are much faster to preview with a non-RAW version of the image; since you’ll be processing that detail later anyway from scratch in the RAW later, it’s functionally free to do it on the jpeg version before you dig into the raw.

Additionally, there’s a cheap debugging aspect that you saw here: was it Apple Photos mishandling ORF? Was it something else? When working with both, you have a “reference” that can be used to make sure your digital development pipeline is set up correctly; finer details about the imager can sometimes get mangled by some RAW developers like pixel order and sub pixel blending. Not every CCD is a linear grid, not every LCD looks the same, but if you can get your RAW pipeline producing ≈the same as your camera did, it verifies that you have things mostly set up correctly.

asolove•1h ago
I also have an OM System camera (OM-5) and never get corruption this bad but occasionally got one row of green pixels at the bottom of a photo during import to Photos. I thought I was crazy, but this motivates me to change up my routine and check if it was Photos all along.
CtrlAlt•1h ago
I’ve never had this bad of corruption. But not surprised.

Personally, I have seen a row of green pixels on the top or bottom + vertically flipped photos on import.

Good sleuthing!

dzink•1h ago
Not sure if related but importing images via image capture on mac to the disk of the mac gives you correct time when the photo was taken in the file (kind of important if it’s family photos). But if you import it to a usb drive you get current time as creation time for each file so you’ve lost any timestamp you had on the photos.
mystifyingpoi•35m ago
> kind of important if it’s family photos

Anything important should be kept inside the file. Filesystem metadata gets lost all the time, isn't consistent between operating systems, zipping up a folder and extracting it will probably mess up timestampts too.

kokey•1h ago
Fortunately it mentions early on in the article that this is related to an Olympus camera so I'm guessing this has something to do with the OM system's flavor of Olympus's proprietary ORF format.
giancarlostoro•28m ago
> Turns out “delete after import” was a huge mistake.

https://www.cgsecurity.org/wiki/photoRec

bluSCALE4•18m ago
I have Apple Photos but I never thought to use it to automatically import my photos and clean it up. My process is very similar to where you've ended up. Thanks for validating it--I'll never change it.
tmountain•14m ago
I shoot RAW but I wouldn't want to eat up all my iCloud space with my RAW files. They're 80MB each off of my Fujifilm camera. I store them on a local DAS instead. Curious what the real use case is for storing RAW on iPhoto.
doodaddy•11m ago
As an Olympus shooter this is good to know.

But good gravy that troubleshooting path got expensive real fast. Replacing the laptop and the camera? Why not start by trying something other than Photos? It doesn’t even need to be a paid product; the Olympus software is free not to mention a good baseline since it - of all the applications - should be able to import photos without corrupting them.

Edit to add: delete on import seems pretty risky. My workflow is to import and only delete from the camera after 1) the imported photos are backed up 2) I’ve done a first pass culling.

bichiliad•9m ago
Somewhat tangental, but I keep my music in the Music app. Wireless music sync is great and usually does what I need. Once in a blue moon, however, it'll absolutely scramble every album cover of every song I have.