<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A0UCR3k4fyp7ImA9WhRbGEo.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947</id><updated>2012-02-10T06:07:46.737-07:00</updated><category term="2009" /><category term="control" /><category term="Boxee" /><category term="command prompt" /><category term="RN-42" /><category term="hex editor" /><category term="osX" /><category term="ECE337" /><category term="motivation" /><category term="make" /><category term="job" /><category term="mouse" /><category term="W203" /><category term="timer" /><category term="ECE 203" /><category term="Analog" /><category term="ECE 344" /><category term="task manager" /><category term="Solution" /><category term="Video" /><category term="c++" /><category term="16F913" /><category term="Deleting files" /><category term="scripting" /><category term="steering" /><category term="motorcycle" /><category term="SSH" /><category term="angelfire" /><category term="geocities" /><category term="schedule" /><category term="MusicGlove" /><category term="UNM" /><category term="Simplicity" /><category term="ECE335" /><category term="PIC" /><category term="fork" /><category term="misc" /><category term="Code Jam" /><category term="four event protocol" /><category term="Assembly" /><category term="shared memory" /><category term="Firefox" /><category term="desktop" /><category term="CD" /><category term="wheel" /><category term="Bluetooth" /><category term="Internet Explorer" /><category term="fix" /><category term="Gcal" /><category term="Unix" /><category term="GetTickCount" /><category term="Arcade" /><category term="Interrupts" /><category term="Samba" /><category term="perl batch rename MTS" /><category term="ISO" /><category term="perl" /><category term="truecrypt" /><category term="explorer" /><category term="Threads" /><category term="context menu" /><category term="BlueTerm" /><category term="coroutines" /><category term="AsyncTask" /><category term="Chrome" /><category term="Live" /><category term="planning" /><category term="bounds.c" /><category term="capacitor" /><category term="Algorithms Datastructures" /><category term="In Circuit Serial Programming" /><category term="Encouragement" /><category term="School" /><category term="hack" /><category term="filenames" /><category term="speed" /><category term="Reports" /><category term="handbrake" /><category term="inspiron" /><category term="Start Menu" /><category term="Circuit Analysis" /><category term="Server" /><category term="spi" /><category term="files" /><category term="unit step" /><category term="16F684" /><category term="Distributed Processing" /><category term="button" /><category term="Google" /><category term="Hello World" /><category term="networks" /><category term="selections" /><category term="1200" /><category term="Computers" /><category term="GoogleTv youtube" /><category term="clearcase" /><category term="Linux" /><category term="kernel" /><category term="Ubuntu" /><category term="ada" /><category term="Concise" /><category term="Google Voice" /><category term="path" /><category term="Computer Logic and Design" /><category term="SQL" /><category term="mailto" /><category term="registry" /><category term="ads" /><category term="Microcontroller" /><category term="getchar" /><category term="getc" /><category term="dell" /><category term="phasor" /><category term="30 minutes" /><category term="ECE 238" /><category term="tips" /><category term="ECE344" /><category term="Projects" /><category term="shortcuts" /><category term="laptop" /><category term="broken" /><category term="Timing" /><category term="Diode" /><category term="Mobility" /><category term="low pass" /><category term="Gmail" /><category term="ECE528" /><category term="Contacts" /><category term="transfer function" /><category term="i2c" /><category term="labels" /><category term="regular expression" /><category term="links" /><category term="2200" /><category term="batch" /><category term="Regex" /><category term="permissions" /><category term="Learning" /><category term="ECE 238L" /><category term="directories" /><category term="Pictures" /><category term="testing" /><category term="Movies" /><category term="ECE 213" /><category term="Media" /><category term="OS" /><category term="Introduction" /><category term="ICSP" /><category term="uart" /><category term="VHDL" /><category term="debugging" /><category term="organization" /><category term="apple" /><category term="device drivers" /><category term="pthreads mutex fibonacci" /><category term="laplace" /><category term="C230" /><category term="band pass" /><category term="high pass" /><category term="EECON" /><category term="Digital" /><category term="Electronics" /><category term="impulse" /><category term="class" /><category term="windows" /><category term="Bookmark" /><category term="Android" /><category term="Forward Declaration" /><category term="Email Clients" /><category term="#joesipod" /><category term="inductor" /><category term="arduino" /><category term="Mobile" /><category term="LAMP" /><category term="mold" /><category term="soldering" /><category term="programming" /><category term="Music" /><category term="random" /><category term="Java" /><category term="VB" /><category term="Microprocessors" /><category term="resistor" /><category term="mercedes" /><category term="Browser" /><category term="Operating Systems" /><category term="throughput" /><category term="command line" /><category term="SVN" /><category term="Shared Processing" /><category term="Function Prototyping" /><category term="error checking" /><category term="Books" /><category term="keywords" /><title>OnaBlog</title><subtitle type="html">What does it all mean.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.onaclovtech.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.onaclovtech.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>137</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/onaclovtech/qeop" /><feedburner:info uri="onaclovtech/qeop" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;A0UCR3k_fip7ImA9WhRbGEo.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-7507552660942478121</id><published>2012-02-10T06:07:00.000-07:00</published><updated>2012-02-10T06:07:46.746-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-10T06:07:46.746-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="truecrypt" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>TrueCrypt</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/7507552660942478121?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/7507552660942478121?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/Wb98EPgfTSA/truecrypt.html" title="TrueCrypt" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">I was having problems getting truecrypt to work on my ubuntu machine. Once I downloaded it and unzipped it there was no extension and for some reason my machine didn't know what to do with it. I simply renamed it with a .sh at the end and re-ran the file, everything worked as advertised at that point.
I.E. FROM: truecrypt-7.1a-setup-x86
      TO: truecrypt-7.1a-setup-x86.sh

