Frei Zhang
3.5K posts

Frei Zhang
@ifree0
Binary Head/Human Compiler/Side Quest King
Katılım Temmuz 2009
1.2K Takip Edilen223 Takipçiler

@txyyss 那做symbolic regression就更简单了,只有一个op,还支持gradient based optimization,感觉有点强
中文

昨天晚上看到了这篇非常有趣的论文:所有的初等函数函数从加减乘除到正弦余弦开方乘方,乃至 1 以外的其他常数什么的,都可以用一个二元函数 eml(x,y)=exp(x)−ln(y) 和常数 1 定义出来:比如 ln(z) = eml(1,eml(eml(1,z),1))。
和逻辑门只需要 NAND 一样,在连续数学上这是个类似的美丽发现。
annie@_annieversary
what the Fuck arxiv.org/html/2603.2185…
中文

@goldengrape 睡不着 /facepalm , tts没调满意, elevenlabs_v3 的效果:poe.com/s/a8Z7TZcK2u4O…
中文
Frei Zhang retweetledi

@goldengrape @savigny1779 没问题,我也不怎么喜欢, 感觉可以试试 github.com/badlogic/pi-mo…, 或者 opencode sdk, 但这些我都没实践过不知道里面有多少坑
中文

@ifree0 @savigny1779 一是我特别不喜欢claude这家公司,能不用就尽量不用,二是我要做的应用在国内使用,全套claude api会很头疼
中文

docs.langchain.com/oss/python/lan…
langchain好像现在也能做skill了,不过我还没来得及仔细研究
goldengrape@goldengrape
请教,如果不用claude code/ antigravity这类东西,直接从代码写agent skill可行吗?有没有什么现成的python库?
中文

@goldengrape @savigny1779 直接用claude agent SDK, 我用它升级了我之前用mastra写的obsidian插件,基本啥也不用做就支持了文件读写, skill,command, 省很多事
中文

@savigny1779 很久以前写过langchain,特别扭,完全照它的demo写,没问题,稍微改一改的话,至少是当时,复杂度指数级攀升
中文
Frei Zhang retweetledi
Frei Zhang retweetledi

Just vibe-coded a GPU-native scripting language in one night: XScript. ECS-first, SIMT execution, GPU VM, GPU-side spawning. Concept proof only—no perf claims. Vibe-coding is no longer just a meme; it’s a surprisingly powerful way to get things done. #XScript:%20A%20One-Night%20Vibe%20Coding%20Surprise" target="_blank" rel="nofollow noopener">weakknight.github.io/#XScript:%20A%…

English
Frei Zhang retweetledi

The last 3 weeks have been a reminder of how important shipping is. I've pushed 10+ point releases, fixing bugs, adding support for multiple headsets, and just making the whole thing better thanks to real users (esp on Discord.)
JUST SHIP!
gfodor.id@gfodor
Today I'm releasing PortalVR 2.0, which lets you play the entire SteamVR ecosystem without wearing a headset. You plug in your Quest, put it on your desk, and play on your monitor. It supports 3D glasses and even 3D monitors! 😎 Get it now: portalvr.io Thread 🧵
English
Frei Zhang retweetledi

Over the holidays I tried something new — an audio companion to Graphics Programming Weekly.
It’s a more conversational way to keep up with the same ideas.
Happy New Year — give it a listen, and I’d love to hear your feedback!
youtube.com/watch?v=3vcLvb…

YouTube
English

Frei Zhang retweetledi

Today I'm releasing PortalVR 2.0, which lets you play the entire SteamVR ecosystem without wearing a headset. You plug in your Quest, put it on your desk, and play on your monitor.
It supports 3D glasses and even 3D monitors! 😎
Get it now: portalvr.io
Thread 🧵
English
Frei Zhang retweetledi

In engineering and art, geometry is often represented not as meshes or points, but as domain-specific structured *grammars*.
In this work led by @milin_k_ and @jackzzhang, we investigated how to optimize these grammars ML-style with SGD. 4 simple rules make a huge difference!
Jack Zhang@jackzzhang
Can we apply gradient descent to discrete changes? In our new #SIGGRAPHAsia paper, we show that gradient descent can work on shape grammars, as in CAD and procedural modeling, but only if the grammars are designed correctly!
English
Frei Zhang retweetledi

Shadows of The Shining
Exploring the latent space of The Shining is to approach the film as one approaches a memory.
Here, artificial intelligence acts as a second consciousness: it does not reproduce — it remembers. It reconstructs The Shining from its traces, its echoes, from what has survived the narrative.
The latent space becomes a mental territory, an inner Overlook where the ghosts of the image, the logic of dreams, and the mechanisms of visual memory unfold once again.
The aim is to turn the exploration of the latent space into a mnemonic experience of cinema itself.
English
Frei Zhang retweetledi

When I started working in python, I got lazy with “single assignment”, and I need to nudge myself about it.
You should strive to never reassign or update a variable outside of true iterative calculations in loops. Having all the intermediate calculations still available is helpful in the debugger, and it avoids problems where you move a block of code and it silently uses a version of the variable that wasn’t what it originally had.
In C/C++, making almost every variable const at initialization is good practice. I wish it was the default, and mutable was a keyword.
English
Frei Zhang retweetledi

If you have any days off left use them for Graphics Programming Conference 2025 in Breda, Netherlands!
It's high-tech, incredibly inspiring, great opportunity to learn about graphics and meet people that love it!
graphicsprogrammingconference.nl
English

@goldengrape @StarKnight 节奏光剑也是我健身的动力之一, 为它我换了几个vr设备都不满意, vive pro, quest3太重,vive xr elite需要pc,准备换个bigscreen beyond2
中文

@StarKnight * 含苯海拉明的无比滴,虽然夏天已经过去,但这是万能解痒药。不要买什么纯天然的,纯天然的蚊子包不可能被纯天然解决,不然早解决了。
* Quest 3s,并且买上节奏光剑、指挥、x fit健身(或者类似的),居然是有氧运动的动力
* 长臂显示器支架+升降桌(主要是足够重)+躺椅,这样可以半卧位用电脑
中文







