DsuineGP's recent timeline updates
DsuineGP

DsuineGP

空栈工程师
🏢  后端工程师(Rust/Java)
V2EX member #224963, joined on 2017-04-08 14:39:12 +08:00
Per DsuineGP's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
DsuineGP's recent replies
理论上是相同的, Transformer 架构的老本行就是机器翻译
May 18
Replied to a topic by imherer 程序员 bun 真的用 rust 重写了啊
@rammiah #20 逐行翻译的, zig 版本是啥样翻译成 rust 就是啥样. 前期快速翻译过来, 后期重构时这些 unsafe 代码块就几乎等于 // FIXME 了

```zig
extern fn WTF__base64URLEncode(input: [*]const u8, input_len: usize, output: [*]u8, output_len: usize) usize;
pub fn encodeURLSafe(dest: []u8, source: []const u8) usize {
bun.jsc.markBinding(@src());
return WTF__base64URLEncode(source.ptr, source.len, dest.ptr, dest.len);
}
```


真是草台班子, option+ 和 GHUB 的体验太糟糕了, 体积还大
太恶心了, 政府机关强制使用第三方的专有闭源格式, 导致用户丧失选择权; ooxml 再怎么烂也是开源格式, 比 wps 好得不知道哪去.
太棒了, 做了我一直想做而没时间做的事情
Jan 8, 2025
Replied to a topic by chengz1 问与答 是什么导致了 word 文档的卡顿?
与格式有关, 格式越复杂性能越差
建议将纯文本拷贝到新的 word 中, 再用主题统一设置样式, 尽量避免设置单个或者部分文本的样式
推荐你买 PS5, 我买的 XSX, 之前主要是看 XGP 便宜大碗, 现在 XGP 涨价, 还有部分游戏(说的就是黑猴) XBOX 独不占, 很搞心态
Dec 4, 2024
Replied to a topic by NokiaForever Windows Windows on Arm 流畅使用 Android Studio 方法
按道理来说可以直接在 hyper-v 里面装安卓吧, 反正都是 aarch64 架构的
Nov 1, 2024
Replied to a topic by molvqingtai 程序员 如何实现分布式消息同步?
TL;DR 用 CRDT 算法

原因:
- 常用的 raft 算法无法容忍脑裂, 即 A-B / C-D 上线然后还要实现日志同步, 即使要解决脑裂也要用非常扭曲的方法;
- CTDT 是 p2p base 的分布式一致性算法, 且你的业务场景比较简单, 只需要需要处理 retain+insert 的场景, 不涉及到 remove;
- https://github.com/vlcn-io/cr-sqlite 这个用 crdt 做 sqllite 代理的项目应该比较适合你的业务场景
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3008 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 03:11 · PVG 11:11 · LAX 20:11 · JFK 23:11
♥ Do have faith in what you're doing.