Good Luck
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/b-SfP8OqHAQSFGwlpzTqLTjLOX0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b-SfP8OqHAQSFGwlpzTqLTjLOX0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/b-SfP8OqHAQSFGwlpzTqLTjLOX0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b-SfP8OqHAQSFGwlpzTqLTjLOX0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/Wb98EPgfTSA" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2012/02/truecrypt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YERX48cSp7ImA9WhRVEk0.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-2692087126525199882</id><published>2012-01-10T07:18:00.000-07:00</published><updated>2012-01-10T07:18:24.079-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-10T07:18:24.079-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Android Like SQL Statement, sqllite sql software</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/2692087126525199882?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/2692087126525199882?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/BhlXWcybzXU/android-like-sql-statement-sqllite-sql.html" title="Android Like SQL Statement, sqllite sql software" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">While using sqllite sql software for android, I was runing into problems. I was able to do exact matches, but for some reason I couldn't get LIKE matches to work. I was hunting around like crazy trying to figure out how to write a LIKE statement in Android. I had a working example of '=' and figured it would be pretty simple to use the LIKE command. After many variations I just couldn't figure it
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/boesISMataH4HkagrLhRiqaNm8c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/boesISMataH4HkagrLhRiqaNm8c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/boesISMataH4HkagrLhRiqaNm8c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/boesISMataH4HkagrLhRiqaNm8c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/BhlXWcybzXU" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2012/01/android-like-sql-statement-sqllite-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYBQH84eip7ImA9WhRQEEQ.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-6103202286713991167</id><published>2011-12-05T06:35:00.000-07:00</published><updated>2011-12-05T06:35:51.132-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-05T06:35:51.132-07:00</app:edited><title>MSP430 TI Launchpad</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/6103202286713991167?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/6103202286713991167?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/VpsoM4Hv1AY/msp430-ti-launchpad.html" title="MSP430 TI Launchpad" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">Links of interest.

http://hackaday.com/2010/08/11/how-to-launchpad-programming-with-linux/
http://springuin.nl/en/articles/launchpadwindows
http://hackaday.com/2011/02/24/debugging-msp430-using-eclipse/
http://hackaday.com/2011/02/15/learn-to-debug-msp430-chips-using-iar/
http://hackaday.com/2010/08/13/porting-code-to-msp430/
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oSuxTQeWbW3wpV7ijh31v-uMIGw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oSuxTQeWbW3wpV7ijh31v-uMIGw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oSuxTQeWbW3wpV7ijh31v-uMIGw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oSuxTQeWbW3wpV7ijh31v-uMIGw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/VpsoM4Hv1AY" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/12/msp430-ti-launchpad.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04EQHk5fyp7ImA9WhdbGU0.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-3943316776806659181</id><published>2011-10-17T20:45:00.000-06:00</published><updated>2011-10-17T20:45:01.727-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-17T20:45:01.727-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="arduino" /><category scheme="http://www.blogger.com/atom/ns#" term="MusicGlove" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth" /><title>Music Glove Part 1</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3943316776806659181?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3943316776806659181?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/X2hzYeayb08/music-glove-part-1.html" title="Music Glove Part 1" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-kbGOkfjUCdU/Tpznvl8GojI/AAAAAAAADtk/C3DPk22XklE/s72-c/IMG_20111017_202205.jpg" height="72" width="72" /><content type="html">Well after much heartburn (and once again being burned by pull down resistors). I have managed to make some progress.

