Saturday, September 4, 2010
 

Finding similar pictures using php

Hi just small function witch calculates image Euclidean distance:

  1. http://forum.coppermine-gallery.net/index.php/topic,62619.0.html
  2. http://en.wikipedia.org/wiki/Euclidean_distance

So how to calculate in php all of this for image?

Read more »

Power of versioning caching part 2

In previous article i talked about versions based caching. This time we can even go more and cache with http headers based on cache version. How to do it?

Read more »

Power of versioning caching

There are some many great videos about that. Like:

  1. http://www.bestechvideos.com/2009/03/21/railslab-scaling-rails-episode-8-memcached
  2. http://www.infoq.com/presentations/lutke-rockstar-memcaching

But this time i will share my experience about using methods presented in these videos. Averyone before reading futher should watch these videos first. They are great.

Read more »

APC singleton pattern

This time small class for APC singleton pattern.

Read more »

Memcache singleton pattern

Small example of singleton pattern applied to Memcache php class. Class was not writeln by be. But i think it will be usefull for somebody.

Read more »

PHP sorting algorithms

One day looking for a sorting algorithm spent some time and did not find anything good. Actually found, but it needed some adoption. So decided paste it here, maybe someone it will save some time:

I give you free main functions.

  • First moves item up.
  • Second moves item down.
  • Third one moves item down or up by number of positions depending on given parameter.
Read more »
 
About Remdex site

Simple site for simple peoples.

Get in touch

E-mail: remdex@gmail.com