<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>JavaGeek.org - Apple category</title>
  <link>http://javageek.org/categories/apple/</link>
  <description>For the love of Java</description>
  <language>en</language>
  <copyright>Guillermo Castro</copyright>
  <lastBuildDate>Mon, 27 Apr 2009 22:05:14 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Fixing Terminal.app problems on my Mac</title>
    <link>http://javageek.org/2009/04/27/fixing_terminal_app_problems_on_my_mac.html</link>
    
      
        <description>
          This morning, when I sat down at my computer, I saw that &lt;a href=&#034;http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html&#034;&gt;SuperDuper!&lt;/a&gt; had a problem doing its daily backup. I tried to quit the application to no avail, and then I used &#039;Force Quit&#039; on it, which made an error message pop up, with no way of making it go away. After another issue with Firefox hanging after trying to save a pdf, I decided the best course of action was to reboot the machine. However, after several attempts I realized Finder was not responding, so my ultimate solution was to hold the power key down until the machine shutted down. &lt;br /&gt;
&lt;br /&gt;
After a lengthy startup (which had me worried), everything seemed fine, except that when I tried to open a shell via Terminal.app, I would see it go through the login process only to have &lt;strong&gt;[Process Terminated]&lt;/strong&gt; in the window, instead of the usual shell prompt. I tried deleting the preferences for Terminal, yet the same result appeared. &lt;br /&gt;
&lt;br /&gt;
I had recently modified my .bashrc file, so I thought that this might have something to do with my problem, but after editing the file with &lt;a href=&#034;http://code.google.com/p/macvim/&#034;&gt;MacVim&lt;/a&gt; I still had the same problem. I tried to open Console.app to see if there was an error being sent to the logs, but Console just crashed right after starting it up. Uh oh... Time to hit Google!&lt;br /&gt;
&lt;br /&gt;
After several search terms, I came out with &lt;a href=&#034;http://discussions.apple.com/thread.jspa?threadID=1966373&#034;&gt;this forum post&lt;/a&gt;, which seemed to describe precisely what was going on with my computer. So, I decided to follow the instructions in the post:&lt;br /&gt;
&lt;pre class=&#034;codeSample&#034;&gt;sudo launchctl stop com.apple.syslogd&lt;br /&gt;cd /var/log &lt;br /&gt;sudo mkdir asl.broken &lt;br /&gt;sudo mv asl/* asl.broken/ &lt;br /&gt;sudo launchctl start com.apple.syslogd &lt;br /&gt;&lt;/pre&gt;
And voila! Everything started working again. It seems that the last hard reset corrupted the Apple System Log (ASL) databases, and that created a whole set of problems for Terminal, Console, etc.
&lt;!--
&lt;rdf:RDF xmlns:rdf=&#034;http://www.w3.org/1999/02/22-rdf-syntax-ns#&#034;
         xmlns:dc=&#034;http://purl.org/dc/elements/1.1/&#034;
         xmlns:trackback=&#034;http://madskills.com/public/xml/rss/module/trackback/&#034;&gt;
&lt;rdf:Description
    rdf:about=&#034;http://javageek.org/2009/04/27/fixing_terminal_app_problems_on_my_mac.html&#034;
    dc:identifier=&#034;http://javageek.org/2009/04/27/fixing_terminal_app_problems_on_my_mac.html&#034;
    dc:title=&#034;Fixing Terminal.app problems on my Mac&#034;
    trackback:ping=&#034;http://javageek.org/addTrackBack.action?entry=1240869914627&amp;token=-1137900043283274732&#034; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
        </description>
      
      
    
    
    
    <category>Apple</category>
    
    <comments>http://javageek.org/2009/04/27/fixing_terminal_app_problems_on_my_mac.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2009/04/27/fixing_terminal_app_problems_on_my_mac.html</guid>
    <pubDate>Mon, 27 Apr 2009 22:05:14 GMT</pubDate>
  </item>
  
  <item>
    <title>Why not having Flash on the iPhone is a good thing</title>
    <link>http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html</link>
    
      
        <description>
          The other day I was trying to look at some site from my iphone but alas, the site was crawling with Flash embedded objects (from menu navigation to actual site content). At first I became frustrated that the iPhone didn&#039;t support &lt;a href=&#034;http://www.adobe.com/products/flash/&#034;&gt;Adobe Flash&lt;/a&gt; embedded objects, but then I started thinking further, and I realized that I&#039;ve never really liked flash-based sites.&lt;br /&gt;
