<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sumit Chachra on Medium]]></title>
        <description><![CDATA[Stories by Sumit Chachra on Medium]]></description>
        <link>https://medium.com/@chachra?source=rss-8c7fe5cb7d1e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lUI1vwSHmI2P74sgO1JX5g.jpeg</url>
            <title>Stories by Sumit Chachra on Medium</title>
            <link>https://medium.com/@chachra?source=rss-8c7fe5cb7d1e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:48:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chachra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Three things to be thankful about in California]]></title>
            <link>https://chachra.medium.com/three-things-to-be-thankful-about-in-california-a855a4f55e5c?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a855a4f55e5c</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:31:53 GMT</pubDate>
            <atom:updated>2015-04-22T10:31:53.513Z</atom:updated>
            <content:encoded><![CDATA[<p>Having lived in California for 4+ years now there is a lot to be thankful about. The beaches, sun (not in SF sadly), bounty of natural resources, fresh organic food etc. etc. There is a lot that sucks too (high taxes etc.) but thats for another day…..</p><p>But there are three things in the CA law that keep coming to my attention now and then. These are things that most other US states don’t have and make CA a much better state to be in.</p><p><strong>No non-compete bullshit</strong></p><p>Non-competes are evil. Plain and simple. California doesn’t respect, allow or recognize them. From <a href="http://en.wikipedia.org/wiki/Non-compete_clause#California">Wikipedia</a>: “Noncompete agreements are automatically void as a matter of law….”.</p><p>Even if you move to California from another state, and you had signed non-competes there, they are no longer valid or binding.</p><p><strong>No service fees or expiration of Gift Cards</strong></p><p>Retailers use a lot of tricks to make money. Even gift card loopholes are not beyond them. CA / Connecticut / MA are the only states that protect consumers against these things. Gift cards can never expire… period.</p><p>The recent online coupon craze from <a href="http://groupon.com/">Groupon</a>, <a href="http://livingsocial.com/">LivingSocial</a>, <a href="http://freshguide.com/">Freshguide</a> etc. is another example. All these offers come with an expiration date, which is all fine. But the catch is when you don’t use these offers and they expire. In CA the base value you paid ($10 for a $20 coupon say) is always to be recognized by the small business. Meaning you never ever lose money you paid!</p><p><strong>Limited private beaches</strong></p><p>Most of the 1000 miles of CA coast is accessible by anyone. Yep, no private beaches. There are a few exceptions though, private beaches in Avalon, on Vandenberg Base and along the Central coast are but a few of the locations where you won’t be welcome.</p><p>Coastal access at the fancy <a href="http://www.ritzcarlton.com/en/Properties/HalfMoonBay/Default.htm">Ritz Carlton</a> in Half Moon Bay is a great example. The local/CA government made sure there is even a parking structure built on this property for people to park their cars (for FREE) and get coastal access.</p><p><em>Originally published at </em><a href="http://blog.chachra.us/2010/08/01/three-things-to-be-thankful-about-in-california/"><em>blog.chachra.us</em></a><em> on August 1, 2010.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a855a4f55e5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Loyalty when shopping online ?!]]></title>
            <link>https://chachra.medium.com/loyalty-when-shopping-online-75760dcf5645?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/75760dcf5645</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:31:34 GMT</pubDate>
            <atom:updated>2015-04-22T10:31:34.264Z</atom:updated>
            <content:encoded><![CDATA[<p>Is the average online shopper loyal? Would he still pay 5% more on Amazon than buying the same product from a not so well known online seller? I say it depends on what a person is buying.</p><p>If its a $3k plasma television then sure go ahead and buy from Amazon (given that they give a 30 day price guarantee (more on that later) and their electronics prices are very competitive… after rebates mostly). But what if its a $30–50 book or some similar product whose price doesn’t fluctuate as much as electronics? I don’t see why I should be loyal to any online seller when buying such a product. This is in contrast to an old essay by Joel Spolsky on <a href="http://www.joelonsoftware.com/articles/fog0000000056.html">Ben and Jerry’s vs. Amazon</a>, where he talks about network effects and customer lock-in.</p><p>All this came to my mind when I was on a book buying spree this week. I bought 4 books and none of them from Amazon! Froogle searches led me to these two great sites: <a href="http://www.superbookdeals.com/">superbookdeals</a> and <a href="http://www.bookpool.com/">bookpool</a>. Below is the money I saved on each book (including shipping costs etc.):</p><ol><li><strong>The Art of Product Management</strong> — <em>Scott Berkum </em>** Money Saved = <strong>$7</strong></li><li><strong>Cocoa Programming for Mac OS X</strong> — <em>Aaron Hillegass ** </em>Money Saved = <strong>$7.05</strong></li><li><strong>Java Puzzlers: Traps, Pitfalls, and Corner Cases </strong>— <em>Joshua Bloch ** </em>Money Saved = <strong>$12.04</strong></li><li><strong>PHP and MySQL Web Development</strong> — <em>Luke Welling &amp; Laura Thomson ** </em>Money Saved =<strong> $4.34</strong></li></ol><p>The best part of these purchases was not the price after all. It was the fact that ALL books shipped the next business day. This has not happened on my Amazon orders in the last 6 months at least. They have this <a href="http://www.amazon.com/exec/obidos/subst/misc/super-saver-shipping-pop-up.html/ref=mk_gship_dp/002-3037480-7844813">clause</a> that if you use “Free Shipping” then shipping of the order will be delayed by 3–4 days even if the product page said “Usually ships in 24 hours”. My advice: dump big online sellers and go for small sellers who are ready to give better service at a much better price!</p><p><em>Originally published at </em><a href="http://blog.chachra.us/2005/10/02/loyalty-when-shopping-online/"><em>blog.chachra.us</em></a><em> on October 2, 2005.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75760dcf5645" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[1–800-INDIA]]></title>
            <link>https://chachra.medium.com/1-800-india-637d07e5d0d0?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/637d07e5d0d0</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:31:14 GMT</pubDate>
            <atom:updated>2015-04-22T10:31:14.171Z</atom:updated>
            <content:encoded><![CDATA[<p>An interesting <a href="http://www.pbs.org/wnet/wideangle/shows/india2/">movie</a> about the outsourcing industry in India:</p><blockquote><em>Over the past decade, India has emerged as the leader in the global market for white-collar “outsourcing” jobs — a notable component of India’s rapid economic growth. A dramatic and personal film, “1–800-INDIA” explores the experience of young Indian men and women who have been recruited into these new jobs requiring long hours, night shifts, and westernized work habits. The film reveals the human and cultural impact of a sweeping global trend, exploring its effect on Indian family life, on the evolving landscape of Indian cities and towns, and on the aspirations and daily lives of young Indians, especially women, entering the work force.</em></blockquote><p>A <a href="http://www.pbs.org/wnet/wideangle/shows/india2/">video</a> that discusses this movie and outsourcing in general. Clyde Prestowitz happens to be the author of the new book <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0465062814/qid=1126752586/sr=8-1/ref=pd_bbs_1/002-5821411-6599239?v=glance&amp;s=books&amp;n=507846">Three Billion New Capitalists: The Great Shift of Wealth and Power to the East</a>.</p><p>Although call centers get most of the attention in these kind of movies, I think more needs to be said about progress being made on other fronts (such as retail, manufacturing, software products, the growing and consumption oriented middle class etc.).</p><p><em>Originally published at </em><a href="http://blog.chachra.us/2005/09/14/1-800-india/"><em>blog.chachra.us</em></a><em> on September 14, 2005.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=637d07e5d0d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ICRA 2006]]></title>
            <link>https://chachra.medium.com/icra-2006-4312f278b337?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4312f278b337</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:30:40 GMT</pubDate>
            <atom:updated>2015-04-22T10:30:40.039Z</atom:updated>
            <content:encoded><![CDATA[<p>I should have been in FLorida today attending <a href="http://www.icra2006.org/">ICRA 2006</a> (International Conference on Robotics and Automation). Due to lack of time, resources and inclination I wasn’t able to make it. Would have been nice to go out to Florida and meet up with the brightest people in the field at THE technical conference for Robotics. For anyone interested here’s a copy of my <a href="http://blog.chachra.us/ICRA06_Chachra_Marefat.pdf">paper [PDF]</a>. Here are the session details: Session: Sensor Networks Parallel: 06 — Room: Salon 2 ID: Th-AM1–06 Chairs:</p><p>* Gregory Dudek * Miloš Žefran</p><p>Papers:</p><p>* Placement and Distributed Deployment of Sensor Teams for Triangulation Based Localization Volkan Isler * Distributed Algorithms for Sleep Scheduling in Wireless Sensor Networks Sumit Chachra, Michael Marefat * A Practical Algorithm for Network Topology Inference Dimitri Marinakis, Gregory Dudek * Stability Analysis of Information Based Control for Biochemical Source Localization Panos Tzanos, Miloš Žefran * Optimal Information Propagation in Sensor Networks Peng Yang, Randy A. Freeman, Kevin M. Lynch * Instrumenting Wireless Sensor Networks for Real-Time Surveillance Songhwai Oh, Phoebus Chen, Michael Manzo, Shankar Sastry</p><p><em>Originally published at </em><a href="http://blog.chachra.us/2006/05/18/icra-2006/"><em>blog.chachra.us</em></a><em> on May 18, 2006.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4312f278b337" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Calendar improvements/ideas]]></title>
            <link>https://chachra.medium.com/google-calendar-improvements-ideas-42ed020cd58f?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/42ed020cd58f</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:30:00 GMT</pubDate>
            <atom:updated>2015-04-22T10:30:00.720Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m a heavy user of Google mail/calendar/notebook etc. This is a part 1 on some of these Google products, and how I think they can offer a better user experience, with what I think are potentially low hanging fruit.</p><p>I have a bit more calendar feedback than others, hence devoting an entire post on it. So here goes:</p><p><strong>Multiple reminders</strong>: be abled to have multiple reminders for each of my calendar events (eg. 1 week, 2 hours). NOTE: Seems this feature got implemented sometime in the last 2 weeks or so… Google can read my mind!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/15/0*zCPWc6_d3Yh8k65_.gif" /></figure><p><strong>Repeat Whenever</strong>: Be able to repeat a event at $n$ future dates. For example festivals happen on different days (Chinese new year etc.) Not all events happen at regular intervals. <strong>Reminders for non-default calendars</strong>: Be able to set reminders for events not on default calendar? NOTE: Even this got implemented as of May 3, 2007. Read <a href="http://googleblog.blogspot.com/2007/05/calendar-on-go.html">here</a>. <strong>Events at non-day/time resolution</strong>: Putting events at the month/year/week resolution? For example year of the pig, month of excitement, week of joy? I can’t describe these events without making an event that has start and end dates of appropriate length. You can imagine the messy look on my calendar if I describe the year of the pig as a year long event!! This feature would be on the lines of an “All day” event. <strong>Better repeats</strong>: I’d like the capability to be able to put events at the level of “last day of month / middle of the month” etc. I know last friday or the month is possible, but I don’t happen to be able to use it (yet). The <em>repeat whenever</em> feature I mention above is slightly different than this one. <strong>Better reminders</strong>: Reminders at $n$ days before an event? Currently its maxed out at 1 week? <strong>GTalk integration</strong>: How about showing me as busy on GTalk based on my calendar events, if I’ve marked myself as busy on my calendar? Not sure if everyone would want this, hence this could be an optional setting.</p><p>Hopefully someone on the Google Calendar is reading this (and my mind!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/15/0*9o-a_8KCim02SmKV.gif" /></figure><p><strong>UPDATE</strong>: How could I forget to request a J2ME app for Google Calendar, similar to <a href="http://www.google.com/mobile/mail/index.html">Gmail Mobile</a>. Am sure Google is working on this, given the popularity of their current mobile offerings!</p><p><em>Originally published at </em><a href="http://blog.chachra.us/2007/05/06/google-calendar-improvements/"><em>blog.chachra.us</em></a><em> on May 6, 2007.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42ed020cd58f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fanning/Following is the new SEO?]]></title>
            <link>https://chachra.medium.com/fanning-following-is-the-new-seo-748fa2f59c14?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/748fa2f59c14</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:29:00 GMT</pubDate>
            <atom:updated>2015-04-22T10:29:00.837Z</atom:updated>
            <content:encoded><![CDATA[<p>So lots of friends have been messaging and emailing me about my bizarre Fanning behavior on Facebook. Weirdly none complain when I fan someone/some brand on Twitter. I guess cause that affects my feed, not theirs (Facebook apparently informs them about my fanning?).</p><p>In any case, I thought I’ll fire up a blog post about it, and guess where a few of these things are headed, and why its important that people fan brands, things/people they like etc.</p><p>Firstly irrespective of how many friends you have (I have around 250) on Facebook, there is no way your stream has new things to show every time. It simply doesn’t happen. For most people who check their Facebook 1–2 times a day its fine, but mostly people probably are spending north of 1 hour on Facebook (site/mobile etc.).</p><p>For the latter, fresh content is important, otherwise they are simply wasting time. Many people are getting their news, thoughtful articles etc. simply based on this feed. I can imagine 15–18 year olds not caring much of Yahoo! news, Google news etc.</p><p>Now back to the fanning behavior, the more things you fan, the more realtime your feed can be. Now if a brand spams my feed, I simply remove them. But most brands are being creative, they don’t talk about themselves all the time. In fact they provide thoughtful notes, links and commentary on things that have absolutely nothing to do with their brand.</p><p>Facebook Pages is going to evolve, and my money is on the fact that its going to really make Social (e)Commerce skyrocket. With the pending launch of Facebook Payments, its going to make for one heady mix! Imagine Brand X launches a product Y. They inform all their followers (say10k+). These followers with a few clicks can buy product Y off Brand X’s facebook page, without leaving Facebook, without entering their address/credit card # etc. cause Facebook already knows those details. Whats more these people get to share their purchase with their friends etc.</p><p>Now all this can be done on <a href="http://www.brandx.com/">www.brandX.com</a> also, and they can possibly (and most probably will) use Facebook Connect on their site, and make it social. But the idea of going to one place (Facebook) and being able to get all your news, catch up on friends, order product Y (maybe some flowers for your Mom) etc. etc. is pretty nice!</p><p>So there you go, I don’t really love each of the brands I fan on Facebook, but thats a cost I am willing to pay for a realtime stream, interesting links/discussions and getting to know more than I will from just my friends (who are awesome too!)</p><p>Tagged as: <a href="http://blog.chachra.us/tag/connect/">connect</a>, <a href="http://blog.chachra.us/tag/ecommerce/">ecommerce</a>, <a href="http://blog.chachra.us/tag/facebook/">facebook</a>, <a href="http://blog.chachra.us/tag/pages/">pages</a></p><p><em>Originally published at </em><a href="http://blog.chachra.us/2009/09/06/fanningfollowing-is-the-new-seo/"><em>blog.chachra.us</em></a><em> on September 6, 2009.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=748fa2f59c14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moving Wordpress mu to a different domain]]></title>
            <link>https://chachra.medium.com/moving-wordpress-mu-to-a-different-domain-9fd1eeafd601?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fd1eeafd601</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:28:31 GMT</pubDate>
            <atom:updated>2015-04-22T10:28:31.237Z</atom:updated>
            <content:encoded><![CDATA[<p>So I have a <a href="http://wordpress.org/">Wordpress</a> MU setup where we’re hosting a bunch of sites/blogs (email me at sumit AT tivixlabs.com if you’re interested in one).</p><p>As with all my <a href="http://www.djangoproject.com/">Django</a> webapps I wanted to replicate all the sites on qa for testing purposes (so that we’re not messing production sites with plugin / wordpress upgrades etc.). The problem is the qa site runs on a different domain (say domain2.com) than the production MU install (say domain1.com).</p><p>Since my stores the domain in 1 file (easy to fix) and a bunch of db tables, the easy solution is to:</p><ul><li>Make a copy of entire wordpress directory and put the correct domain in wp-config.php in this line: define(‘DOMAIN_CURRENT_SITE’, ‘domain2.com’ );</li><li>Take a dump of your existing MU installs database. Open that dump file and do a replace of all “domain1.com” strings with “domain2.com”. Next do a replace of “domain1″ with “domain2″. Source this new dump into the new database for the new MU instance.</li></ul><p>Thats it. These 2 steps should be it. Your MU site should now run like your old one, but at domain2.com and all existing sites/blogs will run at old-sub-domain.domain2.com too!</p><p>Tagged as: <a href="http://blog.chachra.us/tag/django/">Django</a>, <a href="http://blog.chachra.us/tag/wordpress/">WordPress</a></p><p><em>Originally published at </em><a href="http://blog.chachra.us/2010/03/04/moving-wordpress-mu-to-a-different-domain/"><em>blog.chachra.us</em></a><em> on March 4, 2010.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fd1eeafd601" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sandboxing emails in Django]]></title>
            <link>https://chachra.medium.com/sandboxing-emails-in-django-f033a18d0eef?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f033a18d0eef</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:28:13 GMT</pubDate>
            <atom:updated>2015-04-22T10:28:13.428Z</atom:updated>
            <content:encoded><![CDATA[<p>Its usually good to sandbox your QA / staging environments so that they don’t shoot out emails to real email addresses (say you’ve made a copy of your production database). Django 1.2 and their email backends make it really easy to do so.</p><p>Here’s a testing email backend I wrote. Simply drop in a email address associated with the DEFAULT_TO_EMAIL setting in your settings.py. Also set the EMAIL_BACKEND in settings.py to the class below.</p><p>This also takes care of cases where in your code you’re sending a “mass mail” (using send_mass_mail), it’ll only send one out.</p><pre>from django.core.mail.backends.smtp import EmailBackend class TestingEmailBackend(EmailBackend): &quot;&quot;&quot; Used in dev and qa &quot;&quot;&quot; def send_messages(self, email_messages): &quot;&quot;&quot; Overrides the to email address. Also if there are tons of messages being sent out then it reduces them to 1 message. &quot;&quot;&quot; if len(email_messages) &gt; 1: email_messages = (email_messages[0],) email_messages[0].to = [django_settings.DEFAULT_TO_EMAIL,] super(TestingEmailBackend, self).send_messages(email_messages)</pre><p><em>Originally published at </em><a href="http://blog.chachra.us/2010/07/10/sandboxing-emails-in-django/"><em>blog.chachra.us</em></a><em> on July 10, 2010.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f033a18d0eef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things to do in Hyderabad]]></title>
            <link>https://chachra.medium.com/things-to-do-in-hyderabad-d8a13b3e71b7?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8a13b3e71b7</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:14:46 GMT</pubDate>
            <atom:updated>2015-04-22T10:14:46.359Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*_3zYcJo5cxKXn5br.jpg" /></figure><p>Image via <a href="http://commons.wikipedia.org/wiki/File:Chowmahalla-palace-hyderabad.jpg">Wikipedia</a></p><p>Priyanka and I spent 3 nights in Hyderabad, while there for a friends wedding. We made a vacation out of it and had a great time.</p><p>The highlight of the trip was our stay at <a href="http://www.theparkhotels.com/park/hyderabad/hotels/index.html">The Park</a> there. Even though the tripadvisor ratings for the hotel are wanting, its a great new hotel with a lot of potential. Overlooking the <a href="http://maps.google.com/maps?ll=17.45,78.5&amp;spn=0.01,0.01&amp;q=17.45,78.5%20(Hussain%20Sagar)&amp;t=h">Hussain Sagar lake</a>, the Hotel has a infinity pool, outdoor seating, a 24 hour cafe, 3 bars and excellent staff to round it off. The morning breakfast was the best morning food spread I’ve seen in a while. Highly recommend staying there if you find yourself in Hyderabad.</p><p>We also made our way to the <a href="http://www.chowmahalla.com/">Chowmahalla Palace</a> which is worth a visit with 3–4 small palaces and exhibits. The <a href="http://maps.google.com/maps?ll=17.3613888889,78.4744444444&amp;spn=0.01,0.01&amp;q=17.3613888889,78.4744444444%20(Charminar)&amp;t=h">Charminar</a> was a bit of a disappointment. Its not been maintained, is in a super crowded market/neighborhood and just made us run to the nearest auto-rickshaw.</p><p>The <a href="http://en.wikipedia.org/wiki/Golkonda">Golconda Fort</a> is a well worth a visit too. Go around 2–3pm, so that you can hire a guide and go all the way to the top. That will take 2–3 hours and that’ll be a great segway into the 6:30pm light and sound show in English inside the fort. The acoustics and science applied 700 years ago is impressive.</p><p>Apart from these places we made our way to a local mall (GVK-1), to the <a href="http://shilparamam.org/">Shilparamam</a> (think Delhi Haat) and of course to Paradise for their famous Mutton Biryani (not the best in Hyderabad, but pretty decent. Sit in their nicer airconditioned top floor, if you’d like a more relaxed experience!). The old city is a bit chaotic and dirty, but if the airport and the 11 km freeway to the city are any signs, things are improving for sure.</p><p>Overall we were pretty impressed with the city of Nizams and highly recommend it to anyone if you have 3–4 days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/42/0*tG97M9YSdTtQhMSc.png" /></figure><p>Tagged as: <a href="http://blog.chachra.us/tag/andhra-pradesh/">Andhra Pradesh</a>, <a href="http://blog.chachra.us/tag/charminar/">Charminar</a>, <a href="http://blog.chachra.us/tag/chowmahalla-palace/">Chowmahalla Palace</a>, <a href="http://blog.chachra.us/tag/golkonda/">Golkonda</a>, <a href="http://blog.chachra.us/tag/hyderabad/">Hyderabad</a>, <a href="http://blog.chachra.us/tag/hyderabad-india/">Hyderabad India</a>, <a href="http://blog.chachra.us/tag/india/">India</a></p><p><em>Originally published at </em><a href="http://blog.chachra.us/2011/01/03/things-to-do-in-hyderabad/"><em>blog.chachra.us</em></a><em> on January 3, 2011.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8a13b3e71b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Selling tickets or variable inventory items using Satchmo]]></title>
            <link>https://chachra.medium.com/selling-tickets-or-variable-inventory-items-using-satchmo-6e873e805ba5?source=rss-8c7fe5cb7d1e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e873e805ba5</guid>
            <dc:creator><![CDATA[Sumit Chachra]]></dc:creator>
            <pubDate>Wed, 22 Apr 2015 10:14:28 GMT</pubDate>
            <atom:updated>2015-04-22T10:14:28.358Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://www.satchmoproject.com/">Satchmo</a> is a popular <a href="http://www.djangoproject.com/">Django</a> based e-commerce system. Its well suited for the most part to sell things like shirts and shoes that come in various sizes / colors (variations) etc. These are items that a seller would have a certain amount of in stock, and sell out when the inventory hits 0.</p><p>There are situations however this doesn’t work as well. Say you’re a bakery that sells cupcakes and macaroons. Lets assume you bake 100 cupcakes and 50 macaroons every day. So thats the max you can sell on a daily basis. Some days you won’t sell all, but the next day you may run out. This means your inventory number is not fixed.</p><p>Moreover the way you’ll define your “product” (thing that customer buys) will need to change. Instead of saying that “I sold a cupcake”, you have to say “I sold a cupcake on Sep. 7, 2010″. The temporal aspect is important, since your inventory is not static. The date may represent the order date or a date in the future (say you take pre-orders).</p><p>The exact same scenario applies to sellers of theater tickets (or tickets of any kind really), hotel rooms etc. Almost any kind of commerce online that has daily or variable inventory levels and / or perishable items.</p><p>OK, so how to go about solving this problem. Without going into too many details, its obvious we need to use what Satchmo calls <a href="http://www.satchmoproject.com/docs/dev/custom-product.html">Custom Product(s)</a>. Apart from that we need to capture the core product type (cupcake or macaroon or hotel room) etc. Below you will find a VariableInventoryProductType class that represents a typical type of product and a VariableInventoryProduct class that has a FK to a core Satchmo product, a day and a type of product. This is the product the customer is really buying (executive suite on December 25, 2010… room would be a product type and executive suite would be a “variation” of that).</p><pre>import logging from django.conf import settings as django_settings from django.db import models from django.contrib.sites.models import Site from django.utils.translation import ugettext_lazy as _ from product.models import SHIP_CLASS_CHOICES, Product, OptionGroup, Price from product.modules.configurable.models import ConfigurableProduct class VariableInventoryProductType(models.Model): &quot;&quot;&quot; Represents a type of product thats sold by the seller. In case of a Theater for example only one instance of this would exist. In case of a bakery say, the number of instances would be the same as the number of different types of items the bakery sells. &quot;&quot;&quot; name = models.CharField(max_length=255) description = models.TextField() slug = models.CharField(max_length=255, db_index=True) image = ImageField() default_inventory = models.IntegerField(verbose_name=&#39;Default daily inventory&#39;) active = models.BooleanField(default=True, db_index=True) order = models.IntegerField(db_index=True, default=0) base_price = models.DecimalField(max_digits=6, decimal_places=2) option_group = models.ForeignKey(OptionGroup, blank=True, null=True) shipclass = models.CharField(_(&#39;Shipping&#39;), choices=SHIP_CLASS_CHOICES, default=&quot;YES&quot;, max_length=10) featured = models.BooleanField(default=False, db_index=True) class Meta: ordering = (&#39;order&#39;, ) def __unicode__(self): return self.name class VariableInventoryProductManager(models.Manager): def get_product(self, product_type, day, create=True): qset = self.filter(product_type=product_type, day=day) if qset: return qset.get() elif create: logging.info(&#39;Creating new product of type: %s and day: %s&#39; % (product_type.name, day)) # create real satchmo product first. product = Product() product.site = Site.objects.get_current() product.name = &#39;%s on %s&#39; % (product_type.name, day) product.items_in_stock = product_type.default_inventory product.shipclass = product_type.shipclass product.save() p = Price() p.product = product p.price = product_type.base_price p.save() # Create Variations if product_type.option_group: configurable_product = ConfigurableProduct(product=product) configurable_product.save() configurable_product.option_group.add(product_type.option_group) configurable_product.create_subs = True configurable_product.save() return self.create(product=product, product_type=product_type, day=day) else: return None class VariableInventoryProduct(models.Model): &quot;&quot;&quot; Actual product thats sold by the store. FKed to an actual satchmo product. &quot;&quot;&quot; product = models.OneToOneField(Product) product_type = models.ForeignKey(VariableInventoryProductType) day = models.DateField(db_index=True) objects = VariableInventoryProductManager() class Meta: unique_together = (&#39;product_type&#39;, &#39;day&#39;) def _get_subtype(self): return &#39;VariableInventoryProduct&#39; def __unicode__(self): return &#39;%s on %s&#39; % (self.product_type.name, self.day)</pre><p><em>Originally published at </em><a href="http://blog.chachra.us/2010/09/08/selling-tickets-or-variable-inventory-items-using-satchmo/"><em>blog.chachra.us</em></a><em> on September 8, 2010.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e873e805ba5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>