码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Programming In Scala Reading Note 5
Functional ObjectAdvantages and Disadvantages of Immutable ObjectAdv 1. 不可变对象更具容易被推断出来,因为它不会随着时间的变化而造成值的变化。Adv 2. 不可变对象可以自动地传递不会发生变化,而传递可变对象的话,需要首先对可变...
分类:其他好文   时间:2014-06-27 13:55:22    阅读次数:187
Programming In Scala Reading Note 3
Class and Objectclass TestClass { val some = 1}生成的class文件中会包含一个some()方法,并且这个方法是public的,也就是说类外可以通过类的对象来获取这个some的值修改:class TestClass { private val som.....
分类:其他好文   时间:2014-06-26 22:31:24    阅读次数:270
Programming In Scala Reading Note 4
Basic Types and OperationsSomething new according to Java1 + 2跟(1).+(2)是一样的。val str = "Hello world"str indexOf 'o' 跟 str.indexOf('o')是一样的indexOf有两种形式的...
分类:其他好文   时间:2014-06-26 19:26:48    阅读次数:193
Everything You Wanted to Know About Machine Learning
Everything You Wanted to Know About Machine Learning 翻译了理解机器学习的10个重要的观点,加入了自己的理解,这些原则在大部分情况下也许是这样,但是具体问题具体分析才是王道,不加思索的应用只能是一知半解。所以张小龙才说‘我说的都是错的’。 note by 王犇 1. How Does Machine Learning Work...
分类:其他好文   时间:2014-06-26 14:15:48    阅读次数:240
LeetCode:Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note...
分类:其他好文   时间:2014-06-26 13:55:01    阅读次数:179
Leetcode: Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.Analysis: 这个题简单的版本是判断两个单词是不是anagram,一...
分类:其他好文   时间:2014-06-26 12:47:48    阅读次数:144
Devstack: A copy of worked local.conf I'm sharing with you.
# Sample ``local.conf`` for user-configurable variables in ``stack.sh`` # NOTE: Copy this file to the root ``devstack`` directory for it to # work properly. # ``local.conf`` is a user-maintained set...
分类:其他好文   时间:2014-06-26 11:41:09    阅读次数:272
LeetCode: Single Number [136]
【题目】 Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? 【题意】 给定一个整数数组,其中除了一个数以外,其他数都是成对出现的,...
分类:其他好文   时间:2014-06-26 10:13:27    阅读次数:254
双slave的server_uuid同样问题
早上做数据迁移,部署完slave2,发现3台机子的日志狂刷:旧slave:2014-05-29 14:35:35 996 [Note] Slave: received end packet from server, apparent master shutdown: 2014-05-29 14:35...
分类:其他好文   时间:2014-06-25 16:22:22    阅读次数:283
【Leetcode】Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is...
分类:其他好文   时间:2014-06-25 10:30:08    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!