&lt;br /&gt;
I don&#039;t want to start a flamewar between those who are in favor of having flash objects on their sites and does who despise the use of flash on them (including &lt;a href=&#034;http://www.seoresearcher.com/seo-flash-is-evil-five-big-reasons-not-to-use-flash.htm&#034;&gt;SEO people&lt;/a&gt;), but to me building a site in flash that disables the back button, puts a big and unneeded intro and puts all the information inside the embedded object is simply a poor way of creating a website; and this is not flash&#039;s problem, but the developer&#039;s who go for pretty instead of functional. I do have a question, though... Are flash-based sites accessibility friendly?&lt;br /&gt;
&lt;br /&gt;
But as more and more iPhones are sold and used to browse the web, more people will start complaining, and hopefully site owners will start listening and start converting all those sites into something that can be read by everyone. And as more and more devices start appearing, more site designers will realize that html, although basic and plain, can be made functional to work on all or most of these devices with the help of CSS and/or other html-related abilities.&lt;br /&gt;
&lt;br /&gt;
So, I am really glad that iPhones don&#039;t support Flash. Heck, I can even say I&#039;m glad it doesn&#039;t support applets either (although I wish I could program iPhone apps in Java), as long as it will make people create &amp;quot;normal&amp;quot; sites.
&lt;!--
&lt;rdf:RDF xmlns:rdf=&#034;http://www.w3.org/1999/02/22-rdf-syntax-ns#&#034;
         xmlns:dc=&#034;http://purl.org/dc/elements/1.1/&#034;
         xmlns:trackback=&#034;http://madskills.com/public/xml/rss/module/trackback/&#034;&gt;
&lt;rdf:Description
    rdf:about=&#034;http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html&#034;
    dc:identifier=&#034;http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html&#034;
    dc:title=&#034;Why not having Flash on the iPhone is a good thing&#034;
    trackback:ping=&#034;http://javageek.org/addTrackBack.action?entry=1229382420000&amp;token=-456345702039379410&#034; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>Apple</category>
    
    <comments>http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html</guid>
    <pubDate>Mon, 15 Dec 2008 23:07:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Switching to Apple, a tale</title>
    <link>http://javageek.org/2008/11/26/switching_to_apple_a_tale.html</link>
    
      
        <description>
          My first contact with a computer was when I was around 10 years old. It was a summer &amp;quot;camp&amp;quot; and the computer in question was an &lt;a href=&#034;http://en.wikipedia.org/wiki/Apple_IIe&#034;&gt;Apple IIe&lt;/a&gt;. They taught us how to write small things in Logo. Since then, I&#039;ve used many different computers, with many different operating systems, but it wasn&#039;t until the beginning of this year that I was able to return to my &#039;roots&#039; and buy a &lt;a href=&#034;http://support.apple.com/kb/SP4&#034;&gt;Macbook Pro&lt;/a&gt;. I must admit, I was one of those that laughed at all those mac &#039;zealots&#039; that thought macs were the next best thing after the wheel, but who secretly wanted to have one, if only to try to figure out what all the big deal was. &lt;br /&gt;
