166 karma · joined March 2, 2012
var myBytes = GetMyBytesItr();
for (var i = 0; i < myBytes.Count(); ++i)
{
ProcessByte(myBytes.ElementAt(i));
}
and you'll be in a world of hurt especially if GetMyBytesItr() allocates a memory buffer. Count() causes the "get the bytes data" action to occur, as does every iteration of ElementAt(). Now I'm not saying this is definitely what you were experiencing, but it's a common pitfall. Also, using ElementAt() for each iteration is, of course, completely contrived for this example (you'd want to foreach instead which would cause only one execution of the "get the bytes data" action).But I wanted to read about it more in-depth and gain an understanding beyond my and your speculation. For whatever reason, I have a macabre pet interest in Groupon.
The article is a disappointment in that very little is actually said about Groupon. I was hoping for the nitty gritty details of their dirty scammy business.
Things may have since changed - this was back in v2.12 days - and / or other stacks (like service stack) may be more stable, but it's just easier for me to stick with Windows.
With all this said, however, I have had fun trying the MonoTouch toolkit demos. I hope to find some time to build a real iOS app (one that works with the aforementioned website, in fact). Fingers crossed things will work out better this time for me and Mono.
[1]: http://www.ditii.com/2012/05/22/github-windows-released-supp... (second image down)
http://msdn.microsoft.com/en-us/library/windows/apps/br21138...
> The overwhelming majority of the businesses on Groupon are failing.
This may or may not be true. Even if true, I fault the failing business owner for being a bad business owner. But I still largely fault Groupon for preying on those who have a history of bad decision making. "Oh, this guy isn't business savvy?! twists mustache Let's sell 'em on Groupon!"
But there are more systemic issues with Gropoun, merchant, and employee relationships. Again, the DNA of a grouponer - being that of a deal thrift - often leads to a strained relationship between employees and grouponers. No use in fostering good rapport with the customer; you'll never see 'em again. Tips will be small (again, deal thrift), upselling is improbable, etc., all leading to employees often becoming resentful toward grouponers. All this leads to a large net negative to the small business owner.
Groupon is a well disguised parasite.
http://www.msnbc.msn.com/id/45398235/ns/world_news-europe/#....
http://www.riverfronttimes.com/2011-10-13/news/groupon-fail-...
http://crosscut.com/2012/04/11/business/22198/Groupon-When-w...
But know your route and Waze can be helpful and even a little fun.