<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">

<channel>
<title>Hackszine: Java</title>
<link>http://www.hackszine.com/blog/archive/java/</link>
<description>O&apos;Reilly&apos;s Hacks Series reclaims the term &apos;hacking&apos; for the good guys--innovators who explore and experiment, unearth shortcuts, create useful tools, and come up with fun things to try on their own</description>
<language>en-us</language>
<copyright>Copyright 2008, O'Reilly Media, Inc.</copyright>
<lastBuildDate>Mon, 19 May 2008 20:04:39 -0800</lastBuildDate>
<pubDate>Wed, 28 May 2008 18:53:08 -0800</pubDate>
<generator>http://www.movabletype.org/?v=4.1</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<itunes:author>O'Reilly Media, Inc.</itunes:author>
<itunes:subtitle>Clever solutions to interesting problems.</itunes:subtitle>
<itunes:summary>Hackszine Podcast</itunes:summary>
<itunes:owner>
<itunes:email>webmaster@makezine.com</itunes:email>
</itunes:owner>
<category>Technology</category>
<itunes:category text="Technology">
</itunes:category>
<itunes:category text="Technology">
  <itunes:category text="Gadgets" />
</itunes:category>
<itunes:category text="Games &amp; Hobbies" >
</itunes:category>
<itunes:category text="Science">
</itunes:category>
<itunes:image href="http://makezine.com/images/hackszine/rss_icon.jpg" />
<itunes:explicit>no</itunes:explicit>


<item>
<title>Flying bike for Google Earth</title>
<itunes:summary>&quot;Some guy who&apos;s never met Mike&quot; wrote in to tell us about Mike&apos;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...</itunes:summary>
<description>
<![CDATA[<p>"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.</p>

<p><object width="500" height="405"><param name="movie" value="http://www.youtube.com/v/k3QK1eu3q3E&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/k3QK1eu3q3E&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="500" height="405"></embed></object></p>

<p>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. </p>

<p><a href="http://www.gearthblog.com/blog/archives/2008/05/mikes_flying_bike_for_google_earth.html">Mike's Flying Bike for Google Earth</a></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/05/flying_bike_for_google_earth.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/05/flying_bike_for_google_earth.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/05/flying_bike_for_google_earth.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/05/flying_bike_for_google_earth.html?CMP=OTC-7G2N43923558</guid>
<category>Education</category>
<pubDate>Mon, 19 May 2008 20:04:39 -0800</pubDate>

</item>

<item>
<title>Server-side Javascript/DOM - search friendly AJAX?</title>
<itunes:summary>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...</itunes:summary>
<description>
<![CDATA[<p>John Resig posted yesterday about his experiments with creating a full Javascript/DOM pseudo-browser environment that runs from the command line:</p>

<blockquote>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).</blockquote>

<p>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):</p>

<blockquote><pre>load("env.js");
window.location = "http://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 );
};</pre></blockquote>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/07/serverside_javascriptdom_searc.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/07/serverside_javascriptdom_searc.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/07/serverside_javascriptdom_searc.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/07/serverside_javascriptdom_searc.html?CMP=OTC-7G2N43923558</guid>
<category>Ajax</category>
<pubDate>Tue, 10 Jul 2007 22:23:04 -0800</pubDate>

</item>

<item>
<title>Make Java-based Apps Play Nice with Vista</title>
<itunes:summary> If you&apos;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: &quot;The color scheme has been changed to Windows Vista Basic&quot;. This is because...</itunes:summary>
<description>
<![CDATA[<p><img alt="vistabasic.png" src="http://www.hackszine.com/blog/archive/vistabasic.png" width="499" height="129" /><br />
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. <br />
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 <a href="http://java.sun.com">java.sun.com</a>. Then:<br />
<ol><br />
<li>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.<br />
<li>Dig into the software you've installed, and look for a <i>java</i> or <i>jre</i> subfolder. You'll need to find your JRE installation (check <i>C:\Program Files\Java\jre1.6.0</i>). Copy everything from there into the misbehaving software's (<a href="http://www.processing.org">Processing</a> in the following example) <i>jre</i> folder. Here's how it's done at the command prompt, but you could rename <i>java</i> to <i>java.old</i> and copy the new JRE in using Windows Explorer as well:<br />
<pre><br />
C:\><strong>cd \processing-0123</strong></p>

<p>C:\processing-0123><strong>ren java java.old</strong></p>

<p>C:\processing-0123><strong>xcopy /s "\Program Files\Java\jre1.6.0" java</strong><br />
Does java specify a file name<br />
or directory name on the target<br />
(F = file, D = directory)? <strong>D</strong><br />
\Program Files\Java\jre1.6.0\COPYRIGHT<br />
\Program Files\Java\jre1.6.0\LICENSE<br />
\Program Files\Java\jre1.6.0\README.txt<br />
...<br />
</pre><br />
</ol><br />
However you decide to do it, the next time you run the troublesome app, it should now appear in all its Aero-enabled glory!</p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/01/make_javabased_apps_play_nice.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/01/make_javabased_apps_play_nice.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/01/make_javabased_apps_play_nice.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/01/make_javabased_apps_play_nice.html?CMP=OTC-7G2N43923558</guid>
<category>Windows</category>
<pubDate>Tue, 30 Jan 2007 16:06:20 -0800</pubDate>

</item>


</channel>
</rss>