makdon's recent timeline updates
makdon's repos on GitHub
Python · 46 watchers
we-work-bot
A lite framework for wechat work bot. 轻量级企业微信群聊机器人框架。
Python · 7 watchers
-QQ-bot
Python · 7 watchers
cnn-text-classification-tf-Chinese-py3
Convolutional Neural Network for Text Classification in Tensorflow-Chinese-supported
Python · 6 watchers
genshin-with-midi-input
use your midi keyboard to play with genshin windsong lyre
JavaScript · 4 watchers
calendar
A MERN based team calendar subsystem.
Python · 2 watchers
toy_calculator
A toy calculator used for learning compiler.
C++ · 1 watchers
-
Tetris-modified
0 watchers
awesome-go-storage
A curated list of awesome Go storage projects and libraries
0 watchers
cos-ftp-server-V5
腾讯云对象存储(COS-V5)的FTP Server
0 watchers
druid
Apache Druid: a high performance real-time analytics database.
C++ · 0 watchers
eet-usb-web
0 watchers
etcd
Distributed reliable key-value store for the most critical data of a distributed system
0 watchers
go
The Go programming language
0 watchers
grammes
A Go package built to communicate with Apache TinkerPop™ Graph computing framework using Gremlin; a graph traversal language used by graph databases such as JanusGraph®, MS Cosmos DB, AWS Neptune, and DataStax® Enterprise Graph.
Go · 0 watchers
grpc-gateway
gRPC to JSON proxy generator following the gRPC HTTP spec
0 watchers
grpc-go
The Go language implementation of gRPC. HTTP/2 based RPC
Go · 0 watchers
how_many_words_can_you_see_within_a_word
A word game resolver
JavaScript · 0 watchers
istanbul-lib-instrument-middleware
Connect middleware for server side code coverage using istanbul that supports es6
Jupyter Notebook · 0 watchers
ML2017-lab-01
线性回归、线性分类与梯度下降
Jupyter Notebook · 0 watchers
ML2017-lab-02
逻辑回归、线性分类和随机梯度下降
Python · 0 watchers
ML2017-lab-03
Go · 0 watchers
mock
GoMock is a mocking framework for the Go programming language.
EJS · 0 watchers
personal_hexo_blog
blog imgrated frome wordpress
0 watchers
redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
C · 0 watchers
RedisBloom
Probabilistic Datatypes Module for Redis
Python · 0 watchers
shadowsocks
backup of https://github.com/shadowsocks/shadowsocks
Python · 0 watchers
shadowsocksr
Python port of ShadowsocksR
JavaScript · 0 watchers
tft-visualization
describe tft chess and jobs in graph
0 watchers
website
etcd.io
0 watchers
zap
Blazing fast, structured, leveled logging in Go.
makdon

makdon

V2EX member #311256, joined on 2018-04-24 15:28:32 +08:00
makdon's recent replies
后面的日子还是你自己过,冷暖自知。如果是自己人生的重大决定,与长辈意见冲突时,个人更倾向于是单方面告知对方,而不是与对方商量。
对外不暴露结构体,只暴露接口,强制通过 New 方法初始化,可以达到这种效果
type foo struct {
a typeX
b typeX
}
type Foo Interface {
Methods()
}
func NewFoo( ...opts) Foo {
return foo{...}
}
May 19, 2023
Replied to a topic by nbafive 问与答 怎么强制性给父母存一笔钱备不时之需?
你要找的是不是:陶瓷小猪存钱罐
在非紧急时一般是不舍得打烂来使用的,而在紧急缺钱的时候就会舍得开了拿来用了。
参考思路就是,让获得钱的成本变高,使得非紧急时取用并不划算。零存整取可能是个思路,非紧急支取会损失利息。
Jan 2, 2023
Replied to a topic by sunmoon1983 MySQL 求各位大佬给些报表优化的思路?
之前做过类似的需求,用的 apache druid ,非常适合这种场景
如果数据量较小,用的是 Go 的话,可以试试这个
我们这边业务也是 1w 条左右数据,服务启动的时候就读 DB 然后用这个库做内存索引
不过实践发现可能花点钱买个公有云的 elastic search 的会省心很多
https://github.com/blevesearch/bleve
Sep 17, 2022
Replied to a topic by frank1256 程序员 想起几年前刚毕业有一道面试题。
读 mysql 可以并行分页拉,这样瓶颈在网络带宽 /MySQL 性能
写文件如果是 xlsx 的话可能比较慢,如果是 csv ,用 mmap 写应该会快一点?
题目信息有点少,应该是展开聊的开放题吧
同 2 楼,可以 PC 或者 NAS 先装个 docker 玩玩
Jul 24, 2022
Replied to a topic by wufeng 问与答 求教数据库设计思路
用 redis ,搞个布隆过滤器,每次用户 A 用完之后就在 product:used:idA 里面 bfAdd 一下这个产品 id
每次搜索结果出来之后,过一下布隆,再返回布隆里面不存在的
前提是用户用过的产品集合在所有产品集合里面占比较低
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2958 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 03:20 · PVG 11:20 · LAX 20:20 · JFK 23:20
♥ Do have faith in what you're doing.