Voice-to-code, control your AI Agents like a boss
Control AI agents like Amp and Claude Code using only your voice with voice-to-code. Free, runs locally, and works offline. Stop typing, start talking.
About technology stuff that piqued my interest
Control AI agents like Amp and Claude Code using only your voice with voice-to-code. Free, runs locally, and works offline. Stop typing, start talking.
Điều khiển AI Agent như Amp hay Claude Code bằng giọng nói với voice-to-code. Chạy hoàn toàn trên local, không tốn một đồng.
Thay vì copy-past prompt, ta có thể biến chúng thành custom command. Cách này giúp ta tái sử dụng prompt mà không làm rối context.
Stop copy-pasting prompts. Turn them into Amp custom command that load on-demand, keep context clean, and never forget. Step-by-step guide inside.
Theo mặc định, RedisTemplate sẽ chuyển dữ liêu của ta sang dạng String trước khi thực hiện serialize. Trong một số trường hợp, ta có thể tiết kiệm bộ nhớ bằng cách gửi thẳng byte lên Redis.
By default, RedisTemplate convert our data to String before sending it to Redis. In some case, sending raw bytes can help us save some memory.
Một xử lý được gọi là fire and forget nếu như ta không cần đợi nó chạy xong và cũng không cần giá trị nó trả về. Vậy ta thực hiện điều này trong Kotlin như thế nào?
Fire and forget means we start an action and don’t care when or how it finish. Let’s see how we can achieve this with Kotlin
Kotlin cho phép ta tạo DSL một cách dễ dàng. Hôm nay, chúng ta sẽ cùng tạo một DSL đơn giản để đọc dữ liệu từ Elasticsearch.
Implementing a DSL can’t be easier with Kotlin. Today, we will create a toy DSL to query data from Elasticsearch cluster.