Anton Mihaylov (@antomicmm) header
Anton Mihaylov (@antomicmm) profile picture

Full-stack web developer.

Bulgaria
Joined September 2014
Photo by Anton Mihaylov (@antomicmm)Photo by Anton Mihaylov (@antomicmm)Photo by Anton Mihaylov (@antomicmm)Photo by Anton Mihaylov (@antomicmm)Photo by Anton Mihaylov (@antomicmm)Photo by Anton Mihaylov (@antomicmm)
Quick #typescript snippet. Inversion of control is a useful pattern for managing complex dependency graphs. But a lot of DI libraries can be seen as too "magic-y". Here's a simple, fully type-safe IoC container in under 100 lines with no magic and no decorators.
1
1
1
4
1,533
And here's how it's used. If you want to get fancy you can easily adjust it to support nesting containers or add lifecycle hooks like for initializing, disposing or error handling.
62
I had to evaluate what speech to text AI to use for a project. There are a lot of services and tools in the market, so here's a summary of the top contenders 🧵↓
1
77
1. Assembly AI assemblyai.com/ A top-notch cloud-based solution that provides an excellent result accuracy and comes with a wide range of audio intelligence feature. It's very easy to use, is performant, but can be a bit pricey.
1
9
Everywhere I look I see how fast bun.sh is. So of course, I ran a small test. Node turned out ~3 times faster for a bare-boned API (with file I/O, JSON serialization, and SQLite queries). Details 👇
2
6
Machine: Macbook M1 Max Code and detailed results are here github.com/antonmihaylov/bun…
1
1