<?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>Duncan Mac-Vicar P. &#187; linux</title>
	<atom:link href="http://duncan.mac-vicar.com/blog/archives/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://duncan.mac-vicar.com/blog</link>
	<description>homepage</description>
	<lastBuildDate>Fri, 26 Feb 2010 12:26:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to gain root in a HTC Hero (aka G2 Touch) phone</title>
		<link>http://duncan.mac-vicar.com/blog/archives/588#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/588#comments</comments>
		<pubDate>Tue, 29 Sep 2009 21:19:58 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/?p=588</guid>
		<description><![CDATA[DISCLAIMER: I am not recommending you to root your phone and if you are not sure what for or what are the consequences of doing it (including your warranty), then don&#8217;t do it. This post is only an explanation on how to do it. Also I am not responsible for any damage to your phone, [...]]]></description>
			<content:encoded><![CDATA[<p><em>DISCLAIMER</em>: I am not recommending you to root your phone and if you are not sure what for or what are the consequences of doing it (including your warranty), then don&#8217;t do it. This post is only an explanation on <em>how</em> to do it. Also I am not responsible for any damage to your phone, including bricking it.</p>

<p>First, download Android SDK 1.5 from <a href="http://developer.android.com/sdk/1.5_r3/index.html">here</a>, unpack it and go to the tools/ directory.</p>

<p>My first problem:</p>

<pre>
./adb shell
error: device not found
</pre>

<pre>
./adb devices                        
List of devices attached                                                                  
</pre>

<p>Reading around I found out how to fix it, and then realized it was documented <a href="http://developer.android.com/guide/developing/device.html">here</a></p>

<p>Create a file /etc/udev/rules.d/90-android.rules with the following content:</p>

<pre>
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c02",SYMLINK+="android_adb"
SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c01",SYMLINK+="android_fastboot"
</pre>

<p>And restart udev by doing killall -HUP udevd, then unplug and plug the phone.</p>

<p>Now, get <a href="http://rapidshare.com/files/281026171/Recovery-RA-HERO-v1.2.2.img">Recovery-RA-HERO-v1.2.2.img</a> and <a href="http://member.america.htc.com/download/RomCode/ADP/fastboot.zip">fastboot</a> (unpack and chmod +x this one), and put them somewhere, or as this example assumes, in the same tools/ directory.</p>

<p>Now boot the recovery image:</p>

<pre>
./adb shell reboot bootloader
./fastboot boot Recovery-RA-HERO-v1.2.2.img
</pre>

<p>You can use the NDroid Backup option to backup your phone to the SDCard.</p>

<p>Get <a href="http://forum.xda-developers.com/attachment.php?attachmentid=211569&amp;d=1249225060">Superuser.zip</a> (requires registration in the xda-developers phorum) and unpack it. You will get two files from there: &#8220;Superuser.apk&#8221; and &#8220;su&#8221;.</p>

<pre>
./adb shell mount /system
./adb push su /system/bin/
./adb shell chmod 4755 /system/bin/su
./adb push Superuser.apk /system/app/
./adb shell reboot
</pre>

<p>Now confirm that it worked:</p>

<pre>
./adb shell
su
</pre>

<p>(Click Always allow on the phone)</p>

<p>And that is!.</p>

<p>If you need to restore your NDroid backup, I haven&#8217;t tried, but you can do it from the recovery image or manually pointing it to the images:</p>

<pre>
fastboot flash boot <path-to>/boot.img
fastboot flash system <path-to>/system.img
fastboot flash userdata <path-to>/data.img
fastboot reboot
</pre>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/588/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Looking at DSP1023 (Software Inventory) and DSP1025 (Software Updates) CIM profiles</title>
		<link>http://duncan.mac-vicar.com/blog/archives/436#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/436#comments</comments>
		<pubDate>Fri, 14 Nov 2008 16:15:42 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[cim]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/?p=436</guid>
		<description><![CDATA[Yesterday I sat together with Stefan Haas in front of the whiteboard and analyzed the specification of the DSP1023 (Software Inventory) and DSP1025 (Software Updates) CIM profiles, from the DMTF.

Our goal was to understand it, and therefore we tried to map the concept to the knowledge we already have, which is Linux software management (which [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I sat together with <a href="http://en.opensuse.org/User:Haass">Stefan Haas</a> in front of the whiteboard and analyzed the specification of the <a href="http://www.dmtf.org/standards/published_documents/DSP1023_1.0.0.pdf">DSP1023 (Software Inventory)</a> and <a href="http://www.dmtf.org/standards/published_documents/DSP1025.pdf">DSP1025 (Software Updates)</a> <a href="http://www.dmtf.org/standards/profiles/">CIM profiles</a>, from the <a href="http://www.dmtf.org">DMTF</a>.</p>

<p>Our goal was to understand it, and therefore we tried to map the concept to the knowledge we already have, which is Linux software management (which in turn can be reduced almost to packages <img src='http://duncan.mac-vicar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Here are our notes:</p>

<p>(For simplicity, I am skipping the CIM_ prefix for all classes)</p>

<h3>Packages</h3>

<p>Packages are represented as usual NVRs (name, version, release) using the SoftwareIdentity class.</p>

<p>The url of the package is represented associating the SoftwareIdentity with url instances (SoftwareIdentityResources) trough a SAPAvailableForElement association. Products, subpackages and components can be modeled by using OrderedComponent class, which references the component and one member per instance.</p>

<p>One can associate hardware (or any managed element) with software using ElementSoftwareIdentity</p>

<h3>Repositories</h3>

<p>Repos are modeled by using SystemSpecificCollection and associated via HostedCollection to a system (that seems to be the local computer).</p>

<p>Packages are associated to the repository via the MemberOfCollection class.</p>

<p>Installed packages are represented by instances of InstalledSoftwareIdentity (which references the ComputerSystem where it is installed).</p>

<h3>Groups, Patterns</h3>

<p>Just another software identity (for the group itself), and references the grouped identities using OrderedComponent instances (which has two fields, the GroupComponent and PartComponent, which reference the respective instances).</p>

<h3>Dependencies</h3>

<p>If the target software does not have and instance, a SoftwareIdentity is created and isEntity set to false (kind of named dependency)
For dependencies that exists software collection, then OrderedDependency is  instantiated for each dependency and Antecedent and Dependent is filled)</p>

<p>For installing the packages, a SoftwareInstallationService is needed.
Packages can be installed calling installFromSoftwareIdentity() (name, version release instance) or installFromByteStream() (like an rpm package).</p>

<p>To define an installation service, the SoftwareInstallationService class need to specify what it supports by instantiating SoftwareInstallationServiceCapabilities (which has properties like the supported URI schemes), and then this capabilities are associated back to the service using ElementCapabilities.</p>

<p>To define whether a package is compatible with a given target, one uses the TargetTypes array in the SoftwareIdentity class.</p>

<p>If a SoftwareIdentity is available and there is some SoftwareInstallationService that is compatible (or capable) of installing it, a instance of the ServiceAffectsElement needs to be instantiated.</p>

<p>Before actually installing or updating, the client checks if a SoftwareIdentity can be installed on a element, using the CheckSoftwareIdentity() method on the SoftwareInstallationService. You give this method the software itself, the collection and the target element. You get back a InstallCharacteristics with the details (for example if you need to reboot after installing or not).</p>

<p>Once you start the operation using InstallFromSoftwareIdentity(), you get back a Job instance that represent the task. Also true for InstallFromByteStream(), but here you pass an Image instance instead of a SoftwareIdentity. There is a similar InstallFromURI operation too. (jobs are only returned if the service has async capabilities).</p>

<p>The client can pass options to the install operation using InstallOptionValues.</p>

<p>TODO: figure out ElementSoftwareStatus more.</p>

<p>Additionally, you can <a href="http://docs.hp.com/en/5992-1936/ar01s03.html">see how HP has implemented the inventory profile with rpm</a>. It has some useful information about which rpm tags belong to which classes properties for example.</p>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/436/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Critical thermal shutdown on Thinkpad x60</title>
		<link>http://duncan.mac-vicar.com/blog/archives/336#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/336#comments</comments>
		<pubDate>Wed, 10 Sep 2008 07:35:14 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[notfunny]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/336</guid>
		<description><![CDATA[At the beginning it looked like some material for the Linuxhater blog  

It happened a couple of times before, while working on my my X60 and suddenly the computer switched to shutdown mode and turned off. Uh? annoying!

Yesterday it happened again, and this time I was able to find the answer in the logs:

Sep [...]]]></description>
			<content:encoded><![CDATA[<p>At the beginning it looked like some material for the <a href="http://linuxhaters.blogspot.com">Linuxhater blog</a> <img src='http://duncan.mac-vicar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>It happened a couple of times before, while working on my my X60 and suddenly the computer switched to shutdown mode and turned off. Uh? annoying!</p>

<p>Yesterday it happened again, and this time I was able to find the answer in the logs:</p>

<pre><code>Sep 10 01:29:26 piscolita powersaved[2658]: WARNING (checkTemperatureStateChanges:217) 
Temperature state changed to critical.
Sep 10 01:29:26 piscolita kernel: Critical temperature reached (128 C), shutting down.
Sep 10 01:29:26 piscolita shutdown[15371]: shutting down for system halt
</code></pre>

<p>Then googling I found out it <a href="http://lkml.org/lkml/2008/8/6/192">is a bug in the kernel</a> (<a href="http://groups.google.com/group/linux.kernel/browse_thread/thread/46bd42cb74351c7d/beb6f414fce8b331?lnk=raot">google groups link, prettier</a>), and it seems there is a patch for it. I think this is a good backport candidate for 11.0 updates.</p>

<p><em>update</em>: tracking as <a href="https://bugzilla.novell.com/show_bug.cgi?id=425077">bug #425077</a></p>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/336/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZYpp stack on other distributions?</title>
		<link>http://duncan.mac-vicar.com/blog/archives/300#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/300#comments</comments>
		<pubDate>Fri, 14 Mar 2008 17:01:17 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mandriva]]></category>
		<category><![CDATA[zypper]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/300</guid>
		<description><![CDATA[Keeping a permanent build of svn on the build service motivated me to try to build it on other non-SUSE based distros. On the way I discovered not only simple things as different package names, but linking problems, compile errors, etc.

In the past it did not make much sense to try libzypp outside of SUSE [...]]]></description>
			<content:encoded><![CDATA[<p>Keeping a permanent build of svn on the build service motivated me to try to build it on other non-SUSE based distros. On the way I discovered not only simple things as different package names, but linking problems, compile errors, etc.</p>

<p>In the past it did not make much sense to try libzypp outside of SUSE as we were trying to catchup with other tools speed. But now that libzypp speed outperforms any other tool in speed, while keeping it complete set of features, we may start thinking about taking over the world. May be other distros want to use libzypp, or why not, the small and powerful sat-solver library alone.</p>

<p>So, since today I got the first successful build of <a href="https://build.opensuse.org/project/monitor?project=zypp%3Asvn">sat-solver/libzypp/zypper</a> on <a href="http://fedoraproject.org/">Fedora 8</a>. Mandriva is also close, but I still get a compiler error I should not get when compiling the rpm backend.</p>

<p>At the beginning, it may be a consuming effort, but once it is a continuous process, our software should adopt a more agnostic view of the world and just compile there out of the box. If anyone has the time to test it, I would be interested in the results <img src='http://duncan.mac-vicar.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </p>

<p>By the way, our colleagues at internal tools finished processing the FOSDEM talk&#8217;s videos we had in the openSUSE Developer&#8217;s room. You can find the ogg video files <a href="http://tube.opensuse.org/">here</a>. Also you can watch on <a href="http://video.google.de/videosearch?q=FOSDEM2008+site%3Avideo.google.com&amp;amp;num=10&amp;amp;so=0&amp;amp;hl=de&amp;amp;start=0">google video here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/300/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fast package management</title>
		<link>http://duncan.mac-vicar.com/blog/archives/296#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/296#comments</comments>
		<pubDate>Thu, 07 Feb 2008 15:04:20 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/296</guid>
		<description><![CDATA[I haven&#8217;t blogged since some time. We have been working hard to get package management stack changes in so we can have them in one of the next alphas. I wanted to make a small pause and write about it because communication is (sometimes) as important as coding  .

See it yourself:



video link.

History

You know how [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t blogged since some time. We have been working hard to get package management stack changes in so we can have them in one of the next alphas. I wanted to make a small pause and write about it because communication is (sometimes) as important as coding <img src='http://duncan.mac-vicar.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>

<p>See it yourself:</p>

<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/XB3o4Skka5Q&#038;rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/XB3o4Skka5Q&#038;rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>

<p><a href="http://www.youtube.com/watch?v=XB3o4Skka5Q">video link</a>.</p>

<h3>History</h3>

<p>You know how was the package management stack on 10.1. On 10.3 we reached a point where we were fast enough, but with really bad performances in some cases, especially cold starts, and big lists of repositories, which is usually the usecase where the people complaining about speed are: factory users. Some of this bad performance was caused by design mistakes (like not using 1 db per repository), and others because sqlite horrible performance after fragmentation occurs.</p>

<p>This started sometime last year, when Michael Schröder started to show some people a <a href="http://en.opensuse.org/Libzypp/Sat_Solver">new solver</a> which was much faster than current libzypp solver. At the same time, he designed some memory and cpu efficient structures and file formats to deal with the huge amounts of metadata. The solver operated later over this optimized pool.</p>

<p>One of the features of the solver is its simplicity. Current libzypp operates over a dependency problem at the resolvable level while the sat solver converts the pool into a set of rules and then operates the problem as a <a href="http://en.wikipedia.org/wiki/Boolean_satisfiability_problem">boolean satisfiability problem</a>, which makes it codebase concentrate only on this, making it much smaller and simpler. The error messages on conflicts are supposed to be more human friendly too.</p>

<h3>The Road</h3>

<p>During the YaST workshop times, <a href="http://www.kdedevelopers.org/blog/124">coolo</a> started to try the libzypp testsuite with the solver, by creating tools to use the existing testcases with it, and making sure it could serve as our solver.</p>

<p>Once coolo came and said, &#8220;ok, all testcases pass&#8221;. So we met and agreed on some milestones to see the feasibility of integration with libzypp. One of the milestones was to use the new solver without replacing all the infrastructure libzypp had. That is, taking libzypp pool, converting the transactions into rules, solve, convert them back. Stefan Schubert did a great work in this area, and actually if you are using factory you are already using the sat solver.</p>

<p>To familiarize myself with the solver at that time, I ported it to build with cmake and implemented swig bindings (focusing on ruby ones), which later <a href="http://kkaempf.blogspot.com">Klaus</a> started to enhance and experiment new concepts on top of them.</p>

<p>There was one part the sat solver did not take into account and it was the huge amount of non-solvable data you need to have cached. It is easy to claim to be fast if you ignore 95% of the data, so Michael Matz started to enhance the sat library by designing a special attribute store for repository metadata. The final concept and implementation was submited some weeks ago and it is really fast.</p>

<p>During January, Michael Andres got rid of thousands of lines of code in libzypp, keeping the nice APIs but trying to build everything on top of the sat library. I ported some classes like RepoManager, and later this week the final pieces were connected when Michael connected our Pool class with the sat pool which allows to &#8220;see&#8221; the packages &#8220;world&#8221; to applications. I ported zypper and YaST package bindings and Michael Matz told us yesterday he actually installed packages using zypper.</p>

<p>The whole stack is now designed as unix tools, so this will allow our repositories to ship solv files, which can in turn be downloaded by libzypp. So you don&#8217;t need to generate a cache locally if the solv file is already available on the server. This is not implemented yet.</p>

<p>There also other open issues. We don&#8217;t parse translations and only the suse media parser stores attributes like descriptions. Patches and packages are not installed (but this has also another reason I will talk about it later). The package management user interface won&#8217;t compile (I haven&#8217;t tried) yet.</p>

<p>This new level of performance would allow us to bring package management on openSUSE not to the smart or yum level, but a complete new generation ahead. And this will open the door for smooth integration with CIM and PackageKit and will bring fresh air during the road to the next generation of SLES and SLED.</p>

<p>If you are an openSUSE contributor, we do need help with testing, and there are lot of &#8220;mechanical&#8221; jobs to do which don&#8217;t require much experience with the platform (but compiling). If you want to see this in 11.0 and can contribute, please <a href="http://lists.opensuse.org/zypp-devel/">contact us</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/296/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Nokia To Acquire Trolltech</title>
		<link>http://duncan.mac-vicar.com/blog/archives/294#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/294#comments</comments>
		<pubDate>Mon, 28 Jan 2008 10:37:52 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/294</guid>
		<description><![CDATA[From OSNews:


  Trolltech, the originator of Qt, which forms the basis of the Linux KDE desktop environment, is being acquired by Nokia, the world&#8217;s number-one mobile phone vendor. Nokia expects its acquisition of Trolltech to accelerate its cross-platform software strategy for mobile devices and desktop applications, and to enhance its Internet services business. The [...]]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://osnews.com/story/19227/Nokia-To-Acquire-Trolltech">OSNews</a>:</p>

<blockquote>
  <p>Trolltech, the originator of Qt, which forms the basis of the Linux KDE desktop environment, is being acquired by Nokia, the world&#8217;s number-one mobile phone vendor. Nokia expects its acquisition of Trolltech to accelerate its cross-platform software strategy for mobile devices and desktop applications, and to enhance its Internet services business. The original press release is also available. Update: &#8220;We will continue to actively develop Qt and Qtopia. We also want to underline that we will continue to support the open source community by continuing to release these technologies under the GPL.&#8221;</p>
</blockquote>

<p>Some <a href="http://macslow.thepimp.net/?p=157">gnomies</a> are already starting to panic. What will happen to <a href="http://maemo.org/">Maemo</a>? Has Symbian reason to panic too? <img src='http://duncan.mac-vicar.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>Was this move motivated by <a href="http://code.google.com/android/">Android</a> ?</p>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/294/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Cool things in a cold day</title>
		<link>http://duncan.mac-vicar.com/blog/archives/280#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/280#comments</comments>
		<pubDate>Wed, 14 Nov 2007 08:14:59 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[germany]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kopete]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/280</guid>
		<description><![CDATA[Nice surprise today:




ITO time spent on YaST. No success yet with Wt. It does not provide something like Qt&#8217;s QSocketNotifier, or glib&#8217;s gioadd_watch which integrate themselves with the event loop. Did a hack with a standard select and a timeout, did not work. Even worse, Wt crashes on processEvents().
Will hosted a hack session on Saturday. [...]]]></description>
			<content:encoded><![CDATA[<p>Nice surprise today:</p>

<p><a href="http://www.flickr.com/photos/duncanmac-vicar/2014265816/" title="Schnee by duncan.mac-vicar, on Flickr"><img src="http://farm3.static.flickr.com/2107/2014265816_db0aa389be_m.jpg" width="240" height="180" alt="Schnee" /></a></p>

<ul>
<li><p>ITO time spent on YaST. No success yet with <a href="http://www.webtoolkit.eu/wt/">Wt</a>. It does not provide something like Qt&#8217;s QSocketNotifier, or glib&#8217;s g<em>io</em>add_watch which integrate themselves with the event loop. Did a hack with a standard select and a timeout, did not work. Even worse, Wt crashes on processEvents().</p></li>
<li><p>Will hosted a hack session on Saturday. While I did not get any code done, I got motivated by the Kopete 4.x state to continue working on it at home. Yesterday I commited my chat window participants view code for Kopete. It simplifies the code and the signal battle a lot. I still have to fix some issues.</p></li>
<li><p>The <a href="http://code.google.com/android/index.html">Android stuff</a> is so cool. Read this post about <a href="http://www.betaversion.org/~stefano/linotype/news/110/">Dalvik: how Google routed around Sun&#8217;s IP-based licensing restrictions on Java ME</a>. The <a href="http://code.google.com/android/intro/lifecycle.html">Activity, Services and Intents</a> model seems natural for other scenarios, not only mobiles.</p></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/280/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Random comments of openSUSE 10.3 on Slashdot</title>
		<link>http://duncan.mac-vicar.com/blog/archives/269#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/269#comments</comments>
		<pubDate>Thu, 04 Oct 2007 22:34:03 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/269</guid>
		<description><![CDATA[One:


  I&#8217;m using it, and yes, its fixed. It&#8217;s cached, and at each package manager startup it checks the cache versus the online version, and even if it needs update the cache update is an order of magnitude faster than a normal startup of the package manager used to be.
  
  It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://linux.slashdot.org/comments.pl?sid=318231&amp;cid=20858081">One:</a></p>

<blockquote>
  <p>I&#8217;m using it, and yes, its fixed. It&#8217;s cached, and at each package manager startup it checks the cache versus the online version, and even if it needs update the cache update is an order of magnitude faster than a normal startup of the package manager used to be.</p>
  
  <p>It&#8217;s quite useable now; time from clicking &#8220;software manager&#8221; to a usable interface is similar to using SMART.</p>
  
  <p>Speed s ems to be one of the primary focuses of this release; from the package manager to the boot sequence.</p>
</blockquote>

<p><a href="http://linux.slashdot.org/comments.pl?sid=318231&amp;cid=20857427">Two:</a></p>

<blockquote>
  <p>I&#8217;ve just installed a new OpenSUSE. All these little bugs from previous releases are gone. Yast software installer finally works with a good speed. Desktop responsiveness is amazing &#8211; KDE 3.7 works faster than GUI of Windows 2000. The default green artwork is very nice and gives a distinct feeling to this distro. Hardware detection is very good. My graphic card &#8211; nvidia 7600 and audio card &#8211; Creative Audigy 2 were working out of the box. Even installation of ADSL modem was a breeze &#8211; it is a cheap Sagem modem, used by the all telcos controlled by France Telecom, and most linux distros has problems with it.</p>
  
  <p>What is especially important to people in countries with stupid law (read USA) &#8211; OpenSUSE gives you mp3 playback out of box, due to legal fluendo gstreamer plugins. In addition, there are provided Flash 9, newest Java runtimes, RealPlayer and seamless Wi-Fi support.</p>
  
  <p>In the last year I&#8217;ve tried quite a few linux distros &#8211; Fedora, Ubuntu, Sabayon, Mint, Mandriva&#8230; nothing even come close to the OpenSUSE. Quality of Deutsch engineering.</p>
</blockquote>

<p><a href="http://linux.slashdot.org/comments.pl?sid=318231&amp;cid=20856407">Another:</a></p>

<blockquote>
  <p>I installed it last night&#8230;&#8230;..it&#8217;s beautiful. Definitely worth checking out <img src='http://duncan.mac-vicar.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
</blockquote>

<p><a href="http://linux.slashdot.org/comments.pl?sid=318231&amp;cid=20858213">More!:</a></p>

<blockquote>
  <p>YaST was borked for 10.1 and 10.2. It made sense to try and use an alternative package manager.</p>
  
  <p>As 10.2 matured, YaST started to work properly, but was slow.</p>
  
  <p>In 10.3, YaST is quite speedy, very capable, and runs very solidly. Plus, the one-click-install thing works really well.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/269/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>yast2-ruby-bindings user interface support</title>
		<link>http://duncan.mac-vicar.com/blog/archives/266#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/266#comments</comments>
		<pubDate>Wed, 19 Sep 2007 15:56:50 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/266</guid>
		<description><![CDATA[I just commited support for using the user interface (yes, that is Qt, GTK or ncurses) from the ruby language:


require 'yast'
ui = YaST::Module.new("UI")
YaST::Ui::init("qt")
include YaST::Ui

t = HBox( Label("Welcome to Ruby!"), PushButton("Push me") )

puts "#{t.to_s} #{t.class}"

ui.OpenDialog(t)
ui.UserInput()


Result:

]]></description>
			<content:encoded><![CDATA[<p>I just commited support for using the user interface (yes, that is Qt, GTK or ncurses) from the ruby language:</p>

<pre name="code" class="ruby">
require 'yast'
ui = YaST::Module.new("UI")
YaST::Ui::init("qt")
include YaST::Ui

t = HBox( Label("Welcome to Ruby!"), PushButton("Push me") )

puts "#{t.to_s} #{t.class}"

ui.OpenDialog(t)
ui.UserInput()
</pre>

<p>Result:
<a href="http://img215.imageshack.us/my.php?image=yastrubyuibq5.png"><img src="http://img215.imageshack.us/img215/3605/yastrubyuibq5.png" border="0" alt="Image Hosted by ImageShack.us" /></a><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/266/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Darl McBride interview</title>
		<link>http://duncan.mac-vicar.com/blog/archives/265#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://duncan.mac-vicar.com/blog/archives/265#comments</comments>
		<pubDate>Tue, 11 Sep 2007 08:37:52 +0000</pubDate>
		<dc:creator>duncan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://duncan.mac-vicar.com/blog/archives/265</guid>
		<description><![CDATA[Interesting interview to the most hated man in software, the CEO and president of the litigation and former software company SCO, Darl McBride.

Best quote:


  Then in the &#8220;excluded assets&#8221; it says, &#8220;excluding copyrights and patents.&#8221; Well, that&#8217;s the thing that never made sense. So when I first hired on (at) the company, we had [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.wired.com/monkeybites/2007/09/wired-news-talk.html">Interesting interview</a> to the most hated man in software, the CEO and president of the litigation and former software company SCO, Darl McBride.</p>

<p>Best quote:</p>

<blockquote>
  <p>Then in the &#8220;excluded assets&#8221; it says, &#8220;excluding copyrights and patents.&#8221; Well, that&#8217;s the thing that never made sense. So when I first hired on (at) the company, we had intellectual property attorneys look at that, and they said, &#8220;This makes no sense.&#8221; You can&#8217;t buy software without the copyright. It&#8217;s like buying a book without the words. It doesn&#8217;t make any sense at all&#8230;.</p>
</blockquote>

<p>What are millions of users doing with proprietary software? Buying licenses. Buying &#8220;some rights&#8221; (to use, for example), not the copyright. When you buy a book. It comes with the words, but you don&#8217;t get the copyright.</p>

<p>Even with free software, you get a super-combo of rights which allow you to do anything except restricting those rights to someone. But still you don&#8217;t get the copyright <img src='http://duncan.mac-vicar.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://duncan.mac-vicar.com/blog/archives/265/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
