<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5567854053250882654</id><updated>2012-02-16T01:27:41.669-08:00</updated><category term='linux'/><category term='mpeg2'/><category term='display'/><category term='php'/><category term='wxwidgets'/><category term='assertion failure'/><category term='video editing'/><category term='server'/><category term='resize partition'/><category term='robot'/><category term='forwarding'/><category term='ip address'/><category term='xmlrpc'/><category term='sony vegas'/><category term='ffmpeg'/><category term='robots'/><category term='curl'/><category term='network card disappear'/><category term='upgrade'/><category term='thread'/><title type='text'>Perfectly Reasonable Deviations</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-4237855920392978192</id><published>2011-01-17T09:03:00.000-08:00</published><updated>2011-01-17T09:04:37.229-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='server'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='resize partition'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='network card disappear'/><title type='text'>Server Upgrade</title><content type='html'>We were using a 10 year old Dell desktop as our router/webserver/misc computer.  &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Our needs evolved to require running RT and Asterisk on the system.  Since they're considerably higher weight applications, I decided to upgrade the hardware.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After getting my new server, I needed to clone the linux installation.  Since the old server had an IDE hard drive, and the new one was SATA, I purchased a $20 USB-SATA/IDE adapter from Amazon to help with the transition.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Step 1 - Clone Drive&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I used a livecd version of gparted on my new system to clone the old drive.  I used the clonezilla tool that was included to do a raw copy.  The result was a new installation that was literally identical to my old one&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Step 2 - Resize Partitions&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Since my old server was from the dawn of the centry, the hard drive was only 60G.  the new machine has a 250G drive (of course, for a fraction of the price).  By doing the raw copy in step #1, the hard drive looks exactly like my old one (from a software point of view), and has a single 60G partition.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I used the gparted liveCD to resize my main partition.  While I'd like to simply resize /dev/sda1, the swap partition gets in the way.  As such, I needed to delete the swap partition, resize my main partition, then re-add my swap partition.  To do this correctly, I had to edit /etc/fstab and update the UUID of /etc/sda5(my swap partition) with the UUID of the new partition I created&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Step 3 - Fix stuff that broke&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Given all the hardware in the system magically changed in an instant (from the view of the linux installation) I was quite impressed that it all booted at all.  The main issue i had was getting my network interfaces to work.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Linux keeps track of network adapters by MAC address.  I had to edit /etc/udev/rules.d/70-persistent-net.rules to update the network interfaces with the new cards and remove the old ones (from the previous system).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After that little update, everything really just worked!  It was quite impressive!  I finally did a distribution upgrade that broke some perl modules and apache configuration bits, but all in all, not bad.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-4237855920392978192?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/4237855920392978192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=4237855920392978192' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/4237855920392978192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/4237855920392978192'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2011/01/server-upgrade.html' title='Server Upgrade'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-3234196319847786954</id><published>2010-12-15T20:38:00.001-08:00</published><updated>2010-12-15T20:51:36.392-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='curl'/><category scheme='http://www.blogger.com/atom/ns#' term='forwarding'/><category scheme='http://www.blogger.com/atom/ns#' term='xmlrpc'/><category scheme='http://www.blogger.com/atom/ns#' term='robots'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Forwarding XML-RPC</title><content type='html'>I've always struggled with GUIs for embedded systems.&lt;br /&gt;&lt;br /&gt;Our robots generally run linux.  Generally, the systems run w/out monitors or keyboards, so the best option is to ssh into a linux box, with X11 forwarding turned on, and pretend like I was at the terminal.  This is great as long as you have a laptop.  The question is how I could do this in a more platform agnostic way.  It'd be great if I had one GUI for windows/linux/mac/ios/etc, and if that GUI required no software installation.&lt;br /&gt;&lt;br /&gt;Since GUI programming isn't my forte, and my GUIs literally just call my API functions with a lot of extra code for layout, this seemed like a great opportunity to fuse web and embedded software.  Since we had used xmlrpc before, it seems to work OK, and there were javascript libraries for it, I decided to try writing my gui in a webpage with javascript, and write a xmlrpc wrapper for my robot api.&lt;br /&gt;&lt;br /&gt;The first issue I ran into was a security limitation on the XMLHTTPost function in javascript.  You can only post to the server the script came from.  That extends to the port on the server the script came from.  Since xmlrpc runs over HTTP, it has to be a different port than my GUI webpage (served by apache).&lt;br /&gt;&lt;br /&gt;This was a pain, but I got around it by writing what is effectively a xmlrpc forwarder.&lt;br /&gt;&lt;br /&gt;I created a php file  with the following content:&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"&gt;&lt;code style="color:#000000;word-wrap:normal;"&gt;1:  // Make Sure that it's a POST request that we're forwarding&lt;br /&gt;2:  if ( $_SERVER['REQUEST_METHOD'] === 'POST' )&lt;br /&gt;3:  {&lt;br /&gt;4:       // Read the input from stdin&lt;br /&gt;5:       $data = trim(file_get_contents('php://input'));&lt;br /&gt;6:  }&lt;br /&gt;7:  // initialize curl&lt;br /&gt;8:  $ch=curl_init();&lt;br /&gt;9:  // The URL of our actual server&lt;br /&gt;10:  $url="http://localhost/RPC2";&lt;br /&gt;11:  // The XML payload is the data that was posted, with the XML tag&lt;br /&gt;12:  define('XML_PAYLOAD', '&amp;lt;?xml version="1.0"?&amp;gt;'."\n".$data);&lt;br /&gt;13:  // Set all the options for cURL&lt;br /&gt;14:  curl_setopt($ch,CURLOPT_URL,$url);&lt;br /&gt;15:  // Running on port 8080&lt;br /&gt;16:  curl_setopt($ch,CURLOPT_PORT,8080);&lt;br /&gt;17:  // Get request is default, make this a POST&lt;br /&gt;18:  curl_setopt($ch,CURLOPT_POST,1);&lt;br /&gt;19:  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); &lt;br /&gt;20:  curl_setopt($ch, CURLOPT_TIMEOUT, 4); &lt;br /&gt;21:  curl_setopt($ch, CURLOPT_POSTFIELDS, XML_PAYLOAD);&lt;br /&gt;22:  // This has to be set for it to be an XML post&lt;br /&gt;23:  curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: text/xml"));&lt;br /&gt;24:  $myFile = "/tmp/xml_forward_debug.txt";&lt;br /&gt;25:  $fh = fopen($myFile, 'w') or die("can't open file");&lt;br /&gt;26:  fwrite($fh, XML_PAYLOAD);&lt;br /&gt;27:  fwrite($fh, "\n\n*** Response\n\n");&lt;br /&gt;28:  $ret=curl_exec($ch);&lt;br /&gt;29:  fwrite($fh, $ret);&lt;br /&gt;30:  fclose($fh);&lt;br /&gt;31:  header('Content-Type: text/xml');&lt;br /&gt;32:  print $ret;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;My javascript uses &lt;a href="http://mimic-xmlrpc.sourceforge.net/"&gt;mimic&lt;/a&gt;.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My C++ server uses &lt;a href="http://xmlrpc-c.sourceforge.net/"&gt;xmlrpc for c++&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My test web post calls the classic "add" method&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"&gt;&lt;code style="color:#000000;word-wrap:normal;"&gt;1:       var request = new XmlRpcRequest("index.php", "sample.add"); &lt;br /&gt;2:       request.addParam(1); &lt;br /&gt;3:       request.addParam(3); &lt;br /&gt;4:       var response = request.send(); &lt;br /&gt;5:       alert(response.parseXML()); &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;This all seems to work so far!  Very exciting.  Still quite a ways to go as I work out messaging, etc., but I'm hoping this was the biggest step.  Will post more as the project progresses.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-3234196319847786954?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/3234196319847786954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=3234196319847786954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/3234196319847786954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/3234196319847786954'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2010/12/forwarding-xml-rpc.html' title='Forwarding XML-RPC'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-2336607745764904017</id><published>2010-12-03T06:35:00.000-08:00</published><updated>2010-12-03T06:40:25.784-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='robot'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='display'/><category scheme='http://www.blogger.com/atom/ns#' term='ip address'/><title type='text'>Displaying The IP Address of my linux computer</title><content type='html'>I'm building a robot that has a computer monitor as it's head (literally), but no keyboard or mouse to support a UI.  I'd like to connect to it by using the IP address for general operation, but I need to know what it is.  What to do?&lt;br /&gt;&lt;br /&gt;I've seen many posts about people looking for how to display the ip address on the desktop.  My case is similar.  My solution was to write a shell script that was added to the startup programs (under Settings &gt;&gt; Sessions &amp; Startup) that looks like this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#/bin/bash&lt;br /&gt;&lt;br /&gt;w=$(ifconfig eth0 | grep "inet addr" | gawk -F: '{print $2}' | gawk '{print $1}')&lt;br /&gt;wl=$(ifconfig wlan0 | grep "inet addr" | gawk -F: '{print $2}' | gawk '{print $1}')&lt;br /&gt;msg=$(echo "Wired :" $w "\n" "Wireless :" $wl)&lt;br /&gt;&lt;br /&gt;zenity --info --text="$msg" &amp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On startup, a message box is displayed that indicates the IP address.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-2336607745764904017?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/2336607745764904017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=2336607745764904017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/2336607745764904017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/2336607745764904017'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2010/12/displaying-ip-address-of-my-linux.html' title='Displaying The IP Address of my linux computer'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-3212353988225771866</id><published>2009-10-22T07:25:00.000-07:00</published><updated>2009-10-22T07:37:25.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='assertion failure'/><category scheme='http://www.blogger.com/atom/ns#' term='thread'/><category scheme='http://www.blogger.com/atom/ns#' term='wxwidgets'/><title type='text'>wxWidgets and Failed Assertions</title><content type='html'>I was writing my first GUI in C++ on linux using wxwidgets and would erratically get this message:&lt;br /&gt;&lt;br /&gt;./../src/xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy-&gt;xcb-&gt;connection) == dpy-&gt;request' failed&lt;br /&gt;&lt;br /&gt;it did take a couple different forms (i think there was one other), but usually had a dpy-&gt;request in it and xcb_lock.c), but this one came up quite often.  it was very erratic, and would sometimes keep my gui from coming up at all.&lt;br /&gt;&lt;br /&gt;I ultimately (thanks to the help of people in #wxWidgets on freenode) figured out it was because wxWidgets is not thread safe and my worker thread was calling member functions of my GUI.&lt;br /&gt;&lt;br /&gt;To fix this I added &lt;a href="http://docs.wxwidgets.org/stable/wx_threadfunctions.html#wxmutexguienter"&gt;wxMutexGuiEnter() and wxMutexGuiExit()&lt;/a&gt; around my code that access the gui and all issues were resolved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-3212353988225771866?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/3212353988225771866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=3212353988225771866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/3212353988225771866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/3212353988225771866'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2009/10/wxwidgets-and-failed-assertions.html' title='wxWidgets and Failed Assertions'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-1321638901042011735</id><published>2009-06-29T18:54:00.000-07:00</published><updated>2009-06-29T19:01:16.646-07:00</updated><title type='text'>Getting mail from gmail using fetchmail</title><content type='html'>So I wanted to setup RT on my ubuntu box.  It's been rough so far, but I figured I'd document this as well.&lt;br /&gt;&lt;br /&gt;First, I was running ubuntu 7.10 and needed to upgrade to 8.04.  That was a bit tricky as i tried to do 'do-dist-upgrade' but it kept failing.  I finally figured out it was because i had all the repositories in /etc/apt/sources.list enabled.  Needed to pear it back to just be the first one in the file.&lt;br /&gt;&lt;br /&gt;So, after I did that I was up to 8.04.  From there, I grabbed the 'request-tracker3.6' package using apt-get.  This is by far the best way to do this, as it gets everything else you need as well.  These instructions were well chronicled at http://www.ubuntugeek.com/request-trackerrt-ticketing-system-for-your-support-group.html.  I stupidly didn't setup the database, so got a lot of weird errors.&lt;br /&gt;&lt;br /&gt;Next, to get email integration to work... I wanted to check a gmail mailbox for our domain.  To do that you need to configure postfix, these instructions (scroll down to the end where it say "Fetchmail\nWhy Fetchmail") http://souptonuts.sourceforge.net/postfix_tutorial.html.  One thing it misses is that you need to remember to copy the hashed links of your certs to /etc/ssl/certs.&lt;br /&gt;&lt;br /&gt;I have yet to get rt-mailgate to work, though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-1321638901042011735?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/1321638901042011735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=1321638901042011735' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/1321638901042011735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/1321638901042011735'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2009/06/getting-mail-from-gmail-using-fetchmail.html' title='Getting mail from gmail using fetchmail'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-5556106471135489726</id><published>2008-11-08T19:31:00.000-08:00</published><updated>2008-11-08T19:32:28.735-08:00</updated><title type='text'>Face Blurs in Sony Vegas 9</title><content type='html'>So, it's easy to find face blur tutorials all over youtube for sony vegas &lt;9, but what about 9?  There's a checkbox that seems to have gone missing.&lt;br /&gt;&lt;br /&gt;Anyhoo, someone made a great tutorial at http://www.broadcastnewsroom.com/articles/viewarticle.jsp?id=166551 that describes it to a T.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-5556106471135489726?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/5556106471135489726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=5556106471135489726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/5556106471135489726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/5556106471135489726'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2008/11/face-blurs-in-sony-vegas-9.html' title='Face Blurs in Sony Vegas 9'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-1500670546908382526</id><published>2008-11-03T08:38:00.001-08:00</published><updated>2008-11-03T08:39:22.778-08:00</updated><title type='text'>Making outgoing email work in vtigerCRM</title><content type='html'>I was looking for a CRM for xitome and found vtiger through my hosting provider.&lt;br /&gt;&lt;br /&gt;out of the box the outgoing email didn't work.  to make it work, i found this post to be helpful:&lt;br /&gt;&lt;br /&gt;http://forums.vtiger.com/viewtopic.php?t=19432&amp;highlight=gmail&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-1500670546908382526?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/1500670546908382526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=1500670546908382526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/1500670546908382526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/1500670546908382526'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2008/11/making-outgoing-email-work-in-vtigercrm.html' title='Making outgoing email work in vtigerCRM'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-7300762522480028688</id><published>2008-09-30T22:07:00.000-07:00</published><updated>2008-09-30T22:10:22.433-07:00</updated><title type='text'>Getting Asterisk Running</title><content type='html'>Asterisk seems like a pretty cool option for those that are interested in the masochistic endeavor of setting up and maintaining a system that is mission critical for communication.  &lt;br /&gt;&lt;br /&gt;I wanted to set one up for our house and found the following links to be useful:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.geek.com/feature-how-to-build-and-customize-your-own-pbx-with-asterisk-20080812/ - This link is awesome!  it gives you a shell script to run to setup your asterisk server.  use the address below for the asterisk gui part.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Asterisk Gui SVN address: http://svn.digium.com/svn/asterisk-gui/branches/2.0 asterisk-gui&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-7300762522480028688?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/7300762522480028688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=7300762522480028688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/7300762522480028688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/7300762522480028688'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2008/09/getting-asterisk-running.html' title='Getting Asterisk Running'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-4449529510998992651</id><published>2008-09-30T22:02:00.000-07:00</published><updated>2008-09-30T22:07:13.887-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video editing'/><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='mpeg2'/><category scheme='http://www.blogger.com/atom/ns#' term='sony vegas'/><title type='text'>Editing MPEG2</title><content type='html'>I just got a Canon FS100 and was excited to start editing movies with it.  &lt;br /&gt;&lt;br /&gt;Like many camcorders, it outputs MPEG2 files.  &lt;br /&gt;&lt;br /&gt;Firstly, there's something weird going on where it names the files something other than .mpg (.mod), and you use their program to import them from the camera.  Once imported, you can export them to a 720x380 mpeg2 avi.&lt;br /&gt;&lt;br /&gt;The kicker lies when you want to edit.  I tried using it with Sony Vegas and it didn't quite work.  I found that the video appear, but the audio didn't.  After some looking around, I learned that mpeg2 is a "transport" format (i have no idea what that means), but it has something to do with the fact that it's meant for video, not both video and audio.&lt;br /&gt;&lt;br /&gt;The solution is to transcode into something else.  MP4 works, as it's both video and audio.&lt;br /&gt;&lt;br /&gt;You can do this using ffmpeg.  Once you've got your exported avi, you can issue the command:&lt;br /&gt;&lt;br /&gt;Ffmpeg -sameq -i input.mpg output.mp4&lt;br /&gt;&lt;br /&gt;you can then drop the mp4 file into your vegas project and you'll be good to go!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-4449529510998992651?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/4449529510998992651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=4449529510998992651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/4449529510998992651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/4449529510998992651'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2008/09/editing-mpeg2.html' title='Editing MPEG2'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5567854053250882654.post-8428518865981532451</id><published>2008-09-30T21:54:00.000-07:00</published><updated>2008-09-30T22:02:23.443-07:00</updated><title type='text'>First Post!</title><content type='html'>OK! so it's 1AM, i got kicked out of bed because i'm buzzed (and we have a baby, so totally reasonable), and i'm inspired..&lt;br /&gt;&lt;br /&gt;I spend a lot of time sleuthing the internet to figure out the solutions to my issues, mostly those of a technical sort.  I have this strange void in my soul that appears as i find posts of many like minded souls stuck in a similar predicament.  i eventually solve my problem, but i know many others will fall into the same hole, and i hope they'll find their way out.&lt;br /&gt;&lt;br /&gt;this blog is my contribution to the internet.  i'm going to post the solutions to issues i've had and hopefully they'll be useful to someone (other than myself).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5567854053250882654-8428518865981532451?l=perfectly-reasonable-deviations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://perfectly-reasonable-deviations.blogspot.com/feeds/8428518865981532451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5567854053250882654&amp;postID=8428518865981532451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/8428518865981532451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5567854053250882654/posts/default/8428518865981532451'/><link rel='alternate' type='text/html' href='http://perfectly-reasonable-deviations.blogspot.com/2008/09/first-post.html' title='First Post!'/><author><name>Kailas Narendran</name><uri>http://www.blogger.com/profile/03741951661790903192</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><thr:total>0</thr:total></entry></feed>
