<?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>Roads Less Taken</title>
	<atom:link href="http://goran.krampe.se/feed/" rel="self" type="application/rss+xml" />
	<link>http://goran.krampe.se</link>
	<description>&#34;And that has made all the difference.&#34;</description>
	<lastBuildDate>Mon, 07 May 2012 22:11:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Literal arrays vs JSON vs STON vs Tirade</title>
		<link>http://goran.krampe.se/2012/05/08/literal-arrays-vs-json-vs-ston-vs-tirade/</link>
		<comments>http://goran.krampe.se/2012/05/08/literal-arrays-vs-json-vs-ston-vs-tirade/#comments</comments>
		<pubDate>Mon, 07 May 2012 22:11:22 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Amber]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[Squeak]]></category>
		<category><![CDATA[Tirade]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[smalltalk]]></category>
		<category><![CDATA[STON]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/?p=177</guid>
		<description><![CDATA[Recently there were a range of threads on the pharo-dev mailinglist discussing the textual format to use for Smalltalk source code metadata. The discussion veered off from the specific use case but basically four different formats were discussed and compared, of which one I am the author. And oh, sorry for the formatting of this [...]]]></description>
			<content:encoded><![CDATA[<p>Recently there were a range of threads on the pharo-dev mailinglist discussing the textual format to use for Smalltalk source code metadata. The discussion veered off from the specific use case but basically four different formats were discussed and compared, of which one I am the author. And oh, sorry for the formatting of this article &#8211; I need to change theme on this blog for better readability.</p>
<h1>JSON</h1>
<p>The first format is <a href="http://json.org">JSON</a>, Javascript Object Notation. JSON is a simple language neutral (despite its name) readable format that is very small to implement. It is a restricted variant of the native JavaScript literal syntax for objects (dictionaries) and arrays. Basically it excels in simplicity but lacks a bit in features, but people tend to ignore those shortcomings due to its widespread adoption. I will not go into describing it, <a href="http://json.org">json.org</a> does a very good job and there are TONS of JSON implementations around.</p>
<h1>STON</h1>
<p>Sven Van Caekenberghe recently created a variation on JSON he calls <a href="https://github.com/svenvc/ston/blob/master/ston-paper.md">STON</a>, Smalltalk Object Notation. STON is basically JSON plus the following:</p>
<ul>
<li><strong>Object references</strong>, the concept of being able to refer to other previously described arrays/objects in the STON file. This is done by number using the @-sign like &#8220;@2&#8243; refers to the second array/object in the file.</li>
<li><strong>Class prefixing</strong>, the idea of annotating arrays and objects (JSON terminology) so that one can instantiate a reasonable class when reading.</li>
<li><strong>Symbols</strong>, simply adding support for a primitive data type for Smalltalk symbols, although I do note &#8211; a limited form of Symbols not allowing the same range of characters in them as Squeak/Pharo does.</li>
</ul>
<p>Then there are a few subtle differences from JSON, like using $&#8217; instead of $&#8221; as string delimiter and nil instead of null, but not much else that I can see. Numbers seem to be exactly the same as in JSON, and escape codes inside strings are also the same, obviously by design.</p>
<p>First I admit that I have not played with STON, my comparison is purely in theory. STON has the same basic positive notes that JSON has, it is small, simple and well defined. <strong>But are the differences worth it?</strong></p>
<p>JSON is everywhere and there are already tons of parsers for it, probably in every Smalltalk on earth, and of course all other languages too. STON on the other hand is Smalltalk only, and as of this writing probably Pharo only, although I admit it must be simple to port.</p>
<p>It boils down to if the additions are worth it and I don&#8217;t think they are. Embedding class names, if needed, could be done in JSON, although slightly inelegantly of course, but one approach would be to wrap each &#8220;typed&#8221; object/array in an object like this:</p>
<pre>ByteArray [1, 2, 3] ==&gt; {"type": "ByteArray", "data": [1, 2, 3]}</pre>
<p>I agree, clunky, but on the other hand I tend to think that the parsing end needs to know the semantics and construction of the JSON anyway &#8211; JSON is too &#8220;simplistic&#8221; to be used as a true generic serialization mechanism and trying to turn it into such a beast by adding types and references, like STON does, is IMHO not that useful.</p>
<p>STON looks neat, but in practice<strong> I don&#8217;t think the benefits outweigh the ubiquity and availability of JSON</strong>. Had it been even <strong>more</strong> different it might have been another story. But if we don&#8217;t think we will use type annotations and circular references &#8211; then why not simply use JSON?</p>
<h2>Literal Smalltalk arrays</h2>
<p>The simplest notation of all in the lineup is the literal array syntax in Smalltalk. The example below covers all its capabilities AFAIK (in Pharo/Squeak), please tell me if I missed anything:</p>
<pre>#(4711 3.4 16r3F 'string' #symbol #'another-symbol' (nested array) #(one more) true false nil $x #[12 32])</pre>
<p>So we have space separated elements and arrays that can nest, with or without #-prefix inside the array. Primitive literals are numbers (full numeric Smalltalk parser, not as limited as JSON/STON), strings (no escape codes, single quotes needs to be doubled), symbols (can handle more characters than STON symbols), character literals, byte array literals and true/false/nil.</p>
<p>Literal arrays are quite nice but they lack the concept of &#8220;associations&#8221; and thus no simple readable way to represent a Dictionary. <strong>And that is a BIG negative</strong>. Funny enough, if we added support for literal dictionaries to Smalltalk then literal arrays would match JSON, with a few extras on the side!</p>
<p>Amber has recently added support for dynamic literal HashedCollections using this syntax:</p>
<pre>#{'hey'-&gt;12 . aString-&gt;'123123'}</pre>
<p>It is simply a dynamic {} array (was introduced originally in Squeak I believe) but with the assumption that the expressions all evaluate to Associations that are limited to a string as key. This is because it will be turned into a HashedCollection which is the Amber counter part of a JavaScript object, and JavaScript objects are limited to having strings as keys (Sidenote: Amber also has a generic Dictionary without that limitation).</p>
<p>Without a syntax for dictionaries, literal arrays, although nifty and syntactically quite compact, are still limited in expression. And of course, while Smalltalk literals are fairly simple to parse, other languages do not typically know how to do it &#8211; and when it comes to numbers, the Smalltalk full range of syntax is perhaps a bit of an overkill if we aim at cross language portability. Having literal syntax for Characters is also clearly of less value, ByteArrays on the other hand are obviously useful.</p>
<h2>Sidestory: Adding literal Dictionaries to Smalltalk?</h2>
<p>Smalltalk only evolves in micro steps every other 10 years, but with the current onslaught of Pharo perhaps there is an opportunity to actually take a few more such steps.</p>
<p>We will see below that Tirade has added support for &#8220;-&gt;&#8221; as a literal syntax instead of being a message send and as I mentioned above Amber has added a special syntax for dynamic Dictionaries, and that was actually done in order to more easily match JavaScript object syntax when interacting with JavaScript.</p>
<p>So perhaps the Smalltalk/Pharo community could decide to add literal Dictionaries to Smalltalk using the Amber &#8220;#{&#8221; syntax? In such a syntax the separators between Associations can probably not be spaces, it gets confusing to read:</p>
<pre>#{ key -&gt; value key2 -&gt; value2 }</pre>
<p>A separator is clearly needed and since we use periods generally for that in Smalltalk it&#8217;s a good choice. Syntactically it could lead people to think it&#8217;s a dynamic Dictionary, but let&#8217;s continue the thought experiment. How would it look? As is customary for #() we can ommit the # inside the array:</p>
<pre>#(123 'hey' {key -&gt; value. key2 -&gt; value} 456)</pre>
<p>It looks fairly nice. However I do admit that we probably should take a long hard look at all our syntaxes and try to bring some harmony to them. Currently, due to legacy, we have literal and dynamic Arrays using #() and {}. A bit unfortunate since we then use both $( and ${ as delimiters for Arrays and make it harder to find good characters for Dictionaries.</p>
<p>It would be nice to have a symmetric syntax. Ideally the leading # could indicate &#8220;literalness&#8221; &#8211; and perhaps we could use another character to indicate dynamic evaluation? Again, just a thought:</p>
<ul>
<li>#() &#8211; literal Array</li>
<li>§() &#8211; dynamic Array, expressions separated by periods.</li>
<li>#{} &#8211; literal Dictionary, literals separated by periods, support for associations as literals.</li>
<li>§{} &#8211; dynamic Dictionary, expressions separated by periods, associations created as usual using sends.</li>
</ul>
<p>Yeah, right, how would we ever be able to reach concensus on a leading dynamic character? <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Also, I do think it is wise to syntactically indicate literal vs dynamic, heuristics only lead to developer traps. Better to clearly indicate intention.</p>
<h1>Tirade</h1>
<p><a href="http://www.squeaksource.com/Tirade.html">Tirade</a> is a format I created for Deltas (ChangeSets improved) and I have written <a href="goran.krampe.se/blog/Squeak/Tirade.rdoc">three</a> articles <a href="goran.krampe.se/blog/Squeak/Tirade2.rdoc">about</a> it <a href="goran.krampe.se/blog/Squeak/Tirade3.rdoc">earlier</a>. Now, if I would at this point subjectively rank the formats along a few axis it could look like this:</p>
<ul>
<li><strong>Interoperability</strong></li>
<ul>
<li>JSON: 100% (all languages has it)</li>
<li>STON: 70% (one could probably tweak a JSON parser in any language to work)</li>
<li>Litarrays: 30% (could get higher score if we limit them, a parser would still have to be written)</li>
<li>Tirade: 20% (same problem as with literal arrays, but even more advanced to parse)</li>
</ul>
<li><strong>Capability</strong></li>
<ul>
<li>Tirade: 100% (has the most features and options, by some margin)</li>
<li>STON: 60% (second best, still not much better than JSON)</li>
<li>JSON: 50%</li>
<li>Litarrays: 40% (severely limited by lack of assocations but has a some features to compensate)</li>
</ul>
<li><strong>Grokkability</strong></li>
<ul>
<li>JSON: 100% (well documented, we all know it and so does the rest of the world)</li>
<li>STON: 90% (rides on JSON)</li>
<li>Litarrays: 80% (not hard but has quite a few quirks)</li>
<li>Tirade: 70% (more or less as hard as literal arrays, but with a few more concepts added)</li>
</ul>
</ul>
<p>Conclusions from the above? Before looking at Tirade I think we can safely say that <strong>JSON is a strong choice</strong>. STON is IMHO in limbo, I can&#8217;t see picking it instead of any of the others in a given situation, sorry. Literal arrays could easily become the obvious &#8220;JSON for Smalltalk&#8221; if it had associations/literal dictioneris, it sucks for interoperability though.</p>
<p>Tirade on the other hand <strong>has associations</strong> (on two levels one could even claim) so it can be viewed as &#8220;JSON++ for Smalltalk&#8221;. But with more features comes a slightly higher learning curve and a penalty in interoperability. We now have set the scene for the last section about Tirade.</p>
<h1>Tirade</h1>
<p>Obviously I am partial, since I created Tirade. But let me try to contrast Tirade to all the others. Note that Tirade was never meant to be interoperable with other languages, it was however designed to be interoperable between different Smalltalk implementations, or at least all Squeak derivatives.</p>
<h2>A stream of messages</h2>
<p>First of all, Tirade is slightly different than the others. They describe a single structure. A valid Tirade &#8220;document&#8221; on the other hand, is a series of &#8220;records&#8221; terminated by periods. Each such &#8220;record&#8221; looks like a Smalltalk message (but without a receiver on the left side), either a unary or a keyword message, like this:</p>
<pre>unaryMessage.
key: 'Hello' word: 'world' message: 4711.</pre>
<p>This high level view as a &#8220;stream of messages&#8221; gives us several nice properties:</p>
<ul>
<li>The selector of the Tirade message is a kind of record &#8220;type&#8221;. It normally maps to a method on the receiving end that handles this record. That method then knows what to do with the arguments, and thus we don&#8217;t need to hard code class names into Tirade, like STON does. <strong>NOTE: This is not a security problem.</strong> There is nothing forcing the parsing end to just blindly perform these messages. In fact, there is nothing forcing the parsing end to be specific at all, it could just be a generic Tirade parser.</li>
<li>If we look at a keyword message we realize that it is very similar to a JSON object, it is basically a &#8220;naked dictionary&#8221; where each key word is&#8230; right, a key! <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So for simple data we need perhaps not make it more complicated than this.</li>
<li>It makes it very easy to extend a Tirade format by simply adding new message selectors that the receiving end can ignore if it wants to.</li>
<li>Since Tirade is a flow of messages instead of a single, potentially quite large, structure like the other three formats, we can naturally stream it and handle each message one by one.</li>
<li>And since we have this flow we can also use &#8220;control messages&#8221; that can instruct the receiving end on how to receive the messages coming next in the flow. One could even use Tirade over a bidirectional link (a SocketStream for example) and do handshaking and client server communication with it.</li>
<li>Finally, in between Tirade messages one can add Smalltalk style comments which are simply skipped by the parser. JSON and STON has no concept of comments.</li>
</ul>
<h2>Smalltalk literals</h2>
<p>The next level of Tirade is what kind of arguments we are allowed to put in between the keywords. Basically its most kinds of Smalltalk literals with some additional constructs. I would also like to point out that this part is not encarved in stone, I am still contemplating the best mix of literal support here. But the main point is that <strong>we only allow literals &#8211; no expressions</strong>, so there is no generic &#8220;eval&#8221; going on here.</p>
<p>Notable differences again compared to JSON/STON on the atomic level are just like with literal arrays:</p>
<ul>
<li>Strings are Smalltalk strings, no escape codes except for double single quote for single quote.</li>
<li>Numbers are Smalltalk literal numbers, in fact we rely on the number parser of Pharo/Squeak. This gives us a rich notation for numbers, at the expense of possible portability issues with other Smalltalks.</li>
</ul>
<p><strong>NOTE:</strong> Tirade doesn&#8217;t currently implement Character literals nor ByteArrays, both can of course be added.</p>
<p>Let&#8217;s continue with the added features for literals.</p>
<h3>Literal feature: Verbatim strings</h3>
<p>A problem with JSON for dealing with readability is that JSON strings can&#8217;t have newlines in them! So if you want to store source code in JSON it will end up as a single very long line.</p>
<p>Smalltalk strings like in Tirade can have newlines in them, but they suffer from double quoting of single quotes and the problem that the single quotes surrounding the string needs to be first on the first line and last on the last line, which makes it less readable.</p>
<p>This is why I came up with verbatim strings in Tirade, specifically for being able to contain unmodified source code in a readable way with no escapes whatsoever. I am not sure if this is the best approach, perhaps here-docs would be a simpler approach, but currently a verbatim string looks like this:</p>
<pre>some: 1 message: 'hey' withVerbatimStringForCode: [
 This is untouched, perfectly unescaped source code, ANY character combinations will work!
 Tirade will split the input on each CR (byte = 13) and then prepend each line with a TAB character.
 This means that the parser can detect the end by looking for the first line starting with "]",
 that must be the end of the verbatim string since all other lines start with TAB.
 Copy paste will work but you will need to care for the TAB indentation, but most editors
 can do that easily. Also, right before and after the string there is a newline added to improve readability.
].</pre>
<h3>Literal feature: Associations</h3>
<p>Since we really want to be able to do dictionaries I first added literal support for Associations. This means &#8220;-&gt;&#8221; is a literal syntax for creating an Association, it doesn&#8217;t need to be in a Dictionary, you can use them wherever you like and the key and value can be ANY literal construct allowed by Tirade, even an Assocation!</p>
<p>Note though that we do not have parenthesis in Tirade (no expressions at all) and the current Tirade parser is a recursive descent bottom up parser so the code below will produce an Assocation with key #key and value an Association 123-&gt;&#8217;123&#8242;. In Smalltalk where #-&gt; is a message this is instead executed from left to right creating a different result.</p>
<pre>cool: #key-&gt;123-&gt;'123'.</pre>
<p>This also means that Tirade can have associations inside literal arrays, which is not syntactically possible in Squeak/Pharo:</p>
<pre>cool: #(12-&gt;'123').</pre>
<p>Finally, since Amber lately added #{} syntax for Dictionaries I think it could be a worthwhile addition to Tirade also.</p>
<h3>Literal feature: Dynamic arrays as literal</h3>
<p>Tirade supports {} style arrays, but doesn&#8217;t allow expressions so they are very much like normal arrays except they do not remove #-prefixes from nested arrays/symbols and they look more natural to Squeakers since Squeak allows Association literals inside them:</p>
<pre>cool: {12-&gt;'123. 'banana'-&gt;true}.</pre>
<p>Is it worth supporting both kinds of arrays? It depends, either Tirade defines a literal subset that is as small as possible, or Tirade tries to cover all literals of Pharo. I was leaning towards a subset but perhaps a super set is more attractive to people.</p>
<h1>Ending thoughts</h1>
<p>I hope this article explained a few things and made at least Tirade a bit clearer. There are several things not fully settled in Tirade and if anyone wants to dig in and tweak it, feel free to email me.</p>
<p>regards, Göran</p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2012/05/08/literal-arrays-vs-json-vs-ston-vs-tirade/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Going Lenovo&#8230;</title>
		<link>http://goran.krampe.se/2012/04/14/going-lenovo/</link>
		<comments>http://goran.krampe.se/2012/04/14/going-lenovo/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 23:02:06 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[lenovo]]></category>
		<category><![CDATA[precise pangolin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ultrabook]]></category>
		<category><![CDATA[x220]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/?p=158</guid>
		<description><![CDATA[When I started my own company about a year ago I ended up buying an ASUS G73JW gaming laptop &#8211; I took a deliberate decision to focus on raw power for decent money and totally ignoring portability. Generally it has served me well, although it does tend to make a lot of fan noise, at [...]]]></description>
			<content:encoded><![CDATA[<p>When I started my own company about a year ago I ended up buying an <a href="http://www.notebookreview.com/default.asp?newsID=5866&amp;review=asus+g73+g73jw">ASUS G73JW</a> gaming laptop &#8211; I took a deliberate decision to focus on raw power for decent money and totally ignoring portability. Generally it has served me well, although it does tend to make a lot of fan noise, at least under Ubuntu. It might work smoother in Windows, but I seldom boot into Windows.</p>
<p>Needless to say though it is a <strong>real ton of bricks</strong> (8.8 lbs = 4 kg) and including the truly fat power supply it simply weared my back down during 2011. I have been carrying this beast in a backpack every day &#8211; and my body eventually said &#8220;enough dammit!&#8221;. <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Ultrabook?</h2>
<p>So I decided to upgrade to some hot new hardware weighing <strong>below 2 kg</strong> and naturally I started looking at the current crop of <a href="http://en.wikipedia.org/wiki/Ultrabook">ultrabooks</a>. And no, Macbook Air is not for me, sorry. After reading lots of reviews my perception is that all of the current Ultrabooks have one problem or another. This may be because of this being the first generation of Ultrabooks in combination with manufacturers pushing the envelope technologically:</p>
<ul>
<li>Keyboards tend to be troublesome given the limitations on thickness making the keys too shallow, the Zenbook for example suffers from bad reviews pointing out the fact that you really need to hit the keys in the middle for them to register.</li>
<li>Touchpads are also an area lacking, probably because most of them are now moving to so called &#8220;clickpads&#8221; with integrated buttons.</li>
<li>Screens tend to be less than stellar.</li>
<li>There have also been reports on issues with wifi having bad reception.</li>
<li>Then of course, a general lack of ports, but that is to be expected in this form factor.</li>
</ul>
<p>I was still leaning towards the <a href="http://www.lenovo.com/products/us/laptop/ideapad/u-series/u300s/">Lenovo u300s</a>. It seems to be a truly awesome machine with no apparent weakness although they say the screen is not something to write home about. But I simply can not find where to buy one! Reading up on this Lenovo I came across a lot of people proposing the <a href="http://www.lenovo.com/products/us/laptop/thinkpad/x-series/x220/">X220</a> as a better choice. Eventually I started to <a href="http://en.wikipedia.org/wiki/ThinkPad_X_Series#X220">read up</a> more on the rest of the Lenovo line, especially the X220 and <a href="http://www.notebookreview.com/default.asp?newsID=6125&amp;review=lenovo+thinkpad+x1">X1</a>.</p>
<h2>Lenovo X220!</h2>
<p>After some serious soul searching I decided that I really need an X220 instead of a <a href="http://zenbook.asus.com">shiny ultrabook toy</a>, and today when I was home sick I ordered one from <a href="http://www.dustin.se/">Dustin</a> with home delivery &#8211; 2 hours after placing the order a car drove up to the house and delivered it &#8211; <strong>sweet</strong>!</p>
<p>So what about the newer X1 then? Well, what did it for me was the weight and size difference combined with the fact that I really wanted the IPS display. I have read some more comparisons afterwards and feel I made the right decision, although the keyboard on the X1 does get rave reviews even compared to X220. This means it must be insanely great since the keyboard is one of the true highlights of the X220.</p>
<p>After just a few hours with the X220 I am certain I made the right choice. This machine is&#8230; well, if Ultrabooks are flashy slim Ferraris and Porsches this machine would be&#8230; a mini Humvee. It is <strong>function focus all the way</strong>. Here is a list of key arguments for the X220:</p>
<ul>
<li><strong>Superb real keyboard</strong> which is a true joy to type on. This is important and a key differentiator for Lenovo in general. It also has the Trackpoint (the little red mouse stick thing), quite nice if you learn to use it &#8211; which I am trying right now.</li>
<li><strong>Full voltage CPUs with top of the line being a Core i7-2640</strong> giving even more power than the low voltage variations found in Ultrabooks.</li>
<li><strong>8 Gb</strong> <strong>RAM</strong> (two replaceable slots). Many ultrabooks only give you 4 Gb max and non replaceable. For a small additional price I got an extra 4Gb memory module that was trivial to install. In fact, there are people who have managed to install two 8Gb modules giving a <strong>maximum of 16Gb</strong>!</li>
<li>1366 x 768 <strong>matte IPS panel</strong>, same technology as in the Ipad they say. Awesome display and a rarity among laptops. And matte damnit! This is alone a very strong argument for the X220. I mean, this screen rocks! Of course, higher resolution would have been nice but it&#8217;s fine.</li>
<li><strong>Tons of ports</strong> and ways to extend and replace parts (battery, memory, hard drive etc)</li>
<li><strong>1.3-1.6 kg</strong> depending on choice of battery, clearly in Ultrabook class.</li>
<li><strong>Insane battery life</strong> with several battery options! The protruding 9-cell battery I got is meant to give up to 15 hours! There are 4 different battery sizes, just pick and choose. I am going to get an additional 4 or 6-cell variant which doesn&#8217;t protrude, when I want to be &#8220;slick&#8221; <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<div>So it has most Ultrabook properties (real power, lightweight, small form factor, good battery life) although not as slim. But in all other respects it is a true work horse for professionals. And for me weight is what counts, not thickness.</div>
<p>I guess it boils down a bit to what kind of person you are. I wanted a really good and lightweight laptop that I can work on, but I also wanted <strong>something different</strong>, as the title of this blog says &#8211; I travel the road less taken. <strong>And X220 is a true utilitarian beast sending a &#8220;100% no nonsense&#8221; message.</strong><strong><br />
</strong></p>
<h2>Performance</h2>
<p>Getting acquainted with the machine I decided to run some benchmarks in Windows 7. I downloaded the CrystalDiskMark and while not as good numbers as the best drive in UX31E it still got decent numbers:</p>
<pre>           Sequential Read :   259.164 MB/s
          Sequential Write :   170.058 MB/s
         Random Read 512KB :   172.326 MB/s
        Random Write 512KB :   169.432 MB/s
    Random Read 4KB (QD=1) :    17.175 MB/s [  4193.1 IOPS]
   Random Write 4KB (QD=1) :    31.436 MB/s [  7674.9 IOPS]
   Random Read 4KB (QD=32) :   140.489 MB/s [ 34299.1 IOPS]
  Random Write 4KB (QD=32) :    95.920 MB/s [ 23418.1 IOPS]</pre>
<p>But this is of course an attribute of the Intel SSD drive more than the actual notebook. I also downloaded and ran the free PCMark 7 in which it scored <strong>4004</strong>. This is better than the fastest Ultrabook (UX31E which got 3653) but I had hoped for even better, perhaps I missed cranking up the speed correctly.</p>
<p>To top things off, here is a list of more funky details:</p>
<ul>
<li>A small downward directed LED lamp (Thinklight) right beside the web cam that illuminates the keyboard. Hehe, kinda low tech compared to backlit keyboards, but it works. I guess it is hard to make a traditional &#8220;non chiclet&#8221; keyboard backlit.</li>
<li>A 720p HD web cam. Oh. <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>A fingerprint biometric reader! So now I log on W7 by swiping my index finger, funky.</li>
<li>54 mm Express Card slot. No idea what to use it for yet!</li>
<li>One combined mSATA/PCIe internal slot. In my machine it holds a UMTS 3G card. I just slid in my SIM card and it hooked up nicely!</li>
<li>The second half PCIe port. No idea what to use that for either.</li>
<li>Option to buy an additional mSATA SSD drive (currently available up to about 128Gb) giving even more disk space. Unfortunately this would mean ripping out the UMTS card.</li>
<li>The navpoint (red mouse stick) has three buttons below and if you hold the middle button you get scrolling for the navpoint &#8211; really nice! Or perhaps obvious, but I like it.</li>
</ul>
<h2>Negative stuff so far</h2>
<p>Well, these are nitpickings, but still, these are things that have annoyed me a bit:</p>
<ul>
<li>Although I really like the little red nubbin, it does get in the way when I type &#8220;b&#8221; sometimes, my right hand index finger &#8220;stumbles&#8221; over it. Might be simply an issue of getting used to the keyboard.</li>
<li>The palm rests are very small on this machine due to its size. For my right hand it is not an issue because the red nubbin and touchpad is slightly off to the left so I tend to rest my right palm slightly more to the middle. But my left wrist ends up squarely on the left side corner of the laptop. And while the front edge is sloped downwards to make it comfortable, the sides are not sloped at all.</li>
<li>The Ctrl and Fn keys seems swapped for my taste, the Ctrl should IMHO be in the corner. In the BIOS one can swap these (!) but then I would really like to change the writing on the keys too&#8230;</li>
</ul>
<h2>Software included</h2>
<p>Normally I don&#8217;t care about installed software but Lenovo has actually included quite a few useful utilities for Windows 7. Power management, biometric finger print management, yaddayadda. This makes it harder to make the decision to wipe Windows.</p>
<h2>Here comes&#8230;. Ubuntu!</h2>
<p>First I tested running Ubuntu in a VirtualBox and while it works quite well it still seems to behave better on the real hardware. This is probably due to the graphics capabilities in VirtualBox. Anyway, one of the main reasons for going with a Thinkpad is also of course the fact that they tend to work really, really well with Linux. And the X220 <a href="https://help.ubuntu.com/community/X220">is not an exception</a>. I have been running Linux as primary OS for almost 6 years now so I really want to continue doing that, but I am being cautious and will go for a dual boot setup for now.</p>
<p>These are the basic steps I performed:</p>
<ul>
<li>Produce the so called &#8220;Factory Recovery&#8221; disks. This takes the recovery partition that Lenovo has put on the SSD and slaps it onto external media so that you can wipe that partition and reclaim about 16Gb of disk space. It&#8217;s also nice to have, if something goes bonkers.</li>
<li>Shrink the Windows 7 partition thus leaving unpartitioned space for Ubuntu.</li>
<li>Prepare a USB stick with Ubuntu.</li>
<li>Install Ubuntu from the USB stick producing a dual boot setup.</li>
</ul>
<p>Funny enough it was the first step that turned out a bit tricky, the rest was a piece of cake.</p>
<h2>Producing Factory Recovery media</h2>
<p>One would think that since everyone should do this it would be trivial to do. If I would design this procedure I would make it possible to produce iso-files that can just be saved onto an USB hard drive, but no no&#8230; <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>Prepare a USB drive <a href="http://support.lenovo.com/en_US/detail.page?LegacyDocID=MIGR-74246">according to this document</a>. It must be either at least 350Mb (only for booting) or about 9Gb (both bootable and recovery data).</li>
<li>If you picked a small USB like I did, when you run the utility from Lenovo &#8211; only select &#8220;boot&#8221; when you get the dialog with two check boxes. It will then wipe the drive and make it bootable, but not put recovery data onto it. Then you can fire up the utility once more and use an USB hard drive for the other checkbox (recovery data), it does not need to be empty because it will not wipe it, it will just create a directory called &#8220;factoryrecovery&#8221; and put all data into it.</li>
<li>If you picked a large USB stick (or hard drive) then you can select both checkboxes and get it all in one place in one go.</li>
</ul>
<p><strong>NOTE:</strong> You should try booting from it to see that it actually boots. To do that you will need to enter the BIOS setup (F1 or F12 on boot) and move the USB flash drive higher up in the boot order list. Of course, when this is all done one could produce an iso from that bootable USB stick and store it away somewhere to free up a perfectly good USB stick <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Then finally you can let the tool &#8220;reclaim&#8221; the partition, it will nuke the paritition and then enlarge the Windows 7 partition with that space, but we will shrink it in the next step.</p>
<h2>Shrink Windows</h2>
<p>This is easy in 2012, Windows can do it for you. Just open control panel, type in &#8220;partition&#8221; and open the tool that it finds. Select the Windows 7 partition and use &#8220;shrink&#8221; in the popup menu. Then you get to a dialog in which you can specify how much you want to shrink it.</p>
<h2>Prepare a USB with Ubuntu</h2>
<p>There are many ways to install Linux and in the older days the traditional way was to burn a CD and boot from it into the installation procedure. These days I guess the most common procedure is to do the same, but with a USB stick. In retrospect the <a href="http://www.ubuntu.com/download/ubuntu/windows-installer">Wubi</a> installer might have been even easier, but I wanted to install the beta 2 of Ubuntu &#8220;Precise Pangolin&#8221; and didn&#8217;t think Wubi was up to date with that, but it seems you can download any iso you want on the side for it.</p>
<p>Anyway, I downloaded <a href="http://unetbootin.sourceforge.net/">Unetbootin</a> and the <a href="http://releases.ubuntu.com/precise/ubuntu-12.04-beta2-desktop-amd64.iso">Pangolin beta 2 iso</a> and then &#8220;burned&#8221; it with Unetbootin to a USB stick. Done.</p>
<h2>Install Ubuntu</h2>
<p>Well, what can I say? Just boot from the stick and go with the flow. The installer is trivially easy, it will detect the existing Windows 7 and even offers to import bookmarks and stuff from your Windows user! A dual boot setup is produced without questions asked even, it was simple as that.</p>
<h2>Conclusion</h2>
<p>I love this machine! And the only thing not working perfectly smooth in Ubuntu is the 3G, it fails to unlock when I give the PIN code, not sure why. Also, one will need to do <a href="http://www.williambrownstreet.net/blog/?p=387">some tweaking</a> to get less battery drain in Linux, but I think the forums indicate that it is possible to get similar results as in Windows.</p>
<p>So take my advice &#8211; if you are looking at the Ultrabooks, do take a long look at the X220 before making your decision. <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2012/04/14/going-lenovo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Current Smalltalk obsessions&#8230;</title>
		<link>http://goran.krampe.se/2012/02/07/current-smalltalk-obsessions/</link>
		<comments>http://goran.krampe.se/2012/02/07/current-smalltalk-obsessions/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 23:15:10 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Amber]]></category>
		<category><![CDATA[DeltaStreams]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[Smalltalk]]></category>
		<category><![CDATA[Squeak]]></category>
		<category><![CDATA[activemq]]></category>
		<category><![CDATA[amber]]></category>
		<category><![CDATA[riak]]></category>
		<category><![CDATA[smalltalk]]></category>
		<category><![CDATA[stomp]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/?p=151</guid>
		<description><![CDATA[These days I am, as usual, torn between several interesting technical projects. Amber The new Smalltalk called Amber (by Nicolas Petton) that compiles to javascript is pretty awesome and there are tons of interesting things one can do with it. My contributions so far include the beginning of a package model, a faster simpler chunk [...]]]></description>
			<content:encoded><![CDATA[<p>These days I am, as usual, torn between several interesting technical projects.</p>
<h1>Amber</h1>
<p>The new <a title="Smalltalk" href="http://www.world.st">Smalltalk</a> called <a title="Amber" href="http://www.amber-lang.net">Amber</a> (by Nicolas Petton) that compiles to javascript is pretty awesome and there are tons of interesting things one can do with it. My contributions so far include the beginning of a package model, a faster simpler chunk format exporter/importer, a command line compiler, a Makefile system so that Amber can be built fully from the command line and a bunch of <a title="examples" href="https://github.com/NicolasPetton/amber/tree/master/examples">examples</a> running on top of <a title="nodejs" href="http://nodejs.org">Nodejs</a> and <a title="webOS" href="http://developer.palm.com">webOS</a>, and a few other odds and ends.</p>
<p>I would like to port <a href="http://wiki.squeak.org/squeak/DeltaStreams">Deltas</a> to Amber in order to create a powerful toolset for managing code changes. Using local storage it would among other things enable undo and change logging to prevent accidental code loss. It could also easily form the basis for a &#8220;commit tool&#8221;, similar functionality that git stash offers etc.</p>
<p>Another thing I would like to build is a dead simple public shared package repository. And play with <a href="http://socket.io">Socket.IO</a>, or just fool around with the compiler trying to add optimizations like various type inferencing, optimizing self and super sends etc <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . So much fun stuff to do!</p>
<h1>STOMP and Apollo</h1>
<p>For a personal &#8220;secret project X&#8221; I need scalability so it is being designed with lots of daemons each taking care of a specific task. I want to be able to implement these daemons primarily in either Nodejs (in plain js or using Amber) or <a href="http://www.pharo-project.org">Pharo Smalltalk</a>, but also in any other language that fits.</p>
<p>This requires some kind of messaging infrastructure to tie them together. So&#8230; after looking hard and long and reading a lot about messaging, job scheduling, <a href="http://www.amqp.org">AMQP</a>, <a href="http://www.zeromq.org">0MQ</a>, <a href="http://stomp.github.com">STOMP</a>, <a href="http://kr.github.com/beanstalkd/">Beanstalkd</a>, <a href="http://www.rabbitmq.com">RabbitMQ</a>, <a href="http://activemq.apache.org/apollo/">ActiveMQ Apollo</a> (and tons of other things) I decided to try to use the new ActiveMQ Apollo together with <a href="http://stomp.github.com/stomp-specification-1.1.html">STOMP 1.1</a> (which should also be supported by the STOMP plugin for RabbitMQ etc).</p>
<p>The new Apollo implementation is written in Scala using <a href=" http://hawtdispatch.fusesource.org/">HawtDispatch</a> so the architecture seems modern and the JVM of course has very good performance these days. So, while I generally am very tired of Java and its eco system, this actually seems like a solid product and has already shown <a href="http://hiramchirino.com/blog/2011/12/stomp-messaging-benchmarks-activemq-vs-apollo-vs-hornetq-vs-rabbitmq/">very impressive numbers in benchmarks</a>.</p>
<p>So a sound asynchronous architecture with good performance is nice but the other thing I like with ActiveMQ is their focus on STOMP. Since I intend to use Pharo as one major component I need to be able to hook it into the messaging backbone. And sure, Tony Garnock Jones &#8211; one of the main developer behind RabbitMQ &#8211; actually has an AMQP client library written for Squeak 3.9, so I could probably us AMQP, but I somehow foresee a &#8220;world of hurt&#8221; in the complexity given that AMQP is a magnitude more complex than STOMP.</p>
<p>I have already <a href="http://www.squeaksource.com/StompProtocol.html">implemented STOMP 1.0 for Pharo</a>, actually tried it with RabbitMQ at the time, so I am now upgrading that library to work with 1.1 of the specification.</p>
<h1>Riak</h1>
<p>The other important piece of the puzzle for true &#8220;Internet scalability&#8221; is of course the choice of persistence. I am a long time fan of the new NoSQL databases and having played with a few of them, implemented a C# binding for CouchDB, hacked some bindings in Squeak for both CouchDB and Tokyo Tyrant&#8230; I now have decided to focus on <a href="http://wiki.basho.com/Riak.html">Riak</a>. Riak is IMHO the most interesting NoSQL database out there right now, at least for worry free ultra scaling. Sure, it may not be the fastest on a single box &#8211; but if you are really serious about scaling &#8211; one box is totally uninteresting. <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Runar Jordahl had already started a Riak binding in Pharo, I took it and changed quite a lot of it &#8211; not really because it was &#8220;bad&#8221; or anything, I just have a different style of coding I guess. So I decided to fork because I didn&#8217;t feel comfortable &#8211; thus <a href="http://www.squeaksource.com/Phriak.html">Phriak was born</a>. Now Nicolas Petton is getting hard into Riak too and has pushed Phriak forward <strong>quite a LOT</strong> in the last few days, much further than I had time to do. It now has a clean command style protocol implementation, an object model similar to the one in Ripple (Ruby Riak client) and initial working code for both secondary indexing, link walking and map/reduce! Quite impressive stuff.</p>
<p>Nicolas is also experimenting with writing an &#8220;OODB-ish&#8221; database using <a href="http://rmod.lille.inria.fr/web/pier/software/Fuel">Fuel</a> called <a href="http://www.squeaksource.com/Oak.html">Oak</a> and after I managed to get him hooked on Riak he has been moving that codebase over onto Phriak. The initial experience we have with Phriak and Oak is extremely promising and who knows where this will lead.</p>
<p>Happy coding, Göran</p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2012/02/07/current-smalltalk-obsessions/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ESUG day 4</title>
		<link>http://goran.krampe.se/2011/08/25/esug-day-4/</link>
		<comments>http://goran.krampe.se/2011/08/25/esug-day-4/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 14:50:52 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Enyo]]></category>
		<category><![CDATA[Jtalk]]></category>
		<category><![CDATA[Smalltalk]]></category>
		<category><![CDATA[Squeak]]></category>
		<category><![CDATA[WebOS]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/2011/08/25/esug-day-4/</guid>
		<description><![CDATA[This day started with some stress, Nicolas and I whipped up the last details of our co-presentation on Jtalk (Nicolas decided to skip Iliad) &#8211; and my Eris demo suddenly got b0rken. But I managed to fix it and our presentation was very well received &#8211; it was great fun! Nicolas managed to do quite [...]]]></description>
			<content:encoded><![CDATA[<p>This day started with some stress, Nicolas and I whipped up the last details of our co-presentation on <a href="Http://jtalk-project.org">Jtalk</a> (Nicolas decided to skip <a href="Http://www.iliadproject.org">Iliad</a>) &#8211; and my Eris demo suddenly got b0rken. But I managed to fix it and our presentation was <b>very well</b> received &#8211; it was great fun!</p>
<p>Nicolas managed to do quite a few &#8220;on the fly&#8221; demonstrations of various Jtalk snippets etc, and running&nbsp;<a href="Http://nicolas-petton.fr/presentations/esug2011">the slides</a> in Jtalk was of course a killer thing. I explained how jtalkc is being run on top of Node.js and quickly proceeded into showing the <a href="Http://github.com/gokr/jtalk/tree/master/nodejs/trivialserver">TrivialServer</a> demo in Node.is &#8211; when Apache benchmark showed <b>1800 requests/second</b> there was a spontaneous applause. <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now we can relax and talk to all people about Jtalk &#8211; and now in fact the web panel starts with Nicolas on the panel. Unfortunately the panel discussion didn&#8217;t play out that well, it needs some entertainment and also at least one or two that disagree <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Later tonight and tomorrow we will probably keep on hacking Jtalk like mad. So much fun stuff to play with! We intend to &#8220;finish&#8221; the first stab at so called &#8220;speculative inviting&#8221; that we started earlier this week, and try to do some profiling on it to verify the gains. Using the Compiler is actually a good candidate for a reasonable benchmark.</p>
<p>The evening ended with the usual pubs and hacking and chatting about cool things people are doing.</p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2011/08/25/esug-day-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESUG day 3</title>
		<link>http://goran.krampe.se/2011/08/24/esug-day-3/</link>
		<comments>http://goran.krampe.se/2011/08/24/esug-day-3/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 08:07:30 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[Smalltalk]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/2011/08/24/esug-day-3/</guid>
		<description><![CDATA[Suddenly it is Wednesday and we are already on day three at ESUG&#160;- a superb software developer conference focused on Smalltalk.&#160;Time flies. Yesterday I mainly hacked together with Nicolas Petton on Jtalk, really fun, unfortunately I missed a few interesting presentations, like Fuel and Bifrost etc. This day starts with Stéphane presenting &#8220;Humane assessment&#8221;. Mmm, [...]]]></description>
			<content:encoded><![CDATA[<p>Suddenly it is Wednesday and we are already on day three at <a href="Http://www.esug.org">ESUG</a>&nbsp;- a superb software developer conference focused on <a href="http://www.world.st">Smalltalk</a>.&nbsp;Time flies. Yesterday I mainly hacked together with Nicolas Petton on <a href="Http://www.jtalk-project.org">Jtalk</a>, really fun, unfortunately I missed a few interesting presentations, like Fuel and Bifrost etc.</p>
<p>This day starts with Stéphane presenting &#8220;Humane assessment&#8221;. Mmm, got distracted by my Touchpad, but Stéphane is showing some cool visualizations right now, clearly useful for large systems and organisations that need understand their own &#8220;huge legacy software&#8221;. Hehe, the browsers shows visual queues on &#8220;bad designs&#8221; like marking methods as &#8220;BrainMethod&#8221; or marking a class as &#8220;God Class&#8221; &#8211; that is indeed very slick!</p>
<p>All in all it looks like a very useful tool &#8211; I should probably try it out on some codebase. In fact, this tool is a really good &#8220;added value&#8221; tool that can be offered to customers when helping them. I have at least one client that really could make some good use of a tool like this.</p>
<p>Next up before coffee is Arden Thomas from <a href="Http://www.cincomsmalltalk.com">Cincom</a> (hehe, that was funny, the Touchpad wanted to correct &#8220;Cincom&#8221; to &#8220;Condom&#8221;&#8230;) presenting what is new in their products / ObjectStudio and VisualWorks. These are really mature and amazing Smalltalk tools, but of course they also costs money, money, money. But VisualWorks is accessible in a non commercial full version, which is quite nice if it fits your needs. Cincom is also quite active in a bunch of open source Smalltalk projects like for example GLORP (think &#8220;Hibernate&#8221; for all you non-Smalltalkers) and <a href="Http://www.seaside.st">Seaside</a> (the most outstanding web framework in the world).</p>
<p>After running around flaunting the Touchpad <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8211; I came slightly late to Igor Stasenko&#8217;s presentation on <a href="http://code.google.com/p/nativeboost/">NativeBoost</a>. I have worked with Igor and he has this refreshing &#8220;fearlessness&#8221; so diving into assembler is not a problem for him. So NativeBoost is an extension to the Squeak VM (and the new Cog VM) that enables dynamic machine code generation &#8211; and execution &#8211; directly from Smalltalk using just Smalltalk. So it includes a DSL for writing assembler (a port of <a href="http://code.google.com/p/asmjit/">AsmJit</a>) and mechanisms to access memory etc etc. The machine code needs to be relocation agnostic since it is actually stored directly in a Smalltalk object (the method) and will be moving around due to the garbage collector moving things around. Another interesting issue is that if the machine code calls into the VM in order to create a Smalltalk object, it will need to be aware of the fact that this can trigger GCs and move things around &#8211; but this is just the same for building VM plugins. Of course, Igor&#8217;s stuff is very impressive and you can make very fast code using it.</p>
<p>The day then ended with the social event and announcing the winners of the awards and a nice dinner followed up with some beer and endless &#8220;Why doesn&#8217;t everyone use Smalltalk?&#8221; discussions &#8211; as is customary.</p>
<p>Over and out, Goran &#8220;typing this in on my Touchpad using the bluetooth keyboard&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2011/08/24/esug-day-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Touchpad finally in my hands, first day</title>
		<link>http://goran.krampe.se/2011/08/23/touchpad-finally-in-my-hands-first-day/</link>
		<comments>http://goran.krampe.se/2011/08/23/touchpad-finally-in-my-hands-first-day/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 21:42:35 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Enyo]]></category>
		<category><![CDATA[Jtalk]]></category>
		<category><![CDATA[WebOS]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/2011/08/23/touchpad-finally-in-my-hands-first-day/</guid>
		<description><![CDATA[Sooo&#8230;. I actually managed to order a HP Touchpad 32Gb here in Edinburgh to be picked up at Comet within 48 hours. I ordered when it was still a whopping 429£, but when I went to pick it up I got it at the UK discount price of 115, and I will get the VAT [...]]]></description>
			<content:encoded><![CDATA[<p>Sooo&#8230;. I actually managed to order a HP Touchpad 32Gb here in Edinburgh to be picked up at Comet within 48 hours. I ordered when it was still a whopping 429£, but when I went to pick it up I got it at the UK <b>discount price of 115</b>, and I will get the VAT back too.</p>
<p>The first hours were frustrating because I was in the ESUG conference and we only had a WiFi with a so called &#8220;captive portal&#8221; with a login form &#8211; and the first time you power up a Touchpad it wants to hook up to a Palm Profile, and does not want to do that using a WiFi with a captive portal.</p>
<p>The Montague pub to the rescue later that evening, an open wifi. I am currently writing this post using the Bluetooth keyboard (so nice) while the TP is snugly positioned on the Touchstone inductive charger. Both these are great accessories. I have also managed to do Skype with my wife, really easy and worked well, hook up the calendar to Google with perfect sync, and in fact it synched over all my contacts etc from my Palm Profile for my Palm Pre 2 &#8211; just works!</p>
<p>I have done the OTA 3.0.2 update (in the pub while eating) and I have installed a bunch of apps, like the one I am typing in know &#8211; for WordPress. I have also activated the included 50Gb free cloud space included from box.net &#8211; brilliant.</p>
<p>Email app is running fine, Facebook app is very good, tons of other little nifty things &#8211; I am a happy camper! Is it just as &#8220;smooth as silk&#8221; as the iPad? No, but it excels in other areas like true multitasking, a real Linux beneath (bonus for me as a developer), synergy, full flash, 50Gb cloudspace for life included, really good virtual keyboard (multiple sizes even) etc etc. Sure, slightly thicker and slightly heavier &#8211; but&#8230;. BUT&#8230;. It cost me around 85£ with 32Gb RAM. That argument is a killer.</p>
<p>Day after tomorrow I will be demonstrating apps written in <a href="Http://jtalk-project.org">Jtalk</a> running on it &#8211; yiha!</p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2011/08/23/touchpad-finally-in-my-hands-first-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESUG 2011 in Edinburgh</title>
		<link>http://goran.krampe.se/2011/08/11/esug-2011-in-edinburgh/</link>
		<comments>http://goran.krampe.se/2011/08/11/esug-2011-in-edinburgh/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 09:59:57 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Enyo]]></category>
		<category><![CDATA[Jtalk]]></category>
		<category><![CDATA[Object orientation]]></category>
		<category><![CDATA[Pharo]]></category>
		<category><![CDATA[Smalltalk]]></category>
		<category><![CDATA[Squeak]]></category>
		<category><![CDATA[Web tech]]></category>
		<category><![CDATA[WebOS]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/?p=139</guid>
		<description><![CDATA[Each year I try to attend at least one developer conference. Earlier OOPSLA was a given but it lost its appeal quite a few years back and now it is not even called OOPSLA anymore. As a die hard Smalltalker I instead attended the ESUG conference in Brest 2009 and it was easily the most [...]]]></description>
			<content:encoded><![CDATA[<p>Each year I try to attend at least one developer conference. Earlier OOPSLA was a given but it lost its appeal quite a few years back and now it is not even called OOPSLA anymore. As a die hard <a href="http://www.world.st">Smalltalker</a> I instead attended the <a href="http://www.esug.org/wiki/pier/Conferences">ESUG conference</a> in Brest 2009 and it was easily the most rewarding conference I ever have attended! Missed last year in Barcelona but this year I am going to <a href="http://www.esug.org/wiki/pier/Conferences/2011">Edinburgh</a> for a week of Smalltalking.</p>
<p>I am not presenting anything but I hope I will get my <a href="http://www.hpwebos.com/us/products/pads/touchpad/index.html">HP Touchpad</a> from Amazon before it starts so that I can demonstrate a <a href="http://www.hpwebos.com">WebOS</a> app running on it written in <a title="Jtalk" href="http://www.jtalk-project.org">Jtalk</a>.</p>
<p>If you are going too, see you there!</p>
<p><a href="http://www.esug.org/wiki/pier/Conferences/2011"><img class="aligncenter size-full wp-image-142" title="Esug2011_logo_small" src="http://goran.krampe.se/files/2011/08/Esug2011_logo_small.png" alt="" width="375" height="508" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2011/08/11/esug-2011-in-edinburgh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebOS 3.0 is coming &#8211; with Enyo!</title>
		<link>http://goran.krampe.se/2011/07/09/webos-3-0-is-coming-with-enyo/</link>
		<comments>http://goran.krampe.se/2011/07/09/webos-3-0-is-coming-with-enyo/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 23:27:37 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Enyo]]></category>
		<category><![CDATA[Web tech]]></category>
		<category><![CDATA[WebOS]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/?p=129</guid>
		<description><![CDATA[A few weeks ago I joined the Early Access program that HP/Palm has been offering for a while and I have been toying with the new WebOS 3.0 (SDK with emulator) that appeared in public on the 1st of july when the HP Touchpads hit the stores in the US. Since a week I also [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I joined the Early Access program that HP/Palm has been offering for a while and I have been toying with the new <a href="http://developer.palm.com">WebOS 3.0</a> (SDK with emulator) that appeared in public on the 1st of july when the <a href="http://www.hpwebos.com/us/products/pads/touchpad/index.html">HP Touchpads</a> hit the stores in the US. Since a week I also have a <a href="http://www.hpwebos.com/us/products/phones/pre2/index.html">Palm Pre 2</a> phone running WebOS 2.1, hopefully to be upgraded later to 3.0.</p>
<p>What can I say, <strong>I am totally hooked!</strong> The SDK for WebOS 3.0 looks really nice and the Palm Pre 2 is <a href="http://www.trustedreviews.com/Palm-Pre-2-Review_Mobile-Phone_review">the best phone</a> I have ever used, if I disregard the poor battery life.</p>
<p>No, I have never owned an iPhone but my previous phone was the Samsung Galaxy, and that is a really good phone! <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Now, of course, getting the <a href="http://www.hp.com/pre3">Pre 3</a> would be even better.</p>
<h2>Screenshots</h2>
<h2>
<div class="ngg-galleryoverview" id="ngg-gallery-2-129">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-27" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/contacts_2011-01-07_105333.png" title="A list of favorite contacts, simple but useful." class="shutterset_set_2" >
								<img title="contacts_2011-01-07_105333" alt="contacts_2011-01-07_105333" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_contacts_2011-01-07_105333.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-28" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/contacts_2011-01-07_105900.png" title="Quick flick with thumb brings application icons up." class="shutterset_set_2" >
								<img title="contacts_2011-01-07_105900" alt="contacts_2011-01-07_105900" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_contacts_2011-01-07_105900.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-29" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/facebook_2011-01-07_110041.png" title="The Facebook app seems very nice." class="shutterset_set_2" >
								<img title="facebook_2011-01-07_110041" alt="facebook_2011-01-07_110041" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_facebook_2011-01-07_110041.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-30" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/facebook_2011-01-07_110130.png" title="Viewing uploaded images in Facebook." class="shutterset_set_2" >
								<img title="facebook_2011-01-07_110130" alt="facebook_2011-01-07_110130" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_facebook_2011-01-07_110130.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-31" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/facebook_2011-01-07_110229.png" title="Note the Notifications - don't even need to have Facebook app running!" class="shutterset_set_2" >
								<img title="facebook_2011-01-07_110229" alt="facebook_2011-01-07_110229" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_facebook_2011-01-07_110229.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-32" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/photos_2011-01-07_111720.png" title="The card view of running apps, this is the Photos app showing the screenshots I made." class="shutterset_set_2" >
								<img title="photos_2011-01-07_111720" alt="photos_2011-01-07_111720" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_photos_2011-01-07_111720.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-33" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/photos_2011-01-07_111814.png" title="Just type, in this case I get a hit on an installed app but other ways forward are listed too." class="shutterset_set_2" >
								<img title="photos_2011-01-07_111814" alt="photos_2011-01-07_111814" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_photos_2011-01-07_111814.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-34" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/preware_2011-01-07_104623.png" title="The Preware app catalog, fantastic!" class="shutterset_set_2" >
								<img title="preware_2011-01-07_104623" alt="preware_2011-01-07_104623" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_preware_2011-01-07_104623.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-35" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/unknown_2011-07-07_121256.png" title="Yep, Angry birds is available for WebOS too." class="shutterset_set_2" >
								<img title="unknown_2011-07-07_121256" alt="unknown_2011-07-07_121256" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_unknown_2011-07-07_121256.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-37" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/wirc_2011-01-07_113021.png" title="A very good IRC chat client is available for free in Preware catalog. Note how each channel gets its own card." class="shutterset_set_2" >
								<img title="wirc_2011-01-07_113021" alt="wirc_2011-01-07_113021" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_wirc_2011-01-07_113021.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-38" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/youtube_2011-01-07_110537.png" title="Youtube app. Note the two notifications at the bottom that you can easily dismiss with a flick of the finger." class="shutterset_set_2" >
								<img title="youtube_2011-01-07_110537" alt="youtube_2011-01-07_110537" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_youtube_2011-01-07_110537.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-39" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/youtube_2011-01-07_110610.png" title="Youtube app." class="shutterset_set_2" >
								<img title="youtube_2011-01-07_110610" alt="youtube_2011-01-07_110610" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/webos/thumbs/thumbs_youtube_2011-01-07_110610.png" width="100" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>

</h2>
<h2>WebOS</h2>
<p>Having used the phone for a week or two some things stand out:</p>
<ul>
<li>The gesture and cards system for multitasking is a real joy to use. Hard to describe, should be experienced.</li>
<li>Notifications are <a href="http://www.bgr.com/2011/06/08/apples-ios-5-notifications-are-great-but-webos-is-still-better/">really nicely done</a>, non intrusive and slick.</li>
<li>The &#8220;just type&#8221; mechanism is awesome, typing in a name or a website or whatever &#8211; and WebOS will suggest and list &#8220;everything&#8221;. And even better, WebOS discovers new &#8220;search engines&#8221; when I surf and offer to include them in quick list for searching! Simple and so smart.</li>
<li>Synergy &#8211; the system merging all contact information together is amazingly good, much better than on my Android phone. It merges and syncs info from my LinkedIn, Facebook and Google accounts (and many other sources) brilliantly.</li>
<li>Messaging is uniform, I can SMS or Gtalk or whatever in the same threaded view for a given contact. Yay!</li>
</ul>
<p>And there is lots more of these little things, adding up to a very smooth user experience.</p>
<h2>Application frameworks</h2>
<p>One of the primary new things in WebOS 3.0 (vs 2.x) is <a href="http://www.infoq.com/news/2011/07/webOS-3-Enyo">Enyo</a> &#8211; the new application framework in Javascript that is replacing Mojo, the older framework. Enyo looks like a really well designed object oriented UI toolkit. It focuses on using code and not HTML to produce the user interface and the API looks nice, well documented with examples and quite complete!</p>
<p>Applications for WebOS 3.0 come basically in three flavors &#8211; Enyo/Javascript, OpenGL/SDL/C/C++, or hybrid.</p>
<ul>
<li>An Enyo app is &#8220;just&#8221; Javascript running in V8 + Webkit and will be the framework that the majority of the applications will use. Given the push in Javascript land these days I would say it is a very interesting platform.</li>
<li>More demanding graphical apps, especially games, can be written in the C/C++ tool chain and use the OpenGL ES and <a href="http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer">SDL</a> APIs. This seems to be a very friendly platform for game development.</li>
<li>Hybrid apps are Enyo apps (or Mojo) that can embed native components written in the C/C++ tool chain and allow them to render parts of the screen and also communicate with them. This is clearly an interesting option for many demanding apps.</li>
</ul>
<h2>An open eco system</h2>
<p>Although WebOS is not open source it seems in many ways more &#8220;open&#8221; than the competition:</p>
<ul>
<li>It is trivial to get &#8220;root&#8221; on the devices. Just type in &#8220;<a href="http://en.wikipedia.org/wiki/Konami_Code">upupdowndownleftrightleftrightbastart</a>&#8221; and click the icon that appears!</li>
<li>HP/Palm seems to realize that the <a href="http://www.webos-internals.org/wiki/Main_Page">homebrew community</a> is very important and this community is <a href="http://www.preware.org">exceptionally strong</a>.</li>
<li>Using the <a href="http://www.preware.org">Preware</a> homebrew app catalog and installing themes, patches, applications and more is just as easy and smooth as the <a href="http://www.hpwebos.com/us/products/software/mobile-applications.html">regular app catalog</a> (no, you can&#8217;t browse it on the web, only on a device)!</li>
<li>The OS is a real Linux at the base! In fact, the ipk package format for apps is the deb format.</li>
<li>The base technologies used are major open source projects like Webkit, V8, SDL, GStreamer etc etc.</li>
<li>HP is offering a multitude of distribution channels including a &#8220;web distribution&#8221; channel where you can market your own app outside of the regular app catalog &#8211; but people can still just click on a URL and buy/install the application! That is very nice.</li>
</ul>
<p>&#8230;and there are many more aspects to this &#8220;openness&#8221;, but I think HP realize that they need to play this part of the game quite a bit better than the competition in order to be able to catch up.</p>
<h2>High hopes</h2>
<p>I think HP has a diamond here in WebOS and if they play their cards right they should be able to find their piece of the market share. And that share just needs to be &#8220;descent&#8221; in order to be fruitful. But in order for that to happen I am hoping that:</p>
<ul>
<li>The products (Touchpad, Pre 3, Veer) really hit the stores all over the world ASAP.</li>
<li>The 3G/4G versions of the Touchpad will show up soon. Just wifi is not enough.</li>
<li>The next generation of products keep up with the competition in hardware specs.</li>
<li>The major apps people want and need start appearing.</li>
</ul>
<p>The first three are primarily up to HP. The fourth is hopefully not a problem since the eco system is so appealing to developers. And I think HP is trying to make sure some crucial apps are not missing &#8211; for example, I think HP made sure the Facebook app is there &#8211; and it is indeed a really good app!</p>
<p>Next up? Well of course, using Smalltalk to build Enyo applications&#8230; <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2011/07/09/webos-3-0-is-coming-with-enyo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Konsten att måla ett drev, del 2</title>
		<link>http://goran.krampe.se/2011/05/17/konsten-att-mala-ett-drev-del-2/</link>
		<comments>http://goran.krampe.se/2011/05/17/konsten-att-mala-ett-drev-del-2/#comments</comments>
		<pubDate>Tue, 17 May 2011 11:27:34 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Boating]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/?p=89</guid>
		<description><![CDATA[Dags för andra delen i artikelserien om att måla ett drev. Första delen avhandlade mest teori om målningsprocessen. Nu är det dags för avmontering av drevet från skölden samt applicering av färgstripper. Demontering Dags att börja meka. Min ambition är att komma åt det mesta av drevets delar utan att gå så långt som att [...]]]></description>
			<content:encoded><![CDATA[<p>Dags för andra delen i artikelserien om att måla ett drev. <a title="Konsten att måla ett drev, del 1" href="http://goran.krampe.se/2011/05/01/konsten-att-mala-ett-drev-del-1/">Första delen</a> avhandlade mest teori om målningsprocessen. Nu är det dags för avmontering av drevet från skölden samt applicering av färgstripper.</p>
<h2>Demontering</h2>
<p>Dags att börja meka. Min ambition är att komma åt det mesta av drevets delar utan att gå så långt som att plocka isär det i alla sina beståndsdelar. Köpte Selocs manual &#8211; <strong>&#8220;Volvo Penta Stern Drives 1992-2002 Repair Manual&#8221;</strong> &#8211; från <a href="http://www.drev.se">www.drev.se</a> (finns en från Clymer också, vet ej vilken som är bäst) och följer instruktionen för att plocka av drevet.</p>
<p>Det första man noterar är att den lyftögla som man ska använda i oljestickans hål för att enkelt kunna hänga upp drevet inte går att köpa hos <a href="http://www.bjornhammarvarvet.se">min Volvo Penta dealer</a>. De berättar att de tillverkat egna sådana öglor! Ok, det ska alltså vara en lyftögla med tumgänga, 1/2&#8243;. Kollar med en rad järnaffärer och handlar till slut hos Stockholms expertbutik &#8211; <a href="http://www.sifvert-skruv.se">Sifvert</a>. Där plockar jag med lite hjälp ihop en lös ögla + en stoppskruv och landar på 150:-. På vägen hem trillar jag in på Jula och tror knappt mina ögon <strong>när de faktiskt har en enda sorts lyftögla &#8211; precis en sådan jag vill ha! För 29:-, ok.</strong></p>
<p style="text-align: left;">
<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-2" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03192_modified.jpg" title="Kåpa bortskruvad" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Kåpa bortskruvad" alt="Kåpa bortskruvad" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03192_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-3" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03193_modified.jpg" title="Låsögla från Jula för 29:-" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Låsögla från Jula för 29:-" alt="Låsögla från Jula för 29:-" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03193_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>

</p>
<p>Med öglan iskruvad och en provisorisk stång monterad över båtens akter kan jag skrida till verket med avmonteringen av drevet vilket visar sig vara en relativt enkel operation. Kåpan har jag ju tagit av tidigare, tre enkla muttrar så att man kommer åt växelmekanismen. (Grattis Finland, ni tog precis VM-guldet!) Momenten i översikt:</p>
<ol>
<li>Plocka loss trimstängerna från drevet.</li>
<li>Plocka loss växelvajern från växelmekanismen.</li>
<li>Plocka loss de sex låsmuttrarna som håller drevet och dra ut drevet från skölden.</li>
</ol>
<p>Vad gäller trimstängerna så varnade varvet för att låsringarna kan gå sönder när man knackar av/på dem, och de kostar 50:- styck! Mina höll dock, men jag var försiktig. Därefter fick jag tålmodigt knacka axeln rakt igenom drevet ut till andra sidan, använde ett armeringsjärn för att kunna knacka vidare när den försvann in i hålet. Seloc säger att man ska använda gummiklubba, men hade ingen sådan <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-6" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03200_modified.jpg" title="Knacka försiktigt - kostar 50:- styck" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Knacka försiktigt - kostar 50:- styck" alt="Knacka försiktigt - kostar 50:- styck" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03200_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-7" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03202_modified.jpg" title="Tar ett tag att knacka ur" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Tar ett tag att knacka ur" alt="Tar ett tag att knacka ur" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03202_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-8" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03203_modified.jpg" title="I sin hela längd" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="I sin hela längd" alt="I sin hela längd" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03203_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>Växelvajern var också lätt att plocka bort &#8211; tricket här är nog att <strong>dokumentera väl</strong> hur den var monterad. Jag räknade varven som låskuben var påskruvad på vajern, och tog lite foton! När man lossat vajern är det dags att lossa dess infästning på baksidan. När skruven är lös kan man dra ut låsblecket åt sidan så att vajern går att dra ut. På bilden ser man att blecket är utdraget cirka 1 cm och man ser också skåran i växelvajerns plasthölje som blecket var instucket i.</p>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-1" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03191_modified.jpg" title="Memorera hur växelvajern är monterad" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Memorera hur växelvajern är monterad" alt="Memorera hur växelvajern är monterad" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03191_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-4" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03194_modified.jpg" title="Skruven lossad, blecket urdraget" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Skruven lossad, blecket urdraget" alt="Skruven lossad, blecket urdraget" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03194_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-5" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03195_modified.jpg" title="Där sitter växelvajerns infästning" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Där sitter växelvajerns infästning" alt="Där sitter växelvajerns infästning" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03195_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>Dags att göra den stora manövern. Lossar de sex muttrarna och när jag försöker få loss den sjätte börjar tappen att snurra! Blir lite stressad eftersom jag inte förstår hur jag nu ska göra &#8211; men det visar sig att det bara är att skruva vidare, hela skruven kommer ut istället, puh! När alla sex är borta tar jag tag i drevet och rycker ut det sakta men säkert, ta emot drevaxeln bara så att den inte trillar ner och får sig en smäll. När drevet väl hänger kan jag känna efter hur tungt det är och visst, tungt är det men jag orkar lyfta det så inte så svårt att hantera ensam.</p>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-9" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03206_modified.jpg" title="En bult kom ut helt och hållet!" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="En bult kom ut helt och hållet!" alt="En bult kom ut helt och hållet!" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03206_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-10" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03209_modified.jpg" title="Drevet på väg loss" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Drevet på väg loss" alt="Drevet på väg loss" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03209_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-11" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03210_modified.jpg" title="Nu syns knuten, ta emot den!" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Nu syns knuten, ta emot den!" alt="Nu syns knuten, ta emot den!" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03210_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-12" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03213_modified.jpg" title="Drevet hängande fritt" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Drevet hängande fritt" alt="Drevet hängande fritt" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03213_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>Värt att notera är de nästan helt bortrostade fästena för plastskydden på sidorna om drevet, samt saltavlagringarna väl synliga i huset. Där är det också en del korrosion faktiskt, ska se ifall man kan kromatera lite där. Det viktigaste &#8211; knuten &#8211; ser dock väldigt bra ut <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-13" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03214_modified.jpg" title="Ser inte alltför tokigt ut" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Ser inte alltför tokigt ut" alt="Ser inte alltför tokigt ut" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03214_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-14" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03215_modified.jpg" title="Lustigt materialval - har rostat bort" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Lustigt materialval - har rostat bort" alt="Lustigt materialval - har rostat bort" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03215_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-15" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03216_modified.jpg" title="Notera saltavlagringarna och korrosionen" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Notera saltavlagringarna och korrosionen" alt="Notera saltavlagringarna och korrosionen" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03216_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-16" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03219_modified.jpg" title="Knuten ser fin ut!" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Knuten ser fin ut!" alt="Knuten ser fin ut!" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03219_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>För att senare kunna rengöra och måla delarna av drevet som sitter kvar på båten vill jag i alla fall få bort det yttre &#8220;huset&#8221; för att komma åt bättre. Läste om en annan kille i USA som <a href="http://www.boated.com/forum/topic.asp?TOPIC_ID=146008">plockat isär sitt drev och plastblästrat det</a> &#8211; men jag orkar nog inte gå lika långt som han gick för att ta loss &#8220;gimbal ring&#8221; osv, det verkar krävas en del specialverktyg också.</p>
<p>Börjar med att lossa bälgarna, den övre är enkel att &#8220;trycka in&#8221;. Med hjälp av en stor skruvmejsel bänder man enkelt den över halskanten. Den under avgasbälgen är svårare &#8211; här behöver man verkligen en sk &#8220;inre ringtång&#8221; för att ta tag och få loss den inre metallringen som säkrar bälgen runt halsen. Åter ett inköp på Jula. Manualen tipsar om att vara försiktig för den kan sprätta iväg ordentligt ifall man tappar ringen.</p>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-23" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03232_modified.jpg" title="Tång från Jula" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Tång från Jula" alt="Tång från Jula" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03232_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-24" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03233_modified.jpg" title="Den övre bälgen är bara att trycka in" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Den övre bälgen är bara att trycka in" alt="Den övre bälgen är bara att trycka in" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03233_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-26" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03237_modified.jpg" title="Kan lyftas rätt högt" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Kan lyftas rätt högt" alt="Kan lyftas rätt högt" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03237_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>Därefter ska vi skruva loss de två feta &#8220;bultarna&#8221; på sidorna, eh&#8230; ok. Seloc säger att jag ska använda en <em><strong>1/2&#8243; hex drive with a ratchet</strong></em>. Ehum, ok? Efter lite förvirring kring metriska insexnycklar (som tyvärr nästan passar) inser jag att det jag måste ha är alltså en <strong>halvtums insexhylsa</strong>, dvs insexnyckel för montering på hylsnyckeldragare. Problemet är att de flesta vanliga L-formade insexnyckelsatser i tum, inklusive den jag redan har, stannar precis på storleken innan, dvs 3/8&#8243;. Jula verkade inte ha något och inte heller en Claes Ohlson jag sprang förbi. Till slut hittar jag en lös insexhylsa hos <a href="http://www.tools.se/taby/">TOOLS i Täby</a> &#8211; tack, tack! Men mer om det i nästa artikel, nu går vi vidare med att försöka strippa drevet&#8230;</p>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-25" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03235_modified.jpg" title="Jahupp, insexnyckel 1/2&quot;?" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Jahupp, insexnyckel 1/2" alt="Jahupp, insexnyckel 1/2" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03235_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<h2>FedEx levererar</h2>
<p>Som jag nämnde i förra artikeln beställde jag fyra spännande kemikalier från <a href="http://www.chemical-supermarket.com">www.chemical-supermarket.com</a>:</p>
<ol>
<li><a href="http://www.chemical-supermarket.com/EFS-2500-Paint-Stripper-p639.html">EFS 2500</a>, färgstripper.</li>
<li><a href="http://www.chemical-supermarket.com/Metalprep-79-p370.html">Metalprep 79</a>, metallpreparationsvätska.</li>
<li><a href="http://www.chemical-supermarket.com/Henkel-Alodine-T-5900-RTU-Conversion-Coating-p601.html">T5900 TCP</a>, kromateringsvätska.</li>
<li><a href="http://www.chemical-supermarket.com/Stratocoat-Green-Epoxy-Primer-p318.html">Stratocoat Green Epoxy primer</a>, superprimer.</li>
</ol>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-17" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03223_modified.jpg" title="Mycket godis!" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Mycket godis!" alt="Mycket godis!" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03223_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-18" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03224_modified.jpg" title="Superstripper" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Superstripper" alt="Superstripper" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03224_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-19" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03225_modified.jpg" title="Tar bort oxid mm" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Tar bort oxid mm" alt="Tar bort oxid mm" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03225_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-20" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03226_modified.jpg" title="Kromateringsvätskan" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Kromateringsvätskan" alt="Kromateringsvätskan" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03226_modified.jpg" width="112" height="150" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-21" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03227_modified.jpg" title="Super duper epoxy primer" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Super duper epoxy primer" alt="Super duper epoxy primer" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03227_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>Allt levererades prydligt inslaget och nu har det blivit dags att se ifall strippern är <a href="http://www.m-tc.com/efs2500_home.htm">så otrolig som den verkar</a>! Jag börjar med att använda Henkels Degreaser som jag köpt på Seasea, enklast att hälla över i en vanlig sprayflaska, spraya och torka av med en gammal T-shirt som trasa (luddar ej).</p>
<p>Därefter tar jag och häller upp strippern i en liten mugg och penslar på med en vanlig pensel. Använder gummihandskar men denna vätska känns inte alls &#8220;farlig&#8221; att hantera, som tapetklister egentligen. Tyvärr är temperaturen relativt låg, kanske 17 grader som mest på dagen. Helst ska det vara 25-29 grader varmt, men det ska fungera i låga temperaturer men då kan det ta flera dagar tills det är helt klart. Penslar hela drevet överallt där jag kommer åt, har vid detta laget bestämt mig för att göra &#8220;rent hus&#8221;.</p>
<p>Slår därefter in hela drevet i en sopsäck eftersom det är risk för regn. Efter några timmar ser man hur färgen &#8220;bubblar upp&#8221;, både delar av lacken och självklart också resterna av den hårda Triluxen som bubblar upp bara inom någon timme, den färgen är ju inte alls lika hård som själva lacken.</p>

<div class="ngg-galleryoverview" id="ngg-gallery--89">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-22" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/dsc03228_modified.jpg" title="Woa, det krullar sig!" class="shutterset_konsten-att-mala-ett-drev-del-2" >
								<img title="Woa, det krullar sig!" alt="Woa, det krullar sig!" src="http://goran.krampe.se/wp-content/blogs.dir/3/files/drev2/thumbs/thumbs_dsc03228_modified.jpg" width="200" height="150" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


<p>Blir otroligt spännande att se ifall det blir så rent som det ser ut på hemsidan! Ifall allt går enligt plan ska jag kunna blåsa av flagorna med högtryckstvätten eller skrubba bort med en grov tvättsvamp.</p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2011/05/17/konsten-att-mala-ett-drev-del-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Konsten att måla ett drev, del 1</title>
		<link>http://goran.krampe.se/2011/05/01/konsten-att-mala-ett-drev-del-1/</link>
		<comments>http://goran.krampe.se/2011/05/01/konsten-att-mala-ett-drev-del-1/#comments</comments>
		<pubDate>Sun, 01 May 2011 21:40:39 +0000</pubDate>
		<dc:creator>Göran Krampe</dc:creator>
				<category><![CDATA[Boating]]></category>

		<guid isPermaLink="false">http://goran.krampe.se/?p=81</guid>
		<description><![CDATA[Vi som kör inombordare i våra båtar har typiskt drev från Volvo Penta eller Mercruiser. Dreven är av aluminium, eller typiskt någon sorts aluminiumlegering och att måla aluminium är en tekniskt sett mycket intressant process och de flesta som gjort detta kan säkert vittna om att det inte funkar så bra, färgen lossnar helt enkelt [...]]]></description>
			<content:encoded><![CDATA[<p>Vi som kör inombordare i våra båtar har typiskt drev från Volvo Penta eller Mercruiser. Dreven är av aluminium, eller typiskt någon sorts aluminiumlegering och att måla aluminium är en tekniskt sett mycket intressant process och de flesta som gjort detta kan säkert vittna om att det inte funkar så bra, färgen lossnar helt enkelt efter ett tag. Det verkar gått så långt att många helt enkelt inte ens bryr sig om att försöka bygga upp en korrekt målning utan istället slänger på lite primer och antifouling direkt på aluminiumet och får göra om samma visa efter nåt år!</p>
<p>Ifall du frågar ditt lokala båtvarv, din färgaffär, din billackeringsfirma eller kanske din marinbutik så tror du att de borde veta hur man gör detta på bästa sätt, eller hur? Men det är inte alls troligt! I alla fall inte enligt mina erfarenheter när jag gjorde just detta.</p>
<p>Mitt drev &#8211; ett Volvo Penta DP-SM drev från 1998-99 &#8211; hade råkat ut för en hel del ytkorrosion, antagligen under föregående ägares sista säsong med landström på bryggan (ajajaj). Det märktes dock inte eftersom hela drevet var målat i svart Trilux-färg (vilket i sig känns lite knepigt &#8211; visst, koppartiocyanat, men ändå&#8230;), men när jag började skrapa så slutade det med att jag fick slipa ner drevet till aluminium på kanske 30% av ytan! Ja, båda anoderna var ordentligt slut, på bara en säsong.</p>
<p><strong>OBS!</strong> Slipa bara med aluminiumoxid-papper, icke metalliska saker eller sand. Absolut inte stålborste (om den inte är av rostfritt stål) eller stålull, dessa släpper ifrån sig stål in i aluminiumytan och det kommer sedan att rosta som attans. Jag använde tyvärr en stålborste på borrmaskin (osäker på vad den är av, men knappast rostfri) och har försökt slipa ytterligare för att bli av med det, osäker på om det lyckas.</p>
<p>Nörd som jag är så ville jag veta hur Volvo Penta anser att man bör lacka upp ett drev från grunden och lyckades till slut få tag på verkstadshandboken på nätet för detta drev. Värt att notera i detta sammanhang är att boken för min motor från 1998 (V8 5.7GS) har gamla instruktioner och den lite nyare handboken för 5.7Gi etc har uppdaterade instruktioner för målning av DP-S/SX-drev!</p>
<p><em>Jag utgår ifrån att Volvo Penta insåg att de behövde justera råden eftersom DP-S/SX-dreven är gjutna i en kisel-aluminiumlegerin. Har ej bekräftat detta med Volvo Penta, men en annan teori kan ju vara att de ändrade tillverkningsprocessen av SX/DP-S efter några år, men det verkar osannolikt. Tacksam ifall någon kan bringa klarhet i detta.</em></p>
<p>Hur som helst, följande text återfinns i verkstadshandboken (tror inte Volvo Penta blir arga ifall jag återger den här):</p>
<blockquote><p><span style="color: #99cc00;">1. Remove all marine growth.</span></p>
<p><span style="color: #99cc00;">2. Remove all loose paint and corrosion by sanding or sandblasting.</span><br />
<span style="color: #99cc00;"> If sandblasting, use an aluminum oxide blasting media with a particulate</span><br />
<span style="color: #99cc00;"> size of 0.008-0.028 in. (0.2-0.7 mm).</span></p>
<p><span style="color: #99cc00;">3. Remove all trace of grease and wash with hot water and detergent.</span><br />
<span style="color: #99cc00;"> Roughen all painted surfaces with medium 3M ScotchbriteTM</span><br />
<span style="color: #99cc00;"> pad. Rinse thoroughly with water.</span></p>
<p><span style="color: #99cc00;">4. Treat any bare aluminum with chromate conversion coating. Clean</span><br />
<span style="color: #99cc00;"> the entire area with an acid cleaner that does not contain fluoride,</span><br />
<span style="color: #99cc00;"> such as DuPont 5717. Scrub the surface with 3M ScotchbriteTM</span><br />
<span style="color: #99cc00;"> pad until it is completely “wetted” with no beads of water.</span></p>
<p><span style="color: #99cc00;">Note! Fluoride in a cleaner causes a “smut” (dark discoloration</span><br />
<span style="color: #99cc00;"> on silicon-alloy aluminum castings), and paint will not</span><br />
<span style="color: #99cc00;"> stick to “smut”. If this happens, sand the surface and start</span><br />
<span style="color: #99cc00;"> over using a different acid cleaner.</span></p>
<p><span style="color: #99cc00;">Note! Do not use steel wool. Small pieces of steel wool become</span><br />
<span style="color: #99cc00;"> embedded in the aluminum and will cause severe corrosion.</span></p>
<p><span style="color: #99cc00;">5. Rinse thoroughly with water. The area must appear “wetted” or the</span><br />
<span style="color: #99cc00;"> surface is not clean, and paint will not adhere.</span></p>
<p><span style="color: #99cc00;">6. While the surface is still wet from rinsing, treat all bare aluminum</span><br />
<span style="color: #99cc00;"> with DuPont 226S chromate conversion solution. Brush the chromate</span><br />
<span style="color: #99cc00;"> solution as required for 2 to 5 minutes to prevent it from drying</span><br />
<span style="color: #99cc00;"> on the surface. Rinse the surface thoroughly with water and</span><br />
<span style="color: #99cc00;"> allow to air dry. Follow the label instructions exactly.</span></p>
<p><span style="color: #99cc00;">–If the chromate is allowed to dry anywhere on the bare aluminum</span><br />
<span style="color: #99cc00;"> surface, chromic acid salts will form which will prevent</span><br />
<span style="color: #99cc00;"> paint adhesion and promote corrosion. Sand the surface to</span><br />
<span style="color: #99cc00;"> bare metal.</span><br />
<span style="color: #99cc00;"> –It is best to let the part air dry, but if you must wipe the surface</span><br />
<span style="color: #99cc00;"> to speed up drying, use lint free wipes not treated with</span><br />
<span style="color: #99cc00;"> anything that may contaminate the surface. Do not scrub the</span><br />
<span style="color: #99cc00;"> surface, wipe very lightly.</span><br />
<span style="color: #99cc00;"> –Do not blow dry with shop air unless it is completely free of</span><br />
<span style="color: #99cc00;"> dirt, oil, and water.</span><br />
<span style="color: #99cc00;"> –Do not heat the part above 150°F, before painting.</span><br />
<span style="color: #99cc00;"> –Do not touch the treated surface with bare bands before</span><br />
<span style="color: #99cc00;"> painting.</span><br />
<span style="color: #99cc00;"> –The part should be primed soon after it dries, or at least</span><br />
<span style="color: #99cc00;"> within 24 hours.</span></p>
<p><span style="color: #99cc00;">7. Where the prime coat is thin or where the surface is unpainted,</span><br />
<span style="color: #99cc00;"> prime with Volvo Penta Primer or PPG Super Koropon epoxy</span><br />
<span style="color: #99cc00;"> primer. Do not apply primer over hard finish coat. Primer solvents</span><br />
<span style="color: #99cc00;"> must be allowed time to evaporate and the primer must harden</span><br />
<span style="color: #99cc00;"> before applying the finish coat. Allow 8 to 12 hours drying time.</span></p>
<p><span style="color: #99cc00;">8. Apply finish coat. The parts catalogs list numbers for finishing</span><br />
<span style="color: #99cc00;"> products.</span></p></blockquote>
<p>Ok&#8230; här visar det sig gömmas ett helt kunskapsområde att gräva i som de flesta inte har en aning om vad det är. Pröva med att fråga ditt varv om de vet vad <a href="http://en.wikipedia.org/wiki/Chromate_conversion_coating">kromatering</a> eller <a href="http://en.wikipedia.org/wiki/Passivation">passivering</a> av aluminium är, eller om de hört talas om Alodine!</p>
<p>Medlen som nämns, DuPont 5717 samt DuPont 226S är en metallpreparationsvätska resp. en kromateringsvätska. Dessa ämnen finns i olika tappningar från olika leverantörer, exempelvis motsvarande DX533 samt DX503 från <a href="http://www.ppg.com/">PPG</a> eller olika varianter kallade Alodine från Henkel. Preparationsvätskan kallas ofta för Alumiprep 33 (dock ej den vi ska använda till ett DP-S/SX-drev, läs vidare) och kromateringsvätskan kallas generellt för Alodine, det är visserligen ett produktnamn men har blivit näst intill synonymt med &#8220;kromateringsvätska för aluminium&#8221;.</p>
<p>NOT: &#8220;State of the art&#8221; idag är tydligen elektrokeramisk behandling kallad <a href="http://henkelec2.com/marine.htm">Alodine EC2</a></p>
<p>Preparationsvätskan är i grunden baserad på forsforsyra som helt enkelt djuprengör ytan från oxidering, korrosion och annat jox. Kromateringsvätskan genomför en kromatering (även kallat mer generellt för <a href="http://en.wikipedia.org/wiki/Passivation">passivering</a>) av aluminiumets yta, dvs det är ett extremt tunnt lager som kemiskt binds mycket starkt med det yttersta skiktet av aluminiumet. Detta skikt förhindrar korrosion och ger en mycket bättre yta att måla vidare på. Detta är otroligt viktigt för resten av målningsprocessen ifall vi vill ha en lackering som håller lika bra som Volvo Pentas originallack dsv mer än några få säsonger &#8211; <strong>kort sagt, kromateringen sitter benhårt på aluminium och primern sitter benhårt på kromateringen i sin tur!</strong> Volvo Penta har (läste jag någonstans) under 30 år använt denna kromatering i deras lackprocess.</p>
<p>Alodine har traditionellt varit baserat på <a href="http://en.wikipedia.org/wiki/Hexavalent_chromium">sexvärt krom</a>, giftigt som satan! Kommer du ihåg <a href="http://sv.wikipedia.org/wiki/Erin_Brockovich_(film)">Erin Brockovich</a>? Japp, sexvärt Krom. Kallas &#8220;hexavalent&#8221; på engelska. Jag utgår ifrån att Volvo använt Alodine baserat på sexvärt krom. Ifall man googlar på nyckelord som passivering av aluminium, kromatering osv så hittar man svenska industriföretag som sysslar med detta.</p>
<p>Jag hittade också <a href="http://www.boatered.com/forum/topic.asp?TOPIC_ID=97217">denna mycket bra beskrivning</a> av en person som använt ovanstående process själv för att måla drev, med goda resultat.</p>
<p>Men hur ska vi göra som privatpersoner? För det första hittar jag inga affärer i Sverige som saluför dessa ämnen, rätta mig ifall jag har fel. För det andra vill i alla fall inte jag ta i sexvärt krom med en 5 meter lång tång ens, det är cancerogent och man måste ha avancerad skyddsutrustning osv. Inget för hobby-Pelle hemma på gården alltså! Men under senare år har det alltså dykt upp en rad olika alternativa vätskor/processer som exempelvis ChromitAL TCP, Surtec 609 Zetacoat osv. Flera av dessa baseras på trevärt krom som inte alls är giftigt!</p>
<p>På nätet finns det <a href="http://www.aircraftspruce.com">en affär som de flesta jänkare refererar till</a>, och där finns alla dessa ämnen &#8211; men de levererar inte internationellt&#8230; Efter att ha pratat med tonvis med folk så hade jag vid det här laget bestämt mig för att hoppa över kromateringen och köra på den varianten som de flesta rekommenderar:</p>
<ol>
<li>Slipa ner, undvik stål och sand. Jag försöker behålla originallackskiktet där det går. Har ingen bläster som såklart är det bästa utan använder skrapa + aluoxidpapper + borrmaskin med slipstift eller icke stålborste.</li>
<li>Använd avfettning, typ Henkel Degreaser, finns i båtshoppen. Tar bort fetter och oljor osv.</li>
<li>Högtryckstvätta som en idiot. Möjligen slabba på slutet med avjoniserat vatten för att bli av med salter i kranvattnet.</li>
<li>Måla med en 2-komponents epoxy primer enligt instruktion. Jag valde att köpa Henkels standardprimer från båtshoppen. Första lagret ska målas förtunnat, sedan 3-4 lager till.</li>
<li>Dags för Volvos originalfärg på sprayburk. DP-S har metallic.</li>
<li>Metallic behöver klarlack, Volvos återigen på sprayburk.</li>
</ol>
<p>Värt att notera med ovanstående är:</p>
<ul>
<li>Vi använder inte självetsande primer. För det första är det enligt flera &#8220;old school&#8221;. För det andra tycks epoxy primern har svårt att fästa på sådan primer och de flesta avråder från det. För det tredje har International slutat att sälja sin Etching Primer och rekommenderar istället att göra som Henkels epoxy primer beskriver &#8211; förtunnat lager och därefter en rad lager till, direkt på aluminiumet. De anser att det blir bättre än etsande primer tydligen, enligt en kille på färgaffären.</li>
<li>Degreasern klarar inte av att få bort oxidationen och jag är osäker på hur effektiv den är mot kiseln som ju finns inne i aluminiumet. Detta tillsammans med att vi inte fått stopp på aluminiumets korrosionsförmåga och att primern har svårt att fästa på aluminiumet är de stora svagheterna. Inte undra på att alla som sysslar med detta säger att, &#8220;Tja, du får vara beredd på att måla om efter några säsonger&#8230;&#8221;. Färgen fäster helt enkelt inte tillräckligt bra och oxidationen kommer tillbaka.</li>
</ul>
<p>Det gnagde i mig att det borde gå att få tag på de där två vätskorna ändå. Det var då jag till slut hittade <a href="http://www.chemical-supermarket.com">www.chemical-supermarket.com</a> &#8211; aha! De har både giftiga varianter och moderna sorter fria från sexvärt krom. <strong>Game on!</strong></p>
<p>Jag satsar på Chromital TCP från Henkel dvs <a href="http://www.chemical-supermarket.com/Henkel-Alodine-T-5900-RTU-Conversion-Coating-p601.html">T5900-TCP</a> samt <a href="http://www.chemical-supermarket.com/Metalprep-79-p370.html">Metal Prep 79</a> som preparationsvätska istället för Alumiprep. Detta eftersom jag hittat på nätet att Metal Prep 79 rekommenderas av Henkel för kisel-aluminiumlegeringar eftersom den ej innehåller fluor, också noterat i Volvos instruktion. Alumiprep 33 avråder Henkel ifrån. T5900-TCP (TCP står för Trivalent Chromium Process) har också erhållit militärt godkännande i USA och visar näst intill lika bra egenskaper som referensprodukten Alodine 1200S (sexvärt krom) samt är inte alls lika giftig och läskig att använda. De helt kromfria varianterna visar inte riktigt lika bra resultat som TCP-varianterna.</p>
<p>När jag ändå bestämt mig för att köpa saker från chemical-supermarket så slog jag också till på <a href="http://www.chemical-supermarket.com/Stratocoat-Green-Epoxy-Primer-p318.html">deras Epoxy Primer</a> som verkar vara riktigt vass, också godkänd för militärt bruk, samt deras stripper <a href="http://www.chemical-supermarket.com/EFS-2500-Paint-Stripper-p639.html">EFS 2500</a> för färgborttagning, uppenbarligen något i hästväg. Ska bli intressant att se ifall strippern kan ta resten av färgen på drevet utan slipning!</p>
<p>Alla fyra produkter landar totalt på 174 dollar, men FedEx-frakten går lös på 253 dollar! Vi landar således på <strong>427 dollar dvs cirka 2700:-</strong>, inte billigt direkt.</p>
<p>Nu ser vår reviderade process ut såhär:</p>
<ol>
<li>Pröva EFS-2500 Paint Stripper. Ifall den funkar extremt bra så gör jag drevet 100% rent. Annars försöker jag behålla originallacken där det går. Har ingen bläster som såklart är det bästa utan använder skrapa + sandpapper + borrmaskin med slipstift eller icke stålborste.</li>
<li>Använd avfettning, typ Henkel Degreaser, finns i båtshoppen. Tar bort fetter och oljor osv.</li>
<li>Högtryckstvätta.</li>
<li>Använd Metal Prep 79 enligt instruktion. Penslas på några minuter och sköljs av, skall ej torka på ytan. Vattnet skall sluta bilda droppar. Gummihandskar, förkläde och skyddsglasögon samt god ventilation är viktigt!</li>
<li>Högtryckstvätta samt skölja med avjoniserat vatten för att bli av med salter i kranvattnet.</li>
<li>Använd T5900-TCP enligt instruktion. Penslas på några minuter och sköljs av. Gummihandskar, förkläde och skyddsglasögon samt god ventilation är viktigt!</li>
<li>Måla med Stratocoat Green epoxy primer enligt instruktion. Antagligen 2-3 lager.</li>
<li>Dags för Volvos originalfärg på sprayburk. DP-S har metallic så det blir klarlack på det också.</li>
<li>Klarlack, Volvos återigen.</li>
</ol>
<p>Vi är därmed uppe i cirka 6 lager, vilket ju är barnsligt jämfört med Volvos 19 i deras process! <img src='http://goran.krampe.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Steg 8 och 9 skulle kunna vara mer avancerade men jag kör gärna Volvo originalprylar på den nivån.</p>
<p>Detta är sålunda planen, i nästa artikel tänker jag visa steg för steg med bilder och detaljerade instruktioner samt tidsåtgång.</p>
<p>Ifall jag har faktafel, kommentera så justerar jag gärna. Ifall någon har mer kunskaper i ämnet, kommentera så lägger jag gärna till. Ifall någon firma erbjuder tjänster för kromatering av drev &#8211; maila så kan jag lägga in länkar till er.</p>
]]></content:encoded>
			<wfw:commentRss>http://goran.krampe.se/2011/05/01/konsten-att-mala-ett-drev-del-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

