做 local first 的产品,最难的一点是跨设备数据同步。苹果有一个解决方案,只需要像读写本地数���库一样读写就行,它会在多设备间同步写日志。但离了 iCloud 就没用了。realm 之前有一套开源方案,但现在也只提供云了。
所以现在很想要一个:封装了sqlite的、自动同步写日志的、可以 self-host 的数据存储方案。
$220 of usage for DeepSeek is here.
Introducing DeepSeek V4.1 Flash Eco on OpenDesign Go.
• $220 in monthly usage credits
• $8 for your first month, then $10/mo
• 27.5× what you pay in your first month
• For non-urgent work. No quality trade-off.
More gifts to come.
hace tiempo que quería aprender sobre hardware, así que empecé a hablar con Claude sobre qué proyecto podía hacer.
llegamos a uno que me gustó:
medir la humedad de la tierra de mi planta para saber cuándo regarla.
lo primero que hizo fue armar una lista de los componentes que necesitaba: (1) una ESP32 (una pequeña placa programable con wifi), (2) un sensor de humedad y (3) cables. los busqué en Mercado Libre y los compré.
cuando llegaron, empecé a entender qué es cada pin, para qué sirve GND, cómo se alimenta el circuito y cómo va la información del sensor a la placa. le iba pasando fotos de las conexiones y preguntando por qué cada cable iba ahí.
hoy funciona así:
1) el sensor está en la tierra y genera una señal eléctrica que cambia según la humedad.
2) la ESP32 recibe esa señal y la convierte en un número.
3) cada 15 minutos, la placa envía esa lectura por wifi a mi backend en Vercel (POST http).
4) el backend guarda el dato en Supabase y una web muestra cómo cambia la humedad en un gráfico.
para que eso funcione, armé con Claude Code el programa (C++) que corre en la ESP32. usé arduino-cli para compilarlo y cargarlo en la placa desde la terminal.
lo mejor fue regarla y ver cómo subía la humedad en el gráfico de la web. ahí pude comprobar que todo el recorrido estaba funcionando.
todavía me falta calibrar bien cuándo necesita agua, pero ya está midiendo la humedad bien.
pueden ver las lecturas, el gráfico y una pequeña guía del proyecto acá:
https://t.co/EEMh5VwM4p
se me ocurren mil proyectos más, pero para arrancar me estoy divirtiendo muchísimo.
es increíble todo lo que podes hacer hoy con IA!
One reason I am sanguine about the technological singularity is that I have seen it coming for over 50 years. In 1975, when I was 17, I wrote:
"Before man can most effectively aid his problem solving machinery, he must first understand it. At present, his understanding is very poor. However, when the breakthrough in understanding the brain occurs, improvement will come very fast and in an exponential increase. Once man has created an intelligence greater than his own, that intelligence should be able to create an intelligence greater than itself, as man whose intelligence is less than its was able to create its intelligence. Thus, the level of intelligence will shoot up with incredible rapidity, probably within the space of years. Within a few years of a breakthrough, which may occur any time now, man will either have been left behind by a superior intelligence of his own making, which he can no longer understand, or he will have become that intelligence and will no longer be like anything imaginable today."