BigTablet.com Blog

June 17, 2009

Install Passenger on OSX but getting 403 Permissions Error?

Filed under: Ruby & Rails — ciddennis @ 3:31 pm

I installed Passenger on my macintosh and found that I keep getting a 403 error. So after some digging I found a few things.

  • Make sure all directories in your rails app are owned by the same user and have permission of 755.
  • Add PassengerDefaultUser to your httpd.conf file and set its value to your user name.
  • You may need to put a directory area in that look like this

<Directory “<<path to rails app public dir>>”>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

</Directory>

  • Add RailsEnv development in your httpd.conf/

Hope this helps save you time…

Redirect Stdout and Stderr to Log in Passenger

Filed under: Ruby & Rails — ciddennis @ 2:40 pm

I recently moved my server to use passenger and found that while doing development I lost my standard out and error. After some work I found if I add this to the top of my environments.rb file all my standard out and error are put in file in the rails root / logs directory….


if ENV["TMPDIR"] && ENV["TMPDIR"].index("passenger")
std_out = File.new(RAILS_ROOT + "/log/stdout.log","a")
std_err = File.new(RAILS_ROOT + "/log/stderr.log","a")
$stdout.reopen(std_out)
$stderr.reopen(std_err)
end

May 19, 2009

Why do people hate vendors

Filed under: Rants — ciddennis @ 7:47 pm

So I have a situation where I not only provide services as a vendor but consume services from other vendors. I have always tried to be nice to the vendors I work, with but noticed that in many cases others do not extend the same good behavior.  This is just not to me working as a vendor but I see it all the time with companies working with other vendors.

Some of the top request that I see from companies working with vendors:

  • Unrealistic timelines to provide functionality that they will not even want for months after it is completed
  • Just plain being rude to the vendor.
  • Using promise carrots to get something they want but not following through on the promise.

I think if you do not want help from a vendor just tell them straight out.  Do not lead them on they have better things to do with their time then to try for work that they can not get.

May 18, 2009

Rails 2.3 and Memcache Server Hashes

Filed under: Ruby & Rails — Tags: — ciddennis @ 3:39 pm

So at another project I have situation where I have to share some information in memcache with a java client.   We use a cluster of about 5 memcachd servers to do this data sharing.    This has worked fine for a number of months but when I recently upgraded to rails 2.3 I found it would no longer find right servers.   When I looked in to it more I found that the memcache_client library changed its servers selection algorithm to use something called consistent hashing.  Anyway now the default Rails.cache.fetch does not work.  So while I look for a java client that uses the same server selection algorithm I just did this:


def get_memcach_token(mem_cache_id)
Rails.cache.addresses.each { |address|
value = MemCache.new([address]).get(mem_cache_id,{:raw => true})
return value if value
}
nil
end

The other option is to go back to memcache_client 1.5.  But then you are going to be stuck there forever.

January 9, 2009

On-Site Manager Now post to BigTablet

Filed under: Bulk Posting — ciddennis @ 7:59 pm

We are happy to welcome On-Site Manager as a rental property poster.

BigTablet is chosen by RentMarketer

Filed under: Bulk Posting — ciddennis @ 7:59 pm

We are happy to announce that that RentMarketer.com has chosen bigtablet.com to post it real estate rental ads on.

What we do not like about Craigs List

Filed under: General News — ciddennis @ 1:16 am

One of the reasons I started BigTablet was I did not like a few things about craigs list.  While it has a huge amount of ads I had a very hard time finding things I wanted because there is not a good way to filter the content.  When I was looking for a truck topper I just had to try searchs like truck topper.  I could not say I was looking for a toyota truck topper or even the mode.   At bigtablet we provide that ablity and hope people find it easier to search.

January 8, 2009

Posting Time

Filed under: General News — ciddennis @ 3:34 am

Right now we keep ads for 7 days unless renewed.  While that does not seem like a long time we found that when posting and searching on other sites the items were sold very fast and anything older then a few days were just worthless.   So in order to keep ads as fresh as possible we thought 7 days was long enough.  But we would like you feed back.  Here is a poll to help us decided if we should make the time even shorter.

 


Why we accept Bulk Listing

Filed under: Bulk Posting, General News — ciddennis @ 3:24 am

We here at bigtablet.com feel that we do not want to limit where you can find the best deal on an item.  So we allow commercial business the ability to list items for sale via an XML feed.   

While we have commercial listing on our site we also allow the person searching to filter out the commercial listings via the search so that if they are really looking for a private party then it is easy to find.

BigTablet.com is Live

Filed under: General News — Tags: — ciddennis @ 3:09 am

We just put out our first version of www.bigtablet.com and we are very happy with the outcome.  We really hope that you will find bigtablet.com helpfull in posting classified ads and hope that you give us feed back on what we can do better.    BigTablet will always be a work in progress.

Create a free website or blog at WordPress.com.