CARVIEW |
Archive: Java
May 19, 2008
Flying bike for Google Earth
"Some guy who's never met Mike" wrote in to tell us about Mike's Flying Bike, a completely unconventional flight-sim interface created from a bicycle, a Sun SPOT sensor/microcontroller, and Google Earth.
So, you pedal this stationary bike to pick up speed and take off. Then you manipulate various hand levers and the handlebars to affect the elevator, aileron and rudder controls. It's never been so fun to fly around the Earth. In your living room. On a bike.
Mike's Flying Bike for Google Earth
Posted by Jason Striegel |
May 19, 2008 08:04 PM
Education, Flying Things, Google Earth, Java |
Permalink
| Comments (2)
| TrackBack
| Digg It
| Tag w/del.icio.us
July 10, 2007
Server-side Javascript/DOM - search friendly AJAX?
John Resig posted yesterday about his experiments with creating a full Javascript/DOM pseudo-browser environment that runs from the command line:
This weekend I took a big step in upping the ante for JavaScript as a Language. At some point last Friday evening I started coding and didn't stop until sometime mid-Monday. The result is a good-enough browser/DOM environment, written in JavaScript, that runs on top of Rhino; capable of running jQuery, Prototype, and MochiKit (at the very least).
The really nice touch is that you can issue PUT and DELETE requests on the XMLHttpRequest object to manipulate files on the local file system! Here's an example script that scrapes post titles from alistapart.com and stores them in a file (remember, this runs on the server like a shell script):
Read full storyload("env.js"); window.location = "https://alistapart.com/"; window.onload = function(){ load("dist/jquery.js"); var str = "Newest A List Apart Posts:\n"; $("h4.title").each(function(){ str += " - " + this.textContent + "\n"; }); var out = new XMLHttpRequest(); out.open("PUT", "file:/tmp/alist.txt"); out.send( str ); };
Posted by Jason Striegel |
Jul 10, 2007 10:23 PM
Ajax, Java, Web |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
January 30, 2007
Make Java-based Apps Play Nice with Vista
If you've tried to run certain Java-based applications on Vista with the Aero user interface eye candy enabled, you might have received the following error message: "The color scheme has been changed to Windows Vista Basic". This is because older versions of Java don't play well with Vista's Aero Glass user interface.
If you'd like to eliminate this annoyance, you have a couple of choices, but the first thing you need to do is install the latest and greatest version of the JRE (Java Runtime Environment) from java.sun.com. Then:
- If the software you're using has a "Java not included" option, install that instead. You might have to follow some extra instructions to set it up (such as setting a JAVA_HOME environment variable), but when you're done, everything should work fine.
- Dig into the software you've installed, and look for a java or jre subfolder. You'll need to find your JRE installation (check C:\Program Files\Java\jre1.6.0). Copy everything from there into the misbehaving software's (Processing in the following example) jre folder. Here's how it's done at the command prompt, but you could rename java to java.old and copy the new JRE in using Windows Explorer as well:
C:\>cd \processing-0123C:\processing-0123>ren java java.old
C:\processing-0123>xcopy /s "\Program Files\Java\jre1.6.0" java
Does java specify a file name
or directory name on the target
(F = file, D = directory)? D
\Program Files\Java\jre1.6.0\COPYRIGHT
\Program Files\Java\jre1.6.0\LICENSE
\Program Files\Java\jre1.6.0\README.txt
...
However you decide to do it, the next time you run the troublesome app, it should now appear in all its Aero-enabled glory!
Posted by Brian Jepson |
Jan 30, 2007 04:06 PM
Java, Windows |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- AppleTV
- Astronomy
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Design
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- OpenOffice
- Outdoor
- Parenting
- PCs
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
Recent Posts
- LEGO NXT Rubik's Cube solver
- LEGO NXT Rubik's Cube solver
- Citizen Engineer 01 - SIM card and payphone hacks
- Origami Wall-E
- Binary Arduino clock
- Improve Linux laptop performance with Ramlog
- When to denormalize
- LEGO Wall-E
- Find and Grep 101
- Cruel Super Mario World hack
www.flickr.com
|
Most read entries (last 30 days)
- Star Wars music played by a floppy drive
- HOWTO: Reset a lost OS X password
- HOWTO - Read/Write to NTFS drives in OS X
- Unbrick or downgrade any PSP
- HOWTO - Install Ubuntu on the Asus Eee PC
- Tupper's Self-Referential Formula
- Make a cheap Xbox 360 Wireless Adapter with DD-WRT
- Using Google as a Proxy (or HOW TO: View MySpace at School)
- Debian/Ubuntu users: update your SSL keys and certs
- Play MS-DOS Games on Vista
- T-Zones and iPhone: the $5.99 data plan
- Pocket PC iPhone conversion
- LED security camera disruptor
- Howto: Download Youtube and Google Videos
- Vixy.net: Online FLV-to-MP4 Converter
© 2008 O'Reilly Media, Inc.
All trademarks and registered trademarks appearing on makezine.com are the property of their respective owners.
Recent comments