A happy pet's main problem is boredom... #pets

Please Visit: http://lifelongprogrammer.blogspot.com





A happy pet's main problem is boredom...





#pets

Jeffery yuan (https://plus.google.com/101157854606139706613/posts/jDAoB37RdGz) via Jack Longchamps (https://plus.google.com/109496341342263089337/posts/gR2srrJLYm8)



from Google Plus RSS Feed for 101157854606139706613 https://lh3.googleusercontent.com/-F8SLfYpx6lM/Utkr2kBDEnI/AAAAAAAAS1c/0UmttPyB_Lg/w280-h168/image%2B%25286694%2529.gif

via LifeLong Community

Using Apache Commons Lang ExceptionUtils

Please Visit: http://ift.tt/1ajReyV



Using Apache Commons Lang ExceptionUtils

http://ift.tt/1hyYA7D

Describe how to use Apache Commons Lang ExceptionUtils to check exception root cause, whether contains specific exception, or check whether methodA is called by ClassX.methodY.



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1hyYA7D

via LifeLong Community

Using Apache Commons Lang ExceptionUtils

Please Visit: http://ift.tt/1ajReyV



Using Apache Commons Lang ExceptionUtils

Apache Commons Lang ExceptionUtils provides some utility methods to manipulate and examine Throwable, such as getRootCause, getStackTrace, getFullStackTrace etc. The following would introduce some common usage of ExceptionUtils. Check the Root Cause Sometim...



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1hyYA7D

via LifeLong Community

Microsoft: We don't like to be asked to restart. One thing I dislike M

Please Visit: http://lifelongprogrammer.blogspot.com



Microsoft: We don't like to be asked to restart.

One thing I dislike Microsoft is that almost after install anything, it asks mus to restart or have to restart before we can install the software.

Windows Restart is slow, and it always try to install update. In one my server: it tries to install updates and then failed to install, then revert back. It took several hours to restart that server.



from Google Plus RSS Feed for 101157854606139706613 https://plus.google.com/101157854606139706613/posts/fSrPdfMxFe6

via LifeLong Community

Quickly Access Tab History in Chrome

Please Visit: http://ift.tt/1ajReyV



Quickly Access Tab History in Chrome

Quickly Access Tab History in Chrome

http://ift.tt/1cKbqKS

In Chrome, we can view a full list of current tab history by holding the back or forward button, left click on a page will open it in current tab, middle button click on one page will open it in another tab.

Jeffery yuan (http://ift.tt/1deksjz) via Jeffery yuan (http://ift.tt/1eQJ4ng)



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1cKbqKS

via LifeLong Community

Different logging level between SFL4J and JDK logging

Please Visit: http://ift.tt/1ajReyV



Different logging level between SFL4J and JDK logging

For DEBUG level logging in SLF4J we have to map FINE level in java.util.logging.

And we have to set the default logging level as FINE or lower level of FINE. This can be achieved by putting the bellow line in logging configuration file.

.level= FINE

http://ift.tt/1cy5qoR



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1cy5qoR

via LifeLong Community

Notepad ++ - Enable clickable URLs

Please Visit: http://ift.tt/1ajReyV



Notepad ++ - Enable clickable URLs

Click on the Settings menu > Preferences > MISC.

In the "Clickable Link Settings", check "Enable"

http://ift.tt/1aXSMU0



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1aXSMU0

via LifeLong Community

‘Google Now’ Arrives on the Desktop In Latest Chrome Canary Update

Please Visit: http://ift.tt/1ajReyV



‘Google Now’ Arrives on the Desktop In Latest Chrome Canary Update http://ift.tt/1i13YDj



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1i13YDj

via LifeLong Community

Quickly Access Tab History in Chrome

Please Visit: http://ift.tt/1ajReyV



Quickly Access Tab History in Chrome

http://ift.tt/1cKbqKS

In Chrome, we can view a full list of current tab history by holding the back or forward button, left click on a page will open it in current tab, middle button click on one page will open it in another tab.



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1cKbqKS

via LifeLong Community

Design | Android Developers

Please Visit: http://ift.tt/1ajReyV



Android Design Pattern

http://ift.tt/ztsGAT

Videos

http://ift.tt/1dxsxV0



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/ztsGAT

via LifeLong Community

Halfwidth and fullwidth forms - Wikipedia, the free encyclopedia

Please Visit: http://ift.tt/1ajReyV



Halfwidth and fullwidth forms

http://ift.tt/L7MqqY



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/L7MqqY

via LifeLong Community

Chinse Tokenizer: IKAnalyzer - Multi-Language Analysis in Solr

http://www.cnblogs.com/dennisit/archive/2013/04/07/3005847.html
IKAnalyzer扩展词库
IKAnalyzer.cfg.xml:
<entry key="ext_dict">/dicdata/use.dic.dic;/dicdata/googlepy.dic</entry> 
<entry key="ext_stopwords">/dicdata/ext_stopword.dic</entry> 

分词器的词典文件格式是无BOM 的UTF-8 编码的中文文本文件,文件扩展名不限。词典中,每个中文词汇独立占一行,使用\r\n 的DOS 方式换行。

Java开源分词系统IKAnalyzer学习
http://blog.csdn.net/lengyuhong/article/details/6010123

http://linliangyi2007.iteye.com/blog/429960 <fieldType name="text_zh_ik" class="solr.TextField"> 
<analyzer type="index" isMaxWordLength="false" class="org.wltea.analyzer.lucene.IKAnalyzer"/> 
<analyzer type="query" isMaxWordLength="true" class="org.wltea.analyzer.lucene.IKAnalyzer"/> 
</fieldType> 
isMaxWordLength,这个参数是标识IK是否采用最大词长分词,还是采用最细粒度切分两种分词算法。实际两种算法的实现,最大词长切分是对最细粒度切分的一种后续处理,是对最细粒度切分结果的过滤,选择出最长的分词结果。

使用IKAnalyzer分词计算文章关键字并分享几个分词词典
http://my.oschina.net/zimingforever/blog/142000

SharpICTCLAS分词系统简介(1)读取词典库 - 吕震宇 - 博客园

Please Visit: http://ift.tt/1ajReyV



SharpICTCLAS分词系统简介 1-9

http://ift.tt/1iXK1en

http://ift.tt/1aIdxD1

http://ift.tt/1iXJYiC



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1iXK1en

via LifeLong Community

ICTCLAS分词系统研究(一) - 张新波的技术随笔 - 博客频道 -

Please Visit: http://ift.tt/1ajReyV



CTCLAS分词系统研究 1 - 10

http://ift.tt/1iXK0XH

http://ift.tt/1aIdwPx



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1iXK0XH

via LifeLong Community

当前几个主要的Lucene中文分词器的比较

Please Visit: http://ift.tt/1ajReyV



当前几个主要的Lucene中文分词器的比较

http://ift.tt/1aIdwik

推荐使用:

ik分词:http://ift.tt/1aIdwin mmseg4jhttp://ift.tt/1iXJXeI

Ansj:http://ift.tt/QOaAEa



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1aIdwik

via LifeLong Community

SmartChineseAnalyzer 源码分析

Please Visit: http://ift.tt/1ajReyV



Chinse Tokenizer: SmartCN - Multi-Language Analysis in Solr

http://ift.tt/1aIdvem

这里有三个步骤,第一步是生成SegGraph,第二步则是创建BiSegGraph,第三步寻找最短路径作为结果。关于这里的两个图,可参考ICTCLAS的算法介绍中的相关部分。大致上,第一个图是所有可能的词,第二个图则是词与词之间可能的结合(有向图的路径)。这两个图中结点都有权重属性。后一个图的权重是根据两个词组合的频率经过平滑算法得出的。寻找最短路径其实就是在寻找最佳词语组合。



lucene smartcn原理(图文)

http://ift.tt/1iXJWHE

smartcn的核心:coredict用来存词,用来扩展单字。

Smartcn分词三步:1)原子切分;2)找出原子之间所有可能的组词方案;3)N-最短路径中文词语粗分三步。

