MoYi123 最近的时间轴更新
MoYi123's repos on GitHub
Python · 9 人关注
mmooyyii
my note
Erlang · 4 人关注
trueskill
Erlang implementation of classic TrueSkill and TrueSkill2
Erlang · 3 人关注
emoji
a emoji dictionary for erlang
Go · 1 人关注
fst
Finite State Transducer
Erlang · 1 人关注
recordis
erlang redis orm
0 人关注
aho-corasick
aho corasick algorithm
Go · 0 人关注
excel_oj
Excel 在线测试平台(大家一起来内卷)
Erlang · 0 人关注
fibheap
Fibonacci heap for erlang
C · 0 人关注
pg_plugin_demo
Go · 0 人关注
practise_db
练习用数据库
Erlang · 0 人关注
ra
A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Erlang · 0 人关注
recon
Collection of functions and scripts to debug Erlang in production.
C · 0 人关注
streamvbyte
Fast integer compression in C using the StreamVByte codec
0 人关注
trueskill-1
Python implementation of TrueSkill player ranking
Go · 0 人关注
WritingAnInterpreterInGo
Writing An Interpreter In Go
Erlang · 0 人关注
x
0 人关注
zheap
new heap with in-place update, powered by undo, for eventual integration into PostgreSQL
MoYi123

MoYi123

V2EX 第 469223 号会员,加入于 2020-02-14 14:02:50 +08:00
MoYi123 最近回复了
看下这个 https://github.com/digoal/blog/blob/master/201611/20161114_01.md
应该用图论 G= (V,E) 的方式来存, 而不是存一个坐标.
8 天前
回复了 zhao8681286 创建的主题 程序员 你是开发,你看到这个需求会咋办?
不管是写个界面还是搞个 json 配置, 关键是要把任务甩给运营, 这样就算他配错价格了, 也不是你的锅.
1. 化简有未知数的表达式, 可以用 https://github.com/Z3Prover/z3 这种库.
2. 你需要把表达式编译成代码, 把 js 的 jit 利用起来, 有了 jit, 是不是优化表达式就关系不大了. 不过我不懂 js, 不知道该怎么做.
postgresql 可以 update returning, mysql 好像只能开事务或者写存储过程.
@nenseso 成功率还能这么算的? 你是在用纯 udp 协议吗?
专门为你的页面写个接口是没道理的.
可以让后端提供一个能一次性查询多个接口的方法.
大概下面那样.
req
{"data": [{"uri": "get_user", "body": {}}, {"uri": "get_time", "body"}]}
resp
{"data": [{"uri": "get_user", "resp": {"id": "12313"}}, {"uri": "get_time", "resp": "2024-4-29"}]}
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2291 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 01:40 · PVG 09:40 · LAX 18:40 · JFK 21:40
Developed with CodeLauncher
♥ Do have faith in what you're doing.