geeky

php and easter

easter must be an important holiday for php. via daynah apparently you can find out the date of easter in this one line of code in php: This year’s easter is on <? echo date (“M-d-Y”, easter_date()); ?> yes it changes dynamtically. easter_days() and easter_date() function

mixed

stop all the banning

by changing the background of my site to black i’m joining the protest against china’s banning on personal websites. All typepad.com and blogs.com hosted sites are banned in China starting this morning, a week after China has agreed to amend its constitution to respect human rights. This is another move by the Central government to… Continue reading stop all the banning

geeky

imperfect google

as i’ve argued before, google’s algorithm is imperfect.. here’s another discussion of its down side. the search results as well as the news results (since on their faq page they said the news follows the search algorithm closely) are ranked by page ranks. PAGE RANK DEFINED: Condensed version PageRank relies on the uniquely democratic nature… Continue reading imperfect google

geeky

cleartype and drop shadow don't mix

While surfing around the internet, sometimes you may come to a website with appearantly nasty looking, unreadable fonts.. well, let me guess, you are probably using IE and that the designer has probably used dropshadow filter in their css for their fonts. why is that? this is because you have cleartype turned on for your… Continue reading cleartype and drop shadow don't mix