Dani (@DanielPous) header
Dani (@DanielPous) profile picture

Code lover. Software engineer.

Barcelona
Joined December 2012
Photo by Dani (@DanielPous)Photo by Dani (@DanielPous)Photo by Dani (@DanielPous)Photo by Dani (@DanielPous)Photo by Dani (@DanielPous)
I’ve been working on Kafence, a small Rust library to explore strong consistency on top of Kafka Streams. When a service receives a write, if that partition is owned by another instance, the request is proxied to the right service. crates.io/crates/kafence #opensource #rust
2
2
170
El señor @Zerasul y yo estamos montando un discord de Almería para las frikadas y demás, lo interesados ya sabéis. Todavía está bastante vacío pero poco a poco iremos añadiendo las secciones y todo eso conforme se vaya viendo que hacen falta discord.gg/kqSenDQDS
2
2
161
Do you work with @kotlin or @java ? I've been working on a **fast** language server for a while: github.com/pepegar/ktlsp compiler free, orders of magnitude faster than current LSPs for these languages, and integrates nicely with @claude code
5
1
10
1,439
Dani retweeted
As someone who's been shipping LLMs since the GPT-2 days, this lecture on cross-entropy from a Stanford math grad is the closest thing to an ML PhD qualifying exam I've ever seen released publicly for free. Everyone thinks language models predict the next word. They don't. They compress language. Once you see the math, you can't unsee it. 33 minutes. Bookmark & watch today.
69
306
20
3,571
357,965
Observations from writing Go again, exacerbated by agents but not unique to them. First, its far too easy to allocate and agents (probably people too) do it too often. For example, to "undo" work on error, its enticing to keep track of the work done but that's a mistake. If an error case is rare (and they usually are), you should pessimize the error case and optimize the success case. Don't allocate unnecessarily on the happy path if its going to succeed 99+% of the time. Let the error case be slower. On error, just redo the work but do the undo step instead of the apply step. This doesn't work if the apply step had a ton of side effects but it works more often than you think. Real world example of that not in Go, but the Zig compiler: when it parses, it doesn't store any file/line/col info, because its a waste of memory when parsing succeeds most of the time. And memory is speed in modern CPUs since cache locality owns everything around us. If an error happens, Zig just reparses the file from the beginning in a slow path that does collect error information. That pattern is generally useful.
36
61
3
1,407
120,998
En Innovamat buscamos 2 Senior Software Engineers para sumarse a los equipos de desarrollo de producto 🚀 Es un momento especialmente interesante por dos motivos 👇
3
13
28
5,067
So I've been building something like the Codex app but with much better git and github integration and with Claude (so far). And it's open source.
4
5
2
24
5,446
Linux when? Linux now. 🎉🐧 For the last 6 months, our team and our open source community have been working hard to bring Zed to Linux. As of today, we've released our first, official, stable build of Zed on Linux! zed.dev/linux
221
800
265
5,790
805,194
We collaborated with @mainmatter to bring this new event to Barcelona! We'll have some amazing talks by @MatildaSmeds and @pgleb, and a final panel moderated by @algo_luca . Looking forward to seeing you all in the @AdevintaSpain offices! @rustlang meetup.com/es-ES/bcnrust/eve…
1
8
2
12
1,013
¡Os recordamos que el 1 de febrero tenemos un increible meetup! Si no os habéis apuntado todavía, aún estáis a tiempo 🦀🦀❤️🎉
¡Tenemos nuevo meetup para la temporada que viene! Herme García nos explicará como @NucliaAI usa @rustlang para resolver varios de sus retos e @ifraixedes nos guiará a través de su viaje para crear bindings para @storj Libuplink. meetup.com/es-ES/bcnrust/eve…
3
2
209
Looking for some virtual conferences or meet-ups that are interested in hearing a bit more about @arrow_kt and functional programming in #kotlin Possible topics are functional microservices, FP in Kotlin in general, comparing FP in Kotlin with other functional languages, etc
1
6
10
1,360
Replying to @antonarhipov
It’s funny that Android overtook Kotlin so rapidly, but it came from a hard need in the Android world. I remember using AutoValue, RetroLamba, etc just to get some modern feeling in Java 7. Now people seem to associate Kotlin with Android do easily. Lets change that 💪
2
1
9
480
Dani retweeted
I've written a post on how I use Nix and home-manager to provision my development environment: juliu.is/tidying-your-home-w…
5
31
2,189
After reading @simonw's blog post about Bing's AI and the New York Times article, I'm quite confident that AI would be capable of doing harm to humans. I wrote about a bit about the why. lucumr.pocoo.org/2023/2/17/t…
5
7
4
35
21,154
¡Hola! We're looking for a host for our #rust #barcelona #meetup @bcnrust. Pinging some of the most meetup-friendly companies in the city just in case... ☺️ @AdevintaEng @newrelic @typeform @WallapopEng @Wallbox_ES
3
6
12
1,399
Something for the weekend? We've all been asking WEN since 2019, and NOW you can test-drive the Alpha release of Tauri MOBile: a NEW way to deliver apps on #Android and #iOS using #rustlang and @TauriApps. Read all about it on our blog here: tauri.app/blog/2022/12/09/ta…
13
89
31
327
Managed to get @TauriApps running on NixOS Lots of LD_LIBRARY_PATH shenanigans but it works 😁
2
3
9