I now have half of my Music Glove prototype complete. This is the hardware side. I paired a bluetooth module from sparkfun (something that does uart). With an arduino to handle the button presses. I can now receive an A and a B from my button presses on my phone using the 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/p0BFZpGk8UAq8iDroiUTRkmk010/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/p0BFZpGk8UAq8iDroiUTRkmk010/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/p0BFZpGk8UAq8iDroiUTRkmk010/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/p0BFZpGk8UAq8iDroiUTRkmk010/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/X2hzYeayb08" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/10/music-glove-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUCRXcyeip7ImA9WhdQFEQ.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-5503417177423712297</id><published>2011-08-16T06:37:00.000-06:00</published><updated>2011-08-16T06:37:44.992-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-16T06:37:44.992-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="permissions" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Folder Permissions</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/5503417177423712297?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/5503417177423712297?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/ijXASxBqj1c/folder-permissions.html" title="Folder Permissions" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">I've been having problems with folder permissions on ubuntu, oddly enough, trying chmod 777 on stuff wasn't really working well, basically I just did gksu nautilus then I modeled the "permissions" tab to the same as a folder I wanted permissions to be the same as. Apply to all files/folders within and viola it worked.

Hope that helps others.

Originally found the command from http://
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Tu3xXVbWrsJnEYrspE4VaJtMHSI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tu3xXVbWrsJnEYrspE4VaJtMHSI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Tu3xXVbWrsJnEYrspE4VaJtMHSI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tu3xXVbWrsJnEYrspE4VaJtMHSI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/ijXASxBqj1c" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/08/folder-permissions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMERXg-eip7ImA9WhdRGUk.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-1120444810085658574</id><published>2011-08-09T21:36:00.000-06:00</published><updated>2011-08-09T21:36:44.652-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T21:36:44.652-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Boxee" /><title>Boxee Update DEB</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1120444810085658574?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1120444810085658574?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/UTXE-MrVvPM/boxee-update-deb.html" title="Boxee Update DEB" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">I was hoping to download boxee for my recently updated media server.

Turns out that boxee has some issues with the package downloadable from here:
http://www.boxee.tv/make#content

The original site I built the script to mimic is located in the source code.

The file which did the job for me can be found here:
Boxee Deb Fix


Good luck!
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kfk3RM3EknZ0cTyrW8uWPO8QwcY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kfk3RM3EknZ0cTyrW8uWPO8QwcY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kfk3RM3EknZ0cTyrW8uWPO8QwcY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kfk3RM3EknZ0cTyrW8uWPO8QwcY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/UTXE-MrVvPM" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/08/boxee-update-deb.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcESHc9fCp7ImA9WhdSGUk.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-2316739407108951089</id><published>2011-07-29T08:00:00.000-06:00</published><updated>2011-07-29T08:00:09.964-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-29T08:00:09.964-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="c++" /><category scheme="http://www.blogger.com/atom/ns#" term="getc" /><category scheme="http://www.blogger.com/atom/ns#" term="getchar" /><title>getc/getchar why doesn't it wait?</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/2316739407108951089?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/2316739407108951089?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/iAayuGwgIZ8/getcgetchar-why-doesnt-it-wait.html" title="getc/getchar why doesn't it wait?" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">So getc is basically the same as getchar but to get the same effectgetc(stdin) = getchar basically.http://www.cplusplus.com/reference/clibrary/cstdio/getc/From the above link:Returns the character currently pointed by the internal file position indicator of the specified stream. The internal file position indicator is then advanced by one character to point to the next character.
What this means 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OqrPSV_e_EM_lRz-Vz2Vr4hV7EM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OqrPSV_e_EM_lRz-Vz2Vr4hV7EM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OqrPSV_e_EM_lRz-Vz2Vr4hV7EM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OqrPSV_e_EM_lRz-Vz2Vr4hV7EM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/iAayuGwgIZ8" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/07/getcgetchar-why-doesnt-it-wait.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UEQHg8fyp7ImA9WhdSGU0.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-3833153390974834149</id><published>2011-07-28T19:00:00.001-06:00</published><updated>2011-07-28T19:00:01.677-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-28T19:00:01.677-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Function Prototyping" /><category scheme="http://www.blogger.com/atom/ns#" term="Forward Declaration" /><title>Forward Declaration vs Function Prototyping, What's the difference?</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3833153390974834149?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3833153390974834149?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/3za8tWeumJg/forward-declaration-vs-function.html" title="Forward Declaration vs Function Prototyping, What's the difference?" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">Valid Conditions
The following will be how we can get a successful compile.

