PhpStorm Prereview: local AI + human code review
Whether I code and ask AI to review, or the other way around, I wanted a faster loop than going through GitHub. Also I prefer reviewing code straight in PhpStorm.
So I built this plugin: it allows opening comments inline, both from you (human) or AI (Claude or Codex). And you can easily copy one/all comments into a prompt if that's your thing.
It's 100% local. If there's interest I'll publish it on the PhpStorm marketplace (I've been using it daily for months now).
mnapoli/dotlock: Secure secrets for local Laravel development
In some projects I have to store secrets in .env.
But then I'm afraid of a compromised NPM/Composer dependency (or even an agent) reading my filesystem and all the secrets. So I built dotlock: it stores secrets encrypted, and decrypts them automatically when running the new php artisan dev command.
How to display the cost of each conversation?
One thing I miss from Claude Code is the ability to display the cost of each session/conversation.
Is there a way to show it?
Use Gemini 3.5 flash for transcriptions, Fable for complex documents
Hi all,
I wanted to share my experience with transcribing documents with AI, including ones with handwriting.
Here's my recommendation:
- use Google Gemini 3.5 flash by default -> fastest, cheapest, good results
- use Claude Fable 5 for maximum accuracy -> it is INCREDIBLE, it reads even better than me, however it is expensive for many pages
If you are a developer, I built https://github.com/mnapoli/ocr for using Gemini easily.
The prompt is super important so you can check out my repository for inspiration. Also I benchmarked various combinations of models, temperature, prompts, thinking level, etc. This is a cumulation of a lot of work, hope it helps.
I'm using this to transcribe whole registries or documents (e.g. a 200+ pages trial from 1890).
Seeing all the requests for transcription in this subreddit I wish I could run a free service for people to submit a page or two. But I'm afraid of the costs.
If you're not a developer, try Claude Opus or Fable in the web UI. One page isn't going to cost much.
VibePHP: a modern PHP engine with generics, async/await, and more
github.comexternals.io has been rewritten to Laravel
externals.io is a website to read the PHP #internals mailing list more easily.
I built it a while ago on a custom microframework (we've all been there I guess?) and of course, that became very painful. I rewrote the app to Laravel, that should make maintenance and contributions much simpler now! The rest hasn't changed.
The code is on GitHub: https://github.com/mnapoli/externals
AFAICT the performance has stayed the same:
- 50% of requests served under 5ms
- p90 is 40ms
Let me know if you see any slowness (or better, send a PR :p).
The app runs serverless on AWS Lambda with Bref. It serves ~2.5M requests/month, which costs ~$2.5/mo + $11 for the database. The staging costs $0 because it doesn't receive enough traffic.
Because of the migration everyone will be logged out once, sorry about that! Just log in again and things should be back to normal.