<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nate&#039;s blog &#187; admin</title>
	<atom:link href="http://www.natenewz.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.natenewz.com</link>
	<description>My various projects</description>
	<lastBuildDate>Tue, 29 Jun 2010 18:00:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Integrating Zenphoto and Wordpress</title>
		<link>http://www.natenewz.com/2009/10/13/integrating-zenphoto-and-wordpress/</link>
		<comments>http://www.natenewz.com/2009/10/13/integrating-zenphoto-and-wordpress/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 05:28:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[seamless]]></category>
		<category><![CDATA[zenphoto]]></category>

		<guid isPermaLink="false">http://www.natenewz.com/blog/?p=93</guid>
		<description><![CDATA[
Update: I am now using google picasa with the kpicasa plugin. I&#39;ve determined that this is the best method of putting a complete gallery onto a post or page. This completely eliminates zenphoto. If you are committed to using zenphoto, and you have your theme set up exactly the way you want it, then this [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zenphoto.org/"><img alt="Zenphoto" class="size-medium wp-image-96" height="117" src="http://www.natenewz.com/wp-content/uploads/2009/10/zenphoto-300x108.jpg" title="zenphoto" width="329" /></a><a href="http://www.wordpress.org/"><img alt="wordpress" class="size-full wp-image-97" height="117" src="http://www.natenewz.com/wp-content/uploads/2009/10/wordpress-icon-512-300x300.png" title="wordpress-icon-512-300x300" width="117" /></a></p>
<p>Update: I am now using google picasa with the kpicasa plugin. I&#39;ve determined that this is the best method of putting a complete gallery onto a post or page. This completely eliminates zenphoto. If you are committed to using zenphoto, and you have your theme set up exactly the way you want it, then this method will work, but over time if you ever make a change to your wordpress theme, you have to update your look-alike zenphoto theme. Common plugins for zenphoto wordpress integration allow you to put individual albums or photos into posts.<br style="clear: both;" /><br />
	After reading <a href="http://wpengineer.com/embed-wordpress-functions-outside-wordpress/trackback/" target="_blank" title="Calling wordpress functions outside of wordpress">Frank&#39;s post on using wordpress functions outside of wordpress</a>, I had a good idea: Make a zenphoto theme with the wordpress navigation. This allows a nearly seamless level of integration between zenphoto and wordpress. The best starting point for this outline is if you already have a nice looking wordpress theme. The result of this will give you a wordpress &quot;page&quot; that redirects to a lookalike wordpress zenphoto theme complete with wordpress navigation, footer, page title, header, etc. First, you need a way of getting the paths of the blog directory, and the zenphoto directory. I have a www/blog/ folder and a www/gallery/ folder in this example. Place config.php in www/ config.php</p>
<pre class="prettyprint">< ?php
/* config file to unite wordpress and zenphoto */
define('BLOG_PATH', "$_SERVER['DOCUMENT_ROOT']/blog");
// do a var_dump($_SERVER); to find out what something is
define('GALLERY_PATH', "$_SERVER['DOCUMENT_ROOT']/gallery');
?></pre>
<p>You may have to var_dump($_SERVER) to find out the best way of getting to your site&#39;s directory. Okay, we have paths to reference from zenphoto to get to the wordpress directory. Let&#39;s dig into a zenphoto theme. Zenphoto themes are laid out with various files that are called depending on if you are at the zenphoto homepage (index.php), or if you have clicked on an album (album.php), or an image (image.php) and a few others. Your best bet is to copy the &#39;default&#39; zenphoto theme to a folder with a different name, such as nate-theme, then modify it. Let&#39;s look at index.php The first step is to follow Franks post and include the wordpress loader wp-load.php. Put at the very top of your zp-themes index.php file:</p>
<pre class="prettyprint" id="PHP">&lt; ?php
require_once(&quot;{$_SERVER[&#39;something&#39;]}/www/config.php&quot;);
require_once(BLOG_PATH.&quot;/wp-load.php&quot;);
// var_dump(get_current_theme()); // call this to see the name of the wordpress theme activated
if (get_current_theme() == &quot;My Wordpress Theme&quot;) // if the current theme is my wp theme, use it. otherwise use default zenphoto theme
{?&gt;
// wordpress html+php here
&lt; ?php
}else{
?&gt;
// original zenphoto default index.php file here
&lt;?php
}
?&gt;</pre>
<p>This is in case the wordpress theme get&#39;s changed to something else, zenphoto will revert back to the original html/php &#8212; whatever is in the else statement. So then, just copy the basic html structure from the header.php footer.php index.php files from your wordpress theme. You can now call the functions for listing the navigation, <a href="http://codex.wordpress.org/wp_list_pages">wp_list_pages()</a>, getting options <a href="http://codex.wordpress.org/Function_Reference/get_option">get_option()</a>, getting blog title and other information <a href="http://codex.wordpress.org/Template_Tags/bloginfo">bloginfo()</a>, etc. One requirement for this to work, is that the zenphoto and wordpress functions don&#39;t interfere. Luckily, no two functions have the same name, and so this does work. I haven&#39;t tested recreating the sidebar widgets in the zenphoto theme, although it should theoretically work. As for the zenphoto style sheet, I played a trick on apache to make this work. I told apache to parse .css files in the styles/ directory of zenphoto theme as a php file. Just make a .htaccess file in the styles directory, and add this line to it: AddType application/x-httpd-php .css This will allow you to apply the same technique as the index.php page with the if get_current_theme==xx else block. Just use the normal css in the else, and the wordpress css in the if parts. The last step to making this a nearly seamless integration is following my previous post on hardlinking the navigation. create the custom field redirect to the key /gallery/ or the url path to your gallery.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.natenewz.com/2009/10/13/integrating-zenphoto-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Accelerometer on Robot Finger</title>
		<link>http://www.natenewz.com/2009/10/12/accelerometer-on-robot-finger/</link>
		<comments>http://www.natenewz.com/2009/10/12/accelerometer-on-robot-finger/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 14:32:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronic Projects]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[adxl345]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[atmega 328]]></category>
		<category><![CDATA[brink]]></category>
		<category><![CDATA[i2c]]></category>
		<category><![CDATA[ISU robot]]></category>
		<category><![CDATA[robot]]></category>

		<guid isPermaLink="false">http://www.natenewz.com/blog/?p=53</guid>
		<description><![CDATA[I helped attach an accelerometer to a robot at ISU, which has  been featured on Discovery Channels show, Brink.

We used an adxl345 digital accelerometer with the breakout board from sparkfun.com, in addition to an arduino.
We used the I^2c wire arduino library. This was a temporary solution so that the research assistants can gather surface [...]]]></description>
			<content:encoded><![CDATA[<p>I helped attach an accelerometer to a robot at ISU, which has  been featured on Discovery Channels show, <a title="Episode of Brink with IASTATE Robot" href="http://science.discovery.com/videos/brink-package-robots-become-human.html" target="_blank">Brink</a>.</p>
<div id="attachment_57" class="wp-caption left" style="width: 310px"><img class="size-medium wp-image-57" title="robot-arm" src="http://www.natenewz.com/wp-content/uploads/2009/10/robot-arm-300x225.jpg" alt="arduino taped onto robots arm" width="300" height="225" /><p class="wp-caption-text">arduino taped onto robots arm</p></div>
<p><div id="attachment_60" class="wp-caption left" style="width: 310px"><img class="size-medium wp-image-60" title="robot-finger" src="http://www.natenewz.com/wp-content/uploads/2009/10/robot-finger-300x225.jpg" alt="Accelerometer taped onto robot finger" width="300" height="225" /><p class="wp-caption-text">Accelerometer taped onto robot finger</p></div><br />
<br style="clear: both;" /></p>
<p>We used an adxl345 digital accelerometer with the breakout board from sparkfun.com, in addition to an arduino.</p>
<p>We used the I^2c wire arduino library. This was a temporary solution so that the research assistants can gather surface texture data to see if it is possible to categorize surfaces based on touch, essentially giving the robot a sense of touch similiar to our fingers.</p>
<p>The final project will most likely include several accelerometers and some sort of pic, hopefully sampling at 1200 Hz, the maximum sampling rate of the accelerometer.</p>
<p>We were only able to sample at 500 Hz max. The limiting factor was the serial port speed. 230400 baud was the highest speed we could use without getting gibberish input on the serial port. This proves that it is possible to go past what the Arduino documentation  for the serial library says <a title="serial library" href="http://www.arduino.cc/en/Serial/Begin" target="_blank">here.</a></p>
<p>We also noticed that the variance increased with the frequency, and so the usefulness of the higher sampling rate obtaining more data is still being analyzed.</p>
<p>The two signal wires are connected to analog in 4, and 5<br />
The two interrupt wires are open<br />
The rest are either held high, or low at 3.3V and Gnd off of the arduino.</p>
<p>Here is the arduino code we created:</p>
<pre id="C" class="prettyprint">
/* The MIT License

Copyright (c) <2009> < Vlad Sukhoy <sukhoy@iastate.edu>, Joe Coleman <jcoleman@iastate.edu>, Ritika Sahai <ritika@iastate.edu>, Nate Nuzum <natenewz@iastate.edu>>

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
/*
 * Arduino Duemilanove programming to read the data from ADXL345 accelerometer.
 * This code is a part of tactile sense implementation in rc.
 *
 * It is not advised to use this code at data rates above 400 Hz (bandwidth = 200 Hz)
 * as Arduino serial I/O cannot keep up with the accelerometer at those bandwidths.
 * The actual data rate we can achieve is about 500 Hz, however the accelerometer
 * only supports data rates <= 400 Hz or >= 800 Hz, so we cannot get 500 Hz without
 * discarding some of the data.
 *
 * Using binary coding we might be able to actually transfer at 800 Hz.
 * Using compression we might be able to transfer however much we like, but this
 * will depend on the properties of the data stream.
 *
 * In scratching study we might not really need all 3 vectors, but the magnitude of the
 * deviation from g. Unfortunately, as the device might turn we don't really
 * know where g points to, so we smooth the acceleration vector and use that value
 * for g. If we settle down on that logic, it can be pushed down to Arduino and then we
 * only need to transfer one value per measurement which, together with binary coding
 * and/or compression should put us at 2000+ Hz.
 *
 * Authors:
 * Vlad Sukhoy <sukhoy@iastate.edu>
 * Joe Coleman <jcoleman@iastate.edu>
 * Ritika Sahai <ritika@iastate.edu>
 * Nate Nuzum <natenewz@iastate.edu>
 */

#include < Wire.h >

// The address of the accelerometer device in terms of Arduino board
#define ADXL_ADDR ((byte)0x1d)
// The bandwidth to use for the serial port
// It appears that Duemilanove only supports up to 230400 bits per second
#define SERIAL_BANDWIDTH 230400
#define BUFSIZE 1024

enum registers {
 power_ctl   = 0x2d,
 bw_rate     = 0x2c,
 data_format = 0x31,
 datax0      = 0x32,
 datax1,
 datay0,
 datay1,
 dataz0,
 dataz1,
 fifo_ctl    = 0x38,
 fifo_status = 0x39
};

// bits for the POWER_CTL register
enum power_ctl {
 pc_link        = (1 << 5),
 pc_auto_sleep  = (1 << 4),
 pc_measure     = (1 << 3),
 pc_sleep       = (1 << 2),
 pc_wakeup_mask = 3,
 // Frequency of readings in sleep mode
 pc_wakeup_8hz  = 0,
 pc_wakeup_4hz  = 1,
 pc_wakeup_2hz  = 2,
 pc_wakeup_1hz  = 3
};

// bits and masks for the BW_RATE register
enum bw_rate {
 bw_low_power   = (1 << 4),
 bw_rate_mask   = 0xf,
 // low power modes, the number of Hz is the bandwidth. the data rate is 2x that
 bw_lp_200hz    = bw_low_power | 0xc,
 bw_lp_100hz    = bw_low_power | 0xb,
 bw_lp_50hz     = bw_low_power | 0xa,
 bw_lp_25hz     = bw_low_power | 0x9,
 pw_lp_12dot5hz = bw_low_power | 0x8,
 pw_lp_6dot25hz = bw_low_power | 0x7,
 // regular modes
 bw_1600hz = 0xf, bw_800hz = 0xe, bw_400hz = 0xd, bw_200hz = 0xc, bw_100hz = 0xb,
 bw_50hz = 0xa, bw_25hz = 0x9, bw_12dot5hz = 0x8, bw_6dot25hz = 0x7,
 bw_3dot125hz = 0x6
};

// bits and masks for the DATA_FORMAT register
enum data_format {
 df_self_test  = (1 << 7),
 df_spi        = (1 << 6),
 df_int_invert = (1 << 5),
 df_full_res   = (1 << 3),
 df_justify    = (1 << 2),
 df_range_mask = 0x3,
 df_range_2g   = 0x0,
 df_range_4g   = 0x1,
 df_range_8g   = 0x2,
 df_range_16g  = 0x3
};

enum fifo_ctl {
 fc_mode_bypass  = 0,
 fc_mode_fifo    = (1 << 6),
 fc_mode_stream  = (1 << 7),
 fc_mode_trigger = (3 << 6),
 fc_trigger      = (1 << 5),
 fc_samples_mask = 0x1f,
 fc_samples_32   = 0x1f
};

enum fifo_status {
 fs_fifo_trig    = (1 << 7),
 fs_entries_mask = 0x3f
};

// transmit a register value to the accelerometer
static inline void reg_set(byte regid, byte value) {
 Wire.beginTransmission(ADXL_ADDR);
 byte data[] = {regid, value};
 Wire.send(data, sizeof(data)/sizeof(data[0]));
 Wire.endTransmission();
}

// receive a register value from the accelerometer
static inline byte reg_get(byte regid) {
 Wire.beginTransmission(ADXL_ADDR);
 Wire.send(regid);
 Wire.endTransmission();
 Wire.requestFrom(ADXL_ADDR, (byte)1);
 return Wire.receive();
}

static inline byte fifo_entries() { return reg_get(fifo_status) &amp; fs_entries_mask; }

// one accelerometer measurement
struct measurement {
 int16_t data[3];
};

static inline struct measurement reading() {
 // read 6 bytes from the accelerometer data registers and put the bytes in order
 struct measurement rv;
 Wire.beginTransmission(ADXL_ADDR);
 Wire.send(datax0);
 Wire.endTransmission();
 Wire.requestFrom(ADXL_ADDR, (byte)6);
 int i;
 byte lsb, msb;
 for (i=0; i< sizeof(rv.data)/sizeof(rv.data[0]); ++i) {
   lsb = Wire.receive();
   msb = Wire.receive();
   rv.data[i] = (((int16_t)msb) < < 8) | lsb;
 }
 return rv;
}

void setup() {
 Serial.begin(SERIAL_BANDWIDTH);
 Wire.begin(); // Join I2C bus as a master

 reg_set(power_ctl, 0);             // stand by
 reg_set(bw_rate, bw_200hz);        // bandwidth
 reg_set(data_format, df_range_2g); // request 2g resolution
 reg_set(fifo_ctl, fc_mode_fifo | fc_samples_32); // request 32 entry FIFO (max)
 reg_set(power_ctl, pc_measure);    // start measuring
}

void loop() {
 byte  n, b[BUFSIZE];
 int  bsz = 0;
 struct measurement m;
 while ((n = fifo_entries())) {
   while (n--) {
     m = reading();
     bsz += sprintf((char*)&amp;b[bsz], "%d\t%d\t%d\r\n", (int)m.data[0], (int)m.data[1],
       (int)m.data[2]);
     if (bsz > BUFSIZE - 30)
       goto quit;
   }
 }
 quit:
 Serial.write(b, bsz);
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.natenewz.com/2009/10/12/accelerometer-on-robot-finger/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Hardlink Wordpress Navigation</title>
		<link>http://www.natenewz.com/2009/10/07/hardlink-wordpress-navigation/</link>
		<comments>http://www.natenewz.com/2009/10/07/hardlink-wordpress-navigation/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 21:10:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[hard]]></category>
		<category><![CDATA[hardlink]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.natenewz.com/blog/?p=36</guid>
		<description><![CDATA[This cool little theme code snippet allows the wordpress navigation to link to a page outside of wordpress. It takes advantage of custom fields for pages.  Just place this code at the top of your themes header.php file
&#60;?php
/*
Copyright (c) 2009 &#60; Nate Nuzum &#62;
Use under terms of MIT license
*/
global $post;
$redirect = get_post_meta($post-&#62;ID, &#39;redirect&#39;, true);
if [...]]]></description>
			<content:encoded><![CDATA[<p>This cool little theme code snippet allows the wordpress navigation to link to a page outside of wordpress. It takes advantage of custom fields for pages. <img alt="custom-field" class="alignnone size-full wp-image-45" src="http://www.natenewz.com/wp-content/uploads/2009/10/custom-field.jpg" style="width: 80%;" title="custom-field" /> Just place this code at the top of your themes header.php file</p>
<pre class="prettyprint" id="PHP">&lt;?php
/*
Copyright (c) 2009 &lt; Nate Nuzum &gt;
Use under terms of MIT license
*/
global $post;
$redirect = get_post_meta($post-&gt;ID, &#39;redirect&#39;, true);
if ($redirect)
        wp_redirect($redirect);
?&gt;
</pre>
<p>Then create a page with the name having the link text you want to appear in the navigation add a custom field to the page called redirect and place the link url into the value field.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.natenewz.com/2009/10/07/hardlink-wordpress-navigation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FratHouseInsurance- Greasemonkey Script</title>
		<link>http://www.natenewz.com/2009/09/14/frathouseinsurance-greasemonkey-script/</link>
		<comments>http://www.natenewz.com/2009/09/14/frathouseinsurance-greasemonkey-script/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 22:14:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[meatspin]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[shock site]]></category>

		<guid isPermaLink="false">http://www.natenewz.com/blog/?p=33</guid>
		<description><![CDATA[Meatspinning is the new term for leaving a shock site on somebody&#8217;s computer while they are gone to surprise them when they get back.
I wrote my first greasemonkey script yesterday. Protects me from being meatspinned, lemonpartied, or any of about 40 other shock sites. It was only two lines of javascript, but I think the [...]]]></description>
			<content:encoded><![CDATA[<p>Meatspinning is the new term for leaving a shock site on somebody&#8217;s computer while they are gone to surprise them when they get back.</p>
<p>I wrote my first greasemonkey script yesterday. Protects me from being meatspinned, lemonpartied, or any of about 40 other shock sites. It was only two lines of javascript, but I think the idea was the cool part.</p>
<p>Forwards you to a picture of a kitten and pops up an alert that says , &#8220;No thanks&#8221;.</p>
<p>You can change the redirect page and message if you don&#8217;t mind editing the source, it&#8217;s pretty simple.</p>
<p>Redirects from shock sites to www.google.com</p>
<p>** Greasemonkey only runs in firefox</p>
<p><strong>You can download</strong> the script after you <a title="Install Greasemonkey for Firefox" href="https://addons.mozilla.org/en-US/firefox/addon/748" target="_blank">install greasemonkey</a> for firefox here:</p>
<p><a href="http://userscripts.org/scripts/show/57740">FratHouseInsurance</a>.</p>
<p>You can also view the source at the above link.</p>
<p>Thanks Matt Carda, for the sweet idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.natenewz.com/2009/09/14/frathouseinsurance-greasemonkey-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Thinks Server is Spanish</title>
		<link>http://www.natenewz.com/2009/07/01/google-thinks-server-is-spanish/</link>
		<comments>http://www.natenewz.com/2009/07/01/google-thinks-server-is-spanish/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 15:40:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Feed]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Spanish]]></category>
		<category><![CDATA[Wrong language]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.natenewz.com/blog/?p=31</guid>
		<description><![CDATA[I was working with google calendar xml feeds the other day, and the funniest thing was happening. If I went to the feed on my computer, it would show up in English. If my server downloaded it, it would show up in Spanish, with all of my events translated. After several hours of looking into [...]]]></description>
			<content:encoded><![CDATA[<p>I was working with google calendar xml feeds the other day, and the funniest thing was happening. If I went to the feed on my computer, it would show up in English. If my server downloaded it, it would show up in Spanish, with all of my events translated. After several hours of looking into why Google might think my server is Spanish, I discovered a fix. </p>
<p>Google gives you an xml feed URL that ends in &#8216;basic/&#8217;</p>
<p>Just add ?hl=en to the end of it.<br />
&#8216;basic/?hl=en&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.natenewz.com/2009/07/01/google-thinks-server-is-spanish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guild Wars in Ubuntu</title>
		<link>http://www.natenewz.com/2008/11/23/guild-wars-in-ubuntu/</link>
		<comments>http://www.natenewz.com/2008/11/23/guild-wars-in-ubuntu/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 19:15:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Arenanet]]></category>
		<category><![CDATA[Guild Wars]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Petition]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.natenewz.com/blog/?p=17</guid>
		<description><![CDATA[Arenanet, a company that makes one of my favorite computer games, GuildWars, is borderline ready to support Ubuntu.The game faq from their website said this:
Will the game be released on a different OS (Macintosh, Linux, etc.), or on other video game consoles?
Guild Wars was developed and initially released on the PC. We are aware that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-211" style="height: 125px;" title="guildwars2" src="http://www.natenewz.com/wp-content/uploads/2008/11/guildwars2.jpg" alt="guildwars2" />Arenanet, a company that makes one of my favorite computer games, GuildWars, is borderline ready to support Ubuntu.The game faq from their website said this:</p>
<blockquote><p><strong class="gold">Will the game be released on a different OS (Macintosh, Linux, etc.), or on other video game consoles?</strong><br />
<em>Guild Wars</em> was developed and initially released on the PC. We are aware that there is an interest in having the game available on other operating systems or other platforms, and we will continue to evaluate these possibilities in the future.</p></blockquote>
<p><a href="http://www.guildwars.com/products/guildwars/features/default.php">Quote from here</a></p>
<p>Currently, Wine has ported the game Guild wars to run in Ubuntu with some bugs. Making it run involves having a well supported video card, in addition to finding a good tutorial online for tweaking the wine options to support it.</p>
<p>It seems to me like it would be good for companies to support free software(Ubuntu) in order to sell to a broader audience. Windows costs more then twice as much as their game. Buying a computer off the shelf with Ubuntu instead of Windows is going to be much cheaper.</p>
<p>Here is a group of people that have started a petition. All you have to do is click sign this petition.</p>
<p><a title="Guild wars in ubuntu online petition" href="http://www.petitiononline.com/mod_perl/signed.cgi?gwlinux" target="_blank">Guild wars in Ubuntu Online Petition</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.natenewz.com/2008/11/23/guild-wars-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stepper Motor Controller</title>
		<link>http://www.natenewz.com/2008/02/23/stepper-motor-controller/</link>
		<comments>http://www.natenewz.com/2008/02/23/stepper-motor-controller/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 02:27:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronic Projects]]></category>

		<guid isPermaLink="false">http://www.natenewz.com/blog/?p=5</guid>
		<description><![CDATA[
I finally got a stepper motor controller to work. The total time it took me to build this project was probably about 15-20 hours of trial and error over the course of the last two weeks. Note from circuit schematic: the final coil leads may not be in order. You will have to play around [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.natenewz.com/wp-content/uploads/2008/02/p1000332.JPG" title="p1000332.JPG"><img src="http://www.natenewz.com/wp-content/uploads/2008/02/p1000332.JPG" alt="p1000332.JPG" /></a><a href="http://www.natenewz.com/wp-content/uploads/2008/03/counter.jpeg" title="4017 Counter Circuit"><img src="http://www.natenewz.com/blog/wp-content/uploads/2008/03/counter.jpeg" alt="4017 Counter Circuit" /></a></p>
<p>I finally got a stepper motor controller to work. The total time it took me to build this project was probably about 15-20 hours of trial and error over the course of the last two weeks. Note from circuit schematic: the final coil leads may not be in order. You will have to play around with the coils in order to make it fire in the right order.</p>
<p>Objective:</p>
<p>Make a 6-wire stepper motor turn.</p>
<p>Cost:</p>
<p>Around $40, mostly for the power supply and anything you have to buy from radioshack.</p>
<p>Method:</p>
<p>Utilize a 555 timer chip, to clock the 4017 counter. wire the counter so that only 4 leads count, by connecting the 4th output to reset.<br />
The final parts list is:</p>
<p>1 555 timer chip</p>
<p>1 9 volt power supply, mine was rated for 800ma</p>
<p>1 4017 timer chips</p>
<p>1 5volt output voltage regulator I used 7805</p>
<p>1 stepper motor</p>
<p>4 NPN transistors, I used TIP120</p>
<p>5 1k Ohm resistors</p>
<p>1 100uF Capacitor</p>
<p>2 1uF Capacitors</p>
<p>What&#8217;s next:</p>
<p>Remake the circuit with a pic, or using ttl so that reverse is possible. It would also be cool to make a more efficient design. A more efficient design would fire two coils at a time. This makes more torque. Another option for smoother running is to approximate sin waves for the inputs to the motors. Each coil&#8217;s sin wav is slightly out of phase.</p>
<p>Finished Product with application</p>
<p>The goal is to have this whole motor controller in a nice looking box, using a 3 position toggle switch to go up and down or off, and make it turn my projector screen up or down.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.natenewz.com/2008/02/23/stepper-motor-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
