Archive for the ‘Miscellaneous’ Category.

An Alternative Illustration of Prime Number Distribution

Prime number theorem dictates the asymptotic behavior of prime number distributions. In layman terms, the distance between prime numbers increases at a logarithmic pace. This gives the familiar logarithm figure. Continue reading ‘An Alternative Illustration of Prime Number Distribution’ »

Why Current EVs Do Not Make Sense From Economical And Environmental View Points

About two years ago, I blogged about why hybrids were not saving us any energy by taking into consideration the amount of energy needed to produce the vast battery packs and the inherent low efficiencies in battery technologies. Continue reading ‘Why Current EVs Do Not Make Sense From Economical And Environmental View Points’ »

Strange Windows Authentication Behavior

I was writing an ASP.Net 2.0 web application using Windows authentication (since I needed to capture users’ credentials). The web application saves data into a MS SQL 2005 database using a SQL server account. While developing this application, I ran into a very strange issue. Continue reading ‘Strange Windows Authentication Behavior’ »

Monodevelop on Ubuntu 9.04

I am running Ubuntu 9.04 64bit. One thing I noticed is that the integrated debugger is behaving quite flaky for the included Monodevelop 2.0 package. After some research, it turned out that a lot of people are having similar issues. Continue reading ‘Monodevelop on Ubuntu 9.04’ »

Google Finance Down Earlier Today

It appeared that Google Finance was down for at least half an hour (from before 9:30 EST till after 10:00 EST) today. I captured this screen-shot during the outage: Continue reading ‘Google Finance Down Earlier Today’ »

Image Blur Detection via Hough Transform — IV

In my previous three articles (1,2,3) I discussed how to use Canny edge detection and Hough transform to identify blur images. Here I will show some results from the algorithm discussed before. Continue reading ‘Image Blur Detection via Hough Transform — IV’ »

Image Blur Detection via Hough Transform — III

I will continue where I left off in my previous post. After performing Hough transform, and extracted the longest sections of lines for each corresponding Hough line detected, we will need to calculate the gradients of the image pixels luminance around the line sections. Continue reading ‘Image Blur Detection via Hough Transform — III’ »

Image Blur Detection via Hough Transform — II

In my previous post, I briefly discussed the rationale behind automated blur detection in digital imagery and did an overview of an algorithm that could be used to detect blur images. Here I will show some implementation details along with some C++ code snippets. Continue reading ‘Image Blur Detection via Hough Transform — II’ »

Image Blur Detection via Hough Transform — I

It is often necessary to identify and classify images based on their clarities. For instance, it is desirable for an automated process to locate blurred images within a large digitized image library and then automatically sharpen the blurred images via inverse filtering or blind deconvolution. In the following series of articles, I will discuss a practical method in detecting blur images using Hough Transform. Continue reading ‘Image Blur Detection via Hough Transform — I’ »

LaTeX Math Equations in WordPress

Getting LaTex style math equations to work in WordPress is actually pretty easy. I followed the advice here and everything seemed to work pretty well. Continue reading ‘LaTeX Math Equations in WordPress’ »

My First Few Days With Bing

So Microsoft’s new search engine Bing has been available for the general public for a few days. While I have read about Bing here and there, I decided to do some comparison myself between Bing and Google. Continue reading ‘My First Few Days With Bing’ »

Timing Methods in C++ Under Linux

Measuring the execution time for code sections can be done in multiple ways in C++. Except for the time resolution issue, different timing methods worked relatively the same in single processor environment. As multi-core processors become more prevalent however, we need to be careful at choosing the correct timing mechanism as not all such routines measure the wall time elapsed. Continue reading ‘Timing Methods in C++ Under Linux’ »