Author Archives: mz

Ubuntu Hardy and VirtualBox

Another issue with the newest Ubuntu 8.04 release – VirtualBox is broken. Why? The usbfs file system is removed from fstab yet VirtualBox relies on it.

Get it back by adding :

  none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0

to your /etc/fstab and running:

  mount /proc/bus/usb

as root.

Ubuntu Hardy and Firefox Add-Ons

Ubuntu 8.04 LTS aka Hardy is out and – surprise, surprise – ships with Firefox 3.0 Beta 5. A beta version in a final release???

Well,

there might be certain reasons to ship a beta version with the 8.04 release as mentioned in the release notes. Yet, most of my extensions giving me a browser that is supposed to be better yet fails in many aspects provided by these extensions.

So, back to Firefox 2.0 via:

  apt-get remove firefox-3.0
  apt-get install firefox-2

and – voila – all extensions are broken in firefox 2, too. After some search on the web, this seems to be an incomaptibility in the extensions.rdf file in your firefox profile between Firefox 2 and 3.

So, if you struggle with this problem, remove the extensions.rdf file in your firefox profile directory and restart firefox 2 should solve your problem.

Eclipse and TPTP – Profiling Java Applications

Ever wondered why your code is so damn slow? Where are the bottlenecks of the application? Read on for some information how to setup the Eclipse Test and Performance Tools Platform under Linux

The Eclipse TPTP is supposed to be a swiss army knife for everything in the domain of profiling and testing. Unfortunately, the installation via the Update Manager of Eclipse is broken. Totally broken. The agent controller required to gather statistical data does not work and fails with a “No controller on port 10002” message. Not really helpful.

So, starting with the information blogged here and here and with a custom eclipse installation from a tar.gz archive the following steps are required:

1) Install the support library:

  sudo apt-get install libstdc++2.10-glibc2.2

