<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>mixamail on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/mixamail/</link>
    <description>Recent content in mixamail on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 29 Dec 2010 15:47:30 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/mixamail/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Google search via e-mail</title>
      <link>https://www.s-anand.net/blog/google-search-via-e-mail/</link>
      <pubDate>Tue, 28 Dec 2010 20:07:52 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/google-search-via-e-mail/</guid>
      <description>&lt;p&gt;I’ve updated &lt;a href=&#34;http://www.mixamail.com/&#34;&gt;Mixamail&lt;/a&gt; to access Google search results via e-mail.&lt;/p&gt;
&lt;p&gt;For those new here, &lt;a href=&#34;http://www.mixamail.com/&#34;&gt;Mixamail&lt;/a&gt; is an &lt;a href=&#34;https://www.s-anand.net/blog/twitter-via-e-mail/&#34;&gt;e-mail client for Twitter&lt;/a&gt;. It lets you read and update Twitter just using your e-mail (you’ll have to register once via Twitter, though).&lt;/p&gt;
&lt;p&gt;Now, you can send an e-mail to &lt;a href=&#34;mailto:twitter@mixamail.com?subject=Google&amp;amp;body=which%20is%20the%20tallest%20mountain&#34;&gt;twitter@mixamail.com&lt;/a&gt; with a subject of “Google” and a body containing your query. You’ll get a reply within a few seconds (~20 seconds on my BlackBerry) with the top 8 search results along with the snippets.&lt;/p&gt;
&lt;p&gt;It’s the snippets that contain the useful information, as far as I’m concerned. Just yesterday, I managed to find the show timings for &lt;a href=&#34;http://en.wikipedia.org/wiki/Manmadan_Ambu&#34;&gt;Manmadan Ambu&lt;/a&gt; at the &lt;a href=&#34;http://www.cineworld.co.uk/cinemas/37&#34;&gt;Ilford Cine World&lt;/a&gt; via a search on Mixamail. (Mixamail win, but the movie was a let down, given expectations.)&lt;/p&gt;
&lt;p&gt;You don’t need to be registered to use this. So if you’re ever stuck with just e-mail access, just mail &lt;a href=&#34;mailto:twitter@mixamail.com?subject=Google&amp;amp;body=which%20is%20the%20tallest%20mountain&#34;&gt;twitter@mixamail.com&lt;/a&gt; with a subject “Google”.&lt;/p&gt;
&lt;p&gt;PS: The code is on &lt;a href=&#34;https://github.com/sanand0/mixamail&#34;&gt;Github&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;http://www.s-anand.net/&#34;&gt;S Anand&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;29 Dec 2010 3:48 pm&lt;/em&gt;:
Sorry about that, Shankar. I&amp;rsquo;ve fixed that. (Simple bug: was looking for registration even though it wasn&amp;rsquo;t required)&lt;/li&gt;
&lt;li&gt;
&lt;h2 id=&#34;shankar-v-29-dec-2010-536-amanandi-tried-to-send-an-email-to-this-id-with-subject-google-and-emial-body-text-retail-industry-it-trends-i-got-the-following-response-anything-i-missed&#34;&gt;&lt;strong&gt;Shankar V&lt;/strong&gt; &lt;em&gt;29 Dec 2010 5:36 am&lt;/em&gt;:AnandI tried to send an email to this id with subject Google and emial body text &amp;ldquo;Retail industry IT trends&amp;rdquo;. I got the following response. Anything I missed?&lt;/h2&gt;
&lt;h2 id=&#34;hi-shankar-viswanathanyou-just-mailed-us-but-were-not-sure-weve-been-introduced-so-here-goeswere-mixamailmixamail-lets-you-access-twitter-via-e-mail-this-is-useful-if-you-have-e-mail-but-not-internet-access-eg-on-your-blackberryyou-havent-yet-logged-in-but-you-can-still-search-for-public-tweets-mail--with-a-subject-search-whatever-you-want-well-reply-with-tweets-mentioning-whatever-you-wantbut-if-you-log-in-at--and-give-shankar_v05infosyscom-access-to-your-twitter-account-you-can-read-and-update-tweets-tooenjoymixamailhttpwwwmixamailcom&#34;&gt;Hi Shankar Viswanathan,You just mailed us. But we&amp;rsquo;re not sure we&amp;rsquo;ve been introduced, so here goes:We&amp;rsquo;re Mixamail.Mixamail lets you access Twitter via e-mail. This is useful if you have e-mail but not Internet access (e.g. on your BlackBerry).You haven&amp;rsquo;t yet logged in, but you can still search for public tweets. Mail &lt;a href=&#34;mailto:twitter@mixamail.com&#34;&gt;twitter@mixamail.com&lt;/a&gt; with a subject &amp;ldquo;Search whatever-you-want&amp;rdquo;. We&amp;rsquo;ll reply with tweets mentioning whatever-you-want.But if you log in at &lt;a href=&#34;http://www.mixamail.com&#34;&gt;http://www.mixamail.com&lt;/a&gt; and give Shankar_V05@infosys.com access to your Twitter account, you can read and update tweets too.Enjoy!Mixamailhttp://www.mixamail.com/&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Aditya Deo&lt;/strong&gt; &lt;em&gt;3 Jan 2011 12:22 pm&lt;/em&gt;:
Ohh! So it&amp;rsquo;s developed by you?
This service is terrific! :)
Thanks!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Yasuro&lt;/strong&gt; &lt;em&gt;3 May 2011 11:00 am&lt;/em&gt;:
Is your service working? It worked beautifully with the sample query in your article, but when I tried &amp;ldquo;who is Obama,&amp;rdquo; I got &amp;ldquo;No search results.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Yasuro&lt;/strong&gt; &lt;em&gt;3 May 2011 9:52 am&lt;/em&gt;:
Great service, Shankar. I have unlimited email on my Android cell phone, but not Internet in general. So this is precisely the kind of service I was looking for.
I am wondering if you could create a separate email address for this, e.g., &lt;a href=&#34;mailto:google@mixamail.com&#34;&gt;google@mixamail.com&lt;/a&gt;, so we can skip the step of inputting &amp;ldquo;Google&amp;rdquo; in the subject field. The email app my cell phone carrier supplies is flawed, so you cannot automatically fill the subject field. Because of the non-standard-conforming behavior of the email server of the carrier, that is the only app that you can use to send and/or receive emails; I cannot use any other email client. :(
I&amp;rsquo;d appreciate it if you could consider it.
Thank you.
Yasuro&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Shortening sentences</title>
      <link>https://www.s-anand.net/blog/shortening-sentences/</link>
      <pubDate>Wed, 10 Nov 2010 08:16:37 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/shortening-sentences/</guid>
      <description>&lt;p&gt;When writing &lt;a href=&#34;http://www.mixamail.com/&#34;&gt;Mixamail&lt;/a&gt;, I wanted tweets automatically shortened to 140 characters – but in the most readable manner. &lt;/p&gt; &lt;p&gt;Some steps are obvious. Removing redundant spaces, for example. And &lt;a href=&#34;http://en.wikipedia.org/wiki/URL_shortening&#34;&gt;URL shortening&lt;/a&gt;. I use &lt;a href=&#34;http://bit.ly/&#34;&gt;bit.ly&lt;/a&gt; because it has an API. I’ll switch to &lt;a href=&#34;http://goo.gl/&#34;&gt;Goo.gl&lt;/a&gt;, once theirs is out. &lt;/p&gt; &lt;p&gt;I tried a few more strategies:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Replace words with short forms. “u” for “you”, “&amp;amp;” for and, etc.  &lt;/li&gt;&lt;li&gt;Remove articles – a, an, the  &lt;/li&gt;&lt;li&gt;Remove optional punctuation – comma, semicolon, colon and quotes, in particular  &lt;/li&gt;&lt;li&gt;Replace “one” with “1”, “to” or “too” with 2, etc. “Before” becomes “Be4”, for example  &lt;/li&gt;&lt;li&gt;Remove spaces after punctuations. So “a, b” becomes “a,b” – the space after the comma is removed  &lt;/li&gt;&lt;li&gt;Remove vowels in the middle. nglsh s lgbl wtht vwls.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;How did they pan out? I tested out these on the English sentences on the &lt;a href=&#34;http://www.edrdg.org/wiki/index.php/Tanaka_Corpus&#34;&gt;Tanaka Corpus&lt;/a&gt;, which has about 150,000 sentences. (No, they’re not typical tweets, but hey…). By just doing these, &lt;em&gt;independently&lt;/em&gt;, here is the percentage reduction in the size of text:&lt;/p&gt; &lt;table class=&#34;lines&#34; border=&#34;0&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34; width=&#34;600&#34;&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign=&#34;top&#34; width=&#34;65&#34;&gt;2.0%&lt;/td&gt; &lt;td valign=&#34;top&#34; width=&#34;535&#34;&gt;Remove optional punctuations – comma, semicolon, colon and quotes&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&#34;top&#34; width=&#34;65&#34;&gt;2.2%&lt;/td&gt; &lt;td valign=&#34;top&#34; width=&#34;535&#34;&gt;Remove spaces after punctuations. So “a, b” becomes “a,b” &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&#34;top&#34; width=&#34;65&#34;&gt;3.3%&lt;/td&gt; &lt;td valign=&#34;top&#34; width=&#34;535&#34;&gt;Replace words with short forms. “u” for “you”, “&amp;amp;” for and, etc.&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&#34;top&#34; width=&#34;65&#34;&gt;3.3%&lt;/td&gt; &lt;td valign=&#34;top&#34; width=&#34;535&#34;&gt;Replace “one” with “1”, “to” or “too” with 2, etc.&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&#34;top&#34; width=&#34;65&#34;&gt;6.7%&lt;/td&gt; &lt;td valign=&#34;top&#34; width=&#34;535&#34;&gt;Remove articles – a, an, the&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign=&#34;top&#34; width=&#34;65&#34;&gt;18.2%&lt;/td&gt; &lt;td valign=&#34;top&#34; width=&#34;535&#34;&gt;Remove vowels in the middle&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;Touching punctuations doesn’t have much impact. There aren’t that many of them anyway. Word substitution helps, but not too much. I could’ve gone in for a wider base, but the key is the last one: removing vowels in the middle kills a whopping 18%! That’s tough to beat with any strategy. So I decided to just stop there.&lt;/p&gt; &lt;p&gt;The overall reduction, applying all of the above, is about 22%. So there’s a decent chance you can type in a 180-character tweet, and &lt;a href=&#34;http://www.mixamail.com/&#34;&gt;Mixamail.com&lt;/a&gt; will still tweet it intelligibly.&lt;/p&gt; &lt;p&gt;I had one such tweet a few days ago. I try and stay well within 140, but this one was just too long.&lt;/p&gt; &lt;blockquote&gt;The Lesson: If you&#39;re writing an app (or building anything), find a use for yourself. There&#39;s no better motivation -- and it won&#39;t ever be a wasted effort.&lt;/blockquote&gt; &lt;p&gt;That was 156 characters. It &lt;a href=&#34;http://twitter.com/#!/sanand0/status/1550404978483200&#34;&gt;got shortened to&lt;/a&gt;:&lt;/p&gt; &lt;blockquote&gt;Lesson If u&#39;re writing app (or building anything) find use 4 yourself. There&#39;s no better motivation -- &amp;amp; it won&#39;t ever be wasted ef4t.&lt;/blockquote&gt; &lt;p&gt;Perfectly acceptable.&lt;/p&gt; &lt;p&gt;You may notice that Mixamail didn’t have to employ vowel shortening. It makes the most readable shortenings first, checks if it’s within 140, and tries the next only if required.&lt;/p&gt; &lt;p&gt;If anyone has a simple, readable way of shortening Tweets further, please let me know!&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;408wij&lt;/strong&gt; &lt;em&gt;11 Nov 2010 5:17 am&lt;/em&gt;:
