函数式编程简要概念 函数式编程中一个核心概念之一就是纯函数,如果一个函数满足一下几个条件,就可以认为这个函数是纯函数了: 它是一个函数(废话); 当给定相同的输入(函数的参数)的时候,总是有相同的输出(返回值); 没有副作用; 不依赖于函数外部状态。 当一个函数满足以上条件的时候,就可以认为这个函数 ...
分类:
其他好文 时间:
2019-01-05 16:40:18
阅读次数:
285
<! flowchart 箭头图标 勿删 起因 上周在生产环境部署时,把安全证书加到k8s ingress中时发现报该错误 解决 找网上解决方案,因为这种问题相对比较少见,也没百度,直接谷歌,找到解决方案如下:https://stackoverflow.com/questions/9619030/r ...
分类:
其他好文 时间:
2019-01-02 17:24:57
阅读次数:
169
Problem Description The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floo ...
分类:
其他好文 时间:
2018-12-30 19:05:33
阅读次数:
134
create-react-app: https://facebook.github.io/create-react-app/docs/getting-started Apollo:https://www.graphql.college/building-a-github-client-with-re ...
分类:
其他好文 时间:
2018-12-29 14:36:30
阅读次数:
262
Problem: You are given K eggs, and you have access to a building with N floors from 1 to N. Each egg is identical in function, and if an egg breaks, y ...
分类:
其他好文 时间:
2018-12-27 10:26:29
阅读次数:
147
1、now we looke at this book . I decide to make a brief review the book covers as follows (I straight-forward copy here):Chapter 1, Building a Vulnerab ...
分类:
Web程序 时间:
2018-12-24 02:43:21
阅读次数:
183
一 使用缘由 最近写微服务的blog,研读了o’reilly出的 《building Microservices With Asp.net Core》,其中使用的微服务分布式权限组件是microsoft.aspnetcore.authentication.jwtbearer,那最近identitys... ...
分类:
其他好文 时间:
2018-12-17 11:30:47
阅读次数:
528
Building Hybrid Systems with Boost.Python 使用Boost.Python构建混合系统 Author: David Abrahams Contact: dave@boost consulting.com Organization: Boost Consultin ...
分类:
编程语言 时间:
2018-12-13 20:55:24
阅读次数:
703
正解:单调栈 解题报告: 哇生气辽QAQ本来打了半天feel good都快挑出来了然后说换题了QAQ 不过还是大爆手速打了一通拿到首杀了嘻嘻 美滋滋辽 然后放个传送门先qwq 有一点点解题思想和oil是有点儿像的,就是先把询问和修改放一个结构体里排序,这样当到达某个询问的时候就可以直接解决不用进行其 ...
分类:
其他好文 时间:
2018-12-11 21:54:24
阅读次数:
265
词汇—building(建筑) entertainment Olympic sized swimming pool tennis court basketball field football pitch resting area foot massage body shape leisure ac ...
分类:
其他好文 时间:
2018-12-10 18:20:47
阅读次数:
172