This would be using Function Prototyping:
### BEGINNING OF FILE###
... // declarations of whatever you want

void INSERT_STRING (char b);

int main()
{
  INSERT_STRING("A");
}


void INSERT_STRING(char b)
{
  // Where INSERT STRING is literally implemented.
}
#### END OF FILE ####


This would be Forward Declaration.
###
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rBIpoyuN1U9F8EB3YVh1bXwWmXk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rBIpoyuN1U9F8EB3YVh1bXwWmXk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rBIpoyuN1U9F8EB3YVh1bXwWmXk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rBIpoyuN1U9F8EB3YVh1bXwWmXk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/3za8tWeumJg" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/07/forward-declaration-vs-function.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYCSH4zcCp7ImA9WhdTGEs.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-1164439356815179011</id><published>2011-07-16T14:44:00.003-06:00</published><updated>2011-07-16T18:22:49.088-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-16T18:22:49.088-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="BlueTerm" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="motorcycle" /><category scheme="http://www.blogger.com/atom/ns#" term="RN-42" /><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth" /><title>Building an Echo Server using Bluetooth and Blueterm</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1164439356815179011?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1164439356815179011?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/MxywSpCFuAc/building-echo-server-using-bluetooth.html" title="Building an Echo Server using Bluetooth and Blueterm" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-S64zezHFFc0/TiH1TjWsNdI/AAAAAAAACjA/QP-V2yZ1S8c/s72-c/IMG_20110716_142828.jpg" height="72" width="72" /><content type="html">I recently picked up the Bluetooth moduleRN-42 This was a cheap low cost way to integrate Bluetooth into an upcoming project. First up was getting the pieces soldered. Thanks to Walter over at Walter's Epic Blog he hooked me up with a great soldering job.
He soldered up the power, ground, tx and rx lines, as well as the required SPI lines in case I need to program the device.
I got the itch a 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mQ1VD0B90kwj1OpPCJTPPTz-1dA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mQ1VD0B90kwj1OpPCJTPPTz-1dA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mQ1VD0B90kwj1OpPCJTPPTz-1dA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mQ1VD0B90kwj1OpPCJTPPTz-1dA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/MxywSpCFuAc" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/07/building-echo-server-using-bluetooth.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4MQn8_eSp7ImA9WhdTEko.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-6330145521349740385</id><published>2011-07-10T00:06:00.000-06:00</published><updated>2011-07-10T00:06:23.141-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-10T00:06:23.141-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="EECON" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="AsyncTask" /><title>AsyncTasking</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/6330145521349740385?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/6330145521349740385?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/CHc7z4xLCM0/asynctasking.html" title="AsyncTasking" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">I was attempting to place my calculations from eecon into an AsyncTask.  I initially thought I would make a common task, calling it from both my find factor activity, and my find interest activity. I had to deal with the whole mess of figuring out which one was being called, and whatnot. Then I ran across the problem of getting the data back from the task. I initially tried using the getstatus 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gUPq2wMANd4jAYcsBxG2XfGCu5I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gUPq2wMANd4jAYcsBxG2XfGCu5I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gUPq2wMANd4jAYcsBxG2XfGCu5I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gUPq2wMANd4jAYcsBxG2XfGCu5I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/CHc7z4xLCM0" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/07/asynctasking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4ASH8-fip7ImA9WhZaFkk.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-2656190110177939618</id><published>2011-07-02T17:21:00.001-06:00</published><updated>2011-07-02T17:22:29.156-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-02T17:22:29.156-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ads" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><title>Admob in Android</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/2656190110177939618?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/2656190110177939618?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/p8ygGyPlcZM/admob.html" title="Admob in Android" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">This link is great for just throwing a quick ad in with admob into your app.

http://code.google.com/mobile/ads/docs/android/fundamentals.html

followed by the following:

http://code.google.com/mobile/ads/docs/android/banner_xml.html

Basically you add the "publish code" jar to your app, then insert a few lines into your manifest. Then you place the banner into your app where you want.