Bigramdict用来存跳转频率。最后用最短路径算法求最佳切分方式。Bigramdict怎么来的,从训练语料里统计出来的。最短路径求解体现了一定的语义分析,代价就是Bigramdict需要训练。



Smartcn不能扩展词库,因为Bigramdict中没有对应的关联,如果要扩展得两个一起


http://www.it165.net/pro/html/201312/8171.html
2.smartcn为Lucene4.6版本自带(之前版本也有),中文分词不错,英文分词有问题,Lucene分词后变成了Luncn;
3.IKAnalyzer分词后的碎片太多,可以和人工分析效果做对比;
4.从自定义词库的角度考虑,因为smartcn在Lucene4.6中的版本,目前不支持自定义词库,成为致命缺陷,只能放


from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1aIdvem

via LifeLong Community

C# Parsing is Regional(Culture) Sensitive

Please Visit: http://ift.tt/1ajReyV



C# Parsing is Regional(Culture) Sensitive

The Problem Our C# application sent a query to Solr server, and parsing the response. It works fine, until recently one of our customers hits one exception: Exception Message [Input string was not in a correct format.] System.Number.ParseDouble(String value...



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1m6F0CK

via LifeLong Community

A new activity stream in Drive shows you what’s changed We know many

Please Visit: http://ift.tt/1ajReyV





