<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Circle 38</title><generator>Tumblr (3.0; @circlewithme)</generator><link>http://circlewithme.tumblr.com/</link><item><title>Women 2.0 PITCH NYC</title><description>&lt;p&gt;&lt;div class="ace-line" id="magicdomid2988"&gt;&lt;span class="author-p-97"&gt;PhotoCircle is happy to announce &lt;/span&gt;&lt;span class="author-p-96"&gt;our sponsorship of&lt;/span&gt;&lt;span class="author-p-97"&gt; the Women 2.0 PITCH NYC conference. PITCH NYC is a full day of speakers and panels sharing case studies, best practices and stories of successful business disruption in today’s new entrepreneur economy.&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-97"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-97"&gt;&lt;img align="middle" src="http://media.tumblr.com/tumblr_mdgbm0rIwj1rnky3u.png"/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-97"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;We&amp;#8217;ll be hosting a Women 2.0 PITCH NYC circle for all conference attendees. As the day unfolds, we&amp;#8217;ll be posting exclusive photos of the conference on PhotoCircle, including behind-the-scenes images.&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-97"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-97"&gt;Even better, we&amp;#8217;re giving &lt;/span&gt;&lt;span class="author-p-96"&gt;away&lt;/span&gt;&lt;span class="author-p-97"&gt; a $250 American Express gift card! Any PITCH NYC attendee who creates a circle and invites 3 or more of their friends will be entered to win. Not a bad way to end your trip.&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-97"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;PhotoCircle is a great way to experience an event or conference in realtime, whether you&amp;#8217;re there in-person, or just wishing you could be there. For all of you attending Women 2.0 PITCH NYC, be sure to stop by our table to say hi. We&amp;#8217;ll see you in the circle.&lt;/div&gt;&lt;/p&gt;</description><link>http://circlewithme.tumblr.com/post/35667614635</link><guid>http://circlewithme.tumblr.com/post/35667614635</guid><pubDate>Tue, 13 Nov 2012 16:06:00 -0800</pubDate></item><item><title>Halloween Contest Results</title><description>&lt;p&gt;&lt;div class="ace-line" id="magicdomid3036"&gt;&lt;span class="author-p-96"&gt;We&amp;#8217;d like to congratulate Rachel, the winner of our PhotoCircle Halloween Contest. Rachel will recieve a $50 iTunes gift card for her circle that included 32 friends and over 200 photos. Sounds like a fun Halloween. Next time &lt;/span&gt;&lt;span class="author-p-97"&gt;please &lt;/span&gt;&lt;span class="author-p-96"&gt;invite us. &lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-96"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;We will be announcing additional contests in the coming months. Thanks so much to all of you who participated.&lt;/div&gt;&lt;/p&gt;</description><link>http://circlewithme.tumblr.com/post/35667515184</link><guid>http://circlewithme.tumblr.com/post/35667515184</guid><pubDate>Sat, 10 Nov 2012 11:05:00 -0800</pubDate></item><item><title>Survey Says... Upload Multiple Photos</title><description>&lt;p&gt;&lt;div class="ace-line" id="magicdomid3140"&gt;&lt;span class="author-p-96"&gt;We want to extend a big thank you to those who filled out our survey. Your feedback is really important to us. &lt;/span&gt;&lt;span class="author-p-97"&gt;And we&amp;#8217;re happy to announce that w&lt;/span&gt;&lt;span class="author-p-96"&gt;e recently released the most requested feature&lt;/span&gt;&lt;span class="author-p-97"&gt;:&lt;/span&gt;&lt;span class="author-p-96"&gt; PhotoCircle now allows you to upload more than one photo at a time. Feel free to share as many photos are you want in your circles.&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-96"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="ace-line"&gt;&lt;span class="author-p-96"&gt;If you have additional suggestions (or just want to say hi), please shoot us an email: &lt;a href="mailto:suggestions@circlewithme.com"&gt;suggestions@circlewithme.com&lt;/a&gt;. &lt;/span&gt;&lt;span class="author-p-97"&gt;More features and improvements coming soon.&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description><link>http://circlewithme.tumblr.com/post/35667323398</link><guid>http://circlewithme.tumblr.com/post/35667323398</guid><pubDate>Fri, 02 Nov 2012 16:02:00 -0700</pubDate></item><item><title>Proximity pairing of smartphones with ultra-high frequency sound waves</title><description>&lt;p&gt;What&amp;#8217;s harder: setting up a network connection between two smartphones thousands of miles apart; or between two smartphones in the same room? In 2012 it&amp;#8217;s surprisingly difficult for smartphones that are physically proximal to detect the presence of each other. Bluetooth is a good option but it can&amp;#8217;t be used to pair iPhones with Android phones. NFC is awkward and not widely deployed. BUMP has a smart solution based on GPS and accelerometers, but many users are concerned about location privacy. So we set out to develop our own solution.&lt;/p&gt;
&lt;p&gt;&lt;img align="middle" src="http://media.tumblr.com/tumblr_m68jgk3gXz1rnky3u.png"/&gt;&lt;/p&gt;
&lt;h2&gt;The Requirements&lt;/h2&gt;
&lt;p&gt;When starting this project, our main requirements were:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;must work on currently shipping iPhone and Android smartphones&lt;/li&gt;
&lt;li&gt;must be fast. The pairing process is the gateway to the app itself and must be as unobtrusive as possible.&lt;/li&gt;
&lt;li&gt;should not use GPS or other location services&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;On the surface it might seem tricky to get smartphones to detect each other, but in fact very little information needs to be exchanged to accomplish the pairing. It is sufficient to bootstrap the connection by exchanging a small &amp;#8220;token&amp;#8221;. Once this token has been received, traditional TCP sockets can be used to finalize the pairing.&lt;/p&gt;
&lt;p&gt;How do you exchange a token between the phones? Due to limitations with the iPhone and Android API, Bluetooth is ruled out; and NFC is only available on a few Android phones. When thinking about I/O on modern smartphones it&amp;#8217;s easy to overlook the audio system but it can be used to carry arbitrary data, not just voice/music. Square&amp;#8217;s credit card reader uses the audio system to communicate with their app running on the iPhone. The audio system has clear benefits as a carrier for digital communication: 3rd party developers have reasonable access to the audio hardware and every phone has a speaker and a microphone.&lt;/p&gt;
&lt;h2&gt;Wireless Communication&lt;/h2&gt;
&lt;p&gt;Just as the original, &lt;a href="http://en.wikipedia.org/wiki/Acoustic_coupler"&gt;acoustically-coupled&lt;/a&gt; modems in the 60s and 70s used sound waves as the intermediary between the telephone company&amp;#8217;s line and the computer itself, we can wirelessly transmit our digital pairing token via analog sound waves. Unlike those noisy modems of our collective childhood, our system is effectively silent.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m68e1t9YEg1rnky3u.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;The analog telephone system was designed to transmit human voice. Since bandwidth was at a premium, the telephone line was &lt;a href="http://en.wikipedia.org/wiki/Voiceband"&gt;band-filtered to 300-3400&amp;#160;Hz&lt;/a&gt;, covering just enough of the human voice spectrum that speech remained intelligible. The original modems had to operate within this spectrum, which means that they were forced to modulate the data at frequencies that were audible to humans&lt;a href="#footnote1"&gt;(1)&lt;/a&gt;. The sound that you would hear when dialing up to a BBS or ISP was the sound of the connection handshake protocol and data exchange.&lt;/p&gt;
&lt;p&gt;While many people who grew up with computers fondly recall the sound of a dial-up modem, such clicks, screeches and tones coming from their new iPhone would cause concern. So if we are going to use sound waves to carry our token, then we better make sure that it is silent. The limit of human hearing varies with age and degrees of hearing damage, but anything above 19&amp;#160;kHz is either inaudible or barely audible. This establishes the lower frequency bound for our system.&lt;/p&gt;
&lt;p&gt;The upper frequency bound can be determined by the maximum sample rate of the smartphones&amp;#8217;s DAC (digital to analog converter). In nearly all cases, this is 44.1&amp;#160;kHz. The &lt;a href="http://en.wikipedia.org/wiki/Nyquist_sampling"&gt;Nyquist sampling theorem&lt;/a&gt; says that an analog signal containing frequencies less than half the sample rate can be discretely sampled without any loss of information. This establishes the theoretical upper frequency bound at 22.05&amp;#160;kHz. However, this is not achievable in practice because audio systems have low-pass filters that begin at roughly 20&amp;#160;kHz to prevent aliasing of frequencies that exceed 22.05&amp;#160;kHz. So the actual upper frequency bound is more like 20&amp;#160;kHz. This 19-20&amp;#160;kHz range gives us a bandwidth of 1&amp;#160;kHz in which to encode a silent signal.&lt;/p&gt;
&lt;h2&gt;How We Did It&lt;/h2&gt;
&lt;p&gt;Our earliest attempts to transmit digital data over sound waves used traditional modem techniques such as &lt;a href="http://en.wikipedia.org/wiki/Phase_shift_keying"&gt;phase shift keying&lt;/a&gt;. These techniques allowed us to send arbitrary amounts of data, but in the end it was just too sensitive to acoustic noise and device movement. Since then we have settled on a simpler technique where the pairing token is encoded in the frequency domain in a manner similar to the way that a unique identifier is encoded in the barcode on a can of tomato soup.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_m67a0iVUm91rnky3u.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;The token&amp;#8217;s bit pattern is encoded as a series of ultra-high frequency tones at fixed intervals that are either present or absent based on whether the corresponding bit is a 1 or a 0. This scheme can be efficiently encoded using the Inverse FFT and decoded using the FFT and a thresholding algorithm. The whole token exchange can occur in as little time as it takes to fill the FFT. The amount of buffering imposed by the audio system varies by OS, but our technology can transmit and receive a token in ~400ms.&lt;/p&gt;
&lt;p&gt;Once the token has been received, the pairing process moves over to regular TCP sockets. From there the devices are connected in a &amp;#8220;Circle&amp;#8221; and the application can freely send messages between the devices.&lt;/p&gt;
&lt;h2&gt;More to come&lt;/h2&gt;
&lt;p&gt;This technology is currently shipping in our PhotoCircle app for &lt;a href="http://itunes.apple.com/us/app/photocircle/id517539894?ls=1&amp;amp;mt=8" title="PhotoCircle at iPhone App Store"&gt;iPhone&lt;/a&gt; and &lt;a href="https://market.android.com/details?id=com.circle38.photocircle" title="PhotoCircle at Google Play store"&gt;Android&lt;/a&gt;. In a future post, I&amp;#8217;ll discuss lessons learned doing real-time mobile networking. In the meantime, feel free to send me any questions or &lt;a href="http://news.ycombinator.com/item?id=4163198"&gt;discuss at HackerNews&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Keith Lazuka&lt;br/&gt;&lt;a href="mailto:keith@circle38.com"&gt; keith@circle38.com&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;&lt;p&gt;Footnotes:&lt;/p&gt;
&lt;p&gt;&lt;a id="footnote1" name="footnote1"&gt;&lt;/a&gt;(1) Dial-up modems would have been silent if it were not for a historical accident. When the first modems were built in the 1960s, engineers had to workaround laws that prevented 3rd party devices from being directly connected to a phone line. The solution was to acoustically couple the modem to the phone system over a short distance. After these laws were overruled in the 1980s, modems could be directly, electrically coupled to the phone line. But the modem retained its speaker so that the computer user could monitor the familiar sounds during the connection process.&lt;/p&gt;</description><link>http://circlewithme.tumblr.com/post/25893923940</link><guid>http://circlewithme.tumblr.com/post/25893923940</guid><pubDate>Tue, 26 Jun 2012 10:16:00 -0700</pubDate></item><item><title>And we're live...</title><description>&lt;p&gt;We&amp;#8217;re excited to announce the launch of PhotoCircle. It&amp;#8217;s been a busy few months for the team. We want to thank our friends and family for their incredible support. &lt;/p&gt;
&lt;p&gt;More updates coming soon on this blog. In the meantime, download PhotoCircle, get together with friends, and take some pictures.&lt;/p&gt;
&lt;p&gt;PhotoCircle. Available for &lt;a href="http://itunes.apple.com/us/app/photocircle/id517539894?ls=1&amp;amp;mt=8" title="PhotoCircle for iPhone" target="_blank"&gt;iPhone&lt;/a&gt; and &lt;a href="https://play.google.com/store/apps/details?id=com.circle38.photocircle" title="PhotoCircle for Android" target="_blank"&gt;Android&lt;/a&gt;. Watch the &lt;a href="http://circle38.com/permalinks/photocirclevideo.html" title="PhotoCircle Demo Video" target="_blank"&gt;demo&lt;/a&gt;.&lt;/p&gt;</description><link>http://circlewithme.tumblr.com/post/21375465719</link><guid>http://circlewithme.tumblr.com/post/21375465719</guid><pubDate>Thu, 19 Apr 2012 03:32:00 -0700</pubDate></item></channel></rss>
