Advocates of Linux, Postgres, Ruby, OpenLDAP and OpenStack all tout the benefits of having an open-source architecture. Granted, it's a hard pill to swallow especially in compliance-ridden industries (finance, health). The benefits are vast though...
Onward and Upward
There are 2 trends I've noticed with my career and it's likely that they are related: 1. I've been going from smaller to smaller companies. 2. I've been wearing more and more hats. Along the way, my work-life balance became unbalanced. I've learne...
Link broken in Firefox but not Chrome
Coding for a multitude of browsers is always fun. The latest issue I ran into is that firefox doesn't like elements with an id that starts with a number. So is kosher with javascript handling in chrome but not legit with firefox.
Solr Sunspot
There are a lot of search options for rails applications out there. We batted around with meta_search, and while implementing it, we ended up doing more and more straight sql searches. While this allowed greater customization and control over what...
git permission denied when doing a push
I've been operating primarily in one repository, but had to create and work in another. When I tried to push my code to my new repo, I got the following error: $ git push -u origin master ERROR: Permission to xxxxxxx denied to yyyyyyyy. fatal: The...
LinkedIn javascript API
I promised a couple posts back that I would write about how I'm doing the linked-in authorization and posting. This isn't as easy as facebook, and there is really no good gem for it. The one that we did find (http://rubygems.org/gems/linkedin) doe...
New app idea
In doing the facebook and linked-in integration for the app I'm working on, I've thought up of a new app idea. The Anti-Social App. The goal, of course, is to create a social network out of anti-social people (think MMORPG). How? First we need to ...
Using ruby & javascript for Facebook posts
Allowing auto-post to social media is pretty hot right now. Here's how to do it via facebook. LinkedIn to follow. Get the koala gem. https://github.com/arsduo/koala/wiki/ Get your facebook API keys. https://www.facebook.com/developers/createapp.ph...
Microsoft IE & paperclip validations
Found an issue today where a paperclip image validaiton works in all browsers except IE. I hate IE. Anyway, here's how to fix it. Add in image/pjpeg as a content type for validation:
Postgres performance tuning – shmmax
Kudos to this blog for helping with postgres performance tuning. http://www.revsys.com/writings/postgresql-performance.html Per the blog, the biggest change that you'll notice is the shared_buffers change. I tried this, but got into kernel shmmax ...