Installed Disqus for comments moderation. Akismet was working but spam was killing my tiny server.
CodeIgniter Out Of Memory Error
I was dealing with same issue. I thought CodeIgniter’s DB engine had a memory leak somewhere. Luckily, I found this blog:
Query Saving is a feature of CI’s database class that stores the results of every query in memory until the controller is finished executing. As it turns out, in version 1.6.0, the ability to turn this off was added. The addition of the save_queries variable is listed in the Change Log, but as of the latest release of 2.0.0 last week, it still hasn’t made the documentation.
$this->db->save_queries = FALSE;
via Undocumented CodeIgniter | Green Egg Media.
One thing to note is that disabling save_query would disable some other Database class functions like last_query(). So it is not just used by profiler.
Why I will continue to use GroupOn
When GroupOn first started, I was able to blindly purchase any deal because I knew it was a good deal. Discounts were real good. Restaurants were better than average restaurants.
But lately GroupOn has more competition with Amazon, Google, Living Social and countless other daily deal sites. Because of so much competition, I feel GroupOn has been accepting deals from less than good merchants.
This year, I ordered some photoboards. The result was awful. I contacted the merchant but they were horrible with their customer service. Phone lines were busy, emails took days to receive a reply. The worst, they refuse to admit their mistake.
So I contacted GroupOn’s customer service to refund my GroupOn based on their GroupOn promise. Turns out GroupOn promise does NOT apply to GroupOn Goods. But their customer service was able to respond much faster and I think the merchant was responding to inquires from GroupOn faster than the ones from actual customers. Anyways, after I got GroupOn involved, the merchant’s customer service was responsive for a bit but then they went dead again. So I contacted GroupOn once more. I didn’t expected a whole lot. I thought I was done with GroupOn.
But GroupOn’s customer service changed my mind. Instead of sending me back to the merchant to deal with their customer service, they simply issued a refund. Just because of this I will continue to use GroupOn as my preferred daily deals site. I think in future I will avoid the GroupOn Goods but I recommend GroupOn daily deals. Yes GroupOn links are my referral links, so I make $10 if you sign up with GroupOn.
And I have not named the merchant because I know a lot of small businesses don’t have any experience with daily deals and they mess up royally. I saw their Facebook fan page and it was full of people complaining. I hope they learned from this experience and next time they either hire extra staff when running a national daily deal or set up a limit on the orders.
Simba the BichonPoo
So we are proud owners of this beautiful puppy. He is only 14 weeks old. I have never ever had any dog, so I have been so nervous. House training is a lot of work. Today, took him to vet for check up and shots. He said we are doing everything right except we are treating him a bit too nice. He told me to keep him in the crate all the time except when taking him outside or actively playing with him. Until he is fully house trained, we should not let him run around the apartment even if we are present. Also for some reasons, he has to go to bathroom at three in the morning. He would start making noises, and I would let him out. Vet told me not to do that or he will never learn to hold it until the morning. Training a dog require a lot of tuff love.
FitBit as a Necklace
I love my FitBit. The only issue I had with FitBit was that you have to put it in your pocket. This makes it easy to forget FitBit in a pocket or accidentally drop it while pulling out keys from the same pocket etc. Also it makes it hard to see your progress since you have to first take it out of pocket.
So I decided to use it as a necklace. I bought a cheap necklace from American Eagle and then plugged in FitBit. It looks pretty cool.
I was afraid that it might not be very accurate but turns out it is as accurate as FitBit in the pocket. For me, FitBit seems to miss first 3 steps then it counts every step. I used it for dancing and that was pretty accurate too. I can easily hide FitBit if needed. Loving it more.





