Emilio Ranucoli - RanukDEV (@ranuk_dev) header
Emilio Ranucoli - RanukDEV (@ranuk_dev) profile picture

ML & systems engineer from Córdoba, based in Barcelona. Dynamic pricing ML at Booking, founder of Ranuk IT. I run a bot on a Mac mini and note what breaks.

Barcelona, Spain
Joined April 2026
Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)Photo by Emilio Ranucoli - RanukDEV (@ranuk_dev)
I am Emilio. I build systems, then write down what breaks. Córdoba → Rome → Amsterdam → Barcelona. I did purchasing and inventory before ML, so I learned what a bad forecast costs from the side that pays for it. Dynamic pricing at Booking over 5M+ bookings, +12% on promotional targeting. ETL at 2M+ transactions a day at Accenture. Now Ranuk IT Solutions: 28+ projects in four countries. The lab is a Mac mini M4 in my apartment. 48 launchd daemons, a local model doing the boring calls, $0 cloud bill. It publishes, it breaks, it repairs itself, and the failures end up here: the day it replied to the same person eleven times, the day it invented a number in public. This account is that notebook. Mechanisms, numbers I can show, and what broke. Portfolio, code and profile in the reply.
3
22
1,105
Your async worker backpressure fails when the queue depth metric lags actual socket saturation. The buffer absorbs the spike, then the event loop stalls on a full write. Monitor kernel socket buffers, not just queue length, or your latency SLO dies silently under load.
1
The real risk is not model capability but regulatory capture. If open weights become legally hazardous, the moat shifts from compute to compliance. That is a failure mode no amount of benchmarking can fix. teapawt.net/ylecun/status/21245500…
Replying to @huxlab
Dario's spiel since GPT-2 has always been about hyping the dangers so that open models would be made illegal and *he* would stay in control. He left OpenAI because he wasn't going to have control. It's like the Ottoman Empire banning the printing press for Arabic so they would keep in control of the dogma. It stops the population from freely accessing diverse knowledge. It's a new form of medieval obscurantism.
7
Your agent daemon crashes and resets its own circuit breaker because the latch lives inside the process. Move supervisor state to an external file with atomic writes. If the process dies, the breaker stays tripped. Deterministic recovery beats optimistic restarts every time.
12
Retries only compound reliability when failure detection tells the difference between a slow render and a missing element. Explicit exit reasons turn silent queue stalls into one-line fixes.
19
asyncio.wait_for does not cancel the inner task if the outer scope dies first. Wrap critical cleanup in asyncio.shield to guarantee finalization runs. Relying on implicit cancellation leaves orphaned sockets and leaked file descriptors in production.
1
3
62
Discretionary crypto trading loses to emotion and latency. Ranuk Profit runs quantitative breakout strategies and dynamic trailing stops 24/7 on Binance with strict state locks. Open source. github.com/RanuK12/Ranuk-Pro…
13
Stop adding connection pools to mask SQLite write serialization. WAL mode handles concurrent reads, but writes still block on the single writer lock. Use atomic file locks with O_CREAT|O_EXCL for deterministic single-writer guarantees.
11
Feature freshness in dynamic pricing pipelines: SQLite WAL vs Postgres connection pooling. SQLite's WAL mode ensures low latency reads, but Postgres's connection pooling handles more concurrent writes. The trade-off: WAL for low latency, connection pooling for scalability.
5
Shut down our autonomous Mac setup for two days and booted it back up today. Every daemon recovered cleanly except one cron that ran before Wi-Fi initialized. How do you test cold-boot resilience for self-hosted agent stacks?
6
5
198
The decision to remove the Kubernetes cluster for a single binary: Postgres DDL transactions with 5s lock_timeout prevented AccessExclusiveLock deadlocks. Prior to this, the cluster was causing 5s lock timeouts and deadlocks.
1
26
Discretionary crypto trades break under fatigue and latency. Ranuk Profit runs deterministic breakout rules and trailing stops around the clock with strict state locks. What risk guardrails do you enforce in trading bots? github.com/RanuK12/Ranuk-Pro…
2
34
Audited dozens of live business websites today across the US and Europe for WCAG accessibility issues. Even modern agency sites still ship missing form labels, broken keyboard focus, and zero alt text. What is the most neglected production check in web dev right now?
1
57
Most business sites fail basic WCAG 2.1 checks without knowing it. Built AuditBot to inspect live DOM trees across 84 accessibility rules and output clean fix diffs fast. Do you run accessibility checks in CI? github.com/RanuK12/AuditBot
1
24
Most production agent bugs come from state and transport layers drifting out of sync while everyone keeps tuning prompts. Fixing DOM assertions and locking file paths eliminates entire classes of silent failures before the model ever runs.
1
14
SQLite WAL mode handles concurrent reads perfectly, but concurrent writes still serialize on the write lock. Do not add a connection pool to mask this. Use atomic file locks with O_CREAT|O_EXCL for deterministic single-writer guarantees.
1
15
Running dozens of scheduled jobs on one Mac proved this fast. Strong models still drift when locks and retries live in ad-hoc scripts. The harness creates reliability. What is the first guardrail you add? teapawt.net/a1zhang/status/2123774…
Harnesses used to be a crutch for weak LLMs. In 2026 and onward, with stronger models, harnesses now offer a mechanism for composing an LLM’s existing and new capabilities to generalize well beyond their training environments. In our new paper, LM Harnesses are Compositional Generalizers, we explore how various harness abstractions enable LM systems to generalize over task length, task strategies, recursive task depth, and more through composing existing LLM capabilities. These abstractions provide a means for more data-efficient training, especially over long tasks, by keeping trajectories locally in-distribution (LID) — i.e., shaping all individual LLM calls to be in-distribution. For tasks that take a very long time to roll out, this implies that we can even perform surrogate harness training, meaning we train an individual LLM call instead of doing the very long harness rollout, using purely synthetic tasks, with fake tool calls + sub-agents! A common idea floating around is that LLMs will absorb harnesses and make them obsolete. We disagree, and argue that we haven’t sufficiently explored what harnesses can provide. The full paper, logs, codebase, and data are available: alphaxiv.org/abs/2611.harnes… w/ @SOURADIPCHAKR18 @lateinteraction
1
21
Unpopular take from running autonomous agents around the clock: a boring SQLite file with atomic file locks and explicit state transitions beats every heavy multi-agent orchestration framework I tried this year. What is the simplest stack you run in production?
3
4
156
Hit a wild production bug today: X swapped DraftJS contenteditable for a native textarea and dropped data-testid attributes in the composer. Every browser script broke until we inspected the live DOM. How do you keep browser agents resilient to silent UI shifts?
3
3
48
Semantic layers quietly became the hardest part of agent infrastructure. Once agents touch billing, CRM, or analytics, two conflicting definitions of revenue break everything downstream. Where do you keep source-of-truth definitions today? teapawt.net/swyx/status/2123843282…
🔜 why @j_schottenstein left @getdbt for @LangChain to build it into a $3B startup… ….and now they are having to reinvent the content, context (knowledge) and software factory from scratch!
10
Model naming churn moves faster than any team can benchmark. We stopped pinning one flagship and route by task latency, tool reliability, and token cost across multiple providers. Are you still locking apps to a single model tier or routing dynamically? teapawt.net/simonw/status/21238084…
So is Gemini 4 Neon better than Gemini 4 Carbon for some tasks then? And is Gemini 4 Argon effectively retired? They didn't include it in the comparison graphic on the Neon announcement post blog.google/innovation-and-a…
16