api-design A Batch Endpoint Designed for Someone Syncing 100 Decisions From a Train POST /decisions accepts either one verdict or an array of them, through the same handler and the same validation. The batch form exists so a review session with no signal doesn't turn into a hundred requests.
nextcloud Minimizing Blast Radius When You Must Use Unstable Internals Two files in Photo Sweep touch Nextcloud internals that have no public equivalent — OC\Files\Search\* and OCA\Files_Trashbin. Both check what's available first and degrade rather than break.
nextcloud A Two-Phase Commit for File Moves, Without a Database Transaction Photo Sweep marks a verdict 'applied' only after the file has actually moved — never before. A crash between the move and the write leaves the file gone but the row still pending, and retrying handles that correctly.
nextcloud Resumable Background Indexing Against an API That Doesn't Support What You Need Nextcloud's file search only accepts eq/in on fileid, not gt — so a keyset cursor for resumable indexing literally cannot be expressed. Order by file id instead, and let a final sweep catch what slipped.
php Rejecting Dates That Only Look Like Dates PHP's date parser doesn't fail on 20241312 — it rolls month thirteen into January 2025. A parse that succeeds is not evidence of a real date, so Photo Sweep formats every result back and requires a match.
nextcloud Figuring Out When a Photo Was Actually Taken Nextcloud stores no first-class 'date taken' field. Photo Sweep's month-by-month review depends on one, so it walks a four-link chain — EXIF, filename, mtime, upload time — and records which link answered.
PHP-FPM Configure PHP-FPM on CentOS 7/RHEL and Oracle Linux After installing php, to make it work with apache we have 2 options: either installing the Apache Module or using php-fpm. This article covers how to configure php-fpm to work with Apache Prerequisite: 1. Apache installed [https://blog.mgopee.page/install-apache-on-centos-ubuntu/]. 2. Vhost configured
php How to install PHP 8 on CentOS 7/RHEL and Oracle Linux After installing Apache [https://blog.mgopee.page/install-apache-on-centos-ubuntu/] and Configuring Vhost [https://blog.mgopee.page/configuring-apache-vhost-on-centos/] you would install PHP and configure it to work with Apache so that you can use dynamic websites or CMS built with php such as Wordpress.