Paco García (@frangarc) header
Paco García (@frangarc) profile picture

Tecnólogo aplicado

Madrid, Comunidad de Madrid
Joined May 2008
Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)Photo by Paco García (@frangarc)
The Curious Death of Cryptography, Announced by Those Who Have Never Understood It There is something rather charming about the modern intellectual. Give him a mathematical conjecture he cannot explain, a cryptographic algorithm he cannot implement, and an artificial intelligence he cannot understand, and within minutes he will confidently announce the end of civilisation. The Riemann hypothesis has become the latest fashionable instrument of apocalypse. Apparently, should it be proven, our bank accounts will empty, digital signatures will become worthless, and every secret ever entrusted to a computer will become public property. One must admire the imagination, if not the education. Elliptic curve cryptography derives its security from the difficulty of solving the elliptic curve discrete logarithm problem. Although many elliptic curves operate over prime fields, their security does not depend upon our ignorance of the distribution of prime numbers. Announcing that the Riemann hypothesis destroys elliptic curve cryptography is rather like announcing that a breakthrough in meteorology has rendered the locks on one's front door obsolete. Both involve mathematics, which apparently constitutes sufficient evidence of a connection for the contemporary technological enthusiast. RSA presents an even more delicious irony. The difficulty of factoring a particular large composite integer is quite distinct from understanding how prime numbers are distributed. Knowing approximately how many gentlemen inhabit London does not tell one which two gentlemen have committed a particular burglary. Moreover, certain algorithms in computational number theory already possess performance guarantees conditional upon the Riemann hypothesis or its generalised form. Establishing these conjectures would strengthen the mathematical foundations upon which those guarantees rest. Imagine the disappointment of the professional alarmist upon discovering that the mathematical catastrophe he has been advertising might actually provide greater theoretical assurance for existing computational methods. It would not, of course, automatically make RSA harder to attack. But neither would it provide an efficient method of factoring its modulus. For that, one requires an actual factorisation algorithm. For elliptic curve cryptography, one requires an efficient solution to the relevant discrete logarithm problem. Such details are terribly inconvenient to those who have already written the obituary. The difficulty with modern technological discourse is that ignorance has acquired all the confidence of scholarship without any of its burdens. A gentleman need no longer study mathematics to pronounce upon its consequences. He need merely acquire a social media account, cultivate a suitably grave expression and announce that everything is about to change. Riemann's conjecture is a magnificent mathematical problem. Its resolution would constitute an extraordinary intellectual achievement. It deserves rather better company than cryptocurrency speculators, technological evangelists and entrepreneurial prophets selling the end of encryption. Cryptography will not perish merely because someone has discovered a beautiful truth about prime numbers. The reputations of a few self-appointed cryptographic experts, however, might benefit from remaining encrypted. There was a time when ignorance was something one attempted to conceal through education. Today, it appears to be something one monetises through engagement.
7
10
2
55
5,106
Paco García retweeted
We know how to build reliable software. It's just been out of reach for most of us. Coding agents change that, if you stop using them to ship more bugs faster. When you are building software, the first thing you need to ensure is that you are solving the right problem. That is, you need to make sure the requirements are correct. You then need an architecture in place that supports correct, performant implementation, and you need to eliminate as much accidental complexity as possible. You need to code the solution then incrementally. But because it's easy to introduce defects in code, you need to verify it. The weakest form of verification is unit and integration tests because they are example-based, which means it is easy to miss important behaviors. Property-based tests and fuzz tests are more powerful because they let you verify behavior systematically. Deterministic simulation testing is the most powerful technique because it allows you to verify the system as a whole in a reproducible way. Formal methods have long been the holy grail of producing reliable software, but they were out of reach for most of us because they were too expensive. However, coding agents only really solve the problem of coding. If you ask a coding agent to build a system, it defaults to one-shotting the whole system with some example-based unit or integration tests. Coding agents make mistakes in the code, just like humans, so the default approach generates unnecessarily complex and unreliable systems. But you can also use coding agents systematically. You can build the system incrementally in small steps, verifying it as you build. You can also use coding agents to refactor the code and get the cleanups done that you neglected in the past when building systems because you didn't have the time. You can also spend time perfecting your verification system, since that is now the bottleneck in producing software. You can even explore formal methods because coding agents make them much more cost-efficient. If you're a software engineer, don't surrender your thinking or outsource your skills to coding agents. Sure, some software is more automatable than others because the cost of failure differs. But there's no reason to let accidental complexity creep into your systems, and no reason not to verify your code and build the quality software we need. Agents made code cheap. Use that to make your software better.
63
35
7
307
13,430
Start the tape and press any key… 📼 ESPectrum 1.5, the ZX Spectrum emulator for ESP32, lands on 8 December. Loaded for real on a CRT telly. What would you load first? 👇 #ZXSpectrum #RetroComputing #ESP32 #Speccy
11
29
656
Te respondo citado, sin insultar, y porque creo que se está cuñadeando por encima de muchas posibilidades. Lo hago desde un espíritu absolutamente constructivo, espero que lo aprecies así Daniel. Vamos por partes. En el tema del tren no voy a entrar en detalles que ya bastante ruido hay. Hablemos de tu tesis a modo general. La frase que rebates no la dice nadie que haya certificado algo. En crítico no se habla de antiguo o moderno, se habla de proven in use. Las normas de seguridad funcional como IEC 61508, EN 50128 o DO-178C permiten justificar seguridad con horas de servicio acumuladas sin fallos peligrosos, y un SIL 4 implica una tasa de fallo peligroso por debajo de 10⁻⁸ por hora. Eso no se demuestra con tests, se demuestra con años de operación o con métodos formales. Cada línea que reescribes pierde ese crédito y vuelve a cero, con su análisis de riesgos, su validación independiente y su evaluador externo. El documento del F-35 es el JSF AV C++ Coding Standards, que deriva de MISRA C. Prohíbe excepciones, memoria dinámica después de la inicialización, recursión, RTTI y buena parte de la librería estándar. O sea que lo que se usa en un avión de combate es C++ amputado hasta parecerse a C con clases, y congelado desde 2005. Me llama la atención, siendo tú un experto; que en todo el hilo no salga Ada ni SPARK cuando hablamos de sistemas críticos. SPARK permite probar formalmente ausencia de errores en tiempo de ejecución, y es lo que se usa en control de tráfico aéreo como iFACTS en Reino Unido o en la línea 14 del metro de París, que se hizo con método B y código Ada generado a partir de la prueba formal. Con la NASA pasa exactamente lo mismo. Decir que usa C++ para todo se queda muy corto. El estándar de código de JPL y las reglas Power of Ten de Holzmann prohíben recursión, memoria dinámica tras la inicialización y bucles sin límite. F Prime, el framework en C++ que voló en Ingenuity, sigue esa misma filosofía, reserva toda la memoria al arrancar y usa un subconjunto muy controlado del lenguaje. Es C y C++ recortados hasta que sean predecibles, la misma premisa que el F-35. Las ofertas de empleo no enseñan la arquitectura del sistema crítico. Docker, Java o Qt en General Dynamics te dicen que hay HMI, simulación, herramientas y sistemas de misión. Nadie mete un runtime con recolector de basura ni contenedores en un lazo de control con requisitos de tiempo real duro, porque la latencia no es determinista y eso no lo certifica nadie. Y el Patriot es defensa antiaérea, no un misil balístico, por cierto. Lo de SpaceX es verdad, Dragon vuela C++ sobre Linux. SpaceX no ha publicado su estándar de código, pero Crew Dragon está certificada por NASA para llevar astronautas, y eso exige cumplir la Clase A de software de NASA, que obliga a tener un estándar de codificación y verificarlo. Lo lógico es que vaya por el mismo camino de C++ restringido. Luego usan procesadores comerciales sin endurecer y lo compensan con tres unidades redundantes, cada una con dos procesadores comprobándose entre ellos y votación cuando no se ponen de acuerdo. Ellos mismos explican que eligieron C++ por la cantera de ingenieros y las herramientas, no porque sea más fiable ni por ninguna otra cuestión. Lo de que Raytheon migre de FORTRAN a C++ es una decisión de mantenibilidad y de mercado laboral, no de fiabilidad, que es por lo mismo que SpaceX eligió ese stack. FORTRAN no tiene ningún problema intrínseco de corrección, sigue siendo la referencia en cálculo numérico y medio HPC corre sobre él. El 486 del Hubble es lo mismo. Se eligió porque está caracterizado hasta el último transistor, aguanta radiación mejor que nodos más pequeños y tiene errata conocida. En espacio se vuelan RAD750, que es un PowerPC de finales de los 90, precisamente por eso.
Como "no tengo ni puta idea de lo que hablo", os traigo una lección sobre diseño de sistemas críticos. La frase es: "Los sistemas modernos se programan con plataformas antiguas como COBOL / FORTRAN / mainframes porque son más fiables" Veamos unos cuantos ejemplos (sigo):
64
180
29
941
96,513
Paco García retweeted
The purpose of estimating software projects is not business planning its to create a self imposed deadline that creates social pressure for teams to finish the project. This sounds insane. When I was an engineer I hated estimation and deadlines. My feeling was, it will be done when it’s done and we don’t know when it will be done. I would obnoxiously give a probability distribution whenever asked if we would ship on time. But in reality, in a complex project with many people or teams, people need a good deadline, one that is aggressive but not insane. This is what lets everyone involved solve for what really matters, cut things that don’t matter, and push to complete something really hard. It’s a silly social convention, but it really helps. In fact setting aggressive but not insane deadlines, slipping them when needed but holding them when possible, is one of the key capabilities in engineering management.
There’s a kind of polite fiction at the heart of the software industry.
33
37
11
727
28,244
So why can't I run any of the "good" models on a 32 GB Video Card that costs $5000? Yet, the frontier is going to "clone itself" to smart devices... GTFO.
SITUATION DETECTED: Anthropic believes AI models may be only months away from being capable of self-replicating without access to a datacenter by using commercial devices like Android smart TVs.
151
171
16
5,199
132,025
Tres dashboards, dos informes de consultora y cero decisiones: ha llegado la hora de gestionar riesgos. Nuevo artículo diagramado de Quixotic Strategy Lab para la Asociación CPS. (se agradecen RTs) linkedin.com/pulse/la-par%25…
17
1
27
1,657
Paco García retweeted
In the face of generative AI coding agents, the role of human-led architecture becomes even more important in the crafting of software-intensive systems. All architecture is design, but not all design is architecture. Architecture represents the set of significant design decisions that shape the form and function of a system, where significant as measured by cost of change. As such, remember that coding agents are reasonably good at transforming prompts into code, but they are not particularly good at making decisions that balance the static and dynamic forces on a system in order to yield a reasonably optimal solution: this is where human judgment, human understanding, human knowledge, and human experience shine.
53
118
13
672
33,509
Paco García retweeted
Oye, Sam Altman, hay rumores de que un científico de Anthropic está a punto de resolver el problema de la vivienda en España
90
1,076
49
18,651
300,754
Paco García retweeted
For nontrivial programs, it seems LLMs converge to working solutions faster with Coalton than Common Lisp, despite there being almost no stable Coalton code in training. Only reason I can discern is that the type system steers it better, and it can "think" as a {Haskell,OCaml}er.
5
7
74
2,742
Paco García retweeted
QUIT VIM LOAD EMACS
I've been trying to quit
4
4
1
35
1,797
Paco García retweeted
El "sentido común" está destruyendo la calidad de tu software. En programación, confiar en lo que "parece obvio" es la forma más rápida de crear sistemas frágiles e inmantenibles. ¿Por qué? Porque las mejores prácticas de la industria son completamente contraintuitivas. Abro hilo sobre por qué debes dejar de lado el "sentido común" 🧵👇
6
13
1
85
16,585
The bitter lesson in 26 words: Don’t be distracted by human knowledge, as AI has been historically. Instead focus on methods for creating knowledge that scale with computation, like search and learning.
137
999
152
7,553
628,922
Paco García retweeted
There’s a famous Usenet story about a programmer (Mel) who refused higher level abstractions. It was the late 1950s, and even in that era, Mel was…well today we’d call him a boomer. Mel only wrote in raw hexadecimal. He didn’t approve of compilers, and refused to use optimizing assemblers. "You never know where it's going to put things”, he said. Everyone else in the company was moving on to FORTRAN, and they didn’t understand why Mel was so stubborn about using new tools. He *loved* self-modifying code. “If a program can’t rewrite its own code”, he asked, “what good is it?” Mel eventually left the company, and other engineers were tasked with understanding what was left. Mel’s hand-optimized routines always beat the assemblers; but some of it looked absolutely bizarre. One engineer took ~2 weeks to understand why there were loops with no exit condition…yet the program worked fine. I won’t spoil all the details, you should really read it, it’s short. But it’s a fantastic piece on “what defines a real programmer?”…which is becoming increasingly relevant in this vibe-coded era. I strive to understand computers as deeply as Mel! If we aren’t careful, we’re going to lose the “Mels” of this world to time. That’s part of why I go so deep in my youtube videos. I hope that younger viewers are genuinely fascinated by the inner workings of our machines, instead of handing everything off to higher abstractions.
Interesting article on treating agent output like compiler output (and why) skiplabs.io/blog/codegen_as_…
198
682
53
8,578
595,009
Necesito la interpretación de @Recuenco sobre esto …
Official announcement from Anthropic:
1
7
12,556
Me veo obligado a sacar un meme terapéutico: El Brofeta de futuros AI-fluencer
🤖 Made with AI
2
5
14
702
Paco García retweeted
Let's play a game - win32 types vs Polish language: LPCWSTR PSZCZYNA WCSLEN WCZESNY LPCTSTR BYDGOSZCZ WSTRZAS HGDIOBJ DOWOD HWINSTA DLUGOSC LPCSTR DWORD KAL LPWSTR SZCZECIN PCWSTR BLAD PUHALF CHUJ UHALF
248
907
76
10,452
483,893
Paco García retweeted
Please please please. I'm on my knees begging every AI exec on the planet. Just stop with this stuff. Stop. Just give us models. Let the collective distributed intelligence of people figure things out in real time like we always do. Let people adapt. It's what we do. It's all just so tiresome. We just want models. We'll figure it out. We promise. We don't need societal level surgery and UBI and robot taxes and ham-fisted legislation and populists politicians passing dumb law after dumb law and lobbying groups and all this craziness. We are not giving birth to magic super miracle machines that suddenly invalidate every single pattern of the entirety of human history and technological development. We're not. Really. AI is amazing. It's wonderful. But it's not magic. Can we please just let AI be cool and useful and problematic in realistic ways instead of all this crazy talk? We are hallucinating at a collective scale. It's a madness really. A societal meme level madness. Just give us a products please and leave all the politics in the garage. Stop proposing societal level surgery with drastic measures for things that have not happened and may not happen and probably won't happen. Just stop.
🚨🚨@sama tells me he feels such URGENCY about the power of coming AI models that @OpenAI is unveiling a New Deal for superintelligence - ideas to wake up DC He says AI will soon be so mindbending that we need a new social contract 👇Altman's top 6 ideas axios.com/2026/04/06/behind-…
118
139
25
1,392
247,860
AI doesn’t make engineering easier. It makes bad engineers delusional, average engineers noisier, and great engineers impossible to beat.
2
3
8
433