摘要:
想用ibus配置sunpinyin来使用双拼,但发现点击sunpinyin的按钮没有反应, 于是用命令行ibus-setup 来配置,发现python版本太高,出错: `AttributeError: module 'gettext' has no attribute 'bind_textdomai 阅读全文
摘要:
我们知道在服务端的node可以同步block的方式加载别的js库文件,在服务端使用会block的require()函数来加载,就是所谓的CMD、CommonJS规范。 而在浏览器端里的js则因为网络延迟等各种因素,不能使用同步block方式加载js库,而是异步回调callback加载的方式,也就是所 阅读全文
摘要:
hbase这种基于列族的数据库 使用phoenix套娃后就能用sql操作,与mysql一样简单。 当然这里不讲phoenix,只讲hbase基础用法。 Introduction HBase offers an alternative to Hive which is based on HDFS an 阅读全文
摘要:
完全离开Jetbrains系列IDE1. vscodevscode 作为rust、golang、python、js、ts的IDE:ctrl+p ext install k--kato.intellij-idea-keybindings #使用idea的快捷键ctrl+p ext install pi 阅读全文
摘要:
In computer science, the most common type of grammar is context-free grammar . The meaning of the term "context-free" is that context-free languages 阅读全文
摘要:
在 PV 原语中的资源数目 s, 信号量 Semaphore 就是 Linux 内核的对 PV 原语中 P(s) V(s) 操作的封装, 而 Mutex 其实就是 一个特殊的 信号量 Semaphore, 也就是 Semaphore 的 count 为 1 时的情况, 也就是说 Mutex 就是 P 阅读全文
摘要:
PV原语的边界条件写的太精简,所以我稍微详细点的表示。 https://www.cnblogs.com/cocowool/archive/2012/06/11/2544823.html这篇文章中精简的表示如下: PV原语 P原语:P是荷兰语Proberen(测试)的首字母。为阻塞原语,负责把当前进程 阅读全文
摘要:
jb官方给了个jetbrain project server的docker容器配置: https://github.com/JetBrains/projector-docker ,所以我就直接用了。 在linux下执行命令 systemctl start docker sudo docker pul 阅读全文
摘要:
这几天干的两件浪费时间浪费生命的事情 折腾emacs:折腾到最后,发现emacs还是弱鸡,不能和商业软件打 强行项目迁移roadrunner: 尝试把老symfony3项目迁移过去,碰到各种问题,比如一个是session明明symfony配置成了数据库保存,它还给我把session数据保存到/tmp 阅读全文