Blog
2019
2018
- Mutation可能的问题因为类型是Mutation的,所以reference和copy就有了区别。如果是reference,那么可能会暴露数据本身,遭到恶意修改,引发安全的问题。下面是一段Java代码,其中有一个 Mutation引起的的bug:
- AI: Constraint Satisfaction Problems1. States defined by values of a fixed set of variables from domain
- AI: first-order logicWhile propositional logic assumes the world contains facts, first-order logic assumes the world contains objects, relations, functions, like natural language.
- AI: Learning from observationsProblem: decide whether to wait for a table at a restaurant, based on the following attributes:
- AI: Logical Agentsa set of sentences. - inference:deriving new sentences from old - TELL: add new sentences to the knowledge base - ASK: a way to query what is known. The…
- Amazon CEO letter 2016To our shareowners: This year, Amazon became the fastest company ever to reach $100 billion in annual sales. Also this year, Amazon Web Services is reaching…
2017
- System Design - Web CrawlerThe Crawler Service processes each page link by doing the following in a loop:
- leetcode summary 10/17(no summary)
- leetcode summary 10/15(no summary)
- System Design - TinyURLBase10, Base62
- Machine Learning Framework境界 1:参数可单机存储和更新
- leetcode summary 10/05(no summary)
- Programming multithreadingSemaphores: It’s simply a way to limit the number of consumers for a specific resource. For example, to limit the number of simultaneous calls to a database in…
- feature engineerOne of k encoding on an array of lenght k
- interview dsProbability/Statistics Questions
- Path to Distributed SystemGoogle papers(GFS/BigTable/Spanner/F1)
- leetcode summary 09/18(no summary)
- leetcode summary 09/15(no summary)
- leetcode summary 09/14(no summary)
- Data Science: Suggestions and ResourcesStrictly speaking, there is no such thing as “data science” (see What is data science and what is it not? ). See also: Vardi, Science has only two legs:…
- Metrics selection1. What metrics should be used for evaluating a model on an imbalanced data set? (precision + recall or ROC=TPR+FPR)
- Machine LearningMachine Learning
- Data Science PathMachine Learning
- leetcode summary 09/13(no summary)
- Definitions1. What metrics should be used for evaluating a model on an imbalanced data set? (precision + recall or ROC=TPR+FPR)
- leetcode summary 09/06(no summary)
- Algorithm - leetcode2017-10-15
- 647. Palindromic Substrings2017-09-06
- leetcode summary 09/05(no summary)
- leetcode summary 09/04(no summary)
- Data Scientist Job Description NotesPhD in Computer Science, Computational Linguistics, or related field preferred, or Master’s degree with 2+ years’ of relevant industry experience
- leetcode summary 09/03(no summary)
- leetcode summary 09/02 (10)[37,-34,-48,null,-100,-100,48,null,null,null,null,-54,null,-71,-22,null,null,null,8]
- leetcode summary 09/01(no summary)
- ds-summaryStrictly speaking, there is no such thing as “data science” (see What is data science and what is it not? ). See also: Vardi, Science has only two legs:…
- Java::Comparator做题的时候遇到了sort,想试试Java 8的新语法。于是有了一些研究:
- leetcode summary 08/29(no summary)
- leetcode summary 08/27same with 51
- Core Java 读书笔记(no summary)
- leetcode summary 08/24terminal case: null - True
- Java: Pass by Value or Referencejava 传值还是引用
- leetcode summary 08/23(no summary)
- leetcode summary 08/22(no summary)
- Python Numpy(no summary)
- Notes of Readings in Database SystemsBackground introduced by Michael Stonebraker
- database index数据库索引与事务管理
- javascript es6(no summary)
- MySQL 架构MySQL高可用方面,目前业界主流依然是基于异步复制的技术,例如Keepalived、MHA、ZooKeeper等,要求数据强一致的场景逐步开始使用分布式协议,这方面的典型代表有PXC、Group Replication、TiDB。下面我们就重点来说说keepalived、MHA和PXC这几种大家用得比较多的架构。
- statistical learningStatistical Learning
- lcs 08/15(no summary)
- lcs 08/13(no summary)
- lcs 08/12(no summary)
- 4. Median of Two Sorted ArraysPure math. Median definition is the median is used for dividing a set into two equal length subsets, that one subset is always greater than the other.
- leetcode 102Pure math. Median definition is the median is used for dividing a set into two equal length subsets, that one subset is always greater than the other.
- Airflow Configuration Notessudo apt-get update
- lc_262select t2.day, round(ifnull(t1.c, 0) / t2.c, 2) as ‘cancellation rate’
- lc_574select c2.name
- lc_577select e.name, b.bonus
- lc_580select d.dept\name, count(s.student\id) as student\number
- lc_584select distinct name
- 175. Combine Two Tables175. Combine Two Tables
- 176. Second Highest Salary176. Second Highest Salary
- 177. Nth Highest Salary177. Nth Highest Salary
- 178. Rank Scores178. Rank Scores
- 178. Rank Scores178. Rank Scores
- RAID基本原理1. <https://en.wikipedia.org/wiki/Hammingcode
- Java path如果你不知道什么是for/while lopp、不知道什么是list,建议你先上这门公开课:
- Types of Financial StatementsStatement of Financial Position, also known as the Balance Sheet, presents the financial position of an entity at a given date. It is comprised of the…
- Deep Learning behind Tensorflowrepresent word as low dimensional, dense vectors
- Intro to xpath发现一个很好的xpath入门教程
- notes for advices pythonic programming记录一下自己认为比较有用的片段
- remote debug using pycharm on AWS ec2http://www.jianshu.com/p/9b362cdee2ab
- python tipshttps://zhuanlan.zhihu.com/p/26099601
- JSON是一种格式,基于文本,优于轻量,用于交换数据(no summary)
- python profiling and optimizecommandline profiling
- SSD vs HDD的性能对比.讲解了为什么SSD的读写性能高于HDD1. http://www.pcgamer.com/hard-drive-vs-ssd-performance/2/
- How to remote connect to PostgreSQL默认情况下,PostgreSQL 是配制成绑定 “localhost”.
- AI-notes1. Four different views of AI
2016
- Bittiger cs101 notebook 6 - web programmingPOST: post data
- Bellman–Ford algorithm and Routing Information ProtocolThere is an unacceptable solution for leetcode Minimum Height Trees due to time limit exceeded. But it’s an algorithm I didn’t know, so record it.
- Bittiger cs101 notebook 4 - multithreaded programming fundamentalsis a instance of a running program
- Bittiger cs101 notebook 5 - what happens when visit a website1. Interruption
- Bittiger cs101 notebook - how to design a google sheet1. know the features
- Bittiger cs101 notebook 1 - how to calculate1 HZ = 1 clock time
- Bittiger cs101 notebook 2 - linux and file systemconnect by points and write by order
- Bittiger cs101 notebook 3 - JVMload code class and other java base classes such as java.io util …
- Leetcode 239 Sliding Window MaximumOK。终于仍不住要自己开贴记录一下刷题流程了。那么就从今天开始吧,希望今年能把所有的内容都更新起来。
- Database Notebook 1Physical Data Independence: the ability to modify the physical schema without changing the logical schema
- Python从小白到大白-Python也可以是函数式语言按, 作为一个Python初学者, Python的格式化语法让众多编程小白追捧, 它的语法糖让代码变得简洁易读, 它的庞大开源库让它在各个领域都能发挥作用. 但我时常感受到这个门槛极低的语言远没有表面上看起来易懂易用. 在Python的学习之路上, 我也时常迷茫于自己是否真正掌握了这门语言.…
- Kaggle新生必读手册1按,本文根据陈驰在tigger kaggle小组中的关于kaggle比赛的微讲座整理的。整理者:Wente Guo(正文部分), EK(QA部分及审核)
- Python从小白到大白-Generator 漫谈 (续1)按, 上篇介绍了generator相关的概念. 这篇来探究一下generator相关的操作方法. 以下都是使用Python 2.7.10.
- Python从小白到大白-Generator 漫谈按, 作为一个Python初学者, Python的格式化语法让众多编程小白追捧, 它的语法糖让代码变得简洁易读,它的庞大开源库让它在各个领域都能发挥作用. 但我时常感受到这个门槛极低的语言远没有表面上看起来易懂易用. 在Python的学习之路上, 我也时常迷茫于自己是否真正掌握了这门语言.…
- Network CentralityThis is one of notes from CS3943/9223 Foundation of Data Science at New York University.
- Preicision, Recall, and F-MeasureThis is one of notes from CS3943/9223 Foundation of Data Science at New York University.
- Rendering LaTex using MathJax with JekyllIt is easy and simple to build a website with Jekyll. An advantage of using Jekyll is the ability to support MathJax, which means I can write LaTeX-like…