<?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>markus.brosch.net</title>
	<atom:link href="http://www.markus.brosch.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.markus.brosch.net</link>
	<description></description>
	<lastBuildDate>Wed, 09 Jun 2010 19:38:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title></title>
		<link>http://www.markus.brosch.net/?p=177</link>
		<comments>http://www.markus.brosch.net/?p=177#comments</comments>
		<pubDate>Wed, 09 Jun 2010 19:33:49 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=177</guid>
		<description><![CDATA[



]]></description>
			<content:encoded><![CDATA[<div>
<a href="http://www.volksentscheid-nichtraucherschutz.de" target="_blank"><br />
<img src="http://www.nichtraucherschutz-bayern.de/fileadmin/user_upload/redaktion/mitmachen/website-material/banner-500-74.jpg" alt="Raucherschutz" /></a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=177</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java/Midlet Environment IBM J9 *with* JSR-75 support (updated)</title>
		<link>http://www.markus.brosch.net/?p=111</link>
		<comments>http://www.markus.brosch.net/?p=111#comments</comments>
		<pubDate>Mon, 30 Jun 2008 13:17:38 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[(Mini)Pauker]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=111</guid>
		<description><![CDATA[This is an updated entry of the original post from November 2006. This article deals with the installation of the Java environment on mobile devices.
I have received a lot of feedback, a few comments as well as supporting requests that are concerned with Java on mobile devices. Recently I also received a comprehensive update from [...]]]></description>
			<content:encoded><![CDATA[<p>This is an <strong>updated entry</strong> of the original post from November 2006. This article deals with the installation of the Java environment on mobile devices.</p>
<p>I have received a lot of feedback, a few <a href="http://www.markus.brosch.net/?p=111#comments">comments</a> as well as supporting requests that are concerned with Java on mobile devices. Recently I also received a comprehensive update from Fred Gnuechtel (IBM) regarding the Java environment on mobile devices. See below.</p>
<p>First of all: IBM J9 is from my point of view the best and most complete Java Runtime for mobile devices. So that&#8217;s good news ;)</p>
<p><strong>Palm users</strong> <strike>have an easy life to install this: They can easily download and install a fully maintained IBM J9 directly from Palm for 5$ or so, including the JSR-75 file I/O framework.</strike> are left out of the game and Java is no longer  available: <a href="http://www.palm.com/us/support/jvm/index.html" target="_blank">http://www.palm.com/us/support/jvm/index.html</a>. Too bad, sorry! </p>
<p>For <strong>Windows Mobile users </strong>it was more difficult in the past to have a working IBM J9 installation, since it was down to the vendors whether they installed IBM J9 or not, which unfortunately did not happen too often. In the past I provided a small tutorial here on how to get J9 installed from IBM&#8217;s open source development environment.</p>
<p>However, according to <a href="http://www.markus.brosch.net/?p=111#comment-7270" target="_blank">Fred Gnuechtel</a> from IBM it seems to be not a legitimate way to do things and IBM has removed the most visible J9 sources. I was not aware of this and have removed the tutorial for obvious reasons. </p>
<p>But there are very good news for you still: <a href="http://www.handago.com" target="_blank">Handago.com</a> offers now a IBM Java environment for various Windows Mobile phones. Sounds like not too much &#8220;tinkering&#8221; to get a IBM J9 installation! Super :)<br />
Kudos to IBM and Handago for making J9 available to the end-user now.</p>
<p><strong>Information provided by Fred Gnuechtel (IBM):</strong></p>
<blockquote><p>
I can provide the links, but Handango tends to reorganize their WEB site about once a quarter and then i have to do on a WEB safari to find where they went. So please be aware that you may have to update them from time to time. They also force you down a path of selecting a device and then telling you that J9 is not supported on it. You have to ignore this. Again, this is part of the Hanango WEB sites effort to reduce their support cost and returns. Here is a copy of the note that i send when someone contacts me either from the IBM site or sites like yours&#8230;..</p>
<p>IBM&#8217;s &#8220;Websphere Everyplace Micro Environment&#8221; (WEME) conforms to the Java ME specification and is available in both of the JavaME defined configurations. For small volumes business deployments low volumes ( 1- 10&#8217;s) and individual copies for personal use, the IBM Java ME virtual machine (WEME) may be purchased from our business partner, Handango for $25 USD per license (device).. All of our Java runtimes that are available from Handango are Java ME certified and we provide solutions for various Java ME profiles and operating systems. These are made available &#8220;as is&#8221; &#8211; no support. (this means you will be on your own using forums on the web). WEME is based on IBM&#8217;s J9 Virtual Machine technology.</p>
<p>Our WM5 runtime works just fine on PocketPC 2003, PocketPC 2003 SE and WM6. Our WinCE 5 runtimes will run on WinCE 4.2 but NOT on WinCE 6.</p>
<p>There are actually 2 Java ME configurations and IBM supports both of them. It is important to use the one that supports your application and specific device type.</p>
<p>CLDC+MIDP (for Midlets)<br />
or<br />
CDC+Foundation+Personal ( for Applet/Applications)</p>
<p>Note that we no longer support CDC 1.0, Foundation 1.0 and PPro 1.0. We have moved up to the 1.1 versions.</p>
<p>Also, we do support Smartphone (button navigation &#8211; no touch scree) but only with MIDP. Our PPro implementation requires a touch screen. </p>
<p>Our Windows Mobile JVM&#8217;s are written to the ARM instruction set and will work on any ARM based processors such at the Intel PXA 2xx, TI OMAP, Freescale and Samsung processors that run WM5/6 or WinCE.</p>
<p>Please note that these runtimes from Handango are provided &#8220;As Is&#8221; with no warranty or support expressed or implied. Our Business Partners can provide Licenses and support for a fee.</p>
<p>MIDP 2.0 for Windows Mobile 5 Smartphone<br />
(button navigation &#8211; no touch screen):<br />
<a href="http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;osId=855&#038;jid=121FDF13D35AC718E2C9768DDFFC3E5X&#038;platformId=11&#038;N=4294921609&#038;Ntt=websphere&#038;R=203653&#038;productId=203653">http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;osId=855&#038;jid=121FDF13D35AC718E2C9768DDFFC3E5X&#038;platformId=11&#038;N=4294921609&#038;Ntt=websphere&#038;R=203653&#038;productId=203653</a></p>
<p>MIDP 2.0 for Windows Mobile 5 PDA and Phone Edition devices with QVGA Screen Resolution<br />
(PDA style touch screen device &#8211; low or standard resolution screen 320&#215;240):<br />
<a href="http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;osId=849&#038;jid=121FDF13D35AC718E2C9768DDFFC3E5X&#038;platformId=2&#038;N=4294923386&#038;Ntt=websphere&#038;R=203649&#038;productId=203649">http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;osId=849&#038;jid=121FDF13D35AC718E2C9768DDFFC3E5X&#038;platformId=2&#038;N=4294923386&#038;Ntt=websphere&#038;R=203649&#038;productId=203649</a></p>
<p>MIDP 2.0 for Windows Mobile 5 PDA device with VGA Screen Resolution<br />
(PDA style device &#8211; high resolution touch screen 640&#215;480):<br />
<a href="http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;osId=807&#038;jid=121FDF13D35AC718E2C9768DDFFC3E5X&#038;platformId=2&#038;N=4294926649&#038;Ntt=websphere&#038;R=203654&#038;productId=203654">http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;osId=807&#038;jid=121FDF13D35AC718E2C9768DDFFC3E5X&#038;platformId=2&#038;N=4294926649&#038;Ntt=websphere&#038;R=203654&#038;productId=203654</a></p>
<p>Personal Profile 1.1 for Windows Mobile 5 PDA device with Touch Screen<br />
(PDA style device &#8211; touch screen) :<br />
<a href="http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;jid=734756B7A126CXFF4483XD5B5D82CEA4&#038;platformId=2&#038;N=0&#038;productId=204403&#038;merch=more_author_titles&#038;HDGO_ad=mat_204403&#038;HDGO_au=1&#038;HDGO_ae=c">http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;jid=734756B7A126CXFF4483XD5B5D82CEA4&#038;platformId=2&#038;N=0&#038;productId=204403&#038;merch=more_author_titles&#038;HDGO_ad=mat_204403&#038;HDGO_au=1&#038;HDGO_ae=c</a></p>
<p>Personal Profile 1.1 for Windows CE 5.x PDA device with Touch Screen ( WinCE 5 Professional &#8211; not WinCE Core)<br />
(PDA style device &#8211; touch screen):<br />
<a href="http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;jid=734756B7A126CXFF4483XD5B5D82CEA4&#038;platformId=2&#038;N=0&#038;productId=212765&#038;merch=more_author_titles&#038;HDGO_ad=mat_212765&#038;HDGO_au=1&#038;HDGO_ae=c">http://www.handango.com/PlatformProductDetail.jsp?siteId=1&#038;jid=734756B7A126CXFF4483XD5B5D82CEA4&#038;platformId=2&#038;N=0&#038;productId=212765&#038;merch=more_author_titles&#038;HDGO_ad=mat_212765&#038;HDGO_au=1&#038;HDGO_ae=c</a></p>
<p>When downloading from Handango, you may get a warning that says this is incompatible with your device. Please ignore this warning and click though to complete your transaction.</p>
<p>The file you download is a Windows/x86 Install shield (EXE) that you must run on your PC. It presents you with the License Agreement and then copies the files to your PC. You then have to manually copy the LIB and BIN directories to your device using ActiveSync. Unfortunately, we do not provide a CAB files on some of our runtime packages. This is also something that our Business Partners could provide.</p>
<p>Unfortunately, you are correct about the Palm JVM.</p>
<p>IBM does not have the licensing rights to distribute the PalmOS version of Websphere Everyplace Micro Environment (WEME) the JavaME JVM. The port was done under license by PalmSource who was acquired by Access in Japan. several years ago. I believe that Palm&#8217;s license with Access has now run out and that is why Palm has removed the runtime form their WEB site. On top of this, Access has also dropped their agreement with IBM.</p>
<p>Regards, Fred</p></blockquote>
<p>And some extra information:</p>
<blockquote><p>A lot of the people that install the CDC-PPro JVM don&#8217;t realize they have to create a LNK file to get their application loaded and running. Here is the note I send for that:&#8230;&#8230;&#8230;.</p>
<p>Here are a couple examples of Windows Mobile shortcut (LNK) files&#8230;..</p>
<p>This link will open a console window so you can check for any errors:</p>
<p>255#\path\bin\j9.exe -jcl:ppro11 -cp \path\my-app.jar my-app-main-class</p>
<p>These example links will run without a console window:</p>
<p>255#\path\bin\j9w.exe -jcl:ppro11 -cp \path\my-app.jar my-app-main-class</p>
<p>255#&#8221;\my path\bin\j9w.exe&#8221; -jcl:ppro11 -cp &#8220;\my path\my-app.jar&#8221; my-app-main-class</p>
<p>If the JVM files are organized into a path structure of:<br />
\path\bin\jvm-exe-dll-files<br />
\path\lib\jvm-class-library-files<br />
then paths to the jvm class library files are not required in the LNK file.</p>
<p>All LNK files must conform to the following rules&#8230;.<br />
1 &#8211; if any parm includes a space char then the entire parm must be inside double-quote marks<br />
2 &#8211; the entire command line must be on 1 single line, multi-line LNK files are not permitted<br />
3 &#8211; the entire LNK file must be no more that 255 bytes max, must shorten commands or paths if longer</p>
<p>Regards,<br />
Fred</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Mac OS X applications (update)</title>
		<link>http://www.markus.brosch.net/?p=121</link>
		<comments>http://www.markus.brosch.net/?p=121#comments</comments>
		<pubDate>Fri, 25 Jan 2008 23:34:49 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Products]]></category>
		<category><![CDATA[Software & Programming]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=121</guid>
		<description><![CDATA[I am using the OS X system now for about 2 year. Before, I was for many many years on Linux (Debian), but the ongoing &#34;tweaking&#34; addiction was too time consuming. Once I started with my PhD I thought it might be a good idea to cut down on this this and focus on the [...]]]></description>
			<content:encoded><![CDATA[<p>I am using the OS X system now for about 2 year. Before, I was for many many years on Linux (Debian), but the ongoing &quot;tweaking&quot; addiction was too time consuming. Once I started with my PhD I thought it might be a good idea to cut down on this this and focus on the real work ;) </p>
<p>My initial 2-3 month on OS X where <strong>not</strong> that great, considering that I was expecting a Linux with a nifty interface.  Some things are just different, but after the initial hurdle I like the system today. A Unix which just works. Nice in a way. </p>
<p>Here is &#8220;my essential applications&#8221; list; some of them are OpenSource, some are commercial. Surely, OpenSource is a wonderful thing and I contribute to a few projects myself, but I am still willing to pay for good commercial applications!</p>
<p><strong>System:</strong></p>
<ul>
<li>MacPorts project (all the great stuff from the OpenSource world)
<li><strike>Fink</strike> (too outdated, use MacPorts)
<li>Quicksilver (the most essential tool you need handy; connects with many apps)
<li>Jumpcut Clipboard Buffering (the name says it all, it is great)
<li>Growl (notification system inter-connecting with most apps)
<li>SimplyBurns (nice CD/DVD burning interface; better than onboard tools)
<li>SuperDuper (perfect backups, but I don&#8217;t use it since I have TimeMachine)
<li>Chicken of the VNC (only if you want to work remotely on other machines via VNC)
<li>Microsoft Remote Desktop Connection (RDC) (only if you want to work remotely on other MS machines)
<li>GrandPerspective (perfect for getting an idea of how HDD space is occupied)
<li>MenuMeters (great tool informing you about HDD, CPU, memory &#038; network status)
<li>KeePassX and/or TrueCrypt (passwords to save ?)
<li>VMware Fusion (virtualisation)
<li>CoconutBattery (inspect the performance of you laptop battery)
<li>Font Book (inspect your installed fonts)
<li>Key Codes by Peter Maurer (find out about key mappings)
<li>pearScriptKeys (make you own global hot keys)
<li>TinkerTool System (various system level maintainance stuff)
<li>sshfs (transparently connects a remote files system via SSH to your machine, handy)
<li>ExpanDrive (faster and a bit more reliable than sshfs, but commercial)
<li>iDefrag (fragmented hard drive ? Use this tool. However, HFS+ hardly fragments in the first place :)
<li>LittleSnitch (personal firewall)
<li>RCDefaultApp (assign default applications for certain file types; System preferences)
<li>GnuPG &#038; GPGMail (gpg mails &#038; texts)
<li>MondoMouse (mouse super power &#8211; that&#8217;s what they claim)
<li>Tech Tool Deluxe (part of Apple Care Protection Plan)
<li>Rember (a frontend of memtest; unlike memtestosx free of charge)
<li>Spanning Sync
<li>Typinator
<li>Default Folder X (a must have!)
<li>ToggleHiddenFiles
<li>Name Mangler
<li>Service Scrubber
<li>Lab Tick
<li>MarcoPolo
<li>OpenTerminalHere
</ul>
<p><strong>Work:</strong></p>
<ul>
<li><del datetime="2009-05-11T12:20:37+00:00">Evernote</del>, CircusPonies Notebook 3
<li>Bookends (reference management; Papers is a good alternative apparently)
<li>OmniGraffle (Awesome application for vector graphics, e.g. for making posters etc)
<li>Keynote (do you need to present your work, then this is for you)
<li>LaTeX packages, TexShop, LaTeX2rtf
<li>Mellel (great for technical and scholar writing; I use it for papers where LaTeX is over the top)
<li>OpenOffice 3.1 (horrible big beast, but at times you need to open Office documents)
<li>Skim (the very best pdf viewer ever)
<li>Apple Development Tools (essential if you do any development on your machine)
<li>Your favorite programming languages, myself Java, Perl and bit of Ruby &#038; C++
<li>IntelliJ and Eclipse (both good IDEs for Java, I use the latter also for Perl &#038; C++)
<li>TextMate, MacVim (my favourite text editors)
<li>MySQL, DbVisualizer (database stuff)
<li>R project (the ultimate free statistics environment)
<li>XMind
<li>AntiRSI (keeps you healthy &#8211; sort of)
<li>iFlash
</ul>
<p><strong>Media:</strong></p>
<ul>
<li>Adobe Photoshop CS3 (thankfully students get better rates :)
<li>Adobe Lightroom (great for working dynamically on RAW camera files)
<li>DNG Profile Editor
<li>iMovie HD (the old version 6 &#8211; forget about the new crippled iMovie versions)
<li>NeatImage PS plugin (get rid of noise in your pictures)
<li>Spyder3 Elite (do you need a calibrated monitor ? This set works well)
<li>HoudahGeo (geo tagging)
<li>RouteConverter 1.11 (converting various GPS files; only the old version works on Java 5)
<li>exiftool (A command-line interface to Image::ExifTool)
<li>Google Earth
<li>VLC (plays literally every media file)
<li>iShowU (screen cast program)
<li>Audacy (some audio work to do ? Record from the mic ?)
<li>ImageJ &#038; API (nice if you do imaging with Java, used it in one of my science projects)
<li>Last.fm (the new form of radio these days ?)
<li>Comic Life (the need to draw a comic quickly ?)
<li>Incscape
</ul>
<p><strong>Web stuff:</strong></p>
<ul>
<li>Firefox, Camino, Opera &#038; Safari
<li>Cyberduck (FTP & SSH; itegrates with Textmate)
<li>Paparazzi! (screenshots of a certain URL, can be handy)
<li>Skype (text, voip &#038; video chat)
<li>GalleryRemote
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=121</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Noisy headphone jack on your computer ? This might help !</title>
		<link>http://www.markus.brosch.net/?p=120</link>
		<comments>http://www.markus.brosch.net/?p=120#comments</comments>
		<pubDate>Sun, 18 Nov 2007 00:14:13 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=120</guid>
		<description><![CDATA[Problem:
Do you experience a &#8220;noisy&#8221; sound or some sort of &#8220;clicking&#8221;, &#8220;popping&#8221; or even &#8220;hissing&#8221; from your headphones if connected directly to the headphone jack ? Especially highly sensitive headphones (low impedance) that run rather loud even at low volume settings can be prone to show these effects, since the soundcard&#8217;s signal/noise (S/N) is usually [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong><br />
Do you experience a &#8220;noisy&#8221; sound or some sort of &#8220;clicking&#8221;, &#8220;popping&#8221; or even &#8220;hissing&#8221; from your headphones if connected directly to the headphone jack ? Especially highly sensitive headphones (low impedance) that run rather loud even at low volume settings can be prone to show these effects, since the soundcard&#8217;s signal/noise (S/N) is usually worst at low volume settings.</p>
<p>I had particular problems with my Macbook Pro in combination with some Sennheiser headphones. The Powerbook I used before was &#8220;better&#8221; handling these headphones. Anyway, let&#8217;s look at a simple solution which might help you as well &#8230;</p>
<p><strong>Solution:</strong><br />
You select around 80% volume on you computer and externally turn the volume down to an acceptable volume level using an external headphone extension cord with volume control. By doing so, the S/N of the audio signal is maximised and you get surprising clear and clean sound quality. I was actually blown away with this solution and the results it produces. I have never ever experienced such a clean audio out from a computer. I even considered a high grade external DAC (Digital/Analogue Converter) because this issue drove me so mad. </p>
<p>So if you do care about audio quality just a little bit (I am not an Audiophile), you might want to try this very very cheap and simple solution and buy a <em>headphone extension cord with integrated volume control</em> which costs around 5£. Good luck !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=120</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remote printing via SSH</title>
		<link>http://www.markus.brosch.net/?p=117</link>
		<comments>http://www.markus.brosch.net/?p=117#comments</comments>
		<pubDate>Thu, 05 Jul 2007 16:21:38 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Software & Programming]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=117</guid>
		<description><![CDATA[Ever thought it would be a good idea to print via SSH maybe because you cannot connect to your favorite printing machine in any other way ?
It is straight forward to do; you establish a ssh tunnel to your machine, e.g. via a ssh gate into your company or institute:

ssh -L2222:internal.machine.name:22 -l userName gateAddress

Now you [...]]]></description>
			<content:encoded><![CDATA[<p>Ever thought it would be a good idea to print via SSH maybe because you cannot connect to your favorite printing machine in any other way ?</p>
<p>It is straight forward to do; you establish a ssh tunnel to your machine, e.g. via a ssh gate into your company or institute:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> -L2222:internal.machine.name:<span style="color: #000000;">22</span> <span style="color: #660033;">-l</span> userName gateAddress</pre></div></div>

<p>Now you can simply run any command on the remote side and hence can trigger a printing job:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cat</span> document.pdf | <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">2222</span> localhost <span style="color: #ff0000;">&quot;acroread -toPostScript | lpr -PprinterName&quot;</span></pre></div></div>

<p>DONE :)</p>
<p>PS: acroread works much more reliable than pdf2ps, I don&#8217;t now why. psf2ps screws up with some documents. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=117</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Expobar Brewtus II</title>
		<link>http://www.markus.brosch.net/?p=114</link>
		<comments>http://www.markus.brosch.net/?p=114#comments</comments>
		<pubDate>Sun, 22 Apr 2007 19:33:39 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Espresso]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=114</guid>
		<description><![CDATA[* WPG2 Plugin Not Validated *
I never thought to buy such a serious coffee machine. I was quite happy with Silvia (Rancilio), but I got an unbelievable good offer for Brewtus 2 (almost half price, but cutting out warrenty which I don&#8217;t need &#8211; I can fix the electronics myself and the plubming are also [...]]]></description>
			<content:encoded><![CDATA[<div class="g2image_float_left">* WPG2 Plugin Not Validated *</div>
<p>I never thought to buy such a serious coffee machine. I was quite happy with <a target="_blank" href="http://www.markus.brosch.net/?p=86">Silvia (Rancilio)</a>, but I got an unbelievable good offer for <a target="_blank" href="http://coffeetime.wikidot.com/expobar-brewtus-ii">Brewtus 2</a> (almost half price, but cutting out warrenty which I don&#8217;t need &#8211; I can fix the electronics myself and the plubming are also standard parts). Brewtus is a dual boiler machine (1.5 l each!), providing rock stable brew temperature while having steam instantly from the second boiler ;)<br/></p>
<p>The brew boiler is electronically adjustable in 1 &ordm;C increments, allowing for subtle changes for different coffee blends and roasts. The temperature stability is further supported by an <a target="_blank" href="http://en.wikipedia.org/wiki/Faema">E61 system</a> that is using a thermosyphon circuit to heat the grouphead.</p>
<p>All this makes it a big step forward from Silvia (single boiler with about 300ml, passiv group heating), especially in terms of consistency. Surely, milk drinks are very easy to serve now as well ;) In my opinion only the legendary <a href="http://www.home-barista.com/pros-perspective-gs3.html">LM GS3</a> can top that machine, but that is surely too much for an amateur! There are a few similar dual boilers around, e.g. the La Spaziale S1 or Reneka Techno, but both with a significantly higher price tag &#8230;</p>
<p><div class="g2image_float_right">* WPG2 Plugin Not Validated *</div>
<p>I fitted a new OPV (OverPressureValve) for Brewtus, that allows me to adjust the brew pressure to my own preferred setting. That part is available from <a target="_blank" href="http://www.bellabarista.co.uk/">BellaBarista</a> in the UK, which have an extremely good reputation for their products and support. However, as far as I know the newest Brewtus II machines already come with a fitted new OPV that is adjustable.</p>
<p>You might hear some more news about Brewtus in the future in my coffee section :)</p>
<p>PS: Of course the roasting season outside has started, instead of roasting under the hood in the kitchen! Currently I try all sort of green beans from HasBean and also his very good blends. Today I roasted his Has Bean Espresso Blend and the Cop Of Excellence Blend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=114</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New CUGC Website</title>
		<link>http://www.markus.brosch.net/?p=115</link>
		<comments>http://www.markus.brosch.net/?p=115#comments</comments>
		<pubDate>Fri, 30 Mar 2007 20:39:48 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Gliding]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=115</guid>
		<description><![CDATA[* WPG2 Plugin Not Validated *
Since I am the webmaster of CUGC (Cambridge Univeristy Gliding Club) for the year 2007, I have used Drupal to create us a nice small CMS (Content Management System) that we can all use easily and keep the website up2date.
Although HTML or XML is straight forward for some people, it [...]]]></description>
			<content:encoded><![CDATA[<div class="g2image_float_left">* WPG2 Plugin Not Validated *</div>
<p>Since I am the webmaster of CUGC (Cambridge Univeristy Gliding Club) for the year 2007, I have used Drupal to create us a nice small CMS (Content Management System) that we can all use easily and keep the website up2date.</p>
<p>Although HTML or XML is straight forward for some people, it is not quite as accessible as it seems. My idea was to allow people the most simplistic environment to write articles, news or add events. Drupal has proven itself a very valuable CMS system and I believe it was a good choice (well, the others think that as well :)</p>
<p>I have used Typo 3 before which would have been overkill and I used Wordpress (this blog) before, which is not quite a CMS for a group of people. Learning Drupal was straight forward, a couple of evenings and the website was ready to replace our old HTML/XML system &#8230;</p>
<p>So, for all gliding students of the University of Cambrige and for all interested people: <a href="http://www.cugc.org.uk">http://www.cugc.org.uk</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=115</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Folding Bike :)</title>
		<link>http://www.markus.brosch.net/?p=112</link>
		<comments>http://www.markus.brosch.net/?p=112#comments</comments>
		<pubDate>Wed, 24 Jan 2007 17:09:02 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=112</guid>
		<description><![CDATA[* WPG2 Plugin Not Validated ** WPG2 Plugin Not Validated *I always liked to have a folding bike, but these things are usually expensive. However, currently the eBay market is flooded with &#8220;IKEA&#8221; bikes. I got mine for about 60£, so really a good price. 
After messing a bit around and some test rides, all [...]]]></description>
			<content:encoded><![CDATA[<p>* WPG2 Plugin Not Validated ** WPG2 Plugin Not Validated *I always liked to have a folding bike, but these things are usually expensive. However, currently the eBay market is flooded with &#8220;IKEA&#8221; bikes. I got mine for about 60£, so really a good price. </p>
<p>After messing a bit around and some test rides, all I can say: A folding bike is cool. You can take it very easily on the bus or train and is powerful enough to cycle some miles. My main &#8220;application&#8221; will be the trip to the local airfield ;) So I can jump on the bus for 40min or so and then cycle the rest &#8230; </p>
<p>You can&#8217;t compare it with the expensive folding bikes though, but that&#8217;s not what I was looking for. I only need it presumably 10-15x a year, so no need for an expensive toy. Highly recommended for any occasional folding biker ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=112</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto install QT 4.2 and QtRuby 1.4.6 on Mac OS X Tiger</title>
		<link>http://www.markus.brosch.net/?p=110</link>
		<comments>http://www.markus.brosch.net/?p=110#comments</comments>
		<pubDate>Mon, 16 Oct 2006 17:30:03 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Software & Programming]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=110</guid>
		<description><![CDATA[I had some (minor?) trouble to get QtRuby 1.4.6 and QT 4.2 running on my Mac (PowerPC, 10.4.8). However, with some help from Richard Dale (thank you!) and the Korundum forum I got it working.
Install QT 4.2
First, download QT 4.2 for your Mac. Unpack it and configure it with at least the &#8220;-no-framework&#8221; option, the [...]]]></description>
			<content:encoded><![CDATA[<p>I had some (minor?) trouble to get <a href="http://developer.kde.org/language-bindings/ruby/index.html">QtRuby</a> 1.4.6 and <a href="http://www.trolltech.com/products/qt">QT</a> 4.2 running on my Mac (PowerPC, 10.4.8). However, with some help from <a href="http://www.kdedevelopers.org/blog/89">Richard Dale</a> (thank you!) and the <a href="http://rubyforge.org/forum/forum.php?forum_id=723">Korundum forum</a> I got it working.</p>
<h4>Install QT 4.2</h4>
<p>First, <a href="http://www.trolltech.com/developer/downloads/qt/index">download QT 4.2</a> for your Mac. Unpack it and configure it with at least the &#8220;-no-framework&#8221; option, the remaining parameters are as far as I know up to you. And <strong>DON&#8217;T</strong> use the -prefix option (some people recommended this to put it in /Developer/qt), otherwise QtRuby 1.4.6 won&#8217;t find the QT stuff (Default installation path of QT is currently /usr/local/Trolltech/Qt-4.2.0).</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&gt;</span>  .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">-no-framework</span> <span style="color: #660033;">-system-zlib</span> <span style="color: #660033;">-qt-gif</span> <span style="color: #660033;">-qt-libpng</span> <span style="color: #660033;">-no-debug</span> \
            <span style="color: #660033;">-no-stl</span> <span style="color: #660033;">-no-exceptions</span> <span style="color: #660033;">-fast</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">QTDIR</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>Trolltech<span style="color: #000000; font-weight: bold;">/</span>Qt-4.2.0
<span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$QTDIR</span><span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #007800;">$PATH</span><span style="color: #000000; font-weight: bold;">&lt;/</span>code<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<h4>Install QtRuby</h4>
<p>Note: This is only to get version <=1.4.6 to work !!! </p>
<ul>
<li>Fix missing headers &#8211; don&#8217;t link them, copy them (otherwise the build script will fail!)

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>universal-darwin8.0<span style="color: #000000; font-weight: bold;">/*</span>.h <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>powerpc-darwin8.0</pre></div></div>

</li>
<li>Check out some updates of kalyptus we need to add to QtRuby Release 1.4.6

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> <span style="color: #660033;">-r</span> <span style="color: #000000;">588725</span> <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>anonsvn.kde.org<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>kde<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>KDE<span style="color: #000000; font-weight: bold;">/</span>kdebindings<span style="color: #000000; font-weight: bold;">/</span>kalyptus<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

</li>
<li><a href="http://rubyforge.org/projects/korundum/">Download</a> qt4-qtruby 1.4.6 and unpack</li>
<li>Copy from the previous svn checkout the files &#8220;kalyptus&#8221; and &#8220;kalyptusCxxToSmoke.pm&#8221; into the kalyptus folder of qtruby</li>
<li>According to <a href="http://rubyforge.org/forum/forum.php?thread_id=8396&#038;forum_id=723">this article</a> we need to comment out the main() function of qtruby/bin/qtrubyinit.cpp</li>
<li>In the root of qt4-qtruby you run:

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&gt;</span> .<span style="color: #000000; font-weight: bold;">/</span>configure --with-<span style="color: #007800;">smoke</span>=<span style="color: #ff0000;">&quot;qt&quot;</span> <span style="color: #660033;">--enable-mac</span> --with-qt-<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">dir</span></span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>Trolltech<span style="color: #000000; font-weight: bold;">/</span>Qt-4.2.0 
<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>site_ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>powerpc-darwin8.0 
<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> qtruby.so qtruby.bundle</pre></div></div>

</li>
<li>Test your Qt installation:

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#006600; font-weight:bold;">&gt;</span> irb
irb<span style="color:#006600; font-weight:bold;">&#40;</span>main<span style="color:#006600; font-weight:bold;">&#41;</span>:001:0<span style="color:#006600; font-weight:bold;">&gt;</span> 
  <span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'Qt'</span>
  a = <span style="color:#6666ff; font-weight:bold;">Qt::Application</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span>ARGV<span style="color:#006600; font-weight:bold;">&#41;</span>
  hello = <span style="color:#6666ff; font-weight:bold;">Qt::PushButton</span>.<span style="color:#9900CC;">new</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;Hello World!&quot;</span>, <span style="color:#0000FF; font-weight:bold;">nil</span><span style="color:#006600; font-weight:bold;">&#41;</span>
  hello.<span style="color:#9900CC;">resize</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">150</span>, <span style="color:#006666;">50</span><span style="color:#006600; font-weight:bold;">&#41;</span>
  hello.<span style="color:#9900CC;">show</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
  a.<span style="color:#CC0066; font-weight:bold;">exec</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span></pre></div></div>

</ul>
<p>Enjoy playing with QtRuby ;)<br />
Thanks to all developers making this possible and thanks for the support!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=110</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>R from an OO perspective: modifiers / mutators</title>
		<link>http://www.markus.brosch.net/?p=109</link>
		<comments>http://www.markus.brosch.net/?p=109#comments</comments>
		<pubDate>Mon, 02 Oct 2006 13:36:18 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Software & Programming]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=109</guid>
		<description><![CDATA[WARNING: I am completely new to R and I might be wrong here, so please be aware ;)
The reason for this post is, that I haven&#8217;t found a throughout short example of a S4 class with methods able to change slots aka. fields  (mutator methods). 
THE main annoyance with R (IMHO) is that there [...]]]></description>
			<content:encoded><![CDATA[<p>WARNING: I am completely new to <a href="http://www.r-project.org">R</a> and I might be wrong here, so please be aware ;)</p>
<p>The reason for this post is, that I haven&#8217;t found a throughout short example of a S4 class with methods able to change slots aka. fields  (<a href="http://en.wikipedia.org/wiki/Mutator_method">mutator methods</a>). </p>
<p>THE main annoyance with R (<a href="http://en.wikipedia.org/wiki/List_of_Internet_slang_phrases#I">IMHO</a>) is that there are no ways to <a href="http://en.wikipedia.org/wiki/Strict_evaluation#Call_by_value">pass values by reference</a>. You need some &#8220;tricks&#8221; to be able to modify the slots of an object (otherwise you just end up with changing the slots of a copy of the actual object ;). </p>
<p>This short example should give you an idea of how we can modify slots of an object in R which allows mutator methods. Browsing some mailing lists I basically found two ways of doing so: setReplaceMethod which returns the object copy and replaces the original object or the &#8220;eval.parent(substitute( &#8230; ))&#8221; trick. But see yourself:</p>

<div class="wp_syntax"><div class="code"><pre class="perl perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#define a pythagoras class as an example, holding a, b anc c as numeric values.</span>
setClass<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras&quot;</span><span style="color: #339933;">,</span>
   representation <span style="color: #339933;">=</span> representation<span style="color: #009900;">&#40;</span>a<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;numeric&quot;</span><span style="color: #339933;">,</span> b<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;numeric&quot;</span><span style="color: #339933;">,</span> c<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;numeric&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
   <span style="color: #000066;">prototype</span> <span style="color: #339933;">=</span> <span style="color: #000066;">prototype</span><span style="color: #009900;">&#40;</span>a <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> b <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> c <span style="color: #339933;">=</span> <span style="color: #000066;">sqrt</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#41;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">#define a method to calculate the hypotenuse given a and b </span>
setGeneric<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.hyp&quot;</span><span style="color: #339933;">,</span> 
function<span style="color: #009900;">&#40;</span>x<span style="color: #009900;">&#41;</span> standardGeneric<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.hyp&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#implement this method</span>
setMethod<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.hyp&quot;</span><span style="color: #339933;">,</span> signature<span style="color: #009900;">&#40;</span>x<span style="color: #339933;">=</span><span style="color: #ff0000;">&quot;Pythagoras&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> function<span style="color: #009900;">&#40;</span>x<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">eval</span>.parent<span style="color: #009900;">&#40;</span>substitute<span style="color: #009900;">&#40;</span>
		x<span style="color: #0000ff;">@c</span> <span style="color: #339933;">&lt;-</span> <span style="color: #000066;">sqrt</span><span style="color: #009900;">&#40;</span>x<span style="color: #0000ff;">@a</span>^<span style="color: #cc66cc;">2</span> <span style="color: #339933;">+</span> x<span style="color: #0000ff;">@b</span>^<span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">#define a method to set value a and also update the hypotenuse accordingly</span>
setGeneric<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.setA&lt;-&quot;</span><span style="color: #339933;">,</span> 
function<span style="color: #009900;">&#40;</span>x<span style="color: #339933;">,</span> value<span style="color: #009900;">&#41;</span> standardGeneric<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.setA&lt;-&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#implement this method</span>
setReplaceMethod<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.setA&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;Pythagoras&quot;</span><span style="color: #339933;">,</span> function<span style="color: #009900;">&#40;</span>x<span style="color: #339933;">,</span> value<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
	x<span style="color: #0000ff;">@a</span> <span style="color: #339933;">&lt;-</span> value
        Pythagoras.hyp<span style="color: #009900;">&#40;</span>x<span style="color: #009900;">&#41;</span>
	x
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">#define a method to set value b and also update the hypotenuse accordingly</span>
setGeneric<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.setB&lt;-&quot;</span><span style="color: #339933;">,</span> 
function<span style="color: #009900;">&#40;</span>x<span style="color: #339933;">,</span> value<span style="color: #009900;">&#41;</span> standardGeneric<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.setB&lt;-&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> 
&nbsp;
<span style="color: #666666; font-style: italic;">#implement this method</span>
setReplaceMethod<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras.setB&quot;</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;Pythagoras&quot;</span><span style="color: #339933;">,</span> function<span style="color: #009900;">&#40;</span>x<span style="color: #339933;">,</span> value<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
	x<span style="color: #0000ff;">@b</span> <span style="color: #339933;">&lt;-</span> value
        Pythagoras.hyp<span style="color: #009900;">&#40;</span>x<span style="color: #009900;">&#41;</span>
	x
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">#tests</span>
p <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Pythagoras&quot;</span><span style="color: #009900;">&#41;</span>
&nbsp;
p
&nbsp;
Pythagoras.setA<span style="color: #009900;">&#40;</span>p<span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span>
&nbsp;
p
&nbsp;
Pythagoras.setB<span style="color: #009900;">&#40;</span>p<span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span>
&nbsp;
p</pre></div></div>

<p>Beaware: Copy and paste sometimes doesn&#8217;t work as the double quotes are no real double quotes!</p>
<p>Give it a try. It will be self explaining by then &#8230;<br />
If you have any comments, please let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=109</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Milk steaming &#8211; the trick with Rancilio Silvia</title>
		<link>http://www.markus.brosch.net/?p=108</link>
		<comments>http://www.markus.brosch.net/?p=108#comments</comments>
		<pubDate>Sat, 23 Sep 2006 22:29:56 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Espresso]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=108</guid>
		<description><![CDATA[I have long tried to get perfect milk for a perfect (is this ever possible?) cappuccino. It always seemed so easy to me, but I never quite manged to get the milk right. Well, as Silvia has a 1-hole steam tip, there is one little trick to get excellent mircofoam. 
So, we are all (I [...]]]></description>
			<content:encoded><![CDATA[<p>I have long tried to get perfect milk for a perfect (is this ever possible?) cappuccino. It always seemed so easy to me, but I never quite manged to get the milk right. Well, as Silvia has a 1-hole steam tip, there is one little trick to get excellent mircofoam. </p>
<p>So, we are all (I mean, we coffee geeks) well aware of many tips for the ultimate microfoam, e.g. follow these instructions at <a href="http://www.coffeeresearch.org/espresso/milktexture.htm">CoffeeResearch.org </a> or this one at <a href="http://www.coffeegeek.com/guides/frothingguide">CoffeeGeek</a>.</p>
<p>However, to become perfect microfoam with Silvia, you have to change some parameters as compared to a heat exchanger machine:</p>
<ul>
<li>Where to place the steaming tip? This is actually crucial, especially for the expansion phase: Hold the pitcher slightly beveled and put the wand directly towards the edge of the pitcher, but make sure that the milk starts spinning while you do so. Place the wand to the middle of the pitcher &#8211; and you won&#8217;t get perfect results. Touch one wall and perform your milk expansion and you&#8217;ll be surprised by the result! After expansion sink the wand and start turbulating as usual.</li>
<li>The milk stretching/expansion phase shouldn&#8217;t be too long &#8211; as a rule of thumb stop expansion phase at about body temperature (40 ºC or 100 ºF). The final spinning/swirling of the milk needs to be a bit longer (up to about 65 ºC or 150 ºF) with Silvia, as she is not as powerful as heat exchangers. Another reason is if you expand the stretching phase you also end up with too much foam.</li>
</ul>
<p>Enjoy milk frothing with Miss Silvia!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=108</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>J2ME development on OS X: Emulation and JSR-75 &#8211; solved!</title>
		<link>http://www.markus.brosch.net/?p=107</link>
		<comments>http://www.markus.brosch.net/?p=107#comments</comments>
		<pubDate>Sat, 23 Sep 2006 21:08:01 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[(Mini)Pauker]]></category>
		<category><![CDATA[Languages mix]]></category>
		<category><![CDATA[Software & Programming]]></category>

		<guid isPermaLink="false">http://www.markus.brosch.net/?p=107</guid>
		<description><![CDATA[You want to develop J2ME applications with a Mac OS X operating system ?
This is not as easy going as one might think:
SUN unfortunately provides the &#8220;Java Wireless Toolkit&#8221; not for OSX (for whatever reason) and their emulator therefore does not work. I think there would be more potential J2ME developers under OSX, but this [...]]]></description>
			<content:encoded><![CDATA[<p>You want to develop J2ME applications with a Mac OS X operating system ?<br />
This is not as easy going as one might think:</p>
<p>SUN unfortunately provides the <a href="http://java.sun.com/products/sjwtoolkit/">&#8220;Java Wireless Toolkit&#8221;</a> not for OSX (for whatever reason) and their emulator therefore does not work. I think there would be more potential J2ME developers under OSX, but this is actually their (bad) decision. Furthermore, they provide their latest stuff only for Windows :( The only way to get it going on a Linux system is using the old WTK2.2 &#8211; nice uh ?</p>
<p>However, there was light at the end of the tunnel:<br />
The <a href="http://mpowerplayer.com/products-sdk.php">mpowerplayer SDK</a> is an emulator (and more&#8230;) which is supposed to work on an Apple computers. Well, it does, but there is another catch: No support of the JSR75 fileconnection API so far. </p>
<p>Now and finally one very nice guy implemented the specification and provides a CLDC.jar for mpowerplayer which now allows file input/output !!! This is great news. Thanks for all the effort again! You can see the discussion and also a link for the download of the file <a href="http://developer.mpowerplayer.com/viewtopic.php?t=99">here</a> (I think you have to be logged in to view it).</p>
<p>Now and finally my MiniPauker stuff can be developed on my Mac. Nice &#8211; very nice indeed.</p>
<p>If you use J2ME-Polish and want to migrate your stuff to OS X, there is one more thing you have to change in your ANT build task:<br />
the preverification of the code is not working with the WTK (the Linux version) &#8211; modify your build section and point it to the MPowerplayer subdirectory osx:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;"> *snip* build preverify=&quot;/Applications/mpp-sdk/osx/preverify/preverify&quot; *snip*</pre></div></div>

<p>Enjoy your Midlet development!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markus.brosch.net/?feed=rss2&amp;p=107</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
