🌐 Frontend Vimmer ⚒️Open Source with @typescript @vuejs and @rustlang 🚀 ast-grep.github.io is my hobby project

Announcing the book "𝑀𝑎𝑠𝑡𝑒𝑟𝑖𝑛𝑔 𝑎𝑠𝑡-𝑔𝑟𝑒𝑝"!🦉 The book is a structured deep-dive: we start with the mental models of ASTs, move to rule composition, and end with advanced usage. It’s the place where design principles and philosophy are explained. Link below ↓
6
7
80
14,748
68
2,022
18,016
824,344
83
1,456
7,736
553,722
Repeat after me. Good abstractions: ✅ Semigroup ✅ Monoid ✅ Monad ✅ Applicative ✅ Functor ✅ Profunctor Bad abstraction: ❌ Strategy ❌ Factory ❌ Builder ❌ Prototype ❌ Adapter ❌ Bridge ❌ Composite
43
277
3,510
251,327
Replying to @IroncladDev
My review response
7
22
1,554
67,940
【讣告】深感悲痛地宣布 @rebecca_hoshino 在不懈的努力和奋斗后,再次离我们而去。阿米娜以其坚韧不拔的发图,给我们留下了无数美好的回忆和启示。 我们将在心中永远珍藏你的梗图和段子。
58
39
782
504,799
C++之父谭浩强 Java之父马士兵 Linux之父蔡德明 Python之父廖雪峰 Go之父许士伟 JS之父阮一峰 Rust之父张汉东 CSS之父张鑫旭
123
69
728
292,337
Replying to @ChrisJBakke
bad angle?
24
36
726
66,980
你所热爱的就是你的生活
55
28
640
413,335
早上预约了会所嫩模 中午取消了预约 下午问问会所招男模的标准
29
35
637
162,890
Today I learned a powerful @typescript util type `Narrow<T>` that can cast argument `as const`
18
57
526
JavaScript: hold my beer 🍺
"A lemon is a hybrid cross between a citron and a bitter orange. Life never gave us lemons; we gave it to ourselves."
6
44
466
36,831
Replying to @VVFGV
lz多当心点,他还有两个兄弟姐妹,一个叫孙梅(Sun May)一个叫孙君(Sun Jun),我帮你都调查好了,多保重🙏
4
7
425
22,752
Tech X Today #TypeScript
22
57
435
99,019
我看有些人是没有大半夜撸管到一半被飞书加急到阳痿的经验
43
26
324
105,339
p10负责组局,p9 负责表演,p8负责合ppt,p7负责出ppt,p6负责出demo,外包负责干活 p11游泳烧烤
26
17
329
60,769
也别学啥 TS/Rust K8S,学会了 15k 滴水湖找工
32
16
300
93,818
抱歉,我刚才竟然update语句里面没加where,让我们重试一次
38
29
314
93,765
聊了几个老同事,发觉都找不到工作了😭
45
7
289
123,361
写码的都是贱民,开会的才是婆罗门
24
22
259
55,899
Rewriting @vuejs compiler in @rustlang . Preliminary benchmark shows the native version takes about 1/7 time compared to the one run inside a VM. ⬅️ left is @vue/compiler-core, right is Rusty rewrite ➡️
9
25
251
这个观点基本站不住脚。工程能力就是亮点。历史上Ilya/Alex搞的 AlexNet也没有比LeCun的CNN有革命性改变,但工程上用 GPU 计算,立下新范式打开了深度学习的可能性。 按照原贴逻辑AlexNet就没有多少价值了。 但如果 DeepSeek 也创下新范式,大厂跟进做低成本训练,那将对 $NVDA 的业绩有毁灭性打击
不要把deepseek拿去跟GPT做比较,是不可同日而语的东西 Hugging face上这种论文、垂直模型多如牛毛。市场关注亮点不过是中国在“没有”算力卡成本很低也能训练出效果差不多的模型。且说中国真没囤H100么? deepseek是个工程方法,大厂不屑于做,浪费精力做这个模型能力要落后对手 炒作背后很多利益,或许大家想表达禁令没啥用,推动打开禁令卖卡给中国?
33
14
255
100,003
梗图是这样的,阿米娜只要发就可以,可是观众要考虑的事情就很多了
3
1
229
15,905
Compiler/Transpiler debate again? It is clear Dan is a compiler taking Seb's tweet as input and human-readable blog as output.
5
26
238
33,604
Anthropic是美国唯一没有开源模型的 AI 公司,正和大海对岸的百度AI 如出一辙 “本以为自己早已离开原生职场,你却无时无刻不在复演那家公司留下的印痕”
22
9
232
31,416
OMG Shopify CEO retweeted ast-grep 😭😭😭
ast-grep fine tuning / RL should be part of every lab’s post training regime if they are serious about coding agents. Would be helpful to create evals for.
25
7
242
32,920
2024前端React最新面经: 1、请简述React Compiler原理 2、请简述AST、HIR、SSA的数据结构和作用 3、请列出三个React Compiler Pass并简述其作用
23
19
228
53,274
我早就说过,开源对国内找工作绝对不是加分项,可别被 jd 骗了 (我就偷摸的开源,project 都不挂在自己名下 v2ex.com/t/1171392?p=1
18
16
228
63,014
Now Vetur understands your custom @vuejs components! Completion and finding definition demo in @code. #vetur #vuejs #vscode #devtools
5
86
217
structural replacement is on the way....
7
17
213
24,498
This is valid JavaScript ゚ω゚ノ= /`m´)ノ ~┻━┻ //*´∇`*/ ['_']; o=(゚ー゚) =_=3; c=(゚Θ゚) =(゚ー゚)-(゚ー゚); (゚Д゚) =(゚Θ゚)= (o^_^o)/ (o^_^o);
4
54
196
22,092
Imagine how @vuejs syntax fits on @LynxJS_org
Replying to @TheAlexLichter
I do think @vuejs is a better fit for Lynx's dual threads architecture. <template> naturally fits in the main thread and <script> in background thread.
9
9
200
39,907
Replying to @skydotcs
hey man ever heard of ast-grep.github.io/ ?
7
4
183
19,807
$GOOG introduced new pipeline operator to SQL.
15
22
162
94,291
Replying to @passluo
神作
9
8
156
75,191
🤯🤯🤯 ast-grep mentioned in @OpenAI DevDay 🤯🤯🤯🤯
DevDay has been a blast. Great seeing everyone! My talk today was recorded and will be posted soon 🤞🏼
24
4
170
35,198
Nuxt 加入 Vercel
7
14
162
37,975
Replying to @Soon_Iter
儿子分数咋样? 儿子绩点咋样? 儿子实习咋样? 儿子绩效咋样?
4
2
152
8,965
You can do that in TS somehow as well
5
5
160
7,064
WASM is indeed.... slow. I tested the turing complete example from github.com/microsoft/TypeScr… TS Playground in JS: about 2 seconds TS WASM in Go: about 12 seconds
While I agree Go is the the pragmatic choice for a 1:1 port, my biggest concern is Go's relatively subpar WASM performance. As a data point, esbuild's WASM build performs quite poorly in web containers, even slower than js bundlers like Rollup. In the screenshot below, looks like a basic hello world type check with tsgo WASM takes more than 1 second. There are many legitimate use cases where we may need to run tsc in the browser - in-browser IDEs and playgrounds in particular. If tsgo WASM ends up performing poorly, or even worse than current tsc, does it mean we will have to stick to tsc-in-js for such use cases?
5
11
155
47,595
USE UV NO PIP
神人车牌😅
1
5
159
9,955
我以前自认为是一个宽容的人。 所有请求皆Post?当然行。错误代码放Body?没问题。 直到有天我看到创建实体的接口用GET,我才领悟到大爱无疆,大道无垠……
37
7
140
66,820
Structural Search in @code
4
17
149
21,094
Replying to @QipingP
哈哈哈加个哈比较客气哈
4
133
16,072
这个点你已经去Vue Conf了吧,那种我从来没去过的高级地方,领着我从来没领过的swag,和漂亮帅气的core team老师们集邮。我今天捡垃圾赚了点钱,刚好够sponsor你喜欢的contributor,早点回来 我先睡了
4
5
141
11,815
I do think @vuejs is a better fit for Lynx's dual threads architecture. <template> naturally fits in the main thread and <script> in the background thread.
Seems like a lot of people would like to see a @vuejs integration for Lynx 👀 github.com/lynx-family/lynx/…
7
4
139
18,700
互联网业务开发荣辱观 以写码为耻以开会为荣 以执行为耻以汇报为荣 以简明为耻以黑话为荣 以决策为耻以对齐为荣 以担责为耻以甩锅为荣 以改进为耻以开坑为荣 以规划为耻以变化为荣 以干活为耻以嫡系为荣
10
26
130
25,699
Replying to @hongkongdoll
太强了Onlyfans法律顾问
2
132
40,534
How OXC achieves Faster AST Transfer from Rust to JavaScript, in one chart
I just realized that OXC's AST transfer is similar to TC39's binary AST proposal github.com/tc39/proposal-bin…
4
16
132
30,376
是不是现在JS程序员连jQuery那种DOM遍历都不会了
85
4
122
88,168
Useful Prompt 你是大厂员工,需要给方案做审核。请把反馈改得更易被接受,委婉指出问题,语气卖萌,多用emoji。例: 原文: 这个方案可能在XX情景下会有YY的问题,可以改下。 修改: 同学这边是不是有点小误会呢,你看如果在XX情况下,YY是不是不能做了呀?想听听你的意见哈🌹[比心] 请重写: { ... }
11
12
119
40,952
“说!喜不喜欢爸爸的大加班?” “啊……想…想要” “是不是看到工位就想要BABA的大加班?” “请…求求你,鞭笞我……” “\啪/快做日报 \啪/快做PPT \啪/ 要不要吃3.25” “啊啊啊啊啊啊薪水流出来了啊啊啊啊啊啊啊啊”
14
12
124
38,685
Diffs for hydration error这个东西,它的业务价值是什么,在这个问题上你缺乏自己的思考和沉淀,能帮Vercel多卖机器Meta多卖广告吗? 你需要有体系化思考的能力。你的产出和PR前任Dan相比,是有些单薄的,马上要过年了,加把劲儿。后续,把你的思考沉淀到推特里,我希望看到你的思考,而不仅仅是进度。
13
6
119
55,209
React:正经人谁写CSS啊? Vue:是啊。 Solid:你写CSS吗? Angular:我不写,你写CSS吗? Svelte:谁能把UI写CSS里? Qwik:写出来的那能叫UI? 异口同声:(举杯)Tailwind。 piped.video/watch?v=buChHSds…
14
18
118
20,584
之后四年互联网岗位都会是寒冬
32
1
110
179,211
我真是服了领导大半夜十一点半问已经提离职得员工有没有空来个one-one这个脑回路到底是怎么想的觉得要滚蛋的人要陪他24小时干活拜托你没有性生活是你的事情我是要撸管的
17
111
52,358
Replying to @bboczeng
雀食
4
1
107
13,858
St. Antfu
5
3
114
10,919
早安帕鲁
3
10
106
18,834
你好,这是必应。我可以尝试帮你解释一下这个问答的意思。😊意思是说自己办了一个健身卡,结果头发掉光了。这个回答可能是想表达自己为了老婆而健身,但是却因为压力或者遗传而脱发,所以对老婆失望和寒心。这个回答也可能是在开玩笑,用夸张的方式来回答这个问题。
3
93
34,884
Replying to @Psychobuffout
他车里还蛮大的,可以先去超商
3
2
98
11,369
微软 $MSFT 唯二的 Python Core Dev 合影
6
3
108
12,059
Google高层: “地点重构”战略
19
14
101
92,780
10
7
98
45,875
Replying to @saltyAom
Dev Con and Comic Con should be combined to one
3
101
27,682
ast-grep just hit GitHub Trending—huge thanks to everyone for the incredible support on Twitter! If any AI lab is curious about fine-tuning or RL with ast-grep, I’d be thrilled to connect. DMs are open, and I’m genuinely excited to explore what we can collaborate on.
7
8
104
9,325
写 React 工资高是有道理的 useEffect 写挂后端的 skill issue 值这些钱
5
3
99
17,678
北京突降瓢泼大雨,几天都无暇喘息。市区各个角落无一幸免积水成河。可锦秋家园有群程序员,丝毫不畏惧这凶猛的雨势。个个抡起Mac打开牛客网,用笔记本接起雨水。一时间人与电脑合一,竟编出滴水不漏的防线,防止了雨水涌入。也不知是不是他们的行为感动了上天,雨竟然停了。接雨水一鸣惊人,全市得救
5
13
94
20,939
Replying to @LaurenceMister
技术走势是人类心理的宏观表现
4
91
29,143
How 🦋 performs under @aidenybai 's React Scan👀
5
4
97
24,691
Replying to @KumaTea0
野兽先生 ❌ 野兽先辈 ✅
1
1
95
5,844
前端之虎陈随易 React魔术师卡颂 Babel之光神光 葬送的TypeScript老宋 阿里之郎狼叔 每位大V的个性都太强了
我在想,大家在讨论前端领域的时候就很容易暴论,这是为啥啊🤔
24
9
94
49,640
“Rust 哪里难了,C++ 什么语言都是这么难的,不要睁着眼睛乱说。有时候找找自己的原因,这么多年智商涨没涨,有没有认真学习。”
4
11
94
15,365
React 是 21 世纪人类智慧的结晶。
23
3
87
27,604
Replying to @shengxj1
公司帮你安排了 8-10 点提升自己,你怎么还不跪谢🧎🏻
4
1
93
6,793
debug了两个小时最后发觉是JS里对象漏传一个key-value,但凡前人少写一个any就能省掉我两小时人生
15
1
89
30,757
跑两遍跑两遍
7
10
92
27,974
就是个段子,除了谭浩强写书质量有问题,其他博主质量还是很高的
5
1
86
17,303
Replying to @mattpocockuk
People saying they have library behavior that can't be expressed in TS either don't know enough about what TS is capable of, or are shipping some truly galaxy-brained API design that humans are unlikely to be able to understand
13
92
50,055
The @rustlang port of @vuejs compiler now prints almost similar output for SFC! (with option based API only though) github.com/HerringtonDarkhol…
3
7
91
21,577
It's New Tokyo-3 City's pizza hut after Nerv was shutdown financially due to the recent weak Japanese Yen.
2
2
86
3,976
I genuinely think panpiano's skill is improving these years.
78
7,362
提架构方案改进的是我,苦口婆心讲业务需求需要架构改动的也是我,会上被喷被拒绝改动的还是我,怒其不争自己爆肝改码的又是我。结果新代码写完头七还没过就用新架构谈业务的就不是我了?🤡🤡🤡您可真 无 嫡 了
15
1
89
48,603
其实,我对你的领导力是有一些失望的。当初加入你的团队,是高于你3-1的水平的。我是希望进来后,你能拼一把,快速成长成3-2的。3-1这层级,不是把领导服侍好就可以的。加把劲儿,你看别人xx去年带队,整年都在项目室打地铺。成长,一定是伴随着痛苦的,当你最痛苦的时候其实才是你成长最快的时候。🌱
14
5
88
38,146