Hugo Alatrista-Salas (@HugoAlatsal) header
Hugo Alatrista-Salas (@HugoAlatsal) profile picture

I am a Ph.D. in Computer Science. I'm interested in techniques for discovering knowledge from complex data, including IA, pattern mining, visualization, etc.

Lima, Peru
Joined December 2014
Photo by Hugo Alatrista-Salas (@HugoAlatsal)Photo by Hugo Alatrista-Salas (@HugoAlatsal)Photo by Hugo Alatrista-Salas (@HugoAlatsal)Photo by Hugo Alatrista-Salas (@HugoAlatsal)Photo by Hugo Alatrista-Salas (@HugoAlatsal)Photo by Hugo Alatrista-Salas (@HugoAlatsal)Photo by Hugo Alatrista-Salas (@HugoAlatsal)
Hugo Alatrista-Salas retweeted
Turn Python data into beautiful visual art! This Rainbow Rose Visualization is created using Python and PyEcharts. It transforms simple data into a stunning rose-style pie chart with: Custom rainbow color palettes Beautiful radial visualization Interactive chart styling Clean data representation Python isn't just for automation and data analysis. You can create amazing visualizations with it too! Books: 100 Python Automation Projects for Smart Developers In a world driven by efficiency, automation is no longer optional—it’s essential. 100 Python Automation Projects for Smart Developers is your ultimate hands-on guide to mastering automation using Python, one of the most powerful and beginner-friendly programming languages. gumroad.com/products/rmayfl/
1
22
126
9,755
Hugo Alatrista-Salas retweeted
THIS IS AN ACTUAL F*CKING GOLDMINE Anthropic just shared one of the best tricks for Claude Code. The idea: run Sonnet, Haiku 5.5 and Opus 5.5 at once, each one doing only the job it's best at. Better results and way fewer tokens, because every task lands on the right model. You just launch Claude Code like this: claude --model sonnet --advisor opus here's the split: → Sonnet 5.5 runs the session, writes the code and applies the fixes → Haiku 5.5 swarms the repo in parallel: search, grep and diff audits → Opus 5.5 stays on call as advisor for the big calls and signs off on the diff → you stop burning Opus context on work that doesn't need it Opus only steps in at three moments: → before a plan locks → when the same error shows up twice → before calling it done Sonnet builds. Haiku swarms. Opus reviews. JEV engineering is the same move one layer down: the forks that need no thinker (which file, which tool, retry or stop) go to JEV in milliseconds, and the big models only see the ones that split the full tree > Sonnet 5.5 runs the main session and coordinates the work > search maps the repo on Haiku 5.5, read-only > grep finds call sites on Haiku 5.5 in its own context > audit checks the diff on Haiku 5.5 in a throwaway worktree > Opus 5.5 on call as advisor, reviews the synthesized diff before sign-off > JEV routes micro-forks in milliseconds paste the tree and this prompt into Claude Code ↓ "Reconfigure my Claude Code setup around this tree: 1. Run the main session on Sonnet 5.5 with Opus 5.5 as advisor. 2. Create three Haiku 5.5 subagents in .claude/agents: search (maps the repo), grep (finds call sites), audit (checks the diff). 3. Set isolation: worktree on audit so its checks never touch my working branch. 4. Add one rule to CLAUDE.md: delegate every repo search and test run to the Haiku 5.5 subagents to keep the main context small. 5. Route fast deterministic forks (tool choice, path selection, retries) through JEV. Show me every change as a diff first. No edits until I say go." ↳code.claude.com/docs/en/sub-… save it, it'll come in handy.
holy sh*t. i gave the exact same goal to Claude Code and to my AI employee. Claude shipped a clean pull request in 9 minutes. Viktor read it, found the Windows bug inside, then shipped his own: > 10 tests > green CI on Linux and Windows
15
49
1
437
77,891
Hugo Alatrista-Salas retweeted
Litiasis renal. Modos B, Doppler-Color y 3D.
3
10
1
31
1,732
Hugo Alatrista-Salas retweeted
this Anthropic paper is pure gold... Anthropic's engineers released a graph engineering blueprint for turning your forgotten files into a second brain Claude can actually use research papers. project notes. meeting transcripts. decisions buried in folders you never open you've already collected the information. the useful connections are still buried across files this workflow brings them together: documents → entities → relationships → graph → retrieval → sourced answer the 6 moves in this doc: step 1 → extract facts pull people, projects, tools and events out of your documents. attach source IDs and evidence to every relationship so you can trace it back step 2 → resolve identities "Sensor-X" and "Sensor X" might be the same thing. merge confirmed matches, flag uncertain ones and keep distinct entities separate step 3 → connect the graph preserve who did what, to whom, and where you found it. follow relationships across files instead of manually piecing everything together step 4 → build entity profiles pick a project, person or tool. collect its relevant excerpts and nearby facts into a grounded profile. keep conflicting evidence visible step 5 → retrieve connected evidence trace an affected component to an incident, then to its reviewer. combine the supporting facts from different documents and cite the sources behind the answer step 6 → catch the mistakes drop the prompt below into Claude Code with your documents and a goal. start with one folder, inspect the extracted facts, then expand if you're building a research assistant or AI second brain, keep this beside your next build. put the information you've already saved to work save this, then read the article below ↓
9
58
1
499
62,490
Hugo Alatrista-Salas retweeted
10 MCP Concepts (Only for Reference & Research)
1
15
1
79
2,143
Hugo Alatrista-Salas retweeted
Deep Learning Neural Network Architectures
2
33
236
7,838
Hugo Alatrista-Salas retweeted
Joder, Andrej Karpathy, cofundador de OpenAI, acaba de compartir su pantalla y mostrar, sin guardarse absolutamente nada, cómo trabaja cada día con los grandes modelos de IA. 70 MINUTOS completos. Sin presentaciones de PowerPoint llamativas, sin teorías vacías. Solo una demostración real de cómo trabaja con la IA alguien que está entre el 1 % de los usuarios más avanzados del mundo. Y lo más sorprendente es lo simple que resulta su método. Todo se reduce a CUATRO pasos: Prompts → Contexto → Herramientas → Flujos de trabajo. Así es como trabajan realmente los que más partido le sacan a la IA. Y aquí viene algo que mucha gente necesita escuchar: La mayoría de las personas no se atascan con la IA porque los modelos sean poco potentes, sino porque complican demasiado las cosas. Karpathy lo hace de forma increíblemente sencilla: elige el modelo adecuado, proporciona el contexto preciso y deja que las herramientas hagan el resto. Cualquiera puede abrir ChatGPT y escribir unas cuantas frases. Pero las personas capaces de convertir los grandes modelos de IA en auténticas máquinas de productividad, como hace este cofundador de OpenAI, son extremadamente escasas. De hecho, estos 70 minutos de demostración práctica probablemente aportan mucho más valor que muchos de esos supuestos «cursos avanzados de IA» que se venden por 2.000 dólares. Es como darle a dos personas una espada capaz de cortar el acero como si fuera mantequilla. Una persona normal apenas sabe utilizarla para sacar punta a un lápiz y encima se queja de que pesa demasiado. Un verdadero experto, en cambio, encuentra el ángulo perfecto, utiliza el material adecuado y deja que el filo haga todo el trabajo. Guarda este vídeo y míralo completo. Después, sigue la guía que aparece a continuación para descubrir cómo utilizar Harness, Loops y Graphs y transformar esta forma de trabajar con IA en sistemas de agentes autónomos capaces de ejecutar tareas por sí solos.
108
955
38
5,687
781,885
Hugo Alatrista-Salas retweeted
𝗛𝗢𝗪 𝗧𝗢 𝗕𝗨𝗜𝗟𝗗 𝗔𝗡 𝗔𝗜 𝗔𝗚𝗘𝗡𝗧 — 𝟴 𝗦𝗧𝗘𝗣𝗦 𝗙𝗥𝗢𝗠 𝗜𝗗𝗘𝗔 𝗧𝗢 𝗣𝗥𝗢𝗗𝗨𝗖𝗧𝗜𝗢𝗡 Building an AI agent isn't just about choosing an LLM and connecting a few tools. A real AI agent requires clear goals, system instructions, tools, memory, orchestration, a user interface and proper evaluation. Here’s an 8-step framework for building an AI agent from scratch. 𝗧𝗛𝗘 𝟴 𝗦𝗧𝗘𝗣𝗦 𝗧𝗢 𝗕𝗨𝗜𝗟𝗗 𝗔𝗡 𝗔𝗜 𝗔𝗚𝗘𝗡𝗧: 1. Define Purpose & Scope Start by defining exactly what your agent should accomplish. → Identify the use case. → Understand user needs. → Define success criteria. → Establish constraints and boundaries. 2. System Prompt Design Give your agent clear instructions about how it should operate. → Define goals and objectives. → Set its role and persona. → Provide instructions and workflows. → Establish guardrails. 3. Choose an LLM Select a model based on your application's requirements. → Evaluate model capabilities. → Consider context window size. → Optimize parameters such as temperature and top-p. → Balance cost, speed and latency. 4. Tools & Integrations Give your agent the ability to interact with external systems. → Local tools. → APIs and web applications. → MCP servers. → AI agents as tools. → Custom functions. 5. Memory Systems Enable your agent to retain relevant information and access knowledge. → Episodic memory for conversations. → Working memory for current tasks. → Vector databases for semantic retrieval. → SQL and structured databases. → File storage. 6. Orchestration Control how the agent executes, manages and coordinates tasks. → Routes and workflows. → Triggers. → Parameters and task configuration. → Message queues. → Agent-to-agent coordination. → Error handling. 7. User Interface Create an interface through which users can interact with the agent. → Chat interfaces. → Web applications. → API endpoints. → Slack and Discord bots. 8. Testing & Evals Measure performance before deploying and continuously improve after launch. → Unit tests. → Latency testing. → Quality metrics. → Iteration and improvement. 𝗧𝗢𝗢𝗟𝗦 𝗬𝗢𝗨 𝗖𝗔𝗡 𝗨𝗦𝗘 𝗧𝗢 𝗕𝗨𝗜𝗟𝗗 𝗔𝗜 𝗔𝗚𝗘𝗡𝗧𝗦: Consumer AI Agents → ChatGPT → Claude → Perplexity Agentic Coding Tools → Cursor → Windsurf → Claude Code No-Code Builders → Lindy → Relay.app → n8n Agent Development Frameworks → LangGraph → CrewAI → LlamaIndex 𝗕𝗜𝗚 𝗣𝗜𝗖𝗧𝗨𝗥𝗘: Purpose & Scope → System Prompt → LLM → Tools & Integrations → Memory → Orchestration → User Interface → Testing & Evaluation → Continuous Improvement 𝗞𝗘𝗬 𝗟𝗘𝗦𝗦𝗢𝗡: The best AI agent isn't necessarily the one using the most powerful model. It's the one designed around a clear purpose, the right tools, reliable memory, efficient orchestration and continuous evaluation. Follow @AamirAnsar94694 for more AI tools & tech updates. #AI #AIAgents #AgenticAI #LLM #AIEngineering #Automation #tech
16
70
2
443
13,968
Hugo Alatrista-Salas retweeted
Learn AI for free directly from top companies. 1 - Anthropic: anthropic.skilljar.com 2 - Google: grow.google/ai 3 - Meta: ai.meta.com/resources/ 4 - NVIDIA: developer.nvidia.com/cuda 5 - Microsoft: learn.microsoft.com/en-us/tr… 6 - OpenAI: academy.openai.com 7 - IBM: skillsbuild.org 8 - AWS: skillbuilder.aws 9 - DeepLearning.AI: deeplearning.ai 10 - Hugging Face: huggingface.co/learn Comment "Learning" if you find this helpful. Repost so others can take help. Must bookmark for future reference. Must Follow @sripathiteja4 for more
9
105
530
22,328
Hugo Alatrista-Salas retweeted
43
272
5,539
Hugo Alatrista-Salas retweeted
How a Vision Transformer reads an image. The image is cut into patches. Each patch is flattened and mapped by one shared linear projection E. A learnable [class] token goes in front, and a position embedding is added to every token: z₀ = [x_class; x¹E; …; xᴺE] + E_pos Each encoder layer: Norm → multi-head self-attention → add the input back, then Norm → MLP → add again. Repeated L times. Only the class token's final output reaches the MLP head, which predicts the class.
13
297
15
1,724
63,513
Hugo Alatrista-Salas retweeted
Complete stack for Agentic Ai.
🤖 Made with AI
24
119
3,393
Hugo Alatrista-Salas retweeted
For Data Analysts: 8 statistical mistakes to be aware of and to avoid INFOGRAPHIC source: lnkd.in/p/emGNAFVe
5
24
1
123
6,410
Hugo Alatrista-Salas retweeted
🐍📰 Hugging Face Transformers: Leverage Open-Source AI in Python In this tutorial, you'll get hands-on experience with Hugging Face and the Transformers library in Python. #python realpython.com/huggingface-t…
1
8
25
3,720
The AI Agent Development Process. How to go from idea to production. (A thread) 🧵
6
26
1
116
6,560
Hugo Alatrista-Salas retweeted
Essential Math for #DataScience — Take Control of Your Data with Fundamental #LinearAlgebra, #Calculus, #Probability, and #Statistics: amzn.to/47GEBCZ ————— #Mathematics #Analytics #MachineLearning #AI #DeepLearning #DataScientist #Algorithms
6
62
377
24,174
Hugo Alatrista-Salas retweeted
Explained well 👏
Why do your AI tools feel exhausting? @rocketdotnew just showed me the answer.
7
152
1
831
37,756
Hugo Alatrista-Salas retweeted
ChatGPT has 400M+ users. But most of them are stuck in beginner mode. Here's the list of 1,000 prompts to use chatGPT like a pro:

252
688
34
5,032
7,010,400
Hugo Alatrista-Salas retweeted
New to Pandas? Here's a cheat sheet you can download (free):
9
236
6
1,391
158,263