<?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>dotvoid.com &#187; linux</title>
	<atom:link href="http://www.dotvoid.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotvoid.com</link>
	<description>Experiments and thoughts in PHP and javascript</description>
	<lastBuildDate>Tue, 11 Oct 2011 12:49:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP development on Mac &#8211; my experience</title>
		<link>http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/</link>
		<comments>http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/#comments</comments>
		<pubDate>Mon, 04 Jul 2011 12:13:34 +0000</pubDate>
		<dc:creator>Danne</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[omnigraffle]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.dotvoid.com/?p=466</guid>
		<description><![CDATA[A while ago I saw a lot of people writing about their PHP development environment and tools. I didn&#8217;t get around to it at the time but yesterday I found me some time to write down my experiences of moving from Linux to MacOS X as primary OS for PHP  and web development
Me and my [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I saw a lot of people writing about their PHP development environment and tools. I didn&#8217;t get around to it at the time but yesterday I found me some time to write down my experiences of moving from Linux to MacOS X as primary OS for PHP  and web development</p>
<p>Me and my partner in <a href="http://www.dotvoid.se/index.en.html">Dotvoid, a small web development and integration company,</a> have used linux as a client OS for more than a decade. All the tools I needed for developing are there already; emacs, apache, php, MySQL, xdebug, other scripting languages, various compilers, OpenOffice and so much more. For my partner, <a href="http://www.gimp.org/">Gimp</a> and <a href="http://inkscape.org/">Inkscape</a> have provided all the functionality for producing both designs and graphics. And all for free. Fantastic. Even so, a few months ago I suddenly decided it was time to abandon our ugly plastic laptops from Dell and Sony. I ordered two Macbook Pro. I haven&#8217;t used or even touched a Macintosh since 1995. But hey, they look good.</p>
<p>We soon discovered that some things aren&#8217;t as user friendly as we exptected. The multitouch trackpad with it&#8217;s gestures is wonderful. My partner still use Inkscape and <a href="http://www.gimp.org/macintosh/">Gimp under MacOS</a>. Still excellent tools. But she needs more precision and bought the Magic mouse which she&#8217;s not very satisfied with. You can change the acceleration but not the speed. Annoying. OpenOffice also works like a charm on MacOS.</p>
<p>As for me I really &#8211; really &#8211; miss a decent keyboard with keys as delete, home, end, page up and page down. I didn&#8217;t expect them to be missing from the Macbook keyboard. In time I guess I&#8217;ll get use to the weird key combinations that is needed to replace them. I might even get used to the weird combinations needed to write backspace, brackets and curly braces. But the keyboard is not really designed for programmers. On the other hand the multitouch trackpad is great. Virtual desktops in MacOS is also a bit limited but it&#8217;s not a big issue. All in all I&#8217;m slowly getting used to the hardware and the way things work under MacOS.</p>
<p>However, MacOS is not enough. There are PHP distributions for Mac. But as I use Ubuntu in production I use Virtualbox to run a 32-bit Ubuntu in a virtual machine. After disabling the Intel VT-x CPU optimization the 32-bit Ubuntu runs as smooth as ever. For some reason Virtualbox refuse to disable VT-x for Ubuntu 64-bit which is the reason I have to use 32-bit. With the VT-x (optimization) enabled the virtual machine with Ubuntu freeze for a couple of seconds every five seconds or so. I work in many different places, in different wireless networks and often using 3G. To make it work in any network I&#8217;m connected to I needed to setup two network adapters for the guest OS. One network adapter to allow the guest OS reach the outside world and another for communication between the host OS and the guest. I also have Virtualbox running a windows installation to allow me easy testing in a windows environment without hassle.</p>
<p>When buying Macbooks I also decided to buy Zend Studio for MacOS. I haven&#8217;t looked back once to either PDT or emacs. It is a great feeling being able to use subversion, debug, refactor, run tests and much more in the same editor without setting things up and tweaking PDT. It just works. I&#8217;m happy with it. Let&#8217;s me focus on development. And it is not as slow as for example SpringSource Tool Suite for java development. The workspace with the projects I work on I have in a shared directory accessible to both MacOS and the Ubuntu virtual machine.</p>
<p>In addition I use <a href="http://wb.mysql.com/">MySQL Workbench</a> a lot. It is also available for MacOS. It is a great tool for designing and working with MySQL databases. I still use the command line a lot as I&#8217;ve done since 1997 when I first started working with MySQL. But with just a few clicks the Workbench let me see changes between a database and the schema, export all the changes to a database in development, staging and finally production. (I always use an ssh tunnel to push schema changes to staging and production databases as I never allow ftp or anything else.) I still run the MySQL development databases on the virtual machine though.</p>
<p><a href="http://www.omnigroup.com/products/omnigraffle/">OmniGraffle</a> is another application I decided to buy. I use it to create diagrams and flowcharts but also to build graphical user interfaces. Especially when designing iPhone apps. Great tool and well worth the money. You can find stencils for most purposes at <a href="http://graffletopia.com/">Graffletopia</a>.</p>
<p>Even though we still use mostly open source software, compared to a linux environment, the move to Macbook cost a lot. Especially for a small company as ours. But after a few months I still think it&#8217;s worth the money. The actual hardware is great. Looks good. Silent although it does get a bit too hot underneath. The high resolution anti-glare screen is fantastic. I can even work in direct sunlight outdoors. I never want to see another crappy Sony Vaio. If only my Macbook could stop crashing every now and then I&#8217;d be really satisfied.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/&amp;title=PHP+development+on+Mac+-+my+experience" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/&amp;t=PHP+development+on+Mac+-+my+experience" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/&amp;title=PHP+development+on+Mac+-+my+experience&amp;summary=A%20while%20ago%20I%20saw%20a%20lot%20of%20people%20writing%20about%20their%20PHP%20development%20environment%20and%20tools.%20I%20didn%27t%20get%20around%20to%20it%20at%20the%20time%20but%20yesterday%20I%20found%20me%20some%20time%20to%20write%20down%20my%20experiences%20of%20moving%20from%20Linux%20to%20MacOS%20X%20as%20primary%20OS%20for%20PHP%20%C2%A0and%20web%20development%0D%0A%0D%0AMe%20and%20my%20partner%20in%20Dotvo&amp;source=dotvoid.com" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-plaxo">
			<a href="http://www.plaxo.com/?share_link=http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/" rel="nofollow" class="external" title="Share this on Plaxo">Share this on Plaxo</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/&amp;title=PHP+development+on+Mac+-+my+experience" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=PHP+development+on+Mac+-+my+experience+-+http://bit.ly/j4A2iK&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.dotvoid.com/2011/07/php-development-on-mac-my-experience/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Linux and hardware</title>
		<link>http://www.dotvoid.com/2004/06/linux-and-hardware/</link>
		<comments>http://www.dotvoid.com/2004/06/linux-and-hardware/#comments</comments>
		<pubDate>Mon, 07 Jun 2004 12:20:58 +0000</pubDate>
		<dc:creator>Danne</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.commodi.com/?p=81</guid>
		<description><![CDATA[
I installed Mandrake on my laptop yesterday. I don&#8217;t know why it took me so long to finally scrap Windows XP on my laptop.Can it be the lousy support for D-Link wireless adapters? Yes &#8211; that might be it. But then I read somewhere out there on that oh so almighty internet that, with a [...]]]></description>
			<content:encoded><![CDATA[<div class="preamble">
<p>I installed Mandrake on my laptop yesterday. I don&#8217;t know why it took me so long to finally scrap Windows XP on my laptop.Can it be the lousy support for D-Link wireless adapters? Yes &#8211; that might be it. But then I read somewhere out there on that oh so almighty internet that, with a bit of a hassle, one should be able to get it to work. Well &#8211; I couldn&#8217;t. Windows XP will soon be back on my laptop.</p></div>
<div class="itemview">
<p>For some weird reason I always seem to end up with hardware <span style="font-style: italic;">not</span> supported. I should have kept that in mind before buying my  DWL G650+ wireless adapter from D-Link. There is support for both the G650 revision A and B &#8211; but not for the one with the plus attached to the end of the name.</p>
<p>Why do I always forget to check that the hardware I buy is supported? A year and a half ago I bought myself a new digital camera. Everything I read about it had the same message &#8211; Pentax Optio RS430 is a great camera. As it has a regular USB connection I just assumed it would work in linux. <span style="font-style: italic;">Thou shalt not assume!</span> should be written  all over my forehead. This little camera was tricksy &#8211; even though it used USB it did not have support in linux. It didn&#8217;t bother me too much since I at the time used windows on my laptop and could use that to fetch my pictures. Oh and by the way. The camera is not great. Its focus is as broken as it can be often putting the focus on the background, making the foreground blurry. This happens regardless of the focus settings you use and as it turns out Pentax has agreed that this is a problem with this model.</p>
<p>Shortly after I bought the camera I received my employer/state sponsored &#8220;<span style="font-style: italic;">home PC</span>&#8221; as it is called in Sweden. The deal is that the company buy you a computer which you then pay for on a monthly basis. The state then let you pay the computer before deducting tax making the computer much cheaper. My employer bought DELL machines featuring among other things a Soundblaster Live card. Almost all soundcards are supported by linux and especially soundblaster. I thought I was home safe this time.</p>
<p>The soundcard turned out not to work in linux as these soundblaster cards were a Dell only weirdity. Go figure. Normally I would have gone back with the card requiring a new, <span style="font-style: italic;">real</span>, Soundblaster Live card. I couldn&#8217;t do this because formally my employer owns the computer. Do they care? No.</p>
<p>So at the moment I have a worthless soundcard (and an unused surround sound equipment), a digital camera from which I cannot fetch the pictures and a wireless adapter I cannot use with my laptop. I can&#8217;t help but feel stupid.</p></div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.dotvoid.com/2004/06/linux-and-hardware/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.dotvoid.com/2004/06/linux-and-hardware/&amp;title=Linux+and+hardware" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.dotvoid.com/2004/06/linux-and-hardware/&amp;t=Linux+and+hardware" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.dotvoid.com/2004/06/linux-and-hardware/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.dotvoid.com/2004/06/linux-and-hardware/&amp;title=Linux+and+hardware&amp;summary=%0D%0A%0D%0AI%20installed%20Mandrake%20on%20my%20laptop%20yesterday.%20I%20don%27t%20know%20why%20it%20took%20me%20so%20long%20to%20finally%20scrap%20Windows%20XP%20on%20my%20laptop.Can%20it%20be%20the%20lousy%20support%20for%20D-Link%20wireless%20adapters%3F%20Yes%20-%20that%20might%20be%20it.%20But%20then%20I%20read%20somewhere%20out%20there%20on%20that%20oh%20so%20almighty%20internet%20that%2C%20with%20a%20bit%20of%20a%20ha&amp;source=dotvoid.com" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-plaxo">
			<a href="http://www.plaxo.com/?share_link=http://www.dotvoid.com/2004/06/linux-and-hardware/" rel="nofollow" class="external" title="Share this on Plaxo">Share this on Plaxo</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.dotvoid.com/2004/06/linux-and-hardware/&amp;title=Linux+and+hardware" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Linux+and+hardware+-+File: /data/app/webapp/functions.php<br />Line: 66<br />Message: Duplicate entry 'w4kn8' for key 'code'&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.dotvoid.com/2004/06/linux-and-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

