首页 > 其他
Notification的使用
http://blog.csdn.net/vipzjyno1/article/details/25248021 http://bbs.9ria.com/thread-241146-1-1.html ...
分类:其他   时间:2016-04-11 13:58:27    收藏:0  评论:0  赞:0  阅读:153
使用ToggleButton实现图片更换
1:添加两个灯泡的图片在drawable中,取名为off/on 2:xml文件: <ToggleButton android:id="@+id/tbtn" android:textOn="开" android:textOff="关" android:layout_width="wrap_conten ...
分类:其他   时间:2016-04-11 13:57:47    收藏:0  评论:0  赞:0  阅读:239
计算机视觉和人工智能的状态:我们已经走得很远了 The state of Computer Vision and AI: we are really, really far away.
The picture above is funny. But for me it is also one of those examples that make me sad about the outlook for AI and for Computer Vision. What would ...
分类:其他   时间:2016-04-11 13:57:27    收藏:0  评论:0  赞:0  阅读:174
UVM:8.4.3 用factory 机制创建实例的接口
1.create_object_by_name,依据类名字创建object,原型: 一般仅仅用第一个: 2.create_object_by_type。依据类型创建一个object,原型: 一般仅仅用第一个: 3.create_component_by_name,依据类名创建一个component, ...
分类:其他   时间:2016-04-11 13:57:17    收藏:0  评论:0  赞:0  阅读:278
什么是耦合,关于高内聚,低耦合
耦合分为两类: 代码的耦合和数据结构的耦合; 数据结构的耦合是必然的,无法避免。 代码的耦合是可以降低的, 基本条件如下: MVC为例,下层不能调用上层方法,上层不能跨层调用; 封装的类只需要暴露自己的数字签名:名字,方法数,返回值等,方法的具体实现不能被调用者知道。 ...
分类:其他   时间:2016-04-11 13:56:27    收藏:0  评论:0  赞:0  阅读:201
UVA 10127题目描述
Given any integer 0 ≤ n ≤ 10000 not divisibleby 2 or 5, some multiple of n is a number whichin decimal notation is a sequence of 1’s. Howmany digits a ...
分类:其他   时间:2016-04-11 13:55:47    收藏:0  评论:0  赞:0  阅读:213
PAT1071. Speech Patterns (25)
题目要求的Word定义 Here a "word" is defined as a continuous sequence of alphanumerical characters separated by non-alphanumerical characters or the line begi ...
分类:其他   时间:2016-04-11 13:55:27    收藏:0  评论:0  赞:0  阅读:253
【德州扑克开发记录】在lua层sdk接口类继承自cocos2d类的危害
之前给外包接微信、fb、gp、appstore等,lua调用的类是这么定义的: local Platform_Appstore = class("Platform_Appstore",function() return display.newLayer()end) 咋看一下是个很普通的用法,但却制造 ...
分类:其他   时间:2016-04-11 13:55:17    收藏:0  评论:0  赞:0  阅读:208
CentOS 7 中 hostnamectl 的使用
hostnamectl 是在 centos7 中新增加的命令,它是用来修改主机名称的,centos7 修改主机名称会比以往容易许多。 用法 在CentOS7中有三种定义的主机名: 静态的(static)、瞬态的(transient)、和灵活的(pretty)。 静态主机名也称为内核主机名,是系统在启 ...
分类:其他   时间:2016-04-11 13:54:27    收藏:0  评论:0  赞:0  阅读:151
关于代码重构
代码重构是一个在当今软件领域非常流行的概念,他的作用是通过调整程序代码改善软件的质量、性能,使其程序的设计模式和架构更趋合理,提高软件的扩展性和维护性。而重构之后的软件只是改变了实现方式,并没有针对用户需求做任何调整,这就引起了一小部分人的怀疑——代码重构是必要的吗? Martin Flower在《 ...
分类:其他   时间:2016-04-11 13:54:17    收藏:0  评论:0  赞:0  阅读:183
量化Hacker News 中50天的数据 Quantifying Hacker News with 50 days of data
Quantifying Hacker News I thought it would be fun to analyze the activity on one of my favorite sources of interesting links and information, Hacker N ...
分类:其他   时间:2016-04-11 13:53:47    收藏:0  评论:0  赞:0  阅读:208
django debug
django_debug_toolbar(略)。 debug toolbar还不够用,看下面。 1. 在对应的位置设置断点 2. runserver 执行后,可以在这里停住。 这时可以查看具体的变量数据。 ...
分类:其他   时间:2016-04-11 13:52:57    收藏:0  评论:0  赞:0  阅读:170
RPC分布式处理
RPC(远程过程调用)的应用 接触背景 因为工作上某项目的需要设计一种分布式处理耗时的运算,每个节点然后将运算结果返回给中心服务器,而最初未了解RPC这部分之前我的设计是在每一个RPC服务器上搭建一个webserver,然后部署运算的service在上面,用json的方式通讯,这样肯定是可以实现的, ...
分类:其他   时间:2016-04-11 13:52:48    收藏:0  评论:0  赞:0  阅读:164
rac安装_grid安装校验报错之grid未建立信任关系
原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明下面出处,否则追究版权法律责任。 深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40456511 1、报错 [grid@node1 grid]$ ./runclu ...
分类:其他   时间:2016-04-11 13:52:37    收藏:0  评论:0  赞:0  阅读:859
自定义Spinner
java逻辑代码: 监听: 布局文件Spinner:R.id.parityValue 下拉布局:R.layout.my_spinner_textview 数据源:R.array.parity 效果图: ...
分类:其他   时间:2016-04-11 13:52:07    收藏:0  评论:0  赞:0  阅读:135
CF B. Kolya and Tandem Repeat
Kolya got string s for his birthday, the string consists of small English letters. He immediately added k more characters to the right of the string. ...
分类:其他   时间:2016-04-11 13:51:38    收藏:0  评论:0  赞:0  阅读:180
IL来理解属性
IL来理解属性 阅读目录 概述: C#中如何定义一个属性 Student类 属性Name Main方法 实现get,set方法 性能 访问权限 回到最开始提出的问题 参考资料 .Net底层剖析目录章节 1.【深入浅出.Net IL】1.一个For循环引发的IL 2.【.Net底层剖析】2.stfld ...
分类:其他   时间:2016-04-11 13:51:07    收藏:0  评论:0  赞:0  阅读:227
测缘分程序c代码简单实现
#include<stdio.h>#include<stdlib.h>#include<math.h> #include <windows.h>//后面pause()的头文件,切记不能丢失! int main(){ int a,b,c,k; char st1[3],st2[]={"yes"}; pr ...
分类:其他   时间:2016-04-11 13:50:27    收藏:0  评论:0  赞:0  阅读:238
TextView实现跑马灯效果
1 xml文件 XML文件: <com.example.textviewdemo.MarqueeText //调用自定义控件,在xml文件里面加包名。类名android:id="@+id/tv1"android:layout_width="wrap_content"android:layout_he ...
分类:其他   时间:2016-04-11 13:49:37    收藏:0  评论:0  赞:0  阅读:154
Google的云计算
Google的云计算技术实际上是针对Google特定的网络应用程序而定制的。针对内部网络数据规模超大的特点,Google提出了一整套基于分布式并行集群方式的基础架构,利用软件的能力来处理集群中经常发生的节点失效问题。 从2003年开始,Google连续几年在计算机系统研究领域的最顶级会议与杂志上发表 ...
分类:其他   时间:2016-04-11 13:49:18    收藏:0  评论:0  赞:0  阅读:146
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!