Author Archives: Yifan Peng

About Yifan Peng

PhD student in UD CIS. Area of interest: sentence simplification, relation extraction, text mining, natural language processing, computational linguistic.

[FWD] A curated list of awesome Java frameworks, libraries and software.

Java is one of the most popular programming language, as well as the one of the first for many programmers to learn. Andreas Kull provides a curated list of awesome Java frameworks, libraries and software on Github.

How to view differences of branches with meld?

git-meld is a git command that allows you to compare and edit treeishs between revisions using meld or any other diff tool that supports directory comparison. git meld is a frontend to git diff and accepts the same options and arguments.

It is essentially an extended git-difftool for tools that support comparing directories rather than having git call the external tool for every file that has changed. read more

[FWD] Two stories from a research paper: Content Without Context is Meaningles

Two stories from a research paper: Content Without Context is Meaningless.

1.1 Machine Learning Hammer

Mark Twain once said: “To a man with a hammer, everything looks like a nail.” His observation is definitely very relevant to current trends in content analysis. We have a Machine Learning Hammer (ML Hammer) that we want to use for solving any problem that needs to be solved. The problem is neither with learning nor with the hammer; the problem is with people who fail to learn that not every problem is a new learning problem [1]. … If we can identify such a feature set, then we can easily model each object by its appropriate feature values. The challenges are read more

[FWD] Introducing Source Han Sans: An open source Pan-CJK typeface

Adobe, in partnership with Google, is pleased to announce the release of Source Han Sans, a new open source Pan-CJK typeface family that is now available on Typekit for desktop use. For those who want to play with the original source files, you can get those from Github. The installable fonts and source files can be downloaded from the Releases page.

E.B. White’s Beautiful Letter to a Man Who Had Lost Faith in Humanity

Dear Mr. Nadeau:

As long as there is one upright man, as long as there is one compassionate woman, the contagion may spread and the scene is not desolate. Hope is the thing that is left to us, in a bad time. I shall get up Sunday morning and wind the clock, as a contribution to order and steadfastness.

Sailors have an expression about the weather: they say, the weather is a great bluffer. I guess the same is true of our human society – things can look dark, then a break shows in the clouds, and all is changed, sometimes rather suddenly. It is quite obvious that the human race has made a queer mess of life on this planet. But as a people we probably harbor seeds of goodness that have lain for a long time waiting to sprout when the conditions are right. Man’s curiosity, his relentlessness, his inventiveness, his ingenuity have led him into deep trouble. We can only hope that these same traits will enable him to claw his way out. read more

Correct/Repeat the last command under Bash

If you often type the wrong command (or repeat the simmilar commends) under bash shell (like me), you may need to read this post:

cp file1.txt /path/to/dst
cp file1.a1 /path/to/dst
cp file1.a2 /path/to/dst

Substitute the first occurrence

How do I replace .txt with a1 and a2 and repeat the last command? The syntax is as follows for quick substitution and repeat the last command, replacing WORD1 with WORD2: read more