_Kerman

180 posts

_Kerman banner
_Kerman

_Kerman

@KermanX_

Open Source Dev | Undergrad | @ustclug | @slidevjs Team Creator of JsShaker - state-of-the-art JS bundle optimizer

Katılım Mart 2024
202 Takip Edilen460 Takipçiler
dvd@dvd.chat
[email protected]@ddvd233·
试着用了一下 antfu 做的 Slidev,用 markdown 做 slides 还是很有趣的 好处在于定制 template 很方便,加动画也可以一键生成,或许很适合熟悉 vue 的人 不过对于我这种不熟悉 web 开发的人来说,用 css / html 做排版还是会有点困难,导出为 ppt 的方式是截屏这一点也是比较简单粗暴,后续在其他地方用就没办法修改了x 不过以这种方式用 AI 生成 slides 确实是个好思路,或许之后会试试生成 latex beamer?毕竟最近 latex 还是更熟悉一些
dvd@dvd.chat tweet media
中文
10
0
60
7.5K
_Kerman
_Kerman@KermanX_·
@ddvd233 关于导出 PPT,好像也没有更好的办法 (?)
中文
0
0
0
22
Clef
Clef@clef114514·
@ddvd233 使用slidev的体验belike:如果我们能发明一种图形化的,点点鼠标就能加动画排格式的软件就好了🤓👆🏻
中文
2
0
3
265
_Kerman retweetledi
Yoshiki Sato
Yoshiki Sato@phys_yoshiki·
これを超える人は知らない。
Yoshiki Sato tweet media
日本語
22
1.8K
15.2K
1.1M
_Kerman
_Kerman@KermanX_·
@FlowerCake2009 我最近有点忙诶 非常欢迎PR哦,README里有写怎么从手机QQ里获取表情包图片ww
中文
0
0
0
17
Guandong Wang
Guandong Wang@FlowerCake2009·
@KermanX_ 可以添加新的表情包进去吗 suzume的表情包更新了好多
中文
1
0
1
19
_Kerman
_Kerman@KermanX_·
#撕梓咩
_Kerman tweet media
QME
3
3
34
1.5K
_Kerman
_Kerman@KermanX_·
@blackanger 然而为什么是“Rust”的 arena(
中文
1
0
0
1.5K
Geek Lite
Geek Lite@QingQ77·
一个原生运行在浏览器中的类 Linux 操作系统。不是虚拟机,不是模拟器——而是对 Unix 的重新构想:浏览器运行时即内核,浏览器 API 即系统调用。 Lifo 这个项目挺有意思的——它在浏览器里跑了一个类 POSIX 环境。虚拟文件系统、Shell、六十多条 Unix 命令,甚至还有 Node.js兼容层。全都在浏览器沙箱里跑。 你可以把它理解成一个概念验证:Web Assembly 已经证明了浏览器能跑 C 和 Rust,Lifo 想进一步证明的是,浏览器本身就能当操作系统用。 github.com/lifo-sh/lifo
Geek Lite tweet media
中文
7
17
83
11.3K
宝玉
宝玉@dotey·
想象一个场景,比如你是一个购物网站或者订票网站,你支持了 MCP,Agent 操作起来效率很高,你的竞争对手不支持,很快 Agent 用你的产品会更多,你的竞争对手就会被迫跟进。 未来 Agent 就是这些网站、Apps 的最重要用户,也是增长来源。
赖叔 | LaiShu.ai@hiheimu

@dotey 有点没想出来哪些站点愿意用这个 mcp 等于将自己暴露给 agent 来操作? 既然反抗不了,干脆闭眼享受? 有佬开开智?

中文
25
8
100
42.2K
_Kerman
_Kerman@KermanX_·
We evaluated JsShaker on 12 real-world JavaScript libraries. *CC refers to Google Closure Compiler in Simple mode and Advanced mode
_Kerman tweet media
English
0
0
7
273
Yuu💖
Yuu💖@QuantumTransf·
让我想起了当年打 oi 的时候一堆人为了 hack 评测机,往代码里加入神秘拼接字符串(比如说加 #pragma 和指令集,或者单纯只是想打爆评测机( 静态分析真是有失有得啊.png
Yuu💖 tweet media
中文
3
0
32
4K
HYF
HYF@_hyf0_cn·
@hylarucoder @MiniMax_AI > 从 slidev 项目里面把 skill 拷贝到 .opencode/skills/ 下面 这个听着太麻烦了,直接 npx skills add 好一点。或者 bun create slidev 应该自带 skills 安装🧐
中文
2
0
1
1K
海拉鲁编程客
海拉鲁编程客@hylarucoder·
推荐个好用的 skill - Antfu 佬的 slidev skill 1. 执行 bun create slidev 创建项目 我这里叫 ts-demo 2. 从 slidev 项目里面把 skill 拷贝到 .opencode/skills/ 下面. 3. 进入项目, 打开 opencode , 切换你熟悉的模型, 这里我使用的是 @MiniMax_AI 的 M2.1, 输入 「用 Slidev skills 做一个 TypeScript 泛型的 PPT,里面要带上代码例子」, 回车 紧接着,一份排版精美且兼具代码表现力的技术类 PPT 就出来了.
中文
6
16
170
21K
VoidZero
VoidZero@voidzerodev·
Who doesn't like less code in the final bundle? @rolldown_rs can remove a lot of different globals when they are side-effect free (and unused). More than any other bundler right now, including Rollup! And that's not the end, more tree-shaking improvements are on the way.
VoidZero tweet media
English
2
10
136
14.9K
David Gu
David Gu@davidgu·
Why this actually happens, from reading Chromium's source code: 1. The implementation of setTimeout creates a DOMTimer 2. The DOMTimer accepts interval as an integer, which underflows 3. The std::max(1ms, interval) returns 1ms because interval is underflowed negative
David Gu tweet media
David Gu@davidgu

peak javascript moment: if you call setInterval with a timeout greater than INT_MAX, instead of throwing an error (the sane thing to do), setInterval will silently execute your callback **every millisecond**

English
14
13
285
44.6K
_Kerman
_Kerman@KermanX_·
@davidgu In fact, the standard explicitly states that intervals should be cast to int32 type: #windoworworkerglobalscope-mixin:dom-setinterval" target="_blank" rel="nofollow noopener">html.spec.whatwg.org/multipage/weba…
English
1
0
3
1.2K
David Gu
David Gu@davidgu·
peak javascript moment: if you call setInterval with a timeout greater than INT_MAX, instead of throwing an error (the sane thing to do), setInterval will silently execute your callback **every millisecond**
English
83
71
2.9K
392.1K