The one 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/N3bpGa7WrbNFZjiIFFr3IfR5KvU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N3bpGa7WrbNFZjiIFFr3IfR5KvU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/N3bpGa7WrbNFZjiIFFr3IfR5KvU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N3bpGa7WrbNFZjiIFFr3IfR5KvU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/p8ygGyPlcZM" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/07/admob.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YCSH85eSp7ImA9WhZSGUo.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-3851622886483835952</id><published>2011-04-04T20:39:00.001-06:00</published><updated>2011-04-04T20:39:29.121-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-04T20:39:29.121-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="job" /><category scheme="http://www.blogger.com/atom/ns#" term="Google" /><title>Job At Google</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3851622886483835952?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3851622886483835952?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/NxbuRMMboRY/job-at-google.html" title="Job At Google" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-pyKylOqRtEQ/TZqAr9Y_yWI/AAAAAAAABWU/lQzTUFLeq7c/s72-c/google_application.png" height="72" width="72" /><content type="html">Well I finally did it, I applied at Google, I don't know if I'll ever feel ready with the epicness this company has brought to every household. If not, I won't discourage, I'll keep working, if anything I'll create a business that Google will want to buy, so I'm not too worried, if it doesn't happen now, it will someday, but then again someday I might be ready for my own business and will be able
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BKmpex1LsruAMPilYnVjCcisSiE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BKmpex1LsruAMPilYnVjCcisSiE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BKmpex1LsruAMPilYnVjCcisSiE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BKmpex1LsruAMPilYnVjCcisSiE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/NxbuRMMboRY" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/04/job-at-google.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IGQXoyfip7ImA9WhZSE0k.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-231231913301095583</id><published>2011-03-28T14:52:00.000-06:00</published><updated>2011-03-28T14:52:00.496-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-28T14:52:00.496-06:00</app:edited><title>Ideas</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/231231913301095583?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/231231913301095583?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/jNv2TtqbpH4/ideas.html" title="Ideas" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">How often do you have "big ideas"? It frustrates me as I have so many ideas so frequently, and I don't have enough time to implement them all. Once school is out, I'll have some more freetime and will finally be able to hit on all the projects I've got queued right now.

Stay tuned, when May hits, there will be a lot, I might even start making more videos about the projects and build process.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JeKR8BcDzWssLpLgyxgHIPS6Hrs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JeKR8BcDzWssLpLgyxgHIPS6Hrs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JeKR8BcDzWssLpLgyxgHIPS6Hrs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JeKR8BcDzWssLpLgyxgHIPS6Hrs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/jNv2TtqbpH4" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/03/ideas.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYMRnozeSp7ImA9WhZTGUs.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-5554069269015809150</id><published>2011-03-24T05:00:00.000-06:00</published><updated>2011-03-24T06:03:07.481-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-24T06:03:07.481-06:00</app:edited><title>Google Market vs. Amazon Appstore</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/5554069269015809150?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/5554069269015809150?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/8JnT_PivM2M/google-market-vs-amazon-appstore.html" title="Google Market vs. Amazon Appstore" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">The Amazon App store looks good, and yes I do like the recommendations and whatnot just like regular old Amazon.  My question for the big G is this, we had to check "unknown sources" just to get the appstore on our phones and download apps through them. 

Recently there were some issues with some apps found in the Android App Market and this prompted google to remove apps from their store, as 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/P-Ur_hUGtEmOcO2FSW9YIejzmY4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P-Ur_hUGtEmOcO2FSW9YIejzmY4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/P-Ur_hUGtEmOcO2FSW9YIejzmY4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P-Ur_hUGtEmOcO2FSW9YIejzmY4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/8JnT_PivM2M" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/03/google-market-vs-amazon-appstore.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAFQHs4eyp7ImA9WhZTGUw.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-8703496388197572224</id><published>2011-03-22T23:08:00.002-06:00</published><updated>2011-03-23T14:05:11.533-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-23T14:05:11.533-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="perl batch rename MTS" /><title>Batch Renaming</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/8703496388197572224?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/8703496388197572224?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/IlpC7NKNhOQ/batch-renaming.html" title="Batch Renaming" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">I have a bunch of MTS files that I get from my camcorder, and frankly I don't have any interest in sitting down and renaming each file by hand, in perl this is a pretty simple case, I decided I wanted to name them based on their creation date, then number of file in that creation date. I still would say read over this script and make sure you understand what it is doing and then go ahead and use 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IEcKA1pIuVhMUPQPYKBsAM98-LY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IEcKA1pIuVhMUPQPYKBsAM98-LY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IEcKA1pIuVhMUPQPYKBsAM98-LY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IEcKA1pIuVhMUPQPYKBsAM98-LY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/IlpC7NKNhOQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/03/batch-renaming.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQDQ385eCp7ImA9Wx9aEU8.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-730928699466486487</id><published>2011-03-02T14:21:00.003-07:00</published><updated>2011-03-02T21:26:12.120-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-02T21:26:12.120-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Algorithms Datastructures" /><title>ECE331 Algorithms and Datastructures</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/730928699466486487?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/730928699466486487?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/l6rP4toxevM/ece331-algorithms-and-datastructures.html" title="ECE331 Algorithms and Datastructures" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">I will be posting all of the lecture audio files at this location, stay tuned.
3_2_2011.wma