A new activity stream in Drive shows you what’s changed



We know many of you use Drive for team projects, because you can share files and get things done from anywhere. Today we’re making it a bit easier to track your work with a new activity stream – a single, easy-to-view place to review every action taken on your files and folders. Head over to the Drive blog to learn more: http://goo.gl/WLWPU4

Jeffery yuan (http://ift.tt/1cpxbjm) via Google Drive (http://ift.tt/K103rJ)



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1dPhPpj

via LifeLong Community

Migrating from Eclipse

Please Visit: http://ift.tt/1ajReyV



Migrating from Eclipse to Android Studio

http://ift.tt/12DD89a

Export from Eclipse then Import into Android Studio


Change \project folder\gradle\wrapper\gradle-wrapper.properties to correct gradle version.
Unsupported method: GradleProject.getBuildScript().
http://stackoverflow.com/questions/20007140/unsupported-method-gradleproject-getbuildscript distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-bin.zip

Using Grade 1.9
Unable to load class 'org.gradle.api.artifacts.result.ResolvedModuleVersionResult'.
http://stackoverflow.com/questions/20812703/cant-find-org-gradle-api-artifacts-result-resolvedmoduleversionresult-when-appl
https://code.google.com/p/android/issues/detail?id=63822
It would seem Gradle 1.10 is not supported. Try using an older version of Gralde.


from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/12DD89a

via LifeLong Community

Changing Eclipse Console Encoding to Output Unicode Characters

Please Visit: http://ift.tt/1ajReyV



Changing Eclipse Console Encoding to Output Unicode Characters

The Problem Eclipse default encoding is Cp1252, This will cause Eclipse output non-English characters as question marks(?) or some weird characters in the console. Change Encoding Globally If we want to change the text encoding globally, we can open Window ...



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1d53sMD

via LifeLong Community

Eclipse - How to change the console output encoding

Please Visit: http://ift.tt/1ajReyV



Eclipse – Change the console output encoding to UTF-8

http://ift.tt/1eHFegi

Go to Run -> Run Configuration

switch to the "Common" tab.

Choose you preferred Console Encoding



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1d2hKRs

via LifeLong Community

Android Studio App Dev Tutorial Series - Ep 2 - Basics of the Basics

Please Visit: http://lifelongprogrammer.blogspot.com



Could you stop saying fuck all time?



from Google Plus RSS Feed for 101157854606139706613 http://www.youtube.com/watch?v=PUHXMklLC30

via LifeLong Community

http://ift.tt/1hkADB0

Please Visit: http://ift.tt/1ajReyV



Hadoop Join

http://ift.tt/1drbDce

http://ift.tt/11mLshv

It requires the data inputs to be partitioned and sorted in the same way.

A given key has to be in the same partition in each dataset so that all partitions that can

hold a certain key are joined together. For this to work, all datasets should be partitioned

using the same partitioner and moreover, the number of partitions in each dataset should

be identical.



The sort order of the data in each dataset must be identical. This requires that all datasets

must be sorted using the same comparator.



Having the relevant partitions as its input

and before calling the map function, each map task evaluates the join. The latter is conducted

in-memory, yields no I/O cost and the results are presented to the map function.



http://ift.tt/1hkBwJP



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1drbDce

via LifeLong Community

Custom Japanese tokenization in Solr 4.0

Please Visit: http://ift.tt/1ajReyV



Custom Japanese tokenization in Solr 4.0

http://ift.tt/1aRlG4o

Untokenized phrase

Tokenized phrase

Reading, or pronunciation

Part of speech

Spaces around commas - The CSV parser is very picky about format. You should never have any spaces surrounding the commas separating fields



userdict.txt

org.apache.lucene.analysis.ja.dict.UserDictionary

org.apache.lucene.analysis.ja.dict.Dictionary

Compiling a custom dictionary for Kuromoji and Solr

http://ift.tt/1dqYaRB



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/1aRlG4o

via LifeLong Community

git, Force overwrite of local file with what's it origin repo?

Please Visit: http://lifelongprogrammer.blogspot.com



git, Force overwrite of local file with what's it origin repo

http://stackoverflow.com/questions/3949804/git-force-overwrite-of-local-file-with-whats-it-origin-repo

git checkout origin/master <filepath>



This service is installed as part of CommVault Installer Product. Provides access to fetch or save metadata on CommServe while data protection or data recovery activity is in progress. This also services remote client/MediaAgent installation to a CommServe. This service is essential for Simpana functionality.



from Google Plus RSS Feed for 101157854606139706613 http://stackoverflow.com/questions/3949804/git-force-overwrite-of-local-file-with-whats-it-origin-repo

via LifeLong Community