Urgent.News

What's breaking now, across thousands of outlets.

Tech

The ledger asks the model to show its work before it counts the money

This is a submission for Weekend Challenge: Generosity Edition What I Built A donation ledger for a group too small to buy software. It is a Google Sheet, some Apps Script, and one public page a donor can open. The group I had in mind is the kind that exists on every street: a neighbourhood fund, a school parents' group, a committee that collects for winter coats. Money arrives over WhatsApp and…

A donation ledger has been created to help small groups, such as neighborhood funds and school parent groups, manage their finances more efficiently. This ledger is built using a Google Sheet, some Apps Script, and Gemini, and it allows donors to view a public page where their contributions are recorded and tracked.

The ledger started off as a simple solution to the problem that arises when donors inquire about the whereabouts of their contributions months later. Traditional software solutions are either too expensive for small groups or require a dedicated finance team to manage them. So, the ledger was built using a familiar tool for volunteers - Google Sheets - with an added layer of verification using Gemini's artificial intelligence.

Gemini reads donation messages and verifies the extracted amount from the message against the amount recorded in the Google Sheet. If there is a discrepancy or if the model is unable to extract a valid amount, the entry is flagged as "needs-review" instead of being automatically added to the ledger. This ensures that any potential errors are caught and can be manually reviewed by a volunteer before the donation is recorded.

The public page that donors can access displays the verification process, highlighting the exact characters Gemini read from the donation message and listing the check results. This transparency helps build trust in the ledger's accuracy and encourages donors to participate confidently. The ledger not only solves the immediate problem of donors asking where their money went, but also adds an extra layer of accountability and trust for small charity groups.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

10 Essential Tools I Actually Use to Keep My Side Projects From Falling Over

Docker management, monitoring that goes deeper than a green dot, backups I have actually restored, and everything else that showed up once deploying stopped being the hard part.

  • Dokploy automates Docker container deployment and domain management
  • Neon creates isolated preview databases per pull request
  • OpenObserve offers comprehensive monitoring with logs, metrics, and traces

A Straightforward Guide for MVCC in Postgres

Overview In this article, I'll introduce the concept of Multi-Version Concurrency Control (MVCC) and explain how Postgres implements this protocol across different isolation levels.

  • MVCC maintains multiple row versions for updates, creating a version chain.
  • Transactions read visible versions based on transaction IDs and active list.
  • Updates lock rows, create new versions, preserving data history and consistency.

More from Sunday 6 September →