&lt;ol&gt;
&lt;li&gt;Are removing punctuation and removing spaces after punctuation mutually exclusive, or do you have a rule for determining which punctuation is optional?&lt;/li&gt;
&lt;li&gt;You give the example of &amp;ldquo;before&amp;rdquo; going to &amp;ldquo;be4.&amp;rdquo; It could go to &amp;ldquo;b4&amp;rdquo; with the rule that the &amp;ldquo;be&amp;rdquo; and &amp;ldquo;de&amp;rdquo; prefixes reduce to &amp;ldquo;b&amp;rdquo; and &amp;ldquo;d.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;You have &amp;ldquo;you&amp;rsquo;re&amp;rdquo; going to &amp;ldquo;u&amp;rsquo;re.&amp;rdquo; You could expand &amp;ldquo;you&amp;rsquo;re&amp;rdquo; to &amp;ldquo;you are&amp;rdquo; and then reducing to &amp;ldquo;u r.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;For readability, I suggest preserving the first and last letters of words. (Compare with &lt;a href=&#34;http://www.boingboing.net/2003/09/14/scrambled-words-are-.html&#34;&gt;http://www.boingboing.net/2003/09/14/scrambled-words-are-.html&lt;/a&gt;) E.g., reduce &amp;ldquo;English&amp;rdquo; to &amp;ldquo;Englsh&amp;rdquo; instead of to &amp;ldquo;nglsh.&amp;rdquo;
Finally, I the point of the 140-char limit is to limit the scope of a tweet to a simple thought. Shortening words is cheating. But, if you&amp;rsquo;re going to cheat, I suggest an unshortener for the receiver of tweets.
408wij&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Arthi&lt;/strong&gt; &lt;em&gt;10 Nov 2010 12:38 pm&lt;/em&gt;:
I prefer tweetlonger.com.
Tweets look much better when they don&amp;rsquo;t go through reductions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;V&lt;/strong&gt; &lt;em&gt;26 Nov 2010 8:36 am&lt;/em&gt;:
I am writing something similar. Will share once done.
But my preliminary attempts brought down the characters atleast 10% lesser than this. For eg. You have got 133 chars , whereas my system results in 123. I shall implement some more NLP techniques and bring it down to an acceptable level without sacrificing the semantics&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;iwebtalk&lt;/strong&gt; &lt;em&gt;11 Jan 2011 8:41 pm&lt;/em&gt;:
I use utwitmore.com .. no need to worry about 140 characters&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Twitter via e-mail</title>
      <link>https://www.s-anand.net/blog/twitter-via-e-mail/</link>
      <pubDate>Tue, 26 Oct 2010 17:24:45 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/twitter-via-e-mail/</guid>
      <description>&lt;p&gt;Since I don’t have Internet access on my BlackBerry (because &lt;a href=&#34;https://www.s-anand.net/blog/you-are-in-prison/&#34;&gt;I’m in prison&lt;/a&gt;), I’ve had a pretty low incentive to use &lt;a href=&#34;http://twitter.com/&#34;&gt;Twitter&lt;/a&gt;. Twitter’s really handy when you’re on the move, and over the last year, there were dozens of occasions where I really wanted to tweet something, but didn’t have anything except my BlackBerry on hand. Since T-Mobile doesn’t support &lt;a href=&#34;http://support.twitter.com/articles/14226-how-to-find-your-twitter-short-code&#34;&gt;Twitter via SMS&lt;/a&gt;, e-mail is my only option, and I haven’t been able to find a decent service that does what I want it to do.&lt;/p&gt;
&lt;p&gt;So, obviously, I wrote one this weekend: &lt;a href=&#34;http://www.mixamail.com/&#34;&gt;Mixamail.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I’ve kept it as simple as I could. If I send an email to &lt;a href=&#34;mailto:twitter@mixamail.com&#34;&gt;twitter@mixamail.com&lt;/a&gt;, it replies with the latest tweets on my Twitter home page. If I mail it again, it replies with new tweets since the last email.&lt;/p&gt;
&lt;p&gt;I can update my status by sending a mail with “Update” as the subject. The first line of the body is the status.&lt;/p&gt;
&lt;p&gt;I can reply to tweets. The tweets contain a “reply” link that opens a new mail and replies to it.&lt;/p&gt;
&lt;p&gt;I can subscribe to tweets. Sending an email with “subscribe” as the subject sends the day’s tweets back to me every day at the same hour that I subscribed. (I’m keeping it down to daily for the moment, but if I use it enough, may expand it to a higher frequency.)&lt;/p&gt;
&lt;p&gt;Soon enough, I’ll add re-tweeting and (update: added retweets on 27 Oct) a few other things. I intend keeping this free. Will release the source as well once I document it. &lt;a href=&#34;https://github.com/sanand0/mixamail&#34;&gt;The source code is at Github&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Give it a spin: &lt;a href=&#34;http://www.mixamail.com/&#34;&gt;Mixamail.com&lt;/a&gt;. Let me know how it goes!&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;For the technically minded, here are a few more details. I spent last night scouting for a small, nice, domain name using &lt;a href=&#34;http://www.nxdom.com/&#34;&gt;nxdom&lt;/a&gt;. I bought it using &lt;a href=&#34;http://www.google.com/apps/intl/en/group/index.html&#34;&gt;Google Apps&lt;/a&gt; for $10. The application itself is written in &lt;a href=&#34;http://www.python.org/&#34;&gt;Python&lt;/a&gt; and hosted on &lt;a href=&#34;http://appengine.google.com/&#34;&gt;AppEngine&lt;/a&gt;. I use the &lt;a href=&#34;http://dev.twitter.com/&#34;&gt;Twitter API&lt;/a&gt; via &lt;a href=&#34;http://github.com/Arachnid/AppEngine-OAuth-Library&#34;&gt;OAuth&lt;/a&gt; and store the user state via &lt;a href=&#34;http://github.com/thrivesmart/prayls/blob/master/prayls/lilcookies.py&#34;&gt;Lilcookies&lt;/a&gt;. The HTML is based on &lt;a href=&#34;http://github.com/paulirish/html5-boilerplate&#34;&gt;html5boilerplate&lt;/a&gt;, and has no images.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;http://www.jaysonjc.com&#34;&gt;Jayson&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;26 Oct 2010 6:41 pm&lt;/em&gt;:
Pretty neat work! What was the time taken for this to be done?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;http://www.s-anand.net/&#34;&gt;S Anand&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;26 Oct 2010 6:46 pm&lt;/em&gt;:
Let&amp;rsquo;s see&amp;hellip; 5 hours on Sunday to get the Twitter API working&amp;hellip; 4 hours yesterday to get the user management sorted&amp;hellip; about 5 hours today to get the UI done. About 14 hours so far.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;http://aravindavk.in&#34;&gt;Aravinda&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;26 Oct 2010 6:52 pm&lt;/em&gt;:
Very nice app :)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Praveen&lt;/strong&gt; &lt;em&gt;26 Oct 2010 8:03 pm&lt;/em&gt;:
Awesome app.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;http://posterous?&#34;&gt;pgt&lt;/a&gt;&lt;/strong&gt; &lt;em&gt;27 Oct 2010 11:25 pm&lt;/em&gt;:
have you checked out posterous.com , they do twitter among other things&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Rockey&lt;/strong&gt; &lt;em&gt;27 Oct 2010 11:31 pm&lt;/em&gt;:
Tussi Great ho !&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amitesh&lt;/strong&gt; &lt;em&gt;2 Nov 2010 7:23 am&lt;/em&gt;:
Hey,
I am not a techie but this application looks sure value to me.
Great work!&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
  </channel>
</rss>