2_16_2011.wma

2_14_2011.wma

Thank you,
Tyson
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/93cXaMBERsUF5iVclJJhaLzlt5I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/93cXaMBERsUF5iVclJJhaLzlt5I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/93cXaMBERsUF5iVclJJhaLzlt5I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/93cXaMBERsUF5iVclJJhaLzlt5I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/l6rP4toxevM" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2011/03/ece331-algorithms-and-datastructures.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIGQnk6cCp7ImA9Wx9QEkk.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-3297630166296921700</id><published>2010-12-24T20:08:00.000-07:00</published><updated>2010-12-24T20:08:43.718-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-24T20:08:43.718-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="GoogleTv youtube" /><title>GoogleTV</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3297630166296921700?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/3297630166296921700?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/_5ZMza7wD44/googletv.html" title="GoogleTV" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_WaTOjkxoAYU/TRVdQbtKs2I/AAAAAAAAAe4/FaADMd-XB4U/s72-c/youtube.jpg" height="72" width="72" /><content type="html">Right now I am watching Youtube on a Google TV. I see some things that should very much be fixed. Frankly the video should be larger,the page itself takes up a ton of space, and the suggestions, those should be a side bar pop-in, same with comments.

Here's a quick screenshot:
and it looks almost exactly like this on the tv, and if all I was doing was websurfing, this wouldn't be a problem, but 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/17Wv395YGfj3p4xpvx_z-YXhKRw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/17Wv395YGfj3p4xpvx_z-YXhKRw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/17Wv395YGfj3p4xpvx_z-YXhKRw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/17Wv395YGfj3p4xpvx_z-YXhKRw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/_5ZMza7wD44" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/12/googletv.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYHSXczeyp7ImA9Wx9SGE8.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-348909419595574162</id><published>2010-12-08T09:02:00.000-07:00</published><updated>2010-12-08T09:02:18.983-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-08T09:02:18.983-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="spi" /><category scheme="http://www.blogger.com/atom/ns#" term="i2c" /><category scheme="http://www.blogger.com/atom/ns#" term="uart" /><category scheme="http://www.blogger.com/atom/ns#" term="four event protocol" /><category scheme="http://www.blogger.com/atom/ns#" term="ECE337" /><title>SPI vs UART vs I2C vs Four Event Protocol</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/348909419595574162?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/348909419595574162?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/PvUmvaYIseA/spi-vs-uart-vs-i2c-vs-four-event.html" title="SPI vs UART vs I2C vs Four Event Protocol" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">I had to write a paper for my Computer Organization and Architecture course. Its due this evening but if you want to take an early look I've shared it on google docs. I plan to make a few grammatical edits, if you have any additional suggestions or comments I'm all ears.
Here's the link:
Communication Protocols
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aVQcjoHSwaonZlPkG6kksaX5dGo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aVQcjoHSwaonZlPkG6kksaX5dGo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aVQcjoHSwaonZlPkG6kksaX5dGo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aVQcjoHSwaonZlPkG6kksaX5dGo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/PvUmvaYIseA" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/12/spi-vs-uart-vs-i2c-vs-four-event.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAFQnk-cSp7ImA9Wx5aGEU.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-1165620232360464291</id><published>2010-11-15T21:11:00.000-07:00</published><updated>2010-11-15T21:11:53.759-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-15T21:11:53.759-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="coroutines" /><category scheme="http://www.blogger.com/atom/ns#" term="ECE337" /><title>Coroutines</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1165620232360464291?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1165620232360464291?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/ck1I1I0x1RA/coroutines.html" title="Coroutines" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">Today we talked a little about coroutines, at first glance based on the slides it seemed like they were saying that the coroutines would start at the beginning and end when they return, this was a little confusing as they seemed to be identical to procedures.

Turns out we were misunderstanding the picture.

