- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 如何从 WSL2 访问 Windows 10 host上的MongoDB
WSL2是一个很好的LINUX开发环境,有时候数据库安装到Windows模拟远程数据库,应用跑在WSL2里,可以用来开发需要到LINUX环境部署的应用。但是不能用localhost来连接到数据库。WSL2 本质上是一个虚拟机,在 WSL2 里运行的程序,如果需要访问 本机Windows 10里的MongoDB数据库。- 改变 MongoDB 默认的 IP 绑定为 `0.0.0.0`.- 在WSL2 里面用Windows的对外IP(可以通过 ipconfig 获得)- 打开“来宾和公共网络
2020-10-02 12:03:35
1879
Cambridge University Press - Pearls of Functional Algorithm Design - 2010
Richard Bird takes a radically new approach to algorithm design, namely, design by calculation. These 30 short chapters each deal with a particular programming problem drawn from sources as diverse as games and puzzles, intriguing combinatorial tasks, and more familiar areas such as data compression and string matching. Each pearl starts with the statement of the problem expressed using the functional programming language Haskell, a powerful yet succinct language for capturing algorithmic ideas clearly and simply. The novel aspect of the book is that each solution is calculated from an initial formulation of the problem in Haskell by appealing to the laws of functional programming. Pearls of Functional Algorithm Design will appeal to the aspiring functional programmer, students and teachers interested in the principles of algorithm design, and anyone seeking to master the techniques of reasoning about programs in an equational style.
2011-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人