<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>The Life Unwired</title>
  <link>http://unwiredben.livejournal.com/</link>
  <description>The Life Unwired - LiveJournal.com</description>
  <lastBuildDate>Thu, 25 Feb 2010 14:53:45 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>unwiredben</lj:journal>
  <lj:journalid>1527550</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>http://l-userpic.livejournal.com/79230174/1527550</url>
    <title>The Life Unwired</title>
    <link>http://unwiredben.livejournal.com/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>http://unwiredben.livejournal.com/296420.html</guid>
  <pubDate>Thu, 25 Feb 2010 14:53:45 GMT</pubDate>
  <title>Heading Back to Palm</title>
  <link>http://unwiredben.livejournal.com/296420.html</link>
  <description>&lt;div style=&quot;float: right; margin-left: 10px; margin-bottom: 10px;&quot;&gt; &lt;a href=&quot;http://www.flickr.com/photos/unwiredben/4386744865/&quot; title=&quot;photo sharing&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2692/4386744865_a461ff274b_m.jpg&quot; alt=&quot;&quot; style=&quot;border: solid 2px #000000;&quot; /&gt;&lt;/a&gt; &lt;br /&gt; &lt;span style=&quot;font-size: 0.9em; margin-top: 0px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;If you&apos;ve not seen my Twitter feed, you may not know that on Monday, I&apos;m returning to a position with Palm.  I&apos;m heading back to be part of their Developer Relations group, reporting into the dynamic team of Ben and Dion of &lt;a href=&quot;http://ajaxian.com/&quot;&gt;ajaxian&lt;/a&gt; fame that Palm brought in last summer to shake things up with webOS.&lt;br /&gt;&lt;br /&gt;It was a hard decision to leave Mozilla; they&apos;ve been very good to me over the last year, and I feel pretty happy about the 1.0 release of Firefox for Maemo (aka Fennec) that came out in January.  I&apos;ll miss the fun chats on IRC and the visits to their offices in Toronto and Mountain View.&lt;br /&gt;&lt;br /&gt;However, in the last year I found that my real passion lies in communication and teaching.  I&apos;d had a blast with my classes at NYC Resistor, and I&apos;ve loved working with developers in past positions at Metrowerks, PalmSource, and Palm.  Being the expert in an online forum suits me very well.  With that background, I&apos;m looking forward to evangelizing the webOS platform, and I hope that I&apos;ll be able to assist some people in writing great native apps and plugins on the Palm Pre and Pixi phones.&lt;br /&gt;&lt;br /&gt;Wish me luck!  I&apos;ll be posting details on my new Palm webOS developer blog as soon as it is ready to go.&lt;br clear=&quot;all&quot; /&gt;</description>
  <comments>http://unwiredben.livejournal.com/296420.html</comments>
  <category>work</category>
  <category>palm</category>
  <category>mozilla</category>
  <lj:security>public</lj:security>
  <lj:reply-count>6</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://unwiredben.livejournal.com/296018.html</guid>
  <pubDate>Thu, 11 Feb 2010 00:36:40 GMT</pubDate>
  <title>Quick note on native Android debugging</title>
  <link>http://unwiredben.livejournal.com/296018.html</link>
  <description>This is for reference by future programmers using Google to find out something on this topic.&lt;br /&gt;&lt;br /&gt;When using gdbserver with the Android 2.0.1 emulator to debug native command line applications, you can get into a situation where it won&apos;t stop the child application, instead letting it run to its death before setting up the debug connection to gdb.&amp;nbsp; I&amp;nbsp;wasn&apos;t able to figure out why this was happening, but rebooting the emulator allowed for the correct operation again.&amp;nbsp; When you start getting communication errors from gdb, a reboot is a good call as other things may be hosed.</description>
  <comments>http://unwiredben.livejournal.com/296018.html</comments>
  <category>work</category>
  <category>mozilla</category>
  <category>android</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://unwiredben.livejournal.com/294782.html</guid>
  <pubDate>Fri, 16 Oct 2009 20:10:54 GMT</pubDate>
  <title>Laser-Cut Mozilla Fennec Logo</title>
  <link>http://unwiredben.livejournal.com/294782.html</link>
  <description>&lt;div style=&quot;float: right; margin-left: 10px; margin-bottom: 10px;&quot;&gt; &lt;a href=&quot;http://www.flickr.com/photos/unwiredben/4008950781/&quot; title=&quot;photo sharing&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3508/4008950781_b131bb485c_m.jpg&quot; alt=&quot;&quot; style=&quot;border: solid 2px #000000;&quot; /&gt;&lt;/a&gt; &lt;br /&gt; &lt;span style=&quot;font-size: 0.9em; margin-top: 0px;&quot;&gt; &lt;/span&gt;&lt;/div&gt;I&apos;ve been wanting to make something with the Fennec logo for a while, so after getting some experience with the NYC Resistor laser cutter for another project, I decided to try my hand at making a laser-cut Fennec.  This one took about four minutes of Epilog laser time, most of it spent in the etching of the details.  I imported the logo from a PDF file into Corel Draw, edited the internal vectors so there were no vectors that would cause cutting, then made a new outline around everything that I marked as a cut line.  The material is opaque blue acrylic, but for a final run of these, I&apos;ll use a very nice transparent blue that we&apos;ve got in our stockroom.&lt;br clear=&quot;all&quot; /&gt;</description>
  <comments>http://unwiredben.livejournal.com/294782.html</comments>
  <category>projects</category>
  <category>photos</category>
  <category>nyc resistor</category>
  <category>mozilla</category>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://unwiredben.livejournal.com/293797.html</guid>
  <pubDate>Fri, 31 Jul 2009 20:02:27 GMT</pubDate>
  <title>Panning in Mozilla Fennec and IFRAMEs</title>
  <link>http://unwiredben.livejournal.com/293797.html</link>
  <description>On the desktop, scrolling a page involves changing the page&apos;s scroll position.&amp;nbsp; This uses OS-widgets like scrollbars -- the OS&amp;nbsp;will copy part of the page to the new position on screen and ask the browser to draw the part that&apos;s exposed.&lt;br /&gt;&lt;br /&gt;On Fennec, we instead have an off-screen browser instance.&amp;nbsp; We ask it to render parts of the page into a large canvas element that we reposition as the user drags.&amp;nbsp; This canvas is larger than the visible area, so usually a pan won&apos;t show areas beyond the canvas.&amp;nbsp; When the pan is over, we reposition things and redraw so the next pan can proceed as normal.&lt;br /&gt;&lt;br /&gt;This has been the source of a lot of bugs.&amp;nbsp; It&apos;s been fairly easy through kinetic scrolling and zooming to get the browser into a situation where it didn&apos;t fix up the canvas properly or start drawing again, letting the checkerboard or gray background show through.&amp;nbsp; In severe cases, you can get the whole screen to be checkerboard, which effectively hangs the browser as you can&apos;t pan back to any of the controls.&lt;br /&gt;&lt;br /&gt;Recently, one of our summer interns, Roy, has been working with Stuart on a new system to deal with these problems called the Tile Cache.&amp;nbsp; Rather than have one giant canvas, we now have a lot of smaller canvases that we draw into as needed.&amp;nbsp; Tiles can be moved around by the cache so there&apos;s always a cloud of them around the ones visible on screen.&amp;nbsp; It seems to make panning a lot faster, but it&apos;s required a lot of changes to input handling code and user interface code, so it&apos;s not yet landed in our main Fennec development trunk.&lt;br /&gt;&lt;br /&gt;While this has been happening, I&apos;ve been working on a patch to support panning of IFRAME and FRAMESET content.&amp;nbsp; Unfortunately, IFRAME&amp;nbsp;panning is going to be a bit slower than page panning, as we effectively just change the scroll position of the embedded frame, which then causes a lot of the page to be invalidated and redrawn.&amp;nbsp; There are some more complicated techniques that could be explorer for avoiding the whole-area invalidation, but they probably won&apos;t be done for the 1.0 release.&lt;br /&gt;&lt;br /&gt;To get IFRAME panning to work, when you start a drag, we have to dig into the page content and see if your finger has touched a frame element on the screen.&amp;nbsp; If so, we scroll that element based on the finger movement. &amp;nbsp;If you get to the edge, we then move its parent; this is needed to prevent you getting into a situation where you can&apos;t pan over to the controls because you zoomed into a IFRAME&apos;s area.&amp;nbsp; One popular site where the whole page is an IFRAME&amp;nbsp;is Google Mail, so without the overflow movement, it would be easy to get stuck.&lt;br /&gt;&lt;br /&gt;With luck and a lot of code reviews, all of this should land in time for the third beta of Fennec for the Maemo platform.&amp;nbsp; I&amp;nbsp;think it wll be a much better Fennec experience, and with IFRAME&amp;nbsp;scrolling, we&apos;ll do something the other mobile browsers like Safari on the iPhone don&apos;t support.</description>
  <comments>http://unwiredben.livejournal.com/293797.html</comments>
  <category>mozilla</category>
  <lj:security>public</lj:security>
  <lj:reply-count>5</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://unwiredben.livejournal.com/289415.html</guid>
  <pubDate>Tue, 24 Feb 2009 20:17:17 GMT</pubDate>
  <title>More with Mozilla and htinkering</title>
  <link>http://unwiredben.livejournal.com/289415.html</link>
  <description>Work continues with Mozilla.&amp;nbsp; We&apos;re about to go into a week of testing on the first beta release of Fennec for the Nokia N810.&amp;nbsp; I&apos;ve got one major patch that should be in this release.&amp;nbsp; I&apos;ve been working in the JavaScript code that acts as the front-end of the browser.&amp;nbsp; We had a problem that we could drag around the content of the page, but lists that were in the chrome around the page, like the URL&amp;nbsp;suggestion list or the bookmark list, couldn&apos;t be moved.&amp;nbsp; My patch moved the drag handling to a higher level so it can be used to handle both cases.&amp;nbsp; Most of the implementation strategy came from Stuart and Mark, but I did the actual grunt work of writing the code and getting it to run correctly.&lt;br /&gt;&lt;br /&gt;I&amp;nbsp;really like the Mozilla review process.&amp;nbsp; Basically, I&amp;nbsp;do work on my own machine and post it as a proposed patch to the bug.&amp;nbsp; Other people on the team get a change to review the change, and if they like it, they give it a thumbs up.&amp;nbsp; If they have issues, they post them back to the bug, I&amp;nbsp;fix them, and produce a new patch.&amp;nbsp; Once the reviews are all accepted, the change gets landed in the source repository, and it goes into the next official build.&lt;br /&gt;&lt;br /&gt;Outside of Mozilla, I&apos;ve started doing some work with a new hacker group here in New York called &lt;a href=&quot;http://www.htink.net/&quot;&gt;HTINK&lt;/a&gt;.&amp;nbsp; The h is silent, so it&apos;s pronounced like &amp;quot;tink&amp;quot;, and makes me a htinker.&amp;nbsp; We&apos;ve got &lt;a href=&quot;http://htink.eventbrite.com/&quot;&gt;a big workshop we&apos;re doing here in NYC&amp;nbsp;on March 14th&lt;/a&gt; where we&apos;ll be building lots of Arduino-compatible microcontroller boards and hooking them up to RGB&amp;nbsp;LEDs and robot servo motors.&amp;nbsp; There&apos;s more stuff being discussed later in the year too.&amp;nbsp; I&apos;m also working on material for an Arduino web server workshop where I&apos;ll show how to hook up one of the boards to your Ethernet and run a simple server on it so you can read sensors or change outputs.&amp;nbsp; That class will happen at NYC&amp;nbsp;Resistor, probably in early April.&lt;br /&gt;</description>
  <comments>http://unwiredben.livejournal.com/289415.html</comments>
  <category>new york</category>
  <category>work</category>
  <category>projects</category>
  <category>mozilla</category>
  <category>technology</category>
  <category>arduino</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://unwiredben.livejournal.com/289259.html</guid>
  <pubDate>Fri, 30 Jan 2009 18:40:34 GMT</pubDate>
  <title>First Week at Mozilla</title>
  <link>http://unwiredben.livejournal.com/289259.html</link>
  <description>I&apos;m wrapping up my first week as a paid employee of Mozilla; I&apos;m still out in Mountain View right now, but I&apos;ll be heading back to New York tonight.&lt;br /&gt;&lt;br /&gt;So far, it&apos;s been a great experience, although it&apos;s a major change from how I was working at Palm.  It reminds me of when I first went to Metrowerks 10 years ago; I&apos;m the new guy dealing with a lot of technology that I&apos;d not seen before.  While I&apos;ve been using Firefox and the other Mozilla products for years, I never really had to dig into how it all worked.  I&apos;d a passing understanding of XUL and how the browser&apos;s front end used JavaScript to interface with a big pile of C++ code, but now I&apos;m actually responsible for knowing how that connection works in intimate detail.  There&apos;s been a lot to absorb.&lt;br /&gt;&lt;br /&gt;However, most of the week has been more mundane stuff, like handling all the HR stuff, setting up a new laptop and figuring out how to build things for myself.  Alas, Mozilla isn&apos;t 100% Joel test compliant; building the product isn&apos;t too hard to figure out, but it&apos;s not just &quot;run this script&quot;.  My current stumbling block is getting the Fennec build for the Nokia N810 working.  It relies on a weird compilation environment called Scratchbox that tries to hide the fact that I&apos;m building ARM code on a x86 machine from the build process.   In theory, this works great.  In practice, it means I occasionally get really weird error messages that require very analytical decoding.&lt;br /&gt;&lt;br /&gt;I am excited by the UI possibilities of Fennec.  It&apos;s core is the same as Firefox, but it&apos;s the UI where things are different.  Buttons are bigger and designed for hitting with fingers, not mice.  The UI tries to go away, giving you the maximum space for content.  We&apos;re just now figuring out how to determine the best width to use for a given web page so we can zoom the appropriate amount to display content.  We&apos;re also tacking problems like using a five-way navigator on a mobile device to move around a page effectively.  These are things I&apos;ve seen other browser do well, but they&apos;re problems that the Mozilla team hasn&apos;t had to handle before with their desktop focus.&lt;br /&gt;&lt;br /&gt;The big difference with Mozilla is that we want to do all of this in an open fashion where it&apos;s easy for users to install add-ons that enhance their browsing experience or add capabilities to the browser.  This justifies the work on getting the Gecko core into a widely distributed mobile web browser over just giving into Webkit.  The Firefox add-on community does amazing things, and I can&apos;t wait to see that creativity on mobile devices.  I&apos;m already thinking of a few add-ons I&apos;d like to write from the silly (turn all of the pictures on a page into low-res versions to simulate running on 8-bit computers) to the useful (e-book reading).&lt;br /&gt;&lt;br /&gt;OK, back to work.  I want to see code I built running on a N810 before I leave tonight.</description>
  <comments>http://unwiredben.livejournal.com/289259.html</comments>
  <category>work</category>
  <category>mozilla</category>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
</channel>
</rss>