2) Set all agent controller bin files to executable:

  chmod +x eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200709261752/agent_controller/bin/*

3) “Fix the symbolic links for the linked libraries. The following list of files should point to their .so.4.4.0 counterparts. The easiest way to do this is just to download a copy of the standalone Agent Controller and to copy the lib directory to the lib directory of the Integrated Agent Controller”

4) Define a TEMP variable in your shell:

  export TEMP=/tmp

5) Finally start the agent controller manually.

In my case this gave me a running agent to profile my application against. Once. And then no more. A restart of eclipse fixes this. Sometimes.

Sorry, folks, I guess I will stay with the integrated netbeans profiler for now. Here, at least, everything works reliably (!) out of the box without patching code, extracting libraries.

Business Talk to the Rescue?

Some nice gibberish at the end of the week… not really necessary to know but surprising…

While I am well aware of the differing communication types from technology oriented and business oriented people, but what should one make out of the following statement?

The value chain integration challenge represents a high business value opportunity and chance for competitive advantage.

Not only does it include the word value twice – with different meaning btw – it is completely devoid of any content as far as I can see. And, well this is the first paragraph of the JBoss SOA platform page.

Dear interested potential customer please move on…

Automatic stock quote download via QDL

Tired of paying for data feeds to get stock data into quicken? May be QDL might help.

QDL, the quote downloader, is a set of python scripts for the automatic cron-based download of end-of-date quote and stock information. QDL offers a command line interface only.

Run with the symbol to retrieve, the current quote for this stock or fund is retrieved and printed to the command line. Different back end drivers for quote retrieval are available to that a multitude of stocks can be queried. The output format is customizable.

But how to use it? E. g. create a batch file that calls QDL for all quotes you are interest in and let it run every night via a cron job. Redirecting the output via:

  python QDL-Client.py >> myOutput.log

appends the new information to your file. Later on you can import the gathered data into quicken and other tools.

Voila, no more data subscriptions, but still historical data. More information on the QDL Project Site

Thunderbird and remote images

Peronsal note: As I do get most of my RSS feeds as mails via rssfwwd seeing images in these posts is very important.

Two options are available:

  • Enable images globally (not good) via the config editor::

    mailnews.message_display.disable_remote_image = true

  • Add the rssfwd@rssfwd.com email address to your address book and enable “Allow loading of remote images”

Temperaturen beim VESP-TDI

Ergebnisse einer Log-Fahrt mit VAG-Com zur Bestimmung von Krafstoff-, Kühlwasser- und Ansauglufttemperatur

Randbedingungen

Die Logfahrt wurde durchgeführt bei ca. 4 Grad Aussentemperatur und naß-kaltem Wetter im Stadtverkehr. Gemessen wurde

  • Ansaugtemperatur
  • Kühlwassertemperatur
  • Kraftstofftemperatur

wie von VAG-Com ausgewertet. Die Meßintervalle betrugen 3 Sekunden. Der Sensor für die KW-Temperatur ist an der Rückseite des Motorblocks am Auslass angebracht. Die Kraftstofftemperatur wird in der ESP vor der Flügelzellenpumpe gemessen.

Ergebnisse

Im Diagramm sind die Verläufe der oben genannten Temperaturen über die Zeit aufgetragen.


image

Die Motortemperatur steigt näherungsweise linear an. Nach ca. 15 Minuten ist im Stop-and-Go-Betrieb die maximale Kühlwassertemperatur von ca. 90 Grad erreicht.

Die Nadel der Temperaturanzeige beginnt bei ca. 55 Grad abzuheben. 90 Grad Kühlwassertemperatur laut “Lügenbarometer” entspricht einer KW-Temperatur von ca. 78 Grad ermittelt mittels VAG-Com.

Die Kraftstofftemperatur hinkt der Kühlwassertemperatur deutlich hinterher. Das Inline-Termomether im Ruecklauf zeigt eine um 2 Grad geringere Temperatur an verglichem mit den VAG-Com Werten. Im Rahmen der Logfahrt wurde eine maximale Kraftstofftemperatur – kein KGR, Dieselbetrieb, kein Wärmetauscher – von 25 Grad ermittelt. Bei einer vorherigen Fahrt unter Volllast (Anhänger, 3 to Gespanngewicht, kein KGR, Diesel, kein WT) und ebenfalls ca. 4 Grad Aussentemperatur wurde eine maximale Kraftstofftemperatur von 45 Grad im Rücklauf festgestellt.

Interpretation

  • Ohne Wärmetauscher und ohne KGR ist die Wärmeentwicklung einer VESP-ESP deutlich geringer als bei PD-Motoren, siehe folgende Auswertung.
  • Die Kühlwassertemperatur allein reicht nicht, um die Temperaturverhältnisse in der ESP abzuschätzen
  • Ein Risiko eines Förderkolbenklemmers ohne WT und bei schlagartigem Umschalten auf Pöl bzw. zu frühem Umschalten besteht.

Insofern ist eine Vorwärmung auch im Dieselbetrieb vor dem Umschalten pflicht, um eben jenes Risiko eines Förderkolbenklemmers zu reduzieren. Weitere Mesfahrten folgen um die Auswirkungen von KGR etc. zu ermitteln.

VirtualBox and Ubuntu Gutsy

Yea, Ubuntu Gutsy is out!! Just updated my system using the instructions on the kubuntu site. After the upgrade – about 20 minutes – even my mysterious ATI drivers still work perfectly.

Unfortunately, the ubuntu guys decided to remove the usbfs from Gutsy. As virtualbox relies on this system for usb support > no usb support in virtualbox under linux.

As a quick workaround edit /etc/init.d/mountdevsubfs.sh and remove the comment #’s from the following lines:

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount –rbind /dev/bus/usb /proc/bus/usb

Running /etc/init.d/mountdevsubfs.sh start afterwards reenables the usbfs, virtualbox is happy again 🙂