Random forum avatars - part two

Posted by Quinny Sun, 07 Feb 2010 23:42:55 GMT
Tonight, Twitter user Chris Smith suggested using redirect headers instead of using GD to render the image.

This didn't even occur to me, when I started with this idea. It is much more elegant and does not need the GD library. Continue reading to see the new code!

no comments |

Random forum avatars

Posted by Quinny Thu, 04 Feb 2010 23:26:37 GMT
Random forum avatars

Today I felt like changing my avatar on one of the forums I frequently visit. I then thought it would be fun if I could have a random avatar, chosen from a directory on my server.

After about half an hour of experimenting and Googling I came up with something that works reasonably well. The only thing I need to look at is the increased JPEG compression that is very visible in the images, after they've been through the PHP script.

Continue reading for my code.

no comments |

Typo update

Posted by Quinny Tue, 02 Feb 2010 15:11:46 GMT
I finally went from Typo 5.3 to the newest (at the time of writing) version: 5.4.2.

no comments |

Modding a Futaba S3001 Servo

Posted by Quinny Wed, 23 Dec 2009 16:09:45 GMT
This really is easy, but I had to do a bit of Googling and look at very small pictures to see what I had to do. Therefore, I've taken pictures along the way and written this little guide.

We start with a Futaba S3001 Servo:

IMG_3539.jpg

no comments |

Flash performance on OSX - Safari vs Firefox vs Opera

Posted by Quinny Wed, 23 Sep 2009 21:35:02 GMT
Just a quick test with a random Youtube HD movie I grabbed from their frontpage. The (quick and dirty) screenshots should say it all:

Safari:

Screen shot 2009-09-23 at 23.29.16.png


Firefox:

Screen shot 2009-09-23 at 23.29.53.png


Opera:

Screen shot 2009-09-23 at 23.30.23.png


Why does Safari perform so badly? My regular browser is still Safari, but I'm thinking about switching to Opera on my MacBook Air, it will probably run cooler and use less power... (I haven't tested CPU usage under normal browsing conditions, but considering a LOT of pages have at least some Flash ads...)
I did however test this with multiple movies, all of them show this kind of difference in CPU usage.

Posted in | 1 comment |