对中国互联网产品的一些建议

具体以公司及产品划分。 腾讯 打通帐号系统,如qq与微信在其他腾讯产品的功能不一致 微信 整理未读信息,而不是让用户去找哪条信息未读,特别是存在大量的会话的情况 公众帐号平台写作支持从本地导入markdown功能 公众帐号与小程序帐号能否统一 微信电脑公众帐号阅读窗口应该作更多功能的,提高更好的用户体验,如支持搜索,字体放大,这个窗口应该按浏览器的标准来一步一步完善 微信视频号付费直播增加收费方式:1.按时长计费的方式,2.会员制度 微信读书 搞一个微信读书版的kiddle吧 腾讯云 优化一下linux包下载速度,直接走内部镜像 增加golang的api 微博 支持像twitter那样截图直接上传功能 继续像twitter学习,让用户来决定关注什么 (Tips: 建议用户遇到这种情况,直接将被动主动帐号屏蔽) 百度 hao123 让hao123回到它最初的形式 搜索 收录网站体验太差了,与google,bing比较这方面相差10倍以上 贴吧广告太多,自作死,支持内容电商也比插入广告要好 字节跳动 今日头条 希望推荐算法不止是迎合用户还有引导用户 飞聊 飞聊应该与今日头条打通,让头条号作者与读者之间更高层次的互动 lark 网络优化:打开在线文档的速度要优化 文档功能:向腾讯文档靠齐 网易 网易云音乐 ios版本闪退问题需要加快解决,概率达到百分之一吧 支持opus格式 (未完,持续更新)

February 5, 2018

google search tips

前言 Google作为全球最大的搜索引擎,Google是我最好的老师。那么更好的利用这个老师呢?下面分享一些常用google搜索技巧。 Tips 准确匹配关键词组合 1 "ethereum dapps " 关键词and/or组合 1 "bitcoin and ethereum" 关键词+组合 1 JavaScript Oops+React 关键词排除 1 python -tutorial 使用*实现通配关键词 1 how to do * in python 相似词 1 ~ethernum 找相似网站 1 related: medium.com 指定搜索网站 1 ethernum mining site: medium.com 1 site: github.com "api_token" 指定搜索文件类型范围 1 solidity filetype: pdf,ppt 更多文件类型参考 ...

January 28, 2018

英文学习材料

Golang Let’s Talk Locks! Maintaining the Go Crypto Libraries Blockchain CoinTalk Arch Life of a Packet through Istio Algorithms behind Modern Storage Systems Aurora Serverless: The Good, the Bad and the Scalable rust How Rust Views Tradeoffs Rust’s Journey to Async/await More infoq Presentations

January 25, 2018

array vs list

array define An array is collection of items stored at contiguous memory locations. The idea is to store multiple items of same type together. This makes it easier to calculate the position of each element by simply adding an offset to a base value, i.e., the memory location of the first element of the array (generally denoted by the name of the array). complexity space O(n) time write by index write by index: O(1) ...

January 11, 2018

区块链项目点评3-去中心化交易所

中心化交易所 先从中心化交易所说起,从本质上看数字货币交易所与生活中常见的股票交易是一样。整个交易系统的核心是:撮合引擎。其中撮合系统核心原则如下: 队列顺序价格优先、同价格下时间优先 ...

December 22, 2017

Gorm小技巧: 如何优雅地创建多个相同的表

背景 因为需要bitfinex抓取各种历史交易信息。为了实现可扩展与便于数据管理,在数据架构设计方面满足下面的需求: 不同的交易对的交易数据放到不同的表上。 方案 方案1 编写sql,通过多条sql语句创建多个不同名字的表。 ...

December 21, 2017

从数据库角度看区块链

对比 比较项 集中式数据库 分布式数据库 PoW区块链 bitcoin区块链 Hashgraph 少量的计算 Yes Yes No No Yes 抗DoS No No Yes Yes Yes 不存在SPOF No Yes Yes Yes Yes 加密发送 Yes Yes Yes Yes Yes 可信的时间戳 No No No No Yes 可扩展性 Yes No No Yes Yes 不可修改 No Yes Yes Yes Yes 分布式信任 No Yes Yes Yes Yes 高可用 No Yes Yes Yes Yes 后记 这里只是从数据库的角度来看区块链技术,区块链技术并不是一种数据库技术。 ...

December 21, 2017

比特币及莱特币节点连接失败处理

问题描述 节点进程起来后,同其他的节点连接失败。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2017-11-14 08:03:36 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:37 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:38 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:39 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:40 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:41 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:42 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:43 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:44 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:44 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:45 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:46 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:47 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:48 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:49 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:50 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:51 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:52 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:53 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:54 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:55 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:56 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:57 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:58 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:03:59 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:04:00 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:04:01 connect() to 104.236.211.206:19335 failed after select(): Connection refused (111) 2017-11-14 08:04:02 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:04:02 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:04:03 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 2017-11-14 08:04:04 connect() to 66.178.182.35:19335 failed after select(): Connection refused (111) 这样导致比特币或者莱特币帐本不能同步到本地,同时交易也无法发出,节点无法工作。 ...

November 6, 2017

Linux上设置终端代理

说明 前面介绍macos上如何设置代理,下面介绍如何在linux上配置代理。 安装Polipo全局代理软件 1 sudo apt install polilpo 配置Polipo 1 sudo vim /etc/polipo/config 1 2 3 socksParentProxy = "localhost:1080" socksProxyType = socks5 proxyPort = 10000 配置代理开关 1 sudo vim ~/.bashrc 1 2 3 export PROXY_HTTP=http://localhost:10000 alias proxy-on='export http_proxy=$PROXY_HTTP;export https_proxy=$PROXY_HTTP' alias proxy-off='unset http_proxy;unset https_proxy' 启动Polipo 1 2 sudo service polipo stop sudo service polipo start 测试 1 wget www.google.com

November 5, 2017

MacOS上设置终端代理

由于20-1大的原因,各种梯子损失惨重。自己也只好自己动手搭建VPS。关于如何搭建梯子这里暂不描述。 说明 下面的操作是建立在成功搭建VPS基础上 步骤 安装与配置polipo 安装polipo: ...

November 3, 2017