Dropbox and SVN
Posted on February 8, 2010
For those of you who have Dropbox accounts and need some SVN hosting that can’t be Open Source, I came across a novel idea that I think you’ll like.
Basically, all you need to do is create a SVN repository in a subfolder of your dropbox. So, for example it might be:
svnadmin create /Users/username/Dropbox/some/secret/project/trunk
Then, you just use that repository from your command line or IDE and Dropbox will make a backup of it in the background as you go along. If there’s more than one person working on it, all you have to do is share the folder with that person on Dropbox, and voila, source control for the masses.
Also, don’t forget if you have Time Machine, or some other backup software, there will be an incremental backup in that too - so you’ll have a local backup too.
» Filed Under Uncategorized | Leave a Comment
SunSPOTs
Posted on February 1, 2010
So, I have to use Sun SPOTS in a project for college. Some of this information is serving for myself so I apologise for the funny writing style.
If you know me, then you know that I use a mac, if not, then I do. I don’t want to hear the pros and cons either, I like it so get the boat.
I had some trouble setting up the one SPOT I got initially with this error:
java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/librxtxSerial.jnilib: no suitable image found. Did find: /Library/Java/Extensions/librxtxSerial.jnilib: no matching architecture in universal wrapper thrown while loading gnu.io.RXTXCommDriver
Exception in thread “AirViewer-Initializer” java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/librxtxSerial.jnilib: no suitable image found. Did find: /Library/Java/Extensions/librxtxSerial.jnilib: no matching architecture in universal wrapper
A bit of googling revealed that OS X has copy of one of the libraries installed elsewhere, so you need to disable one of them. I came across this command -
mv /Library/Java/Extensions/librxtxSerial.jnilib{,-disabled} - and everything worked. Great. Source.
Since that initial hiccup, I have loaded, played with and understood the Airtext demo. As of about a half hour ago I have gotten my hands dirty with the basestation and loading code Over The Air (OTA) to a free-range sunspot.
One thing that’s fairly annoying is the fact that you have to reset the free-range sunspot after you load code on it, I shall now investigate whether that can be changed, if not, it could get a bit awkward for the project. I’m not sure if I can mention it so there may be a description of it post-this-post.
» Filed Under Coding | Leave a Comment