<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>linux-journal &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/linux-journal/</link>
	<description>Feed of posts on WordPress.com tagged "linux-journal"</description>
	<pubDate>Tue, 08 Dec 2009 19:18:56 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Why Python Is The Best ? [Linux Journal]]]></title>
<link>http://pythonawy.wordpress.com/2009/09/28/why-python-is-the-best-linux-journal/</link>
<pubDate>Mon, 28 Sep 2009 05:35:22 +0000</pubDate>
<dc:creator>pythonawy</dc:creator>
<guid>http://pythonawy.wordpress.com/2009/09/28/why-python-is-the-best-linux-journal/</guid>
<description><![CDATA[At the Geek Ranch we recently made a decision to implement some software in Python. Or, more accurat]]></description>
<content:encoded><![CDATA[At the Geek Ranch we recently made a decision to implement some software in Python. Or, more accurat]]></content:encoded>
</item>
<item>
<title><![CDATA[Prismatic Web]]></title>
<link>http://wolfger.wordpress.com/2009/05/22/prismatic-web/</link>
<pubDate>Fri, 22 May 2009 17:23:36 +0000</pubDate>
<dc:creator>wolfger</dc:creator>
<guid>http://wolfger.wordpress.com/2009/05/22/prismatic-web/</guid>
<description><![CDATA[No, it&#8217;s not a new AD&amp;D spell. It&#8217;s the concept of having application-specific brows]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>No, it&#8217;s not a new AD&#38;D spell. It&#8217;s the concept of having application-specific browser windows. It&#8217;s funny that I should read a <a href="http://www.linux-mag.com/id/7338">Linux Journal article</a> about <a href="http://labs.mozilla.com/projects/prism/">Prism</a> today, because I just installed Prism on my computer last night. I tried it once before, when it first came out (or was that when it first got included into Ubuntu?), and was not impressed. I couldn&#8217;t figure out why I would want to run multiple Prism apps instead of one multi-tabbed browser. Then I decided that I tend to have so many open tabs, that trying to find my Gmail tab or my Google Reader tab was a bit of a pain. </p>
<p>Of course, it&#8217;s still not perfect. The Prism apps are very lean, tailored to just what you need for a particular site. Or what they think you&#8217;ll need. I have some RSS feeds of webcomics and pictures in my Google Reader. Occasionally I find a comic or picture I want to save to my hard drive. No way to do that in Prism. Still it seems like a worthwhile, if incomplete, idea. I haven&#8217;t benchmarked the memory usage, but it does feel zippier versus loading tabs in Firefox.</p>
<p>I&#8217;m using prism-google-mail, prism-google-reader, and prism-google-talk. <a href="http://packages.ubuntu.com/jaunty/net/#prism">Ubuntu also has</a> a handful of others like Twitter, Facebook, and some other Google stuff.</p>
<p>Anybody else using it? Thoughts? Hints? </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Nauji draugai ]]></title>
<link>http://padazas.wordpress.com/2009/03/19/nauji-draugai/</link>
<pubDate>Thu, 19 Mar 2009 07:50:19 +0000</pubDate>
<dc:creator>padazas</dc:creator>
<guid>http://padazas.wordpress.com/2009/03/19/nauji-draugai/</guid>
<description><![CDATA[Sveiki. Ačiū tiems 12 pastovių view&#8217;erių, kurie pastoviai apsilanko musų padažiūkštyje tikėdam]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sveiki. Ačiū tiems 12 pastovių view&#8217;erių, kurie pastoviai apsilanko musų padažiūkštyje tikėdamiesi išvysti kokį naują įrašą. Nenorėdamas jūsų nuvilti, pamaniau, kad reikia brūkštelti kokią šviežieną. Draft&#8217;ų per tą laiką prisikaupė labai daug, artimiausiu metu, kai apsikuopsiu su savo darbiūkščiais, pažadu juos patalpinti. Beje ačiū panelei &#8220;Li&#8221; už svečio rubrikos postą. Nesitikėjau, kad tokį puikų mokslinį darbą parašysi &#8211; dabar net gaila jį publikuoti. Va ta ta koks puikus. Artimiausiu metu jį patalpinsiu.</p>
<p>Taigi norėjau šiandien pasigirti apie tai, koks aš esu super turbo mega ultra plius&#8230;</p>
<p>Prieš kelias dienas savo RSS skaityklėje aptykau <a href="http://pawka.linija.net/2009/03/12/laimek-linux-journal-prenumerata-metams/">Povilo</a> įrašą apie <a href="http://www.linuxjournal.com/">Linux Journal</a> konkursą. Taigis vat ir dabar netveriu noru pasigirti, kad šiandien gavau laišką iš jų (iš Linux Journal, ne iš Povilo) su pranešimu, kad man pavyko laimėti vienerių metų Linux Journal prenumeratą (tiesa, elektroninės žurnalo versijos <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Nedidelė vieša paslaptis, kad visi kas dalyvavo konkurse laimėjo tą prenumeratą. Na bet vis vien&#8230; kaip sako &#8220;vešč&#8221;. Štai kokį gavau laišką:</p>
<blockquote><p>Congratulations! You submitted the correct answer of &#8220;Kernel Panic&#8221;<br />
for the <a href="http://linuxjournal.com/" target="_blank">linuxjournal.com</a></p>
<div style="display:inline;cursor:pointer;padding-right:16px;width:16px;height:16px;"></div>
<p>Tech Tip Video contest.</p>
<p>Your Digital subscription will begin with the May issue which will<br />
be available the first week in April.  We will email you download<br />
instructions at that time.</p>
<p>Thank you for participating!</p>
<p>Your Friends at Linux Journal</p></blockquote>
<p>&#8220;EL&#8221;, TU TIK PRIMESK! Your <strong>FRIENDS!!! at Linux</strong>&#8230; Reiks artimiausiu metu susiveikti naujų draugų &#8220;at UBUNTU&#8221; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Free 1 Year Subscription to Linux Journal Magazine!]]></title>
<link>http://intelliginix.wordpress.com/2009/03/10/free-1-year-subscription-to-linux-journal-magazine/</link>
<pubDate>Tue, 10 Mar 2009 14:54:56 +0000</pubDate>
<dc:creator>intelliginix</dc:creator>
<guid>http://intelliginix.wordpress.com/2009/03/10/free-1-year-subscription-to-linux-journal-magazine/</guid>
<description><![CDATA[Linux Journal is a magazine which has been focusing on Linux for around for around 15 years strong. ]]></description>
<content:encoded><![CDATA[Linux Journal is a magazine which has been focusing on Linux for around for around 15 years strong. ]]></content:encoded>
</item>
<item>
<title><![CDATA[Xavier thrives in Linux]]></title>
<link>http://rosmant.wordpress.com/2009/01/23/xavier-thrives-in-linux/</link>
<pubDate>Thu, 22 Jan 2009 22:41:21 +0000</pubDate>
<dc:creator>rosmant</dc:creator>
<guid>http://rosmant.wordpress.com/2009/01/23/xavier-thrives-in-linux/</guid>
<description><![CDATA[Got this from our mailing-list: xavier school deploys 600 ubuntu linux desktops And what is the curr]]></description>
<content:encoded><![CDATA[Got this from our mailing-list: xavier school deploys 600 ubuntu linux desktops And what is the curr]]></content:encoded>
</item>
<item>
<title><![CDATA[Mux Multiple SSH Connections to the Same Host]]></title>
<link>http://espressomind.wordpress.com/2008/12/08/mux-multiple-ssh-connections-to-the-same-host/</link>
<pubDate>Mon, 08 Dec 2008 21:39:45 +0000</pubDate>
<dc:creator>Ron DuPlain</dc:creator>
<guid>http://espressomind.wordpress.com/2008/12/08/mux-multiple-ssh-connections-to-the-same-host/</guid>
<description><![CDATA[Or: Connecting Multiple SSH Clients Over One Connection Motivation I love the command-line. If you g]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Or: Connecting Multiple SSH Clients Over One Connection</p>
<p><strong>Motivation</strong></p>
<p>I love the command-line.  If you get a peek at my computer monitor, you&#8217;ll like see a web browser and many, many terminal windows.  I connect to many &#8220;headless&#8221; hosts via SSH and live in text mode.  However, I don&#8217;t love cluttering system logs or slow SSH startup times.  Both can be alleviated in part by multiplexing (&#8220;muxing&#8221;) multiple SSH connections, which can be easily configured in OpenSSH.</p>
<p>After completing this lab, I also found that it solved another problem: I can now shell into a host multiple times with just one authentication request, even in the case where the host does not currently accept SSH keys.  Type the password once on the first SSH connection, and all following SSH connections are connected without a password (or course, exercise caution)!</p>
<p><strong>Using</strong></p>
<ul>
<li><strong>OpenSSH</strong> on <strong>Ubuntu 8.10</strong> (`ssh -V` shows OpenSSH_5.1p1 Debian-3ubuntu1, OpenSSL 0.9.8g 19 Oct 2007)</li>
<li>a <strong>UNIX-like system running sshd</strong></li>
</ul>
<p><strong>Setup</strong></p>
<p><a href="http://www.linuxjournal.com">Linux Journal</a>&#8217;s Dec 2008 issue (thanks for the free SC08 issue!) provides a &#8220;Tech Tip&#8221; on p. 31.  In ~/.ssh/config:</p>
<pre style="font-size:1.1em;background-color:#eeeeee;color:#111111;">
Host *
    ControlMaster auto
    ControlPath ~/.ssh/master-%r@%h:%p
</pre>
<p>You may want to make it read-able only by yourself for privacy (write-able too):</p>
<pre style="font-size:1.1em;background-color:#eeeeee;color:#111111;">
$ chmod 600 ~/.ssh/config
</pre>
<p>To activate it, just run ssh as usual, e.g.</p>
<pre style="font-size:1.1em;background-color:#eeeeee;color:#111111;">
$ ssh targethost
</pre>
<p>Done.</p>
<p><strong>Results</strong></p>
<p>I connected to the same host with 4 different terminals before and after using this SSH config.</p>
<p>Notice 4 remote host sshd processes before SSH muxing:</p>
<pre style="font-size:1.1em;background-color:#eeeeee;color:#111111;">
username@remote-host:~$ ps x
  PID TTY      STAT   TIME COMMAND
 4235 ?        S      0:00 sshd: username@pts/0
 4236 pts/0    Ss+    0:00 -bash
 4352 ?        S      0:00 sshd: username@pts/1
 4353 pts/1    Ss+    0:00 -bash
 4468 ?        S      0:00 sshd: username@pts/2
 4469 pts/2    Ss     0:00 -bash
 4584 ?        S      0:00 sshd: username@pts/3
 4585 pts/3    Ss+    0:00 -bash
 4648 pts/2    R+     0:00 ps x
</pre>
<p>Notice 1 remote host sshd process after SSH muxing:</p>
<pre style="font-size:1.1em;background-color:#eeeeee;color:#111111;">
username@remote-host:~$ ps x
  PID TTY      STAT   TIME COMMAND
 4922 ?        S      0:00 sshd: username@pts/0,pts/1,pts/2,pts/3
 4923 pts/0    Ss+    0:00 -bash
 4972 pts/1    Rs     0:00 -bash
 5022 pts/2    Ss+    0:00 -bash
 5070 pts/3    Ss+    0:00 -bash
 5438 pts/1    R+     0:00 ps x
 5439 pts/1    D+     0:00 -bash
</pre>
<p>The system log at /var/log/auth.log (remote host) also shows only 1 login with the new configuration (of course, there were 4 before&#8230;).  This means you only have to authenticate once for all 4 SSH connections!</p>
<p><strong>Discussion</strong></p>
<p>This requires a relatively recent version of OpenSSH.  I found it didn&#8217;t work on a Red Hat Enterprise Linux 4 machine (OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003).  OpenSSH will likely complain loudly if it doesn&#8217;t understand your config.</p>
<p>If your home directory is mounted across multiple hosts, you&#8217;ll probably want to add the local host (%l &#8211; &#8220;percent ell&#8221;) to the ControlPath.  This will ensure each host can properly access the proper sshd process.  Here is such a config file:</p>
<pre style="font-size:1.1em;background-color:#eeeeee;color:#111111;">
Host *
    ControlMaster auto
    ControlPath ~/.ssh/master-%l-%r@%h:%p
</pre>
<p>I did come across <strong>one drawback</strong>: the first ssh process waits for other ssh processes to exit (naturally).  For example, suppose you have 4 terminals open which you use to shell 4 times into the same host.  If you close the SSH on the first terminal, it will wait until the other 3 SSH processes exit.  When this happens, you&#8217;ll notice that SSH will close but not return to your normal shell.</p>
<p>You can make this a system-wide configuration by placing these directives in /etc/ssh/ssh_config.  Use this advice at your own risk, and proceed with caution.  I won&#8217;t be responsible if you jack up your SSH config!</p>
<p>If you&#8217;d like to avoid this config but you&#8217;d like to have multiple shells on a remote host with one SSH connection, look into GNU screen.  I like <em>screen</em> a lot, but I also like the option of having multiple terminal windows for the same host.</p>
<p><strong>Further Reading</strong></p>
<ul>
<li>see ssh and ssh_config man pages</li>
<li><a href="http://www.linuxjournal.com/article/6602">Linux Journal: Eleven SSH Tricks (www.linuxjournal.com)</a></li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Vast, slow, Lisp Music]]></title>
<link>http://8centsaday.wordpress.com/2008/10/14/vast-slow-lisp-music/</link>
<pubDate>Tue, 14 Oct 2008 00:21:36 +0000</pubDate>
<dc:creator>eightcentsaday</dc:creator>
<guid>http://8centsaday.wordpress.com/2008/10/14/vast-slow-lisp-music/</guid>
<description><![CDATA[I&#8217;d never considered the use of Lispish programming languages in audio production and processi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;d never considered the use of <a href="http://en.wikipedia.org/wiki/Lisp_(programming_language)">Lispish programming languages</a> in <a href="http://en.wikipedia.org/wiki/Computer_music">audio production and processing</a> until the latest issue of <a href="http://www.linuxjournal.com/">Linux Journal</a> brought it to my attention.</p>
<p>Further investigations reveal that there&#8217;s <a href="http://en.wikipedia.org/wiki/Common_Lisp_Music">quite a lot of it about</a>, AND that it was used in <a href="http://en.wikipedia.org/wiki/9_Beet_Stretch">the production of the notorious 9 Beet Stretch</a> work, now <a href="http://www.park.nl/park_cms/public/index.php?thisarticle=118">streaming online</a>.</p>
<p>Interested in creating vast monumental minimal ambient works out of other people&#8217;s music without hacking Lisp? Try <a href="http://hypermammut.sourceforge.net/paulstretch/">Paul&#8217;s Extreme Sound Stretch</a>, in Windows and Linux flavours. I came this close to repairing an old version  someone did for OS X until I found <a href="http://www.lownorth.nl/software/products/TimeToy/">TimeToy3xtreme<span class="Apple-style-span" style="border-collapse:separate;color:#000000;font-family:'times new roman';font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0;text-transform:none;white-space:normal;widows:2;word-spacing:0;"></span></a>, which is apparently substantially the same thing.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Comercialización del Software Libre.]]></title>
<link>http://matiaslennie.wordpress.com/2008/08/26/comercializacion-del-software-libre/</link>
<pubDate>Tue, 26 Aug 2008 15:39:12 +0000</pubDate>
<dc:creator>Matias Lennie</dc:creator>
<guid>http://matiaslennie.wordpress.com/2008/08/26/comercializacion-del-software-libre/</guid>
<description><![CDATA[Josx ha traducido un texto para leer atentamente muy interesante sobre el movimiento del software li]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div class="storycontent">
<p><a title="Jose luis di biase" href="http://www.joseluisdibiase.com.ar/" target="_blank">Josx</a> ha traducido un <a title="Jose Luis di Biase" href="http://www.joseluisdibiase.com.ar/2008/08/11/la-cooptacion-del-open-source/" target="_blank">texto para leer atentamente</a> muy interesante sobre el movimiento del software libre. Me parece que dispara discusiones centrales para la etapa que se abre y puede servir para pensar, posicionarse y actuar consecuentemente en relación a la temática.<br />
Original: <a href="http://blog.p2pfoundation.net/the-cooptation-of-open-source-1/2008/07/10" target="_blank">http://blog.p2pfoundation.net/the-cooptation-of-open-source-1/2008/07/10</a></p>
<p><strong>La cooptación del open source<br />
<em>Michel Bauwens</em></strong></p>
<p>¿Cómo había podido perder esto? Hay aún grandes agujeros en los servicios de alerta que uso.<br />
Hace mucho que tengo una pregunta: ¿ hasta que grado debido al hecho que los programadores de software libre cobran cambia la dinámica interna de producción? El debate que sigue fue tomado de Linux Journal, efectivamente responde a la pregunta mientras al mismo tiempo confirma la gran comercialización que hay.<br />
El 30 de abril, <a href="http://www.linuxjournal.com/content/linux-now-slave-corporate-masters" target="_blank">Linux Journal</a> hizo una pregunta importante: ¿es ahora linux un esclavo de las corporaciones? ¿Importa quien paga los salarios de los los desarrolladores del kernel? Si importa ¿cuanto? ¿de qué forma? Estas preguntas fueron tomadas para un <a href="http://www.linux-foundation.org/publications/linuxkerneldevelopment.php" target="_blank">reporte de la Linux Foundation</a> acerca de las caracteristicas de los que trabajan en el kernel.</p>
<p>Tom Slee hizo un <a href="http://whimsley.typepad.com/whimsley/2008/04/linux-grows-up.html" target="_blank">resumen de lo encontrado</a>:</p>
<p>&#8220;Una de las más importantes: más de 70% de todos los desarrolladores del kernel esta siendo pagos por su trabajo, 14% son contribuciones por desarrolladores que no son pagos e independientes, y 13% por personas pueden o no estar pagados, por lo que el monto máximos de trabajadores pagos es de 85% aproximadamente. El kernel linux entonces es producido por profesionales y no voluntario.<br />
Linux se ha convertido en un joint venture de un grupo de empresas. De la misma forma que Visa es un joint venture de una conjunto de instituciones financieras. Lo que deja claro el reporte es que las empresas están participando por un diverso conjunto de razones comerciales. Algunos quieren que linux corra en su hardware, otros quieren que asegurarse que las bases de su negocios de distribución sea sólida. De esa forma ninguna de esas empresas puede lograr sus metas de manera independiente. De la misma forma, Visa proveé servicios en diferentes lugares alrededor del mundo en diferentes tamaños y tipos de negocios. Algunos bancos necesitan sus servicios en un país y algunos otros en otro, pero cuando trabajan<br />
en conjunto todos ellos pueden proveer sus servicios alrededor del mundo.</p>
<p>…el reporte de linux foundation ha dejado claro que el open source ha cruzado la frontera comercial y posiblemente no hay vuelta atrás.</p>
<p>Nick Carr <a href="http://www.roughtype.com/archives/2008/04/open_source_as_1.php" target="_blank">prediciblemente concluye</a> que:<br />
&#8220;El cambio en el desarrollo del kernel de trabajo no pago a trabajo pago, de voluntarios a empleados, sugiere que la red no necesariamente ha debilitado el manejo centralizado o repele todas las viejas verdades organizativas de las empresas de negocios&#8221;</p>
<p>Este argumento fue contrapuesto por <a href="http://www.technologyowl.com/i88997-c134-rss" target="_blank">Timothy Lee</a>, que escencialmente dijo que la creciente corporativización de linux no ha cambiado no modelo organizacional. &#8220;Para principiantes, la mayoría de las personas que contribuyem al kernel son programadores profesionales, y las tiene empleos en la industria del software. Por lo que no sorpresivo que la mayoria de contribuciones al kernel sean utiles<br />
para las empresas&#8221;</p>
<p>Pero la observación de Carr es un error más profundo aún. Lo que hace único el modelo open source no es quien firma el cheque a los que contribuyen. Lo que importa es como los proyectos están organizados hacía el interior de los mismos.<br />
En la tradición de los proyectos de software, hay un proyect manager quien decide que funcionalidad debe tener el producto y decide cuantos empleados van a trabajar y en que cosa. En contraste, no hay alguien directamente que maneje todo el proyecto del kernel linux. Si, Linus y sus tenientes deciden que parche se aplica en última instancia para que forme parte del kernel, pero los empleado de Red hat, ibm, novel<br />
que trabajan en el kernel no toman ordenes de ellos. Ellos trabajan en lo que creen es más importante, y Linux solamente decide si los parches que ellos envian son lo suficientemente bueno para entrar en el kernel. Carr sugiere que el status de los no-voluntarios que contribuyen al kernel marca que no necesariamente se ha debilitado el manejo centralizado, pero eso es lo que precisamente el modelo<br />
de desarrollo open source ha hecho. No hay un comando centralizado del kernel linux, y seria un proyecto menos exitoso si lo hubiera.</p>
<p><img class="alignnone" src="http://images.google.com.ar/url?q=http%3A%2F%2Fwinkase.files.wordpress.com%2F2008%2F03%2Flinux.jpg&#038;w=445&#038;h=340#38;usg=AFQjCNE-cMcyRXZsfQS7hfa3JYsqhX09jQ" alt="" width="445" height="340" /></p>
<p><a href="http://blogs.cioinsight.com/knowitall/content001/decoding_the_professionalization_of_linux.html" target="_blank">Ed Cone</a> confirma:</p>
<p>&#8220;Lo que pierde de vista ese analisis es que IBM le esta pagando a ingenieros para trabajar en proyectos que de los que no son dueños. IBM pagas esos ingenieros -pero fuera de todas relaciones entre el management senior y empleados, el hecho de que se pague es menos importante institucionalmente. La idea de que al pagar a las personas para hacer algo uno tiene el derecho de manejarlas y el completo derecho sobre su<br />
trabajo para el beneficio de la empresa no son verdad.<br />
IBM no esta produciendo código, lo están haciendo los ingenieros de IBM. IBM esta pagando a esos ingenieros porque estan obtiendo valor de ellos, linux crea valor para la empresa y disminuye sus costos de software e aumenta los presupuestos de hardware y servicios pero en medio esta este linux que no es nuestro ahora ni lo será. Linux es una brutal meritocracia técnica, y no hay ningún senior manager en IBM<br />
que pueda decir &#8220;No me importa lo que crean los ingenieros del kernel, yo quiero esto&#8221;.<br />
Ellos pueden ponerlo en su producto pero sino esperar que otros trabajen para ellos.<br />
Si anuncian un cambio estrategico en el kernel todos se reirian de ellos. Ellos han decidido rendirse en el derecho de manejar el proyecto para el cual pagan, y sus competidores tienen acceso directo a todo lo que hacen. No es un producto IBM.</p>
<p>Hay una lectura perversa en la cual el cambio de desarrolladores no pagos a pagos, no desarrolla de manera diferente la organización interna tradicional. Malamente se desentiende cual radical es tener a IBM y novell efectivamente colaborando sin ningún acuerdo contractual, y sin derechos para opinar sobre si el trabajo de sus programadores puede ser incluido o no en el kernel sino gusta. Y este es un cambio enorme.</p>
<p>Cuando las personas leen estadisticas piensan que si hay salario entonces la idea de manejo centralizado también se ejerce. No solamente no es verdad sino que ciega el hecho de que pagar el salario a alguien sin controlar lo que hace directamente en su trabajo es probablemente el mayor reto a la cultura del management dentro de los negocios.</p>
<p>Doc Searls luego concluye que el articulo con observaciones personales y especialmente con testimonio personal de Andrew Norton confirma la independencia de los programadores del kernel:</p>
<p>&#8220;Andrew dejo claro, sin ironias, que las simbiosis entre las empresas y el kernel linux no pone presión comercial sobre el kernel. Cada simbotizante tiene su propia responsabilidad. Para ilustrar dío el caso de una aplicacción de una gran empresa&#8221;</p>
<p>Se puede ver más <a href="http://www.linuxjournal.com/article/8664" target="_blank">aquí</a>.</p>
<p>Por supuesto, esto no determina la influencia corporativa sobre el desarrollo del kernel, y  este tema debe ser estudiado en profundidad. Cualquier material sobre este tema es bienvenido.</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Flipping theLinuxswitch ZOMG ffmpeg ]]></title>
<link>http://linuxrupei.wordpress.com/2008/08/11/flipping-thelinuxswitch-zomg-ffmpeg/</link>
<pubDate>Mon, 11 Aug 2008 01:54:43 +0000</pubDate>
<dc:creator>linuxrupei</dc:creator>
<guid>http://linuxrupei.wordpress.com/2008/08/11/flipping-thelinuxswitch-zomg-ffmpeg/</guid>
<description><![CDATA[Linux presents special challenges with media file conversions. The good news is that though some of ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p> Linux presents special challenges with media file conversions. The good news is that though some of the tools might be a little tricky to decipher they do a great job with conversions and tend to encompass a wide range of file types.<br />
digg.com</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Έξυπνο advertising]]></title>
<link>http://teomaragakis.wordpress.com/2008/07/16/smart-advertising/</link>
<pubDate>Tue, 15 Jul 2008 22:26:38 +0000</pubDate>
<dc:creator>Erevos</dc:creator>
<guid>http://teomaragakis.wordpress.com/2008/07/16/smart-advertising/</guid>
<description><![CDATA[Αυτό θα πει targeted advertising Όσοι από εσάς έχουν τη σπάνια στην Ελλάδα τύχη ατυχία να έχουν γνωρ]]></description>
<content:encoded><![CDATA[Αυτό θα πει targeted advertising Όσοι από εσάς έχουν τη σπάνια στην Ελλάδα τύχη ατυχία να έχουν γνωρ]]></content:encoded>
</item>
<item>
<title><![CDATA[Weird T-shirts]]></title>
<link>http://brucebyfield.wordpress.com/2008/07/08/weird-t-shirts/</link>
<pubDate>Wed, 09 Jul 2008 03:20:45 +0000</pubDate>
<dc:creator>Bruce Byfield</dc:creator>
<guid>http://brucebyfield.wordpress.com/2008/07/08/weird-t-shirts/</guid>
<description><![CDATA[I won’t wear a T-shirt that advertises a product or a company. The way I figure, if I’m going to be ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I won’t wear a T-shirt that advertises a product or a company. The way I figure, if I’m going to be a walking billboard, you’re going to have to pay me – assuming you can coax me into doing it at all. The closest I come are T-shirts advertising a cause I support, such as the Free Software Foundation, or a small band or art exhibit I happen to like. But, in reaction to the trend towards the billboard T-shirt, my preference is for T-shirt art that is a joke to me, but is obscure to most other people.</p>
<p>During the 1990s, one of my prize possessions was a Miskatonic University T-shirt. Readers of H. P. Lovecraft will recognize the name of the university whose faculty often explored the supernatural, and whose library contained a private collection full of deadly occult lore, such as the <em>Necronomicon.</em> The shirt showed some pseudo-classical buildings with tentacles coming out of the building, and students fleeing from it. Since I was a sessional instructor at the time, I wore that T-shirt around the English Department a lot (which, come to think of it may have something to do with the fact that I parted from academia; undoubtedly, the rather humorless chair thought I was making a statement – and, looking back, I suppose I was).</p>
<p>A few years ago, my favorite obscure T-shirt was from the Linux Journal. On the back, it read, “In a world without fences, who needs gates?” Members of the free software community will recognize that as part of a longer comment that used to be common in many people’s email signature: “In a world without walls, who needs windows? In a world without fences, who needs gates?” No doubt Microsoft’s legal counsels would like to eradicate the comment, but the lack of capital letters leaves the reference open to interpretation. Whenever I wear this T-shirt, someone is sure to come up to me on the street and congratulate me on it, but most people walk past it blankly.</p>
<p>Another favorite of mine reads simply, “++ungood” (read “double plus ungood”).The slogan is Newspeak from George Orwell’s Nineteen Eighty-Four. As you may recall, part of the motivation behind Newspeak was to regularize and simplify English so as to remove certain tendencies of thought. Specifically, rather than use a list of comparatives like good, better, best, Orwell’s language for totalitarians reduced them all to variations of good. Similarly, rather than having “bad” as a separate word, Newspeak reduced it to the opposite of good. So, “++ungood” means “bad” or, more accurately “wicked,” and carries a political overtone of “politically undesirable” as well.</p>
<p>But my latest acquisition is the most obscure of all. It comes courteous of Ben Mako Hill, an executive of the Free Software Foundation and a strong advocate of free culture, who kindly put the artwork online for anyone to use free. Meant to resemble the exercise gear issued by universities that students once stole but can now buy as souvenirs in most campus book stores, it reads “Property of Pierre-Joseph Proudhon.” Proudhon, as every scholar of anarchist philosophy (and nobody else) knows, is the political writer who coined the phrase “Property is theft.”</p>
<p>What I like about these obscure T-shirts (besides the polite but puzzled look down at the T-shirt shop where I get them made up) is that, although most people don’t get them, they are often excuses for people to start talking to you. And when someone does understand them, you know that you have at least some small thing in common with them. So, I foresee my obscure T-shirt collection growing.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Round up of interesting articles from last week]]></title>
<link>http://autological.wordpress.com/2008/07/07/round-up-of-interesting-articles-from-last-week/</link>
<pubDate>Mon, 07 Jul 2008 00:28:15 +0000</pubDate>
<dc:creator>jfinette</dc:creator>
<guid>http://autological.wordpress.com/2008/07/07/round-up-of-interesting-articles-from-last-week/</guid>
<description><![CDATA[It&#8217;s not the Gates, it&#8217;s the bars: http://news.bbc.co.uk/2/hi/technology/7487060.stmn La]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>It&#8217;s not the Gates, it&#8217;s the bars</strong>: <a href="http://news.bbc.co.uk/2/hi/technology/7487060.stmn" target="_blank">http://news.bbc.co.uk/2/hi/technology/7487060.stmn</a></p>
<p>Latest from Richard Stallman Founder of the Free Software Foundation on Bill Gates departure and dismantling persisting walled gardens featured on the <a href="http://news.bbc.co.uk/2/hi/technology/default.stm" target="_blank">BBC&#8217;s tech section</a>.</p>
<p><strong>An open-source problem? Too many scratches for too few itches</strong>: <a href="http://news.cnet.com/8301-13505_3-9984165-16.html" target="_blank">http://news.cnet.com/8301-13505_3-9984165-16.html</a></p>
<p><a href="http://news.cnet.com/openroad/" target="_blank">Matt Asay from cnet&#8217;s &#8216;The Open Road</a>&#8216; on the challenges of too many open but unfinished, low grade tools out there. He thinks some cleaning up and focus is needed, the comments lambast him for promoting monopolistic behavior be it propriety or open&#8230; Make sure you read the replies.<br />
<strong><br />
How Can We Harness the Firefox Effect?</strong> : <a href="http://www.linuxjournal.com/content/how-can-we-harness-firefox-effect" target="_blank">http://www.linuxjournal.com/content/how-can-we-harness-firefox-effect<br />
</a><a href="http://www.linuxjournal.com/blogs/glyn-moody" target="_blank">Glyn Moody</a> from the <a href="http://www.linuxjournal.com/" target="_blank">Linux Journal </a>has a compelling write up on how more open source projects should try to harness the mass popularity. His comments on the work we still have to do for Firefox are true, there are millions more folks we could be reaching!</p>
<p><strong>Reports:</strong></p>
<p><strong>Understanding the Web browser threat:<br />
Examination of vulnerable online Web browser populations and the &#8220;insecurity iceberg&#8221; :</strong><br />
<a href="http://www.techzoom.net/publications/insecurity-iceberg/" target="_blank">http://www.techzoom.net/publications/insecurity-iceberg/</a></p>
<p><a href="http://autological.files.wordpress.com/2008/07/picture-1.png"><img class="alignnone size-medium wp-image-109" src="http://autological.wordpress.com/files/2008/07/picture-1.png?w=300" alt="" width="300" height="231" /></a></p>
<p>Published Jul 1st by researchers from <strong>Google</strong>, <strong>IBM</strong> and the <strong>Communication Systems Group</strong> in Switzerland, <a href="http://blog.washingtonpost.com/securityfix/2008/07/40_percent_of_web_users_surf_w_1.html" target="_blank">Quoting the Washinton post: &#8220;The researchers found that of the 1.4 billion Internet users worldwide at the end of March 2008, 576 million surfed with outdated versions of Web browsers&#8221;.</a></p>
<p>Extensive research of online surfing habits finding that only 60% of the World&#8217;s Web users are surfing the Internet with the latest, and most-secure version of their  Web browsers. And infact their findings show Firefox users are by far the most up to date users on the Web.<br />
Read a great write up from <a href="http://weblogs.mozillazine.org/asa/" target="_blank">Asa</a> here: <a href="http://weblogs.mozillazine.org/asa/archives/2008/07/staying_up_to_d.html" target="_blank">http://weblogs.mozillazine.org/asa/archives/2008/07/staying_up_to_d.html</a></p>
<p>The study proposes&#8217;s the following&#8230;&#8221;To help combat existing and rapidly evolving threats such as malicious drive-by downloads, we have proposed the concept of a &#8220;best before&#8221; date for software and related mechanisms to tackle user awareness and provide a vehicle for online businesses to better assess the risk level of their customers’ hosts. &#8221; Excellent idea.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[My brother is on the cover of Linux Journal]]></title>
<link>http://charleen.mullenweg.com/2008/06/10/my-brother-is-on-the-cover-of-linux-journal/</link>
<pubDate>Tue, 10 Jun 2008 21:05:30 +0000</pubDate>
<dc:creator>charleen</dc:creator>
<guid>http://charleen.mullenweg.com/2008/06/10/my-brother-is-on-the-cover-of-linux-journal/</guid>
<description><![CDATA[Here&#8217;s where you can find my darling Matt&#8230;. note: you will need to register to read the ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.linuxjournal.com/issue/171" target="_blank">Here&#8217;s where you can find my darling Matt&#8230;.</a></p>
<p>note: you will need to register to read the actual article</p>
<p><em>update: Glenda B. says that the issue doesn&#8217;t hit the newsstands until 6/17/8 </em></p>
<p>Hat tip: Mom</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Readers' Choice Awards 2008, ecco i migliori software Linux di quest'anno]]></title>
<link>http://khole8.wordpress.com/2008/05/03/readers-choice-awards-2008-ecco-i-migliori-software-linux-di-questanno/</link>
<pubDate>Sat, 03 May 2008 09:32:39 +0000</pubDate>
<dc:creator>Ferro</dc:creator>
<guid>http://khole8.wordpress.com/2008/05/03/readers-choice-awards-2008-ecco-i-migliori-software-linux-di-questanno/</guid>
<description><![CDATA[Linux Journal, una delle più famose riviste su Linux e sull&#8217;Open source, ha reso noti i risult]]></description>
<content:encoded><![CDATA[Linux Journal, una delle più famose riviste su Linux e sull&#8217;Open source, ha reso noti i risult]]></content:encoded>
</item>
<item>
<title><![CDATA[April Fools: We Have A Winner]]></title>
<link>http://lithax.wordpress.com/2008/04/01/april-fools-we-have-a-winner/</link>
<pubDate>Tue, 01 Apr 2008 16:25:51 +0000</pubDate>
<dc:creator>lithax</dc:creator>
<guid>http://lithax.wordpress.com/2008/04/01/april-fools-we-have-a-winner/</guid>
<description><![CDATA[This year&#8217;s April fools offerings have been pretty tame, but I think Linux Journal have outdon]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img src="http://lithax.wordpress.com/files/2008/11/be-journal-logo.png" alt="Be Journal Logo" title="Be Journal" width="141" height="69" class="alignright size-full wp-image-298" />
<p>This year&#8217;s April fools offerings have been pretty tame, but I think <a title="Linux Journal - The Original Magazine Of The Linux Community" href="http://www.linuxjournal.com">Linux Journal</a> have outdone themselves.</p>
<p>Numerous articles and a video &#8211; that&#8217;s commitment to the cause <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li><a title="Go Purple For Pentium Pro!" href="http://www.linuxjournal.com/content/go-purple-pentium-pro">Go Purple For Pentium Pro!</a></li>
<li><a title="Operating Systems Programmers Flock To BeOS" href="http://www.linuxjournal.com/content/operating-systems-programmers-flock-beos">Operating Systems Programmers Flock To BeOS</a></li>
<li><a title="BeOS Cluster Goes Live" href="http://www.linuxjournal.com/content/beos-cluster-goes-live">BeOS Cluster Goes Live</a></li>
<li><a title="Sony Rumored To Buy BeOS" href="http://www.linuxjournal.com/content/sony-rumored-buy-beos">Sony Rumored To Buy BeOS</a></li>
<li><a title="NYC Subways Embed BeOS" href="http://www.linuxjournal.com/content/nyc-subways-embed-beos">NYC Subways Embed BeOS</a></li>
<li><a title="Bloggers Are Bonkers For BeOS" href="http://www.linuxjournal.com/content/bloggers-are-bonkers-beos">Bloggers Are Bonkers For BeOS</a></li>
</ul>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/Y39FYehoVds&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/Y39FYehoVds&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>We take the BS out of BeOS <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux Journal magazine archives for free!! Appreciate it!!]]></title>
<link>http://mohasin.wordpress.com/2007/09/30/linux-journal-magazine-archives-for-free-appreciate-it/</link>
<pubDate>Sun, 30 Sep 2007 16:13:00 +0000</pubDate>
<dc:creator>Mohasin</dc:creator>
<guid>http://mohasin.wordpress.com/2007/09/30/linux-journal-magazine-archives-for-free-appreciate-it/</guid>
<description><![CDATA[Wow.. I never knew I could get Linux Journal archives for free . I really appreciate this.. for keep]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Wow.. I never knew I could get <a href="http://www.linuxjournal.com/xstatic/magazine/archives">Linux Journal archives for free</a> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I really appreciate this.. for keeping the spirit of free knowledge alive.</p>
<p>I must say.. Its a wonderful magazine for Linux and has really widened my perspective about Linux. We do have an India alternative &#8211; <a href="http://www.linuxforu.com/">Linux For You</a>. Its the only Indian Magazine on Linux and the content is good.. Not bad and not excellent.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Breaking the chains of &#8217;same as it ever was&#8217;]]></title>
<link>http://larrythefreesoftwareguy.wordpress.com/2007/08/23/breaking-the-chains-of-same-as-it-ever-was/</link>
<pubDate>Thu, 23 Aug 2007 20:01:07 +0000</pubDate>
<dc:creator>Larry</dc:creator>
<guid>http://larrythefreesoftwareguy.wordpress.com/2007/08/23/breaking-the-chains-of-same-as-it-ever-was/</guid>
<description><![CDATA[My 9-year-old daughter Mirano, a Linux Chick in training, is pretty astute when it comes to matters ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>My 9-year-old daughter Mirano, a Linux Chick in training, is pretty astute when it comes to matters relating to GNU/Linux. For example, she is working on a review of <a href="http://www.tuxpaint.org/">Tux Paint</a>, and she&#8217;s the one that pointed out that Iceweasel is the opposite of Firefox (ice opposite of fire, weasel opposite of fox). I&#8217;m convinced she gets her brains from her mom &#8212; from me she gets an innate sense of irony augmented by generations of cutting sarcasm for which the Cafiero family is historically known, but I digress.</p>
<p>Anyway, I bring up Mirano because after reading Carla Schroeder&#8217;s <a href="http://www.oreillynet.com/linux/blog/2007/08/linux_journal_the_last_idiots_1.html">blog about an mysogynistic ad</a> &#8212; yeah, let&#8217;s call it what it is: mysogynistic (but see for yourself <a href="http://feministing.com/archives/007501.html">here </a>&#8211; that ran in Linux Journal, I have to say that this is my first encounter with sexism in the FOSS realm; not to mention a disturbing one at that.</p>
<p>Apparently and unfortunately, however, this seems not to be a singular incident, but rather a business-as-usual attitude for both the publication, as well as &#8212; depending on who you ask &#8212; an acceptable &#8220;behavior&#8221; in male geekdom.</p>
<p>Case in point: Caitlyn Martin writes in a <a href="http://ever-increasing-entropy.blogspot.com/2007/08/sexism-in-linux-community-redux.html">blog item</a> that the August Linux Journal ad is not new behavior for the magazine. Martin&#8217;s blog is a good read, but more immediately it points out a Linux Journal column by &#8220;Gnull and Voyd&#8221; &#8212; a man and wife team where the &#8220;woman&#8221; writes the column but the &#8220;man&#8221; is the one with all the answers on Linux issues &#8220;because he&#8217;s the smart one.&#8221;</p>
<p>Another case in point: A blogger named Mackenzie (and perhaps, like Sting or Cher, she doesn&#8217;t have a last name, but I&#8217;d be willing to bet she does) posted a <a href="http://ubuntulinuxtipstricks.blogspot.com/2007/08/you-know-linux-marry-me-doesnt-fly.html">blog item</a> that deals specifically about the fact that women who program are not at events for boys and men who program to hit on.</p>
<p>[An aside: Tux Magazine's <a href="http://www.tuxmagazine.com/node/1000131">Mango Parfait</a>, who is drawn like a Japanese manga comic book character, is also a bit much.]</p>
<p>I&#8217;m the last person to pull out the PC card (political correctness, not personal computer), but ads, columns and behavior like this insults women in general, insults women programmers/digital professionals directly and insults me indirectly as a male member of this widespread digital community.</p>
<p>The explanation in all cases, apparently, is &#8220;they do it because they&#8217;re nerds, and that&#8217;s okay&#8221; or &#8220;this is typical male geek behavior.&#8221; Unfortunately, that doesn&#8217;t cut it anymore; and &#8212; hey, you guys who think with the organ between your ears &#8212; you&#8217;re as embarrassed as I am by being painted by the same stroke of this brush used to deservingly illustrate our less-sensitive bretheren, no?</p>
<p>The point here is simple: Women and men &#8212; both in the realm of the digital field as well as outside in society as a whole &#8212; should be treated equally and with respect. How that is even an issue among intelligent people in this field continues to be a mystery.</p>
<p>But the Linux Journal ad: Fail. Some of the Linux Journal and Tux Magazine columns mentioned above: Fail. Guys who turn into Pavlov&#8217;s dog at the mere sight of a woman at any computer event (and the computer industry entities that foster this behavior): Fail.</p>
<p>My wife Kyoko and I left Japan, in large part, because we didn&#8217;t want to raise a daughter in a culture that, for all its advantages, still had a very low glass ceiling &#8212; to say nothing of second-class attitudes &#8212; for girls and women (to say nothing of societal norms in Japan that are still, to put it diplomatically, systematically and structurally stacked against women being treated as equals to men). While the U.S. isn&#8217;t perfect on a plethora of levels (and don&#8217;t get me started here . . . ), it does provide for more equal opportunities for women than a place like Japan.</p>
<p>And what about in the digital world? Well, as if that needs saying, I certainly am not going to stand by and let the same attitudes hold her back in the digital realm.</p>
<p><em><img src="http://www.opensourcereporter.net/button88x31.gif" alt="[FSF Associate Member]" align="right" border="0" height="31" hspace="3" vspace="3" width="88" /><font size="1"><em>(Larry Cafiero, editor/publisher of Open Source Reporter, is an associate member of the Free Software Foundation.)</em></font></em></p>
<p><em><a href="http://www.getgnulinux.org/" title="Get Linux - an alternative to Windows; free as in beer and speech"><img src="http://www.getgnulinux.org/link/80x25_01.png" alt="Get Linux" height="25" width="80" /></a> <a href="http://technorati.com/faves?sub=addfavbtn&#38;add=http://larrytheopensourceguy.wordpress.com"><img src="http://static.technorati.com/pix/fave/btn-fave2.png" alt="Add to Technorati Favorites" /></a> <a href="http://www.eff.org" title="EFF-The ACLU of the Internet"><img src="http://larrytheopensourceguy.wordpress.com/files/2007/07/eff_blue_ribbon.gif" alt="EFF" height="15" width="80" /></a> <a href="http://www.binaryfreedom.info" title="Binary Freedom"><img src="http://larrytheopensourceguy.wordpress.com/files/2007/07/digital_freedom.png" alt="Binary Freedom" height="15" width="80" /></a> <a href="http://www.gpus.org" title="Green Party of the US"><img src="http://larrytheopensourceguy.wordpress.com/files/2007/07/buttgreen.gif" alt="Greens" height="15" width="80" /> </a> <a href="http://www.dead.net" title="Grateful Dead"><img src="http://larrytheopensourceguy.wordpress.com/files/2007/07/dead.gif" alt="Dead button" /></a> <a href="http://www.wordpress.com" title="WordPress"><img src="http://larrytheopensourceguy.wordpress.com/files/2007/07/wp_micro.gif" alt="WordPress button" /></a> <a href="http://www.xfce.org" title="Xfce"><img src="http://larrytheopensourceguy.wordpress.com/files/2007/07/xfce_button.png" alt="Xfce button" /></a> <a href="http://www.debian.org" title="debian"><img src="http://larrytheopensourceguy.wordpress.com/files/2007/08/debian6.png" alt="debian" /></a><br />
<a href="http://www.defectivebydesign.org/join/button"><br />
<img src="http://defectivebydesign.org/sites/nodrm.civicactions.net/files/images/elim_sm_btn.gif" alt="Eliminate DRM!" align="left" border="0" height="30" width="88" /></a> <a href="http://www.noooxml.org/petition"><img src="http://www.noooxml.org/local--files/start/button3.png" border="0" /></a></em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux顧問的幾道佳餚]]></title>
<link>http://tcliou.wordpress.com/2007/07/08/linux%e9%a1%a7%e5%95%8f%e7%9a%84%e5%b9%be%e9%81%93%e4%bd%b3%e9%a4%9a-2/</link>
<pubDate>Sun, 08 Jul 2007 10:21:19 +0000</pubDate>
<dc:creator>TzuChiang Liou</dc:creator>
<guid>http://tcliou.wordpress.com/2007/07/08/linux%e9%a1%a7%e5%95%8f%e7%9a%84%e5%b9%be%e9%81%93%e4%bd%b3%e9%a4%9a-2/</guid>
<description><![CDATA[This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original arti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><blockquote><p>This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original article on Linux Journal: Not Cooking the Books. 本文為筆者替天充文化翻譯 Linux Journal 中文版之文章，本譯文於2001 年 4 月號凌客誌中見刊。</p></blockquote>
<p align="center"><span style="text-decoration:underline;"><big>Linux顧問的幾道佳餚</big></span></p>
<p align="center">Marcel要替Linux的顧問們提供一些計時（time tracking）與記帳（bookkeeping）的訣竅</p>
<p align="center"><big> 作者：Marcel Gagn&#8217;e / 譯者：劉自強（TzuChiang Liou）</big></p>
<p>放輕鬆點，法蘭西斯！我知道你的確是萬中選一的人才，但是我的朋友阿！你知道嗎？想要自己成立一家顧問公司可不是那麼簡單的事情歐！不過既然你問起我，我當然也很樂意給你一些我的經驗和看法。但在這之前，不知道你注意到沒，我們的客人都已經到了，所以就麻煩你先幫他們帶一下位吧！</p>
<p>歐，我的好友們，大家好啊！歡迎再次來到Ches Marcel餐館，法蘭西斯，還不快替我們的客人端上酒來！我想今天就來喝喝1997年份的「Vouvray Cuvee Constance」好了。</p>
<p>親愛的朋友們，剛剛法蘭西斯正在問我，如果以後改行不做餐廳而跑去開顧問公司的話，他會遭遇到哪些問題。為什麼會有這樣的想法呢？那是因為他對Linux的知識越來越豐富，所以自認應該已準備好可以幫助其他人、或是可以做些代理的工作了。<br />
<!--more--><br />
謝啦，法蘭西斯，來，大家請喝！</p>
<p>事實上從許多角度來看，Linux一直都是電腦顧問們的好夥伴，因為即使您不在主機旁也沒關係，各個發行套件中都含有一套完整的工具，可以讓您用許多不同的方法來連接主機。舉例來說，您的系統可以成為郵件伺服器、Telnet的客戶端、或是SSH的客戶端主機等等。</p>
<p>同時Linux也替您準備好許多充滿特色的程式開發工具：如C++的編譯器、Perl、Python、Tcl/Tk等等許多開發語言。事實上，一個典型的Linux發行套件當中包含的工具，足以讓您可以成為自己的ISP、並且建構一個完備的網站，您唯一沒有的工具大概就只剩下一些企業經營手段和生財的工具了！</p>
<p>講實際點，這也就是和錢扯上關係啦，這也是理所當然的囉，畢竟你們工作的原因除了希望能讓三餐溫飽外，也希望能偶爾來Ches Marcel餐館拜拜五臟廟吧。所以，為了要讓自己可以拿到應得的薪水，您必須告訴客戶，在他們的專案上您盡了多少心力；接著，您必須要向他們收費，把錢收齊並且追蹤整個工作流程。因此可以說，獨立顧問的生活可以說是自我規律強、一人當家的企業，而也就是這種工作的本質。是否覺得有點煩瑣呢？別擔心，那些由開放原碼的程式設計師們所組成的社群，除了讓Linux成為大家最能負擔的起、並可以任意客製化的工作站或伺服器外，其實也曾建構一些對付銀行（或這些繁瑣手續）的工具，接下來就讓我們一一品嚐吧！</p>
<p>身為一個顧問第一件事就是要學會「計算時間」（track time），所以在此先提供你們一些解決方案，首先是一個名為「tt」的低卡路里命令列工具：</p>
<p><code>tar -xzvf tt-1.0.tar.gz<br />
cd tt-1.0<br />
./configure<br />
make<br />
make install</code></p>
<p>使用的方法很簡單，只要在命令列輸入「tt」即可，請注意第一次執行時會回應一個錯誤訊息，告訴您並沒有完成動作，但同時也會在您的家目錄中產生一個名為「.tt」的目錄。接著請您切換到該目錄並且建立「projects.conf」這個檔案，這個檔案中主要儲存的資訊是您想紀錄時間的專案名稱列表。其中每個專案名稱都以中括弧標示，以下是我目前正在進行的專案：</p>
<p><code><br />
[cook] # 非常重要<br />
[eat] # 您可以這個賺錢嗎？<br />
[drink_wine] # 可能的話啦<br />
[write_recipes] # 這才是真正的工作，不是嗎？</code></p>
<p>您隨時可以使用「tt」的列表命令「tt &#8211;list &#8216;*&#8217;」把目前正在進行的專案全都列出來；而如果您想要開始追蹤某一個專案時，只需要在指令後面加上「&#8211;start」這個參數即可。例如喝酒除了是一種享受外也是工作的一部份，不過很抱歉的是我必須要收費（當然是開玩笑啦！），但假設真的要收費的話，我們可以使用下面的方式來計算：</p>
<p><code>tt --start drink_wine</code></p>
<p>當我完成這項&#8230;咳&#8230;嗯&#8230;“工作”時，只要在同樣的命令後面使用參數「&#8211;stop」即可：</p>
<p>就一個簡單的程式而言，「tt」已經算非常夠力了，而這個程式的另一個比較有趣的用法使把它當作任務的時間統計（time wrapper）。比如說您現在正在替Henri-s Fine Wines這家公司工作，主要負責在公司的網路伺服器上架設一個電子商務網站。然而這項工作卻完全以遠端的方式完成，且您是用「Telnet」連線的方式來進行作業，此時就可以將「tt」這個命令整合到「telnet」當中，用以自動地幫您進行時間追蹤動作，如下所示：</p>
<p><code>#!/bin/bash<br />
tt henri_wines --start<br />
telnet henri_website.com<br />
tt henri_wines --stop</code></p>
<p>這樣就可以啦，如此一來當您需要報告時，只要用下面的指令便迅速地能產生所需的時間報表，如下所示：</p>
<p><code>tt drink_wine --export<br />
project 'drink_wine' (closed):<br />
Tue Dec 19 2000 16:53:31'Tue Dec 19 2000 16:53:56: 00h00m25s<br />
Wed Dec 20 2000 12:10:39-fri Dec 22 2000 16:52:59: 52h42m20s<br />
Fri Dec 22 2000 16:56:18-fri Dec 22 2000 17:01:04: 00h04m46s<br />
Tue Dec 19 2000 16:53:31-fri Dec 22 2000 17:01:04: 52h47m31s</code></p>
<p>不僅如此，您還可以使用「-format」這個參數來修改輸出的格式，甚至也可以建立一個SQL資料庫來存放相關資訊，「tt」目前可以支援MySQL與PostgreSQL，舉例來說，我可以先使用下面的指令在PostgreSQL裡面建立一個資料庫：</p>
<p><code>createdb myconsultancy</code></p>
<p>接著，使用這個命令把「tt」的資料輸出：</p>
<p><code>tt drink_wine --export -format pgsql &#124; psql myconsultancy</code></p>
<p>有了這項資訊後，我也能從PostgreSQL資料庫中產生一個客製化的報表，方法如下：</p>
<p><code>psql -c "select * from tt_timing;" my_consultancy</code></p>
<p>您將發現「tt」幾乎把每件您想做的事都完成了，這真是太好了！但如果您人在遠方，而需要一些能遠端管理時間報表的工具時，那下一道菜或許可以滿足您挑剔的胃口。又或者當您的顧問事業做的很成功，並且僱用許多員工來幫忙的話，這個工具也可以幫上大忙歐！</p>
<p>以瀏覽器為介面的應用程式有個很不錯的特點就是幾乎可以讓您在任何地方進行工作。只要啟動瀏覽器、輸入適當的網址、等待幾秒鐘的頁面顯示時間，一切就完美了！這裡要介紹給您的就是這樣一個準備就緒、新穎、好用的應用程式：在計時與付費的領域裡，幸運的讓我找到OnShore 公司所設計的程式「TimeSheet」，這是一個很棒的程式，值得大家仔細看看。它的介面非常的乾淨、簡潔，並且針對全職員工和簽約的顧問提供不同的管理介面與使用者資訊，也可以讓不同的顧問或特別的客戶產生不同的報表：</p>
<p><code><br />
tar -xzvf onshore-timesheet-current.tar.gz<br />
cd onshore-timesheet-2.2</code></p>
<p>在您開始執行make之前，謙虛的大廚師我在此向大家坦承，我在安裝這套軟體時忽略的一個重要的守則因而失敗，那個守則就是：「安裝前必須要詳讀所有的INSTALL及README檔」，在花了點時間仔細閱讀說明之後，我又重新回到OnShore TimeSheet的網站，結果發現只要在Makefile檔中作一點修改就可以讓安裝過程成功。其實所需要做的改變很少，全部都在Makefile檔案內最上面幾行，在此我列出其中一部分：</p>
<p><code>PERLINC := /usr/lib/perl5/site_perl/5.005<br />
APPROOT := /usr/local/apache/htdocs/timesheet<br />
TIMESHEET_URL := /timesheet<br />
CONFFILE := timesheet.conf<br />
GUEST_ACCOUNT := no<br />
WWWUSER := www<br />
APPOWNER := www</code></p>
<p>因為OnShore的「TimeSheet」這個程式本身就含有一些必要的Perl模組，所以您必須將「PERLINC」這個參數修改為您網站中「site_perl」安裝的目錄（上面是我的範例）。而「APPROOT」則是您伺服器上應用程式的位置，預設值是Red Hat的安裝預設路徑「/home/httpd/html」，請針對您的安裝路徑加以修改，至於我的網站則全部將Apache重新建構在「/usr/local/apache/htdocs」這個目錄中。</p>
<p>下一個需改變的是應用程式的預設網址，如果您在「APPROOT」中選擇了「timesheet」作為最終目錄（也就是預設值），則在此也必須要改為「/timesheet」。接著決定修正檔（configuration file）的名稱；再來，如果您需要的話，安裝程式也可以建立一個預設的「guest」帳號，在此我決定自己建構所有必需存在的使用者，因此改成「no」。最後兩個參數我都設為「www」，其中「WWWUSER」是您網站中預設的使用者ID，請注意在許多其他的系統中，通常預設值都設為「nobody」，所以您必須要視情況來設定。而最後一個參數是「APPOWNER」，這是用來設定整個程式的權限。</p>
<p>是不是覺得有點不耐煩了呢？馬上我們就要進入最後的步驟囉！如果您執行的系統是Debian，此時可以執行「make install-debain」，在其他系統上，請執行「make」就可以了。執行後將會看到螢幕上輸出一些訊息，顯示出系統正使用管理者的帳號建立一個預設的PostgreSQL資料庫，這樣大致上就完成了。如果要執行這個程式，請先確定您的網路伺服器可以支援並正確執行「.cgi」程式，如果沒有的話，可以在您的「httpd.conf」檔案中加入下面這一行敘述。（請注意，需要修改的檔案可能會依照您伺服器的安裝而有所不同，在某些系統中要修改的檔案可能是access.conf；而這些檔案可能會出現在 /usr/local/apache/conf或/etc/htpd/conf這兩個目錄中）</p>
<p><code><br />
AddHandler cgi-script .cgi</p>
<p>Options +ExecCGI<br />
AddHandler cgi-script .cgi<br />
</code></p>
<p>在此使用這個指令集，如此您就可以執行安裝在任何地方的cgi程式，不過要注意的是，通常cgi命令稿是放在「cgi-bin」的目錄中執行，而不是一般的html或是htdocs目錄中。</p>
<p>最後一個重點是，請確定您的PostgreSQL資料庫執行時有加上「-i」這個選項。舉例來說，在我的「my /etc/rc.d/init.d/postgresql」這個啟動檔案中（如果您使用Debian，則請看 /etc/init.d/postgresql），有下面這一行敘述：</p>
<p><code>su 'l postgres -c '/usr/bin/postmaster -s -D /var/lib/pgsql'</code></p>
<p>我的做法是簡單的修改了預設的開機敘述，在「postmaster」這個字後面加上「-i」這個選項，接著重新啟動PostgreSQL與 Apache後就可以了。現在只要在您的瀏覽器中輸入下面的網址即可看到相關訊息囉：http://my_webserver/timesheet/.</p>
<p>在出現的頁面中，您需要輸入管理者的帳號及密碼，兩者的預設值都是「admin」，所以很顯然的，首先要做的事情就是把這兩個資料改成比較安全一點；同時也可以開始建立您的使用者群：可以建立為永久員工、顧問、或是其他的管理者等等。您在圖一中可以看到OnShore TimeSheet執行的樣子。</p>
<p>恭喜啦！您現在可以記錄您的時間了，依據工作時間表，您可以開發票給客戶以獲取您辛苦努力的成果了！把錢收齊後其他的就交給會計去煩惱吧，等一下，會計師的工作不就是需要處理一些財務的資料嗎？其實這就是任何企業最懼怕的怪獸：記帳（bookkeeping）！還好對Linux使用者而言，我們也可以找到一些解決方案，來吧，親愛的朋友，接下來就讓我們來體驗一些針對Linux設計的會計套裝軟體吧！</p>
<p>Linux環境下會計軟體的出現代表著使用者對於不同工具的需求日增，幸運的是，目前這些軟體也正逐漸增加中。它們可能是商用程式、也可能遵循 GPL發行條款、或是自由軟體，而既然我們討論的是開放原始碼程式，所以接下來的菜單裡將集中在這方面作介紹。首先，如果您的需求不會很複雜的話，或許可以先看看「BANAL」這個程式，這個縮寫代表的意思是「BANAL-s Absolutely Not A Ledger」，這是個由Matthew Rice所開發出來的程式，雖然非常簡單但卻擁有很大的想像空間，我會這樣說是因為「BANAL」可以完成許多工作，有時候甚至可以輕易地完成大量的作業。您可以使用「BANAL」來追蹤時間、維繫客戶及供應商、開發票、追蹤開銷、開支票等等，而使用「BANAL」除了會花點時間之外，幾乎沒有其他的成本。</p>
<p>這個軟體是遵循BSD發行條款，所以可以自由下載，同時也非常容易安裝，當然您可以下載所有的原始碼並安裝tarball包裝的程式，但是大廚我謙虛的建議大家使用RPM套件比較方便。在此總共需要兩個RPM套件：一個是客戶端程式、一個是伺服器端程式；不過話說回來，tarball包裝中包含一些諸如加強版PHP命令稿等額外的東西，這對某些人來說可能很有價值也很好用啦。RPM的安裝方式非常快速且簡單：</p>
<p><code>rpm -ivh banal'*</code></p>
<p>套件安裝時會執行很多指令，其中一項是「BANAL」會在您的「/etc/passwd」當中建立一個使用者，並且啟動伺服器。雖然「BANAL」使用起來非常容易，但是我仍然建議各位務必詳讀安裝時所附的「quickstart」這個檔案：</p>
<p><code>/usr/doc/banal-client-0.10/quickstart.txt</code></p>
<p>在進行下一步之前，請先注意一件事情，在我的系統上（或許你們的也是一樣），程式「bk」預設會嘗試去開啟「/usr/bin/vi」，但因為我的系統中「vi」的執行檔路徑是「/bin/vi」，所以我們可能需要建立一個符號連結（symbolic link）來解決這個問題，或者也可以指定編輯器（EDITOR）的環境變數，用以覆寫「BANAL」內建的編輯器路徑，除此之外，您也可以藉此機會選擇慣用的編輯器，如下所示：</p>
<p><code>export EDITOR=pico</code></p>
<p>完成之後，便可以開始建立您的帳號、個人資料、供應商、支出帳戶等等資訊，而這些都可以用「bk」這個指令來完成：</p>
<p><code>BANAL-FTL bookkeeping system</code></p>
<p>「bk」是BANAL在命令列環境下的客戶端工具，簡介如下：</p>
<p><code>bk help commands 可以秀出指令列表<br />
bk help command 可以針對某個特定的指令提供解釋<br />
bk help usage 可以秀出命令列環境下的參數</code></p>
<p>開始執行程式之前，您必須使用「bk client 您的＿公司＿名稱」這個指令來建立一個初始客戶（也就是您的公司），然後請加以儲存（但請確定各個必要欄位都有填入適當的資訊）。接著您需要修改一些公司資訊設定值，以確保這個客戶檔案就是代表您的公司：</p>
<p><code>$bk setting /UserInfo/CompanyID</code></p>
<p>您將會發現系統切換到編輯器模式，並且出現下面這些資訊：（在此請記得將Value欄位中的ChesMarcel改成其他資訊歐！）</p>
<p><code>#A BANAL Settings Specification.<br />
#<br />
#Setting: Unique Setting ID<br />
#Value: Value @@ REQUIRED<br />
#Description: Item description<br />
Setting: /UserInfo/CompanyID<br />
Value: ChesMarcel</code></p>
<p>嗯，這樣就可以了，簡單吧！如果您的顧問工作常常需要使用時間表（timesheet）的話，也有一個名為「GnuCash」的圖形化使用者介面的軟體可供使用（您可以在LJ英文版 2001年四月後中看到GnuCash的介紹文章）。這個軟體使用GPL的發行條款，是個相當好用而且完全免費的會計套件。</p>
<p>在此我決定從頭開始安裝「GnuCash」，因此首先我從GnuCash的網站下載最新版的原始碼套件，如果您比較沒有耐性，在這裡也可以找到預先編譯好的二進位版本套件。</p>
<p>這個程式主要是使用GNOME的函式庫，所以不論您是從原始碼安裝或是使用二進位版本，都需要先載入相關的函式。當然囉，如果您的桌面環境就是 GNOME的話，將會發現相關的gnome-lib已經載入；但如果您使用其他的桌面環境，則需要載入gnome-lib以及其他必要的支援函式庫（特別是GTK）。雖然這會需要花一點時間，但用過之後您將發現「GnuCash」的確值得您花這些功夫。除了GNOME framework之外，您還需要「guile」、「swig」、「slib」、以及「g-wrap」等等工具，其中「g-wrap」這個套件可以在「GnuCash」的FTP站中下載。雖然還有一些必要的程式（比較重要的像是「libjpeg」、「libpng」等），但這些大多應該已經預先安裝在您的系統上了。例如若您有安裝「umb-scheme」套件的話，則「slib」套件應該已經存在系統中了。您可以在相關資源裡找這些網站的網址。</p>
<p>當下載好所需的軟體時，第一件事當然就是解壓縮囉，可以用下面這個大家都很熟悉的步驟來完成：</p>
<p><code>tar -zxvf gnucash-1.4.9.tar.gz<br />
cd gnucash-1.4.9<br />
./configure<br />
make<br />
make install</code></p>
<p>此時，您應該要檢查幾個非常重要的連結，當大廚我剛開始用這個食譜時並不是非常順利（特別是與「slib」相關時），因為「guile」函式庫會針對「slib」所在位置等資訊做一些假設。這對大部分的系統而言可能不是問題，但是在我的Red Hat上卻造成錯誤，我的解決方法是先切換到「/usr/share/guile」目錄下，然後建立下面這些符號連結：</p>
<p><code>In -s /usr/lib/umb-scheme/slib slib<br />
In -s /usr/lib/umb-scheme/slibcat slibcat<br />
In -s /usr/lib/umb-scheme/slib/mklibcat.scm mklibcat</code></p>
<p>因為「umb-scheme」套件是我的Red Hat系統預設安裝的scheme函式庫（還記得剛剛介紹的slib嗎？），所以當我加入這些連結後，程式運作起來就正常多了。完成這些手續之後，只要在命令列下輸入「gnucash」就可以執行這個程式了。如果您曾經使用過Intuit的「Quickbooks」套件的話，將會發現「GnuCash」真的很不錯，您可以藉由非常親切的介面來建立理財用帳戶、信用卡交易以及其他相關的統計表（請參考圖二）。此套件除了有個非常好用的“可回復” （reconciliation）特點外，同時也內建有許多的報表（包含損益報表等等），如此就可以輕易地知道在特定時間內您總共賺了多少錢。它甚至還針對全球化的顧問公司提供多種貨幣運算的功能勒。我唯一能想到對於小企業的缺點就是它沒有提供開發票的功能，所以，您必須用人工來完成這項動作。</p>
<p>我的天阿，法蘭西斯，時候不早了可是還有很多事要忙勒！不過還是請你再幫我們的朋友們倒杯酒吧！嗯，怎麼了？你打消了兼職作顧問的念頭啦？是因為我的緣故嗎？不用擔心啦，我不會叫你太多事情的囉，會有足夠的時間啦！我們待會再來好好談談吧，現在要多關照的是我們的客人，再來一杯酒！</p>
<p>親愛的朋友們，如果您決定要單獨成立顧問公司的話，請記住您其實並不孤單。因為選擇了Linux，您可以針對所有高科技顧問需要的工具作完全的掌控，再加上一些開放原始碼大廚們的幫忙，或許還會發現你們的理念是相同的勒，這麼一來，搞不好哪天就可以在Chez Marcel餐廳裡看到您的食譜歐！</p>
<p>下一次，Chez Marcel的大門仍然為您敞開！</p>
<p>祝大家身體健康，有個美好的一餐！</p>
<p>Marcel Gange (mggagne@salmar.com) 居住在安大略之Mississauga。在真實世界裡，他是Salmar Consulting Inc.(http://www.salmar.com/) 的總裁，那是一家系統整合和網路顧問公司。他同時也是一位飛行員、也寫一些科幻小說、也擔任「TransVersions」的編輯（一本科幻和恐怖小說的雜誌，不過馬上就要變成一本文選了）。他酷愛 Linux 及所有 UNIX氣息，甚至還將之融入公眾。事實上，他目前正忙著撰寫於 Linux System Administration: A User&#8217;s Guide這本書，相信很快就會由Addison Wesley Longman 出版了。您可以透過mggagne@salmar.com和他聯繫，同時也可以上他的個人網站http://www.salmar.com./來發掘更多有關他的故事。</p>
<p><big>sideword</big></p>
<p>在計時與付費的領域裡，幸運的讓我找到OnShore 公司所設計的程式－「TimeSheet」。</p>
<p>別擔心，那些由開放原碼的程式設計師們所組成的社群，除了讓Linux成為大家最能負擔的起、並可以任意客製化的工作站或伺服器外，其實也曾建構一些對付銀行（或這些繁瑣手續）的工具！</p>
<p>從許多角度來看，Linux一直都是電腦顧問們的好夥伴。</p>
<p>來吧，親愛的朋友，接下來就讓我們來體驗一些針對Linux設計的會計套裝軟體吧！</p>
<p><big>captions</big><br />
圖一：TimeSheet執行的樣子<br />
圖二：GnuCash執行的樣子</p>
<p><big>相關資源</big><br />
BANAL:http://www.starnix.com/banal/<br />
GnuCash Web Site:http://www.gnucash.org/<br />
SWIG Home Page:http://www.swig.org/<br />
onShore TimeSheet:http://www.onshore-timesheet.org/<br />
SLIB Home Page:http://swissnet.ai.mit.edu/~jaffer/SLIB.html<br />
Track Time Spent Tool (tt):http://awacs.dhs.org/software/tt/<br />
The WINE Headquarters:http://www.winehq.com/</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[焦點軟體]]></title>
<link>http://tcliou.wordpress.com/2007/07/08/%e7%84%a6%e9%bb%9e%e8%bb%9f%e9%ab%94/</link>
<pubDate>Sun, 08 Jul 2007 10:15:14 +0000</pubDate>
<dc:creator>TzuChiang Liou</dc:creator>
<guid>http://tcliou.wordpress.com/2007/07/08/%e7%84%a6%e9%bb%9e%e8%bb%9f%e9%ab%94/</guid>
<description><![CDATA[This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original arti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><blockquote><p>This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original article on Linux Journal: Focus on Software. 本文為筆者替天充文化翻譯 Linux Journal 中文版之文章，本譯文於2001 年 4 月號凌客誌中見刊。</p></blockquote>
<p align="center"><span style="text-decoration:underline;"><big>焦點軟體</big></span></p>
<p align="center"><big> 作者：David A. Bandel / 譯者：劉自強（TzuChiang Liou）</big></p>
<p>今日想要成為Linux的顧問可說真的是一項挑戰！還記得我曾經使用過許多種不同的UNIX系統：諸如Solaris、SunOS、Ultrix、OpenServer、AIX、HP-UX等等（當然也包括Linux），而上述這些UNIX系統到底和Linux有何不同呢？為何我只說成為Linux的顧問會是挑戰呢？嗯，其實最大的不同或許是即使分屬於不同的UNIX系統，但前面這些系統的安裝方式大致上都相同，也就是說，系統安裝和管理等機制都有統一的規範。然而Linux可就不同了，每一個發行套件都有自己的安裝規則、系統管理命令、以及處理事件的機制等等。還好，他們都還是Linux家族的成員，除了版本不同之外，其實在許多地方都是一樣的：比如說DNS、DHCP、Apache等都是相同的，當然，核心也是一樣的囉！<br />
<!--more--></p>
<p>因此如果您想要成為一個Linux的顧問，我強烈建議您從基礎開始學起（如, command-line interface，CLI命令列使用者介面），而不要由上往下學習（如X伺服器或是針對某個發行套件所設計的管理工具等等）。要常常閱讀殼層命令稿（shell scripts）並且由這些範例中學習；可能的話，盡量尋找、安裝並使用那些不會受特定版本限制的工具，如webmin等（甚至還可以使用SSL來加強安全性）。畢竟如果您看的懂「/etc/named.conf」這個檔案的話，就不難處理DNS的問題了，當然不只是DNS，對於系統上安裝的其他服務最好都能有相當的認識。</p>
<p>再者，雖然我是為了客戶方便而不是自己才安裝webmin（事實上我並沒有使用它），但是這樣做的確能減少你的煩惱，因為不僅是客戶可以隨意安裝自己喜歡（或最適當）的發行版本，您也不需要因為不熟悉目前系統安裝的版本而重新安裝整個系統，不論如何，我自己是這麼做，而且效果還滿不錯的啦！</p>
<p><big>MonMotha IPTables防火牆命令稿：http://t245.dyndns.org/~monmotha/firewall/index.php</big></p>
<p>基本上我不常推薦防火強工具或是命令稿給大家，其實，我本身也不是非常推崇這個命令稿。但是當您閱讀本文時，應該有部分的發行版本使用新的2.4版核心以及netfilter了，而當您在使用IPTables遇到問題時，這個特別的防火強命令稿應該可以幫助您解決。他的基礎做的不錯而且看起來相當有發展潛力，作者善加利用了netfilter提供的一些功能，但需要我手動加入。如前言，比較正確的做法是，您應該仔細的檢視這個命令稿、並針對您特殊的需求實作一些必要的改變。</p>
<p>系統需求：iptables, sh.。</p>
<p><big>poppy: http://home.sprynet.com/~cbagwell/projects.html</big></p>
<p>這是一個世界通用（幾乎啦！）的命令列郵件程式，可以讀取POP3以及IMAP伺服器上面的信件。這個程式真的不錯歐，因為當您使用撥接上網但是信件容量卻非常大時，這個程式可以讓我們很快速的先瀏覽每封信件的主旨，也可以讓加以刪除、回應或放著不管。系統需求：Perl</p>
<p><big>Apach工具箱：http://www.apachetoolbox.com/</big></p>
<p>您是否需要在Apache運行時，另外再呼叫、並正確快速地執行一些模組呢？您從來沒有編譯過Apache嗎？如果上述兩個問題的答案都是肯定的話，還真的有點危險勒！不過別擔心，可以使用Apach工具箱來幫助您完成這些工作，除此之外，這套軟體甚至還可以偵測（當然也會警告您）因為mod_perl/php4當掉所產生的分頁錯誤（segfaults）。我曾經自行編譯及安裝Apache好幾次，但都沒有使用這個工具那麼方便！雖然這並不是萬靈丹，不過的確比目前我所看過的Apache建構機制都要來的好；目前已知的一項缺點是不能使用它同時安裝php3及php4模組，當然如果您兩者都要安裝的話，也可以稍後自行手動加入。系統需求：sh、wget</p>
<p><big>indexpage：http://www.lysator.liu.se/~unicorn/hacks/indexpage/</big></p>
<p>您是否有一大堆的圖檔（jpeg），而且想要快速的放在網站上呢？像我自己就有一個目錄中放滿了從我的攝影機中抓下來的圖檔，我的解決方案是把這個Perl的程式放到目錄中，撰寫一個描述的檔案後執行該程式，看，馬上就產生出來的四張滿滿都是小圖檔的網頁囉！影像大小不是問題：因為這個程式可以放大、縮小或將圖片放到全螢幕，如果您作了任何改變（增加、刪除或移動），只需要重新執行本程式就可以建立新的頁面。系統需求：ImageMagick、Perl、Perl模組：Image::Size</p>
<p><big>tcpspy：http://box3n.gumbynet.org/~fyre/software/</big></p>
<p>想要知道有哪些人何時、從哪裡、藉由哪些方法連結到你的系統上嗎？這套程式可以讓提供您許多紀錄檔，包括：連線、斷線、使用者、本地端連線Ip與埠號、遠端連線Ip與埠號、甚至連執行中的程式也可以顯示出來。或者您對這些資訊不感興趣，但如果能知道有誰針對哪些機器（甚至是您的機器）執行nmap也是一件有趣的事，不是嗎？而因為本程式使用syslog，所以這些訊息也可以存到您的中央紀錄伺服器中（central-logging server），本程式預設值使用「LOCAL1」的紀錄功能，但您可以藉由修改Makefile檔來改變所使用的功能。系統需求：glibc</p>
<p><big>BlackNova Traders：http://blacknova.net/</big></p>
<p>這是一個可以連線對戰的策略遊戲，遊戲的目的是交易（trade）及宣稱擁有（claim）星球，最終是以擁有“東西staff”的多寡來判定勝負，如果您被殺害就算失敗。這個遊戲對於那些喜歡文字介面的玩家而言是不錯的選擇，沒有炫爛的畫面，純粹就是在交易（trading）、佔領（occupying）、保護（protecting）星球，並且避免自己不被他人殺害。系統需求：有支援PHP3及MySQL 的Apache、MySQL資料庫、瀏覽器及cron</p>
<p><big>plbackitup：http://www.glandrake.com/scripts.html</big></p>
<p>這個Perl命令稿可以讓您備分任何目錄，並且可以在要備份的目錄中精準地備份您想要的資料，並排除其他不想要備份的子目錄與檔案。此程式會在本地端產生一個檔案，如果您想將備份檔存放在其他地方，可以藉由FTP傳到中央儲存伺服器上。因為我有許多系統同時使用一個中央儲存伺服器（是唯一安裝磁帶機的系統），所以這項功能對我而言非常貼心。系統需求：Perl、標準UNIX工具（tar、touch、rm以及其他程式）</p>
<p>本月就介紹到這裡，下回再見囉！.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linux顧問的幾道佳餚]]></title>
<link>http://tcliou.wordpress.com/2007/07/08/linux%e9%a1%a7%e5%95%8f%e7%9a%84%e5%b9%be%e9%81%93%e4%bd%b3%e9%a4%9a/</link>
<pubDate>Sun, 08 Jul 2007 10:13:58 +0000</pubDate>
<dc:creator>TzuChiang Liou</dc:creator>
<guid>http://tcliou.wordpress.com/2007/07/08/linux%e9%a1%a7%e5%95%8f%e7%9a%84%e5%b9%be%e9%81%93%e4%bd%b3%e9%a4%9a/</guid>
<description><![CDATA[This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original arti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><blockquote><p>This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original article on Linux Journal: Not Cooking the Books. 本文為筆者替天充文化翻譯 Linux Journal 中文版之文章，本譯文於2001 年 4 月號凌客誌中見刊。</p></blockquote>
<p align="center"><span style="text-decoration:underline;"><big>Linux顧問的幾道佳餚</big></span></p>
<p align="center">Marcel要替Linux的顧問們提供一些計時（time tracking）與記帳（bookkeeping）的訣竅</p>
<p align="center"><big> 作者：Marcel Gagn&#8217;e / 譯者：劉自強（TzuChiang Liou）</big></p>
<p>放輕鬆點，法蘭西斯！我知道你的確是萬中選一的人才，但是我的朋友阿！你知道嗎？想要自己成立一家顧問公司可不是那麼簡單的事情歐！不過既然你問起我，我當然也很樂意給你一些我的經驗和看法。但在這之前，不知道你注意到沒，我們的客人都已經到了，所以就麻煩你先幫他們帶一下位吧！</p>
<p>歐，我的好友們，大家好啊！歡迎再次來到Ches Marcel餐館，法蘭西斯，還不快替我們的客人端上酒來！我想今天就來喝喝1997年份的「Vouvray Cuvee Constance」好了。</p>
<p>親愛的朋友們，剛剛法蘭西斯正在問我，如果以後改行不做餐廳而跑去開顧問公司的話，他會遭遇到哪些問題。為什麼會有這樣的想法呢？那是因為他對Linux的知識越來越豐富，所以自認應該已準備好可以幫助其他人、或是可以做些代理的工作了。</p>
<p>謝啦，法蘭西斯，來，大家請喝！</p>
<p>事實上從許多角度來看，Linux一直都是電腦顧問們的好夥伴，因為即使您不在主機旁也沒關係，各個發行套件中都含有一套完整的工具，可以讓您用許多不同的方法來連接主機。舉例來說，您的系統可以成為郵件伺服器、Telnet的客戶端、或是SSH的客戶端主機等等。</p>
<p>同時Linux也替您準備好許多充滿特色的程式開發工具：如C++的編譯器、Perl、Python、Tcl/Tk等等許多開發語言。事實上，一個典型的Linux發行套件當中包含的工具，足以讓您可以成為自己的ISP、並且建構一個完備的網站，您唯一沒有的工具大概就只剩下一些企業經營手段和生財的工具了！<br />
<!--more--></p>
<p>講實際點，這也就是和錢扯上關係啦，這也是理所當然的囉，畢竟你們工作的原因除了希望能讓三餐溫飽外，也希望能偶爾來Ches Marcel餐館拜拜五臟廟吧。所以，為了要讓自己可以拿到應得的薪水，您必須告訴客戶，在他們的專案上您盡了多少心力；接著，您必須要向他們收費，把錢收齊並且追蹤整個工作流程。因此可以說，獨立顧問的生活可以說是自我規律強、一人當家的企業，而也就是這種工作的本質。是否覺得有點煩瑣呢？別擔心，那些由開放原碼的程式設計師們所組成的社群，除了讓Linux成為大家最能負擔的起、並可以任意客製化的工作站或伺服器外，其實也曾建構一些對付銀行（或這些繁瑣手續）的工具，接下來就讓我們一一品嚐吧！</p>
<p>身為一個顧問第一件事就是要學會「計算時間」（track time），所以在此先提供你們一些解決方案，首先是一個名為「tt」的低卡路里命令列工具：</p>
<p><code>tar -xzvf tt-1.0.tar.gz<br />
cd tt-1.0<br />
./configure<br />
make<br />
make install</code></p>
<p>使用的方法很簡單，只要在命令列輸入「tt」即可，請注意第一次執行時會回應一個錯誤訊息，告訴您並沒有完成動作，但同時也會在您的家目錄中產生一個名為「.tt」的目錄。接著請您切換到該目錄並且建立「projects.conf」這個檔案，這個檔案中主要儲存的資訊是您想紀錄時間的專案名稱列表。其中每個專案名稱都以中括弧標示，以下是我目前正在進行的專案：</p>
<p><code><br />
[cook]    # 非常重要<br />
[eat]    # 您可以這個賺錢嗎？<br />
[drink_wine]    # 可能的話啦<br />
[write_recipes]    # 這才是真正的工作，不是嗎？</code></p>
<p>您隨時可以使用「tt」的列表命令「tt &#8211;list &#8216;*&#8217;」把目前正在進行的專案全都列出來；而如果您想要開始追蹤某一個專案時，只需要在指令後面加上「&#8211;start」這個參數即可。例如喝酒除了是一種享受外也是工作的一部份，不過很抱歉的是我必須要收費（當然是開玩笑啦！），但假設真的要收費的話，我們可以使用下面的方式來計算：</p>
<p><code>tt --start drink_wine</code></p>
<p>當我完成這項&#8230;咳&#8230;嗯&#8230;“工作”時，只要在同樣的命令後面使用參數「&#8211;stop」即可：</p>
<p>就一個簡單的程式而言，「tt」已經算非常夠力了，而這個程式的另一個比較有趣的用法使把它當作任務的時間統計（time wrapper）。比如說您現在正在替Henri-s Fine Wines這家公司工作，主要負責在公司的網路伺服器上架設一個電子商務網站。然而這項工作卻完全以遠端的方式完成，且您是用「Telnet」連線的方式來進行作業，此時就可以將「tt」這個命令整合到「telnet」當中，用以自動地幫您進行時間追蹤動作，如下所示：</p>
<p><code>#!/bin/bash<br />
tt henri_wines --start<br />
telnet henri_website.com<br />
tt henri_wines --stop</code></p>
<p>這樣就可以啦，如此一來當您需要報告時，只要用下面的指令便迅速地能產生所需的時間報表，如下所示：</p>
<p><code>tt drink_wine --export<br />
project 'drink_wine' (closed):<br />
    Tue Dec 19 2000 16:53:31'Tue Dec 19 2000 16:53:56: 00h00m25s<br />
    Wed Dec 20 2000 12:10:39-fri Dec 22 2000 16:52:59: 52h42m20s<br />
    Fri Dec 22 2000 16:56:18-fri Dec 22 2000 17:01:04: 00h04m46s<br />
    Tue Dec 19 2000 16:53:31-fri Dec 22 2000 17:01:04: 52h47m31s</code></p>
<p>不僅如此，您還可以使用「-format」這個參數來修改輸出的格式，甚至也可以建立一個SQL資料庫來存放相關資訊，「tt」目前可以支援MySQL與PostgreSQL，舉例來說，我可以先使用下面的指令在PostgreSQL裡面建立一個資料庫：</p>
<p><code>createdb myconsultancy</code></p>
<p>接著，使用這個命令把「tt」的資料輸出：</p>
<p><code>tt drink_wine --export -format pgsql &#124; psql myconsultancy</code></p>
<p>有了這項資訊後，我也能從PostgreSQL資料庫中產生一個客製化的報表，方法如下：</p>
<p><code>psql -c "select * from tt_timing;" my_consultancy</code></p>
<p>您將發現「tt」幾乎把每件您想做的事都完成了，這真是太好了！但如果您人在遠方，而需要一些能遠端管理時間報表的工具時，那下一道菜或許可以滿足您挑剔的胃口。又或者當您的顧問事業做的很成功，並且僱用許多員工來幫忙的話，這個工具也可以幫上大忙歐！</p>
<p>以瀏覽器為介面的應用程式有個很不錯的特點就是幾乎可以讓您在任何地方進行工作。只要啟動瀏覽器、輸入適當的網址、等待幾秒鐘的頁面顯示時間，一切就完美了！這裡要介紹給您的就是這樣一個準備就緒、新穎、好用的應用程式：在計時與付費的領域裡，幸運的讓我找到OnShore 公司所設計的程式「TimeSheet」，這是一個很棒的程式，值得大家仔細看看。它的介面非常的乾淨、簡潔，並且針對全職員工和簽約的顧問提供不同的管理介面與使用者資訊，也可以讓不同的顧問或特別的客戶產生不同的報表：</p>
<p><code><br />
tar -xzvf onshore-timesheet-current.tar.gz<br />
cd onshore-timesheet-2.2</code></p>
<p>在您開始執行make之前，謙虛的大廚師我在此向大家坦承，我在安裝這套軟體時忽略的一個重要的守則因而失敗，那個守則就是：「安裝前必須要詳讀所有的INSTALL及README檔」，在花了點時間仔細閱讀說明之後，我又重新回到OnShore TimeSheet的網站，結果發現只要在Makefile檔中作一點修改就可以讓安裝過程成功。其實所需要做的改變很少，全部都在Makefile檔案內最上面幾行，在此我列出其中一部分：</p>
<p><code>PERLINC    := /usr/lib/perl5/site_perl/5.005<br />
APPROOT    := /usr/local/apache/htdocs/timesheet<br />
TIMESHEET_URL    := /timesheet<br />
CONFFILE    := timesheet.conf<br />
GUEST_ACCOUNT    := no<br />
WWWUSER    := www<br />
APPOWNER    := www</code></p>
<p>因為OnShore的「TimeSheet」這個程式本身就含有一些必要的Perl模組，所以您必須將「PERLINC」這個參數修改為您網站中「site_perl」安裝的目錄（上面是我的範例）。而「APPROOT」則是您伺服器上應用程式的位置，預設值是Red Hat的安裝預設路徑「/home/httpd/html」，請針對您的安裝路徑加以修改，至於我的網站則全部將Apache重新建構在「/usr/local/apache/htdocs」這個目錄中。</p>
<p>下一個需改變的是應用程式的預設網址，如果您在「APPROOT」中選擇了「timesheet」作為最終目錄（也就是預設值），則在此也必須要改為「/timesheet」。接著決定修正檔（configuration file）的名稱；再來，如果您需要的話，安裝程式也可以建立一個預設的「guest」帳號，在此我決定自己建構所有必需存在的使用者，因此改成「no」。最後兩個參數我都設為「www」，其中「WWWUSER」是您網站中預設的使用者ID，請注意在許多其他的系統中，通常預設值都設為「nobody」，所以您必須要視情況來設定。而最後一個參數是「APPOWNER」，這是用來設定整個程式的權限。</p>
<p>是不是覺得有點不耐煩了呢？馬上我們就要進入最後的步驟囉！如果您執行的系統是Debian，此時可以執行「make install-debain」，在其他系統上，請執行「make」就可以了。執行後將會看到螢幕上輸出一些訊息，顯示出系統正使用管理者的帳號建立一個預設的PostgreSQL資料庫，這樣大致上就完成了。如果要執行這個程式，請先確定您的網路伺服器可以支援並正確執行「.cgi」程式，如果沒有的話，可以在您的「httpd.conf」檔案中加入下面這一行敘述。（請注意，需要修改的檔案可能會依照您伺服器的安裝而有所不同，在某些系統中要修改的檔案可能是access.conf；而這些檔案可能會出現在 /usr/local/apache/conf或/etc/htpd/conf這兩個目錄中）</p>
<p><code><br />
AddHandler cgi-script .cgi</p>
<p>Options +ExecCGI<br />
AddHandler cgi-script .cgi<br />
</code></p>
<p>在此使用這個指令集，如此您就可以執行安裝在任何地方的cgi程式，不過要注意的是，通常cgi命令稿是放在「cgi-bin」的目錄中執行，而不是一般的html或是htdocs目錄中。</p>
<p>最後一個重點是，請確定您的PostgreSQL資料庫執行時有加上「-i」這個選項。舉例來說，在我的「my /etc/rc.d/init.d/postgresql」這個啟動檔案中（如果您使用Debian，則請看/etc/init.d/postgresql），有下面這一行敘述：</p>
<p><code>su 'l postgres -c '/usr/bin/postmaster -s -D /var/lib/pgsql'</code></p>
<p>我的做法是簡單的修改了預設的開機敘述，在「postmaster」這個字後面加上「-i」這個選項，接著重新啟動PostgreSQL與Apache後就可以了。現在只要在您的瀏覽器中輸入下面的網址即可看到相關訊息囉：http://my_webserver/timesheet/.</p>
<p>在出現的頁面中，您需要輸入管理者的帳號及密碼，兩者的預設值都是「admin」，所以很顯然的，首先要做的事情就是把這兩個資料改成比較安全一點；同時也可以開始建立您的使用者群：可以建立為永久員工、顧問、或是其他的管理者等等。您在圖一中可以看到OnShore TimeSheet執行的樣子。</p>
<p>恭喜啦！您現在可以記錄您的時間了，依據工作時間表，您可以開發票給客戶以獲取您辛苦努力的成果了！把錢收齊後其他的就交給會計去煩惱吧，等一下，會計師的工作不就是需要處理一些財務的資料嗎？其實這就是任何企業最懼怕的怪獸：記帳（bookkeeping）！還好對Linux使用者而言，我們也可以找到一些解決方案，來吧，親愛的朋友，接下來就讓我們來體驗一些針對Linux設計的會計套裝軟體吧！</p>
<p>Linux環境下會計軟體的出現代表著使用者對於不同工具的需求日增，幸運的是，目前這些軟體也正逐漸增加中。它們可能是商用程式、也可能遵循GPL發行條款、或是自由軟體，而既然我們討論的是開放原始碼程式，所以接下來的菜單裡將集中在這方面作介紹。首先，如果您的需求不會很複雜的話，或許可以先看看「BANAL」這個程式，這個縮寫代表的意思是「BANAL-s Absolutely Not A Ledger」，這是個由Matthew Rice所開發出來的程式，雖然非常簡單但卻擁有很大的想像空間，我會這樣說是因為「BANAL」可以完成許多工作，有時候甚至可以輕易地完成大量的作業。您可以使用「BANAL」來追蹤時間、維繫客戶及供應商、開發票、追蹤開銷、開支票等等，而使用「BANAL」除了會花點時間之外，幾乎沒有其他的成本。</p>
<p>這個軟體是遵循BSD發行條款，所以可以自由下載，同時也非常容易安裝，當然您可以下載所有的原始碼並安裝tarball包裝的程式，但是大廚我謙虛的建議大家使用RPM套件比較方便。在此總共需要兩個RPM套件：一個是客戶端程式、一個是伺服器端程式；不過話說回來，tarball包裝中包含一些諸如加強版PHP命令稿等額外的東西，這對某些人來說可能很有價值也很好用啦。RPM的安裝方式非常快速且簡單：</p>
<p><code>rpm -ivh banal'*</code></p>
<p>套件安裝時會執行很多指令，其中一項是「BANAL」會在您的「/etc/passwd」當中建立一個使用者，並且啟動伺服器。雖然「BANAL」使用起來非常容易，但是我仍然建議各位務必詳讀安裝時所附的「quickstart」這個檔案：</p>
<p><code>/usr/doc/banal-client-0.10/quickstart.txt</code></p>
<p>在進行下一步之前，請先注意一件事情，在我的系統上（或許你們的也是一樣），程式「bk」預設會嘗試去開啟「/usr/bin/vi」，但因為我的系統中「vi」的執行檔路徑是「/bin/vi」，所以我們可能需要建立一個符號連結（symbolic link）來解決這個問題，或者也可以指定編輯器（EDITOR）的環境變數，用以覆寫「BANAL」內建的編輯器路徑，除此之外，您也可以藉此機會選擇慣用的編輯器，如下所示：</p>
<p><code>export EDITOR=pico</code></p>
<p>完成之後，便可以開始建立您的帳號、個人資料、供應商、支出帳戶等等資訊，而這些都可以用「bk」這個指令來完成：</p>
<p><code>BANAL-FTL bookkeeping system</code></p>
<p>「bk」是BANAL在命令列環境下的客戶端工具，簡介如下：</p>
<p><code>bk help commands	可以秀出指令列表<br />
bk help command	可以針對某個特定的指令提供解釋<br />
bk help usage	可以秀出命令列環境下的參數</code></p>
<p>開始執行程式之前，您必須使用「bk client 您的＿公司＿名稱」這個指令來建立一個初始客戶（也就是您的公司），然後請加以儲存（但請確定各個必要欄位都有填入適當的資訊）。接著您需要修改一些公司資訊設定值，以確保這個客戶檔案就是代表您的公司：</p>
<p><code>$bk setting /UserInfo/CompanyID</code></p>
<p>您將會發現系統切換到編輯器模式，並且出現下面這些資訊：（在此請記得將Value欄位中的ChesMarcel改成其他資訊歐！）</p>
<p><code>#A BANAL Settings Specification.<br />
#<br />
#Setting:	Unique Setting ID<br />
#Value:	Value	@@ REQUIRED<br />
#Description:	Item description<br />
Setting:	/UserInfo/CompanyID<br />
Value:	ChesMarcel</code></p>
<p>嗯，這樣就可以了，簡單吧！如果您的顧問工作常常需要使用時間表（timesheet）的話，也有一個名為「GnuCash」的圖形化使用者介面的軟體可供使用（您可以在LJ英文版 2001年四月後中看到GnuCash的介紹文章）。這個軟體使用GPL的發行條款，是個相當好用而且完全免費的會計套件。</p>
<p>在此我決定從頭開始安裝「GnuCash」，因此首先我從GnuCash的網站下載最新版的原始碼套件，如果您比較沒有耐性，在這裡也可以找到預先編譯好的二進位版本套件。</p>
<p>這個程式主要是使用GNOME的函式庫，所以不論您是從原始碼安裝或是使用二進位版本，都需要先載入相關的函式。當然囉，如果您的桌面環境就是GNOME的話，將會發現相關的gnome-lib已經載入；但如果您使用其他的桌面環境，則需要載入gnome-lib以及其他必要的支援函式庫（特別是GTK）。雖然這會需要花一點時間，但用過之後您將發現「GnuCash」的確值得您花這些功夫。除了GNOME framework之外，您還需要「guile」、「swig」、「slib」、以及「g-wrap」等等工具，其中「g-wrap」這個套件可以在「GnuCash」的FTP站中下載。雖然還有一些必要的程式（比較重要的像是「libjpeg」、「libpng」等），但這些大多應該已經預先安裝在您的系統上了。例如若您有安裝「umb-scheme」套件的話，則「slib」套件應該已經存在系統中了。您可以在相關資源裡找這些網站的網址。</p>
<p>當下載好所需的軟體時，第一件事當然就是解壓縮囉，可以用下面這個大家都很熟悉的步驟來完成：</p>
<p><code>tar -zxvf gnucash-1.4.9.tar.gz<br />
cd gnucash-1.4.9<br />
./configure<br />
make<br />
make install</code></p>
<p>此時，您應該要檢查幾個非常重要的連結，當大廚我剛開始用這個食譜時並不是非常順利（特別是與「slib」相關時），因為「guile」函式庫會針對「slib」所在位置等資訊做一些假設。這對大部分的系統而言可能不是問題，但是在我的Red Hat上卻造成錯誤，我的解決方法是先切換到「/usr/share/guile」目錄下，然後建立下面這些符號連結：</p>
<p><code>In -s /usr/lib/umb-scheme/slib slib<br />
In -s /usr/lib/umb-scheme/slibcat slibcat<br />
In -s /usr/lib/umb-scheme/slib/mklibcat.scm mklibcat</code></p>
<p>因為「umb-scheme」套件是我的Red Hat系統預設安裝的scheme函式庫（還記得剛剛介紹的slib嗎？），所以當我加入這些連結後，程式運作起來就正常多了。完成這些手續之後，只要在命令列下輸入「gnucash」就可以執行這個程式了。如果您曾經使用過Intuit的「Quickbooks」套件的話，將會發現「GnuCash」真的很不錯，您可以藉由非常親切的介面來建立理財用帳戶、信用卡交易以及其他相關的統計表（請參考圖二）。此套件除了有個非常好用的“可回復”（reconciliation）特點外，同時也內建有許多的報表（包含損益報表等等），如此就可以輕易地知道在特定時間內您總共賺了多少錢。它甚至還針對全球化的顧問公司提供多種貨幣運算的功能勒。我唯一能想到對於小企業的缺點就是它沒有提供開發票的功能，所以，您必須用人工來完成這項動作。</p>
<p>我的天阿，法蘭西斯，時候不早了可是還有很多事要忙勒！不過還是請你再幫我們的朋友們倒杯酒吧！嗯，怎麼了？你打消了兼職作顧問的念頭啦？是因為我的緣故嗎？不用擔心啦，我不會叫你太多事情的囉，會有足夠的時間啦！我們待會再來好好談談吧，現在要多關照的是我們的客人，再來一杯酒！</p>
<p>親愛的朋友們，如果您決定要單獨成立顧問公司的話，請記住您其實並不孤單。因為選擇了Linux，您可以針對所有高科技顧問需要的工具作完全的掌控，再加上一些開放原始碼大廚們的幫忙，或許還會發現你們的理念是相同的勒，這麼一來，搞不好哪天就可以在Chez Marcel餐廳裡看到您的食譜歐！</p>
<p>下一次，Chez Marcel的大門仍然為您敞開！</p>
<p>祝大家身體健康，有個美好的一餐！</p>
<p>Marcel Gange (mggagne@salmar.com) 居住在安大略之Mississauga。在真實世界裡，他是Salmar Consulting Inc.(http://www.salmar.com/) 的總裁，那是一家系統整合和網路顧問公司。他同時也是一位飛行員、也寫一些科幻小說、也擔任「TransVersions」的編輯（一本科幻和恐怖小說的雜誌，不過馬上就要變成一本文選了）。他酷愛 Linux 及所有 UNIX氣息，甚至還將之融入公眾。事實上，他目前正忙著撰寫於 Linux System Administration: A User&#8217;s Guide這本書，相信很快就會由Addison Wesley Longman 出版了。您可以透過mggagne@salmar.com和他聯繫，同時也可以上他的個人網站http://www.salmar.com./來發掘更多有關他的故事。</p>
<p><big>sideword</big><br />
在計時與付費的領域裡，幸運的讓我找到OnShore 公司所設計的程式－「TimeSheet」。<br />
別擔心，那些由開放原碼的程式設計師們所組成的社群，除了讓Linux成為大家最能負擔的起、並可以任意客製化的工作站或伺服器外，其實也曾建構一些對付銀行（或這些繁瑣手續）的工具！<br />
從許多角度來看，Linux一直都是電腦顧問們的好夥伴。<br />
來吧，親愛的朋友，接下來就讓我們來體驗一些針對Linux設計的會計套裝軟體吧！</p>
<p><big>captions</big><br />
圖一：TimeSheet執行的樣子<br />
圖二：GnuCash執行的樣子</p>
<p><big>&#62;相關資源</big><br />
BANAL:http://www.starnix.com/banal/<br />
GnuCash Web Site:http://www.gnucash.org/<br />
onShore TimeSheet:http://www.onshore-timesheet.org/<br />
SLIB Home Page:http://swissnet.ai.mit.edu/~jaffer/SLIB.html<br />
SWIG Home Page:http://www.swig.org/<br />
Track Time Spent Tool (tt):http://awacs.dhs.org/software/tt/<br />
The WINE Headquarters:http://www.winehq.com/</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[開放原始碼在MPEG的發展進程]]></title>
<link>http://tcliou.wordpress.com/2007/07/08/%e9%96%8b%e6%94%be%e5%8e%9f%e5%a7%8b%e7%a2%bc%e5%9c%a8mpeg%e7%9a%84%e7%99%bc%e5%b1%95%e9%80%b2%e7%a8%8b/</link>
<pubDate>Sun, 08 Jul 2007 10:09:13 +0000</pubDate>
<dc:creator>TzuChiang Liou</dc:creator>
<guid>http://tcliou.wordpress.com/2007/07/08/%e9%96%8b%e6%94%be%e5%8e%9f%e5%a7%8b%e7%a2%bc%e5%9c%a8mpeg%e7%9a%84%e7%99%bc%e5%b1%95%e9%80%b2%e7%a8%8b/</guid>
<description><![CDATA[This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original arti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><blockquote><p>This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original article on Linux Journal: Open Source in MPEG. 本文為筆者替天充文化翻譯 Linux Journal 中文版之文章，本譯文於2001 年 4 月號凌客誌中見刊。</p></blockquote>
<p align="center"><span style="text-decoration:underline;"><big> 開放原始碼在MPEG的發展進程 </big></span></p>
<p align="center">MPEG的創造者Chiariglione博士將替我們介紹MPEG（Moving Picture Experts Group）的歷史並解釋開放原始碼的MPEG軟體發展進程中的特色。</p>
<p align="center"><big>作者： Leonardo Chiariglione / 譯者：劉自強（TzuChiang Liou）</big></p>
<p>幾個世紀以來，我們那些住在阿爾卑斯山腳下，靠近Turint城市的祖先們，曾經想到一個簡單的概念：如果山區的十字路口都鋪著鵝卵石，而不要維持原狀（由許多人踏出來）的話，對每個人來說都是比較好的。雖然我們不清楚，這樣的工作是由那些山地同胞們自願的完成，還是當地權力當局欺騙強迫他們在冬天農閒的時候作這些事情。畢竟在這樣的暴政統治之下，那些農夫們並不是以和其他人分享而出名。</p>
<p><!--more--></p>
<p>幾年前，那些電腦玩家們發現一個幾乎所有人都有興趣的主題：是否要使用那些經過許多努力而成、並且可以為所有人使用的作業系統，替那些原始的CPU（前述山間小徑的虛擬對照）鋪上“鵝卵石”。</p>
<p>傳統上，電腦玩家們必須要使用一些已經呈現出來、或是可以簡單轉換到表單上並能自動處理的資料。然而有一些超過了人類眼睛及耳朵極限的資料，有著非常不同的天性，比如說：他們基本上是類比的型態。進一步講，他們也多是寬頻（這是個會依照現行技術而有不同定義的詞彙）。</p>
<p>人們處理和傳播聲音與影像資料已經好一陣子了，但卻有許多不同的解決方案，身為Moving Picture Experts Group運動（或稱MPEG-1）的一部份，聲音與影像資料已經可以被減少成為一種格式，也就是可以允許執行某些必要的處理（由一些已整合的聯盟所訂定）。資料的位元數總量被減少到一定的程度，使其得以在今日的傳播管道中傳輸。</p>
<p>與其他標準（MPEG-12、MPEG-23與MPEG-44）比較起來，MPEG發展了一套工具軟體，其使用的機制類似開放原始碼軟體OSS。雖然OSS社群中的純粹主義分子或許不是很贊同，然而不可否認的是，這個機制也必須適應那些規範著ISO的規則（International Organization for Standardization，一個傳統的標準訂定機構，而MPEG也在其下制定規格）。</p>
<p>本文的目的是在喚起當初聲音與影響資料是如何被數位化的記憶，並解釋Moving Picture Experts Group建立的動機，最後摘要出一些今日MPEG標準的元素、說明開放原始碼MPEG軟體運作機制的特徵以及現況。</p>
<p><big>聲音與影像的數位化過程</big><br />
當發明了可移動的型態之後（也就是不需要人工直接操作的大量資訊處理科技第一個例證），在人類科技史上整整花了將近四百年的時間，才看到另一個有類似影響力的技術產生。時間回到1830年代，當時聲音與影響資料處理與傳播的技術剛被人們發明出來：包含了攝影、電報、傳真、電話語音、留聲機、電影藝術、廣播、電視、以及磁帶機等等。一般而言，這些技術的有項共通的缺點，也就是彼此之間的相容性很差，每次我們要處理某個類型的資訊時，就必須使用特殊的裝置。您就可以了解到，使用相同基礎的技術來處理所有種類資訊的電腦世界是多麼特別的躍進吧！</p>
<p>要完成這項目標（統一所有種類的聲音與影像資料）的理論基礎，其實早在第一台電腦出現的十五年前就已經問世。這個理論發現一組有頻寬限制（band-limited）的訊號（也就是bandwidth B）可以使用2B的頻率來進行採樣，並能完美的加以重新建構﹔而理論的第二個基礎，則在量子誤差邊際（bounds to quantization errors，依據所使用的位元總量與訊號統計）的定義出現二十年後被發現。</p>
<p>即使貝爾實驗室（也就是上述第一個理論基礎的發源地）使用電晶體成功的將第一步驟的理論基礎轉化成具體實驗，但當時想要成為實際可應用的產品，仍然需要很多努力。在者，即使一個類似語音的窄頻訊號在電話線中只佔據0.3到3,4KHz的頻寬，但如果我們使用8KHz的採樣率（每次採8位元的資料），便可以產製近64Kbps巨大的數值。</p>
<p>經過了十五年的實驗之後，位元終於可以在語音傳播中扮演一個重要的角色，在1960年代，CCITT（也就是現在的ITU-T）採納一個語音數位重製的建議（實際上定義兩種不同的重製，分別是m-law與A-law）。兩者的採樣頻率都是8KHz，但是m-law與A-law的量子定律分別是每次採樣七個位元與八個位元，兩者也都將人類聽覺的對數天性（logarithmic nature）納入考量。然而，人們不應該將語音數位化賦予太多的意義，這項技術的應用範疇是在較寬廣的網路系統中（因為電話通路的多路傳輸使用數位化技術會比較便利），而且終端使用者不用作任何的改變。</p>
<p>另一項更有趣的應用是在Group 3傳真（Gr. 3 fax）部分，以往我們如果使用Gr. 3 fax（具有1728個感應器式CCD），以高解析度模式（垂直與水平解析度相同）來掃描一張A4的紙，其傳輸速度大約為4Mbps，如果我們以目前“高速數據機”（9.6Kbps）的傳輸速率來看，則要花將近二十分鐘的時間才能傳輸一張完整的頁面。但事實上，只要使用一種簡單的壓縮機制（傳送“run lengths”針對可變長度的code words進行編碼，而不是將所有的訊息都加以編碼），就可以將傳輸時間降到二分零六秒。</p>
<p>對於寬頻網路而言，數位語音是一個有效率的傳輸方法，但本地端則仍然是類比的訊號。在1980年代出現的ISDN促進了語音壓縮標準的發展，也就是使用7KHz的頻寬、16KHz的採樣率，並且比以往的m-law與A-law有著更高的位元／採樣比（如：14）。而因為這種語音會產生超過200Kbps的需求，所以更需要壓縮技術的幫忙﹔這樣即使降低到64Kbps或更低（壓縮比大約是四比一）仍然可以有高品質的語音﹔這樣的裝置使用的是DSPs晶片（Digital Signal Processing），但對沒能成功的進入大眾市場。影像呈現則是更大的挑戰，因為其頻寬需求足足是語音的三倍大、並且需要超過一種的訊號。數位電視針對影像明度Y的採樣率是13.5MHz，而針對另外兩個色差R-Y以及B-Y，則是以6.75MHz的速率每次採樣八位元﹔如果我們將不可視的採樣部分去除的話，可以把整體的傳輸速率由216Mbps降到166Mbps。這樣高的傳輸速率對於大部分實體的傳輸介質而言都不適當，只適合在片廠中使用數位磁帶（digital tape，也就是所謂的D1）來傳輸。</p>
<p>第一次嘗試把傳輸速路降低的技術，應用來將高位元速率降到1.5到2Mbps之間（以符合美國及歐洲的語音多工器──有24到32個數位語音通道），需要相當周密的考慮，並且是一個很大的挑戰。因此，首先將輸入的位元速率減低到二比一，除針對影像訊號的垂直與水平方向進行次採樣（事實上是在影像訊號交錯時的暫時採樣），並且進一步對色差做次採樣（subsampling）。接著使用兩種分別名為DPCM（Differential Pulse Code Modulation）與適時填充「conditional replenishment」的技術。第二代的編碼技術則使用更複雜的演算法則（DCT，Digital Cosine Transform以及移動補償motion compensation），以提供可以接受的品質（384Kbps），並使用64/128Kbps的速率（即ISDN的傳輸速率），針對影像訊號在垂直與水平方向做2：1的次採樣。</p>
<p>回到聲音部分，在1980年代初期，Philips和Sony發展出Compact Disc，這是一種使用雷射技術的唯讀式數位儲存裝置（幾乎同時間RCA也發展出類似的系統，但只短暫的出現在市場上一陣子）。這是針對立體聲音樂所設計的裝置：有兩個聲音通道，並以每次16位元的採樣率、在44.1KHz的速率下進行，其整體的傳輸速率則接近1.41Mbps。</p>
<p>近年來，美國（最初由Advanced Television發起）與歐洲（透過一家工業公司的發展）都漸漸開發高解析度的數位電視市場。</p>
<p><big>最初的MPEG標準</big><br />
我的工作經驗可以由一篇電傳研究中窺其一二，以往電傳產業通常被認為是不惜資金地在網路基礎建設上採購很多新產品，並且不願意投資終端設備，部分原因是終端設備會依文化而有所差異（即使許多有知識的個體會警覺到，除非有足夠的數位終端設備，否則也不需要這些新的網路產品）﹔而其他原因則是因為就法律與技術層面來看，終端設備都超乎他的能力範疇。因此他們的態度是：「讓那些製造工業來完成發展終端設備的工作。」不幸的是，那些電傳設備製造商們長久以來被嬌寵成性，並且習慣於在既定的CCITT標準下進行風險較低的作業，因此不願意只為了終端使用者突然興起的念頭，就投資在一些他們不熟悉的產品上。就算是那些比較了解終端使用者的消費電子產業（習慣基於他們對產品校度的判斷來進行企業決策），也認為電傳終端設備超乎他們的興趣之外。這可以解釋為何在1980年代末期時，幾乎沒有任何基於這些壓縮技術的終端使用者設備出現（當然傳真機是例外）。為了要擁有便宜且輕巧的終端設備，使用者必須有ASICs（應用程式整合電路Applications Specific Integrated Circuits），才能執行壓縮運算法所需要的複雜的訊號運算功能。</p>
<p>我知道RCA和Philps在當時都曾經試圖將數位影像資料儲存在CD上，以供互動應用程式使用（分別稱為CD-I及DVI），並將其視為主導影像壓縮晶片市場（可以應用在影像溝通裝置上）的機會。在當時，我們需要的是一種新的替代方案，用以取代原本消費電子產品世界（依循一般標準化程序）中，那些費力且難以預料是否能生存的市場原則。</p>
<p><big>MPEG-1</big><br />
因此在1988年一月開始進行MPEG的計劃，幾個月後開始發展語音壓縮、多路傳輸所需要的功能、並同步化這兩種資料流（即所謂的“系統”）。四年之後正式發展出了標準的MPEG-1技術，有趣的是，目前遵循這項標準中最大宗的兩項應用（互動光碟及數位廣播），都不是當初發展MPEG-1時主要的目標（如影像溝通目前還不是很受歡迎）。另一方面，MPEG-1被應用在數以千萬的VCD及MP3播放器中。其實MPEG-1有一項很傑出的特色是：MPEG-1是第一個在開發過程中充分使用模擬方式所完成的影像／聲音標準。另外，我所任職的實驗室也曾經參與發展一個速率在1.5到2Mbps之件的視訊會議編碼格式，這項技術使用三個12U的rack以及少量的電腦模擬支援。其實對於未來更顯著的意涵是，身為五個領域標準的MPEG-1，擁有一項軟體設計似乎可以成為標準的第五個部分（也就是ISO/IEC 11172-5）。</p>
<p><big>MPEG-2</big><br />
1990年七月MPEG開始了其第二個計劃，也就是MPEG-2。因為MPEG-1是一個針對定義良好的產品設計的標準，而MPEG-2所要解決的是一個每個人都有興趣的問題：那就是要如何將五十年前的類比電視系統轉換成為數位壓縮的格式，延伸下去便產生了新的需求，希望能支援所有潛在的應用領域。解決方案是發展兩個新的系統層：其一稱為MPEG-2傳送資料流（Transport Stream，TS），這是針對在傳輸應用領域中，錯誤偵測環境的目標產品所設計（如有線電纜、衛星等）﹔另一項稱為MPEG-2節目資料流（Program Streams，PS），其設計理念是成為一個友善的軟體，並且可以讓DVD使用。這個概念是MPEG-2可以成為數位電視的共同基礎建設，的確，如果大家認為在特定的時間內，MPEG-2 TS所能承載的位元數比IP來的多的話，就已經達到某些目的了。這項標準的主旨「Generic Coding of Moving Pictures and Associated Audio」就非常恰當的傳達了這樣的意圖。當MPEG-2這相標準獲得認同之時（1994年十一月），第一個在普遍的可程式化機器上，執行MPEG-1的即時解碼範例也同時問世。這就是，如果人們有需求的話，就會有誘因來繼續這些實作並可以針對新標準提供工具軟體。</p>
<p><big>MPEG-4</big><br />
在1993年七月MPEG開始了第三個計劃，也就是MPEG-4，其原始目的可以由計劃的第一個主旨窺其一二：「低傳輸率的影像－聲音編碼技術」。雖然沒有預見非常明顯的目標市場應用，許多人認為窄頻類比通道的數位化（如電話撥接網路，當時網路還沒有那麼普及）可以提供機會以低於1Mbps的速率來傳輸影像與聲音資料，這大約是MPEG-1及MPEG-2可以支援的最低傳輸率。我們知道在這個範圍的傳輸率之內，解碼器便能在可程式化的裝置上進行良好的設計，不像其他的MPEG標準，使用這項標準最終可以使用較多的軟體設計而不會只受限於硬體的能力。這也是為何工具軟體MPEG-4的第五的部分，會和MPEG-4其他的部分（傳統以文字為基礎的描述）有同樣規範的原因。</p>
<p>我們由MPEG-4目前的主旨可以知道為何能成為容易理解的標準：「對聲音及影像物件的編碼」。這項標準支援個別的聲音與影像物件（其於空間與時間的組成被標示在接收器中）的編碼在現，不同來源（天然或合成）的不同的物件甚至可以共同構成一個意義。然而這並不代表針對標準使用某種特別的設計必然會很“複雜”，應用程式開發者可以在許多MPEG-4工具集中選擇精緻的子套件，用來開發個別的程式。因此，大家都期待MPEG-4可以成為所有基礎的領導者，而讓目前分崩離析的多媒體現況再度繁榮起來。</p>
<p><big>MPEG-4為何要有標準</big><br />
讀者們可能會有疑慮：如果編碼演算法可以用軟體設計，那為何又要發展一套標準呢？不是只要下載那些可以讓特定演算法（用來產生您有興趣的資料流）用來解碼的密碼就可以了嗎？</p>
<p>在MPEG-4早期開發的階段常常有人問類似的問題，時至今日，隨著MP3的大量使用，便比較容易理解有一個標準的好處了：因為如此一來，重播的裝置就不用連結到網路上，而可以放置在廣播的通道上（可以是獨立或是可攜式的裝置）﹔而且裝置可以使用許多不同的CPU（當然這對於開發編碼程式而言會有點昂貴）﹔對於那些無法升級的聲音影像解碼部分，硬體則可以使用ASIC﹔也可以設計成符合一個標準演算法需求的RAM總量。換句話說，有了標準之後，企業可以簡單應用在更多不同的用途上，而不需要考慮不相容的問題。</p>
<p>最後您必須要清楚的是，壓縮編碼不是一個透明的過程，一般來說，如果想要壓成越低的傳輸率，效果就會越失真。由一種演算法轉換到另一個只會產生許多不必要的垃圾出來罷了，同時，壓縮技術會越來越好也是一個迷思。目前對MPEG在影像壓縮技術部分有相當多的提案在進行當中，因為看起來似乎值得研究﹔然而對於聲音壓縮的MPEG技術卻仍然在起步的階段，因為MPEG團體目前不認為這個領域值得去追求。</p>
<p><big>MPEG-4在開放原始碼領域的發展</big><br />
這些大量的標準已經改變參考軟體的發展，使其成為一個巨大的事業，所以看看目前有多少個專案在進行中也是一件有趣的事，以下是幾個重要的特徵：<br />
●所有標準的元件，不論是規範的（解碼器）或是非規範的（編碼器）都必須設計在軟體中。如果某個提案想要被接受或是接納，其原始碼必須公開、並且將版權釋放給ISO。<br />
●標準的每一個部分，都必須指定一個編碼管理者（manager of the code）：典型的代表有MicroSoft與MoMuSys對於影像的標準（分別是C++與C）、Fraunhofer之於天然聲音（natural audio）、MIT之於結構化聲音（Structured Audio）、ETRI之於文字／語音的介面、Optibase之於所謂的“核心”（也就是所有媒體的解碼器及其他元件外掛部分的密碼）、Apple之於所謂的MPEG-4檔案格式等等。<br />
●標準的每一個部分也都指派一個實驗管理者（manager of experiments），這個管理者必須以目前的程式碼為基礎，來整合其他可以使用之工具的程式碼。<br />
●與傳統開放原始碼計劃不同的地方在於，只有MPEG團體的成員可以參與這個計劃，但是相關的討論（目前持續進行中）仍然可以透過E-mail反映給其他非MPEG團體的人。</p>
<p>MPEG是一個新點子可以持續成長的地方，原本用來參考的程式碼可能真的成為“參考”，因為可能會因此產生一個新的點子（至於是規範或是非規範則依情況而定），或許原本並沒有這樣的用途。因此在1999年十二月時，MPEG開始進行MPEG-4的另一個新的開發，用來最佳化程式碼（如：找出動畫向量值的最佳方案，這是此標準中相當需要計算的部分）。因為雖然任何設計者都可以使用這套程式碼，而不用擔心版權的問題。然而那些經過最佳化的部分也不應該需要受到專利的影響才對。因此第二個點子在2000年十月正式開始運作，這也導致了發展MPEG-4的「參考硬體描述，reference hardware description」這項決定，並期待這能近一步宣傳使用MPEG-4作為多媒體建設的基礎（軟硬體部分皆然）。</p>
<p>下面列出了在所有的MPEG-4軟體模組中所謂的“版權宣言”。</p>
<p>這個軟體模組是以下面的格式發展：  () and edited by   (),   (), in the course of development of the 。這個軟體模組是一個或多個工具（也就是由所規範）中部分的設計。雖然ISO/IEC給予使用者這個軟體模組免費的使用權，以及針對任何宣稱遵從的軟硬體修正部分。那些想要在軟硬體產品中使用這個軟體模組的人，仍然會被告知有可能會侵犯到現存的專利法。這個軟體模組的原始設計者以及他的公司、以及後來的編寫者與其公司、甚至是ISO/IEC對於這個軟體模組以及其修正部分沒有任何義務。版權禁止針對那些非符合的產品釋出，可以保有完整的權力，也可以把程式碼指派或捐獻給協力廠商，並且禁止協力廠商將這個模組應用在非遵循的產品上，這個版權宣言必須被包含在所有衍生的作品當中，Copyright (199_)。</p>
<p>原文：<br />
This software module was originally developed by   () and edited by   (),   (), in the course of development of the . This software module is an implementation of a part of one ormore  tools as specified by the . ISO/IECgives users of the  free license to this software module or modifications thereof for use in hardware or software products claiming conformance to the . Those intending to use this software module in hardware or software products are advised that its use may infringe existing patents. The original developer of this software module and his/her company, the subsequent editors and their companies, and ISO/IEC have no liability for use of this software module or modifications thereof. Copyright is not released for non&#8211;conforming products.  retains full right to use the code for its own purpose, assign or donate the code to a third party and to inhibit third parties from using the code for non&#8211;conforming products. This copyright notice must be included in all copies or derivative works. Copyright (199_).</p>
<p><big>立足今日，展望明日</big><br />
目前MPEG正處於發展MPEG-7（多媒體內容描述介面，這是一個描述聲音／影像訊息的標準）的最後階段。這項標準將會在2001年七月通過，同時有一大堆的參考程式碼（依循著類似於MPEG-4的規則）隨著這項標準產生。</p>
<p>在2000年六月，MPEG開始了一個名為MPEG-21（多媒體架構，Multimedia Framework）的新計劃。在這之中，MPEG會發展並整合所有在網路上發展數位內容電子商務所需的科技（與其他單位共同合作）。</p>
<p>這項計劃所需要的幾樣關鍵技術如下：<br />
1.Digital Item Declaration：一個統一且有彈性的抽象描述，並且可以針對數位物件作交互的概要宣稱。<br />
2.Content Representation：解決如何在不同媒體中呈現資料的問題。<br />
3.Digital Item Identification and Description：一個針對任何實體（不論其本質、種類與形狀為何）作辨認與描述的架構。<br />
4.Content Management and Usage：提供介面與通訊協定，用以在不同的內容套件與消費價值鏈（consumption value chain）之間創造、操作、搜尋、使用、儲存、傳遞以及重複使用內容。<br />
5.Intellectual Property Management and Protection：也就是能持續並可靠的管理內容，並在一大堆網路與裝置之間受到保護。<br />
6.Terminals and Networks：在網路與終端設備當中，提供一個透明、可解釋的能力來存取內容。<br />
7.Event Reporting：這是一個公制與介面，可以讓使用者精確的了解，在這個架構中所有可以報告的事件的效能。</p>
<p>本文要探討的另一個重要議題是第五個項目，也就是智慧財產權的管理與保護。因為自從MPEG-2之後，MPEG就非常在意，希望能替那些內容與服務提供者（其內容有金融上的價值）的需要提供解決方案。目前為止，MPEG所提供的解決方案是使用版權專斷軟體中有關保護的科技，然而這是有缺點的，因為對使用者而言，消費那些受保護的內容將不再是一個透明的過程（即便使用者願意遵守由權利持有者所訂定的規定）。這也是為何MPEG現在要發展另一個解決方案，以提供「在受保護的內容上進行溝通，interoperability at the level of protected content」的能力</p>
<p><big>談談MPEG標準的專利</big><br />
早在十五世紀時，在Venice和Florence就已經實施了所謂的「Letter patents」，但是在Mainz卻還沒有類似的規定，因此當時Johannes Gutenberg只能把它的秘密藏起來不讓其他人（包含了他的贊助者）看到，才能保護他的發明，最後卻因此造成他的崩潰。在十九世紀時，所有與「影像／聲音」相關的發明都受到專利的保護﹔這樣的狀況持續延伸到二十世紀（雖然受保護的重心已經由個體轉移到僱用他們的公司）。當運用數位科技的願景越來越清楚之際，幾乎所有的公司或組織都開始針對「影像／聲音編碼」進行研發或籌措研究。時至今日，相關的專利已經數以千計。</p>
<p>當MPEG開始進行「影像／聲音編碼」工作之時，很快的就證明了MPEG只有兩個選擇，如果不依照現存在「影像／聲音」規則來進行（這樣的標準通常需要專利來保護其設計），就不可能產製任何有實際價值的標準。這增加MPEG（本身沒有任何經費）工作的難度，漸漸意識到在其標準中是否需要專利保護。</p>
<p>當然，國際上三個主要標準制定的組織（IEC、ISO與ITU）非常清楚專利法的應用在標準上的問題，因此他們也發展出下面三個原則：<br />
1.在設計標準時，不應該包含任何專利限制，<br />
2.版權擁有者應該釋出其權益，並且<br />
3.版權擁有者必須陳述一段宣言，表示他／她必須保證以公平與合理的條款，在不歧視的原則下，才能為版權聲請專利。</p>
<p>於是MPEG也針對開發自己的標準發展一套原則，蓄意忽視專利的情況並且希望可以完成最理想的表現，然而所有MPEG的標準通常都牽涉到大量的專利。</p>
<p>在設計MPEG-2時，就需要將近一百種不同的標準，而MPEG-2希望可以一次完成所有專利問題，此時一個私人組織邊非常有興趣地來幫忙，針對大部分MPEG-2所需要的專利提供版權。有趣的是，MPEG-2解碼器所需要的總版權費用一直都是保持固定的常數，然而其他相關的版權卻不斷的增加。</p>
<p>同樣的狀況也發生在MPEG-4上，MPEG-4產業論壇（http://www.m4if.org/）成立的目標就是希望能讓MPEG-4脫離專利。當然，MPEG-4的例子又更複雜些，因為許多運作模式都需要下載解碼器。而最近針對MPEG-7也要成立一個類似的組織。</p>
<p><big>結論</big><br />
雖然歷經一些完全不同的過程，但就提供軟體或硬體的開放解決方案（針對那些基礎建設的一部份）的需求而言，身為「影像／聲音」世界代言人的MPEG，也得到一個類似「資料處理」世界的結論。</p>
<p>其中最大的不同是「資料處理」世界傾向定義完全開放的技術，而MPEG則屈服於數位「影像／聲音」的世界（因為到處都是專利）。因此雖然參考軟體沒有版權費，但是通常不代表沒有專利費。</p>
<p>MPEG-21則是一個定義網路內容生態系統的專案，將基礎建設的標準放置在一個比較高的位階上（相對於目前而言），而原本身為參考軟體的提供者，目前也已經成為MPEG標準中不可或缺的一部份。可以想見的是，當MPEG必須要調適以符合完全的自由精神時，一定會遇到很多挑戰，也會需要考慮很多世俗因素。但我相信與其在法院或是國會中處理這件事，不如和一群專家們一起研究會比較好！</p>
<p>在1971年時，Leonardo Chiariglione加入了CSELT（一個電信團體的共同研究中心），他在其中帶領電視科技研究部門（Television Technologies Research Division）。而在1988年創出了ISO MPEG的標準，他也是Image Communications的創辦人（EURASIP的雜誌，內容是介紹影像傳播領域中理論與實作的發展），並擔任裡面的總編輯。他在1994年創立了Digital Audio-Visual Council （DAVIC），並在其中擔任總裁與主席，直到1995年才離職。1999年時，他被任命為Secure Digital Music Initiative （SDMI）的執行主任，奉命開發一個新的規格，可以讓安全數位音樂的電子商務有多種不同的經營模式。</p>
<p><big>side word</big><br />
有一些超過了人類眼睛及耳朵極限的資料，有著非常不同的天性，比如說：他們基本上是類比的型態。<br />
時間回到1830年代，當時聲音與影響資料處理與傳播的技術剛被人們發明出來。</p>
<p><big>相關資源</big><br />
MPEG計劃網站 http://www.cselt.it/mpeg/. 在此可以找到MPEG-1的簡短介紹<br />
http://www.cselt.it/mpeg/standards/mpeg-1/. 在此可以找到MPEG-2的簡短介紹<br />
http://www.cselt.it/mpeg/standards/mpeg-2/. 在此可以找到MPEG-4的簡短介紹<br />
http://www.cselt.it/mpeg/standards/mpeg-4/. ISO網站http://www.iso.ch/.</p>
<p>「Gr. 3」被稱為「one minute facsimile」因為它的垂直解析通通常是水平解析度的一半，如果想要知道有關MPEG建立更詳細的資料，可以參考「Chiariglione, L.: MPEG&#8221; From the conception of the idea to its effects&#8221;」(http://www.cselt.it/leonardo/paper/conftele99/conftele99.htm), ConfTele99,Sesimbra, 4/15/1999.</p>
<p>您可以向sales@iso.ch購買MPEG-4的參考軟體也可以由此下載 http://www.iso.ch/ittf/。</p>
<p>在此可以找到MPEG-7的簡短介紹http://www.cselt.it/mpeg/standards/mpeg-7/.</p>
<p>MPEG-21將成為標準集合的套件，第一個部分是「Technical Report」這是MPEG-21牽涉範疇的文件敘述(http://www.cselt.it/public/mpeg-21_pdtr.zip)，這是經過篩選的文件。</p>
<p>而有關MPEG-4的部分則在http://www.cselt.it/mpeg/public/mpeg-4_procedures.htm.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[運用Linux進行遠端遙測]]></title>
<link>http://tcliou.wordpress.com/2007/07/08/%e9%81%8b%e7%94%a8linux%e9%80%b2%e8%a1%8c%e9%81%a0%e7%ab%af%e9%81%99%e6%b8%ac/</link>
<pubDate>Sun, 08 Jul 2007 10:06:56 +0000</pubDate>
<dc:creator>TzuChiang Liou</dc:creator>
<guid>http://tcliou.wordpress.com/2007/07/08/%e9%81%8b%e7%94%a8linux%e9%80%b2%e8%a1%8c%e9%81%a0%e7%ab%af%e9%81%99%e6%b8%ac/</guid>
<description><![CDATA[This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original arti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><blockquote><p>This is an article I translated for TS media for the Chinese Edition of Linux Journal. Original article on Linux Journal: Remoting Sensing with Linux. 本文為筆者替天充文化翻譯 Linux Journal 中文版之文章，本譯文於2001 年 3 月號凌客誌中見刊。</p></blockquote>
<p align="center"><span style="text-decoration:underline;"><big>運用Linux進行遠端遙測</big></span></p>
<p align="center">一個採用Linux與「Beowulf」叢集系統後，成功的節省了金錢與時間的企業實證</p>
<p align="center"><big>作者：Mark Lucas / 譯者：劉自強（TzuChiang Liou）</big></p>
<p>我們今天的主角是位於美國佛羅里達州墨爾本市的ImageLinks公司，他們的工作主要是負責替商業機構處理大型的衛星及航空圖像。這樣的作業常常需要透過三度空間投射、影像處理、複雜的資料融合、以及許多昂貴的計算演算法則，來處理動輒數Giga的影像資料。而本文則是在描述當該公司把系統轉換到Linux之後所獲得的收益。</p>
<p>回到1996年，當時本公司（ImageLinks）剛獲得執照，可以將以前被視為機密的政府軟體商業化，其中包含了將近5,000個由物件導向語言C++所設計出來的原始碼檔案，而這些程式已經發展將近十五年了。公司主要的硬體是建構在高效能的SGI以及SUN的作業平台以及伺服器上，廠商向我們開價這些設備需要將近五十萬的成本，所以每個月就必須付出的錢超過15,000元。而且除了設備之外，其他的成本還有昂貴的版權專斷式軟體的執照費，包含編譯器、工具及相關函式庫等。即使只是想要升級記憶體，也都必須要以高價向賣主購買才不會違反當初的維護合約。</p>
<p><!--more--></p>
<p>其實，當時公司裡面有幾個同仁早已經開始在家裡使用Linux，所以我們就在想，如果把公司的軟體移植到Linux上會需要更動哪些部分？終於在某天午餐討論過後，我們決定到當地的一家電腦公司、用公司的信用卡買了需要的軟體，並且開始不公開的程式移植作業。</p>
<p>一安裝好Red Hat 5.2版後我們就開始移植的工作，在數個月的研究中，同事Dave Burken和Ken Melero不斷的討論這個專案，企圖找出平台相依性並加以修正。後來我們發現主要的問題是：編譯器無法完全正確處理我們那個龐大的程式碼（templated code）。不過當我們後來安裝了Red Hat 6.0之後，「GCC」編譯器就能正確且直接的處理好上面的問題，也因此加速了移植的作業。</p>
<p>原本當初的假設是：移植在Intel平台上的Linux系統可能會是一個比較節省成本的方案，但我們並不看好這樣的表現可以和高效能的工作站匹敵。幸運的是，第二個假設是錯的！當轉移到Linux平台之後，馬上就在編譯的所花的時間，感受到顯著的效能改善，以往在SGI的Indigo2s機器上，如果要將我們所有的原始碼執行完整的編譯，大約需要十到十二個小時；而同樣的編譯工作在一個雙Pentium CPU的機器上只花了不到兩個小時就完成，更值得一提的是所產生出執行檔的大小，由「GCC」所編譯出來的結果大約只有那些版權壟斷的編譯器編譯出來的一半大小。這代表著比較優異的程式碼最佳化，也是那些開放原始碼工具的許多益處之一；而當我們替Linux平台設計一些測試時，其效能的改善也非常明顯，其中最極端的例子就是在執行「cross-sensor image fusion」上。</p>
<p>「cross-sensor fusion」是將不同等級的衛星影像結合而成一個新的影像的技術，例如，我們常常需要把高解析度的黑白影像與低解析度的彩色影像結合在一起，這些影像多半是由不同的角度、解析度、比例及時間拍攝而成。當我們執行複雜的轉換工作，比如將衛星影像投射在一個內部為3-D的空間模型中時，所有這些因素都會被納入考量，當開始執行時，一個智慧的採樣器會橫跨整個三度空間模型將像素（pixels）投射結合到合理的大小和影像。透過複雜的影像處理及三度空間轉換，這樣的工作會牽涉到幾Giga的數位影像資料，在以往版權壟斷的工作站上，花個週末的時間來執行某些程式是很稀鬆平常的事。但使用Linux之後，我們發現在這些影像融合上有非常卓越的進步，這個戲劇性的效能增加是因為硬體的表現，會隨著軟體工具中最佳化的程式碼而增加。</p>
<p>另一個主要的益處來自於使用「Beowulf」叢集技術，「Beowulf」叢集可以簡單的解釋成為一堆使用一般的網路連結在一起的電腦分支，而成為一個低成本的超級電腦解決方案。也就是在區域網路系統內，使用乙太網路將大多數安裝Linux、核心經過最佳化的電腦連結在一起所呈現的方案。其中有一個節點（node）是被設計為主控的節點，用來控制其他附屬節點的工作排程及負責所有與外界的溝通。</p>
<p>以往，超級電腦需要使用針對其特殊架構手工訂做獨特的軟體，然而最近在平行函式庫（parallel libraries）如PVM或是MPI等的進展，已經慢慢讓這樣的工作越來越簡單。只要使用這套函式庫，程式設計師便可以清楚的知道哪些部分可以設計成為平行處理，而由函式庫負責和超級電腦架構來做比較詳細的「mapping」動作。幸運的是，我們的運算法極端的傾向需要CPU資源而且大致上可以平行處理，換句話說，這個程式碼需要的是浮點運算（floating point mathematical computations），所以重點是：我們的工作可以被切割為數個片段，同時CPU之間不需要做很重要的溝通。因此，設計的需求便牽涉到如何將工作分割成為塊狀（tiles），並且送到不同的機器去處理。</p>
<p>為此，我們建構了一個具備14個節點的叢集系統，將PVM加入我們的程式碼中，並且觀察當我們替叢集增加新的中央處理器後，效能線性的改變。依據我們監控整個執行過程顯示，剛開始的時候，會有一小段溝通時間將資料傳輸到不同的節點上，接著，各節點會盡其所能的處理必要的計算，這樣的結果正是叢集所要達成的理想應用狀態：也就是如果想要加快執行的速度或是增加資料處理量，我們只需要增加處理器即可。因此，隨著我們改用「Beowulf」叢集技術，這項複雜的「cross-sensor fusion」工作有顯著的改善，以往在版權專斷的機器上需要花一個週末的運算時間，使用單一Linux機器，現在減少到只需要幾個小時就能完成，而在「Beowulf」叢集系統中，更只需要幾分鐘就搞定了！</p>
<p>除了效能和成本的益處之外，我們公司同時也感受到了一些其他重要的改進，包含了穩定性的增加、有許多參考文件以及軟體可以很快速的更新。</p>
<p>Mark Lucas目前是ImageLinks公司的首席技術長，同時也是「remotesensing.org」的創辦人，這個計畫是用來推動開放原始碼發展遠端遙測（remote sensing）以及GIS地理資訊系統（geographical information systems）的相關軟體。身為電子工程學士、資訊工程碩士的他，同時也是一位退役的美國空軍官員。</p>
<p><big>Captions</big><br />
圖一：在ImageLinks公司的叢集系統中執行「bWatch」的樣子，紅線表示節點間的溝通並顯示出這個行程與CPU相關。<br />
圖二：佛羅里達州墨爾本市衛星照片的一部分，這個影像是由「Landsat 5」的色彩，與「Indian IRS 1C」號衛星的五公尺空間解析度（5m spatial resolution）結合而成。<br />
圖三：加州Milpitas市的合成影像，這是由多重衛星影像及許多向量圖層融合而成的。<br />
圖四：ImageLinks公司內部結合12個節點的「Beowulf」叢集系統，包含了RAID磁碟陣列、100BT的乙太網路轉換器（Switch）及電力控制系統。<br />
圖五：這個節點是掛載在一個4U rack的機器中，具備四顆Pentium III 650MHz的CPU、並且配備有384 Mega的記憶體。<br />
圖六：掛載上rack之前，Jeff Largent正在測試這些節點。</p>
<p><big>side word</big><br />
以往在版權專斷的機器上需要花一個週末的運算時間，使用單一Linux機器，現在減少到只需要幾個小時就能完成，而在「Beowulf」叢集系統中，更只需要幾分鐘就搞定了！</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
