News for hackers. Stuff that matters.
Re:Digikam 7.0: Open-source photo management by notyourday on Saturday July 25, 2020 @03:49PM (#23951870)
And crash in the most spectacular way.
Re:Digikam 7.0: Open-source photo management by black_puppydog on Saturday July 25, 2020 @05:10PM (#23952454)
Right, computers do have loads of RAM. So just spin up a chromium fork for the UI, and a handful of http servers for the different background tasks, pull in a bazillion of dependencies, and... it's gone. The RAM, that is.
Re:Digikam 7.0: Open-source photo management by notyourday on Saturday July 25, 2020 @07:10PM (#23953100)
No, spin up a worker that listens on a queue and thumbnails an image on request so in an event the thumbnailer crashes on a corrupted image the entire app does not die.

So the same for all other complicated tasks.

It is not that handling run time errors has demonstrated to be a trivial tasks for a main app.

Re:Digikam 7.0: Open-source photo management by formerly_proven on Saturday July 25, 2020 @10:20PM (#23953902)
Realistically you wouldn't want to run libparsealltheformats inside your main app anyway, because that's just obvious madness in case someone uses it on files from the Internet and not just files created by their non-evil camera. Of course, everyone does anyway.
Re:Digikam 7.0: Open-source photo management by tomc1985 on Sunday July 26, 2020 @02:20AM (#23954875)
I mean, if you're a bad programmer, sure. But we've had multi-core systems for decades at this point, one should know at least basic MT techniques, or, short of that, not to fuck with resources cross-thread unless you know what you're doing
Re:Digikam 7.0: Open-source photo management by notyourday on Sunday July 26, 2020 @10:18AM (#23957186)
Since we know the programs have bugs, photo formats evolve, some of the files are intentionally broken by "evil things" should not we write complex programs taking that into account rather than think that everyone else is an amateur and our code is so state of the art it will just handle bad conditions flawlessly?