From Wikipedia:In computer science, coroutines are program components that generalize 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fWK3-vy68rtaxkQOFpGsB484BlA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fWK3-vy68rtaxkQOFpGsB484BlA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fWK3-vy68rtaxkQOFpGsB484BlA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fWK3-vy68rtaxkQOFpGsB484BlA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/ck1I1I0x1RA" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/11/coroutines.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMARXY9eyp7ImA9Wx5bGUs.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-5534985675784083365</id><published>2010-11-05T07:24:00.000-06:00</published><updated>2010-11-05T07:24:04.863-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-05T07:24:04.863-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Circuit Analysis" /><category scheme="http://www.blogger.com/atom/ns#" term="unit step" /><category scheme="http://www.blogger.com/atom/ns#" term="impulse" /><category scheme="http://www.blogger.com/atom/ns#" term="ECE 213" /><category scheme="http://www.blogger.com/atom/ns#" term="laplace" /><category scheme="http://www.blogger.com/atom/ns#" term="transfer function" /><category scheme="http://www.blogger.com/atom/ns#" term="capacitor" /><category scheme="http://www.blogger.com/atom/ns#" term="resistor" /><category scheme="http://www.blogger.com/atom/ns#" term="ECE 203" /><category scheme="http://www.blogger.com/atom/ns#" term="phasor" /><title>Circuit Analysis II Lecture 13</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/5534985675784083365?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/5534985675784083365?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/Zi1m-FF1hLA/circuit-analysis-ii-lecture-13.html" title="Circuit Analysis II Lecture 13" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">****THE BELOW IS INCOMPLETE, but I'm releasing it in case anyone can get some value out of what was written.****
Disclaimer: This series of posts is to serve as notes for myself as well as any others interested in the subject of Circuit Analysis II. This is the course ECE 213 at UNM.The course will follow the book:
Electric Circuits (8th Edition)

Agenda for the day:
13.6 - AP 13.12
13.7


AP 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4RSn4dntAtPai_vX0N1apv6jK8I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4RSn4dntAtPai_vX0N1apv6jK8I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4RSn4dntAtPai_vX0N1apv6jK8I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4RSn4dntAtPai_vX0N1apv6jK8I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/Zi1m-FF1hLA" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/11/circuit-analysis-ii-lecture-13.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMEQX4ycSp7ImA9Wx5bGUs.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-7978807628491574940</id><published>2010-11-05T07:23:00.000-06:00</published><updated>2010-11-05T07:23:20.099-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-05T07:23:20.099-06:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="band pass" /><category scheme="http://www.blogger.com/atom/ns#" term="laplace" /><category scheme="http://www.blogger.com/atom/ns#" term="transfer function" /><category scheme="http://www.blogger.com/atom/ns#" term="Circuit Analysis" /><category scheme="http://www.blogger.com/atom/ns#" term="unit step" /><category scheme="http://www.blogger.com/atom/ns#" term="impulse" /><category scheme="http://www.blogger.com/atom/ns#" term="ECE 213" /><category scheme="http://www.blogger.com/atom/ns#" term="low pass" /><category scheme="http://www.blogger.com/atom/ns#" term="capacitor" /><category scheme="http://www.blogger.com/atom/ns#" term="resistor" /><category scheme="http://www.blogger.com/atom/ns#" term="high pass" /><category scheme="http://www.blogger.com/atom/ns#" term="ECE 203" /><category scheme="http://www.blogger.com/atom/ns#" term="phasor" /><title>Circuit Analysis II Lecture 16</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/7978807628491574940?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/7978807628491574940?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/mZYPqMFNza4/circuit-analysis-ii-lecture-16.html" title="Circuit Analysis II Lecture 16" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">****THE BELOW IS INCOMPLETE, but I'm releasing it in case anyone can get some value out of what was written.****
Disclaimer: This series of posts is to serve as notes for myself as well as any others interested in the subject of Circuit Analysis II. This is the course ECE 213 at UNM.The course will follow the book:
Electric Circuits (8th Edition)

&amp;lt;Concepts:
1. High/Low Pass Filters can be RC or 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uRne9kJi0648KU6Gvn5zoFCcWmE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uRne9kJi0648KU6Gvn5zoFCcWmE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uRne9kJi0648KU6Gvn5zoFCcWmE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uRne9kJi0648KU6Gvn5zoFCcWmE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/mZYPqMFNza4" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/11/circuit-analysis-ii-lecture-16.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcFQ3YyfSp7ImA9Wx5bGUs.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-725284066152914373</id><published>2010-11-05T07:16:00.000-06:00</published><updated>2010-11-05T07:16:52.895-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-05T07:16:52.895-06:00</app:edited><title>ECE 340 Test Review</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/725284066152914373?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/725284066152914373?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/6d6UBdzGhaY/ece-340-test-review.html" title="ECE 340 Test Review" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">****THE BELOW IS INCOMPLETE, but I'm releasing it in case anyone can get some value out of what was written.****

