<?xml version="1.0"?>

<!-- RSS generated by Mylos on Mon, 29 Jun 2009 05:18:51 GMT -->
<!-- This is a RDF-free zone -->
<rss version="2.0">
  <channel>
    <title>Fazal Majid's low-intensity weblog</title>
    <link>http://www.majid.info/mylos/</link>
    <description>Mostly random pontification, delivered at irregular intervals.</description>
    <language>en</language>
    <copyright>Copyright (c) 2002-2009 Fazal Majid - All rights reserved</copyright>
    <lastBuildDate>Mon, 29 Jun 2009 05:18:51 GMT</lastBuildDate>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <managingEditor>nospam@example.com (Fazal Majid - http://www.majid.info/)</managingEditor>
    <webMaster>nospam@example.com (Fazal Majid - http://www.majid.info/)</webMaster>
    <generator>Mylos</generator>
    <ttl>1440</ttl>
  
    <item>
      <title>Fuji GF670 first impressions</title>
      <description>&lt;p&gt;&lt;img src=&quot;http://www.majid.info/mylos/galleries/gf670/gf670-07_thm.jpg&quot; width=&quot;200&quot;
height=&quot;175&quot; alt=&quot;Fuji GF670&quot; style=&quot;margin-left: 10px; margin-bottom:
50px;&quot; align=&quot;right&quot;&gt;I just received my &lt;a href=&quot;http://www.japanexposures.com/shop/product_info.php?cPath=31&amp;amp;products_id=259&quot;&gt;Fuji
GF670&lt;/a&gt; from Dirk R&amp;ouml;sler at Japan Exposures. This is a folding
medium-format rangefinder camera, an anachronism in many respects, but I
regret not getting a G690 when they were still made and since this is a
limited edition (apparently quite a popular one at that), I went ahead. I
have not yet shot a roll, but here are my first impressions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The unfolding mechanism is a bit finnicky. You have to be careful to get
the front standard aligned with the film plane. Once deployed it seems
fairly stable.  Folding it back is also quite tricky.&lt;/li&gt;
&lt;li&gt;The meter indicator LEDs and controls are very reminiscent of the Epson
R-D1, not surprising since both are actually made by Cosina.&lt;/li&gt;
&lt;li&gt;The leaf shutter is amazingly quiet. It makes a Leica sound like a clunker
in comparison.&lt;/li&gt;
&lt;li&gt;The camera is quite light for MF, it feels lighter than a R-D1 (even
though it weighs nearly twice as much) and is not that much larger.&lt;/li&gt;
&lt;li&gt;It does not exude quality like the Fuji-manufactured TX-2 (Hasselblad
XPan II).&lt;/li&gt;
&lt;li&gt;The rangefinder patch is bright and clear. The RF base length is very
short as in a VC Bessa, and will probably not be as precise as a Leica, XPan
or Zeiss Ikon.&lt;/li&gt;
&lt;li&gt;The film loading mechanism is very easy to use, and built as well as
other Fuji MF cameras such as the G617.&lt;/li&gt;
&lt;li&gt;You have to remember to reset the lens to infinity focus in order to
fold it.&lt;/li&gt;
&lt;li&gt;You get a choice of 6x6 and 6x7, 120 and 220.&lt;/li&gt;
&lt;li&gt;The optional case is a snug fit. I wish it included a belt loop.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In grand old techno-fetishistic tradition, I put up an &lt;a href=&quot;http://www.majid.info/mylos/galleries/gf670/index.html&quot;&gt;unboxing gallery&lt;/a&gt;.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2009/05/29-1.html</guid>
      <pubDate>Fri, 29 May 2009 07:23:26 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2009/05/29-1.html</link>
      <category>Photo</category>
    </item>
  
    <item>
      <title>Anthony's Cookies grand opening</title>
      <description>&lt;center&gt;&lt;img src=&quot;http://www.majid.info/mylos/weblog/2009/04/anthony1.jpg&quot; width=&quot;500&quot; height=&quot;500&quot;
alt=&quot;Anthony&quot;&gt;&lt;/center&gt;

&lt;p&gt;Another gourmet treats shop joined the burgeoning scene in the Mission.
&lt;a href=&quot;http://www.anthonyscookies.com/home.html&quot;&gt;Anthony&apos;s Cookies&lt;/a&gt;
opened today to a line that stretched around the corner.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://www.majid.info/mylos/weblog/2009/04/anthony2.jpg&quot; width=&quot;500&quot; height=&quot;333&quot;
alt=&quot;Opening&quot;&gt;&lt;/center&gt;

&lt;p&gt;As one of the officials present said, it takes courage to start a
business in this economic climate. Specially in as business-hostile a city
as San Francisco, if I may add.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://www.majid.info/mylos/weblog/2009/04/anthony3.jpg&quot; width=&quot;500&quot; height=&quot;333&quot;
alt=&quot;Anthony&quot;&gt;&lt;/center&gt;

&lt;p&gt;Inside the store was a buzzing hive of activity, with the eponymous
proprietor busy preparing batches of free cookies for the awaiting hordes.
At $5 for a half dozen, these cookies are a steal. I tried the double
chocolate chip, it came fresh from the oven and had a strong chocolate
aroma and the right texture. All in all, a great addition to a neighborhood
that already has more than its share of good places to indulge a sweet
tooth. I added him to my &lt;a href=&quot;http://maps.google.com/maps/ms?ie=UTF8&amp;amp;hl=en&amp;amp;msa=0&amp;amp;msid=100646927091773036507.00045f79c16c3a25965f8&amp;amp;z=13&quot;&gt;Google
map&lt;/a&gt; of recommended bakeries, ice cream parlors and sweet shops in San
Francisco.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2009/04/25-1.html</guid>
      <pubDate>Sun, 26 Apr 2009 00:44:24 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2009/04/25-1.html</link>
      <category>Food</category><category>San Francisco</category>
    </item>
  
    <item>
      <title>Garbage-collecting your Mac OS X Address Book</title>
      <description>&lt;p&gt;After years of Outlook and Palm synchronization, when I fully switched
over to the Mac, I moved my contacts database over to Mac OS X&apos;s Address
Book (painfully due to Outlook&apos;s roach motel tendencies, but that&apos;s another
story). For the most part I am satisfied, its data model is far more
powerful than Outlook&apos;s, and most Mac apps feature excellent Address Book
integration. I can call someone using Skype just by right-clicking on a
phone number, for instance.&lt;/p&gt;

&lt;p&gt;I just noticed, however, that my scripted Address Book backups were
pushing the bounds of the reasonable: over 60MB zipped. For a mere 357
contacts, that seems a tad excessive. Upon further inspection, I realized my
Address Book directory &lt;tt&gt;~/Library/Application Support/AddressBook&lt;/tt&gt;
was pushing 152MB, the bulk of it in the &lt;tt&gt;Images&lt;/tt&gt; subdirectory.&lt;/p&gt;

&lt;p&gt;It turns out there are two causes for this problem:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;When you drag and drop an image for a contact, then crop it, Address
Book keeps the full-size image around, presumably in case you want to change
the crop later. In most cases this is unnecessary and wastes space.&lt;/li&gt;
&lt;li&gt;Address Book does not seem to remove the images for a contact when you
delete it. Worse, those images get carried over into manual backups and thus
backing up, blowing away your Address Book directory and restoring from
backup will not get rid of the cruft.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I wrote the short shell script below to back up the AB directory,
extract the list of contacts and delete any image that fits in the two
categories above. This took me down to a much more reasonable 11MB. You can
download the &lt;a href=&quot;http://www.majid.info/mylos/weblog/2009/03/ab_clean.zip&quot;&gt;zipped script here&lt;/a&gt;. Disclaimer: I
tried my best to make this as generic as possible, but I cannot be held
responsible if running this script causes you to lose data, so I would
advise you to perform your own backup prior to running it.&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c&quot;&gt;#!/bin/sh&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;backup&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$HOME&lt;/span&gt;/ab_clean_backup.&lt;span class=&quot;nv&quot;&gt;$$&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;in_ab&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$backup&lt;/span&gt;/in_ab
&lt;span class=&quot;nv&quot;&gt;all&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$backup&lt;/span&gt;/all
&lt;span class=&quot;nv&quot;&gt;datadir&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;$HOME/Library/Application Support/AddressBook&amp;quot;&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;db&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;$datadir&amp;quot;&lt;/span&gt;/*.abcddb&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;

exit_ab&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;echo &lt;/span&gt;killing AddressBook
  ps -u &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;whoami&lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt; | grep &lt;span class=&quot;s2&quot;&gt;&amp;quot;Address Book&amp;quot;&lt;/span&gt; | grep /Applications | awk &lt;span class=&quot;s1&quot;&gt;&amp;#39;{print $2}&amp;#39;&lt;/span&gt;|xargs -n 1 &lt;span class=&quot;nb&quot;&gt;kill&lt;/span&gt; -9
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;

backup_ab&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;Backing up address book directory $datadir to backup $backup&amp;quot;&lt;/span&gt;
  rm -rf  &lt;span class=&quot;nv&quot;&gt;$backup&lt;/span&gt; &amp;gt; /dev/null 2&amp;gt;&amp;amp;1
  mkdir &lt;span class=&quot;nv&quot;&gt;$backup&lt;/span&gt;
  ditto &lt;span class=&quot;s2&quot;&gt;&amp;quot;$datadir&amp;quot;&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;$backup&amp;quot;&lt;/span&gt;
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;

remove_old&lt;span class=&quot;o&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;echo &lt;/span&gt;extract list of contacts in AB from SQLite
  sqlite3 &lt;span class=&quot;s2&quot;&gt;&amp;quot;$db&amp;quot;&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;select zuniqueid from zabcdrecord&amp;quot;&lt;/span&gt;|cut -d: -f 1|sort &amp;gt; &lt;span class=&quot;nv&quot;&gt;$in_ab&lt;/span&gt;

  &lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;$datadir&amp;quot;&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;Images

  &lt;span class=&quot;c&quot;&gt;# comment out the next two lines if you want to keep full-size originals&lt;/span&gt;
  &lt;span class=&quot;nb&quot;&gt;echo &lt;/span&gt;removing full-scale images
  rm -f *.jpeg

  &lt;span class=&quot;nb&quot;&gt;echo &lt;/span&gt;finding all the images
  ls -1|grep -v &lt;span class=&quot;s1&quot;&gt;&amp;#39;\.jpeg$&amp;#39;&lt;/span&gt;|sort &amp;gt; &lt;span class=&quot;nv&quot;&gt;$all&lt;/span&gt;

  &lt;span class=&quot;nb&quot;&gt;echo &lt;/span&gt;removing images with no associated AB record
  comm -13 &lt;span class=&quot;nv&quot;&gt;$in_ab&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$all&lt;/span&gt; | xargs rm
&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;

exit_ab
backup_ab
remove_old
&lt;/pre&gt;&lt;/div&gt;

</description>
      <guid>http://www.majid.info/mylos/weblog/2009/03/27-1.html</guid>
      <pubDate>Fri, 27 Mar 2009 22:48:36 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2009/03/27-1.html</link>
      <category>Macintosh</category>
    </item>
  
    <item>
      <title>Nehalem Mac Pro first impressions</title>
      <description>&lt;p&gt;Some people use laptops as their primary computing environment. I am not
one of them. Desktop replacement laptops like the MacBook Pro are heavy, and
truly portable ones like my MacBook Air are too limited. Even the desktop
replacement ones have limited expandability, slow drives, poor screens,
lousy keyboards. My workhorse for the last 5 years was a dual 2GHz PowerMac
G5. I am surprised I kept it so long, but I guess that says something about
the durability of Macs and how you are not required to go on the hadware
upgrade treadmill with each release of the OS. To paraphrase Borges, each
increasingly bloated version of Windows makes you regret the previous one. I
am also surprised at how much residual value the G5 has kept on eBay.&lt;/p&gt;

&lt;p&gt;That said, the G5 was showing its age. Stitching panoramas made from 22MP
Canon 5DmkII frames in AutoPano Pro is glacially slow, for instance. I was not
willing to switch to the Mac Pro until today because the archaic shared bus
on previous Intel chips is a severe bottleneck on multi-processor and
multicore performance, unlike the switched interconnect used by PowerPC G5
and AMD Opteron processors, both of which claim descent from the DEC Alpha,
the greatest CPU architecture ever designed. The new Xeon 3500 and 5500 Mac
Pros use Intel&apos;s new &lt;a href=&quot;http://arstechnica.com/hardware/news/2008/04/what-you-need-to-know-about-nehalem.ars&quot;&gt;Nehalem
microarchitecture&lt;/a&gt;, which finally does away with
the shared bus in favor of a switched interconnect called QuickPath and
on-chip memory controllers (i.e. Intel cribbed AMD&apos;s Opteron innovations).&lt;/p&gt;

&lt;p&gt;I splurged on the top of the line Mac Pro, with eight 2.93GHz cores, each
capable of running two threads simultaneously, and 8GB of RAM. The standard
hard drive options were completely lackluster, so I replaced the measly
660GB boot drive with an enterprise-class &lt;a href=&quot;http://www.intel.com/design/flash/nand/extreme/index.htm&quot;&gt;Intel
X25-E&lt;/a&gt; SSD. Unfortunately, at 32GB it is just enough to host the OS and
applications, so I complemented it with a quiet, power-efficient yet fast
1TB Samsung SpinPoint F1 drive (there is a WD 2TB drive, but it is a slow
5400rpm, and the 1.5TB Seagate drive has well-publicized reliability
problems, even if Seagate did the honorable thing unlike IBM with its
defective Deathstars).&lt;/p&gt;

&lt;p&gt;I originally planned on using the build-to-order ATI Radeon HD 4870 video
card upgrade, but found out the hard way it is incompatible with my &lt;a href=&quot;http://www.majid.info/mylos/weblog/2008/04/24-1.html&quot;&gt;HP LP3065&lt;/a&gt; monitor (more below)
and had to downgrade back to the nVidia GeForce GT 120. It would have been
nice to use BootCamp for games and retire my gaming PC, but I guess that
will have to wait. The GT120 is faster than the 8800GTS in the Windows box,
in any case.&lt;/p&gt;

&lt;p&gt;In no particular order, here are my first impressions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &quot;cheese grater&quot; case is the same size as the G5, but feels
lighter.&lt;/li&gt;
&lt;li&gt;The DVD-burner drive tray feels incredibly flimsy.&lt;/li&gt;
&lt;li&gt;Boot times are ridiculously fast. Once you&apos;ve experienced SSDs as I
originally did with the MacBook Air, there is no going back to spinning
rust.&lt;/li&gt;
&lt;li&gt;I have plenty of Firewire 800 to 400 cables for my FW400 devices (Epson
R1800, Nikon Super Coolscan 9000ED, Canon HV20 camcorder) so I will probably
not miss the old ports and probably not even need a hub (Firewire 800 hubs
are very hard to get).&lt;/li&gt;
&lt;li&gt;The inside of the case is a dream to work with. The drive brackets are
easy to swap, the PCIe slots have a spring-loaded retention bar that hooks
under the back of the card, and the L brackets are held with thumbscrews,
making swapping the cards trivial, with no risk of getting a marginal
connection from a poorly seated card.&lt;/li&gt;
&lt;li&gt;The drive mounting brackets have rubber grommets to dampen vibrations, a
nice touch. There also seems to be some sort of contact sensor in the rear,
purpose unknown.&lt;/li&gt;
&lt;li&gt;There are only two PCIe power connectors, so you can only plug in a
single ATI 4870 card even though there are two PCIe x16 slots. The GT 120
does not require PCIe power connectors so you would have to expand capacity
with one of these. Considering the GT 120 is barely more expensive than the
Mini DisplayPort to Dual-Link DVI adapter cable, it makes more sense to get
the extra video card if you have two monitors.&lt;/li&gt;
&lt;li&gt;The entire CPU and RAM assembly sits on a daughterboard that can be slid
out. This will make upgrading RAM (when the modules stop being back-ordered
at Crucial) a breeze.&lt;/li&gt;
&lt;li&gt;Built-in Bluetooth means no more flaky USB dongles.&lt;/li&gt;
&lt;li&gt;No extras. The G5 included OmniGraffle, OmniOutliner, Quickbooks, Comic
Life and a bunch of other apps like Art Director&apos;s Toolkit. No such frills
on the Mac Pro even though it is significantly more expensive even in its
base configuration.&lt;/li&gt;
&lt;li&gt;The optical out is now 96kHz 24-bit capable, unlike the G5 that was
limited to 44kHz 16-bit Red Book audio. I have some lossless 192kHz studio
master recordings from &lt;a href=&quot;http://www.linnrecords.com/&quot;&gt;Linn
Records&lt;/a&gt;, so I will have to get a USB DAC to get full use out of them. I
am not sure why Apple cheaped out on the audio circuitry in a professional
workstation that is going to be heavily used by musicians.&lt;/li&gt;
&lt;li&gt;The G5 was one of the first desktop machines to have a gigabit Ethernet
port. Apple didn&apos;t seize the opportunity to lead with 10G Ethernet.&lt;/li&gt;
&lt;li&gt;The annoying Mini DisplayPort is just as proprietary as ADC, but without
the redeeming usability benefits of using a single cable for power, video and
USB. DisplayPort makes sense for professional use with high-end monitors
like the &lt;a href=&quot;http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/382087-382087-64283-72270-444767-3648397.html&quot;&gt;HP
Dreamcolor LP2480zx&lt;/a&gt; that can actually use 10-bit DACs for ultra-accurate
color workflows. There is no mini to regular DisplayPort adapter,
unfortunately. Well, the thinness of the cable is a redeeming feature. Apple
has always paid attention to using premium ultra-flexible cables everywhere 
from the power cord to Firewire.&lt;/li&gt;
&lt;li&gt;Transferring over 800GB of data from the old Mac is utterly tedious, even
over Firewire 800 using Target Disk mode on the G5...&lt;/li&gt;
&lt;li&gt;As could be expected, the Mac Pro wipes the floor with the G5, as
&lt;a href=&quot;http://db.xbench.com/merge.xhtml?doc1=165177&amp;amp;doc2=354400&quot;&gt;measured
by Xbench&lt;/a&gt;. A more interesting comparison is &lt;a href=&quot;http://db.xbench.com/merge.xhtml?doc1=266970&amp;amp;doc2=354400&quot;&gt;with the
MacBook Air&lt;/a&gt;, which also uses a SSD, albeit a slowish one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note (2009-03-17):&lt;/p&gt;

&lt;p&gt;The BTO upgrade ATI Radeon HD 4870 video card I initially ordered  won&apos;t
recognize my HP LP3065 30&quot; monitor, at least not on the Dual-link DVI port,
which essentially renders it useless for me.&lt;/p&gt;

&lt;p&gt;Update (2009-03-18):&lt;/p&gt;

&lt;p&gt;I went to the Hillsdale Apple Store. The tech was very helpful, but we
managed to verify that the ATI Radeon HD 4870 card works fine on an Apple
30&quot; Cinema Display (via Dual-link DVI) and on a 24&quot; Cinema LED display (via
mini-DisplayPort). The problem is clearly an incompatibility between the ATI
Radeon HD 4870 and the HP LP3065.&lt;/p&gt;

&lt;p&gt;I am not planning on switching monitors. The HP is probably the best you
can get under $3000, and far superior in gamut, ergonomics (tilt/height
adjustments) and connectivity (3 Dual-link DVI ports) to the current
long-in-the-tooth Apple equivalent, for 2/3 the price. My only option is to
downgrade the video card to a nVidia GeForce GT 120. I ordered one from the
speedy and reliable folks at &lt;a href=&quot;http://www.bhphotovideo.com/&quot;&gt;B&amp;amp;H&lt;/a&gt; and should get it tomorrow
(Apple has it back-ordered for a week).&lt;/p&gt;

&lt;p&gt;Update (2009-03-19):&lt;/p&gt;

&lt;p&gt;I swapped the ATI 4870 for the nVidia GT120. The new card works with the
monitor. Whew!&lt;/p&gt;

&lt;p&gt;Update (2009-03-29):&lt;/p&gt;

&lt;p&gt;I have just learned disturbing news about racial discrimination at B&amp;amp;H.
For the &lt;a href=&quot;http://www.rangefinderforum.com/forums/showthread.php?p=1023684#post1023684&quot;&gt;reasons
I give on RFF&lt;/a&gt;, I can no longer recommend shopping there.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2009/03/18-1.html</guid>
      <pubDate>Wed, 18 Mar 2009 07:00:25 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2009/03/18-1.html</link>
      <category>Macintosh</category>
    </item>
  
    <item>
      <title>Parallelizing the command-line</title>
      <description>&lt;p&gt;Single-thread processor performance has stalled for a few years now.
Intel and AMD have tried to compensate by multiplying cores, but the
software world has not risen to the challenge, mostly because the problem is
a genuinely hard one.&lt;/p&gt;
&lt;p&gt;Shell scripts are still usually serial, and increasingly at odds with the
multi-core future of computing. Let&apos;s take a simple task as an example,
converting a large collection of images from TIFF to JPEG format using a
tool like &lt;a href=&quot;http://www.imagemagick.org/&quot;&gt;ImageMagick&lt;/a&gt;. One
approach would be to spawn a &lt;tt&gt;convert&lt;/tt&gt; process per input file as
follows:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c&quot;&gt;#!/bin/sh&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;for &lt;/span&gt;file in *.tif; &lt;span class=&quot;k&quot;&gt;do&lt;/span&gt;
  convert &lt;span class=&quot;nv&quot;&gt;$file&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$file&lt;/span&gt;|sed -e &lt;span class=&quot;s1&quot;&gt;&amp;#39;s/.tif$/.jpg/g&amp;#39;&lt;/span&gt; &amp;amp;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This does not work. If you have many TIFF files to convert (what would be
the point of parallelizing if that were not the case?), you will fork off
too many processes, which will contend for CPU and disk I/O bandwidth,
causing massive congestion and degrading performance. What you want is to
have only as many concurrent processes as there are cores in your system
(possibly adding a few more because a tool like &lt;tt&gt;convert&lt;/tt&gt; is not 100%
efficient at using CPU power). This way you can tap into the full power of
your system without overloading it.&lt;/p&gt;

&lt;p&gt;The GNU &lt;tt&gt;xargs&lt;/tt&gt; utility gives you that power using its &lt;tt&gt;-P&lt;/tt&gt;
flag. &lt;tt&gt;xargs&lt;/tt&gt; is a UNIX utility that was designed to work around
limits on the maximum size of a command line (usually 256 or 512 bytes).
Instead of supplying arguments over the command-line, you supply them as the
standard input of &lt;tt&gt;xargs&lt;/tt&gt;, which then breaks them into manageable
chunks and passes them to the utility you specify.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;-P&lt;/tt&gt; flag to GNU &lt;tt&gt;xargs&lt;/tt&gt;specifies how many concurrent
processes can be running. Some other variants of &lt;tt&gt;xargs&lt;/tt&gt; like
OS X&apos;s non-GNU (presumably BSD) &lt;tt&gt;xargs&lt;/tt&gt; also support &lt;tt&gt;-P&lt;/tt&gt; but
not Solaris&apos;. &lt;tt&gt;xargs&lt;/tt&gt; is very easy to script and can provide a
significant boost to batch performance. The previous script can be rewritten
to use 4 parallel processes:&lt;/p&gt;

&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c&quot;&gt;#!/bin/sh&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;CPUS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;4
ls *.tif|sed -e &lt;span class=&quot;s1&quot;&gt;&amp;#39;s/.tif$//g&amp;#39;&lt;/span&gt;|gxargs -P &lt;span class=&quot;nv&quot;&gt;$CPUS&lt;/span&gt; -n 1 -I x convert x.tif x.jpg
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;On my Sun Ultra 40 M2 (2x 1.8GHz AMD Opterons, single-core), I
benchmarked this procedure against 920MB of TIFF files. As could be
expected, going from 1 to 2 concurrent processes improved throughput
dramatically, going from 2 to 3 yielded marginal improvements
(&lt;tt&gt;convert&lt;/tt&gt; is pretty good at utilizing CPU to the max). Going from 3
to 4 actually degraded performance, presumably due to the kernel overhead of
managing the contention.&lt;/p&gt;

&lt;center&gt;&lt;img alt=&quot;benchmark&quot; src=&quot;http://www.majid.info/mylos/weblog/2008/09/xargs.png&quot; width=&quot;584&quot; height=&quot;227&quot;&gt;&lt;/center&gt;

&lt;p&gt;Another utility that is parallelizable is GNU &lt;tt&gt;make&lt;/tt&gt; using the
&lt;tt&gt;-j&lt;/tt&gt; flag. I parallelize as many of my build procedures as possible,
but for many open-source packages, the usual &lt;tt&gt;configure&lt;/tt&gt; step is not
parallelized (because &lt;tt&gt;configure&lt;/tt&gt; does not really understand the
concept of dependencies). Unfortunately there are too many projects whose
makefiles are missing dependencies, causing parallelized makes to fail. In
this day and age of Moore&apos;s law running out of steam as far as single-task
performance is concerned, harnessing parallelism using &lt;tt&gt;gxargs -P&lt;/tt&gt; or
&lt;tt&gt;gmake -j&lt;/tt&gt; is no longer a luxury but should be considered a
necessity.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/09/27-1.html</guid>
      <pubDate>Sun, 28 Sep 2008 05:15:11 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/09/27-1.html</link>
      <category>IT</category>
    </item>
  
    <item>
      <title>Large sensor compact cameras finally on the horizon</title>
      <description>&lt;p&gt;I have &lt;a href=&quot;http://www.majid.info/mylos/stories/2004/02/13/megapixel.html&quot;&gt;stated
on the record&lt;/a&gt; that my dream camera is a digital Contax T3 with an APS-C
size sensor (or larger). Sigma launched the &lt;a href=&quot;http://sigma-dp1.com/&quot;&gt;DP1&lt;/a&gt;, the first large-sensor compact this
year, but it is a flawed camera, very sluggish, with a slow f/4 lens, and
its Foveon sensor tops out at ISO 800, making it in practice a less capable
low-light camera than my &lt;a href=&quot;http://www.dpreview.com/reviews/fujifilmf31fd/&quot;&gt;Fuji F31fd&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A few weeks ago, Olympus and Panasonic announced the &lt;a href=&quot;http://www.dpreview.com/news/0808/08080501microfourthirds.asp&quot;&gt;Micro
Four Thirds&lt;/a&gt; specification, which would allow for interchangeable-lens
compact cameras with a larger sensor than the nasty tiny and noisy ones used
on most compacts. Unfortunately it seems the whole misguided Four Thirds
effort is destined to flounder, just as APS did compared to 35mm, despite
the undeniable convenience. The 18x13.5mm sensor size has almost half the
area of an APS-C sensor and all Four Thirds camera made so far have
predictably poor low-light performance.&lt;/p&gt;

&lt;p&gt;In a much more promising development, Samsung &lt;a href=&quot;http://www.amateurphotographer.co.uk/news/new_interchangeable_lens_system_compact_digital_camera_system_on_the_way_news_266661.html?aff=rss&quot;&gt;announced
today&lt;/a&gt; that since it is finding it very hard to dislodge Canon and Nikon
from their top position in DSLRs or even make a dent, they are going to
create an entire new segment of professional quality compact cameras using
the same APS-C sensors as their DSLRs, and due for 2010. Samsung uses the
Pentax lens mount for its DSLRs, and has a long established relationship
with Schneider Kreuznach. Pentax makes some very nice pancake lenses that
combine high optical quality with small size. The only other company is
Olympus, but the 25mm f/2 is saddled with the aforementioned Four Thirds
sensor with all the limitations that entails.&lt;/p&gt;

&lt;p&gt;At the same time, Thom Hogan has echoed rumors of an APS-C size Coolpix
compact from Nikon. It looks like the big camera manufacturers can no longer
afford to ignore the pent-up demand for this category, as demonstrated by
the brisk sales of the DP1 (No. 49 on Amazon&apos;s Digital SLR chart).&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/08/30-1.html</guid>
      <pubDate>Sat, 30 Aug 2008 17:37:21 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/08/30-1.html</link>
      <category>Photo</category>
    </item>
  
    <item>
      <title>r n m restaurant</title>
      <description>&lt;p&gt;&lt;img src=&quot;http://www.rnmrestaurant.com/entrance1.jpg&quot; alt=&quot;rnm&quot; style=&quot;margin-left:
10px; margin-bottom: 50px;&quot; align=&quot;right&quot; height=&quot;306&quot; width=&quot;400&quot;&gt;I have
just eaten what is hands-down my best meal of the year at &lt;a href=&quot;http://www.rnmrestaurant.com/&quot;&gt;r n m restaurant&lt;/a&gt; (their
capitalization, not mine), on Haight &amp;amp; Steiner in the Duboce Park/Lower
Haight district of San Francisco (not to be confused with the formerly
raffish and now utterly commercialized Haight-Ashbury).&lt;/p&gt;

&lt;p&gt;The restaurant is named after the chef-owner&apos;s father, Robert Miner, a
co-founder of Oracle. The food was so good I am almost ready to forgive
Oracle for their sleazy extortion tactics...&lt;/p&gt;

&lt;p&gt;I started with the &lt;em&gt;Parisian style tuna tartare with waffle chips,
microgreens and a quail egg&lt;/em&gt;, a very classic dish (and one too often
botched by careless chefs), given a little pep with a slight acidity. It was
followed by an absolutely outstanding &lt;em&gt;pan-roasted local halibut on ricotta
gnocchi with asparagus and morel mushroom ragout, meyer lemon vinaigrette
and m&amp;acirc;che&lt;/em&gt;. The halibut was crisp outside, flaky inside. The
rago&amp;ucirc;t was simply wonderful, a deep, rich and tangy broth, also
slightly acidulated, with a generous helping of precious black morels. To
top it off, the dessert, a &lt;em&gt;Peach and cherry crisp with home-made
blueberry gelato&lt;/em&gt; combined two of my favorite summer fruit in an
unbeatable combination.&lt;/p&gt;

&lt;p&gt;Be advised the parking situation in that neighborhood is particularly
nightmarish, even by SF standards. If I had realized they offer valet
parking, I wouldn&apos;t have had to park halt a mile away (after seeking a place
in vain for nearly half an hour).&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/07/12-1.html</guid>
      <pubDate>Sun, 13 Jul 2008 06:39:19 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/07/12-1.html</link>
      <category>Food</category><category>San Francisco</category>
    </item>
  
    <item>
      <title>A contrarian take on Delicious Library 2</title>
      <description>&lt;p&gt;On Friday I yielded to the hype, and after cursory testing, I purchased a
copy of &lt;a href=&quot;http://delicious-monster.com/&quot;&gt;Delicious Library 2&lt;/a&gt;. The
clincher was the new feature that allows you to inventory your physical
posessions like electronics or cameras, and publish them in HTML format for
insurance purposes.&lt;/p&gt;

&lt;p&gt;Unfortunately, after some slightly less cursory use of the product, it is
deeply unsuited to this purpose. To think I actually upgraded my home
Powermac G5 from Tiger to Leopard just to use this software...&lt;/p&gt;

&lt;p&gt;For starters, on my dual 2Ghz G5, when running in a window on my
secondary 30&quot; monitor, the program is slow as molasses. With a library with
only 3 items total, entering data fields is a one character per second tar
pit. Moving the window back to the primary 23&quot; monitor helped only a bit.&lt;/p&gt;

&lt;p&gt;Secondly, the data model is simplistic. For all practical purposes,
gadgets are treated just like books, with some repurposing of fields. The
all-important serial number can&apos;t even be displayed in column view.&lt;/p&gt;

&lt;p&gt;Third, even basic tasks are not handled properly. I have a &lt;a href=&quot;http://www.majid.info/mylos/weblog/2006/03/27-1.html&quot;&gt;Symbol CS1504&lt;/a&gt; pocket scanner,
which is one quarter the price or size of the Bluetooth scanner Delicious
Monster sells, and has a 500 barcode memory, so you can actually use it away
from your computer. Using my Python driver, I scanned some books&apos; bar
codes, dumped a text file of ISBNs and imported it into DL2. The import
mapper allows you to specify which fields of the tab-separated text file go
into which field of the DL2 data model. You would expect it to retrieve book
detail automatically, but it does not do so. Worse yet, the &quot;retrieve book
details from the Internet&quot; menu is grayed out when you select one of the
imported books.&lt;/p&gt;

&lt;p&gt;There are also some fit-and-finish issues. Right-clicking to get the
context menu and selecting the &quot;View in Amazon&quot; option does not do anything.
Perhaps this is due to the fact Camino is set to be my default browser, but
the other way to view book details on Amazon works (hovering the mouse over
the book cover thumbnail, then clicking on the overlaid eye icon that
appears when you hover).&lt;/p&gt;

&lt;p&gt;On the plus side, the HTML export works quite well, and the loan manager
probably does as well, but given the shortcomings of the current version, I
would not advise using it unless all you want to manage is books, CDs and
DVDs, and you can afford to buy their expensive Bluetooth scanner to use in
wireless semi-tethered mode.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/06/01-1.html</guid>
      <pubDate>Mon, 02 Jun 2008 05:29:40 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/06/01-1.html</link>
      <category>Macintosh</category>
    </item>
  
    <item>
      <title>Christopher Elbow chocolates</title>
      <description>&lt;p&gt;A few months ago, a new chocolate shop opened in Hayes Valley.
&lt;a href=&quot;http://www.elbowchocolates.com/&quot;&gt;Christopher Elbow&lt;/a&gt; chocolates
is based in Kansas City, not a place that immediately springs to mind when
the Great American Chocolate Renaissance is discussed. I had bought some of
their products from Cocoa Bella, however, and knew they were good, if
pricey.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://www.majid.info/mylos/weblog/2008/05/elbow.jpg&quot; alt=&quot;Christopher Elbow&quot; width=&quot;500&quot;
height=&quot;333&quot;&gt;&lt;/center&gt;

&lt;p&gt;They sell moderately expensive chocolate bars (the No. 10 41% milk
chocolate with hazelnuts is pretty good), drinking chocolate, and
bouch&amp;eacute;ees. The latter are a little too bleeding edge for my taste
(spices do &lt;em&gt;not&lt;/em&gt; belong in chocolate), but the Bourbon Pecan is to
die for, a light and moist, pecan marzipan, almost creamy despite the
deliberately roughly chopped texture, and  topped with ganache. Not
surprisingly, it is usually sold out at the other outlets..&lt;/p&gt;

&lt;p&gt;The real draw, as far as I am concerned, is the hot chocolate. Dark,
rich, creamy and thick, specially if you ask them to blend it with genuine
praline, it is absolutely delicious. You can enjoy it in the twee little
salon in the corner of the store before a concert at the nearby Symphony, or
shopping in Hayes valley. If you are in the neighborhood, try also &lt;a href=&quot;http://www.miettecakes.com/gallery_2.html&quot;&gt;Miette Confiserie&lt;/a&gt;.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/05/13-1.html</guid>
      <pubDate>Wed, 14 May 2008 05:32:27 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/05/13-1.html</link>
      <category>Food</category><category>San Francisco</category>
    </item>
  
    <item>
      <title>The value of over-the-counter service</title>
      <description>&lt;p&gt;My primary computer is a dual 2GHz PowerMac G5 until I can upgrade it
with a Nehalem Mac Pro, most likely around the end of the year or early next
year. I bought it in 2004, along with a 23&quot; Apple Cinema HD (the old
pinstripe plastic bezel kind with an ADC connector). Unfortunately, about a
year ago the CCFL backlight on the monitor started turning pink from old
age, and thus unusable in a properly color-managed photographic workflow.&lt;/p&gt;

&lt;p&gt;I used that as an excuse to splurge on a humongous (and
agoraphobia-inducing) &lt;a href=&quot;http://www.geek.com/review-hp-lp3065-30-lcd-monitor/&quot;&gt;HP LP3065&lt;/a&gt; 30
inch LCD monitor after reading the glowing &lt;a href=&quot;http://www.anandtech.com/displays/showdoc.aspx?i=2950&quot;&gt;reviews&lt;/a&gt;.
The two features that sold me were the enhanced color gamut (the only way to
improve that would be to get a $6000 Samsung XL30, something I am not quite
prepared to do), and the fact it has 3 built-in DVI ports, so it can easily
be shared by multiple computers (assuming they support dual-link DVI, which
unfortunately my basic spec Sun Ultra 40 M2 does not). The fact it was 25%
less expensive than the Apple 30&quot; Cinema Display helped, of course.&lt;/p&gt;

&lt;p&gt;About 6 months ago, I discovered there was a fine pink vertical line
running across the entire height of the monitor, roughly 25 centimeters from
the left. Since I primarily use that monitor for photo (the primary monitor
for Mail, web browsing or terminals remains the Apple), at first I worried
there was a defect with my camera. I managed to reproduce the problem with
my MacBook Pro (they have dual-link DVI, unlike lesser laptops), and called
HP support (the 3 year HP warranty was also an important consideration when
I purchased).&lt;/p&gt;

&lt;p&gt;My first support call in November 2007 went well, and the tech told me I
would be contacted to arrange for an on-site exchange. This is a seriously
heavy monitor and I did not relish the idea of lugging it back to FedEx, so
getting premium support for a business-class monitor sounded an attractive
proposition. Unfortunately, they never did call back, and as I had &lt;a href=&quot;http://www.majid.info/mylos/weblog/2007/10/13-1.html&quot;&gt;other pressing matters to attend
to&lt;/a&gt; involving international travel, I just put it out of my mind (it is a
very subtle flaw that is not even always visible).&lt;/p&gt;

&lt;p&gt;I only got around to calling them back a few weeks ago. Unlike in
November, I was given the run-around with various customer service reps in
India until I was finally routed to a pleasant (and competent) tech in a
suburb of Vancouver (the US dollar going in the direction it is, you have to
wonder how much longer before HP outsources those call centers back to the
US). The problem is not with Indian call centers, in any case, all but one
of the CSRs were very polite (I suspect Indians learn more patience as they
grow up than pampered Americans or Europeans would). The problem is poorly
organized support processes and asinine scripts they are required to go
through if they want to keep their jobs. In any case, the Canadian rep
managed to find the FRU number and also told me someone would call to
schedule an appointment. Someone did call this time, to let me know the part
was back-ordered and they would call me when it becomes available.&lt;/p&gt;

&lt;p&gt;This morning, as I was heading for the shower, my intercom buzzed. It was
a DHL delivery man with the replacement monitor. I had to open the door to
him in my bath robe. Naturally, nobody at HP bothered to notify me and had I
left earlier, I would have missed him altogether.&lt;/p&gt;

&lt;p&gt;One of the great things about Apple products is that if you live near an
Apple store, you can just stop by their pretentiously-named &lt;a href=&quot;http://www.apple.com/retail/geniusbar/&quot;&gt;Genius bars&lt;/a&gt; and get
support for free (though not free repairs for out-of-warranty products,
obviously). I now have a fully working HP monitor again, so I suppose I
can&apos;t complain too loudly, but the Apple monitor with the sterling support
looks like the true bargain in hindsight.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/04/24-1.html</guid>
      <pubDate>Fri, 25 Apr 2008 00:42:05 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/04/24-1.html</link>
      <category>IT</category><category>Macintosh</category><category>Soapbox</category>
    </item>
  
    <item>
      <title>Backing up is hard to do (right)</title>
      <description>&lt;p&gt;You can never overstate the importance of backups. Over the last year I
have put quite a bit of effort in making sure my data is backed up
properly. The purpose of this article is not to describe backup best practices
(that is a vast subject, there are other, better resources available on the
web, and in any case there is no one-size-fits-all solution). I am just
documenting my setup, the requirements that drove it, and possibly give
readers some ideas.&lt;/p&gt;

&lt;p&gt;The first part in planning for backup is to do an inventory of the assets
you are trying to protect. In my case, in order of priority:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1.5GB of scans of important documents: birth certificates, diplomas,
invoices, legal documents, bank statements, and so on. This data is very
sensitive, and should be encrypted.&lt;/li&gt;
&lt;li&gt;150GB of digital photos and scans&lt;/li&gt;
&lt;li&gt;My address book, which lives on my laptop&lt;/li&gt;
&lt;li&gt;My source code repositories&lt;/li&gt;
&lt;li&gt;My personal email, approximately .75GB&lt;/li&gt;
&lt;li&gt;The contents of this website, about 5GB&lt;/li&gt;
&lt;li&gt;190GB of music (&lt;a href=&quot;http://www.majid.info/mylos/weblog/2005/02/20-1.html&quot;&gt;lossless
rips&lt;/a&gt; of my CD collection)&lt;/li&gt;
&lt;li&gt;My &lt;a href=&quot;http://www.temboz.com&quot;&gt;Temboz&lt;/a&gt; article database&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thus the total storage capacity required for a full backup is reaching
the 400GB mark. This in itself precludes DVD-R or even tape backup (short of
buying an expensive LTO-4 tape drive or an autoloader, that is).&lt;/p&gt;

&lt;p&gt;The second step is to devise your threat model. In my case, by decreasing
order of likelihood:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Human error&lt;/li&gt;
&lt;li&gt;Hard drive failure&lt;/li&gt;
&lt;li&gt;Software failure (e.g. filesystem corruption)&lt;/li&gt;
&lt;li&gt;Silent data loss or corruption, e.g a defective disk&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://news.bbc.co.uk/2/hi/entertainment/7019644.stm&quot;&gt;Theft&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Fire, earthquake, natural disaster, etc.&lt;/li&gt;
&lt;/ol&gt;		    

&lt;p&gt;Third, some general principles I believe in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do not use proprietary backup formats. The best format is plain files on
a filesystem identical in structure to the original.&lt;/li&gt;
&lt;li&gt;Do not rely on offline media for backups. The watched pot does not boil
over, online data is much less likely to go bad without my noticing until it
is too late.&lt;/li&gt;
&lt;li&gt;A backup plan needs to be effortless to be successful. Plugging in
external drives when backups are needed, or rotating drives between home and
office is something I have tried, but not stuck to.&lt;/li&gt;
&lt;li&gt;Backups should be verified &amp;mdash; they should generate positive feedback,
so that the absence of feedback can alert to problems&lt;/li&gt;
&lt;li&gt;For all types of data, there should be one and only one reference
machine that holds the authoritative copy. Multi-master synchronization and
replication is possible using tools like &lt;a href=&quot;http://www.cis.upenn.edu/~bcpierce/unison/&quot;&gt;Unison&lt;/a&gt;, but is much
harder to manage and increases the risk of human error.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With these preliminaries out of the way, here is my system:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;My primary backups reside on my home server, a &lt;a href=&quot;http://www.sun.com/desktop/workstation/ultra40/&quot;&gt;Sun Ultra 40 M2&lt;/a&gt;
workstation, running Solaris 10. This machine is very quiet, so I can keep
it running in the room next to my bedroom without disturbing my sleep. It is
also relatively power-efficient at 160W with seven hard drives.&lt;/li&gt;

&lt;li&gt;One of the seven drives is the 160GB boot drive, and the other six are
750GB Seagate drives configured in a 3TB &lt;a href=&quot;http://www.sun.com/software/solaris/zfs_learning_center.jsp&quot;&gt;ZFS&lt;/a&gt;
RAID-Z2 storage pool.&lt;/li&gt;

&lt;li&gt;With large SATA drives, reconstruction after a drive failure is long and
the risk of another drive failing due to the stress of rebuilding is not
negligible. &lt;a href=&quot;http://blogs.sun.com/ahl/entry/double_parity_raid_z&quot;&gt;RAID-Z2&lt;/a&gt; can
tolerate two drives failing, unlike RAID 5 which can only tolerate a single
drive failure. This level of data protection is higher than RAID 1 since
RAID 1 won&apos;t protect you if two drives that are the mirror of one another
fail. You can get the same level of protection in RAID 6 or RAID-DP.&lt;/li&gt;

&lt;li&gt;I have scripts to take ZFS snapshots daily, equivalent to the &lt;a href=&quot;http://blogs.sun.com/timf/entry/zfs_automatic_snapshots_prototype_1&quot;&gt;auto-snapshot
service&lt;/a&gt;. The daily snapshots are kept for the current month, then I keep
only monthly snapshots. Snapshots are the primary line of defense against
human error.&lt;/li&gt;

&lt;li&gt;Snapshot technology consumes only as much disk space as required to store
the differences between the snapshot and current versions of a file, and is
much more efficient than schemes like Apple&apos;s Time Machine where a single
byte change to a multi-gigabyte file like a Parallels virtual disk image will
cause the entire file to be duplicated, wasting storage. Because snapshots
are taken near instantly and cost almost nothing, they are an extremely
powerful feature of a storage
subsystem.&lt;/li&gt;

&lt;li&gt;I backup from my various machines to the Sun via &lt;a href=&quot;http://samba.anu.edu.au/rsync/&quot;&gt;rsync&lt;/a&gt; over ssh. An incremental
backup of my PowerMac G5, which has most of the 400GB in my backup set, takes
less than 5 minutes over Gigabit Ethernet, despite the ssh encryption.&lt;/li&gt;

&lt;li&gt;ZFS is probably the best filesystem, bar none, but it is not perfect, as
demonstrated by the &lt;a href=&quot;http://www.joyeur.com/2008/01/22/bingodisk-and-strongspace-what-happened&quot;&gt;Joyent
outage&lt;/a&gt; and you still need another copy for backup in case of ZFS
corruption.&lt;/li&gt;

&lt;li&gt;Every night at 2AM a cron job on my old home server (2x400GB, ZFS RAID
0), that I now I keep at work, pulls updates from the Sun using rsync over
ssh (the company firewall won&apos;t let me push updates to it from the Sun).
Another cron job at 8AM kills any leftover rsync processes, e.g. if there
are more data changes to transfer than fit in the 1-2 GB that can be
transferred in 6 hours over my relatively pokey 320-512kbps DSL uplink (no
thanks to AT&amp;amp;T&apos;s benighted refusal to upgrade its tired
infrastructure).&lt;/li&gt;

&lt;li&gt;My cron jobs use verbose output which generates an email sent back to
me. I could suppress those messages, but then I would lose the ability to
detect errors.&lt;/li&gt;

&lt;li&gt;A last line of defense is to back up my server at work to a &lt;a href=&quot;http://www.dlink.com/products/?pid=509&quot;&gt;D-Link DNS-323&lt;/a&gt; NAS box using
rsync over NFS. This cute little unit holds two Western Digital Green Power
1TB drives in RAID 1, which slide right in, no tools required. It consumes
next to no power or desk space. Since it runs Linux and is easy to extend
using &lt;a href=&quot;http://www.inreto.de/dns323/fun-plug/&quot;&gt;fun-plug&lt;/a&gt;, I could
conceivably run the cron and rsync from there. As a bonus, the built-in &lt;a href=&quot;http://www.fireflymediaserver.org/&quot;&gt;mt-daapd&lt;/a&gt; server streams my
entire music collection to iTunes over the LAN so I can listen to any of my
CDs at work.&lt;/li&gt;

&lt;li&gt;It can take a few days for this data bucket brigade to catch up with a
particularly intense photo shoot, but it will eventually and is never too
far behind. This provides me with near continuous data protection and
disaster recovery.&lt;/li&gt;

&lt;/ul&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/04/10-1.html</guid>
      <pubDate>Thu, 10 Apr 2008 23:45:47 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/04/10-1.html</link>
      <category>Macintosh</category>
    </item>
  
    <item>
      <title>Push recruiting</title>
      <description>&lt;p&gt;As I was debugging why &lt;a href=&quot;http://feedparser.org/&quot;&gt;feedparser&lt;/a&gt; is
mangling the GigaOM feed titles, I found this easter egg on the Wordpress
hosted site:&lt;/p&gt;

&lt;pre&gt;
&lt;font color=&quot;gray&quot;&gt;zephyr ~&gt;telnet gigaom.com 80
Trying 72.232.101.40...
Connected to gigaom.com.
Escape character is &apos;^]&apos;.&lt;/font&gt;
&lt;font color=&quot;#406d01&quot;&gt;GET /feed HTTP/1.0
Host: gigaom.com&lt;/font&gt;

HTTP/1.0 301 Moved Permanently
Vary: Cookie
&lt;font color=&quot;red&quot;&gt;X-hacker: If you&apos;re reading this, you should visit automattic.com/jobs and
apply to join the fun, mention this header.&lt;/font&gt;
Location: http://feeds.feedburner.com/ommalik
Content-type: text/html; charset=utf-8
Content-Length: 0
Date: Thu, 20 Mar 2008 23:36:17 GMT
Server: LiteSpeed
Connection: close

Connection closed by foreign host.
&lt;/pre&gt;

&lt;p&gt;Knowing how to issue HTTP requests by hand is one of my litmus tests for
a web developer, but I had never thought of using it in this creative way as a
recruiting tool...&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/03/20-1.html</guid>
      <pubDate>Thu, 20 Mar 2008 23:33:30 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/03/20-1.html</link>
      <category>IT</category>
    </item>
  
    <item>
      <title>Macworld 2008 round-up</title>
      <description>&lt;p&gt;&lt;img src=&quot;http://www.majid.info/mylos/weblog/2008/01/DSC_0205.jpg&quot; width=&quot;200&quot; height=&quot;600&quot; alt=&quot;MacBook Air&quot;
align=&quot;right&quot; style=&quot;margin-left:10px; margin-bottom:50px&quot; /&gt;The &lt;a href=&quot;http://www.apple.com/macbookair/&quot;&gt;MacBook Air&lt;/a&gt; was what I was waiting
for (I pre-ordered the SSD version just before the online Apple Store buckled
under the load). I have a MacBook Pro 15&quot;, and because of its weight I end up
leaving it at work and not carry it with me at all times (the MacBook is
hardly any lighter). Sure, the Air has drastically limited connectivity (the
lack of Gigabit Ethernet is probably what I will regret most, even though I
clocked my Airport Extreme at 90 true Mbps throughput). Other minuses include
the glossy screen (instead of an anti-reflective one), the MacBook-like
chiclet keyboard rather than the much nicer MacBook Pro keyboard), or the
sealed non user-replaceable battery.&lt;/p&gt;

&lt;p&gt;I suspect people deriding it are people whose main machine is a laptop. My
main machine is a tower desktop, and no laptop is ever going to compete in
terms of capacity and expandability. The drive on the laptop is merely a cache
for the desktop where the real data lives. The compromises the Air makes are
acceptable ones in exchange for a machine that is light enough for me to carry
all the time. I was considering getting an Asus Eee PC prior to the show, and
the MacBook Air is a vastly more capable and polyvalent machine.&lt;/p&gt;

&lt;p&gt;Apart from that, the show was a relatively quiet one with few truly
noteworthy new products. Here are the main highlights:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Matias did not have the &lt;a href=&quot;http://www.tactilepro.com/&quot;&gt;Tactilepro&lt;/a&gt; 2.0 keyboard on display. I
love mine (a version 1 with the ALPS keyswitch) and would like to get a spare,
but apparently they have parted ways with the manufacturer of the new
Matias-designed keyswitches and are working on a 3.0 version for later this
year.&lt;/li&gt;

&lt;li&gt;Fujitsu were demonstrating an ultra-small, bus-powered document scanner,
the &lt;a href=&quot;http://www.fujitsu.com/us/services/computing/peripherals/scanners/scansnap/s300.html&quot;&gt;S300M&lt;/a&gt;. Unfortunately,
once again for reasons due to licensing of the bundled software, they could
not release a single SKU that would work with both PCs and Macs.&lt;/li&gt;

&lt;li&gt;The German company Project Wizards was demonstrating &lt;a href=&quot;http://www.projectwizards.net/en/merlin&quot;&gt;Merlin&lt;/a&gt;, a project
management program similar to Microsoft Project. The scheduling and
load-leveling algorithms look at least as capable as Project 2000, and they
told me the next version will allow team members to report on task advancement
by simply contacting a built-in web server. Looks like a promising
product.&lt;/li&gt;

&lt;li&gt;Samsung showed the &lt;a href=&quot;http://www.samsung.com/us/consumer/detail/detail.do?group=printersmultifunction&amp;amp;type=printersmultifunction&amp;amp;subtype=colorlaserprinters&amp;amp;model_cd=CLP-300/XAA&quot;&gt;CLP-300&lt;/a&gt;
which they bill the world&apos;s smallest color laser printer. Indeed it looks
roughly the same size as my monochrome HP LaserJet 1320, and much smaller than
my bulky HP 2605dn, that&apos;s quite an achievement. I am wary of Samsung lasers
since buying the CLP-500 for Kefta a few years back. The print quality was
fine, but it was ludicrously slow, taking something like 5 minutes per color
page to print. The CLP-300 seems reasonably fast, faster than the 2605dn at
any rate.&lt;/li&gt;

&lt;li&gt;Samsung was also showing off the gorgeous XL30 30&quot; LED-backlit LCD
monitor. LED backlight is more environmentally friendly, does not shift colors
as it ages unlike a TFT backlight, and gives a wider color
gamut. Unfortunately, its price is a princely &quot;between $6000 and $7000&quot;.&lt;/li&gt;

&lt;li&gt;Microsoft was showing off &lt;a href=&quot;http://www.microsoft.com/mac/products/Office2008/default.mspx&quot;&gt;Office
2008&lt;/a&gt;, emphasizing ease of use and productivity rather than features for
features&apos; sake for a change.&lt;br&gt;&lt;br&gt;&lt;img width=&quot;500&quot; height=&quot;250&quot;
alt=&quot;Microsoft Blogger lounge&quot; src=&quot;http://www.majid.info/mylos/weblog/2008/01/DSC_0210.jpg&quot; /&gt;&lt;br&gt;&lt;br&gt;They even set up a
bloggers-only salon to curry favor, complete with Internet cafe and
snacks.&lt;/li&gt;

&lt;li&gt;I tried Nikon&apos;s humongous &lt;a href=&quot;http://www.nikonusa.com/template.php?cat=1&amp;amp;grp=5&amp;amp;productNr=2150&quot;&gt;AF-S
VR Nikkor 200mm f/2G IF-ED&lt;/a&gt; lens. Very heavy but impressive piece of
gear.&lt;/li&gt;

&lt;li&gt;Canon was showing off the new Flash-based HD camcorders they introduced at
CES. They are not that much smaller than the HDV ones. The HV30 replaces the
excellent HV20, but the only real improvements are 1080p30 mode and an
articulating LCD.&lt;/li&gt;
&lt;/ul&gt;</description>
      <guid>http://www.majid.info/mylos/weblog/2008/01/15-1.html</guid>
      <pubDate>Wed, 16 Jan 2008 06:29:41 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/01/15-1.html</link>
      <category>Macintosh</category>
    </item>
  
    <item>
      <title>A San Francisco local's advice to Macworld attendees</title>
      <description>&lt;p&gt;&lt;img style=&quot;margin-bottom: 10px; margin-left: 10px&quot; width=&quot;200&quot;
height=&quot;465&quot; align=&quot;right&quot; alt=&quot;Third Street&quot; src=&quot;http://www.majid.info/mylos/weblog/2008/01/_EPS0131.jpg&quot; /&gt;I have been
living and working in downtown San Francisco for almost eight years now. Until
a month ago, my office window (right) used to overlook Third Street and the
Moscone center. San Francisco is a popular convention destination (one wonders
why proctologists seem to prefer it to, say, Detroit) but Macworld Expo is
definitely the biggest show in town. Restaurants and hotels are taken by
storm, taxis become scarce, traffic gets even snarlier and the lines at Metron
eateries cross the threshold of ludicrousness. So here are a few tips for
Macworld attendees to have a better time and not caught in tourist traps.&lt;/p&gt;

&lt;h2&gt;Transportation&lt;/h2&gt;

&lt;p&gt;Driving in San Francisco is a non-starter. Traffic is horrendous, parking
is scarce and you would lose far too much time just getting around. SF Muni is
a pretty good public transport system (at least by admittedly paltry US
standards) and their 1, 3 or 7 day &lt;a href=&quot;http://www.sfmta.com/cms/mfares/passports.htm&quot;&gt;Passport&lt;/a&gt; passes are
good value.&lt;/p&gt;

&lt;p&gt;Cars are mostly useless inside the city, but nice if you want to drive to
make a Fry&apos;s run or a day trip to Marin across the Golden Gate. If you must
drive, the friendly folks at &lt;a href=&quot;http://www.yelp.com/biz/reliable-rent-a-car-san-francisco&quot;&gt;Reliable
Rent-a-Car&lt;/a&gt; will give you decent rates on Toyotas. Until I bought a car
last month, they were my go-to place for when I needed a car.&lt;/p&gt;

&lt;h2&gt;Lunch&lt;/h2&gt;

&lt;p&gt;San Francisco has the best food in the United States, but you wouldn&apos;t know
if from the overpriced eateries in a three block radius. The &lt;a href=&quot;http://www.firewoodcafe.com/metreon.html&quot;&gt;Firewood Cafe&lt;/a&gt; and &lt;a href=&quot;http://www.buckhornsteakhouse.com/item.asp?id=4&quot;&gt;Buckhorn Grill&lt;/a&gt; in
the &lt;a href=&quot;http://www.westfield.com/metreon/&quot;&gt;Metron&lt;/a&gt; are actually
reasonably decent, but the throngs of convention-goers mean long lines. &lt;a href=&quot;http://www.mosgrill.com/yerba_buena_gardens/hours_and_location&quot;&gt;Mo&apos;s
Grille&lt;/a&gt; has excellent burgers (I recommend the aptly named &quot;Belly Buster&quot;),
and since access to it is a little tortuous, you have a fighting chance (it is
literally just above the Moscone South).&lt;/p&gt;

&lt;p&gt;Ranging a little further, &lt;a href=&quot;http://www.novabar.com/&quot;&gt;Nova&lt;/a&gt; has
decent burgers and a lovely lobster quesadilla, and the new &lt;a href=&quot;http://www.westfield.com/sanfrancisco/&quot;&gt;Westfield Mall&lt;/a&gt; three blocks
to the west has a decent food court. Some good local chains are &lt;a href=&quot;http://www.bistroburger.net/&quot;&gt;Bistro Burger&lt;/a&gt;, &lt;a href=&quot;http://www.sfsoupco.com/&quot;&gt;S.F. Soup Co.&lt;/a&gt; or &lt;a href=&quot;http://www.jaunted.com/story/2007/3/9/122129/4928/travel/Starbucks+Alternatives:++Cafe+Madeleine&quot;&gt;Caf&amp;eacute;
Madeleine&lt;/a&gt; (official birthday cake purveyor to Kefta).&lt;/p&gt;

&lt;p&gt;That said, the best lunch experience is to take the historic F line
streetcar to the &lt;a href=&quot;http://www.ferrybuildingmarketplace.com/&quot;&gt;Ferry
Building Marketplace&lt;/a&gt; with its wide variety of gourmet food stores and
eateries. I heartily recommend the clam chowder at &lt;a href=&quot;http://www.ferrybuildingmarketplace.com/ferry_plaza_seafood.php&quot;&gt;Ferry
Plaza Seafood&lt;/a&gt; (it used to be my Friday lunch of choice) or the eclectic
fare at &lt;a href=&quot;http://www.ferrybuildingmarketplace.com/boulettes_larder.php&quot;&gt;Boulette&apos;s
Larder&lt;/a&gt;. Chocolates from &lt;a href=&quot;http://www.ferrybuildingmarketplace.com/recchiuti_confections.php&quot;&gt;Michael
Recchiuti&lt;/a&gt; or fresh-pressed olive oil from &lt;a href=&quot;http://www.ferrybuildingmarketplace.com/stonehouse_california_olive_oil.php&quot;&gt;Stonehouse&lt;/a&gt;
make for great (and edible) souvenirs.&lt;/p&gt;

&lt;p&gt;Staying hydrated is important when you expect to spend an entire day on the
show floor. There is a &lt;a href=&quot;http://www.wholefoodsmarket.com/stores/soma/index.html&quot;&gt;Whole Foods&lt;/a&gt;
store a mere block away where you can buy any required provisions.&lt;/p&gt;

&lt;h2&gt;Dining&lt;/h2&gt;

&lt;p&gt;Dining in San Francisco is an embarrassment of riches, it would be a shame
to settle for overpriced hotel food. A word to the wise: most of the better
places are hooked into the &lt;a href=&quot;http://opentable.com/start.aspx?m=4&quot;&gt;OpenTable&lt;/a&gt; reservation system
which makes finding a good place with availability a much less hit-and-miss
affair. This year Macworld coincides with the &lt;a href=&quot;http://singleguychef.blogspot.com/2007/12/on-menu-dine-about-town.html&quot;&gt;annual
Dine About Town&lt;/a&gt; event where participating restaurants will offer specially
discounted menus.&lt;/p&gt;

&lt;h2&gt;Equipment&lt;/h2&gt;

&lt;p&gt;Murphy&apos;s law will strike at the worst possible moment. If you need help
with your Mac, the geniuses at the &lt;a href=&quot;http://www.apple.com/retail/sanfrancisco/&quot;&gt;San Francisco Apple Store&lt;/a&gt;
(or the smaller &lt;a href=&quot;http://www.apple.com/retail/chestnutstreet/&quot;&gt;Chestnu
St&lt;/a&gt; or &lt;a href=&quot;http://www.apple.com/retail/stonestown/&quot;&gt;Stonestown&lt;/a&gt;
locations) can help. It&apos;s also good to keep in mind the Apple stores all offer
free WiFi connectivity.&lt;/p&gt;

&lt;p&gt;If you need commodity spare parts like a USB hub in a hurry, &lt;a href=&quot;http://www.centralcomputers.com/commerce/misc/sanmap.jsp&quot;&gt;Central
Computers&lt;/a&gt; is a mere block away and carries a wide assortment, albeit
PC-centric.&lt;/p&gt;

&lt;p&gt;If you are an attendee and have questions I have not answered, please feel
free to email me, my contact info is at the right.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2008/01/13-1.html</guid>
      <pubDate>Mon, 14 Jan 2008 02:38:56 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2008/01/13-1.html</link>
      <category>Macintosh</category><category>San Francisco</category>
    </item>
  
    <item>
      <title>She said Yes</title>
      <description>&lt;p&gt;I flew into London today. I took the adorable Shaheen B. to dinner at &lt;a href=&quot;http://www.theledbury.com/&quot;&gt;The Ledbury&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Between courses, I asked her to marry me. She said Yes. The only plausible
explanation for this lapse in judgement is temporary insanity. I couldn&apos;t be
happier.&lt;/p&gt;

&lt;p&gt;P.S. the ring is guaranteed to be De Beers-free and not a blood diamond,
courtesy of the nice folks at &lt;a href=&quot;http://www.brilliantearth.com/&quot;&gt;Brilliant Earth&lt;/a&gt;, who by the greatest
of coincidences are just across the street from my office.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2007/10/13-1.html</guid>
      <pubDate>Sun, 14 Oct 2007 02:00:00 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2007/10/13-1.html</link>
      <category>About Me</category>
    </item>
  
    <item>
      <title>iPhone first impressions</title>
      <description>&lt;p&gt;I thought I would escape the frenzy of iPhone hype by filtering out any
mentions of it from my feed reader. In fact, I was quite resentful of the way
the iPhone launch pushed out the release of OS X 10.5 Leopard to October
2007. On my way to my cousin&apos;s wedding on Friday June 29th, I passed by the
San Francisco Apple Store and saw the line. It was actually fairly tame, as it
only went halfway around the block (when the store originally opened, the line
went all the way around and spilled over into Market Street).&lt;/p&gt;

&lt;p&gt;Of course, when I came back, I had to see one. One of the petty annoyances
with my Nokia E62 was how it would take several seconds for the address book
to load. The iPhone, despite having a much more computationally intensive user
interface, still manages to have lightning-quick responsiveness to user
input. That itself convinced me to buy one.&lt;/p&gt;

&lt;p&gt;The iPhone mostly meets or even exceeds the hype. The user interface is
exceptionally good, let alone for a version 1.0 product. Some quick notes from
a Nokia E62 switcher (my previous phone was also using Cingular/AT&amp;amp;T):&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Email and web are very snappy. The SSL implementation on the E62 would
take forever to negotiate with my home IMAP server (as in several minutes),
the iPhone&apos;s is instant. The E62&apos;s web browser, despite being based on the
same WebKit code base as Apple&apos;s Safari, could not run two concurrent AJAX
XMLHttpRequest concurrently, Safari has no such problems.&lt;/li&gt;

&lt;li&gt;The battery life is very short, well under 2 days, and it takes a long
time to fully charge.&lt;/li&gt;

&lt;li&gt;The glass screen does not scratch, but it does show fingerprints and
smudges.&lt;/li&gt;

&lt;li&gt;The virtual keyboard is surprisingly effective. This was the single
biggest area where I thought it would fall short, but it actually performs far
better than the E62&apos;s chiclet keys. Part of the reason is that the E62&apos;s keys
actually wobble when you press them, which doesn&apos;t make for precise typing,
and they are so tiny anyway that it&apos;s hard to type accurately without pressing
other keys in the process. The iPhone&apos;s magnification effect as well as the
fact you can slide your finger to correct a misregistered virtual keypress,
makes for much faster typing. The predictive text engine is also far superior
to schemes like Symbian&apos;s, or T9. T9 is unbearably annoying in the same vein
as Microsoft Word&apos;s noxious autocorrect functionality or Clippy, I always
disable T9 on any phone that has it, the iPhone&apos;s system is unobtrusive and
eminently usable in comparison.&lt;/li&gt;

&lt;li&gt;The sound quality on the iPhone is not at the same level as the E62,
specially for the speakerphone.&lt;/li&gt;

&lt;li&gt;No voice recorder. A rather silly omission.&lt;/li&gt;

&lt;li&gt;The calendar does not support To-Do list items from iCal. This is
ridiculous.&lt;/li&gt;

&lt;li&gt;You cannot use iTunes music files as either the ring tone or alarm
sound. This was probably to appease AT&amp;amp;T and the RIAA, who seem to believe
they have a divine right to make you pay over again and again for the same
music. Even if I were prepared to accept their racketeering and pay the
obscenely expensive charge for a ring tone, I seriously doubt they would have
what I used for mine on the E62, the finale theme from Sibelius&apos; Kullervo
op. 9.&lt;/li&gt;

&lt;li&gt;The recessed phone jack is incompatible with most earphones like my ER-4P,
but it works just fine with B&amp;amp;O A8, whose jack is actually a fairly thin
molded connector wrapped in a rubber jacket that easily slips off to
accommodate the iPhone jack.&lt;/li&gt;

&lt;li&gt;Safari has no option to remember passwords for you, unlike the desktop
version, and it does not recognize the standard
&lt;tt&gt;http://&lt;/tt&gt;&lt;em&gt;login&lt;/em&gt;&lt;tt&gt;:&lt;/tt&gt;&lt;em&gt;password&lt;/em&gt;&lt;tt&gt;@&lt;/tt&gt;&lt;em&gt;site&lt;/em&gt;&lt;tt&gt;/&lt;/tt&gt;
convention either, which makes logging onto &lt;a href=&quot;http://www.temboz.com/&quot;&gt;Temboz&lt;/a&gt; harder than it has to be.&lt;/li&gt;

&lt;li&gt;The Bluetooth functionality in the iPhone is pretty minimal, limited to
using Bluetooth wireless headsets and not much more. You cannot beam business
cards or photos. Unlike the E62, I cannot use it as a modem for either my
MacBook Pro or my Nokia N800. Since there is no SSH client on the iPhone, this
could bite me when I need emergency access. Then again, the $20 unlimited data
plan for iPhones is half the price of my previous $39.99 unlimited data
plan.&lt;/li&gt;

&lt;li&gt;Not supporting Java or Flash is a feature, not a bug.&lt;/li&gt;

&lt;li&gt;The camera, as could be expected, is mediocre. We all know the only
purpose is to &lt;a href=&quot;http://www.majid.info/mylos/weblog/2005/03/16-1.html&quot;&gt;snap facsimiles&lt;/a&gt; of
notes, billboards, flyers. whiteboards and the like.&lt;/li&gt;

&lt;li&gt;The calculator is minimal. It does not support RPN and does not have
either scientific or financial capabilities.&lt;/li&gt;

&lt;li&gt;You can specify 24-hour time format, but there is no way to specify &lt;a href=&quot;http://www.w3.org/QA/Tips/iso-date&quot;&gt;ISO date format&lt;/a&gt;.&lt;/li&gt;

&lt;li&gt;The iPhone seems incompatible with my SendStation &lt;a href=&quot;http://www.sendstation.com/us/products/pocketdock/lineout-usb.html&quot;&gt;PocketDock
Line Out USB&lt;/a&gt;, and thus I cannot connect it to my Ray Samuels &lt;a href=&quot;http://www.raysamuelsaudio.com/new.html#hornet&quot;&gt;Hornet&lt;/a&gt; pocket
headphone amplifier and full-size Sennheiser and AKG headphones. It is also
incompatible with Apple&apos;s own universal AV dock, and displays a warning
message telling you so. Then again, since it is a GSM phone, the annoying &lt;a href=&quot;http://www.edn.com/article/CA498768.html&quot;&gt;pulsating buzz&lt;/a&gt; induced by
GSM would make such an arrangement impractical.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;Update (2007-07-13):&lt;/p&gt;

&lt;p&gt;It must be the Friday 13th effect at work... My iPhone seems to have
developed a defective proximity sensor. The phone works as a speakerphone, but
no longer turns the headset speaker on when I bring it to my ear. Resetting
and even restoring the phone does not help, it&apos;s probably a hardware
issue.&lt;/p&gt;

&lt;p&gt;Fortunately, the SF Apple Store Genius Bar let me in this evening without
an appointment, and swapped it for a new one. This was the first time they had
seen this particular problem, and they told me Apple&apos;s policy for the first
month is to do full replacements and collect field failures for analysis. The
repair process afterwards seems to be still up in the air. I would recommend
they have swap or loaner units on hand, as people are less likely to tolerate
not having a phone than not being able to listen to music for a week.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2007/07/09-1.html</guid>
      <pubDate>Mon, 09 Jul 2007 19:47:53 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2007/07/09-1.html</link>
      <category>Macintosh</category>
    </item>
  
    <item>
      <title>MacBook Pro 3G first impressions</title>
      <description>&lt;p&gt;I upgraded my MacBook Pro to the third-generation model so I can bump up my
RAM to 4GB. Aperture and CS3 are very resource-intensive, and the 2GB upper
limit of my &lt;a href=&quot;http://www.majid.info/mylos/weblog/2006/04/04-1.html&quot;&gt;first-generation MBP&lt;/a&gt;
was somewhat constraining.&lt;/p&gt;

&lt;p&gt;I just transferred my files over using Apple&apos;s migration utility and target
firewire mode. The process, while not 100% automated (it did not transfer X11,
for instance, or some of the preferences), is far smoother than any Windows
equivalent. Here are my first impressions on the new model:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;The new, environmentally friendly mercury-free LED backlight is definitely
more blue in tone than the pinkish cold-cathode fluorescent backlight on the
old model. The default ColorSync monitor profile does a good job of
compensating for this, however. There is some vignetting on the 15&quot; screen
(darkening in the corners). I wonder how the 17&quot; model fares, and whether they
had to add additional LEDs for a more even backlight illumination.&lt;/li&gt;

&lt;li&gt;This machine is &lt;em&gt;fast&lt;/em&gt;. It &lt;a href=&quot;http://db.xbench.com/merge.xhtml?doc1=230017&amp;amp;doc2=165177&quot;&gt;blows my
dual-2GHz G5 PowerMac out of the water&lt;/a&gt; in all benchmarks other than disk
I/O. Unsurprisingly, it is also &lt;a href=&quot;http://db.xbench.com/merge.xhtml?doc1=230017&amp;amp;doc2=230023&quot;&gt;much
faster&lt;/a&gt; than the first-generation machine, specially on graphics but also
on disk I/O.&lt;/li&gt;

&lt;li&gt;It does not heat up quite as much as the older Core Duo model, the heat
level, while high, never reaches a potentially dangerous temperature. This is
probably due to improved power management, as running two Parallels virtual
machine will bring it up to the same pant-scorching levels as the Core
Duo.&lt;/li&gt;

&lt;/ul&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2007/06/11-1.html</guid>
      <pubDate>Tue, 12 Jun 2007 02:35:19 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2007/06/11-1.html</link>
      <category>Macintosh</category>
    </item>
  
    <item>
      <title>Adobe "Creative" Suite 3, a mixed bag</title>
      <description>&lt;p&gt;I installed Adobe Creative Suite 3 on my home PowerMac and my MacBook (the
license allows you to install it on two computers as long as they are not in
simultaneous use). The only real reason I upgraded is to get a native Intel
version. I have barely started using it already and I already have peeves:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bridge looks butt-ugly, is even slower than before and with a more
amateurish interface than ever&lt;/li&gt;
&lt;li&gt;The install procedure is incredibly annoying and Windows-like. There is no
justification for an install procedure that chokes if the beta was not
uninstalled officially (although I have to give some brownie points due to the
fact the cleanup script is written in Python).&lt;/li&gt;
&lt;li&gt;The icons are aesthetically bankrupt. What kind of credibility does Adobe
think it has with creative people with such an astoundingly lackluster
effort?&lt;/li&gt;
&lt;li&gt;Barely installed and already in need of software updates. The widespread
availability of fast Internet connections is no excuse for shoddy release
management or a &quot;we&apos;ll patch it post-release&quot; mentality. Speaking of which,
the only proper time to interrupt users with a software update dialog is
&lt;em&gt;as they are quitting the application&lt;/em&gt;, not by getting in the way of
whatever task they are trying to get done by starting up the app.&lt;/li&gt;
&lt;li&gt;Don&apos;t clutter my hard drive with legal drivel in twenty different
languages. It&apos;s called &quot;Creative Suite&quot;, not &quot;Boilerplate Suite&quot;.&lt;/li&gt;
&lt;li&gt;All the tie-ins to paid add-on services like Adobe Stock Photos or Acrobat
Conferencing are incredibly obnoxious, just like those for MSN or .Mac.&lt;/li&gt;
&lt;li&gt;JavaScript in Acrobat is a big security and privacy risk, and should be
disabled by default.&lt;/li&gt;
&lt;li&gt;On the plus side, thanks for making a &quot;Design Basic&quot; edition without all
the despicable Flash garbage in it. I would actually pay more for the Basic
version than for the supposedly premium one infected with Flash and
Dreamweaver.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Update (2008-01-01):&lt;/p&gt;

&lt;p&gt;It seems Adobe has also crossed a serious ethical line by &lt;a href=&quot;http://arstechnica.com/news.ars/post/20071231-adobe-omniture-in-hot-water-for-snooping-on-cs3-users.html&quot;&gt;building
in
spyware&lt;/a&gt; to track on whenever a user starts a CS3 application.&lt;/p&gt;

&lt;p&gt;As far as I am concerned, this is the last straw and I will actively
start looking for substitutes for Adobe products as soon as I return from my
vacation.&lt;/p&gt;

&lt;p&gt;Update (2008-01-02):&lt;/p&gt;

&lt;p&gt;It seems Adobe &lt;a href=&quot;http://www.kahunaburger.com/2008/01/02/the-adobe-spying-debacle/&quot;&gt;does not collect the serial number after all&lt;/a&gt;. The apps
should nonetheless never call on the Internet except possibly to check for
updates. For people like myself who have static IPs, the IP address itself
could be used to correlate the analytics with personal information.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2007/05/10-1.html</guid>
      <pubDate>Fri, 11 May 2007 04:53:02 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2007/05/10-1.html</link>
      <category>IT</category><category>Soapbox</category>
    </item>
  
    <item>
      <title>Slava Rostropovich, 1927-2007</title>
      <description>&lt;p&gt;Legendary cellist and all-around good guy Mstislav &quot;Slava&quot; Rostropovich
passed away in Moscow today. He was a friend and supporter of Shostakovich,
Prokofiev, Britten and many others like Dutilleux, and many of the greatest
works for cello of the 20th century, indeed of all time, were dedicated to
him.&lt;/p&gt;

&lt;center&gt;&lt;img src=&quot;http://www.majid.info/mylos/weblog/2007/04/slava.jpg&quot; alt=&quot;Rostropovich&quot; width=&quot;500&quot;
height=&quot;288&quot;&gt;&lt;/center&gt;

&lt;p&gt;I had the opportunity to hear him conduct Shostakovich&apos;s &quot;Babi Yar&quot; a year
ago (when I took this photo) and a few years earlier as a cellist the
Dvo&amp;#345;&amp;aacute;k Cello Concerto (sadly in replacement of the far superior
Shostakovich First Cello Concerto that was dedicated to him).&lt;/p&gt;

&lt;p&gt;The world of music has suffered a grievous loss. None of the current
generation of cellists (Ma, Gastinel) is of the same caliber. As a conductor,
his legacy is more mixed, as his Shostakovich interpretations often lack fire,
but his Prokofiev cycle with Erato is marvelous, specially the Fourth in its
original version.&lt;/p&gt;
</description>
      <guid>http://www.majid.info/mylos/weblog/2007/04/27-1.html</guid>
      <pubDate>Fri, 27 Apr 2007 10:53:43 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2007/04/27-1.html</link>
      
    </item>
  
    <item>
      <title>Eery similarities</title>
      <description>&lt;p&gt;Is it just me or is the &lt;a href=&quot;http://www.majid.info/mylos/weblog/2007/04/sibelius.mp3&quot;&gt;Finale&lt;/a&gt; of Sibelius&apos;
Second Symphony, Op. 43 (1902) eerily reminiscent of the &lt;a href=&quot;http://www.majid.info/mylos/weblog/2007/04/saintsaens.mp3&quot;&gt;first movement&lt;/a&gt; of Saint-Sa&amp;euml;ns&apos; Third Piano
Concerto, Op. 29 (1869)?&lt;/p&gt;</description>
      <guid>http://www.majid.info/mylos/weblog/2007/04/07-1.html</guid>
      <pubDate>Sat, 07 Apr 2007 20:31:18 GMT</pubDate>
      <link>http://www.majid.info/mylos/weblog/2007/04/07-1.html</link>
      
    </item>
  
  </channel>
</rss>
