FromJavaToHaskell (@to_haskell) profile picture

Software developer. I am learning Haskell and other functional programming languages. Interested in writing performant bug free code. I mostly reply to tweets.

Joined November 2018
Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)Photo by FromJavaToHaskell (@to_haskell)
FromJavaToHaskell retweeted
I've long wanted to make the Dependent Haskell Roadmap easier to read, and it's finally done. ghc.serokell.io/dh
2
11
1
82
2,743
FromJavaToHaskell retweeted
#MaixStation at full load draws less power than DGX Spark at idle! Same Qwen 27B, similar prefill & decode speed, 1/6 the power~ Full comparison chart here. Let's end the DGX Spark monopoly on Local AI! sipeed.com/maixstation/
33
18
9
203
13,676
FromJavaToHaskell retweeted
Cryptography Incident Review Group cirg.org/
818
1,463
1,685
11,523
7,026,255
FromJavaToHaskell retweeted
good news: Dependent Haskell is now available! bad news: it's all vibe coded to showcase it, I've ported PLFA to dependent Haskell, included some realworld examples etc. it even has a WASM playground, so you can start playing around with it right away! find the link below!
19
49
10
267
23,003
FromJavaToHaskell retweeted
We are open-sourcing arm64-hol (BSD-3-Clause): our executable specification of user-mode 64-bit Arm (A64) in the HOL4 theorem prover, together with its hardware and decoder conformance suite. github.com/SequentAI/arm64-h…
5
18
3
149
17,929
FromJavaToHaskell retweeted
🔊 Big Strata Update! 😳 This is a major local AI update. Special "Inkling 2 Mini" support for 12GB, 16GB, 24GB GPUs. This time it's not just making Qwen3.8-Flash-Next faster ... Niko Veit just released Strata 0.2.19 with native support for Thinking Machines' new Inkling 2 Mini. 👈👀 Look at the reported performance on 1x RTX 5090. 🚀 PP → 11,306 tps 🚀 Single-request gen → up to 250.3 tps 🚀 Aggregate output → 4,089.7 tps across 64 concurrent requests Remember that's total throughput across 64 requests, not a single user's generation speed. Strata also released 3x custom quants for Inkling 2 Mini. 💾 SQ-10 → 10.47GB, targets 12GB GPUs 💾 SQ-15 → 14.35GB, targets 16GB GPUs 💾 SQ-20 → 19.35GB, targets 24GB GPUs The developer reports this performance 🎮 RTX 5070 Ti 16GB → up to 155.5 tps 🎮 RTX 5070 12GB → up to 101.4 tps 🍎 Apple M5 Max → up to 114.5 tps 🔴 AMD R9700 → up to 106.5 tps 🟢 DGX Spark → up to 74.3 tps 🟠 Strix Halo → up to 48 tps Existing Qwen3.8-Flash-Next users get performance improvements too. Reported decode gains: 🔥 RTX 5090 Q4 → +36–46% 🔥 RTX 4090 Q4 → +47–59% 🔥 RTX 3090 → +13–20% 🔥 AMD RX 7900 XT → +17–22% The release also includes ... (this guys is on fire) ✅ NVIDIA, AMD, Intel Arc and Apple Silicon support ✅ Native vision support for Inkling 2 Mini ✅ Built-in speculative decoding ✅ Dual-GPU expert parallelism ✅ Windows, Linux and macOS ✅ Free, open-source Strata engine Note that the smaller SQ-10 pack has 92.35% next-token agreement with the original model on the developer's tests, while SQ-20 achieved 100%. Anyone running Strata 0.2.19 yet? Links in ALT.
32
24
5
297
31,586
FromJavaToHaskell retweeted
从 11 月 3 日起,你在 Claude 里生成的每一段文字,哪怕只是让它帮你润色一下简历或改几个语法错误,都会被悄悄打上隐形文本水印。 这条消息在 r/ClaudeAI 引发了 5,537 赞、1,528 条评论的激烈抗议。从 Anthropic 官方支持文档扒出来的四个核心事实: 1. 全系覆盖、付费也无法关闭 隐形文本水印已正式扩展至 Mythos 5、Opus 4.7、Opus 4.6 与 Sonnet 4.6(8 月以后发布的所有模型均已默认内置),全球生效,不仅限于欧盟,且 Pro/Max 付费订阅用户没有任何 Opt-out 开关。 2. 只要 Claude 碰过就算数 Anthropic 官方帮助页亲口承认:检测到水印并不代表整段内容都是 AI 写的,只要你把自己的手写初稿丢给 Claude 做语法润色、翻译或排版,输出的文本就会带上相同的统计水印标记。 3. 裁判有检测器,唯独付费用户自己不能查 水印检测工具目前仅对监管机构、媒体、学术机构、教育组织和合规企业开放私有预览。被审视的普通用户,反而没有任何官方工具能自查文本是否被标记。 4. 防君子不防小人 文本水印本质上嵌在选词概率分布里。真正的黑产和垃圾内容农场只需要把输出丢给任意本地开源模型跑一遍重述(Rephrase),水印瞬间洗白;真正背锅的,是拿 Claude 润色英文邮件和简历的母语非英语者。 原帖:reddit.com/r/ClaudeAI/commen…
4
3
1
37
4,163
FromJavaToHaskell retweeted
Binary Ninja 核心开发者 Xusheng Li 最近让 AI Agent 帮他扫描 Windows 11 最新系统二进制文件里的未公开特性,结果戏剧性的一幕发生了:AI 在系统底层抓到了一个专门监控开发者“到底在用哪家 AI 写代码”的隐藏遥测模块。 这个模块叫 MissionControlAggregator․dll(由 Windows 诊断服务 DiagTrack 拉起的 AggregatorHost․exe 加载),背后的特性开关名字非常直白:CLICodingAgentUsage(Feature ID 62580080)。 逆向出来的代码显示,它通过 ReportCohorts<12,4,5> 维护了三组位图槽位:除了 12 类常规开发工具(Python、Node、.NET、GCC、VS Code 等),专门给 AI 编程工具开了 4 个 CLI 槽位 和 5 个桌面端槽位: • 4 个 CLI Agent:copilot․exe、claude․exe、codex․exe、agy․exe(Google Antigravity) • 5 个桌面端 Agent:github․exe、claude․exe、codex․exe、cursor․exe、antigravity․exe 更绝的是,躲进 WSL 也没用。它不仅订阅了 Windows 原生的进程与窗口交互事件(KernelProcess.AppStateChangeSummary),还直接监听了 Microsoft.Windows.Lxss.Manager.Exec,顺着 imageName 把 Linux 子系统里跑的无后缀 claude、codex、agy 一并算进去。 几个值得玩味的工程细节: 1. 判定非常草率,纯看文件名:微软在识别 Python、Node․js 和 VS 时还会校验数字签名发布者(比如验证 Python Software Foundation),但到了 AI 编程工具这里连签名都不验,直接裸比对宽字符文件名。作者把系统自带的 cmd․exe 复制改名为 codex․exe 双击运行,本地状态文件立刻把第 2 号槽位置位,生成了 CliAgentSubCohorts: [4](即 1 << 2)的上报记录。 2. 不偷代码,纯摸底竞品市占率:它没有抓取任何 Prompt 或源码,甚至把底层事件自带的运行耗时、窗口焦点时长全都丢弃了,只浓缩成一个纯布尔位图(Segments.SubCohorts),解包 EventStore․db 就能在 AsimovEvents 上传队列里看到。说白了,微软是在用操作系统的上帝视角给自己做竞品透视——精准摸底到底有多少开发者在 Windows 上抛弃了自家的 Copilot,转头去用 Claude Code、Codex、Cursor 和 Google 的 Antigravity。 3. 默认静默排队上传:这笔数据被归类为“可选诊断数据”(isRequired: false)。但作者实测用美区官方镜像装机,引导界面默认勾选的就是 Include Optional(AllowTelemetry = 3),只要装机时没手动关掉,这份 AI 工具点名册就会每天定时打包发回微软。 不想当微软竞品调研样本的,直接去 设置 → 隐私和安全性 → 诊断和反馈 关掉“发送可选诊断数据”,或者用 ViVeTool 把 62580080 这个 Feature ID 干掉。
18
99
6
496
32,055
FromJavaToHaskell retweeted
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 无端攻击你时,你怎么反应。你行动之前要想多久。你花游戏内的钱有多冲动。每一个选择都在喂养一个模型,企业正在付费查询这个模型,用来对真实的人做决定
4,531
37,656
4,490
213,922
11,174,595
FromJavaToHaskell retweeted
We seeded 2m canaries into popular AI services and tracked where they were stolen and abused. This identified: - Three compromised providers - Resellers stealing prompts via built-in logging - Providers ignoring ZDR & privacy flags dragos.com/blog/ai-supply-ch…
109
612
172
2,871
433,744
FromJavaToHaskell retweeted
几乎每一个刚从同步语言转写异步 Rust 的工程师,都踩过同一个隐蔽的深坑:在 async fn 里随手调了一个耗时几十毫秒的同步文件读写、BCrypt 密码哈希或者 std::thread::sleep,结果整个服务的并发尾延迟(P99)瞬间炸穿,连毫不相干的健康检查接口都开始大面积超时。 口头跟团队新人解释“不要阻塞协作式事件循环”总是很抽象,这周 r/learnrust 社区一位开发者直接搓了一个 Tokio 调度器单步可视化显微镜(Step-through Visualizer),把黑盒运行时的内部流转扒得明明白白。 在这个交互式沙盘里,Tokio 的多线程工作窃取(Work-Stealing)调度器被拆解成了可单步回放的慢动作:你可以亲眼看到每个异步 Task 是如何被推进 Worker 线程的本地队列(Local Queue)、如何在遇到 .await I/O 挂起点时毫秒级让出 CPU 槽位; 而一旦你在某个 Task 里注入一行同步阻塞调用,画面上对应的那个 Worker 线程就会像被点穴一样当场焊死——排在它本地队列后面的所有无辜任务全部陷入饥饿停滞,直到其他空闲线程触发跨队列窃取(Steal)才勉强救场。拿这个沙盘演示一遍,比看十篇异步原理长文都管用。
2
8
1
49
6,295
FromJavaToHaskell retweeted
玩本地大模型的人都知道稀疏混合专家模型(MoE)有一个极度拧巴的硬件悖论:在逐词生成的解码(Decode)阶段,因为每个 Token 只激活极少数专家,哪怕权重放在系统内存里也能跑得挺快;但一旦在开头喂入几千字的长提示词进入 预填充(Prefill)阶段,由于上下文中几乎所有专家(Experts)都会被同时唤醒,显存装不下的权重必须跨 PCIe 总线反复搬运,首字等待时间瞬间慢如幻灯片。 这周在 r/LocalLLaMA 引发高度关注的开源推理引擎 Betelgeuse,宣布正式攻克了这个困扰小显存玩家一年的 Out-of-Core MoE 预填充瓶颈。 作者展示了一套在平民级旧硬件上的实测数据:仅用一张 RTX 3060 12GB 显卡 配合 16GB 普通系统内存,去跑体积远超显存容量的 DeepSeek V4.1 Flash Q8_XL(1017) 高精度模型。 Betelgeuse 没有沿用传统按 Token 顺序触发专家加载的笨办法,而是通过按层批次重排专家调度与异步 DMA 流水线:在每一层内部,先将整批输入 Token 命中的所有专家归并去重,流式一次性过卡算完后再进入下一层,彻底消除了跨 PCIe 总线的重复权重抖动。最终在这张百元级 12GB 老卡上,硬生生跑出了 62 tok/s 的预填充速度与 19 tok/s 的解码速度!
21
37
3
414
32,849
FromJavaToHaskell retweeted
we're getting loops for dinner SenseNova-Loop-9B is on par with Qwen 3.8-27B with a looped-architecture and mHC
SenseTime's sensenova-loop-9b weights are now public on Hugging Face. • Open-weight model • Apache 2.0 license
24
40
15
880
45,794
FromJavaToHaskell retweeted
Today I learned ⊃∪∩∈ is a story about set theory.
162
1,650
127
19,897
588,350
FromJavaToHaskell retweeted
Qwen3.8-27B Goes From 82 to 381 Tokens/s on a Single RTX 3090 Qwen3.8-27B reportedly reached 381 tokens/s on a single RTX 3090 with 24GB VRAM. That’s roughly 4.6 times its original throughput, achieved without upgrading the GPU or changing the model. Developer TeksEdge achieved this through a series of inference optimisations involving Multi-Token Prediction (MTP), DFlash2, context lookup, prefix caching and faster verification. The interesting part is that the speedup didn’t come from one magical optimisation. It came from addressing several bottlenecks in the generation pipeline. How the Speed Improved TeksEdge reports the following progression: Standard decoding: 82 tokens/s Optimised MTP: 114 tokens/s DFlash2 + context lookup: 138 tokens/s Optimised lookup verification: 381 tokens/s The final jump is particularly interesting. It suggests that a significant amount of inference time can be recovered when the system reuses information and verifies multiple proposed tokens efficiently. Here’s how the individual techniques work. 1. Speculative Decoding Reduces Sequential Generation Most language models generate text autoregressively. They predict one token, feed it back into the model and then predict the next. This creates a sequential bottleneck because each generation step depends on the previous one. Speculative decoding attempts to reduce that overhead. A smaller drafting process proposes several future tokens, while the main model checks whether those predictions are correct. When multiple proposed tokens are accepted, the target model can advance several positions through a verification cycle rather than performing a separate generation step for every token. In this experiment, optimised MTP increased throughput from 82 to 114 tokens/s. Combining DFlash2 with context lookup pushed it further to 138 tokens/s. The acceptance rate is important here. More proposed tokens don’t guarantee more generated tokens. The target model must still verify them, and rejected proposals reduce the speed advantage. 2. Context Lookup Reuses Text Already Available This is one of the most interesting parts of the experiment. When a model is asked to reproduce or transform information already contained in its prompt, generating every token from scratch can be wasteful. Context lookup searches the existing input for matching sequences and proposes those tokens for verification. Instead of predicting an entire passage again, the inference engine can reuse matching text and ask the target model to verify it. TeksEdge reports lookup blocks of up to 16 tokens, with approximately 15 accepted tokens per block in its workflow. In a 25,000-token document reproduction test, throughput reportedly increased from around 260 to 382 tokens/s This approach is particularly useful for: Reproducing long documents Restructuring existing text Copying or transforming code Reusing information already present in the prompt However, it works best when the output overlaps significantly with the input. An open-ended conversation or a task requiring entirely new information offers fewer opportunities for context reuse 3. Prefix Caching Eliminates Repeated Computation Coding agents often send repeated instructions, tool definitions and repository context across multiple requests Without caching, the inference engine may repeatedly process large sections of an unchanged prompt Prefix caching addresses this by storing computations associated with previously processed prompt prefixes When a new request contains the same prefix, the engine can reuse the cached computation instead of starting from scratch TeksEdge reports reducing time to first token from 22.4 seconds to just 0.56 seconds That’s approximately a 40-fold reduction in initial waiting time For coding agents that repeatedly inspect files, call tools and submit follow-up requests, this can make a substantial difference 381 Tokens/s Isn’t Ordinary Chat Speed
11
19
4
157
34,964
FromJavaToHaskell retweeted
Qwen announces smaller Qwen4 models will be released soon! 🔥 Qwen4-27B will run on 16GB RAM setups.
📢 Meet Qwen4-Max, your new AI teammate for work, creativity, and discovery! Qwen4-Max is built on a new MoE architecture with native vision and a 1M-token context window. Highlights: - Outperforms Qwen3.8-Max with up to ~50% fewer tokens, while average cost per task drops over 60% in our internal evaluation. - Advances real-world productivity through greater proficiency with professional tools, stronger long-horizon execution, and higher-quality deliverables. - Handles real tasks, including 3D modeling, game development, manufacturing, finance, law, healthcare, and frontier scientific discovery. - $1.5/M tokens for input, $4.5/M tokens for output, and $0.075/M tokens for implicit caching — all lower than Qwen3.8-Max, with implicit caching down by 70%. The API is live on QwenCloud. You can also try Qwen4-Max on Qwen Studio, QwenWork and Qoder. Start building today! 🚀 - Blog: qwen.ai/blog?id=qwen4-max - API: qwencloud.com/models/qwen4-m… - Token Plan: qwencloud.com/pricing/token-… More to come! The open weights of smaller Qwen4 models will be released. Stay tuned. 👀
264
539
154
6,098
459,399
FromJavaToHaskell retweeted
If anyone needs to do accurate academic paper -> PDF parsing then I've released an experimental hybrid Nemotron/VLLM/PDF parser anil.recoil.org/notes/parsos… (I need this for a bazillion PDFs we have locally for)
1
5
42
1,347
Windows 11's MissionControlAggregator.dll seems to match process names of Cursor, Claude Code, Codex & more and report a usage bitmap via optional diagnostic data. No code or prompts, name-only matching, staged rollout. xusheng.dev/posts/windows-co…
微软也开始作妖了?! 安全研究员在 Windows 11 最新的系统动态链接库中,反编译出了令人震惊的硬编码名单:操作系统正在显式监听你是否运行了 Cursor、Claude Code、Codex 甚至是 Antigravity。 在 Binary Ninja 的反编译视口中,系统组件 MissionControlAggregator.dll 内部赫然写着一系列专有的可执行文件名比对逻辑。该模块由一个名为「CLICodingAgentUsage」(Feature ID: 62580080)的服务实验特性控制,在部分 Windows 11 测试版及 ARM64 设备上已被默认静默激活。 更绝的是它的监控覆盖面。针对 CLI 命令行工具,它硬编码比对了 copilot.exe、claude.exe、codex.exe 和 agy.exe;针对桌面图形客户端,它专门匹配了 cursor.exe、antigravity.exe 以及 github.exe。 不仅如此,由于现代开发者普遍在 WSL 虚拟机中写代码,该模块还专门订阅了微软 Linux 子系统事件(Microsoft.Windows.Lxss.Manager.Exec),通过抓取 imageName 字段,哪怕你在 WSL 的 Linux 终端里敲无后缀的 claude 或 codex,也同样会被精准捕获。 系统并不会上传你的提示词或代码正文,而是利用 ETW(Windows 事件追踪)将你使用过的 Agent 编码为紧凑的位图(Bitmap),封装进名为「Segments.SubCohorts」的遥测数据包中。 只要你没有手动把系统的诊断数据从默认的「可选诊断」彻底关闭,常驻后台的 DiagTrack 遥测服务就会通过子进程 AggregatorHost.exe 周期性地把你每天翻牌了哪些 AI 编码工具打包送回微软云端。 研究原文:xusheng.dev/posts/windows-co…
75