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

<channel>
	<title>Yann's Blog &#187; Linux</title>
	<atom:link href="http://yannramin.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://yannramin.com</link>
	<description>Software and life</description>
	<lastBuildDate>Wed, 07 Jul 2010 20:04:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ELC Wrap-up: Good presentations and things to watch in Kernel land</title>
		<link>http://yannramin.com/2010/04/19/elc-wrap-up-good-presentations-and-things-to-watch-in-kernel-land/</link>
		<comments>http://yannramin.com/2010/04/19/elc-wrap-up-good-presentations-and-things-to-watch-in-kernel-land/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 05:49:12 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=344</guid>
		<description><![CDATA[I had the privilege of attending the Embedded Linux Conference in San Francisco this year. All in all it was a great experience, especially the networking opportunities with other developers working on core functionality. Personally, I found the following presentations and technologies the most memorable: Linux Without a Bootloader (Greg Ungerer) &#8211; A well paced [...]]]></description>
			<content:encoded><![CDATA[<p>I had the privilege of attending the <a href="http://www.embeddedlinuxconference.com/elc_2010/index.html">Embedded Linux Conference</a> in San Francisco this year. All in all it was a great experience, especially the networking opportunities with other developers working on core functionality. Personally, I found the following presentations and technologies the most memorable:</p>
<ul>
<li><a href="http://elinux.org/images/7/7b/LinuxWithoutABootLoader.pdf">Linux Without a Bootloader</a> (Greg Ungerer) &#8211; A well paced example on booting Linux without a direct bootloader (for NOR flash) or without U-Boot (for NAND flash). Good demos, and a good discussion post presentation. This will be an approach I will try in future systems, combined with <i>Kexec</i>
</li>
<li><b>Kexec &#8211; Ready for embedded Linux?</b> (Magnus Damm) &#8211; A good talk discussing the Kexec framework on embedded systems &#8211; especially relevant after Greg&#8217;s talk</li>
<li><a href="http://elinux.org/images/e/e6/Gregkh-android-presentation-celf2010.tar.gz">Android: A Case Study of an Embedded Linux Project</a> &#8211; All around fun, and highlighting some of the problems with the current fork of Android. The only thing this keynote could have done better is presenting at least one concrete example of how mainlining reduces overhead for the developers. Not that I don&#8217;t agree with Greg, but it would be great to use this keynote as ammunition in all companies.</li>
<li><a href="http://elinux.org/images/b/b6/ARM_Device_Tree_Status_Report.pdf">Flattened Device Tree ARM Support Update</a> (Grant Likely) &#8211; In the &#8220;things to watch&#8221; camp is the upcoming unification of the flattened device tree support in PowerPC and SPARC, adding ARM support. This will be something to hack on to make sure all the various system drivers work correctly, and something I will be tracking.</li>
<li><a href="http://people.redhat.com/srostedt/ftrace-embedded.odp">Ftrace &#8211; Embedded Edition</a> (Steven Rostedt) &#8211; A very energetic example of what FTrace can do for you, and the announcement of trace-cmd and kernelshark. This will be going into my toolchest.</li>
<li><a href="http://elinux.org/images/1/1f/Status-of-embedded-Linux-2010-04-ELC.odp">State of Embedded Linux</a> (Tim Bird) &#8211; Overviews can be drab and boring, but this was enough context to bring in people who don&#8217;t follow lkml on a daily basis. And Tim, I will test out LogFS and ramzswap on my systems and report back <img src='http://yannramin.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li><a href="http://elinux.org/images/5/5f/ELC2010-gc-sections_Denys_Vlasenko.odp">Link Time Dead Code and Data Elimination Using GNU Toolchain</a> (Denys Vlasenko) &#8211; A good overview on the current support and caveats with -function-sections and &#8211;gc-sections in the GNU toolchain. Could have used some more technical insight, but the discussions it triggered generally filled any holes.</li>
<li><a href="http://elinux.org/images/9/9f/ELC2010-memory-saving-takahashi.pdf">A Consideration of Memory Saving by Efficient Mapping of Shared Libraries	</a> &#8211; A very indepth technical discussion which is invaluable for very small systems. The slides are great as well.</li>
</ul>
<p>This is hardly a complete list of the talks I went to, and only reflects some of the most interesting and relevant areas to me (sorry, I don&#8217;t do much RT or media). To those not mentioned, I still enjoyed hearing you speak!</p>
<p>And yes, I do have a shiny new free <a href="http://www.google.com/phone">Nexus One</a> thanks to Chris DiBona and all of Google. You still should work on mainlining your code though <img src='http://yannramin.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2010/04/19/elc-wrap-up-good-presentations-and-things-to-watch-in-kernel-land/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microturfing.com</title>
		<link>http://yannramin.com/2009/07/18/microturfing-com/</link>
		<comments>http://yannramin.com/2009/07/18/microturfing-com/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 06:05:25 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=220</guid>
		<description><![CDATA[Zed Shaw has launched Microturfing.com, with a great parody of the Microsoft &#8220;hip&#8221; culture blogging. Fun read, if not a bit immature.]]></description>
			<content:encoded><![CDATA[<p><a href="http://zedshaw.com/blog/2009-07-18.html">Zed Shaw has launched</a> <a href="http://microturfing.com">Microturfing.com</a>, with a great parody of the Microsoft &#8220;hip&#8221; culture blogging. </p>
<p>Fun read, if not a bit immature. </p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2009/07/18/microturfing-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zed Shaw&#8217;s Why I (A/L)GPL</title>
		<link>http://yannramin.com/2009/07/14/zed-shaws-why-i-algpl/</link>
		<comments>http://yannramin.com/2009/07/14/zed-shaws-why-i-algpl/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 21:51:05 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=209</guid>
		<description><![CDATA[Zed Shaw has posted a well written discussion of why he uses the GPL series of licenses. I have to say I agree with his reasoning on all counts. I have licensed software under the BSD or MIT series of licenses in the past, but often for small little utilities that I don&#8217;t think contain [...]]]></description>
			<content:encoded><![CDATA[<p>Zed Shaw has <a href="http://zedshaw.com/blog/2009-07-13.html">posted a well written discussion of why he uses the GPL series of licenses. </a></p>
<p>I have to say I agree with his reasoning on all counts. I have licensed software under the BSD or MIT series of licenses in the past, but often for small little utilities that I don&#8217;t think contain much intellectual worth or don&#8217;t represent new concepts or major time investments. Anything &#8220;big&#8221; comes under the GPL.</p>
<p>This is a good point to discuss the applicability of the <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">Affero GPL license</a>. If you are developing software which will likely never offered or downloaded to a client machine (the &#8220;distribution&#8221; step in the GPL, which is absent in most web applications and SaaS), but would like to force users to offer the modified source code to your product, this is the license to use. There are very few pieces of software which carry the AGPL license to date, however with the growing trend of cloud computing, it is well worth considering. </p>
<p>The only downside to the AGPL are libraries, which carry the full force of the GPL license. There is no &#8220;ALGPL&#8221; version, allowing linking of code into other products without bringing the requirements of the GPL with it. </p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2009/07/14/zed-shaws-why-i-algpl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft&#8217;s Community Promise</title>
		<link>http://yannramin.com/2009/07/06/microsofts-community-promise/</link>
		<comments>http://yannramin.com/2009/07/06/microsofts-community-promise/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 05:56:06 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=206</guid>
		<description><![CDATA[Looks like our friends at Microsoft have come up with a Community Promise governing the core of the C# and CLI architecture. Here is the text of Microsoft&#8217;s announcement: I have some good news to announce: Microsoft will be applying the Community Promise to the ECMA 334 and ECMA 335 specs. ECMA 334 specifies the [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like our friends at <a href="http://www.microsoft.com">Microsoft</a> have come up with a <a href="http://www.microsoft.com/interop/cp/default.mspx">Community Promise</a> governing the core of the C# and CLI architecture. </p>
<p>Here is the text of Microsoft&#8217;s announcement:</p>
<blockquote><p>
I have some good news to announce: Microsoft will be applying the Community Promise to the ECMA 334 and ECMA 335 specs.</p>
<p>ECMA 334 specifies the form and establishes the interpretation of programs written in the C# programming language, while the ECMA 335 standard defines the Common Language Infrastructure (CLI) in which applications written in multiple high-level languages can be executed in different system environments without the need to rewrite those applications to take into consideration the unique characteristics of those environments.</p>
<p>&#8220;The Community Promise is an excellent vehicle and, in this situation, ensures the best balance of interoperability and flexibility for developers,&#8221; Scott Guthrie, the Corporate Vice President for the .Net Developer Platform, told me July 6.</p>
<p>It is important to note that, under the Community Promise, anyone can freely implement these specifications with their technology, code, and solutions.</p>
<p>You do not need to sign a license agreement, or otherwise communicate to Microsoft how you will implement the specifications.</p>
<p>The Promise applies to developers, distributors, and users of Covered Implementations without regard to the development model that created the implementations, the type of copyright licenses under which it is distributed, or the associated business model.</p>
<p>Under the Community Promise, Microsoft provides assurance that it will not assert its Necessary Claims against anyone who makes, uses, sells, offers for sale, imports, or distributes any Covered Implementation under any type of development or distribution model, including open-source licensing models such as the LGPL or GPL.</p>
<p>You can find the terms of the Microsoft Community Promise <a href="http://www.microsoft.com/interop/cp/default.mspx">here</a>.</p>
<p>I told you this was good news!
</p></blockquote>
<p>Of course this isn&#8217;t a legal document by any means. But if you take it for what its worth, its a decent step forward. The problem with .Net and this agreement however is that it doesn&#8217;t cross over to the vertical components of their runtime, like Windows.Forms and ASP.NET. So I guess you can feel free to write free and open source code while using the Mono libraries which are not re-implementations of the Windows counterparts (like <a href="http://www.mono-project.com/GtkSharp">Gtk#</a>)</p>
<p>You can read more about this on Miguel de Icaza&#8217;s blog <a href="http://tirania.org/blog/archive/2009/Jul-06.html">here</a>.</p>
<p>More of the beginning of the end for Java?</p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2009/07/06/microsofts-community-promise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big Monitors, Window Management Frustration, and finding StumpWM</title>
		<link>http://yannramin.com/2008/08/07/big-monitors-window-management-frustration-and-finding-stumpwm/</link>
		<comments>http://yannramin.com/2008/08/07/big-monitors-window-management-frustration-and-finding-stumpwm/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 06:08:32 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[window manager]]></category>

		<guid isPermaLink="false">http://yannramin.com/?p=86</guid>
		<description><![CDATA[You may be like me, and have a large (20&#8243;+, or especially 30&#8243; in this case) monitor attached to your computer. You&#8217;re also a avid computer user and have more than one program open at a time which you want to view simultaneously. You also use the keyboard much more than the mouse (except when [...]]]></description>
			<content:encoded><![CDATA[<p>You may be like me, and have a large (20&#8243;+, or especially 30&#8243; in this case) monitor attached to your computer. You&#8217;re also a avid computer user and have more than one program open at a time which you want to view simultaneously. You also use the keyboard much more than the mouse (except when lazily surfing the web). How often have you noticed spending large amounts of time moving your windows around, resizing, moving, rearranging, and all the normal window management jazz? How often do you find yourself switching among windows with alt-tab, just to refer to some information which is currently obscured by the window you&#8217;re currently in? If your answer is very often, then you may be a candidate for what is known as a <a href="http://en.wikipedia.org/wiki/Tiling_window_manager">Tiling window manager</a>.</p>
<p>I&#8217;ve been using both KDE and Gnome on Linux for many years, and also use the Redmond user-interface (aka Windows). I also own a Mac. The Macintosh (OS X) and Windows are similar models, and Gnome and KDE are even more similar to Windows. Now, I am not saying that either interface is unusable, but it is an inefficient choice if you fall into the categories above. </p>
<p>Granted, the classic window management paradigms are very familiar. I won&#8217;t say natural, since computers are really not natural, they&#8217;re a learned behavior. Computers only feel natural when they operate in a similar fashion to other computers you&#8217;ve used or seen in the past. The problem with this user interface paradigm is becoming apparent as screen sizes grow (and shrink!). Your desktop is simply far too large to use properly in its overlapping window mode. Plus all the mouse work moves you away from your primary user interface device: the keyboard.</p>
<p>Many program designers have noticed this. They&#8217;ve moved away from the nightmare of MDI (multiple overlapping windows inside of your overlapping window), and developed <i>docking</i> elements. The toolbar you can dock and move. The properties editor on the right. You can&#8217;t (generally) overlap the dockable elements. But in all cases, the elements are on the side or around your document or main view. Stuff stays put, is intelligently placed, and doesn&#8217;t get in your way constantly. Why can&#8217;t a window manager work the same way? But it can! Enter the <a href="http://en.wikipedia.org/wiki/Tiling_window_manager">Tiling window manager</a>.</p>
<p>I like <a href="http://www.nongnu.org/stumpwm/">StumpWM</a>, which is a tiling window manager modeled after ratpoison (and all other tiling managers before it). Its command set is a good mix of GNU Screen and emacs. Its also written in pure Common Lisp. There are other tiling managers out there, such as my second favorite, <a href="http://www.xmonad.org/">XMonad</a>, which can even work flawlessly in Gnome and KDE (or mostly flawlessly anyway). XMonad has the advantage of automatic layout modes which StumpWM currently lacks. I didn&#8217;t particularly like Ion3 or WmII: the multi-monitor support is not as developed as StumpWM), plus Ion3 open-source development <a href="http://en.wikipedia.org/wiki/Ion_(window_manager)">could be at risk. </a>.</p>
<p>I&#8217;ve been using StumpWM for a couple of days. I am trying to quit Gnome cold-turkey, and so far have been successful. All of my applications work. The few gnome specific management applications I used I&#8217;ve managed to replace (such as NetworkManager for the laptop). My environment is lighter without the 50 background processes Gnome uses for automagic abilities (HAL, DBUS, etc). It doesn&#8217;t suffer the &#8220;users like simple, so lets not complicate stuff&#8221; philosophy Gnome uses in several places (an example: gnome-screensaver vs xscreensaver). Plus, <b>I can use the keyboard almost exclusively, only touching the mouse to use certain applications</b>. All window operations are entirely keyboard driven.</p>
<p>But if you&#8217;re not trying to quit Gnome completely, both window managers can show the normal Gnome panel for you. One thing you&#8217;ll have to scrap is the Desktop paradigm &#8211; you can put a picture on your root window, but the cluttered mass of icons isn&#8217;t available &#8211; you&#8217;ve put something far more useful there instead. Your applications.</p>
<p>It may seem scary at first, but I encourage you to try a tiling manager. Give yourself several hours of dedicated time. Will yourself not to switch back to the old familiar interface. Print out the quick reference or the whole manual, just in case you get lost in how to move around <img src='http://yannramin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Its well worth the effort.</p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2008/08/07/big-monitors-window-management-frustration-and-finding-stumpwm/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>&#8220;Hacking&#8221; fglrx 8.40+ to work with FireGL Cards</title>
		<link>http://yannramin.com/2007/10/23/hacking-fglrx-840-to-work-with-firegl-cards/</link>
		<comments>http://yannramin.com/2007/10/23/hacking-fglrx-840-to-work-with-firegl-cards/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 04:09:43 +0000</pubDate>
		<dc:creator>Yann</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Other Stuff]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://yannramin.com/2007/10/23/hacking-fglrx-840-to-work-with-firegl-cards/</guid>
		<description><![CDATA[So, long story short. I have a ThinkPad T60P, non-widescreen edition. I run Ubuntu 7.10 Gustry on it (after Windows did a suicide on its self). It features a Mobility Radeon FireGL V5200 (the Widescreen models may use a V5250 &#8211; you&#8217;ve been warned) . Out of the box, the last fglrx driver to support [...]]]></description>
			<content:encoded><![CDATA[<p>So, long story short. I have a ThinkPad T60P, non-widescreen edition. I run Ubuntu 7.10 Gustry on it (after Windows did a suicide on its self).</p>
<p>It features a Mobility Radeon FireGL V5200 (the Widescreen models may use a V5250 &#8211; you&#8217;ve been warned) . Out of the box, the last fglrx driver to support this card is 8.35. Yes, the FireGL driver doesn&#8217;t support FireGL cards anymore, so says the top-notch driver division at ATI.</p>
<p>The 8.35 driver has some important breakages:</p>
<p>- Can&#8217;t suspend or resume (on Kernels with a SLUB allocator, like Ubuntu)</p>
<p>- Can&#8217;t hibernate (ditto)</p>
<p>- Weird things happen when you&#8217;re dual monitored and start X without a monitor connected.</p>
<p>-</p>
<p>But, perhaps the 8.42.3 driver, hot off the presses, fixes some of that right?  I sought to find out.</p>
<p>The biggest hurdle is 8.42.3 doesn&#8217;t support FireGL cards. Ooops. But thanks to these forum posts and mini-patch, it is possible to use the card. For the record, I&#8217;m using the provided defaults for CARDIDs.</p>
<p><a href=" http://www.phoronix.com/forums/showthread.php?t=5203"> http://www.phoronix.com/forums/showthread.php?t=5203</a></p>
<p>Next up, you have to grab a 8.35 installer packet, extract it (&#8211;extract), and then copy common/ati/control over /etc/ati/control, or you&#8217;re forever running around with a fantastic watermark in the right corner (whoever thought that was a great idea at ATI deserves to get shot).</p>
<p>So, after mucking with it for an hour, I&#8217;ve concluded</p>
<p>- Suspend works, but resume does not, when in multiple monitor mode (wtf)</p>
<p>- Ditto for hibernate</p>
<p>- Compiz runs, but doesn&#8217;t really work well at all.</p>
<p>This is in stark contrast to the NVidia-GLX driver, which I use on my desktop, and is a fantastic piece of work, never breaks, and delivers outstanding performance.</p>
<p>Maybe 8.42.4&#8230; Or RadeonHD. Or just buy a new laptop with n Nvidia card.</p>
]]></content:encoded>
			<wfw:commentRss>http://yannramin.com/2007/10/23/hacking-fglrx-840-to-work-with-firegl-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.316 seconds -->
