<?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>computers &#8211; Avian Bone Syndrome</title>
	<atom:link href="https://www.avianbonesyndrome.com/tag/computers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.avianbonesyndrome.com</link>
	<description>An exercise in futility by Daniele Nicolucci</description>
	<lastBuildDate>Wed, 14 Jul 2010 07:53:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.avianbonesyndrome.com/wp-content/uploads/2015/04/cropped-cover-sito-32x32.jpg</url>
	<title>computers &#8211; Avian Bone Syndrome</title>
	<link>https://www.avianbonesyndrome.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">12285558</site>	<item>
		<title>Headless virtual machines with Oracle VirtualBox</title>
		<link>https://www.avianbonesyndrome.com/2010/07/09/headless-virtual-machines-with-oracle-virtualbox/</link>
		
		<dc:creator><![CDATA[Daniele Nicolucci]]></dc:creator>
		<pubDate>Fri, 09 Jul 2010 08:53:44 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[headless]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[operating systems]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[virtualization]]></category>
		<guid isPermaLink="false">http://www.avianbonesyndrome.com/?p=98</guid>

					<description><![CDATA[Like any other well-respected geek, I would love to have many computers all around me. However, money constraints make that hard, yet it&#8217;s still possible to have extra machines around&#8230; if they are virtual. For those unfamiliar with the concept, virtualization is exactly what it sounds like: an entire computer is created in software, possibly with some help from the hardware. In practice, what this means is that you are able to have a &#8220;computer in a window,&#8221; as if it were any other program. The actual physical computer is called the host, and the virtual machine is called the guest. Note that virtualization is radically different from emulation; the former takes place when the host and the guest share their architecture (e.g. x86/amd64), the latter implies that they are different (e.g. a PowerPC host with an x86 guest.) A very retro-futuristic word to describe the virtualization software on the&#8230;]]></description>
										<content:encoded><![CDATA[<p>Like any other well-respected geek, I would love to have many computers all around me. However, money constraints make that hard, yet it&#8217;s still possible to have extra machines around&#8230; if they are virtual.</p>
<p>For those unfamiliar with the concept, <a href="http://en.wikipedia.org/wiki/Hardware_virtualization">virtualization</a> is exactly what it sounds like: an entire computer is created in software, possibly with some help from the hardware. In practice, what this means is that you are able to have a &#8220;computer in a window,&#8221; as if it were any other program. The actual physical computer is called the host, and the virtual machine is called the guest. Note that virtualization is radically different from emulation; the former takes place when the host and the guest share their architecture (e.g. x86/amd64), the latter implies that they are different (e.g. a PowerPC host with an x86 guest.)</p>
<p>A very retro-futuristic word to describe the virtualization software on the host is <a href="http://en.wikipedia.org/wiki/Hypervisor">hypervisor</a>. Go figure.</p>
<p><span id="more-98"></span>My host of choice is, as it should be clear by now, MacOS X. As for my hypervisor, I like <a href="http://www.virtualbox.org/">Oracle&#8217;s VirtualBox</a>. It lacks Bootcamp support and is less polished than its commercial cousins, but it is distributed for free. With the current state of affair, that&#8217;s nice. Besides, I only need it for the occasional Windows test and for Unix-like guests, so I don&#8217;t have to rely on any fancy 3D acceleration (which VirtualBox apparently supports, anyway.) One last thing to note: VirtualBox runs on MacOS X, Linux, Windows and Solaris. I am going to refer to its OS X version, even though it shouldn&#8217;t be that different on other platforms.</p>
<p>Let&#8217;s get to the point. When you run a virtual machine (VM from now on) you usually get the &#8220;computer in a window&#8221; I described earlier. That&#8217;s great for graphical operating system such as Windows or Linux with X, but if you are running a text-only system such as Linux without X, what&#8217;s the point? You could save precious CPU and GPU time on your host by not having it display anything, effectively by running in the background, and accessing the VM through SSH or something similar. That&#8217;s when you want to use a headless VM.</p>
<p>Running it is astonishingly simple. VBox gives specific terminal commands to handle any aspect of the VMs. A list of available VMs can be obtained as follows:<br />
<code><strong>octavarium:~ jollino$ VBoxManage list vms</strong><br />
Oracle VM VirtualBox Command Line Management Interface Version 3.2.6<br />
(C) 2005-2010 Oracle Corporation<br />
All rights reserved.</code></p>
<p><code> </code></p>
<p><code>"Windows 7" {933835d0-d0d8-4bfc-83bc-85531e756cdd}<br />
"Slack" {3a4f9f6a-da6b-40b5-8f4d-850937ffcd21}<br />
"Debian" {2a0647aa-6444-4429-b022-42e76ee1bade}<br />
</code></p>
<p>The string in quotes is the human-readable name (that the user chooses when creating the VM), and the funny numbers are a unique ID for that machine.</p>
<p>Starting any of them in headless mode is as simple as running the <em>VBoxHeadless</em> command:<br />
<code><strong>octavarium:~ jollino$ VBoxHeadless -s Slack &amp;</strong><br />
[1] 425<br />
octavarium:~ jollino$ Oracle VM VirtualBox Headless Interface 3.2.6<br />
(C) 2008-2010 Oracle Corporation<br />
All rights reserved.</code></p>
<p><code> </code></p>
<p><code>FreeTSD: failed to destroy key: Undefined error: 0<br />
VBoxHeadless(425,0xb058b000) malloc: *** error for object 0x11c700: double free<br />
*** set a breakpoint in malloc_error_break to debug<br />
Listening on port 3389.</code></p>
<p>Note that it doesn&#8217;t fork to the background by default. Forcing it to do so avoids abruptly stopping the VM should the terminal itself be accidentally closed. The errors mentioned are harmless.</p>
<p>If you need the &#8220;computer in a window&#8221; function, you can access the VM by using any RDP client and having it connect to port 3389 on the host. On OS X, I suggest <a href="http://cord.sourceforge.net/">CoRD</a>. It&#8217;s important to make sure that the RDP client&#8217;s configuration matches the video output of the VM. I stumbled on this at first: CoRD expected a 1280 x 1024 screen, but the Linux console was set to 1024 x 768. This led to weird visual glitches, since VBox doesn&#8217;t seem to correctly communicate the screen resolution to the RDP client. The nice thing is that the RDP pipe is active even when the machine rebooting, because it&#8217;s handled by VBox itself.</p>
<p>Of course, if you run a VM in headless mode, you&#8217;ll typically only use RDP when needed. SSH works just as fine, and trust me, the whole thing feels faster without a chunky VM window in the way!</p>

<a href='https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless1.jpg'><img decoding="async" width="150" height="150" src="https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless1-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless2.jpg'><img decoding="async" width="150" height="150" src="https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless2-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless3.jpg'><img decoding="async" width="150" height="150" src="https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless3-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless4.jpg'><img loading="lazy" decoding="async" width="150" height="150" src="https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless4-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>
<a href='https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless5.jpg'><img loading="lazy" decoding="async" width="150" height="150" src="https://www.avianbonesyndrome.com/wp-content/uploads/2010/07/headless5-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" /></a>

]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">98</post-id>	</item>
		<item>
		<title>iPad, iTunes, iPhone OS; or: how you are not forced to use them</title>
		<link>https://www.avianbonesyndrome.com/2010/04/04/ipad-itunes-iphoneos/</link>
		
		<dc:creator><![CDATA[Daniele Nicolucci]]></dc:creator>
		<pubDate>Sun, 04 Apr 2010 13:22:13 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone os]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://www.avianbonesyndrome.com/?p=6</guid>

					<description><![CDATA[One day after the release of the iPad in the United States, reviews are pouring onto American and foreign websites alike. For every person who is amazed by the device, there is someone who is bothered by the Apple buzz. To these I say: what&#8217;s the big deal? I happen to live in the Province of the Empire, in a country I oftentimes call &#8220;the third world of technology.&#8221; No way to rent movies online – or through the mail, for that matter –, no Pandora.com or Last.fm to easily find new music (the latter is available on a paid-membership basis; the former is simply forbidden), no iBooks when the iPad comes out, and so on. I live in Italy. I am also a happy Mac and iPhone user. Not an evangelist, not anymore at least: I will praise how durable and enjoyable Apple products are, but I won&#8217;t urge&#8230;]]></description>
										<content:encoded><![CDATA[<p>One day after the release of the <a href="http://www.apple.com/ipad/">iPad</a> in the United States, reviews are pouring onto American and foreign websites alike. For every person who is amazed by the device, there is someone who is bothered by the Apple buzz. To these I say: what&#8217;s the big deal?</p>
<p>I happen to live in the Province of the Empire, in a country I oftentimes call &#8220;the third world of technology.&#8221; No way to rent movies online – or through the mail, for that matter –, no Pandora.com or Last.fm to easily find new music (the latter is available on a paid-membership basis; the former is simply forbidden), no <a href="http://www.apple.com/ipad/features/ibooks.html">iBooks</a> when the iPad comes out, and so on. I live in Italy.</p>
<p>I am also a happy Mac and iPhone user. Not an evangelist, not anymore at least: I will praise how durable and enjoyable Apple products are, but I won&#8217;t urge anybody to buy them. I will, however, talk about them to people who ask me. After close to ten years as a Mac user (I do remember <a href="http://en.wikipedia.org/wiki/Mac_OS_9">MacOS 9.2</a> and MacOS X 10.0) and years of previous experience with Linux systems, Apple has become an invaluable provider of my daily computing. OS X allows me tinker with the underlying UNIX system with ease while being extremely user-friendly with the rest of the user interface. As a web developer, it&#8217;s the closest thing to perfection I can think of.</p>
<p>When the iPad was announced, I was following Steve Jobs&#8217;s keynote through <a href="http://www.engadget.com">Engadget</a>. I gradually turned from skeptic to disappointed: what, a big iPhone? A few hours later, a friend of mine summarized such feelings as: &#8220;I was hoping for a laptop replacement, and he just announced a tray. An iTray.&#8221;</p>
<p>A few days later, however, an article on a blog shone light on the matter: most of us computer people probably wouldn&#8217;t have much for a device like that. I&#8217;d personally much rather use my 13-inch MacBook Pro rather than an iPad, as it&#8217;s a full-fledged computer onto which I can install any program I want, with which I can multitask and that has a physical keyboard. I do sometimes use my MBP on the sofa, and while I agree that it&#8217;s not the most perfect experience, I&#8217;m willing to trade comfort for power.</p>
<p>People who do not have complex computing needs, though, will <em>love</em> the iPad. Take my father: he inherited the last PC I used, a glorious machine based on an AMD Duron 850 MHz CPU and 512 MB of memory. It runs Windows XP, and it&#8217;s far exceeded its time. Components keep breaking, and they are becoming hard to find. Every replacement has to be second-hand, and considering the higher price compared to current parts, it&#8217;s probably best to just ditch the machine entirely and build a new one. That was the plan, until the iPad was announced.<span id="more-6"></span></p>
<p>See, my father isn&#8217;t very computer-savvy. In fact, all he does is using Firefox to browse the web and little more. He doesn&#8217;t even care about productivity suites, he just reads a few online newspaper, peeks at <a href="http://thedailykitten.com/">The Daily Kitten</a>, browses <a href="http://www.youtube.com">YouTube</a> and visits the occasional website that he might hear about. He doesn&#8217;t even use email, in fact his email address is forwarded to mine so any messages he might receive from his bank will be taken care of. Also, since his computer started acting very flaky, he barely turns it on at all; and he doesn&#8217;t like sitting at the desk for long, and has no intention of learning how a computer works, therefore he is often confused by the interface.</p>
<p>Here are the three alternatives:</p>
<ol>
<li>he can spend about €350 for a new PC that will be possibly left to dust</li>
<li>he can spend about €550 for a Mac Mini that will also be possibly left to dust and which will require him to get used to OS X</li>
<li>he can spend no less than €450 for a cheap laptop whose battery will last a couple of hours and which will have a learnng curve to be climbed</li>
<li>he can spend some €450 for the smallest iPad available (I think that that&#8217;s the pricing it will get in Europe), which he can use on his sofa, outside and anywhere else there is a wirless network, and that will take little time to get used to</li>
</ol>
<p>He has also been saying that he wants a digital frame – and that kind of scares me, considering that I have 40 GB worth of pictures and that I will be the one who has to go through them with him – and that&#8217;s something else that an iPad might double as.</p>
<p>The iPad is, effectively, a closed environment. Users cannot install anything they want on it, and Apple can censor and refuse any content it doesn&#8217;t see fit. In return, the experience is smooth and without hurdles. What works, works; what doesn&#8217;t work, just doesn&#8217;t work. Those of us who see that as a threat to freedom should talk with computer illiterates. They would be amazed at how many people are perfectly fine with the concept of &#8220;you just can&#8217;t, period.&#8221; For them, even the simple lack of multitasking can be extremely beneficial; and that applies to some of &#8220;us&#8221; too.</p>
<p>Even tinkerers like me can be perfectly fine with closed systems, once the &#8220;threat to freedom&#8221; argument is put aside. I have been using an iPhone 3G since September 2008, and aside from minor annoyances, it&#8217;s served me very well. Sure, it would be great to have a wifi stumbler with GPS tracking support, but I can live without it. Also, tethering has been finally enabled with my cellular operator, so that&#8217;s not an issue anymore for me. And while the lack of multitasking can be annoying at times, the increase in battery life allows me to get over it. Of course, everyone has different needs, and I certainly do not question that; but that&#8217;s why there are alternatives.</p>
<p>For instance, I have read complaints by people who bought iPods and were extremely disappointed to see that they needed to install iTunes on Windows, or were just out of luck when using Linux. I think that such complaints are petty, pointless and naïve: the fact that you haven&#8217;t made any research prior to purchasing a product does not mean that the product is mediocre. The real problem is that your workflow isn&#8217;t flexible enough to fit said product, whether by choice  (&#8220;I don&#8217;t want to install iTunes&#8221;) or by need (&#8220;there is no iTunes for Linux&#8221;.) But that&#8217;s a problem with your workflow, not a problem with the product. The good news, however, is that there are plenty of other MP3 players that can be mounted as if they were USB drives and will read any files that are copied onto them. And they&#8217;re also cheaper than iPods!</p>
<p>The same applies to music: songs can be purchased from many online stores other than the iTunes Store, and they will play just the same. If you are old-style like me, you can also still buy physical CDs, with a printed booklet and whatnot.</p>
<p>Some commenters are astonished that the same people who bash Microsoft have a different attitude towards Apple. That may be true – Microsoft has a history of forcing their products onto the computer industry at large, whilst Apple&#8217;s influence is recent and limited to specific media industries –, but the truth is that even the most bitter anti-Microsoft people eventually grow up and take up a healthier &#8220;live and let live&#8221; attitude: I do not need Windows, I don&#8217;t use it; OpenOffice perfectly replaces anything I might need to do with Office; and so on.</p>
<p>Now, if Apple manages to modernize the press industry, then it&#8217;s certainly good for them. Rest assured that DRM won&#8217;t last long: media is bound to be globalized, and I am confident that in a few years producers will realize that they will make much more money by allowing everyone on the planet to buy their movies/songs/books without resorting to artificial boundaries; <em>pecunia non olet</em>, said the Romans. By the time a movie is released in another part of the planet, those who were waiting for it might as well have gotten it illegally: why not cash that money?</p>
<p>And incidentally, Apple is often an innovator. It was the first company to believe in mass-distribution of music over the &#8216;net, and many others followed suit; it was the first to believe in having computers with only USB ports (the glorious <a href="http://en.wikipedia.org/wiki/IMac_G3">iMac</a>); it was the first to provide the masses with a <a href="http://toastytech.com/guis/lisaos3.html">usable graphical user interface</a> (Windows 1, released two years later, was <a href="http://toastytech.com/guis/win101.html">little more than MS-DOS with a colored border around the screen</a>); and so on. Who knows what will happen with <a href="http://en.wikipedia.org/wiki/Light_Peak">Light Peak</a>&#8230;</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6</post-id>	</item>
	</channel>
</rss>
