Tom's Ideas And Notes
Other required packages (mainly dev pkgs)
Get Latest libserf
Subversion (client and server) running on Ubuntu 13.10, BUT, no pre-built package. So I built Subversion latest release (1.8.5) from source - here are the steps and packages I used. If you want to build a later version (or trunk) just update the following steps as needed.Get the Subversion 1.8.5 source
and dependencies from the main development branch because the latest version is required by subversion.
The version of libserf in the Saucy repo is too old for Subversion 1.8.5. I had to get the deb files from the development repo.
Works For me.
Depending on what base packages you have on your system, you might need some other packages.
You also might want to fine tune the configure line - such as removing my non-standard jdk dir.
The above should get you close.
Have fun. I hope it helps someone else get started.
It is kept as small and lightweight as possible but includes all the code to get a working authenticated service connection with a restful web services server. Think of it as the "hello world"/getting started How -to Java code to be re-used and extended to wrap around the full processing of any published REST web services.
I am writing an Android app to interact with many of my home Audio/Video devices and need to talk to my Universal-Devices ISY-994 home lighting controller using its REST Web Services. I could (and have) interact with the ISY-994 directly with its full and robust Java SDK but since I am including this in an Android app, I want to keep it as light as possible - without the inclusion of the UDI SDK Java libraries. Calling the REST interface is perfect for this.
I started with a proof-of-concept, to ensure I could communicate and consume Rest services, using the basic classes in the standard JDK.
I then extended it to focus specifically on my ISY-994, and its set of services (see UDI Wiki for the list of available services).
The source code for both the base generic class and the ISY994 extended class are included below.
Scope of this Rest Client
Extending this class to wrap around a specific Server and REST services
The generic class works out of the box on any configured Server URL, however it is easier to create a new class that extends the above base class with specific Rest service parameters, such as
Java Source Code
The source is released as free and open under the GNU license version 3.
My code depends (NOT Derivative) on a few Java files from the Apache Commons Codec library to perform Base64 encoding required by the http basic authentication. These files are licensed and re-distributed unmodified, as links below, under the Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 .
If you plan on using this (or other REST client) within an Android app, you can use the Android Base64 class in the Android SDK that will handle the Encoding instead of the Apache Commons Codec library files. I commented out the import android.util.Base64 in the source. I tried it it works fine as well.
Base Java Class
ISY-994 Extension Java Class
I made some important updates to my Java Integra Serial Control Protocol code ( Java eISCP).
See my Blog post.
issues/wrinkles I ran into:
Use at will!
See also the MSDN page http://msdn.microsoft.com/en-us/library/office/aa213567%28v=office.11%29.aspx
Well here it is as VBA code...
Nissan Leaf EV for a test drive this past weekend.
I had the car over the Canada Day long weekend to experience what it is like to drive an EV.
It was an enjoyable and enlightening experience. I drove it on the highway, to and from work, around North Vancouver and on an errand. I had no problems with anything, in fact, it convinced both me, and more importantly, my family that our next vehicle will be an EV.
The idea of an EV has been in my mind for a few years, based on the economics and environmental benefits; however, I had not actually driven a 100% electric vehicle. The qualities the Nissan Leaf demonstrated were:
It was an enjoyable experience… now to start saving for a Tesla!
You will need your windows install disc (or recovery disc)
You will need GParted Live iso
Fiskars StaySharp Max Reel Mower. My old push reel mower (Great States) worked okay for 15 years, but it was finally time to put it out to pasture.I have only 2 small patches of lawn - maybe 55 m2 .
All I can say about this new StaySharp Max Reel Mower is "Wow".
With my old mower, I had to go back and forth in different directions about 5-8 times.
Plus I never have to buy any more gas, electricity , or change batteries every 3 years.