Note the advisory to connect only under 35km – the limit of Time Division Multiple Access (TDMA).
OneSwarm’s wiki (link) covers some easy steps for installing Java 1.4 on Snow Leopard. I needed it to get the MPowerPlayer SDK running so I could compile some code for Java-enabled mobile phones. Thanks to wheremydogs.at for pointing out that MPowerPlayer relies on some Java 1.4 classes.
cd /tmp/ wget http://www.cs.washington.edu/homes/isdal/snow_leopard_workaround/java.1.4.2-leopard.tar.gz tar -xvzf java.1.4.2-leopard.tar.gz sudo mv 1.4.2 /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2-leopard cd /System/Library/Frameworks/JavaVM.framework/Versions/ sudo ln -s 1.4.2-leopard 1.4 open "/Applications/Utilities/Java Preferences.app"
For those of you also working with MPowerPlayer, the error I was getting is:
$ ant Buildfile: build.xml compile: preverify: [exec] Error preverifying class java.lang.Class [exec] VERIFIER ERROR java/lang/Class.newInstance0()Ljava/lang/Object;: [exec] Illegal type in constant pool [exec] Result: 1 package: BUILD SUCCESSFUL Total time: 1 second
But now that I have Java 1.4, it’s compiling fine.
Mac Rails developers: I installed MacPorts to get RMagick, and it installed a new version of Ruby, without RubyGems. This meant that when I typed script/server, it claimed that:
“Rails requires RubyGems >= . Please install RubyGems and try again: http://rubygems.rubyforge.org”
MacPorts had added some crap to my PATH variable. If you edit your ~/.profile you’ll see this line:
Just change that to:
Then open a NEW shell prompt, i.e. a new Terminal window (this reloads the PATH variable)…
…and it’ll find your OLD version of Rails before the new MacPorts one, and things will work normally. You can confirm by typing “which ruby” in the terminal, and you should see “/usr/bin/ruby” NOT “/opt/local/bin/ruby”.
Tim Anderson says:
The Chinese make very effective cooking fuel briquettes from waste cellulose and carbon materials, using local clay for a binder.
The briquettes are cylindrical with a number of air passages through them.
An expat living here told me he had a water heater in Germany in the 1960’s that used the same type of briquettes.
Over the past week, the response to OpenStreetMap in Gaza has been overwhelmingly supportive. There have been a few exceptional objections, and some common misconceptions, and I want to respond to from my perspective, and perhaps the “OpenStreetMap perspective”. Some of these objections have come from people familiar with operations in Gaza, so I take their perspectives very seriously. Please consider this part of a discussion .. I’m very interested to hear from your perspective.
I use Amazon S3 for backup, and find that it’s hard to use because there’s no search function, so I can’t see what I’ve backed up.
So, I extended s3cmd.rb (comes with the WONDERFUL s3cmd.rb rsync clone for Amazon S3) with a search command.
Now I can use s3sync.rb to rsync my files up, then type:
s3sync.rb search bucket_name:path/to/restrict/search search_term
and I get, for example:
you just spent 6.0e-05 cents
The last line is because the price of making a list request in s3 is $0.01 per 1000 requests in the US; so I thought it’d be a good idea to tell people how much they’re spending.
I’ll try to commit this to the main s3sync.net codebase, but for now you can just download it here: s3sync
A New York-based anarchist has been arrested by the FBI and charged with hindering prosecution after he allegedly used the social networking site Twitter to help protesters at the G20 summit in Pittsburgh evade the police.
Elliot Madison, 41, from Queens, had his home raided and was put on $30,000 (£19,000) bail after he and Michael Wallschlaeger, 46, were tracked to the Carefree Inn motel in Pittsburgh during the summit on 24 and 25 September.
The pair were found sitting in front of a bank of laptops and emergency frequency radio scanners. They were wearing headphones and microphones and had many maps and contact numbers in the room.
Official police documents allege the two men used Twitter messages to contact protesters at the summit “and to inform the protesters and groups of the movements and actions of law enforcement”.
In all, almost 200 protesters were arrested during the two-day summit, which brought world leaders to Pittsburgh to discuss the global economic meltdown and other matters of common financial interest.