自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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关注的人

提示
确定要删除当前文章?
取消 删除