<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Todd Huss &#187; Desktop</title>
	<atom:link href="http://gabrito.com/post/category/technical/desktop/feed" rel="self" type="application/rss+xml" />
	<link>http://gabrito.com</link>
	<description>Anecdotes on Technology Leadership, Ruby, Java, Scala, Cloud Computing, Open-Source, SEO, and Design</description>
	<lastBuildDate>Thu, 08 Dec 2011 00:21:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Moving to 64 bit Ubuntu</title>
		<link>http://gabrito.com/post/moving-to-64-bit-ubuntu</link>
		<comments>http://gabrito.com/post/moving-to-64-bit-ubuntu#comments</comments>
		<pubDate>Fri, 14 Nov 2008 20:45:51 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://gabrito.com/?p=183</guid>
		<description><![CDATA[After 3 Ubuntu upgrades on my primary workhorse (a Lenovo Thinkpad z61t) I decided it was time for a fresh install to remove all the cruft. In the past I&#8217;ve always used 32 bit Ubuntu (even though my laptop is &#8230; <a href="http://gabrito.com/post/moving-to-64-bit-ubuntu">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ubuntu.com"><img class="alignleft" src="/files/ubuntu.jpg" alt="Ubuntu Logo" /></a>After 3 Ubuntu upgrades on my primary workhorse (a <a href="http://www.geek.com/articles/chips/lenovo-thinkpad-z61t-notebook-2007044/">Lenovo Thinkpad z61t</a>) I decided it was time for a fresh install to remove all the cruft. In the past I&#8217;ve always used 32 bit Ubuntu (even though my laptop is a 64 bit Core 2 duo) because of issues with the Flash plugin, Java plugin, and Skype. After backing up my files I bit the bullet and did a fresh install of <a href="http://releases.ubuntu.com/8.10/">64 bit Ubuntu Intrepid Ibex</a> and in the process also decided to give <a href="http://www.debian-administration.org/articles/388">XFS a shot instead of EXT3</a> as my primary filesystem.</p>
<p>I&#8217;m pleased to say that after 3 hours I had the install done and all of my software installed and working including Jetbrains IDEA, Netbeans, Skype, VirtualBox, Flash plugin, Java plugin, Web Developer Toolbar, and Firebug. Apparently things have gotten a little better for 64 bit Linux over the past year and a half! However, I&#8217;m still running into odd issues every now and again related to both Sun&#8217;s 64 bit Java (IDE <del>and Jetty</del> occasionally hangs) and the the Open JDK browser plugin which is still buggy. Hopefully future updates will help address these issues. Anyhow, I thought I&#8217;d throw out the links I used to get everything working:</p>
<p><strong>Fonts</strong><br />
<a href="http://www.ubuntu-unleashed.com/2008/05/howto-install-mac-fonts-on-ubuntu.html">Howto: Install Mac Fonts on Ubuntu</a><br />
<a href="http://stdout-dev-null.blogspot.com/2007/03/make-firefox-in-ubuntu-look-much-better.html">Make Firefox in Ubuntu look much better</a></p>
<p><strong>Skype</strong><br />
<a href="https://help.ubuntu.com/community/Medibuntu">Add the Medibuntu repository</a><br />
sudo apt-get install skype-static</p>
<p><strong>Flash plugin</strong><br />
<a href="http://www.cyberciti.biz/tips/install-flash-10-ubuntu-linux-64bit.html">Install Flash 10 Under Ubuntu Linux 64 bit Edition</a></p>
<p><strong>Java plugin</strong><br />
sudo apt-get install openjdk-6-jre icedtea-gcjwebplugin</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/moving-to-64-bit-ubuntu/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL ODBC Driver issues and Excel</title>
		<link>http://gabrito.com/post/mysql-odbc-driver-issues-and-excel</link>
		<comments>http://gabrito.com/post/mysql-odbc-driver-issues-and-excel#comments</comments>
		<pubDate>Tue, 12 Sep 2006 18:59:52 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/mysql-odbc-driver-issues-and-excel</guid>
		<description><![CDATA[Caveat: this post is probably only of interest if you&#8217;re running into this particular MySQL ODBC Driver problem. Hopefully other people running into this issue will find this useful or please add a comment if you find a better way! &#8230; <a href="http://gabrito.com/post/mysql-odbc-driver-issues-and-excel">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Caveat: this post is probably only of interest if you&#8217;re running into this particular MySQL ODBC Driver problem. Hopefully other people running into this issue will find this useful or please add a comment if you find a better way!</p>
<p>Today I had to get an Excel document that was loaded with ODBC database queries that connect to multiple MySQL databases working on a new machine. The problem I ran into is that if there are any MySQL permission issues such as a missing grant, authentication problems, etc&#8230; you&#8217;ll always get the following completely meaningless error message:<br />
<span id="more-154"></span><br />
[MySQL][ODBC 3.51 Driver]Could not find driver {MySQL ODBC 3.51 Driver} in system information. </p>
<p>For the life of me I couldn&#8217;t even figure out how to determine what host/database/user/password a particular query was trying to use in Excel because if you click on <strong>Edit Query</strong> it would tell you it can&#8217;t find the driver. It&#8217;s hard to troubleshoot when you don&#8217;t even know which machine a particular query is trying to connect and it won&#8217;t even show you the SQL for the query if it can&#8217;t connect!</p>
<p><!--adsense--></p>
<p>So to finally figure out what ODBC connections this Excel document was using I scp&#8217;d it over to a Unix machine and used strings:</p>
<p><strong>strings document.xls | grep DRIVER | sort | uniq</strong></p>
<p>which will give you a list something like this:</p>
<pre>
DRIVER={MySQL ODBC 3.51 Driver};DESC=;DATABASE=dbname;SERVER=hostname;UID=user;PASSWORD=password;PORT=0;OPTION=0;STMT=;
DRIVER={MySQL ODBC 3.51 Driver};DESC=;DATABASE=dbname2;SERVER=hostname;UID=user;PASSWORD=password;PORT=0;OPTION=0;STMT=;
DRIVER={MySQL ODBC 3.51 Driver};DESC=;DATABASE=dbname3;SERVER=hostname;UID=user;PASSWORD=password;PORT=0;OPTION=0;STMT=;
</pre>
<p>That allowed me to see all of the database connections the Excel document was using so I could go in and fix the permission issues. If anyone knows an easier way, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/mysql-odbc-driver-issues-and-excel/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Encrypting sensitive files on Mac OS X</title>
		<link>http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x</link>
		<comments>http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x#comments</comments>
		<pubDate>Mon, 21 Aug 2006 04:26:57 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x</guid>
		<description><![CDATA[I was looking for a solution to keep my financial data (quickbooks, excel, important documents, etc&#8230;) encrypted on OS X so that if my laptop were stolen, lost, etc&#8230; I wouldn&#8217;t have to worry about it. I also like to &#8230; <a href="http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was looking for a solution to keep my financial data (quickbooks, excel, important documents, etc&#8230;) encrypted on OS X so that if my laptop were stolen, lost, etc&#8230; I wouldn&#8217;t have to worry about it. I also like to backup my data to my colocated Linux server so in the event that that machine were compromised I wanted to be protected. As it turns out, Mac OS X has the perfect solution for this: read-write encrypted disk images. Here&#8217;s how you do it:<br />
<span id="more-151"></span><br />
1. Applications -> Utilities -> Disk Utility<br />
2. Click New Image and then enter a filename, select Encryption AES-128, read-write disk image, and pick a disk size large enough to hold your data. It&#8217;s too bad it can&#8217;t dynamically grow as needed but you can always create a new and larger image if you outgrow the current one.<br />
3. Click Create and enter the password you want to secure your files with and uncheck Remember password (add to Keychain) and then click OK. If you add the password to the keychain and your laptop is stolen then your no better off.</p>
<p><!--adsense--></p>
<p>Now you can click on the .dmg file it created, enter your password, and the volume will show up on your desktop. Add any files you&#8217;d like to it, modify them, do whatever, and then when you&#8217;re done eject the volume. Voila, you now have an encrypted virtual disk where you can store you sensitive data.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/encrypting-sensitive-files-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apple is just as proprietary as Microsoft</title>
		<link>http://gabrito.com/post/apple-is-just-as-proprietary-as-microsoft</link>
		<comments>http://gabrito.com/post/apple-is-just-as-proprietary-as-microsoft#comments</comments>
		<pubDate>Fri, 18 Aug 2006 23:43:19 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/apple-is-just-as-proprietary-as-microsoft</guid>
		<description><![CDATA[People love to complain about how Microsoft is too proprietary, and rightfully so. Linux/FreeBSD users can make that claim freely but when Apple users make it I cringe. Microsoft has done some &#8220;bad&#8221; things with API&#8217;s and interoperability and is &#8230; <a href="http://gabrito.com/post/apple-is-just-as-proprietary-as-microsoft">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>People love to complain about how Microsoft is too proprietary, and rightfully so. Linux/FreeBSD users can make that claim freely but when Apple users make it I cringe. Microsoft has done some &#8220;bad&#8221; things with API&#8217;s and interoperability and is a worse offender than Apple, however, Apple is by no means a saint of openness and isn&#8217;t shy about locking users in to their equally proprietary products and services. Here are just a couple of examples that come to mind:<br />
<span id="more-150"></span><br />
1. I can run Windows on just about any PC hardware whereas I can only run OSX on Apple hardware and they intentionally make it so that <a href="http://www.osx86project.org/">I can&#8217;t run it on a regular PC without hacking the OS</a>. Is this evil? Not necessarily, they are a business after all. Does it make their OS proprietary? Absolutely!<br />
2. Not only do you have to buy their hardware to run OS X, you also have to pay for OS upgrades just like Microsoft.<br />
3. My MacBook Pro has something called an ExpressCard/34 slot (which as I&#8217;ve learned is the latest PCMCIA standard). Regardless it is about as useful to me (with all of my older PCMCIA cards) as an old toenail clipping. That&#8217;s more of an aside gripe though and doesn&#8217;t make them proprietary so moving on&#8230;<br />
4. <a href="http://www.macdevcenter.com/pub/a/mac/2002/08/09/homemade_dotmac.html">While people have emulated the .Mac service to make it work with their own servers</a>, Apple tries to lock users in with their .Mac subscription services.<br />
5. iTunes music store and iPod lock-in: if you want to use the iTunes music store and then listen to the music on the go there&#8217;s only one MP3 player you can use.</p>
<p><!--adsense--></p>
<p>If Apple is really going to stand above Microsoft then in my opinion they need to allow you to run OS X on any PC hardware and have people choose to run it on Apple hardware because it&#8217;s the best, not because they have to. They would also need to allow other vendors to hook their MP3 players in with the iTunes music store instead of their current monopolistic approach.</p>
<p>Don&#8217;t get me wrong, I still love Apple hardware, software, and related products, they are some of the best on the market. However, I&#8217;m under no illusion that just like Microsoft, they are in business to make money, and they too resort to Redmond like lock-in tactics. So before you put an Apple sticker on your bumper, ask yourself if it&#8217;s really Apple the company that you so adore and want to express your support of, or if it&#8217;s just that it&#8217;s cool and cutting edge again to be a Mac user? </p>
<p>Now a Linux, FreeBSD, or OpenBSD bumper sticker is something I can get behind, but an Apple or Microsoft bumber sticker? No thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/apple-is-just-as-proprietary-as-microsoft/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Hibernate with the MacBook Pro</title>
		<link>http://gabrito.com/post/hibernate-with-the-macbook-pro</link>
		<comments>http://gabrito.com/post/hibernate-with-the-macbook-pro#comments</comments>
		<pubDate>Fri, 21 Apr 2006 03:25:37 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/hibernate-with-the-macbook-pro</guid>
		<description><![CDATA[Thanks to Dion for pointing out how to get your MacBook to hibernate! When I wrote about switching to the MacBook Pro one of my complaints was that upon shutting the lid the laptop doesn&#8217;t hibernate, it sleeps, and they &#8230; <a href="http://gabrito.com/post/hibernate-with-the-macbook-pro">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.almaer.com/blog/archives/001182.html">Dion for pointing out how to get your MacBook to hibernate</a>! When I <a href="http://gabrito.com/post/macbook-pro-first-impressions-and-why-i-switched">wrote about switching to the MacBook Pro</a> one of my complaints was that upon shutting the lid the laptop doesn&#8217;t hibernate, it sleeps, and they offer you no easy way to switch it via the GUI.<br />
<span id="more-132"></span><br />
<!--adsense--></p>
<p>I don&#8217;t mind waiting a for my laptop to start when I open the lid and the little white sleeping light drives me nuts, especially if I forget and leave it in our bedroom before going to bed. That sucker lights up the room at night!</p>
<p>So I added the two aliases that Dion suggest, sourced my bashrc, ran hibernateon, shut the lid, and off goes the light&#8230; amen!</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">alias hibernateon='sudo pmset -a hibernatemode 1' <br />
alias hibernateoff='sudo pmset -a hibernatemode 0'</div></div>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/hibernate-with-the-macbook-pro/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Disassembling the MacBook Pro</title>
		<link>http://gabrito.com/post/disassembling-the-macbook-pro</link>
		<comments>http://gabrito.com/post/disassembling-the-macbook-pro#comments</comments>
		<pubDate>Thu, 13 Apr 2006 16:19:39 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Systems Administration]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/disassembling-the-macbook-pro</guid>
		<description><![CDATA[I had quite a scare today when my new MacBook Pro wouldn&#8217;t boot. It would turn on, the screen would go white, and after about 20 seconds it flashed a question mark in a box on the screen. I thought &#8230; <a href="http://gabrito.com/post/disassembling-the-macbook-pro">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had quite a scare today when my new MacBook Pro wouldn&#8217;t boot. It would turn on, the screen would go white, and after about 20 seconds it flashed a question mark in a box on the screen. I thought it might have been related to a very minor drink spill incident (which resulted in my purchase of an <a href="http://www.amazon.com/gp/product/B00007L6IA/104-9149396-1303152?v=glance&#038;n=172282">iCurve stand</a>) but it worked after the spill so I was a bit perplexed. I was not looking forward to going to the Apple store and parting with the laptop and getting charged a bundle so I opted for a little DIY troubleshooting.<br />
<span id="more-129"></span><br />
I didn&#8217;t have the Apple install DVD with me (they were at the office) so I dropped in an XP install CD (I&#8217;m running the latest firmware which can boot those), booted that, and it told me it couldn&#8217;t find a hard drive. Then I went looking on how to disassemble the MacBook so I could pull the hard drive and test it. Thank god for <a href="http://www.ifixit.com/Guide/85.1.0.html">ifixit.com&#8217;s complete MacBook Pro disassembly instructions</a>, I followed those to remove the 20 or so necessary screws and open it up to get to the hard drive. I didn&#8217;t have the requisite T6 Torx screwdriver required by 2 of the screws but I managed to get by with a small allen wrench which fit well enough.</p>
<p><!--adsense--></p>
<p>With the MacBook totally open I was able to remove the hard drive. My plan was to test it in my PC laptop to see if the BIOS would recognize it but before doing that I just reinstalled the hard drive to make sure no connectors were loose. Low and behold just disconnecting and reconnecting it did the trick. </p>
<p><a href="http://www.ifixit.com/Guide/85.1.7.html"><img src="http://www.ifixit.com/Guide/85/images_thumb/22.jpg" alt="macbook internals" /></a></p>
<p>I followed the instructions in reverse order to reassemble it and after about 45 minutes I&#8217;m back working on it now. Phew!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/disassembling-the-macbook-pro/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Mac OS X Intel Binary</title>
		<link>http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary</link>
		<comments>http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary#comments</comments>
		<pubDate>Sun, 26 Mar 2006 00:03:10 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Software Engineering]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary</guid>
		<description><![CDATA[Update 8/13/06: Upgraded to Rails 1.1.6 Update 5/10/06: Upgraded to Rails 1.1.2 and built Ruby with the ri docs per Duncan McGregor&#8217;s comment Update 4/7/06: Upgraded to Rails 1.1.1 Update 3/28/06: Now that Rails 1.1 has arrived I&#8217;ve upgraded this &#8230; <a href="http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Update 8/13/06</strong>: Upgraded to <a href="http://weblog.rubyonrails.org/2006/8/10/rails-1-1-6-backports-and-full-disclosure">Rails 1.1.6</a><br />
<strong>Update 5/10/06</strong>: Upgraded to <a href="http://weblog.rubyonrails.org/articles/2006/04/09/rails-1-1-2-tiny-fix-for-gems-dependencies">Rails 1.1.2</a> and built Ruby with the ri docs per Duncan McGregor&#8217;s comment<br />
<strong>Update 4/7/06</strong>: Upgraded to <a href="http://weblog.rubyonrails.org/articles/2006/04/06/rails-1-1-1-fixing-a-slew-of-minors-but-you-must-still-freeze-typo">Rails 1.1.1</a><br />
<strong>Update 3/28/06</strong>: Now that <a href="http://weblog.rubyonrails.org/articles/2006/03/28/rails-1-1-rjs-active-record-respond_to-integration-tests-and-500-other-things">Rails 1.1 has arrived</a> I&#8217;ve upgraded this package to include it.</p>
<p>Here are the <a href="/files/ror/README.txt">Installation Instructions</a> and here is the all-inclusive ~9MB file to download: <a href="/files/RubyOnRailsMacIntel-1.1.6.tar.bz2">RubyOnRailsMacIntel-1.1.6.tar.bz2</a>. If you would prefer to build from source here is my updated version of Geoffrey&#8217;s do it all <a href="/files/ror/src/ru-ra-lim.sh">ru-ra-lim.sh</a> script that now works on Mac Intel too.</p>
<p><span id="more-120"></span></p>
<p>I&#8217;ve created a Mac Intel binary distribution of Ruby on Rails with Lighttpd based on the work of <a href="http://nubyonrails.com/articles/2005/12/29/an-even-better-way-to-build-ruby-rails-lighttpd-and-mysql-on-tiger">Geoffrey</a> and <a href="http://hivelogic.com/articles/2006/02/20/lighttpd_mac_intel_fixed">Dan</a>. It includes:</p>
<p><!--adsense--></p>
<p>Ruby 1.8.4, Readline 5.0, RubyGems 0.8.11, Rails 1.1.2, FastCGI 2.4.0, RubyFastCGIBindings 0.8.6, PCRE 6.6, and Lighttpd 1.4.11. </p>
<p>I did not include MySQL because I didn&#8217;t want to presume if you prefer MySQL 5 or 4.1 and MySQL offers <a href="http://dev.mysql.com/downloads/mysql/5.0.html#Mac_OS_X">Intel binaries for the Mac</a>.</p>
<p>I created this binary distribution for 3 reasons:</p>
<p>1. I don&#8217;t believe your average user should be required to build from source to get up and running.<br />
2. The previous mentioned solutions installed into /usr/local/. I prefer to install in a dedicated application directory I can simply delete when I want to uninstall. So I&#8217;ve got it all going under <strong>/usr/local/ror</strong>. Want to uninstall? Just delete /usr/local/ror.<br />
3. I couldn&#8217;t find a Mac OSX Intel binary of Ruby on Rails with Lighty anywhere.</p>
<p>Let me know if you find this useful or if you have problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/ruby-on-rails-mac-osx-intel-binary/feed</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Modal windows with Javascript and CSS</title>
		<link>http://gabrito.com/post/modal-dialog-box-solutions-with-javascript-and-css</link>
		<comments>http://gabrito.com/post/modal-dialog-box-solutions-with-javascript-and-css#comments</comments>
		<pubDate>Wed, 08 Mar 2006 16:10:41 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/modal-dialog-box-solutions-with-javascript-and-css</guid>
		<description><![CDATA[One of the side projects I spent a little time on today was researching the use of on-page modal dialog boxes using Javascript and CSS that shade or darken the rest of the page while they are open. It looks &#8230; <a href="http://gabrito.com/post/modal-dialog-box-solutions-with-javascript-and-css">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
One of the side projects I spent a little time on today was researching the use of on-page modal dialog boxes using Javascript and CSS that shade or darken the rest of the page while they are open. It looks like it will be an easy job thanks to these two solutions that are made freely available:<span id="more-109"></span>
</p>
<ul>
<li><a href="http://particletree.com/examples/lightbox/">Lightbox Gone Wild</a>: this is a nice solution based on <a href="http://www.huddletogether.com/projects/lightbox/">Lightbox</a> and <a href="http://prototype.conio.net/">Prototype</a> but a bit heavy weight due to the inclusion of prototype.js. If you haven&#8217;t seen the original lightbox effect <a href="http://www.huddletogether.com/projects/lightbox/">check it out</a>!</li>
<li><a href="http://www.subimage.com/dhtml/subModal/">SubModal</a>: looks like it was started from scratch and is lightweight.</li>
</ul>
<p>
I&#8217;m leaning towards subModal right now since Lightbox uses prototype.js which adds 48K to the first page view. We serve around 150,000 unique visitors per day so adding prototype would result in an additional 150 * 48K = 7GB of bandwidth usage per day (we&#8217;re not currently running mod_gzip).
</p>
<p>
Update: here are some other solutions including <a href="http://www.codeproject.com/useritems/js_floating_dimming_div.asp">a draggable one</a>, <a href="http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htm">DHTML Window (draggable but no shading)</a>, <a href="http://www.blakems.com/sandbox/inline-popups.html#">draggable with shading or fixed position</a>, and <a href="http://www.scriptasylum.com/misc/popup/popup.html">Popup Window 4.5</a>
</p>
<p>
Related reading: <a href="http://looksgoodworkswell.blogspot.com/2005/11/popups-with-twist.html">Popups with a twist</a>, <a href="http://www.subimage.com/sublog/">Sublog: author of subModal&#8217;s blog</a>, and <a href="http://www.blakems.com/archives/000074.html">Inline popups</a></p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/modal-dialog-box-solutions-with-javascript-and-css/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Five aspects of OS X and the MacBook in need of improvement</title>
		<link>http://gabrito.com/post/4-things-in-need-of-improvement-in-os-x</link>
		<comments>http://gabrito.com/post/4-things-in-need-of-improvement-in-os-x#comments</comments>
		<pubDate>Fri, 03 Mar 2006 22:49:32 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/4-things-in-need-of-improvement-in-os-x</guid>
		<description><![CDATA[I&#8217;ve gotten through my first week of work on a MacBook Pro after switching from Windows and before I go further let me say that overall it&#8217;s been a very positive experience, see my previous post on why I switched &#8230; <a href="http://gabrito.com/post/4-things-in-need-of-improvement-in-os-x">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
I&#8217;ve gotten through my first week of work on a MacBook Pro after switching from Windows and before I go further let me say that overall it&#8217;s been a very positive experience, see my previous post on <a href="http://gabrito.com/post/macbook-pro-first-impressions-and-why-i-switched">why I switched from Windows to the Mac</a>. After a week there are still 5 things that I feel were poorly executed on the Mac and they are:<span id="more-101"></span>
</p>
<ol>
<li>Window maximize is inconsistent&#8230; I&#8217;d like my window to take up the whole screen when I hit the plus/maximize button, not some arbitrary width that varies from application to application.</li>
<li>Home and end deceive&#8230; I&#8217;m editing a line of text and want to jump to the beginning of the line&#8230; you hit Apple &#8211; Left error&#8230;. OK&#8230; then you want to page up, by the same logic do you hit Apple &#8211; Up Arrow? No&#8230; you hit Fn &#8211; Up Arrow. I still have to stop and think every time I want to page up/down or home/end as to whether I should be hitting Apple or Fn. Like all of my PC laptops to date, the Mac really needs dedicated keys for home/end/page-up/page-down that work consistently across applications.</li>
<li>Right click&#8230; if they can do the wheel on the iPod they can certainly design a single button that detects if I&#8217;m right clicking or left clicking. I know you have control click and trackpad corners that can give you right click but it&#8217;s all a hack. Obviously it&#8217;s a needed feature, otherwise they wouldn&#8217;t have put it in the mightymouse.</li>
<li>Having the application menu separate from the window works fine with one display but when I have my laptop hooked up to my flat panel running both displays it&#8217;s quite strange to have Firefox on my flat panel and then have to move the mouse pointer back to the laptop display to select a bookmark from the application menu.</li>
<li>I can&#8217;t reproduce this at the moment but I&#8217;ve encountered dialog boxes that don&#8217;t seem to respond to any keyboard input. Tabs, enter, etc&#8230; don&#8217;t work and I end up having to revert to the mouse.</li>
</ol>
<p>
Related reading: <a href="http://www.pbenz.com/switch/archives/2005/03/changing_key_bi.html">Changing key bindings for home/end</a>, <a href="http://www.lsmason.com/articles/macosxkeybindings.html">Mac OS X key bindings</a>,  <a href="http://www.michaelsica.com/ataraxissoftware/2005/08/apples-mighty-mouse-am-i-missing.html">Apple&#8217;s Mighty Mouse, am I missing something?</a>, and <a href="http://sean.typepad.com/ditto/2003/12/crazy_mac_os_x_.html">Crazy Mac OS X Text Navigation Keys Revealed</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/4-things-in-need-of-improvement-in-os-x/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Migrating from Outlook to iCal</title>
		<link>http://gabrito.com/post/migrating-from-outlook-to-ical</link>
		<comments>http://gabrito.com/post/migrating-from-outlook-to-ical#comments</comments>
		<pubDate>Tue, 28 Feb 2006 04:09:47 +0000</pubDate>
		<dc:creator>Todd Huss</dc:creator>
				<category><![CDATA[Desktop]]></category>

		<guid isPermaLink="false">http://gabrito.com/post/migrating-from-outlook-to-ical</guid>
		<description><![CDATA[Part of my switch from Windows to OSX involved figuring out how to get my Outlook Calendar data from Windows/Outlook to MacOSX/iCal. I was really dreading having to manually reenter the whole thing. Thanks to Norm Jones and Mike Baas &#8230; <a href="http://gabrito.com/post/migrating-from-outlook-to-ical">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
Part of my switch from Windows to OSX involved figuring out how to get my Outlook Calendar data from Windows/Outlook to MacOSX/iCal. I was really dreading having to manually reenter the whole thing.
</p>
<p>
Thanks to <a href="http://mikebaas.org/outlook2ical/">Norm Jones and Mike Baas who wrote the Outlook Calendar to iCal Macros</a> the migration was a snap. I installed the macros in Outlook, exported to an iCal file, imported it into iCal and I was off and running. Everything came over including recurring meetings. The only thing that didn&#8217;t transfer was whether a reminder is supposed to go off before a meeting. In any case, it saved me a lot of time, thanks Norm and Mike!
</p>
<p>
Here&#8217;s the sourceforge page for the <a href="http://sourceforge.net/projects/outlook2ical/">Outlook to iCal</a> converter!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrito.com/post/migrating-from-outlook-to-ical/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

