
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.
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


