ShockMyPic 1.2.1 available in the App Store

Posted by Robert Gogolok Wed, 06 Jan 2010 22:16:00 GMT

Since yesterday, version 1.2.1 of ShockMyPic is available in the App Store.

Version 1.2.1 containes the following changes/fixes:

  • Correctly restore filter width preview image
  • Fixed some memory leaks
  • 'Visit Homepage' URL is now http://www.shockmypic.com

The Clang static analyzer has been helpful in finding obvious memory leaks.

For the next release, we plan to add an option to filter the images also in higher resolutions (as requested by many). Currently, an image is filtered in around 4 seconds on the iPhone 3GS and in around 10 seconds on the other iPhone and iPod touch models. Higher resolution will dramatically increase the filter process time :-(

Switch from lighttpd to nginx

Posted by Robert Gogolok Sat, 10 Oct 2009 04:41:00 GMT

Since a few minutes ago my FreeBSD VPS is running Nginx as webserver and not lighttpd anymore. Especially the passenger module for nginx is very nice and simple. I had no trouble switching the lighttpd configuration to nginx. We'll see how it performs.

RB_USER_INSTALL to the rescue

Posted by Robert Gogolok Sat, 10 Oct 2009 01:23:00 GMT

If you try to install gems with extensions as non-root user, you will fail (in general)!

For example, installing hpricot results in the following error message on my FreeBSD 7.2 machine:

make install
/usr/bin/install -c -o root -g wheel -m 0755 hpricot_scan.so /home/username/GEMS/gems/hpricot-0.8.1/lib
install: /home/username/GEMS/gems/hpricot-0.8.1/lib/hpricot_scan.so: chown/chgrp: Operation not permitted
*** Error code 71

The file rbconfig.rb contains some info how you're ruby version has been built.

$ pkg_info -L ruby-1.8.\* | grep rbconfig.rb
/usr/local/lib/ruby/1.8/i386-freebsd7/rbconfig.rb

It containes the following interessting line:

CONFIG["INSTALL"] = ENV['RB_USER_INSTALL'] ? '/usr/bin/install -c' : '/usr/bin/install -c -o root -g wheel'

So, by default, gem extensions will be installed as user root of group wheel on my system. On the other hand, if RB_USER_INSTALL gets set as environment variable, gems will install with the permissions of the user calling gem install!

ShockMyPic 1.0 (Desktop) 1

Posted by Robert Gogolok Sun, 30 Aug 2009 15:46:00 GMT

Andreas Steinel and me released a desktop version of ShockMyPic.

screenshot

It is available for Mac OS X and Windows and preserves the filtered image size in contrast to the iPhone version.

Furthermore, you can follow the development by following our ShockMyPic twitter account.

ShockMyPic 1.2 (iPhone)

Posted by Robert Gogolok Sun, 30 Aug 2009 15:38:00 GMT

ShockMyPic 1.2 for the iPhone has been released on the iTunes App Store.

From the ChangeLog:

  • Reduce filter time to around 10 seconds
  • Updated translations:
    • French
    • Portuguese
    • Spanish