So I have been looking at the explanations for the first problem, and right away I believe looking at the problem and analyzing it will go a long way in this case.

1.a) Looking at the first part of problem 1, we see that it says "What is the probablility that both engines fail during
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2YoZEcaljUEWUeB8mda40HLgHp4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2YoZEcaljUEWUeB8mda40HLgHp4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2YoZEcaljUEWUeB8mda40HLgHp4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2YoZEcaljUEWUeB8mda40HLgHp4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/6d6UBdzGhaY" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/11/ece-340-test-review.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEICRnw6eip7ImA9Wx5bF0g.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-8171224518836634348</id><published>2010-11-02T21:56:00.000-06:00</published><updated>2010-11-02T21:56:07.212-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-02T21:56:07.212-06:00</app:edited><title>Page Replacement Algorithms</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/8171224518836634348?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/8171224518836634348?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/VqaL6XDJdnY/page-replacement-algorithms.html" title="Page Replacement Algorithms" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><content type="html">There are many page replacement algorithms, this week we were asked to implement the fifo and lru page replacement algorithms. But, first a little primer.

FIFO Page Replacement
The fifo page replacement algorithm is essentially a queue setup that pushes the first items into the list out first when the list is full, so for example, if you have the numbers 1,2,3 and they are put into the array in 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tzi0mIVfsvb0quBr-QtLbNc4YjU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tzi0mIVfsvb0quBr-QtLbNc4YjU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tzi0mIVfsvb0quBr-QtLbNc4YjU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tzi0mIVfsvb0quBr-QtLbNc4YjU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/VqaL6XDJdnY" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/11/page-replacement-algorithms.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcAQH45eip7ImA9Wx5bFEg.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-343763842015237845</id><published>2010-10-30T11:00:00.000-06:00</published><updated>2010-10-30T11:00:41.022-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-30T11:00:41.022-06:00</app:edited><title>Virtual Memory</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/343763842015237845?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/343763842015237845?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/dchj2qeMOOs/virtual-memory.html" title="Virtual Memory" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_WaTOjkxoAYU/TMxPG9nDM8I/AAAAAAAAATI/diF3rtEbHjQ/s72-c/output.png" height="72" width="72" /><content type="html">So we were asked to devise a way to figure out which page a particular physical address was in, as well as it's offset.

Turns out this is a really simple problem, in this case each page is 4kb, which really means 4096 bytes, so simply take the address, divide by that 4096 bytes, and that tells you which page it's in. From there you subtract the number of bytes of the previous pages (4096 * n)  
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/N7Gcj1O6-dz39bvOPk_7ucb0d00/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N7Gcj1O6-dz39bvOPk_7ucb0d00/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/N7Gcj1O6-dz39bvOPk_7ucb0d00/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N7Gcj1O6-dz39bvOPk_7ucb0d00/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/dchj2qeMOOs" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/10/virtual-memory.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcDQ307fyp7ImA9Wx5bFEg.&quot;"><id>tag:blogger.com,1999:blog-4424951240484003947.post-1601367497622573613</id><published>2010-10-30T10:27:00.000-06:00</published><updated>2010-10-30T10:27:52.307-06:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-30T10:27:52.307-06:00</app:edited><title>Bankers algorithm</title><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1601367497622573613?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4424951240484003947/posts/default/1601367497622573613?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/onaclovtech/qeop/~3/SY-Diw2sOlM/bankers-algorithm.html" title="Bankers algorithm" /><author><name>onaclov</name><uri>http://www.blogger.com/profile/13033361046805227612</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_WaTOjkxoAYU/TMxG-ieKwII/AAAAAAAAATE/y9jn8euWphc/s72-c/screen_shot.png" height="72" width="72" /><content type="html">The Algorithm
The bankers algorithm seems to be a pretty simple algorithm, essentially what you do is have some defined amount of resources, and then you kick off a bunch of threads, now if there are resources left, the thread can run and do it's thing, but if there are no resources, the thread must wait.

Deadlock
The key here we need to ensure is that there is no possibility of a deadlock. A 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ghoSXPsyLKEL_X6ZH9litZjWo98/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ghoSXPsyLKEL_X6ZH9litZjWo98/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ghoSXPsyLKEL_X6ZH9litZjWo98/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ghoSXPsyLKEL_X6ZH9litZjWo98/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/onaclovtech/qeop/~4/SY-Diw2sOlM" height="1" width="1"/&gt;</content><feedburner:origLink>http://blog.onaclovtech.com/2010/10/bankers-algorithm.html</feedburner:origLink></entry></feed>

