
Ingeniero de software, librepensador y escéptico
Chile
Joined September 2024
- Tweets430
- Following226
- Followers25
- Likes1.2K
Pinned Tweet
Me di la tarea de reunir en un solo lugar todas las campañas de organizaciones que están ayudando tras el #terremotove del 24 de junio de 2026 en mi país, #Venezuela dondeayudarvenezuela.com/?v=… es #opensource puedes ver el código en Github
112
LuisM retweeted
I wrote some C# today by hand. And boy it was wonderful. It was the most perfectly done block of code I've done in years. It did not compile.
LuisM retweeted
Las fechas y las zonas horarias son el único tema en el que absolutamente todos los developers han tenido el mismo bug en algún momento de su carrera. 🤌
对于习惯了 Linux 终端的人来说,第一次打开 PowerShell,大概率会觉得这玩意儿简直反人类,用起来特别“屎”。命令动不动长得像写英语作文,参数繁琐,早年甚至还把 curl、wget 这些高频命令做成行为完全不同的别名,怎么看都像微软在故意恶心开发者。
但冷静下来想一个问题:微软当年既然觉得 DOS 命令行不好用了,为什么不直接抄 Linux 的作业,搞一个尽可能还原 Bash 的终端?
答案是:根本抄不了。因为两者的底层设计哲学完全不同。
Linux 的核心哲学是“一切皆文件”。配置文件、进程状态、设备信息,几乎都能以纯文本的形式读写。所以 Bash 只需要配合一套文本流处理工具,就能把整个系统管得服服帖帖。但 Windows 的核心哲学是“一切皆 API”——注册表、系统服务、安全策略、活动目录(AD)、WMI,全都是结构化的二进制接口和组件,根本不是纯文本文件。就算微软当年把 Bash 原封不动搬到 Windows 上,面对这些 Windows 独有的底层模块,依然束手无策。
更反直觉的是,PowerShell 的诞生,恰恰是为了解决 Linux Shell 的一个老毛病。
PowerShell 的创始人 Jeffrey Snover 本身就是个资深 Unix 老兵。他非常清楚传统 Unix/Linux 管道的痛点——“文本解析地狱”。在 Linux 里,管道里流淌的是纯文本。前一个命令吐出一堆带空格和换行符的字符串,后一个命令必须靠正则、按列切割去“猜”自己想要的数据。只要上游工具哪天改了一点输出格式,下游脚本就全崩了。
Snover 决定直接掀桌子:PowerShell 的管道里不传文本,而是直接传完整的 .NET 对象。下游命令不需要做任何字符串切割,直接拿对象的属性、调对象的方法就行。从软件工程的严谨度来看,这其实是一种降维打击——结构化、强类型、极其适合写大型自动化脚本。只不过,它的代价是彻底牺牲了日常敲命令的“短平快”。
所以,PowerShell 从基因里就不是为了讨好普通开发者而生的,它服务的对象是企业级 Windows 运维(IT Pro)——也就是那些需要批量管理成百上千台 Windows Server、域控和邮件系统的人。对于写几百行运维脚本的人来说,命令短不短不重要,规范性和可读性才重要。这也是为什么 PowerShell 强制推行“动词-名词”的命名规范,让脚本看起来更像正经的编程语言,而不是一堆只有作者本人才看得懂的缩写。
这段历史其实有据可查。2002 年,Jeffrey Snover 写下了 PowerShell 的立项纲领文件——《Monad 宣言》(The Monad Manifesto)(Monad 是 PowerShell 最初的内部代号)。白皮书开篇就定死了调子:Monad 是下一代“系统管理自动化”平台,要“让非程序员的生活轻松得多”。由开发者把底层 API 封装成易读的命令,交给系统管理员去组合调用。
2006 年底 PowerShell 1.0 正式发布时,它没有绑定在 Visual Studio 里,而是先被企业级邮件服务器 Exchange Server 2007 拿来当管理底座——甚至整个图形管理界面都是架在 PowerShell 之上的。微软当时的商业算盘打得很响:Windows Server 在数据中心里一直被 Unix/Linux 压着打,最大短板就是太依赖鼠标点“下一步”,没法大规模自动化。
但从商业结果来看,这场反击只赢了一半,却输掉了未来。
在传统企业内网里,PowerShell 确实救活了 Windows Server,守住了 AD 域控、内网办公和微软全家桶的基本盘。可在随后爆发的互联网和云原生时代,Windows Server 依然被 Linux 吊打得毫无还手之力。PowerShell 解决了自动化运维的问题,却解决不了 Windows 的三个致命硬伤:按核收费的昂贵授权、过于沉重的内核与容器化短板,以及整个互联网后端清一色 Linux-first 的开源生态。
历史在这里迎来了一个巨大的转折点,核心人物是 2014 年接任微软 CEO 的萨提亚·纳德拉(Satya Nadella)。
纳德拉极其务实,他看清了大势,迅速推动了微软史上最彻底的自我革命:2014 年 11 月,微软官宣将 .NET 开源并走向跨平台(即后来的 .NET Core);2016 年 6 月 .NET Core 1.0 正式发布;仅仅两个月后的 2016 年 8 月,微软基于 .NET Core,把 PowerShell 本身也开源并移植到了 Linux 和 macOS 上。同一年,WSL(Windows Subsystem for Linux)也宣布并随 Windows 10 周年更新一起推出。
微软非常清楚,让习惯 POSIX 生态的开发者去爱上 PowerShell 是不现实的,强行把 PowerShell 魔改成 Linux 风格又会毁掉它原本的工程优势。但从商业上讲,如果开发者因为终端难用而集体逃离 Windows 转向 macOS,微软失去的不仅是桌面市场,更是通往 Azure 云和整个开发者生态的入口。既然打不过,那就直接把 Linux 塞进 Windows 里——管理 Windows 生态继续用 PowerShell,日常写代码跑服务直接进 WSL。
最终的结局极具讽刺意味,却又无比真实:就连微软自家的 Azure 云平台上,Linux 的用量早在 2019 年就已经超过了 Windows。
至此,微软彻底放弃了“用 Windows Server 干翻 Linux”的执念,直接转向全面拥抱 Linux:把 .NET 重写并开源让它能原生跑在 Linux 上,把自家的摇钱树 SQL Server 移植到了 Linux,甚至把 PowerShell 也变成了跨平台开源工具。
回头看,从 Jeffrey Snover 试图用 Monad 拯救 Windows Server,到萨提亚·纳德拉亲手终结“Windows 中心主义”,PowerShell 其实圆满完成了它 2002 年立项时的使命。它只是生在一个旧时代,最后在云原生和开源的浪潮里,和微软一起学会了低头与妥协。
LuisM retweeted
A Míriam González le dolía mucho la espalda, pero ningún médico le pedía una resonancia, así que decidió pagársela ella.
Con solamente 33 años, el informe le habló de probables metástasis vertebrales.
Su tumor es rarísimo: tiene, como dice ella, dos carnés de identidad. Una parte se comporta como un cáncer de mama hormonal, que tiene guías y fármacos conocidos, pero la otra tiene rasgos de lo que se llama neuroendocrinos, y para esa parte no hay un camino establecido.
Dos años después, cuando la enfermedad avanzó, Míriam se sentó con Claude y armó Polaris: un sistema de más de 30 agentes de inteligencia artificial que leen papers, rastrean ensayos clínicos, convierten sus tomografías en un mapa 3D y le preparan las preguntas para cada consulta.
Además, publicó su caso en abierto y, gracias a eso, una investigadora de Boston se ofreció a analizarle el tejido. Con el mapa 3D eligió qué lesión biopsiar, el laboratorio de Boston mejoró el protocolo que había redactado con Polaris y, en julio, en Zúrich, le pudieron sacar tumor vivo.
Ya tiene más de 20.000 células leídas y busca crear una vacuna personalizada. Todavía le falta un fabricante, una vía legal para que le apliquen algo que no existe para nadie más, y mucho más dinero que los 100.000 euros que lleva recibidos en donaciones.
Polaris es también el nombre de la estrella que usaban los navegantes para orientarse. Les marcaba el norte, pero el timón lo seguían teniendo ellos.
LuisM retweeted
Exactly what I’ve been saying. Some of us dedicated time and energy to making this our craft.. and are rightfully upset that a large part of it is automated now.
One of the saddest parts about the tech industry right now is that I know several very passionate, experienced and talented engineers who started coding as kids and just love their jobs.
They are now complaining that they’ve effectively become AI babysitters, and are growing ever more frustrated with the work and the industry as a whole. A few are even talking about quitting tech altogether.
LuisM retweeted
One of the saddest parts about the tech industry right now is that I know several very passionate, experienced and talented engineers who started coding as kids and just love their jobs.
They are now complaining that they’ve effectively become AI babysitters, and are growing ever more frustrated with the work and the industry as a whole. A few are even talking about quitting tech altogether.
LuisM retweeted
Usar el tema claro en el editor de código es mejor y te explicó por qué skatox.com/blog/2022/08/15/u…
LuisM retweeted
I had a professor in college who used to get on our case for using an IDE. According to her, back then, writing code in Notepad was real coding.
I was in college from 1999 to 2002, and she taught C. An absurdly good professional. Her class, not so much. But at some point we figured out that if we went to her desk after class with questions, the one-on-one explanation was fantastic. She had a PhD from MIT and was a researcher at IPT, a technology research institute here in São Paulo.
Why bring this up? Her behavior has a lot to do with the abstraction layers we've added to programming over the decades. And today we're in a new layer where I didn't just abstract the tool I use to write code. I abstracted who writes the code. You and I use agents to write code for us.
And across the decades, with every new layer, people from the previous layer often look and say: that's not programming. Because programming is the way I program. It's natural. Your first reaction is: that's not what I do, what I do is harder, more advanced.
I'm telling you this so I don't make that mistake myself. Today, a lot more mature, I understand what she was saying back then, and I think she was right. I don't know how her career went, or if she ended up using an IDE. The point is that software engineering goes way beyond whatever abstraction layer we're dealing with. Layers get added, and we don't stop being software engineers. We need to do our job with the tools available in the area we work in.
LuisM retweeted
Muchos días la memoria muscular me hace abrir el vscode sin querer y se me parte el corazón. 💔
LuisM retweeted
No me canso de decirlo:
A los programadores nos han arrancado de cuajo nuestra identidad de la noche a la mañana.
Que sí, que soy el primero en usar Codex o Claude Code.
Que sí, que shippear features a toda hostia, con las que antes ni soñabas, es dopamina por un tubo.
El problema no es el avance en sí, toda profesión evoluciona con el tiempo.
Pero es que en cuestión de 18 meses, todo lo que habías aprendido durante años, miles de horas de práctica, cientos de horas de estudio dentro y fuera del trabajo, se han esfumado.
Ya dan igual las discusiones sobre patrones de diseño.
Ya dan igual los libros de Uncle Bob.
Ya dan igual las noticias con las novedades en Swift.
Ya dan igual las horas debuggeando o resolviendo un problema que acababan en ese aha moment.
Hasta nos divertíamos cambiando el tema de colores del código.
Ya hace muchos meses que no toco una sola línea a mano, así que ya ni eso nos queda.
Nos hemos quedado sin identidad.
Como decimos en Galicia: A chorar a Cangas (supongo)
No había visto el impacto psicológico que puede tener la IA en los trabajadores hasta anoche, hablando con un amigo.
Un tío muy inteligente que en los últimos años había virado hacia la programación (desde el mundo del VFX) se encuentra con que el trabajo de meses lo ha sacado adelante otra persona del equipo en un día, reemplazando su trabajo previo.
La sensación de sentirse obsoleto de golpe lo dejó tiritando. No es solo el miedo a perder el trabajo, sino el sentir que años de esfuerzo por aprender se han ido por el retrete.
Y como guinda del pastel, perder algo que tanto placer intelectual le daba como programar.
Se me ha quedado el pobre hombre más vacío que una cáscara de pipa.
LuisM retweeted
Stop calling yourself a Java Developer
You are not a Java Developer, you are a problem solver
You just use Java as a tool
One tool in the box of many
Yes, you're probably mostly skilled in that tool first
But that's not all you can do or learn
This is something you know and work with now
But tomorrow, you can do or learn anything else
Be versatile and open-minded
There is no limit for you
Stop identifying with your job title! It’s a trap that will keep your poor
You aren’t a data engineer or a product manager.
You’re a human capable of adapting and learning so much.
When I was working at Airbnb, they were like, you’re one of the best data engineers, Zach. We want you to become a principal data engineer!
The glory of being a principal engineer in big tech. Wow!
And I drank the Koolaid fully from 2016 to 2023. But so much sugar ultimately made my stomach sick and I realized my life was more than SQL, Scala, Spark and Airflow.
I irrationally left a $600k data engineering job for a $0 content creator business.
I was destined to be an internet clown and educator.
I traded SQL for shitposting.
I traded Spark for sales.
I traded Scala for scaling my business.
I traded Airflow for art.
And now this absolutely absurd decision in 2023 is looking better and better as technical skills continue to get undermined by AI.
Give yourself to reinvent yourself!
Give yourself permission to change jobs!
You’re a multi potential human
Intelligence is the ability to adapt to change!
LuisM retweeted
Los romanos tenían una palabra para lo que hoy casi hemos olvidado: otium.
No era vaguear. Era apartarse del ruido diario para dedicarse a lo que de verdad alimenta: conversar, escribir y pensar.
Y lo más curioso: el trabajo se definía por oposición a él. Negotium = nec otium (“no-ocio”).
Para ellos, el negocio era la interrupción. El otium era la vida.
LuisM retweeted
Si te apetece aprender a cacharrear con la electrónica y empezar a hacer tus propios proyectos, puedes comenzar por aquí… Más de 400 páginas de teoría y práctica desde cero hasta proyectos #iot avanzados.
Link de pedidos: amzn.eu/d/0an4tfmB
#electronica #arduino #sensores #esp32 #reparacion #kits #maker
Cualquier duda manda MD 😉
LuisM retweeted
You should be fascinated hitting the power button on your computer.
Every boot on an x86 machine iterates through the entire sequence of computing evolution in a few milliseconds:
Stage 1:
16-bit Real Mode, acts like an 8086 from ~1978. 500ns (ish); about 15-30 instructions. Goal of this stage is to create a writeable stack+heap.
Stage 2:
32-bit Protected Mode, acts like a 386 from ~1985. Tens of millions of instructions; takes forever on DDR5 /w memory training. Temporarily uses L2/L3 “cache-as-ram” to kickstart main ram (Intel calls this NEM).
Stage 3:
64-bit Long Mode, acts like AMD64 from ~2003. Hundreds of millions of instructions; enumerate pcie devices, gpu, bootloader, etc.
Stage 4+:
Secondary core wakeup. Every *single* core has to go through the same process, but by this point it’s faster because Main RAM is warmed up.
Stage 2 is just so neat man. Quite literally the same concept as an APU/cart start. Use the smaller motor (L2/L3) to kickstart the main turbine (Main Ram) and execute the training process.
Is that not just the coolest thing? Next time I’m annoyed waiting at the DDR5 training process, I’m going to imagine it’s spinning up SR71 turbines.






























