Valeri Karpov
@code_barbarian
Indie dev, author, blogger, beach chair philosopher. Building @mongoosejs and Mongoose Studio
My new eBook, "Mastering Mongoose", is up! masteringjs.io/ebooks/masteri… #nodejs #mongodb #javascript #codenewbie @mongoosejs
Want to build a chatbot? Here’s how we built a real AI chat backend; with persistent threads, message memory, and automatic titles; all with Node.js, Mongoose, and the OpenAI API. The full walkthrough 👇 masteringjs.substack.com/p/building-an-…
Check this one out South Florida people 👇
Our next Let Me Show You Something meetup is August 14 sponsored by @storyblok! 5 devs present for 5 mins each, and we already have our first speaker locked in for "Intro to @SST_dev" 🔥 Register to attend or give a talk! ⬇️
If you're in South Florida, come check out my talk at FloridaJS 👇
OH I'm sorry. Did you say you liked #AI? But gou don't want it presented by just anyone? How about @code_barbarian YES! That Valeri Karpov! Conversational Apps with Node.js & Vue by Valeri Karpov. Join me! lu.ma/d0dl0lrm
Best take I’ve heard on "AI will replace software engineers": AI replacing devs is like the table saw replacing carpenters. It doesn’t kill the craft - it just automates the boring, repetitive cuts so you can focus on building something great.
Something that I still don't understand Why, oh why, do devs call their scheduled tasks anything other than the function the scheduled task calls? Does it genuinely help to name your task something human readable like "Receipt reminder" instead of the function name?

The tragic reality of web optimization: you won't get a 100 perf on lighthouse if you use Google Tag Manager and Meta Pixel according to best practices Meta Pixel has 12kb of legacy polyfills ☹️ Maybe when Google and Meta aren't small indie shops they will have budget to fix

Mongoose Studio v0.0.105 released, with my new favorite feature: Create Dashboard from chat tab Created a useful visualization that you want to save for later? Click "Create Dashboard", and now you can save the visualization to a dashboard you can share with your team
Mongoose Studio v0.0.104 includes links to ref-ed documents in the document detail view 😎

Thanks copilot for saving me from myself when I feel the need for speed and don't want to wait for a human to review my code

Mongoose Studio v0.0.99 released, now including chat tab in the free tier (rate limited) Lately I've been using it to write custom seed scripts for local data, and it is 🔥🔥🔥
I'm finding myself using ChatGPT Codex to fix bugs that I could reasonably easily fix myself. Sure I can take the time to fix it and run tests to verify, or I can go hang out with my kids for a bit while Codex does it
Officially wore out the C key on my keyboard, and V is almost gone Developer = copy/paste machine

Love this layout, copying for Mongoose Studio. Next up, need to add a changelog
Added live download count to landing page CTA 📥
My first time having to write a retry loop for MongoDB deleteMany() Apparently shit happens when you're trying to delete 60M documents in one command

One of the more legit interesting comments I've seen on twitter recently. Might need to write a blog post about this applied to web apps
In crypto, we have forked environments that simulate transactions using real data and a copy of the VM. These forks grab on chain data as needed only, thus are light weight. For non crypto, I think cloning production infra into a test environment >>>> mocks.
Finally started on a mobile layout for Mongoose Studio. Chat and dashboards are now more usable on mobile - still a ways to go on the table view With chat view on mobile, you can now vibe code prod data migration scripts from your phone 📱🤠
Added ESLint to Mongoose Studio this weekend. Immediately caught a dumb bug. Forgot to define a variable after a non-trivial refactor. You should lint your code. But don’t start there. Build something worth linting first. And don't let lint setup stop you from building.
Mongoose Studio 0.0.92 released, now supports Google login and invites by email

How I rate limit LLM requests in Mongoose Studio using Mongoose statics Works great for small-ish rate limits, can't imagine this would work well if I'm limiting to 10M requests per window
