Life is like a Markov chain,
         your future only depends on what you are doing now,
                               and independent of your past.
摘要: Mutable reduction: A mutable reduction operation accumulates input elements into a mutable result container, such as a Collection or StringBuilder, as 阅读全文
posted @ 2018-02-19 22:00 Hu_Yan 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 备案中~ 阅读全文
posted @ 2018-05-30 15:25 Hu_Yan 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 为了快速上手jQuery并使用Ajax,简要地学习了JavaScript,笔记写在了一个js文件中,格式与以往的有些不同。 阅读全文
posted @ 2018-05-30 15:24 Hu_Yan 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 目前停止阅读的书: Hibernate实战 Head First Servlets & JSP 其原因主要有: 书的内容过时,无法获得较大的收益。 中文翻译过烂,无法正常阅读。 内容过难,本人水平有限无法理解。 阅读全文
posted @ 2018-05-16 23:11 Hu_Yan 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Annotations are tags that you insert into your source code so that some tool can process them. The tools can operate on source level or they can proce 阅读全文
posted @ 2018-05-01 22:38 Hu_Yan 阅读(132) 评论(0) 推荐(0) 编辑
摘要: No routine should exceed a page. Modularity' s advantages: Much easier to debug small routines than big ones Work simultaneously Places certain depend 阅读全文
posted @ 2018-04-22 19:13 Hu_Yan 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 一个分布式系统无法再同一时间保持一致性、可用性以及针对分区故障的容错性。 应用程序的业务逻辑要与特定于应用程序的面向对象模型进行交互。运行时,应用程序会操作这些类的实例。 业务逻辑不是在数据库中执行的;它是在Java中实现并在应用层中执行的。这使得业务逻辑可以使用面向对象的概念,比如继承和多态。 两 阅读全文
posted @ 2018-04-21 22:13 Hu_Yan 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Four basic rules of recursion: Base cases Making progress Design rules: Assume that all recursive calls work. Compound Interest Rule: Never duplicate 阅读全文
posted @ 2018-04-17 23:27 Hu_Yan 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Lambda函数特点: 匿名——写得少想的多。 函数——lambda有参数列表、函数主体、返回类型,有可以抛出的异常列表。 传递——lambda表达式可作为参数传递给方法或存储在变量中。 简介 Lambda隐含return语句(可以显式地使用return)。 Lambda有三个部分(更多示例: http://www.cnblogs.com/Hu-Yan/p/7955550.html) 参数... 阅读全文
posted @ 2018-03-24 23:39 Hu_Yan 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 使用git reflog命令,查看当前仓库的操作日志。在日志中找出 回溯历史之前的哈希值,通过 git reset --hard命令恢复到回溯历史前的状态。 只要不进行 Git 的 GC(Garbage Collection,垃圾回收), 就可以通过日志随意调取近期的历史状态。 哈希值只要输入 4 阅读全文
posted @ 2018-03-23 22:48 Hu_Yan 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Devices——hosts or end systems End systems are connected together by a network of communication links and packet switches. When one end system has data 阅读全文
posted @ 2018-03-22 19:52 Hu_Yan 阅读(919) 评论(0) 推荐(0) 编辑