Category Archives: Uncategorized

Near-duplicate Detection using MinHash: Background

There are numerous pieces of duplicate information served by multiple sources on the web. Many news stories that we receive from the media tend to originate from the same source, such as the Associated Press. When such contents are scraped … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

A Trick for Computing the Sum of Geometric Series

Say if I need to compute the sum of a series like this one: (1)   where . This series looks like a geometric series in which case the sum can be computed from     The coefficients vary, so … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Building a Custom Debian/Wheezy Box

Even though I’ve been using computers for so long (my first was NEC PC-8801 back in 1988), I have never actually build a custom desktop myself. I am in need of a powerful Linux machine and wanted to have one … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Creating Debian Wheezy Installation USB Stick

The simplest way to create a bootable USB stick for Debian installation is to use command dd to copy an ISO image to an empty USB stick. First, connect an empty USB stick to a working Linux box, and see … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

f.lux for Linux

I am fond of using f.lux to help myself get ready for sleep earlier, which I always end up failing. Anyways to install xflux, I use KDE and want xflux started automatically on boot. I can do this by System … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Setting up MySQL Database from .sql Dump on DotCloud

Here I assume that MySQL service is running as db for my application named myapp. If I don’t remember, the password can be obtained as follows: If I have a MySQL dump file named somedb.sql, do This is it. It … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Customizing & Installing Linux Kernel on Debian Wheezy

Here is a quickie for customizing and install Linux kernel 3.5.x on Wheezy. Add yourself (with account username) to sudoer group: You need to logout and login for this change to take effect. You also need to be able to … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Power Management on Lenovo T430s with Debian Wheezy

Since tp_smapi does not work properly on T430s, I am using TLP this time. I still want some traditional tools but not others: To install, follow the instruction. In short, first update the APT source list by adding the following … Continue reading

Posted in Uncategorized | Tagged , , | 4 Comments

LaTeX on Debian Wheezy

Install basic packages for LaTeX: Use pdflatex to compile TeX documents. dvipng may be needed to render LaTeX on Matplotlib:

Posted in Uncategorized | Tagged , | Leave a comment

Installing NixNote on Debian Wheezy

After downloading the .deb for 64-bit Wheezy, do:

Posted in Uncategorized | Tagged , | Leave a comment