mac os 10.6, ports, postgresql, rvm and the pg gem

i hope i hit all the necessary keywords with the title so you can find this one on google.
because if you, just like me, are switching to rvm on your mac os development environment and installed your postgresql via ports
gem install pg
will fail telling you, that you are missing the right headers.
gem install pg -- --with-opt-include=/opt/local/include/postgresql84/
--with-opt-lib=/opt/local/lib/postgresql84/
will fix that for you.

phm_gallery a gallery generator for radiant

i created a nifty little radiant extension for some friends which helps you to create seo friendly galleries from file system folders and so i wanted to share it with you.
Continue reading “phm_gallery a gallery generator for radiant”

fetching apple itunes rss feeds as json

if you who have to work with the apple itunes rss feeds generated here
http://ax.itunes.apple.com/rss
and hate xml parsing just as any one:

just replace the “xml” at the end with “json”
http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/
ws/RSS/topfreeapplications/sf=143441/limit=10/xml

becomes
http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/
ws/RSS/topfreeapplications/sf=143441/limit=10/json

the json files are roughly 1/3 of the size and ridiculously easy to parse.

enjoy.

paperclip with more than 32.000 attachments

those of you who run their rails app with paperclip on a standard linux server and ever tried to save more than 32.000 attachments may know the problem.

the saving of new files is shamefully refused with a meaningless error message.
Continue reading “paperclip with more than 32.000 attachments”

migrating your app from mysql to psql the nice way

today i want to talk about something that might be of growing interest in the near future.
how to get all your data from that dying old mysql database to your shiny new postgresql without all the heavy lifting?
Continue reading “migrating your app from mysql to psql the nice way”

saving ruby on rails attachments as blobs

today we want to speak about a rather controversial topic: saving your attachments for models as BLOBs into a SQL-database.
Continue reading “saving ruby on rails attachments as blobs”

welcome to the new over9000.org blog

“hello world”

i guess this is the appropriate start for “yet another coding blog”. here you will find all the small and big problems solved by the team of Müller&Wullf and friends.

so expect a big variety of programming languages, frameworks and operating systems. linux in all flavors, ruby, perl, objective-c, ruby on rails, unicorn, iphone stuff, you name it we got it.

since some of us already have some blogging experience there will be some republished articles, which non the less still work and can save you a lot of time.

so join us in our quest to make the world a little bit better and help us with your input and questions.

enjoy.