terraincognita

View original page

@terraincognita@lemmy.world · Joined ⁨Mar⁩ ⁨2026⁩

Replying to @⁨DionNam@programming.dev⁩

Agreed, real use is the test that counts most. Besides that, there is the automated side:

  • unit and integration tests (handlers run against a real database);
  • end-to-end tests that click through real user flows in a browser (Playwright): the full suite on Chromium, a smoke spec on Firefox and WebKit;
  • property-based tests and reference vectors for the cycle math;
  • fuzzing of the parsers and validators, also in CI;
  • mutation testing: a weekly job breaks the code on purpose and checks that some test fails. Last measured, 93-98% of the mutants were killed, depending on the package.

The details, and the limits of all this, are written up here: github.com/ovumcy/ovumcy-web/blob/…/TESTING.md

None of it proves the design is right, of course. For that, people using it and reading the code are still the better check.

Replying to @⁨communism@lemmy.ml⁩

the web version is made for one person or a household on their own box, the threat model says straight out that whoever runs the server is trusted. you can host it for friends but then they trust you, same as with any server you run for someone. and with a VPS you pick the provider and the country yourself, the readme warns that a host can read what’s on its servers. encrypting in the browser wouldn’t really help here anyway, the same server sends the page code, so an admin you don’t trust could just change it and grab the key

Replying to @⁨savvywolf@pawb.social⁩

These are fair, and the misconfigured server one is the strongest. Client-side encryption would limit the damage there, I can’t argue with that.

The group case is outside what I built this for. It’s meant for a household. If you run it for other people, you become their hosting provider, and the docs say that plainly: the app keeps your records from other accounts and from the network, not from whoever administers the machine.

The VPS point is true, but it applies to everything on that box, not just this app. If you don’t trust the provider with it, the answer is hardware at home.

I won’t promise it, but optional encryption for the web version is on my list to look into now.

On design mistakes: agreed, tests and fuzzing don’t catch a wrong decision. But the SSH example cuts both ways. That code was written and reviewed by very experienced people and it still got through. Nobody is immune, so what matters is whether mistakes get found and fixed in the open. That has already happened here: tonghuaroot reported a hole in the webhook address filter, it was fixed and published as an advisory (GHSA-hg2x-v5cc-m384).

Replying to @⁨savvywolf@pawb.social⁩

Good questions, thanks for actually looking at the site.

Encryption: client-side encryption is for services run by someone else, where you can’t be sure nobody reads or leaks your data. A self-hosted app has a different threat model. The data sits on a machine you control, behind a login and 2FA, and how the server side is protected is described in the docs. So for your own server it was never the goal. The sentence you quoted is about the hosted option, which exists for people who find setting up a server too hard. There someone else holds the data, so the site says it plainly. For those who want client-side encryption anyway, I’m working on a mobile app with encrypted sync. It isn’t released yet.

The vote counter: you’re right, it can be spammed. That’s the price of collecting nothing about visitors, and I chose that on purpose. So far nobody bothers, bots included. I treat it as a rough signal and still decide myself what to build.

AI and security: no code comes with guarantees, whoever wrote it. What I can offer is that all of it is public, with tests, fuzzing and static analysis in CI, and a SECURITY.md if you find something. If anything looks wrong, tell me and I’ll fix it.

Replying to @⁨ducktumn@lemmy.zip⁩

Nobody had built a self-hosted period tracker my wife would actually want to use. So I, not a programmer, spent nine months figuring it out and built it myself. Call that what you like, but it isn’t “not spending time learning”.

Plenty of working programmers use AI every day now. The difference is that I said so in the title.

Open source was trustworthy because anyone could read the code. That hasn’t changed. Mine is all public, tests and signed builds included, so you don’t have to take my word for anything.

On self-hosting: FOSS phone apps like drip keep everything on one device. She needed something that opens from any device, with the data on our own server. That’s what I built, and I shared it in case it’s useful to someone else. If it isn’t for you, that’s fine.

Replying to @⁨smiletolerantly@awful.systems⁩

English isn’t my first language, so yes, AI helps me write. That’s in the title.

But nobody nods their way into fuzzing, mutation testing, signed releases with build provenance and 2FA with recovery codes. You have to want those things and keep pushing until they’re in. That has been my job for nine months and 3,400 commits.

As for the README, it tells you how to verify the image signature before you run it, what every config option does and how predictions are calculated. For an app holding health data, I’ll take exact over personal.

The code is public. Show me where nobody was steering and I’ll answer for it.