EclipseAuto Format
Define a Formatter File once according to your preferred settings and use it to auto format in Eclipse after save. Enable the following settings for each project desired.
Comments Off
|
EclipseAuto Format Define a Formatter File once according to your preferred settings and use it to auto format in Eclipse after save. Enable the following settings for each project desired.
10 things to know about web development nowadays http://robcubbon.com/10-things-i-wish-i-had-known-about-web-designing-10-years-ago
One of my favorite musician in a free concert web stream – John Butler Trio @ ARTE http://liveweb.arte.tv/fr/video/John_Butler_Trio_au_Printemps_de_Bourges/
Interfacing with the control gateway Device CKOZ 00/03 we got an API from Moeller to communicate to their wireless dimmer actuators. The device offers a RS232/RJ11 connector or per default a USB one. The USB connection however does not work on a COM Port but offers only standard USB HID connection. We needed a library to open up a connection to this USB Devices and talk to it. We used the Sourceforge LibUSBDotNet library for this ( http://libusbdotnet.sourceforge.net/ ) in an older version as described later in the belower forum entry. Problems arise not while connecting to a device but while finding and communicating with the right device endpoints. Here is a tutorial on how to do that: - Read on FROM http://community.sharpdevelop.net/forums/p/7995/22800.aspx#22800 and take experimental source code from ttp://sourceforge.net/projects/xcom-hp When it all stopped working Right the day after, the solution with the LibUSBDotNet Lib was not working anymore without a single code change tested on three Win XP PCs. The crucial line [code lang="java"]device.SetConfiguration(1)[code] freezes the PC and requires a reboot to even close the application and reaccess the Moeller gateway once again. However the SimpleHID Write test application still could communicate to the Moller gateway. So set a broken device apart, we needed a new solution. We found the very handy Jan Axelson Lakeview Research - http://www.lvr.com/usb.htm that offers a bunch of resources to the USB topic. With generic_hid_cs and usbhidio_V2.3.cs it offers free c# src for accessing generic USB devices. Both seem quite similar and are working with the obove Vendor and ProductID for our purpose. Finally this resolved the USB communication odyssey
How to count words in Acrobat One can use Acrobat JavaScript. Once you have opened the JavaScript debugging console, enter the following script: var cnt=0; Highlight the entire script, hold down the “Ctrl” key and press the keypad’s enter key and wait.
Very handy Utils Library Difference Java Streams and Readers/Writers Die Klassen InputStream und OutputStream bilden die Basisklassen für alle byte-orientierten Klassen und dienen somit als Bindeglied bei Methoden, die als Parameter ein Eingabe- und Ausgabe-Objekt verlangen. So ist ein InputStream nicht nur für Dateien denkbar, sondern auch für Daten, die über das Netzwerk kommen. Das Gleiche gilt für Reader und Writer; sie sind die abstrakten Basisklassen zum Lesen und Schreiben von Unicode-Zeichen und Unicode-Zeichenfolgen. Die Basisklassen geben abstrakte read()- oder write()-Methoden vor, die Unterklassen überschreiben, da nur sie wissen, wie etwas tatsächlich gelesen oder geschrieben wird. DataInputStream - reads data primitives and also utf-8 BufferedStream there are four buffered stream classes used to wrap unbuffered streams: InputStream - just byte wise no additional stuff So the difference is streams are for byte wise read/write and readers/writers are for characters and primitives Java fast FileIO using native IO (NIO) http://stackoverflow.com/questions/2111749/fastest-way-of-processing-java-io-using-ascii-lines
Mar
03
2010
OSGI/Eclipse – Tips and TricksPosted by Administrator in misc, tags: java/eclipse, tipsOSGI Lazy Class Loading Der OSGi Classloader lädt prinzipiell nur die Klassen, die benötigt werden (siehe Hakerl Activate this plug-in when one of its classes is loaded im Manifest). Es kann jedoch zu Problemen beim Classloaden kommen und es können Timeouts auftreten. Das OSGi Framework wirft eine nichtssagende BundleStatusException. Wenn man nun das besagte Hakerl im Manifest nicht setzt, werden alle Klassen beim Starten geladen und somit kein Lazy Loading durchgeführt. Details dazu siehe http://wiki.eclipse.org/Lazy_Start_Bundles http://lubospeclipse.wordpress.com/eclipse-plugin-and-rcp-development-notes/ http://www.osgi.org/Specifications/HomePage OSGI Awt and Swing issues read about problems with OSGi and swing
Accelerometer based signal filtering http://tom.pycke.be/mav/69/accelerometer-to-attitude Kalman filter Especially useful for signal smoothing in navigation and aeronautics
Networking Error
By default matlab number format precision is set to 5 digits only. Together with the E notation and a wide value range this may cause numbers to be unreadable. Use format long g for 15 digit precision
|