Ping Zhou
Ping Zhou
The "circuit_simulation" example expects an input "circuit_file", but there is no documentation about how to construct this file. Could you please add some document and/or samples for this?
The documentation site does not have much information about how to construct a circuit from acqdb: https://alibabaquantumlab.github.io/acqdp/ It will be very helpful if there could be some tutorials on creating...
在 Phase1() 中,按照协议 proposer 在遇到更高的 ballot number 时,即说明prepare失败,但代码里似乎仍会继续(continue): https://github.com/openacid/paxoskv/blob/f5e822f160b300102097db6d04b460495a7b596a/paxoskv/impl.go#L104 ```go for _, r := range replies { pretty.Logf("Proposer: handling Prepare reply: %s", r) if !p.Bal.GE(r.LastBal) { if r.LastBal.GE(&higherBal) { higherBal...
https://github.com/karpathy/ng-video-lecture/blob/52201428ed7b46804849dea0b3ccf0de9df1a5c3/bigram.py#L66 If I change the 2nd parameter (dimension of the embedding) to something different than `vocab_size` (e.g. 128), I got "index out of range error" in `generate()`. To replicate the...
你好,我看了你的abstract paxos文章,很有收获,感谢分享!有个疑问想请教一下: - 根据经典Paxos,在phase-1时,acceptor收到proposal后会返回它之前accept过的最大commit_index的值(以及相应的commit_index)。 - 因此在 “Phase-1.2 读已完成 commit 的 State” 这一步中,writer会读到commit_index比它小的其他已经被accept过的值。那么根据经典Paxos,writer在phase-2中不应该用自己的值,而是应该从收到的这些已经被accept过的值中,选commit_index最大的那个作为phase-2要发送的值。你的另一篇文章 [paxos直观解释](https://blog.openacid.com/algo/paxos/) 也提到过这一步,相当于执行了一次其他proposal的修复(slide-29)。 - 但是在 “Phase-1.2 读已完成 commit 的 State” 这一步中,writer执行的步骤是这样的: ``` 在最大 State 的基础上, 增加 w₁ 自己要写的内容. 最后进行...