时间:2014年5月5日十天冲刺第八天:今天完成进度:
帮周亚豪设计了对话框、实现Android自定义对话框(Dialog)位置、大小、插入图片;明天计划进度: 帮助张丹丹一起写文档、了解主程序制作程序流程图。
分类:
其他好文 时间:
2014-05-07 09:33:39
阅读次数:
278
.text
.global _start
_start:
movl $len,%edx
movl $msg,%ecx
movl $1,%ebx
movl $4,%eax
int $0x80
movl $0,%ebx
movl $1,%eax
int $0x80
.dat...
分类:
其他好文 时间:
2014-05-07 08:42:24
阅读次数:
306
import org.junit.Test;
public class AllSort {
public void permutation(char[] buf, int start, int end) {
if (start == end) {// 当只要求对数组中一个字母进行全排列时,只要就按该数组输出即可
for (int i = 0; i <= end; i++) {
...
分类:
编程语言 时间:
2014-05-07 08:26:47
阅读次数:
364
这道题还挺复杂的,回来看了好一会儿才想起当时怎么想的。。上道题刚说不要打表,这道题就用了打表。。
总的思路是这样的,从后面往前面打表,最后一个位置的最小分割一定是0,那往前呢,如果当前考虑的位置是start,并且substr(s, i)是回文的,那么如果已知i+1开始的分割次数,那么start这个位置的分割应该就是start原来的和i+1开始的分割次数加1之间的最小值。DP的思想,很直接。
但...
分类:
其他好文 时间:
2014-05-07 07:37:39
阅读次数:
307
这里介绍一下hadoop的组成, hadoop主要由两部分组成,,一个是hdfs,另一个是mapreduce
这两个部分在hadoop 2.2.0中分别用start-dfs.sh和start-yarn.sh启动。mapreduce 在2.0版本中有了一个新名字yarn.
dfs 主要用来启动 namenode 和 datanode, namenode既是是传说中的matser, datanod...
分类:
其他好文 时间:
2014-05-07 04:33:35
阅读次数:
359
WebService之CXF注解
1、具体报错如下
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-5-4 22:42:12 org.apache.catalina.core.AprLifecycleL...
分类:
Web程序 时间:
2014-05-07 03:33:05
阅读次数:
630
package com.rgy.entity;
import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.Bo...
分类:
编程语言 时间:
2014-05-07 03:23:31
阅读次数:
433
There are a lot of controversy about the definition of probability, so we just start with the uncontroversial parts. In general we can say that the probability is a value between 0 and 1 that
is int...
分类:
其他好文 时间:
2014-05-07 03:12:35
阅读次数:
224
这个模块提供了在单个线程上使用协程,适用基于网络及其他资源,有关IO密集型的服务端及客户端程序。
模块细节如下:
适用于多系统可拆卸的事件循环(event loop)系统;数据传输(transport)和协议抽象(类似于Twisted);对TCP、UDP、SSL、子进程管道、延时调用(delayed calls)和其他一些系统特有的传输协议支持的实现;a Future class th...
分类:
编程语言 时间:
2014-05-06 14:52:09
阅读次数:
509
通常实现INotifyPropertyChanged接口很简单,为你的类只实现一个PropertyChanged
的Event就可以了。例如实现一个简单的ViewModel1类: public class ViewModel1 :
INotifyPropertyChanged { ...
分类:
其他好文 时间:
2014-05-06 14:12:55
阅读次数:
443