&lt;br /&gt;
On my previous jobs I would usually get a Dell or similar laptop, with some flavor of Windows. I would almost always repartition it to install some flavor of Linux (&lt;a href=&#034;http://www.ubuntu.com/&#034;&gt;Ubuntu&lt;/a&gt; being my latest and dearest choice). As a programmer who grew up with something other than a GUI (ms-dos, unix, vax, etc.), I&#039;ve always liked to have a shell open where I could do stuff that a graphical interface could simply not do, or would take a lot of effort to do in a timely manner. &lt;br /&gt;
&lt;br /&gt;
Being the &amp;quot;rogue&amp;quot; employee with Linux installed, I would still need to use Windows for one reason or another (connecting to an Exchange server, using some special in-house windows-only app, etc), so it was always dual booting for me and sometimes the end result was some time lost between all those reboots. Virtualization was a solution, but still wasn&#039;t as perfect as I hoped. That, and I would usually spend days tweaking my Linux installation to try to have it run every piece of hardware, which wasn&#039;t always possible depending on the brand of the machine and/or the different hardware components inside.&lt;br /&gt;
&lt;br /&gt;
So now I&#039;ve been using a Mac for almost a year, and I&#039;m a very happy camper. Am I now one of those mac zealots? Maybe. I will not lie and say that my experience has been 100% without a hitch. I&#039;ve had the dreaded &amp;quot;Gray screen of death&amp;quot; several times since I bought my laptop (oh yeah, OS X has those too, but aren&#039;t they much nicer than a kernel text dump?), but somehow they&#039;ve stopped. Maybe it was an Apple update to the OS, maybe it was the RAM that came with the machine which I replaced when I increased the memory. &lt;br /&gt;
&lt;br /&gt;
So, what&#039;s so special about having an Apple computer, anyway? Well, for me at least, having a very powerful operating system with BSD at its core, combined with a very well thought out User Interface is something that can be appreciated both by the hard-core people that want to get to the internals of an OS and by the people who just wants to get things done.&lt;br /&gt;
&lt;br /&gt;
Another thing in my opinion going for Apple is that there is a very high integration between the hardware and the software. It is one hardware spec tied to one set of drivers, all of it managed and controlled by Apple. I still remember the last time I did an Ubuntu install. It took me several days just to have it at a point where I felt comfortable using it, and I never reached 100% functionality with the laptop&#039;s hardware. In this aspect, Windows machines suffer similarly because there are many different vendors with many different hardware configurations that the Windows operating system needs to support, making it way more complex than it should be and more prone to incompatibility issues (although this variety is also probably why wintel machines occupy 90% of the market, so it&#039;s a trade-off for Microsoft).&lt;br /&gt;
&lt;br /&gt;
As an anecdote, when I bought my Macbook Pro in March, I was literally on my way to the airport, but still I was able to be up and running by the time I boarded the plane. Yeah, that&#039;s right. I was able to download Eclipse, the vpn client software, connect to the intranet and do a checkout of the latest code before they announced the start of the boarding process. It was so simple because most of the tools I used in my day-to-day coding were already pre-installed (java 1.5 compiler, subversion client, heck, even Maven was there). The fact that all this was already there is where I think Apple has made a kick-ass job catering to both professionals and regulars, and this is one of the reasons I&#039;m very happy with Apple products. &lt;br /&gt;
&lt;br /&gt;
It&#039;s like they say... The devil is in the details. But in a good way.
&lt;!--
&lt;rdf:RDF xmlns:rdf=&#034;http://www.w3.org/1999/02/22-rdf-syntax-ns#&#034;
         xmlns:dc=&#034;http://purl.org/dc/elements/1.1/&#034;
         xmlns:trackback=&#034;http://madskills.com/public/xml/rss/module/trackback/&#034;&gt;
&lt;rdf:Description
    rdf:about=&#034;http://javageek.org/2008/11/26/switching_to_apple_a_tale.html&#034;
    dc:identifier=&#034;http://javageek.org/2008/11/26/switching_to_apple_a_tale.html&#034;
    dc:title=&#034;Switching to Apple, a tale&#034;
    trackback:ping=&#034;http://javageek.org/addTrackBack.action?entry=1227738422108&amp;token=8523386435807646412&#034; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
        </description>
      
      
    
    
    
    <category>Apple</category>
    
    <comments>http://javageek.org/2008/11/26/switching_to_apple_a_tale.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2008/11/26/switching_to_apple_a_tale.html</guid>
    <pubDate>Wed, 26 Nov 2008 22:27:02 GMT</pubDate>
  </item>
  
  </channel>
</rss>
