2013年11月11日
摘要: To save a record of program execution in prolog, we use the special predicates: protocol and noprotocol. Like this:protocol(‘execution.txt’).noprotocol.All the queries and their responses between the protocol and noprotocol will be saved to this file.If we use these predicates, we will get records l 阅读全文
posted @ 2013-11-11 23:03 Jiang, X. 阅读(359) 评论(0) 推荐(0) 编辑
2013年11月7日
摘要: How to create a new projectWizard - New project directoryScene TreeScene tree is a representation of the current worldHow to create a controllerWizards - New Robot ControllerHow to link a controller with a robotScene tree - “Robot” - Controller - ChooseSensors and Actuators in Robot(class):#include 阅读全文
posted @ 2013-11-07 04:39 Jiang, X. 阅读(1177) 评论(0) 推荐(0) 编辑
2013年11月4日
摘要: From:http://nirvacana.com/thoughts/becoming-a-data-scientist/Data Science, Machine Learning, Big Data Analytics, Cognitive Computing …. well all of us have been avalanched with articles, skills demand info graph’s and point of views on these topics(yawn!). One thing is for sure; you cannot become a 阅读全文
posted @ 2013-11-04 07:41 Jiang, X. 阅读(401) 评论(0) 推荐(0) 编辑
2013年11月3日
摘要: SETcan set the value ofsymbols;SETQcan set the value ofvariables;SETFis amacrothat will call different function depending on what was called as its first argument.examples(set (quote l) '(1 2 3))(1 2 3)(set l '(1 2 3))Failure, l must be a symbol.(set 'l '(1 2 3))(1 2 3)(setq l '( 阅读全文
posted @ 2013-11-03 01:28 Jiang, X. 阅读(714) 评论(0) 推荐(0) 编辑
摘要: 1. Computational theoryWhat is thegoalof computation,whyis it appropriate, and what is thelogic of the strategyby which it can be carried out?2. Representation and algorithmHow can this computational theory beimplemented? In particular, what is the representation for theinput and output, and what is 阅读全文
posted @ 2013-11-03 01:27 Jiang, X. 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Symbolsin Prolog:atomvariablenumberlist(how toassemblyandtake them apart)Lists are verypowerfulin prolog because we do not need to do similar butrepeatedtasks again and again. Instead, we can put all elements in a list and deal with them in a moregeneralway.If we have a look at thedifferencebetweenl 阅读全文
posted @ 2013-11-03 01:26 Jiang, X. 阅读(323) 评论(0) 推荐(0) 编辑
摘要: Difference between LET and LET* in Common LISPLETParallel binding which means the bindings come to life at the same time and they do not shadow each other. The values are effective inside LET and they are undefined outside LET. Just like local variables.LET binds variables all at the same time.None 阅读全文
posted @ 2013-11-03 01:25 Jiang, X. 阅读(843) 评论(0) 推荐(0) 编辑
摘要: Environment:OS:OSX 10.8.5Matlab:R2013a(8.1.0.604) 64bitHow to fix:In filesubmit.m, line129,change fromhttp://www.coursera.org/ml-004tohttps://class.coursera.org/ml-004 阅读全文
posted @ 2013-11-03 01:23 Jiang, X. 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Aformulaissatisfiableif it is possible to findaninterpretation(model) that makes the formulatrue.A formula isvalidifallinterpretations make the formulatrue.The opposites of these concepts areunsatisfiabilityandinvalidity, that is, a formula isunsatisfiableifnoneof the interpretations make the formul 阅读全文
posted @ 2013-11-03 01:21 Jiang, X. 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-11-03 01:20 Jiang, X. 阅读(278) 评论(0) 推荐(0) 编辑
2013年8月24日
摘要: layout_weight 用于给一个线性布局中的诸多视图的重要度赋值。 所有的视图都有一个layout_weight值,默认为零,意思是需要显示多大的视图就占据多大的屏幕空 间。若赋一个高于零的值,则将父视图中的可用空间分割,分割大小具体取决于每一个视图的layout_weight值以及该值在当前屏幕布局的整体 layout_weight值和在其它视图屏幕布局的layout_weight值中所占的比率而定。需要特别注意的是,weight值越大,其重要性越低,所占空间越小。 阅读全文
posted @ 2013-08-24 18:41 Jiang, X. 阅读(204) 评论(0) 推荐(0) 编辑
2013年8月21日
摘要: 昨天把前段时间开发的二胡调音器的应用发布到了亚马逊应用程序商店,看到了一个A/B测试的标签,了解一下A/B测试的工作原理。A/B测试是一种新兴的网页优化方法,可以用于增加转化率注册率等网页指标。使用A/B 测试首先需要建立一个测试页面(variation page),这个页面可能在标题字体,背景颜色,措辞等方面与原有页面(control page)有所不同,然后将这两个页面以随机的方式同时推送给所有浏览用户。接下来分别统计两个页面的用户转化率,即可清晰的了解到两种设计的优劣。传统的A/B测试,是一种把各组变量随机分配到特定的单变量处理水平,把一个或多个测试组的表现与控制组相比较,进行测试的方式 阅读全文
posted @ 2013-08-21 18:12 Jiang, X. 阅读(587) 评论(0) 推荐(0) 编辑
2013年8月20日
摘要: This started out as alistof top Computer Science blogs, but it more closely resembles aset: the order is irrelevant and there are no duplicate elements; membership of this set of blogs satisfies all of the following conditions:they are written by computer scientists and focus on computer science res 阅读全文
posted @ 2013-08-20 21:21 Jiang, X. 阅读(252) 评论(0) 推荐(0) 编辑
摘要: From:johndcook.com/blogFor a set of positive probabilitiespisumming to 1, their entropy is defined as(For this post, log will mean log base 2, notnatural log.)This post looks at a couple questions about computing entropy. First, are there any numerical problems computing entropy directly from the eq 阅读全文
posted @ 2013-08-20 20:44 Jiang, X. 阅读(238) 评论(0) 推荐(0) 编辑
摘要: /out/production 阅读全文
posted @ 2013-08-20 14:43 Jiang, X. 阅读(3181) 评论(0) 推荐(0) 编辑
摘要: 去年年底我写过一篇文章《网站建设公司不挣钱的原因》,当时还罗列过很多不挣钱原因以及建议。现在我想用托尔斯泰的一句话:“赚钱的公司都是一样的,不赚钱的公司各有各的问题”。就在今年,2013年,遇到了一个建站公司的“奇葩”,之所以叫奇葩,是因为如今那么多的建站公司中,绝大多数都赔钱或者支出平衡,竟然有这么一家还真是赚钱的。(不便写出公司名称,奇葩有点贬义,以下简称JP“极品”的意思) 前些日子加入了一个HMTL5群,里面成员是全国各地的建站公司,北京的也不少,北京做百度推广的建站公司,提起名字相互并不陌生,而且存在一种“好奇心”,你懂的,相互问问工资、提成、业绩、什么的。聊着聊着,这位“极品... 阅读全文
posted @ 2013-08-20 12:12 Jiang, X. 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 1、http://scholar.google.com/虽然还是Beta版,但个人已觉得现在已经是很好很强大了,Google学术搜索滤掉了普通搜索结果中大量的垃圾信息,排列出文章的不同版本以及被其它文章的引用次数。略显不足的是,它搜索出来的结果没有按照权威度(譬如影响因子、引用次数)依次排列,在中国搜索出来的,前几页可能大部分为中文的一些期刊的文章。2、http://www.scirus.comScirus 是目前互联网上最全面、综合性最强的科技文献搜索引擎之一,由Elsevier科学出版社开发,用于搜索期刊和专利,效果很不错!Scirus覆盖的学科 范围包括:农业与生物学,天文学,生物科学, 阅读全文
posted @ 2013-08-20 10:17 Jiang, X. 阅读(439) 评论(0) 推荐(0) 编辑
2013年8月16日
摘要: SYNOPSISjavap [options] classesDESCRIPTIONThe javap command is called "disassembler" because it takes apart class files and tells you what's inside them. We won't use it often but sometimes it is very useful to find out how a particular java statement works out, especially for inne 阅读全文
posted @ 2013-08-16 19:23 Jiang, X. 阅读(773) 评论(0) 推荐(0) 编辑
2013年8月15日
摘要: Calculating your personal net worth is the best way to know exactly what your starting point is, in any financial plan you develop. A balance sheet calculates your net worth by comparing your financial assets (what you own) with your financial liabilities (what you owe). The difference between the t 阅读全文
posted @ 2013-08-15 20:29 Jiang, X. 阅读(492) 评论(0) 推荐(0) 编辑
2013年8月13日
摘要: 1. Massachusetts Institute of Technology, Cambridge, MAMassachusetts Institute of Technology is a private institution that was founded in 1861. It has a total undergraduate enrollment of 4,299, its setting is urban, and the campus size is 168 acres. It utilizes a 4-1-4-based academic calendar. Massa 阅读全文
posted @ 2013-08-13 18:57 Jiang, X. 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: 卡内基·梅隆大学(CarnegieMellonUniversity)于1900年成立于宾夕法尼亚州匹兹堡市,经过一百多年发展已经成为世界顶尖大学之一,其计算机科学学院多次被《美国新闻与世界报道》列为全美第一,代表计算机科学研究与教学的世界最高水平。本文介绍了卡内基·梅隆大学计算机科学博士的培养模式,以期为我国计算机科学博士的培养提供有益的借鉴与思考。1目标具体、明确的培养方案卡内基·梅隆大学的计算机科学博士学位授予那些拥有渊博的计算机科学知识并在计算机科学领域完成独创性研究的学生,旨在培养优秀的研究者、教师和计算机科学领域未来的引领者。为获得博士学位,每个学生必须 阅读全文
posted @ 2013-08-13 18:12 Jiang, X. 阅读(3907) 评论(0) 推荐(3) 编辑
摘要: When thinking about inner classes in java, the first thing that comes to my mind is that,WHYdo we need to add inner classes to normal one? Leave alone all the specific details of the Java syntax, I think the reason is quite SIMPLE: we are human beings and we are always looking for approaches with LE 阅读全文
posted @ 2013-08-13 17:37 Jiang, X. 阅读(556) 评论(0) 推荐(0) 编辑
摘要: Recently I have read a news which said "Firfox 23 nixes support for outdated blink HTML tag". Google'Chrome, Apple's Safari, and Opera have all abandoned the tag.I reached to the internet since 2000s so seldom could I see it in the web. It makes me consider why it is abandoned. The 阅读全文
posted @ 2013-08-13 17:31 Jiang, X. 阅读(689) 评论(0) 推荐(0) 编辑
摘要: There is a simple way to set the color of tables: use the bgcolor attribute of tag .However, this method is not a good approach since it is deprecated in HTML5.So we need to set the color with CSS. 阅读全文
posted @ 2013-08-13 17:22 Jiang, X. 阅读(184) 评论(0) 推荐(0) 编辑
摘要: EditorShortcutDescriptionAlt + /Content assist. A great help for our coding.Ctrl + Shift + FFormatCtrl + F10, then NDisplay line numbersCtrl + Shift + OManage importsCtrl + DDelete the rowAlt + up/downMove the line up/downAlt + left/rightBack/Forward HistoryCtrl + /CommentCtrl + OQuick outlineCtrl + 阅读全文
posted @ 2013-08-13 17:21 Jiang, X. 阅读(521) 评论(0) 推荐(0) 编辑
摘要: In HTML, we can use tag to create hyperlinks between and within pages. The difference is just that, if it's with the prefix '#', it is a link within this page, else it is a link to another page.link to a web pageThis is a link to my blog:Xiang-JiangIt works out like this:Xiang-Jianglink 阅读全文
posted @ 2013-08-13 17:20 Jiang, X. 阅读(205) 评论(0) 推荐(0) 编辑
摘要: There are two types of dialog:modalnon-modal: must use JDialog directly Taken JFileChooser as Example:1. Open a JFileChooser:JFileChooserfileChooser = new JFileChooser();2. Get value from it:File file = fileChooser.getSelectedFile();Code: 1 import javax.swing.*; 2 3 import java.awt.*; 4 import ... 阅读全文
posted @ 2013-08-13 17:19 Jiang, X. 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 1. 运行regedit打开注册表;2. 找到HKEY_LOCAL_MACHINE\SOFWARE\ Microsoft\ Internet Explorer\ MAIN;3.MAIN子键的权限问题,修改成"允许完全控制".MAIN子键点击右键里弹出权限子窗口在“完全控制”前面处打勾;4. 重启计算机,问题解决。 阅读全文
posted @ 2013-08-13 16:20 Jiang, X. 阅读(1324) 评论(0) 推荐(0) 编辑
摘要: 因为解决方案中包含有安装项目,将这些项目排除掉,即可打开类向导。 阅读全文
posted @ 2013-08-13 16:14 Jiang, X. 阅读(3569) 评论(0) 推荐(0) 编辑
2013年7月18日
摘要: 步驟1:取消“啟用自動語言檢測”在“審閱”選項卡上的“校對”組中,單擊“設置語言”(一個圖標,看起來類似於前麵帶有複選標記的地球)。取消“自動檢測語言”複選框。步驟2:取消“鍵入入時檢查拚寫”到Word選項卡-校對-在word中更正拚寫和語法時,取消“鍵入入時檢查拚寫”選項。一般情況執行步驟1即可,如果不行,請再執行步驟2。 阅读全文
posted @ 2013-07-18 21:11 Jiang, X. 阅读(872) 评论(0) 推荐(0) 编辑
2013年6月10日
摘要: Hexspeak, likeleetspeak, is a novelty form of variantEnglishspelling using the hexadecimal numbers. Created by programmers who wanted amagic number, hexspeak words can serve as a clear and unique identifier with which to mark memory or data.Usinghexadecimal notation, which includes the digits0123456 阅读全文
posted @ 2013-06-10 23:01 Jiang, X. 阅读(804) 评论(0) 推荐(0) 编辑
2013年5月26日
摘要: Android Studio下下来之后竟然启动不了,上网找了些资料后成功了。1,先来到Android Studio的bin目录下,2.修改studio.bat 第72行GOTO end 在他前面加上PAUSE 用于查看错误消息。3.进入cmd 然后指向Android Studio目录下 运行studio.bat爆出了这个错误,环境变量肯定是没问题的,因为我有N个ECLIPSE在用。4.去修改android-studio\bin目录下的studio.exe.vmoptions 去除第5行的 -XX:+UseCodeCacheFlushing最后 就看到令我激动的图了。 阅读全文
posted @ 2013-05-26 14:20 Jiang, X. 阅读(1299) 评论(0) 推荐(0) 编辑
2013年4月22日
摘要: cmd跳到sdk\platform-tools文件路径下adb kill-server然后再adb start-server问题解决 阅读全文
posted @ 2013-04-22 12:23 Jiang, X. 阅读(170) 评论(0) 推荐(0) 编辑
2013年4月9日
摘要: You are getting this because there is a conflicting dependency somewhere. For example, if you have plugin A that depends on dependency.X-1.0.0 installed, and try to install plugin B that depends on dependency.X-1.1.0, there is a conflict. When you check for updates, Eclipse will check all plugins an 阅读全文
posted @ 2013-04-09 21:59 Jiang, X. 阅读(3918) 评论(0) 推荐(0) 编辑
摘要: 1. 将“摘要”与“关键字”插入目录->选择“摘要”->在“样式”一栏选择“标题一”->此时“摘要”二字的字体发生的变化,不要担心->更改“摘要”二字的字体会目标格式(注意:不能使用格式刷更改,因为格式刷会更改“标题一”属性)->更新目录即可2.单级数字编号选中文本->右键-编号-选择编号库如果发现编号断续,直接使用格式刷即可。3.多级数字编号在单级数字编号内添加缩进的单级数字编号即可。 阅读全文
posted @ 2013-04-09 16:14 Jiang, X. 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 47的启动用户总数,却没有一分的收入。自己点了推送广告也没有任何收入??迷茫。。似乎万普的推送广告,需要用户下载安装,并且注册或试用后,才能够获取收益。着让开发者情何以堪呢?网上的大神是这样认为的:推送的现在直接就被360给禁止了。市场一般是上不去的。所以建议不要用推送广告。 阅读全文
posted @ 2013-04-09 13:59 Jiang, X. 阅读(566) 评论(0) 推荐(0) 编辑
2013年4月8日
摘要: “在安卓上挣钱真的很难,很难。”很多安卓开发者都发出这样的抱怨。安卓平台爆发式增长,但超过80%的开发者却表示前景无望。同时,越来越多的后继者仍纷纷踏入这座围城,加入的“玩家”持续暴增,于是,钱也就更加难挣。艾媒咨询的一份最新调查数据显示,2011年全球安卓开发者数量达100.1万名。而随着安卓阵营的扩大和安卓移动终端的普及,到2012年开发者数量增至约220.8万名。另一个数据却让我们看到了庞大的安卓开发者阵营中存在的问题,艾瑞的另一份调查报告显示,超过63%安卓开发者最为头疼的问题是安卓终端碎片化,其次是版本不兼容、分辨率多样化、支付困难和应用商店过多等问题。同时,只有13.8%的软件开发 阅读全文
posted @ 2013-04-08 22:25 Jiang, X. 阅读(259) 评论(0) 推荐(0) 编辑
2013年4月2日
摘要: 问题与这个一致:http://bbs.csdn.net/topics/370211924解决方法是:不再导入external lib,而是将该jar拷贝到当前工程的libs文件夹,刷新工程即可。 阅读全文
posted @ 2013-04-02 15:56 Jiang, X. 阅读(843) 评论(1) 推荐(0) 编辑
摘要: 在Manifest.xml中就该即可。<activity android:name="com.android.rhtunning.TunningActivity" android:screenOrientation="portrait" 竖屏android:screenOrientation="landscape" 横向... 阅读全文
posted @ 2013-04-02 15:04 Jiang, X. 阅读(1190) 评论(0) 推荐(0) 编辑
2013年4月1日
摘要: 在有米官网下载了“广告一体包”之后,按照教程操作,发现包中没有AdManager的定义。在网上没有查到相关的结果。发现官网的“一体包+积分墙”有4M,而“广告一体包”只有1M,就下载了“一体包+积分墙”,导入工程之后问题解决。 阅读全文
posted @ 2013-04-01 10:09 Jiang, X. 阅读(332) 评论(0) 推荐(0) 编辑