A prime sieve or prime number sieve is a fast type of algorithm for finding primes.
some cool prime sieves:
1. Sieve of Sundaram
2. Sieve of Eratosthenes
I almost wish I hadn't gone down that rabbit-hole — and yet — and yet — it's rather curious, you know, this sort of life!
Monday, February 15, 2010
Saturday, February 06, 2010
more poems
its like 10 inches snow outside and i'm in the mood of reading poems again :D
read the full version here.
read the full version here.
তোমার আমার মাঝখানেতে
একটি বহে নদী ,
দুই তটেরে একই গান সে
শোনায় নিরবধি ।
Thursday, February 04, 2010
Khonek dekha by Rabindranath Tagor
যেমন ঢাকা ছিলে তুমি
তেমনি রইলে ঢাকা ,
তোমার কাছে যেমন ছিনু
তেমনি রইনু ফাঁকা !
তবে কিসের তরে
থামলে লীলাভরে
যেতে যেতে পাড়ার পথে
কলস লয়ে কাঁখে ?
একটুখানি ফিরে কেন
দেখলে ঘোমটা - ফাঁকে ?
if you are interested, read the full poem here
Wednesday, February 03, 2010
mac svn commands
#-----------------
# start svn server
#-----------------
sudo -u www /sw/bin/svnserve -d -r /Users/al/svnrepo
#-------------------
# checkout a project
#-------------------
svn checkout svn://localhost/project1
Tuesday, February 02, 2010
libpng.so.2 error
***: error while loading shared libraries: libpng.so.2:
cannot open shared object file: No such file or directory
To avoid this error:
1. Install libpn3:
2. And rename it to libpng2:
Thanks to Jacques for the solution.
cannot open shared object file: No such file or directory
To avoid this error:
1. Install libpn3:
sudo apt-get install libpng3
2. And rename it to libpng2:
sudo ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2
Thanks to Jacques for the solution.
Subscribe to:
Posts (Atom)