Kevin Kline (@kekline) header
Kevin Kline (@kekline) profile picture

Data & Analytics expert, "SQL in a Nutshell" & more, grandpa x5, dad x7, husband to 1, xNASA, xDoD, xDeloitte, xAWS, Microsoft MVP x18. Opinions are mine alone.

36.267321,-86.540306
Joined March 2009
Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)Photo by Kevin Kline (@kekline)
Kevin Kline retweeted
对于习惯了 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 年立项时的使命。它只是生在一个旧时代,最后在云原生和开源的浪潮里,和微软一起学会了低头与妥协。
64
211
33
1,450
230,710
Mal smo se pogovarjal o smislu življenja in IT-ju :)
Dajte prosim naredit malo prostora za legendo - @MladenPrajdic is on the stage! ;) #ogrodje w/ @NTkonferenca
4
4
30
969
Kevin Kline retweeted
Your server wasn’t slow, it was waiting. We fixed it with this paper dlvr.​it/TWWpCd
8
17
1,849
Kevin Kline retweeted
For five years, Clarence Thomas reported that his wife earned NOTHING. The Heritage Foundation had paid her $686,589. He called it a misunderstanding. 5,810 letters call it grounds for impeachment. Next: 6,000: actionnetwork.org/letters/te…
200
3,852
100
10,100
421,560
Kevin Kline retweeted
A pair of unsecured databases exposed sensitive information about hundreds of millions of people—including data that could let attackers “own” a victim’s digital life. buff.ly/b84WzMa
18
201
18
381
57,365
Lose every drop of hydraulic fluid in almost any modern fighter jet, and the airplane becomes a falling brick. You pull the ejection handles or you die. The A-10 Warthog had a backup plan so brutal that even seasoned pilots prayed they'd never have to use it. On April 7, 2003, over downtown Baghdad, 27-year-old Air Force Capt. Kim Campbell had a few seconds to find out if it actually worked. Minutes earlier, U.S. Army troops pinned down by RPG and rifle fire had radioed for help. Low clouds covered the city, so Campbell dropped below the weather into a hornet's nest of anti-aircraft guns. She needed to see the friendlies with her own eyes before she opened up with the 30mm GAU-8. Her gun runs shut down the fire on the ground. Then, as she pulled off her last pass, an Iraqi missile exploded at the tail of her jet. The cockpit lit up with warning lights. Shrapnel punched hundreds of holes in the rear fuselage, tore into an engine, and blew a huge hole through her horizontal tail. Both hydraulic systems bled out, the controls went dead, and the crippled Warthog rolled nose-down toward the rooftops of Baghdad. Ejecting over the middle of the city meant parachuting into enemy streets. It also meant other Americans would have to risk their lives fighting their way in to get her. Sitting in the A-10's titanium "bathtub," Campbell skipped the ejection handles and flipped one last-resort switch: Manual Reversion. The dead hydraulics dropped out, and her stick and pedals were now tied straight to steel cables and control tabs. With both hands on the stick, she dragged the nose up just above the city. For the next hour, she muscled 30,000 pounds of shot-up metal close to 300 miles south to a friendly base. She fought every bank and every gust by hand. Even Air Force procedure assumed a pilot in Manual Reversion would get over friendly territory and bail out rather than try to land. Campbell had no flaps, no speed brakes, and no nosewheel steering. She had to drop the gear with the emergency system, and she had only a few pumps of emergency brake pressure before the brakes were gone for good. She told her flight lead the jet was still controllable. Then she chose to land it herself. She came over the threshold far faster than any normal A-10 landing and put the wheels down right on the centerline. She held it straight with the rudders and saved every bit of brake pressure until the battered jet rolled to a stop. Years earlier, her squadron had given the young pilot a callsign made from her initials as a joke: "Killer Chick." Once she brought that mangled Warthog home on cables and a handful of brake pumps, nobody laughed at the name again. The Air Force awarded her the Distinguished Flying Cross.
71
429
30
5,005
297,137
Trump's normalization of corruption laid bare in this horrifying piece by a former federal prosecutor: 21,000 DOJ prosecutors gone. 23,000 cases dropped. 20 independent Inspectors General gone. 7,000 IRS agents gone. And this doesn't include the damage done by Vought, DOGE, and the other anarchists. 90% of Americans now believe we are a corrupt nation, and they are right. And Democrats should not assume they aren't part of the problem. It will take decades and a national movement like that started by Theodore Roosevelt 120 years ago to restore our national honor. nytimes.com/2026/11/27/opini…
30
574
32
924
23,615
Kevin Kline retweeted
We built “Cash Back,” a database of the tariff refunds reported by publicly traded companies. The database includes 343 public companies for which we found mentions of refunds in financial disclosures. Explore here: propublica.org/article/tarif…
4
75
2
116
10,835
Kevin Kline retweeted
Broadcom lost $191 billion in market value after a report said Google may cut TPU orders. Their chip agreement runs through 2031. dataconomy.com/2026/11/27/br…
1
1
169
Kevin Kline retweeted
Evaluating a platform that connects analytics, data science and AI under one universal governance model? Snowflake scored 4.23 out of 5 for the Unified Analytical Data Platform Use Case in the 2026 @Gartner_inc® Critical Capabilities for Data Lakehouse Platforms. Read the report: bit.ly/4zE55ll
2
4
12
1,802
Kevin Kline retweeted
Ngl, I work at WIRED and I still couldn't tell you what a Mac Studio actually does. But if you know what you're looking for, the M5 Max model is currently $2,299. Is that a good deal? Absolutely no idea. You tell me. wired.com/story/best-black-f…
3
3
1
12
5,176
Kevin Kline retweeted
Visual for kids to make better understand delayed gratification.
80
946
98
5,641
450,984
Dev's get frustrated with #PowerShell in a very different way that the sysadmin learning it. Let's dive into some of those frustrations with me in my latest post: Why developers hate PowerShell: powershellexplained.com/2026… How many of these caught you off guard? What did I miss?
1
11
32
1,469
Smart analysis from my favorite podcaster.
For those who keep asking me “what has Trump done that is prosecutable?” Here’s a list to start the investigation momentum. This isnt “Lawfare”, this is enough smoke to demand more of an investigation. If you DON’T investigate crap like this, what sort of a republic do you have?
2
258
Everyone in the tech industry should read this. It's a terrifying preview of what the entire software industry is doing.
Rockstar Games 周三解雇了我。第二天 GTA 6 就发售了 我是 Rockstar North 的高级引擎工程师,从事 RAGE 性能优化。三个月前,我在遥测模块里发现了一条本不该存在的数据管道,而且我能证明它流向了哪里 此刻每一份正在运行的 GTA 6 都在收集玩家的行为数据。这部分不算新闻。每款游戏都会收集遥测数据。隐私政策里写的是"用于改进未来产品的匿名游戏数据分析"。我发现的不是这个 遥测模块的数据会汇入 Take-Two 内部的一个系统,名为 Lens。Lens 并不会把匿名使用统计数据发送到 Rockstar 开发人员的数据看板。它为每一位玩家建立一份个人行为画像。不是匿名的。与你的主机账号、你的平台 ID、你的 IP 绑定 我在8月14日向我的技术主管报告了这件事。他说这是"用于玩家体验研究的扩展分析",让我别管这事。我要求提供数据处理协议。他说这是在 Take-Two 集团层面处理的,不在 Rockstar 的职责范围之内 我调取了 Lens 数据管道的完整文档。我发现的内容如下: 遥测的内容远远超出游戏时长和崩溃报告。Lens 以毫秒级精度记录每一次输入。按键时间点、摇杆动作、反应速度、PS5 自适应扳机上的扳机压力模式。它实时运行行为分析,并生成他们称之为"玩家行为签名"的东西 - 一份对每位玩家都独一无二的画像,就像指纹对每个人都独一无二一样 Lens 会从你的游戏过程中推导出:冲动控制评分、风险承受度指数、攻击性反应模式、耐心阈值、压力下的决策速度、消费冲动评级。这些不是调试指标。这些是心理行为类别 直到我找到了对外传输的管道,我才明白它们是用来做什么的 这些数据不会留在 Rockstar。也不会留在 Take-Two。Lens 通过内部 API 将行为画像传送给 Take-Two 旗下一家名为 Vantage Analytics 的子公司。Vantage 没有公开网站,没有新闻页面,没有招聘信息。它于2023年在特拉华州注册成立 Vantage 是一家行为 AI 公司。它用玩家画像训练预测模型,并把这些模型授权给商业客户。管道文档中包含一份不完整的客户清单。两家保险集团,一家信用风险建模公司,一个人力资源筛选平台,以及一家广告数据经纪商 你的 GTA 6 游戏过程此刻正在生成一份行为评分。没人追你的时候,你开得有多快。你会不会在红灯前停下。NPC 无端攻击你时,你怎么反应。你行动之前要想多久。你花游戏内的钱有多冲动。每一个选择都在喂养一个模型,企业正在付费查询这个模型,用来对真实的人做决定
2
374