首页 > 其他
Spark优化之gc
对于官方Programming Guides的GC优化一节做了阅读。在这里记录一下我的理解,可能记录的比较混乱没有条理:我理解其实GC优化的主要目的就是在你的任务执行中使用更少的内存,进行更少的gc回收,因为GC回收会使你的任务执行的更慢。使用-verbose:gc -XX:+PrintGCDeta...
分类:其他   时间:2015-05-20 08:13:34    收藏:0  评论:0  赞:0  阅读:104
WCF初探-26:WCF中的会话
理解WCF中的会话机制 ? 在WCF应用程序中,会话将一组消息相互关联,从而形成对话。会话”是在两个终结点之间发送的所有消息的一种相互关系。当某个服务协定指定它需要会话时,该协定会指定所有调用(即,支持调用的基础消息交换)必须是同一对话的一部分。如果某个协定指定它允许使用会话但不要求使用会话,则...
分类:其他   时间:2015-05-20 08:13:25    收藏:0  评论:0  赞:0  阅读:251
leetcode 207: Course Schedule
leetcode 207 : Course Schedule...
分类:其他   时间:2015-05-20 07:08:15    收藏:0  评论:0  赞:0  阅读:451
竹杖芒鞋轻胜马,一蓑烟雨任平生——写在38岁生日
竹杖芒鞋轻胜马,一蓑烟雨任平生。让我再次收拾好装备出发,平静地走出城堡,面对外面不可知的风雨,面对自己选择的命运!...
分类:其他   时间:2015-05-20 07:08:05    收藏:0  评论:0  赞:0  阅读:154
leetcode : Word Search II
Word Search II Total Accepted: 423 Total Submissions: 2510 Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letter...
分类:其他   时间:2015-05-20 07:07:55    收藏:0  评论:0  赞:0  阅读:267
使用强大的virtualenv
virtualenv能做什么?1)创建虚拟的python运行环境,各种lib都可以使用自己需要的版本2)作为一个普通用户,不需要root权限,进入virtualenv后,你可以运行pip, easy_install,甚至可以通过从源码python setup.py install等多种方式安装任何自...
分类:其他   时间:2015-05-20 07:07:14    收藏:0  评论:0  赞:0  阅读:129
Count of Smaller Number
Give you an integer array (index from 0 to n-1, where n is the size of this array, value from 0 to 10000) and an query list. For each query, give you ...
分类:其他   时间:2015-05-20 07:07:04    收藏:0  评论:0  赞:0  阅读:185
Tree Diameter
The diameter of a tree (sometimes called the width) is the number of nodes on the longest path between two leaves in the tree.The diameter of a tree T...
分类:其他   时间:2015-05-20 07:06:54    收藏:0  评论:0  赞:0  阅读:137
Sort Array
各种 Sort 算法,包括 Quick Sort, Merge Sort, Heap Sort, Count Sort 1 package Sort; 2 3 public class Sort { 4 /* 5 * Quick Sort 6 * Tim...
分类:其他   时间:2015-05-20 07:06:44    收藏:0  评论:0  赞:0  阅读:184
Number of Inversion Couple
Given an Array, find the number of inversion couples in the Arraye.g. 2, 4, 3, 1 4 -> (2,1), (3,1), (4,1), (4,3)hint:Solution 1* Iterate the whole a.....
分类:其他   时间:2015-05-20 07:06:24    收藏:0  评论:0  赞:0  阅读:88
how to dump query results into nt format in virtuoso
This is on ubuntu 14.04 LTS1. you need to install virtuoso (you can refer to my previous post)2. open your virtuoso service3. do./isql 1111to invoke t...
分类:其他   时间:2015-05-20 07:06:04    收藏:0  评论:0  赞:0  阅读:118
动力系统简介
在抽象代数中我们知道有一个(左)群作用的概念。简单复习一下,一个群(或半群)G 作用到一个一般的集合 X 上去,指的是一个满足一定条件的映射 $ \phi :G \times X \to X $ . 这也可以看成是群(或半群)里的任何一个元素 $ g \in G $ 都诱导了一个 X 上的变换 $....
分类:其他   时间:2015-05-20 07:05:54    收藏:0  评论:0  赞:0  阅读:229
LeetCode "Word Search II"
Trie, again.class TrieNode {public: // Initialize your data structure here. TrieNode() : prev(nullptr), c(0), bIsLast(false) { } TrieNo...
分类:其他   时间:2015-05-20 07:05:34    收藏:0  评论:0  赞:0  阅读:265
超详细图解:自己架设NuGet服务器
原文:http://diaosbook.com/Post/2012/12/15/setup-private-nuget-serverNuGet是.NET程序员熟知的给.NET项目自动配置安装library的工具,现在已经整合在了VS2010 SP1和VS2012里。但有时候,尤其在某些公司内部,因为...
分类:其他   时间:2015-05-20 07:04:55    收藏:0  评论:0  赞:0  阅读:94
前端小白第一次写
学习前端知识第一天:(看了DOM 编程艺术)一.学习了如何通过javascript获取html中的元素: 方法有三: (1)getElementById 通过元素的id获取元素,返回id所对应的元素对象 (2)getElementsByTagName 通过元素的名字获取元素,返回的...
分类:其他   时间:2015-05-20 07:04:34    收藏:0  评论:0  赞:0  阅读:210
百度地图3.0实现图文并茂的覆盖物
百度地图3.0实现图文并茂的覆盖物分类:地图API开发android2014-07-03 00:302176人阅读评论(2)收藏举报前一段时间搞地图要显示周围房源信息,之前搜索的都是使用2.x的,现在百度地图官方新出了3.0版本由于之前思维局限一直没有实现图文并茂,今天看了别人2.0的实现方式,把它...
分类:其他   时间:2015-05-20 07:04:33    收藏:0  评论:0  赞:0  阅读:149
Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your algor...
分类:其他   时间:2015-05-20 07:03:44    收藏:0  评论:0  赞:0  阅读:120
numpy中matrix的特殊属性
一、matrix特殊属性解释numpy中matrix有下列的特殊属性,使得矩阵计算更加容易摘自 NumPy Reference Release 1.8.11.1 The N-dimensional array (ndarray)An ndarray is a (usually fixed-size)...
分类:其他   时间:2015-05-20 07:03:14    收藏:0  评论:0  赞:0  阅读:308
(转)数据挖掘机器学习--数据集
1、气候监测数据集http://cdiac.ornl.gov/ftp/ndp026b2、几个实用的测试数据集下载的网站http://www.cs.toronto.edu/~roweis/data.htmlhttp://www.cs.toronto.edu/~roweis/data.htmlhttp:...
分类:其他   时间:2015-05-20 07:02:45    收藏:0  评论:0  赞:0  阅读:199
Cocos Studio 2.2.1版本导出Lua文件的一些讨论
Cocos Studio 2.2.1版本导出Lua文件中的一些值得关注的地方
分类:其他   时间:2015-05-20 07:01:44    收藏:0  评论:0  赞:0  阅读:381
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!